@icap-ethiopia/esm-ethiohri-intake 1.0.0-pre.8 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +400 -400
- package/README.md +46 -46
- package/dist/main.js +4914 -1
- package/dist/main.js.map +1 -1
- package/dist/node_modules_dayjs_dayjs_min_js.js +14 -0
- package/dist/node_modules_dayjs_dayjs_min_js.js.map +1 -0
- package/dist/openmrs-esm-ethio-template-app.js +4696 -1
- package/dist/openmrs-esm-ethio-template-app.js.buildmanifest.json +233 -249
- package/dist/openmrs-esm-ethio-template-app.js.map +1 -1
- package/dist/routes.json +1 -1
- package/dist/src_forms_family-information_tsx.js +934 -0
- package/dist/src_forms_family-information_tsx.js.map +1 -0
- package/dist/src_forms_intake-a-form_tsx.js +2367 -0
- package/dist/src_forms_intake-a-form_tsx.js.map +1 -0
- package/dist/src_forms_intake-b-form_tsx.js +2684 -0
- package/dist/src_forms_intake-b-form_tsx.js.map +1 -0
- package/dist/src_forms_intake-form_scss-src_forms_hooks_createEncounter_ts-src_forms_hooks_defaultValuesFr-54076e.js +2871 -0
- package/dist/src_forms_intake-form_scss-src_forms_hooks_createEncounter_ts-src_forms_hooks_defaultValuesFr-54076e.js.map +1 -0
- package/dist/src_forms_phdp-form_tsx.js +470 -0
- package/dist/src_forms_phdp-form_tsx.js.map +1 -0
- package/dist/src_index_ts.js +255 -0
- package/dist/src_index_ts.js.map +1 -0
- package/dist/src_intake_index_tsx.js +2738 -0
- package/dist/src_intake_index_tsx.js.map +1 -0
- package/dist/src_root_component_tsx.js +615 -0
- package/dist/src_root_component_tsx.js.map +1 -0
- package/dist/src_utils_Delete-Encounter_modal_tsx.js +396 -0
- package/dist/src_utils_Delete-Encounter_modal_tsx.js.map +1 -0
- package/dist/translations_am_json.js +14 -0
- package/dist/translations_en_json.js +14 -0
- package/dist/translations_es_json.js +14 -0
- package/dist/translations_fr_json.js +14 -0
- package/dist/translations_he_json.js +14 -0
- package/dist/translations_km_json.js +14 -0
- package/dist/vendors-node_modules_carbon_react_es_index_js-node_modules_swr_dist_core_index_mjs.js +132608 -0
- package/dist/vendors-node_modules_carbon_react_es_index_js-node_modules_swr_dist_core_index_mjs.js.map +1 -0
- package/dist/vendors-node_modules_openmrs_esm-framework_src_internal_ts.js +35952 -0
- package/dist/vendors-node_modules_openmrs_esm-framework_src_internal_ts.js.map +1 -0
- package/dist/vendors-node_modules_openmrs_esm-patient-common-lib_src_index_ts-node_modules_openmrs_esm-pat-24e5c8.js +4695 -0
- package/dist/vendors-node_modules_openmrs_esm-patient-common-lib_src_index_ts-node_modules_openmrs_esm-pat-24e5c8.js.map +1 -0
- package/dist/vendors-node_modules_openmrs_node_modules_css-loader_dist_runtime_api_js-node_modules_openmrs-205702.js +3059 -0
- package/dist/vendors-node_modules_openmrs_node_modules_css-loader_dist_runtime_api_js-node_modules_openmrs-205702.js.map +1 -0
- package/dist/vendors-node_modules_react-i18next_dist_es_index_js.js +1424 -0
- package/dist/vendors-node_modules_react-i18next_dist_es_index_js.js.map +1 -0
- package/dist/vendors-node_modules_react-router-dom_dist_index_js.js +6574 -0
- package/dist/vendors-node_modules_react-router-dom_dist_index_js.js.map +1 -0
- package/dist/vendors-node_modules_react_index_js.js +2770 -0
- package/dist/vendors-node_modules_react_index_js.js.map +1 -0
- package/package.json +121 -121
- package/src/index.ts +34 -34
- package/dist/151.js +0 -2
- package/dist/151.js.LICENSE.txt +0 -3
- package/dist/151.js.map +0 -1
- package/dist/159.js +0 -1
- package/dist/159.js.map +0 -1
- package/dist/197.js +0 -1
- package/dist/222.js +0 -2
- package/dist/222.js.LICENSE.txt +0 -5
- package/dist/222.js.map +0 -1
- package/dist/282.js +0 -2
- package/dist/282.js.LICENSE.txt +0 -32
- package/dist/282.js.map +0 -1
- package/dist/300.js +0 -1
- package/dist/319.js +0 -1
- package/dist/319.js.map +0 -1
- package/dist/335.js +0 -1
- package/dist/353.js +0 -1
- package/dist/353.js.map +0 -1
- package/dist/404.js +0 -2
- package/dist/404.js.LICENSE.txt +0 -45
- package/dist/404.js.map +0 -1
- package/dist/410.js +0 -1
- package/dist/410.js.map +0 -1
- package/dist/475.js +0 -1
- package/dist/475.js.map +0 -1
- package/dist/540.js +0 -2
- package/dist/540.js.LICENSE.txt +0 -9
- package/dist/540.js.map +0 -1
- package/dist/55.js +0 -1
- package/dist/652.js +0 -1
- package/dist/692.js +0 -1
- package/dist/692.js.map +0 -1
- package/dist/712.js +0 -1
- package/dist/712.js.map +0 -1
- package/dist/912.js +0 -1
- package/dist/912.js.map +0 -1
- package/dist/917.js +0 -1
- package/dist/917.js.map +0 -1
- package/dist/937.js +0 -1
- package/dist/937.js.map +0 -1
- package/dist/940.js +0 -1
- package/dist/940.js.map +0 -1
- package/dist/979.js +0 -1
- package/dist/979.js.map +0 -1
- package/dist/99.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vendors-node_modules_openmrs_esm-patient-common-lib_src_index_ts-node_modules_openmrs_esm-pat-24e5c8.js","mappings":";;;;;;;;;;;;;;;;;AAAA;AACuI;AAC7B;AAC1G,8BAA8B,2FAA2B,CAAC,gHAAqC;AAC/F;AACA,8HAA8H,wBAAwB,wBAAwB,wBAAwB,GAAG,0LAA0L,kBAAkB,mCAAmC,wBAAwB,oCAAoC,8BAA8B,GAAG,yIAAyI,kBAAkB,mBAAmB,gBAAgB,0BAA0B,kDAAkD,GAAG,+DAA+D,iBAAiB,GAAG,gEAAgE,6DAA6D,gEAAgE,kEAAkE,oEAAoE,mBAAmB,GAAG,8DAA8D,mBAAmB,GAAG,+DAA+D,wDAAwD,wDAAwD,wDAAwD,4DAA4D,mBAAmB,GAAG,qJAAqJ,sBAAsB,oCAAoC,GAAG,OAAO,ySAAyS,MAAM,WAAW,WAAW,WAAW,OAAO,YAAY,MAAM,UAAU,WAAW,WAAW,WAAW,WAAW,MAAM,KAAK,UAAU,UAAU,UAAU,WAAW,WAAW,MAAM,KA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ACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,oBAAoB,4BAA4B;AAChD;AACA;AACA;AACA;;AAEA;;AAEA,qBAAqB,6BAA6B;AAClD;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;ACvGa;;AAEb;AACA;;AAEA;AACA;AACA,sDAAsD;;AAEtD;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;;;;;;;;;;ACtCa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACVa;;AAEb;AACA;AACA,cAAc,KAAwC,GAAG,sBAAiB,GAAG,CAAI;;AAEjF;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACXa;;AAEb;AACA;AACA;;AAEA;AACA,kDAAkD;AAClD;;AAEA;AACA,0CAA0C;AAC1C;;AAEA;;AAEA;AACA,iFAAiF;AACjF;;AAEA;;AAEA;AACA,aAAa;AACb;;AAEA;AACA,aAAa;AACb;;AAEA;AACA,aAAa;AACb;;AAEA;;AAEA;AACA,yDAAyD;AACzD,IAAI;;AAEJ;;;AAGA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACrEa;;AAEb;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;;;;;;;;ACf0B;AACU;AACmB;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U;AACrB,aAAa,OAAO;AACpB;AACA;AACA;AACA,iBAAiB,yDAAa;AAC9B;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe,6DAAiB;AAChC;AACA;AACA,gCAAgC,yDAAS;AACzC;AACA,aAAa,0DAAU;AACvB;AACA;AACA,eAAe,oDAAQ;AACvB,eAAe,oDAAQ;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iEAAe,QAAQ,EAAC;;;;;;;;;;;;;;;;;;;ACvEI;AACC;AACa;;AAE1C;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA,kBAAkB,+CAAG,SAAS,0DAAU,KAAK,+CAAG,4BAA4B,gDAAI;AAChF,aAAa,+CAAG;AAChB;;AAEA,iEAAe,SAAS,EAAC;;;;;;;;;;;;;;;;AClBzB;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,GAAG;AACd,WAAW,QAAQ;AACnB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iEAAe,aAAa,EAAC;;;;;;;;;;;;;;;;;;;;;;;;ACtBS;AACJ;AACS;AACR;AACQ;AACN;AACO;AACC;;AAE7C;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ;AACvB;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,2DAAW;AACjB,OAAO,uDAAO;AACd,QAAQ,wDAAQ,WAAW,4DAAY,WAAW,2DAAW;AAC7D;AACA;AACA,YAAY,sDAAM;AAClB;AACA;AACA;AACA,MAAM,2DAAW;AACjB,YAAY,wDAAQ;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iEAAe,OAAO,EAAC;;;;;;;;;;;;;;;;AC5EvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iEAAe,IAAI,EAAC;;;;;;;;;;;;;;;;;;AChB0B;AACR;;AAEtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,UAAU;AACrB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,QAAQ,IAAI,QAAQ,IAAI,QAAQ;AAC/C,YAAY,QAAQ,IAAI,QAAQ;AAChC;AACA;AACA,mCAAmC,wDAAQ,QAAQ,4DAAY;AAC/D;;AAEA,iEAAe,MAAM,EAAC;;;;;;;;;;;;;;;;;;;;;AC9BD;AAC6D;AACL;AAC6O;;AAE1T;AACA,YAAY,sCAAgB;AAC5B;AACA;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,YAAY,yJAAyJ;AACrK,2DAA2D,wDAAc;AACzE;AACA;AACA;AACA;AACA,yBAAyB,uDAAS;AAClC;AACA,8BAA8B,6CAAM;AACpC;AACA;AACA,yBAAyB,6CAAM;AAC/B;AACA,mBAAmB,6CAAM;AACzB,uBAAuB,6CAAM;AAC7B,sBAAsB,6CAAM;AAC5B;AACA;AACA,kEAAkE,+DAAiB;AACnF,8BAA8B,6CAAM,GAAG;AACvC,qBAAqB,yDAAW;AAChC;AACA;AACA;AACA;AACA;AACA,yBAAyB,yDAAW;AACpC;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,8CAAO;AAC/B;AACA;AACA;AACA;AACA,iBAAiB,yDAAW;AAC5B;AACA;AACA;AACA,iBAAiB,yDAAW;AAC5B;AACA,SAAS;AACT;AACA;AACA;AACA,6BAA6B,0DAAY;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB;AAClB;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,mBAAmB,2FAAoB,CAAC,kDAAW;AACnD;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,yDAAW;AAC5B;AACA;AACA,yBAAyB,6CAAM;AAC/B,4CAA4C,yDAAW;AACvD;AACA;AACA;AACA;AACA;AACA,+BAA+B,yDAAW;AAC1C;AACA,+BAA+B,yDAAW;AAC1C;AACA;AACA;AACA;AACA;AACA,6BAA6B,yDAAW;AACxC;AACA;AACA,eAAe,yDAAW;AAC1B,KAAK;AACL;AACA;AACA;AACA,yBAAyB,yDAAW;AACpC,sBAAsB,yDAAW;AACjC;AACA;AACA,uBAAuB,kDAAW;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAgB,yDAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,yDAAW;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C,yDAAW;AACxD;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA,oBAAoB,0DAAY;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,mDAAS;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,yDAAW;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA,oBAAoB,qBAAqB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uDAAuD,wDAAU;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oDAAoD,0DAAgB;AACpE;AACA,6BAA6B;AAC7B;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C,gBAAgB;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,kDAAW;AACnC;AACA,eAAe,4DAAc;AAC7B,KAAK;AACL;AACA;AACA,IAAI,uEAAyB;AAC7B;AACA;AACA;AACA;AACA,aAAa,yDAAW;AACxB;AACA;AACA,KAAK;AACL;AACA,IAAI,uEAAyB;AAC7B;AACA,+CAA+C,mDAAS;AACxD;AACA;AACA;AACA,6CAA6C;AAC7C,wBAAwB,0DAAgB;AACxC;AACA;AACA;AACA;AACA;AACA,cAAc,iBAAiB,0DAAgB;AAC/C;AACA;AACA;AACA,cAAc,iBAAiB,0DAAgB;AAC/C;AACA,cAAc,iBAAiB,0DAAgB;AAC/C;AACA;AACA;AACA;AACA,4BAA4B,+DAAiB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,gBAAgB,yDAAW,UAAU,mDAAS;AAC9C;AACA;AACA,cAAc;AACd;AACA;AACA,gBAAgB,iDAAG;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,IAAI,uEAAyB;AAC7B;AACA;AACA;AACA;AACA,6BAA6B,wDAAU;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,oDAAa;AACjB;AACA;AACA;AACA;AACA,oBAAoB,yDAAW;AAC/B;AACA;AACA;AACA,aAAa,yDAAe,IAAI,mDAAS;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,yDAAW;AACxB;AACA;AACA;AACA,YAAY,yDAAW;AACvB;AACA,iBAAiB,yDAAW;AAC5B;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,gDAAM,gBAAgB,mDAAS;AAC/B,WAAW,uDAAa;AACxB,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,yBAAyB;AACtC;AACA;AACA,wBAAwB,UAAU;AAClC;AACA;AACA,mBAAmB,sDAAQ;;AAE3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,4DAAc;;AAEW","sources":["webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/cards/card-header.scss","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/empty-state/empty-state.scss","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/error-state/error-state.scss","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/pagination/pagination.scss","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/openmrs/node_modules/css-loader/dist/runtime/api.js","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/openmrs/node_modules/css-loader/dist/runtime/cssWithMappingToString.js","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/cards/card-header.scss?772d","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/empty-state/empty-state.scss?8f26","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/error-state/error-state.scss?d5a1","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/pagination/pagination.scss?16d6","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/openmrs/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/openmrs/node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/openmrs/node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/openmrs/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/openmrs/node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/openmrs/node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/cards/card-header.component.tsx","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/cards/index.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/dashboards/DashboardExtension.tsx","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/dashboards/createDashboardLink.tsx","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/empty-state/empty-data-illustration.component.tsx","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/empty-state/empty-state.component.tsx","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/empty-state/index.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/error-state/error-state.component.tsx","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/error-state/index.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/form-entry-interop.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/form-entry/form-entry.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/get-patient-uuid-from-url.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/index.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/launchStartVisitPrompt.tsx","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/nav-group/DashboardGroupExtension.tsx","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/nav-group/createDashboardGroup.tsx","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/nav-group/nav-group.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/offline/visit.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/orders/index.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/orders/postOrders.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/orders/store.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/orders/types.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/orders/useOrderBasket.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/orders/useOrders.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/pagination/index.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/pagination/pagination.component.tsx","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/pagination/usePaginationInfo.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/patient-summary/patient-summary-extension-order.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/programs/usePatientProgramEnrollment.tsx","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/time-helper.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/types/index.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/types/test-results.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/useAllowedFileExtensions.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/useSystemVisitSetting.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/@openmrs/esm-patient-common-lib/src/workspaces.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/uuid/dist/esm-browser/regex.js","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/uuid/dist/esm-browser/rng.js","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/uuid/dist/esm-browser/stringify.js","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/uuid/dist/esm-browser/v4.js","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/uuid/dist/esm-browser/validate.js","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/classnames/index.js","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/lodash-es/_arrayIncludes.js","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/lodash-es/_arrayIncludesWith.js","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/lodash-es/_baseIndexOf.js","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/lodash-es/_baseIsNaN.js","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/lodash-es/_baseUniq.js","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/lodash-es/_createSet.js","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/lodash-es/_strictIndexOf.js","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/lodash-es/isEmpty.js","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/lodash-es/noop.js","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/lodash-es/uniqBy.js","webpack://@icap-ethiopia/esm-ethiohri-intake/./node_modules/swr/dist/immutable/index.mjs"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../openmrs/node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../openmrs/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\\n:root {\\n --brand-01: #005d5d;\\n --brand-02: #004144;\\n --brand-03: #007d79;\\n}\\n\\n/* These color variables will be removed in a future release */\\n.-esm-ethiohri-intake__card-header__desktopHeader___ce0fw, .-esm-ethiohri-intake__card-header__tabletHeader___2XxJn {\\n display: flex;\\n justify-content: space-between;\\n align-items: center;\\n padding: 0.75rem 0 0.75rem 1rem;\\n background-color: #ffffff;\\n}\\n.-esm-ethiohri-intake__card-header__desktopHeader___ce0fw h4:after, .-esm-ethiohri-intake__card-header__tabletHeader___2XxJn h4:after {\\n content: \\\"\\\";\\n display: block;\\n width: 2rem;\\n padding-top: 0.188rem;\\n border-bottom: 0.375rem solid var(--brand-03);\\n}\\n\\n.-esm-ethiohri-intake__card-header__desktopHeader___ce0fw {\\n height: 3rem;\\n}\\n.-esm-ethiohri-intake__card-header__desktopHeader___ce0fw h4 {\\n font-size: var(--cds-heading-compact-02-font-size, 1rem);\\n font-weight: var(--cds-heading-compact-02-font-weight, 600);\\n line-height: var(--cds-heading-compact-02-line-height, 1.375);\\n letter-spacing: var(--cds-heading-compact-02-letter-spacing, 0);\\n color: #525252;\\n}\\n\\n.-esm-ethiohri-intake__card-header__tabletHeader___2XxJn {\\n height: 4.5rem;\\n}\\n.-esm-ethiohri-intake__card-header__tabletHeader___2XxJn h4 {\\n font-size: var(--cds-heading-03-font-size, 1.25rem);\\n font-weight: var(--cds-heading-03-font-weight, 400);\\n line-height: var(--cds-heading-03-line-height, 1.4);\\n letter-spacing: var(--cds-heading-03-letter-spacing, 0);\\n color: #525252;\\n}\\n\\nhtml[dir=rtl] .-esm-ethiohri-intake__card-header__desktopHeader___ce0fw, html[dir=rtl] .-esm-ethiohri-intake__card-header__tabletHeader___2XxJn {\\n text-align: right;\\n padding: 0.75rem 1rem 0.75rem 0;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./node_modules/@openmrs/esm-styleguide/src/_vars.scss\",\"webpack://./node_modules/@openmrs/esm-patient-common-lib/src/cards/card-header.scss\",\"webpack://./node_modules/@carbon/styles/node_modules/@carbon/type/scss/_styles.scss\"],\"names\":[],\"mappings\":\"AAgCA,0EAAA;AAoBA;EACE,mBAAA;EACA,mBAAA;EACA,mBAAA;AClDF;;AD8DA,8DAAA;AC/DA;EACE,aAAA;EACA,8BAAA;EACA,mBAAA;EACA,+BAAA;EACA,yBDFc;ACOhB;AAHE;EACE,WAAA;EACA,cAAA;EACA,WAAA;EACA,qBAAA;EACA,6CAAA;AAKJ;;AADA;EACE,YAAA;AAIF;AAHE;EC40BE,wDAAA;EAAA,2DAAA;EAAA,6DAAA;EAAA,+DAAA;ED10BA,cDnBM;AC2BV;;AAJA;EACE,cAAA;AAOF;AANE;ECo0BE,mDAAA;EAAA,mDAAA;EAAA,mDAAA;EAAA,uDAAA;EDl0BA,cD3BM;ACsCV;;AALE;EACE,iBAAA;EACA,+BAAA;AAQJ\",\"sourcesContent\":[\"$ui-01: #f4f4f4;\\n$ui-02: #ffffff;\\n$ui-03: #e0e0e0;\\n$ui-04: #8d8d8d;\\n$ui-05: #161616;\\n$text-02: #525252;\\n$text-03: #a8a8a8;\\n$ui-background: #ffffff;\\n$color-gray-30: #c6c6c6;\\n$color-gray-70: #525252;\\n$color-gray-100: #161616;\\n$color-blue-60-2: #0f62fe;\\n$color-blue-10: #edf5ff;\\n$color-yellow-50: #feecae;\\n$carbon--red-50: #fa4d56;\\n$inverse-link: #78a9ff;\\n$support-02: #24a148;\\n$inverse-support-03: #f1c21b;\\n$warning-background: #fff8e1;\\n$openmrs-background-grey: #f4f4f4;\\n$danger: #da1e28;\\n$interactive-01: #0f62fe;\\n$field-01: #f4f4f4;\\n$grey-2: #e0e0e0;\\n$labeldropdown: #c6c6c6;\\n\\n$brand-primary-10: #d9fbfb;\\n$brand-primary-20: #9ef0f0;\\n$brand-primary-30: #3ddbd9;\\n$brand-primary-40: #08bdba;\\n$brand-primary-50: #009d9a;\\n\\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\\n\\n$brand-primary-90: #022b30;\\n$brand-primary-100: #081a1c;\\n\\n@mixin brand-01($property) {\\n #{$property}: #005d5d;\\n #{$property}: var(--brand-01);\\n}\\n\\n@mixin brand-02($property) {\\n #{$property}: #004144;\\n #{$property}: var(--brand-02);\\n}\\n\\n@mixin brand-03($property) {\\n #{$property}: #007d79;\\n #{$property}: var(--brand-03);\\n}\\n\\n:root {\\n --brand-01: #005d5d;\\n --brand-02: #004144;\\n --brand-03: #007d79;\\n}\\n\\n$breakpoint-phone-min: 0px;\\n$breakpoint-phone-max: 600px;\\n$breakpoint-tablet-min: 601px;\\n$breakpoint-tablet-max: 1023px;\\n$breakpoint-small-desktop-min: 1024px;\\n$breakpoint-small-desktop-max: 1439px;\\n$breakpoint-large-desktop-min: 1440px;\\n$breakpoint-large-desktop-max: 99999999px;\\n\\n/* These color variables will be removed in a future release */\\n$brand-teal-01: #007d79;\\n$brand-01: #005d5d;\\n$brand-02: #004144;\\n\",\"@use '@carbon/styles/scss/spacing';\\n@use '@carbon/styles/scss/type';\\n@import '@openmrs/esm-styleguide/src/vars';\\n\\n.desktopHeader, .tabletHeader {\\n display: flex;\\n justify-content: space-between;\\n align-items: center;\\n padding: spacing.$spacing-04 0 spacing.$spacing-04 spacing.$spacing-05;\\n background-color: $ui-background;\\n\\n h4:after {\\n content: \\\"\\\";\\n display: block;\\n width: 2rem;\\n padding-top: 0.188rem;\\n border-bottom: 0.375rem solid var(--brand-03);\\n }\\n}\\n\\n.desktopHeader {\\n height: 3rem;\\n h4 {\\n @include type.type-style('heading-compact-02');\\n color: $text-02;\\n }\\n}\\n\\n.tabletHeader {\\n height: 4.5rem;\\n h4 {\\n @include type.type-style('heading-03');\\n color: $text-02;\\n }\\n}\\n\\n// Overriding styles for RTL support\\nhtml[dir='rtl'] {\\n .desktopHeader, .tabletHeader {\\n text-align: right;\\n padding: spacing.$spacing-04 spacing.$spacing-05 spacing.$spacing-04 0;\\n }\\n}\\n\",\"//\\n// Copyright IBM Corp. 2018, 2023\\n//\\n// This source code is licensed under the Apache-2.0 license found in the\\n// LICENSE file in the root directory of this source tree.\\n//\\n\\n// stylelint-disable number-max-precision\\n\\n@use 'sass:map';\\n@use 'sass:math';\\n@use '@carbon/grid/scss/config' as gridconfig;\\n@use '@carbon/grid/scss/breakpoint' as grid;\\n@use 'prefix' as *;\\n@use 'font-family';\\n@use 'scale';\\n\\n/// @type Map\\n/// @access public\\n/// @deprecated\\n/// @group @carbon/type\\n$caption-01: (\\n font-size: scale.type-scale(1),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.33333,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @deprecated\\n/// @group @carbon/type\\n$caption-02: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$label-01: (\\n font-size: scale.type-scale(1),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.33333,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$label-02: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$legal-01: (\\n font-size: scale.type-scale(1),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.33333,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$legal-02: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @deprecated\\n/// @group @carbon/type\\n$helper-text-01: (\\n font-size: scale.type-scale(1),\\n line-height: 1.33333,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @deprecated\\n/// @group @carbon/type\\n$helper-text-02: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-short-01: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-compact-01: $body-short-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-long-01: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.42857,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-01: $body-long-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-short-02: (\\n font-size: scale.type-scale(3),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.375,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-compact-02: $body-short-02 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-long-02: (\\n font-size: scale.type-scale(3),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.5,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-02: $body-long-02 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$code-01: (\\n font-family: font-family.font-family('mono'),\\n font-size: scale.type-scale(1),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.33333,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$code-02: (\\n font-family: font-family.font-family('mono'),\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.42857,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-01: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('semibold'),\\n line-height: 1.42857,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-01: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('semibold'),\\n line-height: 1.28572,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-compact-01: $productive-heading-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-02: (\\n font-size: scale.type-scale(3),\\n font-weight: font-family.font-weight('semibold'),\\n line-height: 1.5,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-02: (\\n font-size: scale.type-scale(3),\\n font-weight: font-family.font-weight('semibold'),\\n line-height: 1.375,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-compact-02: $productive-heading-02 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-03: (\\n font-size: scale.type-scale(5),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.4,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-03: $productive-heading-03 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-04: (\\n font-size: scale.type-scale(7),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-04: $productive-heading-04 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-05: (\\n font-size: scale.type-scale(8),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.25,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-05: $productive-heading-05 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-06: (\\n font-size: scale.type-scale(10),\\n font-weight: font-family.font-weight('light'),\\n // Extra digit needed for precision in Chrome\\n line-height: 1.199,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-06: $productive-heading-06 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-07: (\\n font-size: scale.type-scale(12),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.19,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-07: $productive-heading-07 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-heading-01: $heading-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-heading-02: $heading-02 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-heading-03: (\\n font-size: scale.type-scale(5),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.4,\\n letter-spacing: 0,\\n breakpoints: (\\n xlg: (\\n font-size: scale.type-scale(5),\\n line-height: 1.4,\\n ),\\n max: (\\n font-size: scale.type-scale(6),\\n line-height: 1.334,\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-heading-03: $expressive-heading-03 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-heading-04: (\\n font-size: scale.type-scale(7),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0,\\n breakpoints: (\\n xlg: (\\n font-size: scale.type-scale(8),\\n line-height: 1.25,\\n font-weight: font-family.font-weight('regular'),\\n ),\\n max: (\\n font-size: scale.type-scale(8),\\n font-weight: font-family.font-weight('regular'),\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-heading-04: $expressive-heading-04 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-heading-05: (\\n font-size: scale.type-scale(8),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.25,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(9),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.22,\\n ),\\n lg: (\\n font-size: scale.type-scale(10),\\n line-height: 1.19,\\n ),\\n xlg: (\\n font-size: scale.type-scale(11),\\n line-height: 1.17,\\n ),\\n max: (\\n font-size: scale.type-scale(13),\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-heading-05: $expressive-heading-05 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-heading-06: (\\n font-size: scale.type-scale(8),\\n font-weight: font-family.font-weight('semibold'),\\n line-height: 1.25,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(9),\\n line-height: 1.22,\\n ),\\n lg: (\\n font-size: scale.type-scale(10),\\n line-height: 1.19,\\n ),\\n xlg: (\\n font-size: scale.type-scale(11),\\n line-height: 1.17,\\n ),\\n max: (\\n font-size: scale.type-scale(13),\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-heading-06: $expressive-heading-06 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-paragraph-01: (\\n font-size: scale.type-scale(6),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.334,\\n letter-spacing: 0,\\n breakpoints: (\\n lg: (\\n font-size: scale.type-scale(7),\\n line-height: 1.28572,\\n ),\\n max: (\\n font-size: scale.type-scale(8),\\n line-height: 1.25,\\n ),\\n ),\\n);\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$quotation-01: (\\n font-family: font-family.font-family('serif'),\\n font-size: scale.type-scale(5),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.3,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(5),\\n ),\\n lg: (\\n font-size: scale.type-scale(6),\\n line-height: 1.334,\\n ),\\n xlg: (\\n font-size: scale.type-scale(7),\\n line-height: 1.28572,\\n ),\\n max: (\\n font-size: scale.type-scale(8),\\n line-height: 1.25,\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-quotation-01: $quotation-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$quotation-02: (\\n font-family: font-family.font-family('serif'),\\n font-size: scale.type-scale(8),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.25,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(9),\\n line-height: 1.22,\\n ),\\n lg: (\\n font-size: scale.type-scale(10),\\n line-height: 1.19,\\n ),\\n xlg: (\\n font-size: scale.type-scale(11),\\n line-height: 1.17,\\n ),\\n max: (\\n font-size: scale.type-scale(13),\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-quotation-02: $quotation-02 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$display-01: (\\n font-size: scale.type-scale(10),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.19,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(10),\\n ),\\n lg: (\\n font-size: scale.type-scale(12),\\n ),\\n xlg: (\\n font-size: scale.type-scale(13),\\n line-height: 1.17,\\n ),\\n max: (\\n font-size: scale.type-scale(15),\\n line-height: 1.13,\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-display-01: $display-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$display-02: (\\n font-size: scale.type-scale(10),\\n font-weight: font-family.font-weight('semibold'),\\n line-height: 1.19,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(10),\\n ),\\n lg: (\\n font-size: scale.type-scale(12),\\n ),\\n xlg: (\\n font-size: scale.type-scale(13),\\n line-height: 1.16,\\n ),\\n max: (\\n font-size: scale.type-scale(15),\\n line-height: 1.13,\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-display-02: $display-02 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$display-03: (\\n font-size: scale.type-scale(10),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.19,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(12),\\n line-height: 1.18,\\n ),\\n lg: (\\n font-size: scale.type-scale(13),\\n line-height: 1.16,\\n letter-spacing: -0.64px,\\n ),\\n xlg: (\\n font-size: scale.type-scale(15),\\n line-height: 1.13,\\n letter-spacing: -0.64px,\\n ),\\n max: (\\n font-size: scale.type-scale(16),\\n line-height: 1.11,\\n letter-spacing: -0.96px,\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-display-03: $display-03 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$display-04: (\\n font-size: scale.type-scale(10),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.19,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(14),\\n line-height: 1.15,\\n ),\\n lg: (\\n font-size: scale.type-scale(17),\\n line-height: 1.11,\\n letter-spacing: -0.64px,\\n ),\\n xlg: (\\n font-size: scale.type-scale(20),\\n line-height: 1.07,\\n letter-spacing: -0.64px,\\n ),\\n max: (\\n font-size: scale.type-scale(23),\\n line-height: 1.05,\\n letter-spacing: -0.96px,\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-display-04: $display-04 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$tokens: (\\n caption-01: $caption-01,\\n caption-02: $caption-02,\\n label-01: $label-01,\\n label-02: $label-02,\\n helper-text-01: $helper-text-01,\\n helper-text-02: $helper-text-02,\\n body-short-01: $body-short-01,\\n body-short-02: $body-short-02,\\n body-long-01: $body-long-01,\\n body-long-02: $body-long-02,\\n code-01: $code-01,\\n code-02: $code-02,\\n heading-01: $heading-01,\\n heading-02: $heading-02,\\n productive-heading-01: $productive-heading-01,\\n productive-heading-02: $productive-heading-02,\\n productive-heading-03: $productive-heading-03,\\n productive-heading-04: $productive-heading-04,\\n productive-heading-05: $productive-heading-05,\\n productive-heading-06: $productive-heading-06,\\n productive-heading-07: $productive-heading-07,\\n expressive-paragraph-01: $expressive-paragraph-01,\\n expressive-heading-01: $expressive-heading-01,\\n expressive-heading-02: $expressive-heading-02,\\n expressive-heading-03: $expressive-heading-03,\\n expressive-heading-04: $expressive-heading-04,\\n expressive-heading-05: $expressive-heading-05,\\n expressive-heading-06: $expressive-heading-06,\\n quotation-01: $quotation-01,\\n quotation-02: $quotation-02,\\n display-01: $display-01,\\n display-02: $display-02,\\n display-03: $display-03,\\n display-04: $display-04,\\n // V11 Tokens\\n legal-01: $legal-01,\\n legal-02: $legal-02,\\n body-compact-01: $body-compact-01,\\n body-compact-02: $body-compact-02,\\n heading-compact-01: $heading-compact-01,\\n heading-compact-02: $heading-compact-02,\\n body-01: $body-01,\\n body-02: $body-02,\\n heading-03: $heading-03,\\n heading-04: $heading-04,\\n heading-05: $heading-05,\\n heading-06: $heading-06,\\n heading-07: $heading-07,\\n fluid-heading-03: $fluid-heading-03,\\n fluid-heading-04: $fluid-heading-04,\\n fluid-heading-05: $fluid-heading-05,\\n fluid-heading-06: $fluid-heading-06,\\n fluid-paragraph-01: $fluid-paragraph-01,\\n fluid-quotation-01: $fluid-quotation-01,\\n fluid-quotation-02: $fluid-quotation-02,\\n fluid-display-01: $fluid-display-01,\\n fluid-display-02: $fluid-display-02,\\n fluid-display-03: $fluid-display-03,\\n fluid-display-04: $fluid-display-04,\\n) !default;\\n\\n/// @param {Map} $map\\n/// @access public\\n/// @group @carbon/type\\n@mixin properties($map) {\\n @each $name, $value in $map {\\n #{$name}: $value;\\n }\\n}\\n\\n/// @param {Number} $value - Number with units\\n/// @return {Number} Without units\\n/// @access public\\n/// @group @carbon/type\\n@function strip-unit($value) {\\n @return math.div($value, $value * 0 + 1);\\n}\\n\\n/// This helper includes fluid type styles for the given token value. Fluid type\\n/// means that the `font-size` is computed using `calc()` in order to be\\n/// determined by the screen size instead of a breakpoint. As a result, fluid\\n/// styles should be used with caution in fixed width contexts.\\n///\\n/// In addition, we make use of %-based line-heights so that the line-height of\\n/// each type style is computed correctly due to the dynamic nature of the\\n/// `font-size`.\\n///\\n/// Most of the logic for this work comes from CSS Tricks:\\n/// https://css-tricks.com/snippets/css/fluid-typography/\\n///\\n/// @param {Map} $type-styles - The value of a given type token\\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\\n/// @access public\\n/// @group @carbon/type\\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\\n // Include the initial styles for the given token by default without any\\n // media query guard. This includes `font-size` as a fallback in the case\\n // that a browser does not support `calc()`\\n @include properties(map.remove($type-styles, breakpoints));\\n // We also need to include the `sm` styles by default since they don't\\n // appear in the fluid styles for tokens\\n @include fluid-type-size($type-styles, sm, $breakpoints);\\n\\n // Finally, we need to go through all the breakpoints defined in the type\\n // token and apply the properties and fluid type size for that given\\n // breakpoint\\n @each $name, $values in map.get($type-styles, breakpoints) {\\n @include grid.breakpoint($name) {\\n @include properties($values);\\n @include fluid-type-size($type-styles, $name, $breakpoints);\\n }\\n }\\n}\\n\\n/// Computes the fluid `font-size` for a given type style and breakpoint\\n/// @param {Map} $type-styles - The styles for a given token\\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\\n/// @access public\\n/// @group @carbon/type\\n@mixin fluid-type-size(\\n $type-styles,\\n $name,\\n $breakpoints: gridconfig.$grid-breakpoints\\n) {\\n // Get the information about the breakpoint we're currently working in. Useful\\n // for getting initial width information\\n $breakpoint: map.get($breakpoints, $name);\\n\\n // Our fluid styles are captured under the 'breakpoints' property in our type\\n // styles map. These define what values to treat as `max-` variables below\\n $fluid-sizes: map.get($type-styles, breakpoints);\\n $fluid-breakpoint: ();\\n // Special case for `sm` because the styles for small are on the type style\\n // directly\\n @if $name == sm {\\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\\n } @else {\\n $fluid-breakpoint: map.get($fluid-sizes, $name);\\n }\\n\\n // Initialize our font-sizes to the default size for the type style\\n $max-font-size: map.get($type-styles, font-size);\\n $min-font-size: map.get($type-styles, font-size);\\n @if map.has-key($fluid-breakpoint, font-size) {\\n $min-font-size: map.get($fluid-breakpoint, font-size);\\n }\\n\\n // Initialize our min and max width to the width of the current breakpoint\\n $max-vw: map.get($breakpoint, width);\\n $min-vw: map.get($breakpoint, width);\\n\\n // We can use `breakpoint-next` to see if there is another breakpoint we can\\n // use to update `max-font-size` and `max-vw` with larger values\\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\\n $next-fluid-breakpoint-name: null;\\n\\n // We need to figure out what the next available fluid breakpoint is for our\\n // given $type-styles. In this loop we try and iterate through breakpoints\\n // until we either manually set $next-breakpoint-available to null or\\n // `breakpoint-next` returns null.\\n @while $next-breakpoint-available {\\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\\n $next-fluid-breakpoint-name: $next-breakpoint-available;\\n $next-breakpoint-available: null;\\n } @else {\\n $next-breakpoint-available: grid.breakpoint-next(\\n $next-breakpoint-available,\\n $breakpoints\\n );\\n }\\n }\\n\\n // If we have found the next available fluid breakpoint name, then we know\\n // that we have values that we can use to set max-font-size and max-vw as both\\n // values derive from the next breakpoint\\n @if $next-fluid-breakpoint-name {\\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\\n $max-font-size: map.get(\\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\\n font-size\\n );\\n $max-vw: map.get($next-fluid-breakpoint, width);\\n\\n // prettier-ignore\\n font-size: calc(#{$min-font-size} +\\n #{strip-unit($max-font-size - $min-font-size)} *\\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\\n );\\n } @else {\\n // Otherwise, just default to setting the font size found from the type\\n // style or the given fluid breakpoint in the type style\\n font-size: $min-font-size;\\n }\\n}\\n\\n// TODO move following variable and `custom-property` mixin into shared file for\\n// both `@carbon/type` and `@carbon/themes`\\n\\n/// @access private\\n/// @group @carbon/type\\n@mixin custom-properties($name, $value) {\\n @each $property, $value in $value {\\n #{$property}: var(\\n --#{$custom-property-prefix}-#{$name}-#{$property},\\n #{$value}\\n );\\n }\\n}\\n\\n/// Helper mixin to include the styles for a given token in any selector in your\\n/// project. Also includes an optional fluid option that will enable fluid\\n/// styles for the token if they are defined. Fluid styles will cause the\\n/// token's font-size to be computed based on the viewport size. As a result, use\\n/// with caution in fixed contexts.\\n/// @param {String} $name - The name of the token to get the styles for\\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\\n/// @access public\\n/// @group @carbon/type\\n@mixin type-style(\\n $name,\\n $fluid: false,\\n $breakpoints: gridconfig.$grid-breakpoints\\n) {\\n @if not map.has-key($tokens, $name) {\\n @error 'Unable to find a token with the name: `#{$name}`';\\n }\\n\\n $token: map.get($tokens, $name);\\n\\n // If $fluid is set to true and the token has breakpoints defined for fluid\\n // styles, delegate to the fluid-type helper for the given token\\n @if $fluid == true and map.has-key($token, 'breakpoints') {\\n @include fluid-type($token, $breakpoints);\\n } @else {\\n @include custom-properties($name, $token);\\n }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"desktopHeader\": \"-esm-ethiohri-intake__card-header__desktopHeader___ce0fw\",\n\t\"tabletHeader\": \"-esm-ethiohri-intake__card-header__tabletHeader___2XxJn\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../openmrs/node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../openmrs/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\\n:root {\\n --brand-01: #005d5d;\\n --brand-02: #004144;\\n --brand-03: #007d79;\\n}\\n\\n/* These color variables will be removed in a future release */\\n.-esm-ethiohri-intake__empty-state__action___aa\\\\+PA {\\n margin-bottom: 0.5rem;\\n}\\n\\n.-esm-ethiohri-intake__empty-state__content___dNAYo {\\n font-size: var(--cds-heading-compact-01-font-size, 0.875rem);\\n font-weight: var(--cds-heading-compact-01-font-weight, 600);\\n line-height: var(--cds-heading-compact-01-line-height, 1.28572);\\n letter-spacing: var(--cds-heading-compact-01-letter-spacing, 0.16px);\\n color: #525252;\\n margin-top: 1rem;\\n margin-bottom: 0.5rem;\\n}\\n\\n.-esm-ethiohri-intake__empty-state__desktopHeading___kJlD5 h4 {\\n font-size: var(--cds-heading-compact-02-font-size, 1rem);\\n font-weight: var(--cds-heading-compact-02-font-weight, 600);\\n line-height: var(--cds-heading-compact-02-line-height, 1.375);\\n letter-spacing: var(--cds-heading-compact-02-letter-spacing, 0);\\n color: #525252;\\n}\\n\\n.-esm-ethiohri-intake__empty-state__tabletHeading___jcZv6 h4 {\\n font-size: var(--cds-heading-03-font-size, 1.25rem);\\n font-weight: var(--cds-heading-03-font-weight, 400);\\n line-height: var(--cds-heading-03-line-height, 1.4);\\n letter-spacing: var(--cds-heading-03-letter-spacing, 0);\\n color: #525252;\\n}\\n\\n.-esm-ethiohri-intake__empty-state__desktopHeading___kJlD5, .-esm-ethiohri-intake__empty-state__tabletHeading___jcZv6 {\\n text-align: left;\\n text-transform: capitalize;\\n margin-bottom: 1rem;\\n}\\n.-esm-ethiohri-intake__empty-state__desktopHeading___kJlD5 h4:after, .-esm-ethiohri-intake__empty-state__tabletHeading___jcZv6 h4:after {\\n content: \\\"\\\";\\n display: block;\\n width: 2rem;\\n padding-top: 0.188rem;\\n border-bottom: 0.375rem solid var(--brand-03);\\n}\\n\\n.-esm-ethiohri-intake__empty-state__heading___O1yiM:after {\\n content: \\\"\\\";\\n display: block;\\n width: 2rem;\\n padding-top: 0.188rem;\\n border-bottom: 0.375rem solid var(--brand-03);\\n}\\n\\n.-esm-ethiohri-intake__empty-state__tile___7vQpF {\\n text-align: center;\\n border: 1px solid #e0e0e0;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./node_modules/@openmrs/esm-styleguide/src/_vars.scss\",\"webpack://./node_modules/@openmrs/esm-patient-common-lib/src/empty-state/empty-state.scss\",\"webpack://./node_modules/@carbon/styles/node_modules/@carbon/layout/scss/generated/_spacing.scss\",\"webpack://./node_modules/@carbon/styles/node_modules/@carbon/type/scss/_styles.scss\"],\"names\":[],\"mappings\":\"AAgCA,0EAAA;AAoBA;EACE,mBAAA;EACA,mBAAA;EACA,mBAAA;AClDF;;AD8DA,8DAAA;AC/DA;EACE,qBCgBW;ADXb;;AAFA;EE01BI,4DAAA;EAAA,2DAAA;EAAA,+DAAA;EAAA,oEAAA;EFx1BF,cDLQ;ECMR,gBCoBW;EDnBX,qBCSW;ADDb;;AAJE;EEk1BE,wDAAA;EAAA,2DAAA;EAAA,6DAAA;EAAA,+DAAA;EFh1BA,cDbM;ACuBV;;AALE;EE20BE,mDAAA;EAAA,mDAAA;EAAA,mDAAA;EAAA,uDAAA;EFz0BA,cDpBM;AC+BV;;AAPA;EACE,gBAAA;EACA,0BAAA;EACA,mBCDW;ADWb;AARE;EACE,WAAA;EACA,cAAA;EACA,WAAA;EACA,qBAAA;EACA,6CAAA;AAUJ;;AANA;EACE,WAAA;EACA,cAAA;EACA,WAAA;EACA,qBAAA;EACA,6CAAA;AASF;;AANA;EACE,kBAAA;EACA,yBAAA;AASF\",\"sourcesContent\":[\"$ui-01: #f4f4f4;\\n$ui-02: #ffffff;\\n$ui-03: #e0e0e0;\\n$ui-04: #8d8d8d;\\n$ui-05: #161616;\\n$text-02: #525252;\\n$text-03: #a8a8a8;\\n$ui-background: #ffffff;\\n$color-gray-30: #c6c6c6;\\n$color-gray-70: #525252;\\n$color-gray-100: #161616;\\n$color-blue-60-2: #0f62fe;\\n$color-blue-10: #edf5ff;\\n$color-yellow-50: #feecae;\\n$carbon--red-50: #fa4d56;\\n$inverse-link: #78a9ff;\\n$support-02: #24a148;\\n$inverse-support-03: #f1c21b;\\n$warning-background: #fff8e1;\\n$openmrs-background-grey: #f4f4f4;\\n$danger: #da1e28;\\n$interactive-01: #0f62fe;\\n$field-01: #f4f4f4;\\n$grey-2: #e0e0e0;\\n$labeldropdown: #c6c6c6;\\n\\n$brand-primary-10: #d9fbfb;\\n$brand-primary-20: #9ef0f0;\\n$brand-primary-30: #3ddbd9;\\n$brand-primary-40: #08bdba;\\n$brand-primary-50: #009d9a;\\n\\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\\n\\n$brand-primary-90: #022b30;\\n$brand-primary-100: #081a1c;\\n\\n@mixin brand-01($property) {\\n #{$property}: #005d5d;\\n #{$property}: var(--brand-01);\\n}\\n\\n@mixin brand-02($property) {\\n #{$property}: #004144;\\n #{$property}: var(--brand-02);\\n}\\n\\n@mixin brand-03($property) {\\n #{$property}: #007d79;\\n #{$property}: var(--brand-03);\\n}\\n\\n:root {\\n --brand-01: #005d5d;\\n --brand-02: #004144;\\n --brand-03: #007d79;\\n}\\n\\n$breakpoint-phone-min: 0px;\\n$breakpoint-phone-max: 600px;\\n$breakpoint-tablet-min: 601px;\\n$breakpoint-tablet-max: 1023px;\\n$breakpoint-small-desktop-min: 1024px;\\n$breakpoint-small-desktop-max: 1439px;\\n$breakpoint-large-desktop-min: 1440px;\\n$breakpoint-large-desktop-max: 99999999px;\\n\\n/* These color variables will be removed in a future release */\\n$brand-teal-01: #007d79;\\n$brand-01: #005d5d;\\n$brand-02: #004144;\\n\",\"@use '@carbon/styles/scss/spacing';\\n@use '@carbon/styles/scss/type';\\n@import '@openmrs/esm-styleguide/src/vars';\\n\\n.action {\\n margin-bottom: spacing.$spacing-03;\\n}\\n\\n.content {\\n @include type.type-style(\\\"heading-compact-01\\\");\\n color: $text-02;\\n margin-top: spacing.$spacing-05;\\n margin-bottom: spacing.$spacing-03;\\n}\\n\\n.desktopHeading {\\n h4 {\\n @include type.type-style('heading-compact-02');\\n color: $text-02;\\n }\\n}\\n\\n.tabletHeading {\\n h4 {\\n @include type.type-style('heading-03');\\n color: $text-02;\\n }\\n}\\n\\n.desktopHeading, .tabletHeading {\\n text-align: left;\\n text-transform: capitalize;\\n margin-bottom: spacing.$spacing-05;\\n\\n h4:after {\\n content: \\\"\\\";\\n display: block;\\n width: 2rem;\\n padding-top: 0.188rem;\\n border-bottom: 0.375rem solid var(--brand-03);\\n }\\n}\\n\\n.heading:after {\\n content: \\\"\\\";\\n display: block;\\n width: 2rem;\\n padding-top: 0.188rem;\\n border-bottom: 0.375rem solid var(--brand-03);\\n}\\n\\n.tile {\\n text-align: center;\\n border: 1px solid $ui-03;\\n}\\n\",\"// Code generated by @carbon/layout. DO NOT EDIT.\\n//\\n// Copyright IBM Corp. 2018, 2023\\n//\\n// This source code is licensed under the Apache-2.0 license found in the\\n// LICENSE file in the root directory of this source tree.\\n//\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-01: 0.125rem !default;\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-02: 0.25rem !default;\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-03: 0.5rem !default;\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-04: 0.75rem !default;\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-05: 1rem !default;\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-06: 1.5rem !default;\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-07: 2rem !default;\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-08: 2.5rem !default;\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-09: 3rem !default;\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-10: 4rem !default;\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-11: 5rem !default;\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-12: 6rem !default;\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-13: 10rem !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/layout\\n$spacing: (\\n spacing-01: $spacing-01,\\n spacing-02: $spacing-02,\\n spacing-03: $spacing-03,\\n spacing-04: $spacing-04,\\n spacing-05: $spacing-05,\\n spacing-06: $spacing-06,\\n spacing-07: $spacing-07,\\n spacing-08: $spacing-08,\\n spacing-09: $spacing-09,\\n spacing-10: $spacing-10,\\n spacing-11: $spacing-11,\\n spacing-12: $spacing-12,\\n spacing-13: $spacing-13,\\n);\\n\",\"//\\n// Copyright IBM Corp. 2018, 2023\\n//\\n// This source code is licensed under the Apache-2.0 license found in the\\n// LICENSE file in the root directory of this source tree.\\n//\\n\\n// stylelint-disable number-max-precision\\n\\n@use 'sass:map';\\n@use 'sass:math';\\n@use '@carbon/grid/scss/config' as gridconfig;\\n@use '@carbon/grid/scss/breakpoint' as grid;\\n@use 'prefix' as *;\\n@use 'font-family';\\n@use 'scale';\\n\\n/// @type Map\\n/// @access public\\n/// @deprecated\\n/// @group @carbon/type\\n$caption-01: (\\n font-size: scale.type-scale(1),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.33333,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @deprecated\\n/// @group @carbon/type\\n$caption-02: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$label-01: (\\n font-size: scale.type-scale(1),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.33333,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$label-02: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$legal-01: (\\n font-size: scale.type-scale(1),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.33333,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$legal-02: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @deprecated\\n/// @group @carbon/type\\n$helper-text-01: (\\n font-size: scale.type-scale(1),\\n line-height: 1.33333,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @deprecated\\n/// @group @carbon/type\\n$helper-text-02: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-short-01: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-compact-01: $body-short-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-long-01: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.42857,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-01: $body-long-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-short-02: (\\n font-size: scale.type-scale(3),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.375,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-compact-02: $body-short-02 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-long-02: (\\n font-size: scale.type-scale(3),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.5,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-02: $body-long-02 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$code-01: (\\n font-family: font-family.font-family('mono'),\\n font-size: scale.type-scale(1),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.33333,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$code-02: (\\n font-family: font-family.font-family('mono'),\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.42857,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-01: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('semibold'),\\n line-height: 1.42857,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-01: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('semibold'),\\n line-height: 1.28572,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-compact-01: $productive-heading-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-02: (\\n font-size: scale.type-scale(3),\\n font-weight: font-family.font-weight('semibold'),\\n line-height: 1.5,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-02: (\\n font-size: scale.type-scale(3),\\n font-weight: font-family.font-weight('semibold'),\\n line-height: 1.375,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-compact-02: $productive-heading-02 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-03: (\\n font-size: scale.type-scale(5),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.4,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-03: $productive-heading-03 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-04: (\\n font-size: scale.type-scale(7),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-04: $productive-heading-04 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-05: (\\n font-size: scale.type-scale(8),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.25,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-05: $productive-heading-05 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-06: (\\n font-size: scale.type-scale(10),\\n font-weight: font-family.font-weight('light'),\\n // Extra digit needed for precision in Chrome\\n line-height: 1.199,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-06: $productive-heading-06 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-07: (\\n font-size: scale.type-scale(12),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.19,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-07: $productive-heading-07 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-heading-01: $heading-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-heading-02: $heading-02 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-heading-03: (\\n font-size: scale.type-scale(5),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.4,\\n letter-spacing: 0,\\n breakpoints: (\\n xlg: (\\n font-size: scale.type-scale(5),\\n line-height: 1.4,\\n ),\\n max: (\\n font-size: scale.type-scale(6),\\n line-height: 1.334,\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-heading-03: $expressive-heading-03 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-heading-04: (\\n font-size: scale.type-scale(7),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0,\\n breakpoints: (\\n xlg: (\\n font-size: scale.type-scale(8),\\n line-height: 1.25,\\n font-weight: font-family.font-weight('regular'),\\n ),\\n max: (\\n font-size: scale.type-scale(8),\\n font-weight: font-family.font-weight('regular'),\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-heading-04: $expressive-heading-04 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-heading-05: (\\n font-size: scale.type-scale(8),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.25,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(9),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.22,\\n ),\\n lg: (\\n font-size: scale.type-scale(10),\\n line-height: 1.19,\\n ),\\n xlg: (\\n font-size: scale.type-scale(11),\\n line-height: 1.17,\\n ),\\n max: (\\n font-size: scale.type-scale(13),\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-heading-05: $expressive-heading-05 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-heading-06: (\\n font-size: scale.type-scale(8),\\n font-weight: font-family.font-weight('semibold'),\\n line-height: 1.25,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(9),\\n line-height: 1.22,\\n ),\\n lg: (\\n font-size: scale.type-scale(10),\\n line-height: 1.19,\\n ),\\n xlg: (\\n font-size: scale.type-scale(11),\\n line-height: 1.17,\\n ),\\n max: (\\n font-size: scale.type-scale(13),\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-heading-06: $expressive-heading-06 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-paragraph-01: (\\n font-size: scale.type-scale(6),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.334,\\n letter-spacing: 0,\\n breakpoints: (\\n lg: (\\n font-size: scale.type-scale(7),\\n line-height: 1.28572,\\n ),\\n max: (\\n font-size: scale.type-scale(8),\\n line-height: 1.25,\\n ),\\n ),\\n);\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$quotation-01: (\\n font-family: font-family.font-family('serif'),\\n font-size: scale.type-scale(5),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.3,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(5),\\n ),\\n lg: (\\n font-size: scale.type-scale(6),\\n line-height: 1.334,\\n ),\\n xlg: (\\n font-size: scale.type-scale(7),\\n line-height: 1.28572,\\n ),\\n max: (\\n font-size: scale.type-scale(8),\\n line-height: 1.25,\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-quotation-01: $quotation-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$quotation-02: (\\n font-family: font-family.font-family('serif'),\\n font-size: scale.type-scale(8),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.25,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(9),\\n line-height: 1.22,\\n ),\\n lg: (\\n font-size: scale.type-scale(10),\\n line-height: 1.19,\\n ),\\n xlg: (\\n font-size: scale.type-scale(11),\\n line-height: 1.17,\\n ),\\n max: (\\n font-size: scale.type-scale(13),\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-quotation-02: $quotation-02 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$display-01: (\\n font-size: scale.type-scale(10),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.19,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(10),\\n ),\\n lg: (\\n font-size: scale.type-scale(12),\\n ),\\n xlg: (\\n font-size: scale.type-scale(13),\\n line-height: 1.17,\\n ),\\n max: (\\n font-size: scale.type-scale(15),\\n line-height: 1.13,\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-display-01: $display-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$display-02: (\\n font-size: scale.type-scale(10),\\n font-weight: font-family.font-weight('semibold'),\\n line-height: 1.19,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(10),\\n ),\\n lg: (\\n font-size: scale.type-scale(12),\\n ),\\n xlg: (\\n font-size: scale.type-scale(13),\\n line-height: 1.16,\\n ),\\n max: (\\n font-size: scale.type-scale(15),\\n line-height: 1.13,\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-display-02: $display-02 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$display-03: (\\n font-size: scale.type-scale(10),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.19,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(12),\\n line-height: 1.18,\\n ),\\n lg: (\\n font-size: scale.type-scale(13),\\n line-height: 1.16,\\n letter-spacing: -0.64px,\\n ),\\n xlg: (\\n font-size: scale.type-scale(15),\\n line-height: 1.13,\\n letter-spacing: -0.64px,\\n ),\\n max: (\\n font-size: scale.type-scale(16),\\n line-height: 1.11,\\n letter-spacing: -0.96px,\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-display-03: $display-03 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$display-04: (\\n font-size: scale.type-scale(10),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.19,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(14),\\n line-height: 1.15,\\n ),\\n lg: (\\n font-size: scale.type-scale(17),\\n line-height: 1.11,\\n letter-spacing: -0.64px,\\n ),\\n xlg: (\\n font-size: scale.type-scale(20),\\n line-height: 1.07,\\n letter-spacing: -0.64px,\\n ),\\n max: (\\n font-size: scale.type-scale(23),\\n line-height: 1.05,\\n letter-spacing: -0.96px,\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-display-04: $display-04 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$tokens: (\\n caption-01: $caption-01,\\n caption-02: $caption-02,\\n label-01: $label-01,\\n label-02: $label-02,\\n helper-text-01: $helper-text-01,\\n helper-text-02: $helper-text-02,\\n body-short-01: $body-short-01,\\n body-short-02: $body-short-02,\\n body-long-01: $body-long-01,\\n body-long-02: $body-long-02,\\n code-01: $code-01,\\n code-02: $code-02,\\n heading-01: $heading-01,\\n heading-02: $heading-02,\\n productive-heading-01: $productive-heading-01,\\n productive-heading-02: $productive-heading-02,\\n productive-heading-03: $productive-heading-03,\\n productive-heading-04: $productive-heading-04,\\n productive-heading-05: $productive-heading-05,\\n productive-heading-06: $productive-heading-06,\\n productive-heading-07: $productive-heading-07,\\n expressive-paragraph-01: $expressive-paragraph-01,\\n expressive-heading-01: $expressive-heading-01,\\n expressive-heading-02: $expressive-heading-02,\\n expressive-heading-03: $expressive-heading-03,\\n expressive-heading-04: $expressive-heading-04,\\n expressive-heading-05: $expressive-heading-05,\\n expressive-heading-06: $expressive-heading-06,\\n quotation-01: $quotation-01,\\n quotation-02: $quotation-02,\\n display-01: $display-01,\\n display-02: $display-02,\\n display-03: $display-03,\\n display-04: $display-04,\\n // V11 Tokens\\n legal-01: $legal-01,\\n legal-02: $legal-02,\\n body-compact-01: $body-compact-01,\\n body-compact-02: $body-compact-02,\\n heading-compact-01: $heading-compact-01,\\n heading-compact-02: $heading-compact-02,\\n body-01: $body-01,\\n body-02: $body-02,\\n heading-03: $heading-03,\\n heading-04: $heading-04,\\n heading-05: $heading-05,\\n heading-06: $heading-06,\\n heading-07: $heading-07,\\n fluid-heading-03: $fluid-heading-03,\\n fluid-heading-04: $fluid-heading-04,\\n fluid-heading-05: $fluid-heading-05,\\n fluid-heading-06: $fluid-heading-06,\\n fluid-paragraph-01: $fluid-paragraph-01,\\n fluid-quotation-01: $fluid-quotation-01,\\n fluid-quotation-02: $fluid-quotation-02,\\n fluid-display-01: $fluid-display-01,\\n fluid-display-02: $fluid-display-02,\\n fluid-display-03: $fluid-display-03,\\n fluid-display-04: $fluid-display-04,\\n) !default;\\n\\n/// @param {Map} $map\\n/// @access public\\n/// @group @carbon/type\\n@mixin properties($map) {\\n @each $name, $value in $map {\\n #{$name}: $value;\\n }\\n}\\n\\n/// @param {Number} $value - Number with units\\n/// @return {Number} Without units\\n/// @access public\\n/// @group @carbon/type\\n@function strip-unit($value) {\\n @return math.div($value, $value * 0 + 1);\\n}\\n\\n/// This helper includes fluid type styles for the given token value. Fluid type\\n/// means that the `font-size` is computed using `calc()` in order to be\\n/// determined by the screen size instead of a breakpoint. As a result, fluid\\n/// styles should be used with caution in fixed width contexts.\\n///\\n/// In addition, we make use of %-based line-heights so that the line-height of\\n/// each type style is computed correctly due to the dynamic nature of the\\n/// `font-size`.\\n///\\n/// Most of the logic for this work comes from CSS Tricks:\\n/// https://css-tricks.com/snippets/css/fluid-typography/\\n///\\n/// @param {Map} $type-styles - The value of a given type token\\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\\n/// @access public\\n/// @group @carbon/type\\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\\n // Include the initial styles for the given token by default without any\\n // media query guard. This includes `font-size` as a fallback in the case\\n // that a browser does not support `calc()`\\n @include properties(map.remove($type-styles, breakpoints));\\n // We also need to include the `sm` styles by default since they don't\\n // appear in the fluid styles for tokens\\n @include fluid-type-size($type-styles, sm, $breakpoints);\\n\\n // Finally, we need to go through all the breakpoints defined in the type\\n // token and apply the properties and fluid type size for that given\\n // breakpoint\\n @each $name, $values in map.get($type-styles, breakpoints) {\\n @include grid.breakpoint($name) {\\n @include properties($values);\\n @include fluid-type-size($type-styles, $name, $breakpoints);\\n }\\n }\\n}\\n\\n/// Computes the fluid `font-size` for a given type style and breakpoint\\n/// @param {Map} $type-styles - The styles for a given token\\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\\n/// @access public\\n/// @group @carbon/type\\n@mixin fluid-type-size(\\n $type-styles,\\n $name,\\n $breakpoints: gridconfig.$grid-breakpoints\\n) {\\n // Get the information about the breakpoint we're currently working in. Useful\\n // for getting initial width information\\n $breakpoint: map.get($breakpoints, $name);\\n\\n // Our fluid styles are captured under the 'breakpoints' property in our type\\n // styles map. These define what values to treat as `max-` variables below\\n $fluid-sizes: map.get($type-styles, breakpoints);\\n $fluid-breakpoint: ();\\n // Special case for `sm` because the styles for small are on the type style\\n // directly\\n @if $name == sm {\\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\\n } @else {\\n $fluid-breakpoint: map.get($fluid-sizes, $name);\\n }\\n\\n // Initialize our font-sizes to the default size for the type style\\n $max-font-size: map.get($type-styles, font-size);\\n $min-font-size: map.get($type-styles, font-size);\\n @if map.has-key($fluid-breakpoint, font-size) {\\n $min-font-size: map.get($fluid-breakpoint, font-size);\\n }\\n\\n // Initialize our min and max width to the width of the current breakpoint\\n $max-vw: map.get($breakpoint, width);\\n $min-vw: map.get($breakpoint, width);\\n\\n // We can use `breakpoint-next` to see if there is another breakpoint we can\\n // use to update `max-font-size` and `max-vw` with larger values\\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\\n $next-fluid-breakpoint-name: null;\\n\\n // We need to figure out what the next available fluid breakpoint is for our\\n // given $type-styles. In this loop we try and iterate through breakpoints\\n // until we either manually set $next-breakpoint-available to null or\\n // `breakpoint-next` returns null.\\n @while $next-breakpoint-available {\\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\\n $next-fluid-breakpoint-name: $next-breakpoint-available;\\n $next-breakpoint-available: null;\\n } @else {\\n $next-breakpoint-available: grid.breakpoint-next(\\n $next-breakpoint-available,\\n $breakpoints\\n );\\n }\\n }\\n\\n // If we have found the next available fluid breakpoint name, then we know\\n // that we have values that we can use to set max-font-size and max-vw as both\\n // values derive from the next breakpoint\\n @if $next-fluid-breakpoint-name {\\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\\n $max-font-size: map.get(\\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\\n font-size\\n );\\n $max-vw: map.get($next-fluid-breakpoint, width);\\n\\n // prettier-ignore\\n font-size: calc(#{$min-font-size} +\\n #{strip-unit($max-font-size - $min-font-size)} *\\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\\n );\\n } @else {\\n // Otherwise, just default to setting the font size found from the type\\n // style or the given fluid breakpoint in the type style\\n font-size: $min-font-size;\\n }\\n}\\n\\n// TODO move following variable and `custom-property` mixin into shared file for\\n// both `@carbon/type` and `@carbon/themes`\\n\\n/// @access private\\n/// @group @carbon/type\\n@mixin custom-properties($name, $value) {\\n @each $property, $value in $value {\\n #{$property}: var(\\n --#{$custom-property-prefix}-#{$name}-#{$property},\\n #{$value}\\n );\\n }\\n}\\n\\n/// Helper mixin to include the styles for a given token in any selector in your\\n/// project. Also includes an optional fluid option that will enable fluid\\n/// styles for the token if they are defined. Fluid styles will cause the\\n/// token's font-size to be computed based on the viewport size. As a result, use\\n/// with caution in fixed contexts.\\n/// @param {String} $name - The name of the token to get the styles for\\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\\n/// @access public\\n/// @group @carbon/type\\n@mixin type-style(\\n $name,\\n $fluid: false,\\n $breakpoints: gridconfig.$grid-breakpoints\\n) {\\n @if not map.has-key($tokens, $name) {\\n @error 'Unable to find a token with the name: `#{$name}`';\\n }\\n\\n $token: map.get($tokens, $name);\\n\\n // If $fluid is set to true and the token has breakpoints defined for fluid\\n // styles, delegate to the fluid-type helper for the given token\\n @if $fluid == true and map.has-key($token, 'breakpoints') {\\n @include fluid-type($token, $breakpoints);\\n } @else {\\n @include custom-properties($name, $token);\\n }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"action\": \"-esm-ethiohri-intake__empty-state__action___aa+PA\",\n\t\"content\": \"-esm-ethiohri-intake__empty-state__content___dNAYo\",\n\t\"desktopHeading\": \"-esm-ethiohri-intake__empty-state__desktopHeading___kJlD5\",\n\t\"tabletHeading\": \"-esm-ethiohri-intake__empty-state__tabletHeading___jcZv6\",\n\t\"heading\": \"-esm-ethiohri-intake__empty-state__heading___O1yiM\",\n\t\"tile\": \"-esm-ethiohri-intake__empty-state__tile___7vQpF\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../openmrs/node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../openmrs/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\\n:root {\\n --brand-01: #005d5d;\\n --brand-02: #004144;\\n --brand-03: #007d79;\\n}\\n\\n/* These color variables will be removed in a future release */\\n.-esm-ethiohri-intake__error-state__errorMessage___Qz\\\\+QW {\\n font-size: var(--cds-heading-compact-02-font-size, 1rem);\\n font-weight: var(--cds-heading-compact-02-font-weight, 600);\\n line-height: var(--cds-heading-compact-02-line-height, 1.375);\\n letter-spacing: var(--cds-heading-compact-02-letter-spacing, 0);\\n margin-top: 2.25rem;\\n margin-bottom: 0.5rem;\\n}\\n\\n.-esm-ethiohri-intake__error-state__errorCopy___31KKy {\\n margin-bottom: 0.5rem;\\n font-size: var(--cds-body-01-font-size, 0.875rem);\\n font-weight: var(--cds-body-01-font-weight, 400);\\n line-height: var(--cds-body-01-line-height, 1.42857);\\n letter-spacing: var(--cds-body-01-letter-spacing, 0.16px);\\n color: #525252;\\n}\\n\\n.-esm-ethiohri-intake__error-state__desktopHeading___zt9kx h4 {\\n font-size: var(--cds-heading-compact-02-font-size, 1rem);\\n font-weight: var(--cds-heading-compact-02-font-weight, 600);\\n line-height: var(--cds-heading-compact-02-line-height, 1.375);\\n letter-spacing: var(--cds-heading-compact-02-letter-spacing, 0);\\n color: #525252;\\n}\\n\\n.-esm-ethiohri-intake__error-state__tabletHeading___IM1n5 h4 {\\n font-size: var(--cds-heading-03-font-size, 1.25rem);\\n font-weight: var(--cds-heading-03-font-weight, 400);\\n line-height: var(--cds-heading-03-line-height, 1.4);\\n letter-spacing: var(--cds-heading-03-letter-spacing, 0);\\n color: #525252;\\n}\\n\\n.-esm-ethiohri-intake__error-state__desktopHeading___zt9kx, .-esm-ethiohri-intake__error-state__tabletHeading___IM1n5 {\\n text-align: left;\\n text-transform: capitalize;\\n margin-bottom: 1rem;\\n}\\n.-esm-ethiohri-intake__error-state__desktopHeading___zt9kx h4:after, .-esm-ethiohri-intake__error-state__tabletHeading___IM1n5 h4:after {\\n content: \\\"\\\";\\n display: block;\\n width: 2rem;\\n padding-top: 0.188rem;\\n border-bottom: 0.375rem solid var(--brand-03);\\n}\\n\\n.-esm-ethiohri-intake__error-state__tile___odd6z {\\n text-align: center;\\n border: 1px solid #e0e0e0;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./node_modules/@openmrs/esm-styleguide/src/_vars.scss\",\"webpack://./node_modules/@openmrs/esm-patient-common-lib/src/error-state/error-state.scss\",\"webpack://./node_modules/@carbon/styles/node_modules/@carbon/type/scss/_styles.scss\",\"webpack://./node_modules/@carbon/styles/node_modules/@carbon/layout/scss/generated/_spacing.scss\"],\"names\":[],\"mappings\":\"AAgCA,0EAAA;AAoBA;EACE,mBAAA;EACA,mBAAA;EACA,mBAAA;AClDF;;AD8DA,8DAAA;AC/DA;EC81BI,wDAAA;EAAA,2DAAA;EAAA,6DAAA;EAAA,+DAAA;ED31BF,mBAAA;EACA,qBEaW;AFNb;;AAJA;EACE,qBESW;ED60BT,iDAAA;EAAA,gDAAA;EAAA,oDAAA;EAAA,yDAAA;EDp1BF,cDTQ;ACmBV;;AANE;ECg1BE,wDAAA;EAAA,2DAAA;EAAA,6DAAA;EAAA,+DAAA;ED90BA,cDfM;AC2BV;;AAPE;ECy0BE,mDAAA;EAAA,mDAAA;EAAA,mDAAA;EAAA,uDAAA;EDv0BA,cDtBM;ACmCV;;AATA;EACE,gBAAA;EACA,0BAAA;EACA,mBEHW;AFeb;AAVE;EACE,WAAA;EACA,cAAA;EACA,WAAA;EACA,qBAAA;EACA,6CAAA;AAYJ;;AARA;EACE,kBAAA;EACA,yBAAA;AAWF\",\"sourcesContent\":[\"$ui-01: #f4f4f4;\\n$ui-02: #ffffff;\\n$ui-03: #e0e0e0;\\n$ui-04: #8d8d8d;\\n$ui-05: #161616;\\n$text-02: #525252;\\n$text-03: #a8a8a8;\\n$ui-background: #ffffff;\\n$color-gray-30: #c6c6c6;\\n$color-gray-70: #525252;\\n$color-gray-100: #161616;\\n$color-blue-60-2: #0f62fe;\\n$color-blue-10: #edf5ff;\\n$color-yellow-50: #feecae;\\n$carbon--red-50: #fa4d56;\\n$inverse-link: #78a9ff;\\n$support-02: #24a148;\\n$inverse-support-03: #f1c21b;\\n$warning-background: #fff8e1;\\n$openmrs-background-grey: #f4f4f4;\\n$danger: #da1e28;\\n$interactive-01: #0f62fe;\\n$field-01: #f4f4f4;\\n$grey-2: #e0e0e0;\\n$labeldropdown: #c6c6c6;\\n\\n$brand-primary-10: #d9fbfb;\\n$brand-primary-20: #9ef0f0;\\n$brand-primary-30: #3ddbd9;\\n$brand-primary-40: #08bdba;\\n$brand-primary-50: #009d9a;\\n\\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\\n\\n$brand-primary-90: #022b30;\\n$brand-primary-100: #081a1c;\\n\\n@mixin brand-01($property) {\\n #{$property}: #005d5d;\\n #{$property}: var(--brand-01);\\n}\\n\\n@mixin brand-02($property) {\\n #{$property}: #004144;\\n #{$property}: var(--brand-02);\\n}\\n\\n@mixin brand-03($property) {\\n #{$property}: #007d79;\\n #{$property}: var(--brand-03);\\n}\\n\\n:root {\\n --brand-01: #005d5d;\\n --brand-02: #004144;\\n --brand-03: #007d79;\\n}\\n\\n$breakpoint-phone-min: 0px;\\n$breakpoint-phone-max: 600px;\\n$breakpoint-tablet-min: 601px;\\n$breakpoint-tablet-max: 1023px;\\n$breakpoint-small-desktop-min: 1024px;\\n$breakpoint-small-desktop-max: 1439px;\\n$breakpoint-large-desktop-min: 1440px;\\n$breakpoint-large-desktop-max: 99999999px;\\n\\n/* These color variables will be removed in a future release */\\n$brand-teal-01: #007d79;\\n$brand-01: #005d5d;\\n$brand-02: #004144;\\n\",\"@use '@carbon/styles/scss/spacing';\\n@use '@carbon/styles/scss/type';\\n@import '@openmrs/esm-styleguide/src/vars';\\n\\n.errorMessage {\\n @include type.type-style(\\\"heading-compact-02\\\");\\n\\n margin-top: 2.25rem;\\n margin-bottom: spacing.$spacing-03;\\n}\\n\\n.errorCopy {\\n margin-bottom: spacing.$spacing-03;\\n @include type.type-style(\\\"body-01\\\");\\n color: $text-02;\\n}\\n\\n.desktopHeading {\\n h4 {\\n @include type.type-style('heading-compact-02');\\n color: $text-02;\\n }\\n}\\n\\n.tabletHeading {\\n h4 {\\n @include type.type-style('heading-03');\\n color: $text-02;\\n }\\n}\\n\\n.desktopHeading, .tabletHeading {\\n text-align: left;\\n text-transform: capitalize;\\n margin-bottom: spacing.$spacing-05;\\n\\n h4:after {\\n content: \\\"\\\";\\n display: block;\\n width: 2rem;\\n padding-top: 0.188rem;\\n border-bottom: 0.375rem solid var(--brand-03);\\n }\\n}\\n\\n.tile {\\n text-align: center;\\n border: 1px solid $ui-03;\\n}\\n\",\"//\\n// Copyright IBM Corp. 2018, 2023\\n//\\n// This source code is licensed under the Apache-2.0 license found in the\\n// LICENSE file in the root directory of this source tree.\\n//\\n\\n// stylelint-disable number-max-precision\\n\\n@use 'sass:map';\\n@use 'sass:math';\\n@use '@carbon/grid/scss/config' as gridconfig;\\n@use '@carbon/grid/scss/breakpoint' as grid;\\n@use 'prefix' as *;\\n@use 'font-family';\\n@use 'scale';\\n\\n/// @type Map\\n/// @access public\\n/// @deprecated\\n/// @group @carbon/type\\n$caption-01: (\\n font-size: scale.type-scale(1),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.33333,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @deprecated\\n/// @group @carbon/type\\n$caption-02: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$label-01: (\\n font-size: scale.type-scale(1),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.33333,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$label-02: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$legal-01: (\\n font-size: scale.type-scale(1),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.33333,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$legal-02: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @deprecated\\n/// @group @carbon/type\\n$helper-text-01: (\\n font-size: scale.type-scale(1),\\n line-height: 1.33333,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @deprecated\\n/// @group @carbon/type\\n$helper-text-02: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-short-01: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-compact-01: $body-short-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-long-01: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.42857,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-01: $body-long-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-short-02: (\\n font-size: scale.type-scale(3),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.375,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-compact-02: $body-short-02 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-long-02: (\\n font-size: scale.type-scale(3),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.5,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-02: $body-long-02 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$code-01: (\\n font-family: font-family.font-family('mono'),\\n font-size: scale.type-scale(1),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.33333,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$code-02: (\\n font-family: font-family.font-family('mono'),\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.42857,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-01: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('semibold'),\\n line-height: 1.42857,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-01: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('semibold'),\\n line-height: 1.28572,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-compact-01: $productive-heading-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-02: (\\n font-size: scale.type-scale(3),\\n font-weight: font-family.font-weight('semibold'),\\n line-height: 1.5,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-02: (\\n font-size: scale.type-scale(3),\\n font-weight: font-family.font-weight('semibold'),\\n line-height: 1.375,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-compact-02: $productive-heading-02 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-03: (\\n font-size: scale.type-scale(5),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.4,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-03: $productive-heading-03 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-04: (\\n font-size: scale.type-scale(7),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-04: $productive-heading-04 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-05: (\\n font-size: scale.type-scale(8),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.25,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-05: $productive-heading-05 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-06: (\\n font-size: scale.type-scale(10),\\n font-weight: font-family.font-weight('light'),\\n // Extra digit needed for precision in Chrome\\n line-height: 1.199,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-06: $productive-heading-06 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-07: (\\n font-size: scale.type-scale(12),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.19,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-07: $productive-heading-07 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-heading-01: $heading-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-heading-02: $heading-02 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-heading-03: (\\n font-size: scale.type-scale(5),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.4,\\n letter-spacing: 0,\\n breakpoints: (\\n xlg: (\\n font-size: scale.type-scale(5),\\n line-height: 1.4,\\n ),\\n max: (\\n font-size: scale.type-scale(6),\\n line-height: 1.334,\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-heading-03: $expressive-heading-03 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-heading-04: (\\n font-size: scale.type-scale(7),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0,\\n breakpoints: (\\n xlg: (\\n font-size: scale.type-scale(8),\\n line-height: 1.25,\\n font-weight: font-family.font-weight('regular'),\\n ),\\n max: (\\n font-size: scale.type-scale(8),\\n font-weight: font-family.font-weight('regular'),\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-heading-04: $expressive-heading-04 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-heading-05: (\\n font-size: scale.type-scale(8),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.25,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(9),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.22,\\n ),\\n lg: (\\n font-size: scale.type-scale(10),\\n line-height: 1.19,\\n ),\\n xlg: (\\n font-size: scale.type-scale(11),\\n line-height: 1.17,\\n ),\\n max: (\\n font-size: scale.type-scale(13),\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-heading-05: $expressive-heading-05 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-heading-06: (\\n font-size: scale.type-scale(8),\\n font-weight: font-family.font-weight('semibold'),\\n line-height: 1.25,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(9),\\n line-height: 1.22,\\n ),\\n lg: (\\n font-size: scale.type-scale(10),\\n line-height: 1.19,\\n ),\\n xlg: (\\n font-size: scale.type-scale(11),\\n line-height: 1.17,\\n ),\\n max: (\\n font-size: scale.type-scale(13),\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-heading-06: $expressive-heading-06 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-paragraph-01: (\\n font-size: scale.type-scale(6),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.334,\\n letter-spacing: 0,\\n breakpoints: (\\n lg: (\\n font-size: scale.type-scale(7),\\n line-height: 1.28572,\\n ),\\n max: (\\n font-size: scale.type-scale(8),\\n line-height: 1.25,\\n ),\\n ),\\n);\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$quotation-01: (\\n font-family: font-family.font-family('serif'),\\n font-size: scale.type-scale(5),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.3,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(5),\\n ),\\n lg: (\\n font-size: scale.type-scale(6),\\n line-height: 1.334,\\n ),\\n xlg: (\\n font-size: scale.type-scale(7),\\n line-height: 1.28572,\\n ),\\n max: (\\n font-size: scale.type-scale(8),\\n line-height: 1.25,\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-quotation-01: $quotation-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$quotation-02: (\\n font-family: font-family.font-family('serif'),\\n font-size: scale.type-scale(8),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.25,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(9),\\n line-height: 1.22,\\n ),\\n lg: (\\n font-size: scale.type-scale(10),\\n line-height: 1.19,\\n ),\\n xlg: (\\n font-size: scale.type-scale(11),\\n line-height: 1.17,\\n ),\\n max: (\\n font-size: scale.type-scale(13),\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-quotation-02: $quotation-02 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$display-01: (\\n font-size: scale.type-scale(10),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.19,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(10),\\n ),\\n lg: (\\n font-size: scale.type-scale(12),\\n ),\\n xlg: (\\n font-size: scale.type-scale(13),\\n line-height: 1.17,\\n ),\\n max: (\\n font-size: scale.type-scale(15),\\n line-height: 1.13,\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-display-01: $display-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$display-02: (\\n font-size: scale.type-scale(10),\\n font-weight: font-family.font-weight('semibold'),\\n line-height: 1.19,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(10),\\n ),\\n lg: (\\n font-size: scale.type-scale(12),\\n ),\\n xlg: (\\n font-size: scale.type-scale(13),\\n line-height: 1.16,\\n ),\\n max: (\\n font-size: scale.type-scale(15),\\n line-height: 1.13,\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-display-02: $display-02 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$display-03: (\\n font-size: scale.type-scale(10),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.19,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(12),\\n line-height: 1.18,\\n ),\\n lg: (\\n font-size: scale.type-scale(13),\\n line-height: 1.16,\\n letter-spacing: -0.64px,\\n ),\\n xlg: (\\n font-size: scale.type-scale(15),\\n line-height: 1.13,\\n letter-spacing: -0.64px,\\n ),\\n max: (\\n font-size: scale.type-scale(16),\\n line-height: 1.11,\\n letter-spacing: -0.96px,\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-display-03: $display-03 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$display-04: (\\n font-size: scale.type-scale(10),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.19,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(14),\\n line-height: 1.15,\\n ),\\n lg: (\\n font-size: scale.type-scale(17),\\n line-height: 1.11,\\n letter-spacing: -0.64px,\\n ),\\n xlg: (\\n font-size: scale.type-scale(20),\\n line-height: 1.07,\\n letter-spacing: -0.64px,\\n ),\\n max: (\\n font-size: scale.type-scale(23),\\n line-height: 1.05,\\n letter-spacing: -0.96px,\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-display-04: $display-04 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$tokens: (\\n caption-01: $caption-01,\\n caption-02: $caption-02,\\n label-01: $label-01,\\n label-02: $label-02,\\n helper-text-01: $helper-text-01,\\n helper-text-02: $helper-text-02,\\n body-short-01: $body-short-01,\\n body-short-02: $body-short-02,\\n body-long-01: $body-long-01,\\n body-long-02: $body-long-02,\\n code-01: $code-01,\\n code-02: $code-02,\\n heading-01: $heading-01,\\n heading-02: $heading-02,\\n productive-heading-01: $productive-heading-01,\\n productive-heading-02: $productive-heading-02,\\n productive-heading-03: $productive-heading-03,\\n productive-heading-04: $productive-heading-04,\\n productive-heading-05: $productive-heading-05,\\n productive-heading-06: $productive-heading-06,\\n productive-heading-07: $productive-heading-07,\\n expressive-paragraph-01: $expressive-paragraph-01,\\n expressive-heading-01: $expressive-heading-01,\\n expressive-heading-02: $expressive-heading-02,\\n expressive-heading-03: $expressive-heading-03,\\n expressive-heading-04: $expressive-heading-04,\\n expressive-heading-05: $expressive-heading-05,\\n expressive-heading-06: $expressive-heading-06,\\n quotation-01: $quotation-01,\\n quotation-02: $quotation-02,\\n display-01: $display-01,\\n display-02: $display-02,\\n display-03: $display-03,\\n display-04: $display-04,\\n // V11 Tokens\\n legal-01: $legal-01,\\n legal-02: $legal-02,\\n body-compact-01: $body-compact-01,\\n body-compact-02: $body-compact-02,\\n heading-compact-01: $heading-compact-01,\\n heading-compact-02: $heading-compact-02,\\n body-01: $body-01,\\n body-02: $body-02,\\n heading-03: $heading-03,\\n heading-04: $heading-04,\\n heading-05: $heading-05,\\n heading-06: $heading-06,\\n heading-07: $heading-07,\\n fluid-heading-03: $fluid-heading-03,\\n fluid-heading-04: $fluid-heading-04,\\n fluid-heading-05: $fluid-heading-05,\\n fluid-heading-06: $fluid-heading-06,\\n fluid-paragraph-01: $fluid-paragraph-01,\\n fluid-quotation-01: $fluid-quotation-01,\\n fluid-quotation-02: $fluid-quotation-02,\\n fluid-display-01: $fluid-display-01,\\n fluid-display-02: $fluid-display-02,\\n fluid-display-03: $fluid-display-03,\\n fluid-display-04: $fluid-display-04,\\n) !default;\\n\\n/// @param {Map} $map\\n/// @access public\\n/// @group @carbon/type\\n@mixin properties($map) {\\n @each $name, $value in $map {\\n #{$name}: $value;\\n }\\n}\\n\\n/// @param {Number} $value - Number with units\\n/// @return {Number} Without units\\n/// @access public\\n/// @group @carbon/type\\n@function strip-unit($value) {\\n @return math.div($value, $value * 0 + 1);\\n}\\n\\n/// This helper includes fluid type styles for the given token value. Fluid type\\n/// means that the `font-size` is computed using `calc()` in order to be\\n/// determined by the screen size instead of a breakpoint. As a result, fluid\\n/// styles should be used with caution in fixed width contexts.\\n///\\n/// In addition, we make use of %-based line-heights so that the line-height of\\n/// each type style is computed correctly due to the dynamic nature of the\\n/// `font-size`.\\n///\\n/// Most of the logic for this work comes from CSS Tricks:\\n/// https://css-tricks.com/snippets/css/fluid-typography/\\n///\\n/// @param {Map} $type-styles - The value of a given type token\\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\\n/// @access public\\n/// @group @carbon/type\\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\\n // Include the initial styles for the given token by default without any\\n // media query guard. This includes `font-size` as a fallback in the case\\n // that a browser does not support `calc()`\\n @include properties(map.remove($type-styles, breakpoints));\\n // We also need to include the `sm` styles by default since they don't\\n // appear in the fluid styles for tokens\\n @include fluid-type-size($type-styles, sm, $breakpoints);\\n\\n // Finally, we need to go through all the breakpoints defined in the type\\n // token and apply the properties and fluid type size for that given\\n // breakpoint\\n @each $name, $values in map.get($type-styles, breakpoints) {\\n @include grid.breakpoint($name) {\\n @include properties($values);\\n @include fluid-type-size($type-styles, $name, $breakpoints);\\n }\\n }\\n}\\n\\n/// Computes the fluid `font-size` for a given type style and breakpoint\\n/// @param {Map} $type-styles - The styles for a given token\\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\\n/// @access public\\n/// @group @carbon/type\\n@mixin fluid-type-size(\\n $type-styles,\\n $name,\\n $breakpoints: gridconfig.$grid-breakpoints\\n) {\\n // Get the information about the breakpoint we're currently working in. Useful\\n // for getting initial width information\\n $breakpoint: map.get($breakpoints, $name);\\n\\n // Our fluid styles are captured under the 'breakpoints' property in our type\\n // styles map. These define what values to treat as `max-` variables below\\n $fluid-sizes: map.get($type-styles, breakpoints);\\n $fluid-breakpoint: ();\\n // Special case for `sm` because the styles for small are on the type style\\n // directly\\n @if $name == sm {\\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\\n } @else {\\n $fluid-breakpoint: map.get($fluid-sizes, $name);\\n }\\n\\n // Initialize our font-sizes to the default size for the type style\\n $max-font-size: map.get($type-styles, font-size);\\n $min-font-size: map.get($type-styles, font-size);\\n @if map.has-key($fluid-breakpoint, font-size) {\\n $min-font-size: map.get($fluid-breakpoint, font-size);\\n }\\n\\n // Initialize our min and max width to the width of the current breakpoint\\n $max-vw: map.get($breakpoint, width);\\n $min-vw: map.get($breakpoint, width);\\n\\n // We can use `breakpoint-next` to see if there is another breakpoint we can\\n // use to update `max-font-size` and `max-vw` with larger values\\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\\n $next-fluid-breakpoint-name: null;\\n\\n // We need to figure out what the next available fluid breakpoint is for our\\n // given $type-styles. In this loop we try and iterate through breakpoints\\n // until we either manually set $next-breakpoint-available to null or\\n // `breakpoint-next` returns null.\\n @while $next-breakpoint-available {\\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\\n $next-fluid-breakpoint-name: $next-breakpoint-available;\\n $next-breakpoint-available: null;\\n } @else {\\n $next-breakpoint-available: grid.breakpoint-next(\\n $next-breakpoint-available,\\n $breakpoints\\n );\\n }\\n }\\n\\n // If we have found the next available fluid breakpoint name, then we know\\n // that we have values that we can use to set max-font-size and max-vw as both\\n // values derive from the next breakpoint\\n @if $next-fluid-breakpoint-name {\\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\\n $max-font-size: map.get(\\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\\n font-size\\n );\\n $max-vw: map.get($next-fluid-breakpoint, width);\\n\\n // prettier-ignore\\n font-size: calc(#{$min-font-size} +\\n #{strip-unit($max-font-size - $min-font-size)} *\\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\\n );\\n } @else {\\n // Otherwise, just default to setting the font size found from the type\\n // style or the given fluid breakpoint in the type style\\n font-size: $min-font-size;\\n }\\n}\\n\\n// TODO move following variable and `custom-property` mixin into shared file for\\n// both `@carbon/type` and `@carbon/themes`\\n\\n/// @access private\\n/// @group @carbon/type\\n@mixin custom-properties($name, $value) {\\n @each $property, $value in $value {\\n #{$property}: var(\\n --#{$custom-property-prefix}-#{$name}-#{$property},\\n #{$value}\\n );\\n }\\n}\\n\\n/// Helper mixin to include the styles for a given token in any selector in your\\n/// project. Also includes an optional fluid option that will enable fluid\\n/// styles for the token if they are defined. Fluid styles will cause the\\n/// token's font-size to be computed based on the viewport size. As a result, use\\n/// with caution in fixed contexts.\\n/// @param {String} $name - The name of the token to get the styles for\\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\\n/// @access public\\n/// @group @carbon/type\\n@mixin type-style(\\n $name,\\n $fluid: false,\\n $breakpoints: gridconfig.$grid-breakpoints\\n) {\\n @if not map.has-key($tokens, $name) {\\n @error 'Unable to find a token with the name: `#{$name}`';\\n }\\n\\n $token: map.get($tokens, $name);\\n\\n // If $fluid is set to true and the token has breakpoints defined for fluid\\n // styles, delegate to the fluid-type helper for the given token\\n @if $fluid == true and map.has-key($token, 'breakpoints') {\\n @include fluid-type($token, $breakpoints);\\n } @else {\\n @include custom-properties($name, $token);\\n }\\n}\\n\",\"// Code generated by @carbon/layout. DO NOT EDIT.\\n//\\n// Copyright IBM Corp. 2018, 2023\\n//\\n// This source code is licensed under the Apache-2.0 license found in the\\n// LICENSE file in the root directory of this source tree.\\n//\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-01: 0.125rem !default;\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-02: 0.25rem !default;\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-03: 0.5rem !default;\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-04: 0.75rem !default;\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-05: 1rem !default;\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-06: 1.5rem !default;\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-07: 2rem !default;\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-08: 2.5rem !default;\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-09: 3rem !default;\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-10: 4rem !default;\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-11: 5rem !default;\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-12: 6rem !default;\\n\\n/// @type Number\\n/// @access public\\n/// @group @carbon/layout\\n$spacing-13: 10rem !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/layout\\n$spacing: (\\n spacing-01: $spacing-01,\\n spacing-02: $spacing-02,\\n spacing-03: $spacing-03,\\n spacing-04: $spacing-04,\\n spacing-05: $spacing-05,\\n spacing-06: $spacing-06,\\n spacing-07: $spacing-07,\\n spacing-08: $spacing-08,\\n spacing-09: $spacing-09,\\n spacing-10: $spacing-10,\\n spacing-11: $spacing-11,\\n spacing-12: $spacing-12,\\n spacing-13: $spacing-13,\\n);\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"errorMessage\": \"-esm-ethiohri-intake__error-state__errorMessage___Qz+QW\",\n\t\"errorCopy\": \"-esm-ethiohri-intake__error-state__errorCopy___31KKy\",\n\t\"desktopHeading\": \"-esm-ethiohri-intake__error-state__desktopHeading___zt9kx\",\n\t\"tabletHeading\": \"-esm-ethiohri-intake__error-state__tabletHeading___IM1n5\",\n\t\"tile\": \"-esm-ethiohri-intake__error-state__tile___odd6z\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../openmrs/node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../openmrs/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\\n:root {\\n --brand-01: #005d5d;\\n --brand-02: #004144;\\n --brand-03: #007d79;\\n}\\n\\n/* These color variables will be removed in a future release */\\n.-esm-ethiohri-intake__pagination__bodyShort01___yUdUG, .-esm-ethiohri-intake__pagination__configurableLink___n2pXk {\\n font-size: var(--cds-body-compact-01-font-size, 0.875rem);\\n font-weight: var(--cds-body-compact-01-font-weight, 400);\\n line-height: var(--cds-body-compact-01-line-height, 1.28572);\\n letter-spacing: var(--cds-body-compact-01-letter-spacing, 0.16px);\\n}\\n\\n.-esm-ethiohri-intake__pagination__desktop___6InY0, .-esm-ethiohri-intake__pagination__tablet___q\\\\+pZd {\\n font-size: var(--cds-body-compact-01-font-size, 0.875rem);\\n font-weight: var(--cds-body-compact-01-font-weight, 400);\\n line-height: var(--cds-body-compact-01-line-height, 1.28572);\\n letter-spacing: var(--cds-body-compact-01-letter-spacing, 0.16px);\\n display: flex;\\n justify-content: space-between;\\n color: #525252;\\n background-color: #ffffff;\\n padding-left: 1rem;\\n align-items: center;\\n border-top: 1px solid #e0e0e0;\\n}\\n\\n.-esm-ethiohri-intake__pagination__desktop___6InY0 .cds--pagination {\\n min-height: 0rem;\\n height: 2rem;\\n width: auto;\\n border: none;\\n}\\n.-esm-ethiohri-intake__pagination__desktop___6InY0 .cds--pagination .cds--select-input, .-esm-ethiohri-intake__pagination__desktop___6InY0 .cds--pagination .cds--btn, .-esm-ethiohri-intake__pagination__desktop___6InY0 .cds--pagination .cds--pagination__right {\\n min-height: 0rem;\\n height: 2rem;\\n}\\n\\n.-esm-ethiohri-intake__pagination__tablet___q\\\\+pZd .cds--pagination {\\n min-height: 0rem;\\n height: 3rem;\\n width: auto;\\n border: none;\\n}\\n.-esm-ethiohri-intake__pagination__tablet___q\\\\+pZd .cds--pagination .cds--select-input, .-esm-ethiohri-intake__pagination__tablet___q\\\\+pZd .cds--pagination .cds--btn, .-esm-ethiohri-intake__pagination__tablet___q\\\\+pZd .cds--pagination .cds--pagination__right {\\n min-height: 0rem;\\n height: 3rem;\\n}\\n\\n.-esm-ethiohri-intake__pagination__configurableLink___n2pXk {\\n text-decoration: none;\\n padding: 0 0.5rem;\\n}\\n\\n.-esm-ethiohri-intake__pagination__pagination___aIodu {\\n font-size: var(--cds-body-compact-01-font-size, 0.875rem);\\n font-weight: var(--cds-body-compact-01-font-weight, 400);\\n line-height: var(--cds-body-compact-01-line-height, 1.28572);\\n letter-spacing: var(--cds-body-compact-01-letter-spacing, 0.16px);\\n background-color: #ffffff;\\n color: #525252;\\n display: flex;\\n}\\n\\ndiv.-esm-ethiohri-intake__pagination__pagination___aIodu > .cds--pagination__left {\\n display: none;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./node_modules/@openmrs/esm-styleguide/src/_vars.scss\",\"webpack://./node_modules/@openmrs/esm-patient-common-lib/src/pagination/pagination.scss\",\"webpack://./node_modules/@carbon/styles/node_modules/@carbon/type/scss/_styles.scss\"],\"names\":[],\"mappings\":\"AAgCA,0EAAA;AAoBA;EACE,mBAAA;EACA,mBAAA;EACA,mBAAA;AClDF;;AD8DA,8DAAA;AC/DA;EC81BI,yDAAA;EAAA,wDAAA;EAAA,4DAAA;EAAA,iEAAA;ADr1BJ;;AALA;EC01BI,yDAAA;EAAA,wDAAA;EAAA,4DAAA;EAAA,iEAAA;EDx1BF,aAAA;EACA,8BAAA;EACA,cDPQ;ECQR,yBDZM;ECaN,kBAAA;EACA,mBAAA;EACA,6BAAA;AAWF;;AARA;EACE,gBAAA;EACA,YAAA;EACA,WAAA;EACA,YAAA;AAWF;AATE;EACE,gBAAA;EACA,YAAA;AAWJ;;AAPA;EACE,gBAAA;EACA,YAAA;EACA,WAAA;EACA,YAAA;AAUF;AARE;EACE,gBAAA;EACA,YAAA;AAUJ;;AANA;EACE,qBAAA;EAEA,iBAAA;AAQF;;AALA;ECizBI,yDAAA;EAAA,wDAAA;EAAA,4DAAA;EAAA,iEAAA;ED/yBF,yBDlDM;ECmDN,cD/CQ;ECgDR,aAAA;AAWF;;AAPE;EACE,aAAA;AAUJ\",\"sourcesContent\":[\"$ui-01: #f4f4f4;\\n$ui-02: #ffffff;\\n$ui-03: #e0e0e0;\\n$ui-04: #8d8d8d;\\n$ui-05: #161616;\\n$text-02: #525252;\\n$text-03: #a8a8a8;\\n$ui-background: #ffffff;\\n$color-gray-30: #c6c6c6;\\n$color-gray-70: #525252;\\n$color-gray-100: #161616;\\n$color-blue-60-2: #0f62fe;\\n$color-blue-10: #edf5ff;\\n$color-yellow-50: #feecae;\\n$carbon--red-50: #fa4d56;\\n$inverse-link: #78a9ff;\\n$support-02: #24a148;\\n$inverse-support-03: #f1c21b;\\n$warning-background: #fff8e1;\\n$openmrs-background-grey: #f4f4f4;\\n$danger: #da1e28;\\n$interactive-01: #0f62fe;\\n$field-01: #f4f4f4;\\n$grey-2: #e0e0e0;\\n$labeldropdown: #c6c6c6;\\n\\n$brand-primary-10: #d9fbfb;\\n$brand-primary-20: #9ef0f0;\\n$brand-primary-30: #3ddbd9;\\n$brand-primary-40: #08bdba;\\n$brand-primary-50: #009d9a;\\n\\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\\n\\n$brand-primary-90: #022b30;\\n$brand-primary-100: #081a1c;\\n\\n@mixin brand-01($property) {\\n #{$property}: #005d5d;\\n #{$property}: var(--brand-01);\\n}\\n\\n@mixin brand-02($property) {\\n #{$property}: #004144;\\n #{$property}: var(--brand-02);\\n}\\n\\n@mixin brand-03($property) {\\n #{$property}: #007d79;\\n #{$property}: var(--brand-03);\\n}\\n\\n:root {\\n --brand-01: #005d5d;\\n --brand-02: #004144;\\n --brand-03: #007d79;\\n}\\n\\n$breakpoint-phone-min: 0px;\\n$breakpoint-phone-max: 600px;\\n$breakpoint-tablet-min: 601px;\\n$breakpoint-tablet-max: 1023px;\\n$breakpoint-small-desktop-min: 1024px;\\n$breakpoint-small-desktop-max: 1439px;\\n$breakpoint-large-desktop-min: 1440px;\\n$breakpoint-large-desktop-max: 99999999px;\\n\\n/* These color variables will be removed in a future release */\\n$brand-teal-01: #007d79;\\n$brand-01: #005d5d;\\n$brand-02: #004144;\\n\",\"@use '@carbon/styles/scss/spacing';\\n@use '@carbon/styles/scss/type';\\n@import '@openmrs/esm-styleguide/src/vars';\\n\\n.bodyShort01 {\\n @include type.type-style(\\\"body-compact-01\\\");\\n}\\n\\n.desktop, .tablet {\\n @include type.type-style('body-compact-01');\\n display: flex;\\n justify-content: space-between;\\n color: $text-02;\\n background-color: $ui-02;\\n padding-left: 1rem;\\n align-items: center;\\n border-top: 1px solid $ui-03;\\n}\\n\\n.desktop :global(.cds--pagination) {\\n min-height: 0rem;\\n height: 2rem;\\n width: auto;\\n border: none;\\n\\n & :global(.cds--select-input), :global(.cds--btn), :global(.cds--pagination__right) {\\n min-height: 0rem;\\n height: 2rem;\\n }\\n}\\n\\n.tablet :global(.cds--pagination) {\\n min-height: 0rem;\\n height: 3rem;\\n width: auto;\\n border: none;\\n\\n & :global(.cds--select-input), :global(.cds--btn), :global(.cds--pagination__right) {\\n min-height: 0rem;\\n height: 3rem;\\n }\\n}\\n\\n.configurableLink {\\n text-decoration: none;\\n @extend .bodyShort01;\\n padding: 0 spacing.$spacing-03;\\n}\\n\\n.pagination {\\n @include type.type-style('body-compact-01');\\n background-color: $ui-02;\\n color: $text-02;\\n display: flex;\\n}\\n\\ndiv.pagination {\\n & > :global(.cds--pagination__left) {\\n display: none;\\n }\\n}\\n\",\"//\\n// Copyright IBM Corp. 2018, 2023\\n//\\n// This source code is licensed under the Apache-2.0 license found in the\\n// LICENSE file in the root directory of this source tree.\\n//\\n\\n// stylelint-disable number-max-precision\\n\\n@use 'sass:map';\\n@use 'sass:math';\\n@use '@carbon/grid/scss/config' as gridconfig;\\n@use '@carbon/grid/scss/breakpoint' as grid;\\n@use 'prefix' as *;\\n@use 'font-family';\\n@use 'scale';\\n\\n/// @type Map\\n/// @access public\\n/// @deprecated\\n/// @group @carbon/type\\n$caption-01: (\\n font-size: scale.type-scale(1),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.33333,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @deprecated\\n/// @group @carbon/type\\n$caption-02: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$label-01: (\\n font-size: scale.type-scale(1),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.33333,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$label-02: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$legal-01: (\\n font-size: scale.type-scale(1),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.33333,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$legal-02: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @deprecated\\n/// @group @carbon/type\\n$helper-text-01: (\\n font-size: scale.type-scale(1),\\n line-height: 1.33333,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @deprecated\\n/// @group @carbon/type\\n$helper-text-02: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-short-01: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-compact-01: $body-short-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-long-01: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.42857,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-01: $body-long-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-short-02: (\\n font-size: scale.type-scale(3),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.375,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-compact-02: $body-short-02 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-long-02: (\\n font-size: scale.type-scale(3),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.5,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$body-02: $body-long-02 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$code-01: (\\n font-family: font-family.font-family('mono'),\\n font-size: scale.type-scale(1),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.33333,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$code-02: (\\n font-family: font-family.font-family('mono'),\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.42857,\\n letter-spacing: 0.32px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-01: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('semibold'),\\n line-height: 1.42857,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-01: (\\n font-size: scale.type-scale(2),\\n font-weight: font-family.font-weight('semibold'),\\n line-height: 1.28572,\\n letter-spacing: 0.16px,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-compact-01: $productive-heading-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-02: (\\n font-size: scale.type-scale(3),\\n font-weight: font-family.font-weight('semibold'),\\n line-height: 1.5,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-02: (\\n font-size: scale.type-scale(3),\\n font-weight: font-family.font-weight('semibold'),\\n line-height: 1.375,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-compact-02: $productive-heading-02 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-03: (\\n font-size: scale.type-scale(5),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.4,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-03: $productive-heading-03 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-04: (\\n font-size: scale.type-scale(7),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-04: $productive-heading-04 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-05: (\\n font-size: scale.type-scale(8),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.25,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-05: $productive-heading-05 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-06: (\\n font-size: scale.type-scale(10),\\n font-weight: font-family.font-weight('light'),\\n // Extra digit needed for precision in Chrome\\n line-height: 1.199,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-06: $productive-heading-06 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$productive-heading-07: (\\n font-size: scale.type-scale(12),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.19,\\n letter-spacing: 0,\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$heading-07: $productive-heading-07 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-heading-01: $heading-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-heading-02: $heading-02 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-heading-03: (\\n font-size: scale.type-scale(5),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.4,\\n letter-spacing: 0,\\n breakpoints: (\\n xlg: (\\n font-size: scale.type-scale(5),\\n line-height: 1.4,\\n ),\\n max: (\\n font-size: scale.type-scale(6),\\n line-height: 1.334,\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-heading-03: $expressive-heading-03 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-heading-04: (\\n font-size: scale.type-scale(7),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.28572,\\n letter-spacing: 0,\\n breakpoints: (\\n xlg: (\\n font-size: scale.type-scale(8),\\n line-height: 1.25,\\n font-weight: font-family.font-weight('regular'),\\n ),\\n max: (\\n font-size: scale.type-scale(8),\\n font-weight: font-family.font-weight('regular'),\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-heading-04: $expressive-heading-04 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-heading-05: (\\n font-size: scale.type-scale(8),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.25,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(9),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.22,\\n ),\\n lg: (\\n font-size: scale.type-scale(10),\\n line-height: 1.19,\\n ),\\n xlg: (\\n font-size: scale.type-scale(11),\\n line-height: 1.17,\\n ),\\n max: (\\n font-size: scale.type-scale(13),\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-heading-05: $expressive-heading-05 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-heading-06: (\\n font-size: scale.type-scale(8),\\n font-weight: font-family.font-weight('semibold'),\\n line-height: 1.25,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(9),\\n line-height: 1.22,\\n ),\\n lg: (\\n font-size: scale.type-scale(10),\\n line-height: 1.19,\\n ),\\n xlg: (\\n font-size: scale.type-scale(11),\\n line-height: 1.17,\\n ),\\n max: (\\n font-size: scale.type-scale(13),\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-heading-06: $expressive-heading-06 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$expressive-paragraph-01: (\\n font-size: scale.type-scale(6),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.334,\\n letter-spacing: 0,\\n breakpoints: (\\n lg: (\\n font-size: scale.type-scale(7),\\n line-height: 1.28572,\\n ),\\n max: (\\n font-size: scale.type-scale(8),\\n line-height: 1.25,\\n ),\\n ),\\n);\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$quotation-01: (\\n font-family: font-family.font-family('serif'),\\n font-size: scale.type-scale(5),\\n font-weight: font-family.font-weight('regular'),\\n line-height: 1.3,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(5),\\n ),\\n lg: (\\n font-size: scale.type-scale(6),\\n line-height: 1.334,\\n ),\\n xlg: (\\n font-size: scale.type-scale(7),\\n line-height: 1.28572,\\n ),\\n max: (\\n font-size: scale.type-scale(8),\\n line-height: 1.25,\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-quotation-01: $quotation-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$quotation-02: (\\n font-family: font-family.font-family('serif'),\\n font-size: scale.type-scale(8),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.25,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(9),\\n line-height: 1.22,\\n ),\\n lg: (\\n font-size: scale.type-scale(10),\\n line-height: 1.19,\\n ),\\n xlg: (\\n font-size: scale.type-scale(11),\\n line-height: 1.17,\\n ),\\n max: (\\n font-size: scale.type-scale(13),\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-quotation-02: $quotation-02 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$display-01: (\\n font-size: scale.type-scale(10),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.19,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(10),\\n ),\\n lg: (\\n font-size: scale.type-scale(12),\\n ),\\n xlg: (\\n font-size: scale.type-scale(13),\\n line-height: 1.17,\\n ),\\n max: (\\n font-size: scale.type-scale(15),\\n line-height: 1.13,\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-display-01: $display-01 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$display-02: (\\n font-size: scale.type-scale(10),\\n font-weight: font-family.font-weight('semibold'),\\n line-height: 1.19,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(10),\\n ),\\n lg: (\\n font-size: scale.type-scale(12),\\n ),\\n xlg: (\\n font-size: scale.type-scale(13),\\n line-height: 1.16,\\n ),\\n max: (\\n font-size: scale.type-scale(15),\\n line-height: 1.13,\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-display-02: $display-02 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$display-03: (\\n font-size: scale.type-scale(10),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.19,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(12),\\n line-height: 1.18,\\n ),\\n lg: (\\n font-size: scale.type-scale(13),\\n line-height: 1.16,\\n letter-spacing: -0.64px,\\n ),\\n xlg: (\\n font-size: scale.type-scale(15),\\n line-height: 1.13,\\n letter-spacing: -0.64px,\\n ),\\n max: (\\n font-size: scale.type-scale(16),\\n line-height: 1.11,\\n letter-spacing: -0.96px,\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-display-03: $display-03 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$display-04: (\\n font-size: scale.type-scale(10),\\n font-weight: font-family.font-weight('light'),\\n line-height: 1.19,\\n letter-spacing: 0,\\n breakpoints: (\\n md: (\\n font-size: scale.type-scale(14),\\n line-height: 1.15,\\n ),\\n lg: (\\n font-size: scale.type-scale(17),\\n line-height: 1.11,\\n letter-spacing: -0.64px,\\n ),\\n xlg: (\\n font-size: scale.type-scale(20),\\n line-height: 1.07,\\n letter-spacing: -0.64px,\\n ),\\n max: (\\n font-size: scale.type-scale(23),\\n line-height: 1.05,\\n letter-spacing: -0.96px,\\n ),\\n ),\\n) !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$fluid-display-04: $display-04 !default;\\n\\n/// @type Map\\n/// @access public\\n/// @group @carbon/type\\n$tokens: (\\n caption-01: $caption-01,\\n caption-02: $caption-02,\\n label-01: $label-01,\\n label-02: $label-02,\\n helper-text-01: $helper-text-01,\\n helper-text-02: $helper-text-02,\\n body-short-01: $body-short-01,\\n body-short-02: $body-short-02,\\n body-long-01: $body-long-01,\\n body-long-02: $body-long-02,\\n code-01: $code-01,\\n code-02: $code-02,\\n heading-01: $heading-01,\\n heading-02: $heading-02,\\n productive-heading-01: $productive-heading-01,\\n productive-heading-02: $productive-heading-02,\\n productive-heading-03: $productive-heading-03,\\n productive-heading-04: $productive-heading-04,\\n productive-heading-05: $productive-heading-05,\\n productive-heading-06: $productive-heading-06,\\n productive-heading-07: $productive-heading-07,\\n expressive-paragraph-01: $expressive-paragraph-01,\\n expressive-heading-01: $expressive-heading-01,\\n expressive-heading-02: $expressive-heading-02,\\n expressive-heading-03: $expressive-heading-03,\\n expressive-heading-04: $expressive-heading-04,\\n expressive-heading-05: $expressive-heading-05,\\n expressive-heading-06: $expressive-heading-06,\\n quotation-01: $quotation-01,\\n quotation-02: $quotation-02,\\n display-01: $display-01,\\n display-02: $display-02,\\n display-03: $display-03,\\n display-04: $display-04,\\n // V11 Tokens\\n legal-01: $legal-01,\\n legal-02: $legal-02,\\n body-compact-01: $body-compact-01,\\n body-compact-02: $body-compact-02,\\n heading-compact-01: $heading-compact-01,\\n heading-compact-02: $heading-compact-02,\\n body-01: $body-01,\\n body-02: $body-02,\\n heading-03: $heading-03,\\n heading-04: $heading-04,\\n heading-05: $heading-05,\\n heading-06: $heading-06,\\n heading-07: $heading-07,\\n fluid-heading-03: $fluid-heading-03,\\n fluid-heading-04: $fluid-heading-04,\\n fluid-heading-05: $fluid-heading-05,\\n fluid-heading-06: $fluid-heading-06,\\n fluid-paragraph-01: $fluid-paragraph-01,\\n fluid-quotation-01: $fluid-quotation-01,\\n fluid-quotation-02: $fluid-quotation-02,\\n fluid-display-01: $fluid-display-01,\\n fluid-display-02: $fluid-display-02,\\n fluid-display-03: $fluid-display-03,\\n fluid-display-04: $fluid-display-04,\\n) !default;\\n\\n/// @param {Map} $map\\n/// @access public\\n/// @group @carbon/type\\n@mixin properties($map) {\\n @each $name, $value in $map {\\n #{$name}: $value;\\n }\\n}\\n\\n/// @param {Number} $value - Number with units\\n/// @return {Number} Without units\\n/// @access public\\n/// @group @carbon/type\\n@function strip-unit($value) {\\n @return math.div($value, $value * 0 + 1);\\n}\\n\\n/// This helper includes fluid type styles for the given token value. Fluid type\\n/// means that the `font-size` is computed using `calc()` in order to be\\n/// determined by the screen size instead of a breakpoint. As a result, fluid\\n/// styles should be used with caution in fixed width contexts.\\n///\\n/// In addition, we make use of %-based line-heights so that the line-height of\\n/// each type style is computed correctly due to the dynamic nature of the\\n/// `font-size`.\\n///\\n/// Most of the logic for this work comes from CSS Tricks:\\n/// https://css-tricks.com/snippets/css/fluid-typography/\\n///\\n/// @param {Map} $type-styles - The value of a given type token\\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\\n/// @access public\\n/// @group @carbon/type\\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\\n // Include the initial styles for the given token by default without any\\n // media query guard. This includes `font-size` as a fallback in the case\\n // that a browser does not support `calc()`\\n @include properties(map.remove($type-styles, breakpoints));\\n // We also need to include the `sm` styles by default since they don't\\n // appear in the fluid styles for tokens\\n @include fluid-type-size($type-styles, sm, $breakpoints);\\n\\n // Finally, we need to go through all the breakpoints defined in the type\\n // token and apply the properties and fluid type size for that given\\n // breakpoint\\n @each $name, $values in map.get($type-styles, breakpoints) {\\n @include grid.breakpoint($name) {\\n @include properties($values);\\n @include fluid-type-size($type-styles, $name, $breakpoints);\\n }\\n }\\n}\\n\\n/// Computes the fluid `font-size` for a given type style and breakpoint\\n/// @param {Map} $type-styles - The styles for a given token\\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\\n/// @access public\\n/// @group @carbon/type\\n@mixin fluid-type-size(\\n $type-styles,\\n $name,\\n $breakpoints: gridconfig.$grid-breakpoints\\n) {\\n // Get the information about the breakpoint we're currently working in. Useful\\n // for getting initial width information\\n $breakpoint: map.get($breakpoints, $name);\\n\\n // Our fluid styles are captured under the 'breakpoints' property in our type\\n // styles map. These define what values to treat as `max-` variables below\\n $fluid-sizes: map.get($type-styles, breakpoints);\\n $fluid-breakpoint: ();\\n // Special case for `sm` because the styles for small are on the type style\\n // directly\\n @if $name == sm {\\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\\n } @else {\\n $fluid-breakpoint: map.get($fluid-sizes, $name);\\n }\\n\\n // Initialize our font-sizes to the default size for the type style\\n $max-font-size: map.get($type-styles, font-size);\\n $min-font-size: map.get($type-styles, font-size);\\n @if map.has-key($fluid-breakpoint, font-size) {\\n $min-font-size: map.get($fluid-breakpoint, font-size);\\n }\\n\\n // Initialize our min and max width to the width of the current breakpoint\\n $max-vw: map.get($breakpoint, width);\\n $min-vw: map.get($breakpoint, width);\\n\\n // We can use `breakpoint-next` to see if there is another breakpoint we can\\n // use to update `max-font-size` and `max-vw` with larger values\\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\\n $next-fluid-breakpoint-name: null;\\n\\n // We need to figure out what the next available fluid breakpoint is for our\\n // given $type-styles. In this loop we try and iterate through breakpoints\\n // until we either manually set $next-breakpoint-available to null or\\n // `breakpoint-next` returns null.\\n @while $next-breakpoint-available {\\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\\n $next-fluid-breakpoint-name: $next-breakpoint-available;\\n $next-breakpoint-available: null;\\n } @else {\\n $next-breakpoint-available: grid.breakpoint-next(\\n $next-breakpoint-available,\\n $breakpoints\\n );\\n }\\n }\\n\\n // If we have found the next available fluid breakpoint name, then we know\\n // that we have values that we can use to set max-font-size and max-vw as both\\n // values derive from the next breakpoint\\n @if $next-fluid-breakpoint-name {\\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\\n $max-font-size: map.get(\\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\\n font-size\\n );\\n $max-vw: map.get($next-fluid-breakpoint, width);\\n\\n // prettier-ignore\\n font-size: calc(#{$min-font-size} +\\n #{strip-unit($max-font-size - $min-font-size)} *\\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\\n );\\n } @else {\\n // Otherwise, just default to setting the font size found from the type\\n // style or the given fluid breakpoint in the type style\\n font-size: $min-font-size;\\n }\\n}\\n\\n// TODO move following variable and `custom-property` mixin into shared file for\\n// both `@carbon/type` and `@carbon/themes`\\n\\n/// @access private\\n/// @group @carbon/type\\n@mixin custom-properties($name, $value) {\\n @each $property, $value in $value {\\n #{$property}: var(\\n --#{$custom-property-prefix}-#{$name}-#{$property},\\n #{$value}\\n );\\n }\\n}\\n\\n/// Helper mixin to include the styles for a given token in any selector in your\\n/// project. Also includes an optional fluid option that will enable fluid\\n/// styles for the token if they are defined. Fluid styles will cause the\\n/// token's font-size to be computed based on the viewport size. As a result, use\\n/// with caution in fixed contexts.\\n/// @param {String} $name - The name of the token to get the styles for\\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\\n/// @access public\\n/// @group @carbon/type\\n@mixin type-style(\\n $name,\\n $fluid: false,\\n $breakpoints: gridconfig.$grid-breakpoints\\n) {\\n @if not map.has-key($tokens, $name) {\\n @error 'Unable to find a token with the name: `#{$name}`';\\n }\\n\\n $token: map.get($tokens, $name);\\n\\n // If $fluid is set to true and the token has breakpoints defined for fluid\\n // styles, delegate to the fluid-type helper for the given token\\n @if $fluid == true and map.has-key($token, 'breakpoints') {\\n @include fluid-type($token, $breakpoints);\\n } @else {\\n @include custom-properties($name, $token);\\n }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"bodyShort01\": \"-esm-ethiohri-intake__pagination__bodyShort01___yUdUG\",\n\t\"configurableLink\": \"-esm-ethiohri-intake__pagination__configurableLink___n2pXk\",\n\t\"desktop\": \"-esm-ethiohri-intake__pagination__desktop___6InY0\",\n\t\"tablet\": \"-esm-ethiohri-intake__pagination__tablet___q+pZd\",\n\t\"pagination\": \"-esm-ethiohri-intake__pagination__pagination___aIodu\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\n// eslint-disable-next-line func-names\nmodule.exports = function (cssWithMappingToString) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = cssWithMappingToString(item);\n\n if (item[2]) {\n return \"@media \".concat(item[2], \" {\").concat(content, \"}\");\n }\n\n return content;\n }).join(\"\");\n }; // import a list of modules into the list\n // eslint-disable-next-line func-names\n\n\n list.i = function (modules, mediaQuery, dedupe) {\n if (typeof modules === \"string\") {\n // eslint-disable-next-line no-param-reassign\n modules = [[null, modules, \"\"]];\n }\n\n var alreadyImportedModules = {};\n\n if (dedupe) {\n for (var i = 0; i < this.length; i++) {\n // eslint-disable-next-line prefer-destructuring\n var id = this[i][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n\n for (var _i = 0; _i < modules.length; _i++) {\n var item = [].concat(modules[_i]);\n\n if (dedupe && alreadyImportedModules[item[0]]) {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (mediaQuery) {\n if (!item[2]) {\n item[2] = mediaQuery;\n } else {\n item[2] = \"\".concat(mediaQuery, \" and \").concat(item[2]);\n }\n }\n\n list.push(item);\n }\n };\n\n return list;\n};","\"use strict\";\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr && (typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]); if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nmodule.exports = function cssWithMappingToString(item) {\n var _item = _slicedToArray(item, 4),\n content = _item[1],\n cssMapping = _item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (typeof btoa === \"function\") {\n // eslint-disable-next-line no-undef\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n var sourceMapping = \"/*# \".concat(data, \" */\");\n var sourceURLs = cssMapping.sources.map(function (source) {\n return \"/*# sourceURL=\".concat(cssMapping.sourceRoot || \"\").concat(source, \" */\");\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join(\"\\n\");\n }\n\n return [content].join(\"\\n\");\n};","\n import API from \"!../../../../openmrs/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../openmrs/node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../openmrs/node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../openmrs/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../openmrs/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../openmrs/node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../openmrs/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../../../openmrs/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./card-header.scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\nif (module.hot) {\n if (!content.locals || module.hot.invalidate) {\n var isEqualLocals = function isEqualLocals(a, b, isNamedExport) {\n if (!a && b || a && !b) {\n return false;\n }\n\n var p;\n\n for (p in a) {\n if (isNamedExport && p === \"default\") {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (a[p] !== b[p]) {\n return false;\n }\n }\n\n for (p in b) {\n if (isNamedExport && p === \"default\") {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (!a[p]) {\n return false;\n }\n }\n\n return true;\n};\n var isNamedExport = !content.locals;\n var oldLocals = isNamedExport ? namedExport : content.locals;\n\n module.hot.accept(\n \"!!../../../../openmrs/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../../../openmrs/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./card-header.scss\",\n function () {\n if (!isEqualLocals(oldLocals, isNamedExport ? namedExport : content.locals, isNamedExport)) {\n module.hot.invalidate();\n\n return;\n }\n\n oldLocals = isNamedExport ? namedExport : content.locals;\n\n update(content);\n }\n )\n }\n\n module.hot.dispose(function() {\n update();\n });\n}\n\n\nexport * from \"!!../../../../openmrs/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../../../openmrs/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./card-header.scss\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../../../openmrs/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../openmrs/node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../openmrs/node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../openmrs/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../openmrs/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../openmrs/node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../openmrs/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../../../openmrs/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./empty-state.scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\nif (module.hot) {\n if (!content.locals || module.hot.invalidate) {\n var isEqualLocals = function isEqualLocals(a, b, isNamedExport) {\n if (!a && b || a && !b) {\n return false;\n }\n\n var p;\n\n for (p in a) {\n if (isNamedExport && p === \"default\") {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (a[p] !== b[p]) {\n return false;\n }\n }\n\n for (p in b) {\n if (isNamedExport && p === \"default\") {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (!a[p]) {\n return false;\n }\n }\n\n return true;\n};\n var isNamedExport = !content.locals;\n var oldLocals = isNamedExport ? namedExport : content.locals;\n\n module.hot.accept(\n \"!!../../../../openmrs/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../../../openmrs/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./empty-state.scss\",\n function () {\n if (!isEqualLocals(oldLocals, isNamedExport ? namedExport : content.locals, isNamedExport)) {\n module.hot.invalidate();\n\n return;\n }\n\n oldLocals = isNamedExport ? namedExport : content.locals;\n\n update(content);\n }\n )\n }\n\n module.hot.dispose(function() {\n update();\n });\n}\n\n\nexport * from \"!!../../../../openmrs/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../../../openmrs/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./empty-state.scss\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../../../openmrs/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../openmrs/node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../openmrs/node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../openmrs/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../openmrs/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../openmrs/node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../openmrs/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../../../openmrs/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./error-state.scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\nif (module.hot) {\n if (!content.locals || module.hot.invalidate) {\n var isEqualLocals = function isEqualLocals(a, b, isNamedExport) {\n if (!a && b || a && !b) {\n return false;\n }\n\n var p;\n\n for (p in a) {\n if (isNamedExport && p === \"default\") {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (a[p] !== b[p]) {\n return false;\n }\n }\n\n for (p in b) {\n if (isNamedExport && p === \"default\") {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (!a[p]) {\n return false;\n }\n }\n\n return true;\n};\n var isNamedExport = !content.locals;\n var oldLocals = isNamedExport ? namedExport : content.locals;\n\n module.hot.accept(\n \"!!../../../../openmrs/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../../../openmrs/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./error-state.scss\",\n function () {\n if (!isEqualLocals(oldLocals, isNamedExport ? namedExport : content.locals, isNamedExport)) {\n module.hot.invalidate();\n\n return;\n }\n\n oldLocals = isNamedExport ? namedExport : content.locals;\n\n update(content);\n }\n )\n }\n\n module.hot.dispose(function() {\n update();\n });\n}\n\n\nexport * from \"!!../../../../openmrs/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../../../openmrs/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./error-state.scss\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../../../openmrs/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../openmrs/node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../openmrs/node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../openmrs/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../openmrs/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../openmrs/node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../openmrs/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../../../openmrs/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./pagination.scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\nif (module.hot) {\n if (!content.locals || module.hot.invalidate) {\n var isEqualLocals = function isEqualLocals(a, b, isNamedExport) {\n if (!a && b || a && !b) {\n return false;\n }\n\n var p;\n\n for (p in a) {\n if (isNamedExport && p === \"default\") {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (a[p] !== b[p]) {\n return false;\n }\n }\n\n for (p in b) {\n if (isNamedExport && p === \"default\") {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (!a[p]) {\n return false;\n }\n }\n\n return true;\n};\n var isNamedExport = !content.locals;\n var oldLocals = isNamedExport ? namedExport : content.locals;\n\n module.hot.accept(\n \"!!../../../../openmrs/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../../../openmrs/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./pagination.scss\",\n function () {\n if (!isEqualLocals(oldLocals, isNamedExport ? namedExport : content.locals, isNamedExport)) {\n module.hot.invalidate();\n\n return;\n }\n\n oldLocals = isNamedExport ? namedExport : content.locals;\n\n update(content);\n }\n )\n }\n\n module.hot.dispose(function() {\n update();\n });\n}\n\n\nexport * from \"!!../../../../openmrs/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../../../openmrs/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./pagination.scss\";\n export default content && content.locals ? content.locals : undefined;\n","\"use strict\";\n\nvar stylesInDOM = [];\n\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n\n return result;\n}\n\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n\n identifiers.push(identifier);\n }\n\n return identifiers;\n}\n\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n\n return updater;\n}\n\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n\n var newLastIdentifiers = modulesToDom(newList, options);\n\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n\n var _index = getIndexByIdentifier(_identifier);\n\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n\n stylesInDOM.splice(_index, 1);\n }\n }\n\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\nvar memo = {};\n/* istanbul ignore next */\n\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself\n\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n\n memo[target] = styleTarget;\n }\n\n return memo[target];\n}\n/* istanbul ignore next */\n\n\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n\n target.appendChild(style);\n}\n\nmodule.exports = insertBySelector;","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\n\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\n\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n\n var needLayer = typeof obj.layer !== \"undefined\";\n\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n\n css += obj.css;\n\n if (needLayer) {\n css += \"}\";\n }\n\n if (obj.media) {\n css += \"}\";\n }\n\n if (obj.supports) {\n css += \"}\";\n }\n\n var sourceMap = obj.sourceMap;\n\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n } // For old IE\n\n /* istanbul ignore if */\n\n\n options.styleTagTransform(css, styleElement, options.options);\n}\n\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n\n styleElement.parentNode.removeChild(styleElement);\n}\n/* istanbul ignore next */\n\n\nfunction domAPI(options) {\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\n\nmodule.exports = domAPI;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n\n styleElement.appendChild(document.createTextNode(css));\n }\n}\n\nmodule.exports = styleTagTransform;","import React from 'react';\nimport classNames from 'classnames';\nimport { useLayoutType } from '@openmrs/esm-framework';\nimport styles from './card-header.scss';\n\ninterface CardHeaderProps {\n title: string;\n children: React.ReactNode;\n}\n\nexport function CardHeader({ title, children }: CardHeaderProps) {\n const isTablet = useLayoutType() === 'tablet';\n\n return (\n <div className={classNames(isTablet ? styles.tabletHeader : styles.desktopHeader)}>\n <h4>{title}</h4>\n {children}\n </div>\n );\n}\n","export * from './card-header.component';\n","import React, { useMemo } from 'react';\nimport classNames from 'classnames';\nimport last from 'lodash-es/last';\nimport { useTranslation } from 'react-i18next';\nimport { useLocation } from 'react-router-dom';\nimport { ConfigurableLink } from '@openmrs/esm-framework';\n\nexport interface DashboardExtensionProps {\n path: string;\n title: string;\n basePath: string;\n moduleName?: string;\n}\n\nexport const DashboardExtension = ({\n path,\n title,\n basePath,\n moduleName = '@openmrs/esm-patient-chart-app',\n}: DashboardExtensionProps) => {\n const { t } = useTranslation(moduleName);\n const location = useLocation();\n const navLink = useMemo(() => decodeURIComponent(last(location.pathname.split('/'))), [location.pathname]);\n\n return (\n <div key={path}>\n <ConfigurableLink\n className={classNames('cds--side-nav__link', { 'active-left-nav-link': path === navLink })}\n to={`${basePath}/${encodeURIComponent(path)}`}\n >\n {t(title)}\n </ConfigurableLink>\n </div>\n );\n};\n","import React from 'react';\nimport { BrowserRouter } from 'react-router-dom';\nimport { type DashboardLinkConfig } from '../types';\nimport { DashboardExtension } from './DashboardExtension';\n\nexport const createDashboardLink = (db: DashboardLinkConfig) => {\n return ({ basePath }: { basePath: string }) => {\n return (\n <BrowserRouter>\n <DashboardExtension basePath={basePath} title={db.title} path={db.path} moduleName={db.moduleName} />\n </BrowserRouter>\n );\n };\n};\n","import React from 'react';\n\nexport const EmptyDataIllustration = ({ width = '64', height = '64' }) => {\n return (\n <svg width={width} height={height} viewBox=\"0 0 64 64\">\n <title>Empty data illustration</title>\n <g fill=\"none\" fillRule=\"evenodd\">\n <path\n d=\"M38.133 13.186H21.947c-.768.001-1.39.623-1.39 1.391V50.55l-.186.057-3.97 1.216a.743.743 0 01-.927-.493L3.664 12.751a.742.742 0 01.492-.926l6.118-1.874 17.738-5.43 6.119-1.873a.741.741 0 01.926.492L38.076 13l.057.186z\"\n fill=\"#F4F4F4\"\n />\n <path\n d=\"M41.664 13L38.026 1.117A1.576 1.576 0 0036.056.07l-8.601 2.633-17.737 5.43-8.603 2.634a1.578 1.578 0 00-1.046 1.97l12.436 40.616a1.58 1.58 0 001.969 1.046l5.897-1.805.185-.057v-.194l-.185.057-5.952 1.822a1.393 1.393 0 01-1.737-.923L.247 12.682a1.39 1.39 0 01.923-1.738L9.772 8.31 27.51 2.881 36.112.247a1.393 1.393 0 011.737.923L41.47 13l.057.186h.193l-.057-.185z\"\n fill=\"#8D8D8D\"\n />\n <path\n d=\"M11.378 11.855a.836.836 0 01-.798-.59L9.385 7.361a.835.835 0 01.554-1.042l16.318-4.996a.836.836 0 011.042.554l1.195 3.902a.836.836 0 01-.554 1.043l-16.318 4.995a.831.831 0 01-.244.037z\"\n fill=\"#C6C6C6\"\n />\n <circle fill=\"#C6C6C6\" cx={17.636} cy={2.314} r={1.855} />\n <circle fill=\"#FFF\" fillRule=\"nonzero\" cx={17.636} cy={2.314} r={1.175} />\n <path\n d=\"M55.893 53.995H24.544a.79.79 0 01-.788-.789V15.644a.79.79 0 01.788-.788h31.349a.79.79 0 01.788.788v37.562a.79.79 0 01-.788.789z\"\n fill=\"#F4F4F4\"\n />\n <path\n d=\"M41.47 13H21.948a1.579 1.579 0 00-1.576 1.577V52.4l.185-.057V14.577c.001-.768.623-1.39 1.391-1.39h19.581L41.471 13zm17.02 0H21.947a1.579 1.579 0 00-1.576 1.577v42.478c0 .87.706 1.576 1.576 1.577H58.49a1.579 1.579 0 001.576-1.577V14.577a1.579 1.579 0 00-1.576-1.576zm1.39 44.055c0 .768-.622 1.39-1.39 1.392H21.947c-.768-.001-1.39-.624-1.39-1.392V14.577c0-.768.622-1.39 1.39-1.39H58.49c.768 0 1.39.622 1.39 1.39v42.478z\"\n fill=\"#8D8D8D\"\n />\n <path\n d=\"M48.751 17.082H31.686a.836.836 0 01-.835-.835v-4.081c0-.46.374-.834.835-.835H48.75c.461 0 .834.374.835.835v4.08c0 .462-.374.835-.835.836z\"\n fill=\"#C6C6C6\"\n />\n <circle fill=\"#C6C6C6\" cx={40.218} cy={9.755} r={1.855} />\n <circle fill=\"#FFF\" fillRule=\"nonzero\" cx={40.218} cy={9.755} r={1.13} />\n </g>\n </svg>\n );\n};\n","import React from 'react';\nimport { Button, Layer, Tile } from '@carbon/react';\nimport { useTranslation } from 'react-i18next';\nimport { EmptyDataIllustration } from './empty-data-illustration.component';\nimport { useLayoutType } from '@openmrs/esm-framework';\nimport styles from './empty-state.scss';\n\nexport interface EmptyStateProps {\n displayText: string;\n headerTitle: string;\n launchForm?(): void;\n}\n\nexport const EmptyState: React.FC<EmptyStateProps> = (props) => {\n const { t } = useTranslation('@openmrs/esm-patient-chart-app');\n const isTablet = useLayoutType() === 'tablet';\n\n return (\n <Layer className={styles.layer}>\n <Tile className={styles.tile}>\n <div className={isTablet ? styles.tabletHeading : styles.desktopHeading}>\n <h4>{props.headerTitle}</h4>\n </div>\n <EmptyDataIllustration />\n <p className={styles.content}>\n {t('emptyStateText', 'There are no {{displayText}} to display for this patient', {\n displayText: props.displayText.toLowerCase(),\n })}\n </p>\n <p className={styles.action}>\n {props.launchForm && (\n <Button onClick={() => props.launchForm()} kind=\"ghost\" size={isTablet ? 'lg' : 'sm'}>\n {t('record', 'Record')} {props.displayText.toLowerCase()}\n </Button>\n )}\n </p>\n </Tile>\n </Layer>\n );\n};\n","export * from './empty-state.component';\nexport * from './empty-data-illustration.component';\n","import React from 'react';\nimport { Layer, Tile } from '@carbon/react';\nimport { useTranslation } from 'react-i18next';\nimport { useLayoutType } from '@openmrs/esm-framework';\nimport styles from './error-state.scss';\n\nexport interface ErrorStateProps {\n error: any;\n headerTitle: string;\n}\n\nexport const ErrorState: React.FC<ErrorStateProps> = ({ error, headerTitle }) => {\n const { t } = useTranslation('@openmrs/esm-patient-chart-app');\n const isTablet = useLayoutType() === 'tablet';\n\n return (\n <Layer>\n <Tile className={styles.tile}>\n <div className={isTablet ? styles.tabletHeading : styles.desktopHeading}>\n <h4>{headerTitle}</h4>\n </div>\n <p className={styles.errorMessage}>\n {t('error', 'Error')} {`${error?.response?.status}: `}\n {error?.response?.statusText}\n </p>\n <p className={styles.errorCopy}>\n {t(\n 'errorCopy',\n 'Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.',\n )}\n </p>\n </Tile>\n </Layer>\n );\n};\n","export * from './error-state.component';\n","import { navigate } from '@openmrs/esm-framework';\nimport isEmpty from 'lodash-es/isEmpty';\nimport { launchPatientWorkspace, launchStartVisitPrompt } from '@openmrs/esm-patient-common-lib';\n\ninterface HtmlFormEntryForm {\n formUuid: string;\n formName: string;\n formUiResource: string;\n formUiPage: 'enterHtmlFormWithSimpleUi' | 'enterHtmlFormWithStandardUi';\n formEditUiPage: 'editHtmlFormWithSimpleUi' | 'editHtmlFormWithStandardUi';\n}\n\nexport function launchFormEntryOrHtmlForms(\n htmlFormEntryForms: Array<HtmlFormEntryForm>,\n patientUuid: string,\n formUuid: string,\n visitUuid?: string,\n encounterUuid?: string,\n formName?: string,\n visitTypeUuid?: string,\n visitStartDatetime?: string,\n visitStopDatetime?: string,\n mutateForms?: () => void,\n) {\n if (visitUuid) {\n const htmlForm = htmlFormEntryForms.find((form) => form.formUuid === formUuid);\n if (isEmpty(htmlForm)) {\n launchFormEntry(\n formUuid,\n patientUuid,\n encounterUuid,\n formName,\n visitUuid,\n visitTypeUuid,\n visitStartDatetime,\n visitStopDatetime,\n mutateForms,\n );\n } else {\n if (encounterUuid) {\n navigate({\n to: `\\${openmrsBase}/htmlformentryui/htmlform/${htmlForm.formEditUiPage}.page?patientId=${patientUuid}&visitId=${visitUuid}&encounterId=${encounterUuid}&definitionUiResource=${htmlForm.formUiResource}&returnUrl=${window.location.href}`,\n });\n } else {\n navigate({\n to: `\\${openmrsBase}/htmlformentryui/htmlform/${htmlForm.formUiPage}.page?patientId=${patientUuid}&visitId=${visitUuid}&definitionUiResource=${htmlForm.formUiResource}&returnUrl=${window.location.href}`,\n });\n }\n }\n } else {\n launchStartVisitPrompt();\n }\n}\n\nexport function launchFormEntry(\n formUuid: string,\n patientUuid: string,\n encounterUuid?: string,\n formName?: string,\n visitUuid?: string,\n visitTypeUuid?: string,\n visitStartDatetime?: string,\n visitStopDatetime?: string,\n mutateForm?: () => void,\n) {\n launchPatientWorkspace('patient-form-entry-workspace', {\n workspaceTitle: formName,\n mutateForm,\n formInfo: {\n encounterUuid,\n formUuid,\n patientUuid,\n visitTypeUuid: visitTypeUuid,\n visitUuid: visitUuid,\n visitStartDatetime,\n visitStopDatetime,\n },\n });\n}\n","export interface FormEntryProps {\n encounterUuid?: string;\n visitUuid?: string;\n formUuid: string;\n visitTypeUuid?: string;\n visitStartDatetime?: string;\n visitStopDatetime?: string;\n additionalProps?: Record<string, any>;\n}\n","export function getPatientUuidFromUrl(): string {\n const match = /\\/patient\\/([a-zA-Z0-9\\-]+)\\/?/.exec(location.pathname);\n return match && match[1];\n}\n","export * from './cards';\nexport * from './dashboards/createDashboardLink';\nexport * from './dashboards/DashboardExtension';\nexport * from './empty-state';\nexport * from './error-state';\nexport * from './form-entry-interop';\nexport * from './form-entry/form-entry';\nexport * from './get-patient-uuid-from-url';\nexport * from './launchStartVisitPrompt';\nexport * from './nav-group/createDashboardGroup';\nexport * from './nav-group/DashboardGroupExtension';\nexport * from './nav-group/nav-group';\nexport * from './offline/visit';\nexport * from './orders';\nexport * from './pagination';\nexport * from './patient-summary/patient-summary-extension-order';\nexport * from './programs/usePatientProgramEnrollment';\nexport * from './time-helper';\nexport * from './types';\nexport * from './useAllowedFileExtensions';\nexport * from './useSystemVisitSetting';\nexport * from './workspaces';\n","import { showModal } from '@openmrs/esm-framework';\n\nexport function launchStartVisitPrompt() {\n const dispose = showModal('start-visit-dialog', {\n closeModal: () => dispose(),\n });\n}\n","import React, { useEffect } from 'react';\nimport { ExtensionSlot } from '@openmrs/esm-framework';\nimport { Accordion, AccordionItem } from '@carbon/react';\nimport { registerNavGroup } from '..';\n\nexport interface DashboardGroupExtensionProps {\n title: string;\n slotName?: string;\n basePath: string;\n isExpanded?: boolean;\n}\n\nexport const DashboardGroupExtension = ({ title, slotName, basePath, isExpanded }: DashboardGroupExtensionProps) => {\n useEffect(() => {\n registerNavGroup(slotName);\n }, [slotName]);\n\n return (\n <Accordion>\n <AccordionItem open={isExpanded ?? true} title={title} style={{ border: 'none' }}>\n <ExtensionSlot name={slotName ?? title} state={{ basePath }} />\n </AccordionItem>\n </Accordion>\n );\n};\n","import React from 'react';\nimport { DashboardGroupExtension } from './DashboardGroupExtension';\n\nexport const createDashboardGroup = ({\n title,\n slotName,\n isExpanded,\n}: {\n title: string;\n slotName: string;\n isExpanded?: boolean;\n}) => {\n const DashboardGroup = ({ basePath }: { basePath: string }) => {\n return <DashboardGroupExtension title={title} slotName={slotName} basePath={basePath} isExpanded={isExpanded} />;\n };\n return DashboardGroup;\n};\n","import { createGlobalStore, createUseStore } from '@openmrs/esm-framework';\n\nconst navGroupStore = createGlobalStore('nav-groups', { navGroups: [] });\n\nexport function registerNavGroup(slotName: string) {\n const store = navGroupStore.getState();\n navGroupStore.setState({ navGroups: [slotName, ...store.navGroups] });\n}\n\nexport const useNavGroups = createUseStore(navGroupStore);\n","import {\n getSynchronizationItems,\n type NewVisitPayload,\n type QueueItemDescriptor,\n queueSynchronizationItem,\n useConnectivity,\n useSession,\n useVisit,\n type Visit,\n} from '@openmrs/esm-framework';\nimport { useEffect, useState } from 'react';\nimport { v4 as uuid } from 'uuid';\n\n/**\n * The identifier of a visit in the sync queue.\n */\nexport const visitSyncType = 'visit';\n\n/**\n * The shape of an offline visit queued up by the patient chart.\n */\nexport interface OfflineVisit extends NewVisitPayload {\n uuid: string;\n}\n\n/**\n * Similar to {@link useVisit}, returns the given patient's active visit, but also considers\n * offline visits created by the patient chart while offline.\n * @param patientUuid The UUID of the patient.\n */\nexport function useVisitOrOfflineVisit(patientUuid: string) {\n const isOnline = useConnectivity();\n\n const onlineVisit = useVisit(patientUuid);\n const offlineVisit = useOfflineVisit(patientUuid);\n\n return isOnline ? onlineVisit : offlineVisit;\n}\n\n/**\n * Returns the patient's current offline visit.\n * @param patientUuid The UUID of the patient.\n */\nexport function useOfflineVisit(patientUuid: string): ReturnType<typeof useVisit> {\n const [offlineVisitState, setOfflineVisitState] = useState<{\n data: Visit | null;\n error: Error | null;\n isLoading: boolean;\n }>({ data: null, error: null, isLoading: true });\n useEffect(() => {\n getOfflineVisitForPatient(patientUuid)\n .then((offlineVisit) => {\n setOfflineVisitState({\n error: null,\n data: offlineVisit ? offlineVisitToVisit(offlineVisit) : null,\n isLoading: false,\n });\n })\n .catch((err) => {\n setOfflineVisitState({ error: err, data: null, isLoading: false });\n });\n }, [patientUuid]);\n\n return {\n activeVisit: offlineVisitState.data,\n currentVisit: offlineVisitState.data,\n isLoading: offlineVisitState.isLoading,\n isValidating: false,\n currentVisitIsRetrospective: false,\n error: offlineVisitState.error,\n mutate: () => {},\n };\n}\n\n/**\n * While offline, if no offline visit for the given patient exists, creates one.\n * The existance of the offline visit leverages {@link useOfflineVisit}.\n * Mutates those SWR hooks when a new offline visit has been created.\n * @param patientUuid The UUID of the patient for which an offline visit should be created.\n * @param offlineVisitTypeUuid The UUID of the offline visit type.\n */\nexport function useAutoCreatedOfflineVisit(patientUuid: string, offlineVisitTypeUuid: string) {\n const isOnline = useConnectivity();\n const location = useSession()?.sessionLocation?.uuid;\n const { currentVisit, isValidating, error, mutate } = useOfflineVisit(patientUuid);\n\n useEffect(() => {\n if (!isOnline && !isValidating && !currentVisit && !error) {\n createOfflineVisitForPatient(patientUuid, location, offlineVisitTypeUuid, new Date()).finally(() => mutate());\n }\n }, [isOnline, currentVisit, isValidating, error, mutate, location, offlineVisitTypeUuid, patientUuid]);\n}\n\nexport async function getOfflineVisitForPatient(patientUuid: string) {\n const offlineVisits = await getSynchronizationItems<OfflineVisit>(visitSyncType);\n return offlineVisits.find((visit) => visit.patient === patientUuid);\n}\n\nexport async function createOfflineVisitForPatient(\n patientUuid: string,\n location: string,\n offlineVisitTypeUuid: string,\n startDatetime: Date,\n) {\n const patientRegistrationSyncItems = await getSynchronizationItems<{ fhirPatient: fhir.Patient }>(\n 'patient-registration',\n );\n const isVisitForOfflineRegisteredPatient = patientRegistrationSyncItems.some(\n (item) => item.fhirPatient.id === patientUuid,\n );\n\n const offlineVisit: OfflineVisit = {\n uuid: uuid(),\n patient: patientUuid,\n startDatetime,\n location,\n visitType: offlineVisitTypeUuid,\n };\n\n const descriptor: QueueItemDescriptor = {\n id: offlineVisit.uuid,\n displayName: 'Offline visit',\n patientUuid,\n dependencies: isVisitForOfflineRegisteredPatient\n ? [\n {\n type: 'patient-registration',\n id: patientUuid,\n },\n ]\n : [],\n };\n\n await queueSynchronizationItem(visitSyncType, offlineVisit, descriptor);\n return offlineVisit;\n}\n\nfunction offlineVisitToVisit(offlineVisit: OfflineVisit): Visit {\n return {\n uuid: offlineVisit.uuid,\n startDatetime: offlineVisit.startDatetime?.toString(),\n stopDatetime: offlineVisit.stopDatetime?.toString(),\n encounters: [],\n visitType: {\n uuid: offlineVisit.visitType,\n display: 'Offline',\n },\n patient: {\n uuid: offlineVisit.patient,\n },\n };\n}\n","export * from './useOrderBasket';\nexport * from './postOrders';\nexport * from './useOrders';\nexport * from './types';\n","import { openmrsFetch, type OpenmrsResource, parseDate, restBaseUrl, type Visit } from '@openmrs/esm-framework';\nimport { getPatientUuidFromUrl } from '../get-patient-uuid-from-url';\nimport { type OrderBasketStore, orderBasketStore } from './store';\nimport { type ExtractedOrderErrorObject, type OrderBasketItem, type OrderErrorObject, type OrderPost } from './types';\n\nexport async function postOrdersOnNewEncounter(\n patientUuid: string,\n orderEncounterType: string,\n activeVisit: Visit | null,\n sessionLocationUuid: string,\n abortController?: AbortController,\n) {\n const now = new Date();\n const visitStartDate = parseDate(activeVisit?.startDatetime);\n const visitEndDate = parseDate(activeVisit?.stopDatetime);\n let encounterDate: Date;\n if (!activeVisit || (visitStartDate < now && (!visitEndDate || visitEndDate > now))) {\n encounterDate = now;\n } else {\n console.warn(\n 'postOrdersOnNewEncounter received an active visit that is not currently active. This is a programming error. Attempting to place the order using the visit start date.',\n );\n encounterDate = visitStartDate;\n }\n\n const { items, postDataPrepFunctions }: OrderBasketStore = orderBasketStore.getState();\n const patientItems = items[patientUuid];\n\n const orders: Array<OrderPost> = [];\n\n Object.entries(patientItems).forEach(([grouping, groupOrders]) => {\n groupOrders.forEach((order) => {\n orders.push(postDataPrepFunctions[grouping](order, patientUuid, null));\n });\n });\n\n const encounterPostData = {\n patient: patientUuid,\n location: sessionLocationUuid,\n encounterType: orderEncounterType,\n encounterDatetime: encounterDate,\n visit: activeVisit?.uuid,\n obs: [],\n orders,\n };\n\n return openmrsFetch<OpenmrsResource>(`${restBaseUrl}/encounter`, {\n headers: {\n 'Content-Type': 'application/json',\n },\n method: 'POST',\n body: encounterPostData,\n signal: abortController?.signal,\n }).then((res) => res?.data?.uuid);\n}\n\nexport async function postOrders(encounterUuid: string, abortController: AbortController) {\n const patientUuid = getPatientUuidFromUrl();\n const { items, postDataPrepFunctions }: OrderBasketStore = orderBasketStore.getState();\n const patientItems = items[patientUuid];\n\n const erroredItems: Array<OrderBasketItem> = [];\n for (let grouping in patientItems) {\n const orders = patientItems[grouping];\n for (let i = 0; i < orders.length; i++) {\n const order = orders[i];\n const dto = postDataPrepFunctions[grouping](order, patientUuid, encounterUuid);\n await postOrder(dto, abortController).catch((error) => {\n erroredItems.push({\n ...order,\n orderError: error,\n extractedOrderError: extractErrorDetails(error),\n });\n });\n }\n }\n return erroredItems;\n}\n\nfunction postOrder(body: OrderPost, abortController?: AbortController) {\n return openmrsFetch(`${restBaseUrl}/order`, {\n method: 'POST',\n signal: abortController?.signal,\n headers: { 'Content-Type': 'application/json' },\n body,\n });\n}\n\nfunction extractErrorDetails(errorObject: OrderErrorObject): ExtractedOrderErrorObject {\n const errorDetails = {\n message: errorObject.responseBody?.error?.message,\n fieldErrors: [],\n globalErrors: errorObject.responseBody?.error?.globalErrors,\n };\n\n if (errorObject.responseBody?.error?.fieldErrors) {\n const fieldErrors = errorObject.responseBody?.error?.fieldErrors;\n for (const fieldName in fieldErrors) {\n fieldErrors[fieldName].forEach((error) => {\n errorDetails.fieldErrors.push(error.message);\n });\n }\n }\n\n return errorDetails;\n}\n","import { createGlobalStore } from '@openmrs/esm-framework';\nimport type { OrderBasketItem, PostDataPrepFunction } from './types';\n\n// The order basket holds order information for each patient. The orders are grouped by `key`\n// so that different parts of the application may manage their own order lists. For example,\n// the medication order list might be grouped as `medications`, and might be managed by the\n// medication order basket panel.\nexport interface OrderBasketStore {\n items: {\n [patientUuid: string]: {\n [grouping: string]: Array<OrderBasketItem>;\n };\n };\n postDataPrepFunctions: {\n [grouping: string]: PostDataPrepFunction;\n };\n}\n\nconst initialState = {\n items: {},\n postDataPrepFunctions: {},\n};\n\nexport const orderBasketStore = createGlobalStore<OrderBasketStore>('order-basket', initialState);\n\n/**\n * @internal for testing only\n */\nexport function _resetOrderBasketStore() {\n orderBasketStore.setState(initialState);\n}\n","import { type OpenmrsResource } from '@openmrs/esm-framework';\n\nexport type OrderAction = 'NEW' | 'REVISE' | 'DISCONTINUE' | 'RENEW';\n\nexport interface ExtractedOrderErrorObject {\n message: string;\n fieldErrors: string[];\n globalErrors: string[];\n}\nexport interface OrderErrorObject {\n responseBody?: {\n error?: {\n message?: string;\n fieldErrors?: {\n [fieldName: string]: {\n message: string;\n [key: string]: string;\n }[];\n };\n globalErrors?: string[];\n };\n };\n}\n\nexport interface OrderBasketItem {\n action?: OrderAction;\n display: string;\n uuid?: string;\n orderer?: string;\n careSetting?: string;\n orderError?: Error & {\n responseBody?: {\n error?: {\n code?: string;\n detail?: string;\n message?: string;\n };\n };\n };\n extractedOrderError?: ExtractedOrderErrorObject;\n isOrderIncomplete?: boolean;\n}\n\nexport interface OrderPost {\n action?: OrderAction;\n patient?: string;\n careSetting?: string;\n orderer?: string;\n encounter?: string;\n drug?: string;\n dose?: number;\n doseUnits?: string;\n route?: string;\n frequency?: string;\n asNeeded?: boolean;\n numRefills?: number;\n quantity?: number;\n quantityUnits?: string;\n type?: string;\n duration?: number;\n durationUnits?: string;\n dosingType?: 'org.openmrs.FreeTextDosingInstructions' | 'org.openmrs.SimpleDosingInstructions';\n dosingInstructions?: string;\n concept?: string;\n dateActivated?: string;\n previousOrder?: string;\n asNeededCondition?: string;\n orderReasonNonCoded?: string;\n orderReason?: string;\n instructions?: string;\n labReferenceNumber?: string;\n}\n\nexport interface PatientOrderFetchResponse {\n results: Array<Order>;\n}\n\nexport interface Order {\n uuid: string;\n action: OrderAction;\n asNeeded: boolean;\n asNeededCondition?: string;\n autoExpireDate: string;\n brandName?: string;\n careSetting: OpenmrsResource;\n commentToFulfiller: string;\n concept: OpenmrsResource;\n dateActivated: string;\n dateStopped?: string | null;\n dispenseAsWritten: boolean;\n dose: number;\n doseUnits: OpenmrsResource;\n dosingInstructions: string | null;\n dosingType?: 'org.openmrs.FreeTextDosingInstructions' | 'org.openmrs.SimpleDosingInstructions';\n drug: Drug;\n duration: number;\n durationUnits: OpenmrsResource;\n encounter: OpenmrsResource;\n frequency: OpenmrsResource;\n instructions?: string | null;\n numRefills: number;\n orderNumber: string;\n orderReason: string | null;\n orderReasonNonCoded: string | null;\n orderType: {\n conceptClasses: Array<any>;\n description: string;\n display: string;\n name: string;\n parent: string | null;\n retired: boolean;\n uuid: string;\n };\n orderer: {\n display: string;\n person: {\n display: string;\n };\n uuid: string;\n };\n patient: OpenmrsResource;\n previousOrder: { uuid: string; type: string; display: string } | null;\n quantity: number;\n quantityUnits: OpenmrsResource;\n route: OpenmrsResource;\n scheduleDate: null;\n urgency: 'ROUTINE' | 'STAT' | 'ON_SCHEDULED_DATE';\n\n // additional properties\n accessionNumber: string;\n scheduledDate: string;\n display: string;\n auditInfo: {\n creator: {\n uuid: string;\n display: string;\n };\n dateCreated: string;\n changedBy: string;\n dateChanged: string;\n };\n fulfillerStatus: 'RECEIVED' | 'IN_PROGRESS' | 'EXCEPTION' | 'ON_HOLD' | 'DECLINED' | 'COMPLETED' | 'DISCONINTUED';\n fulfillerComment: string;\n specimenSource: string;\n laterality: string;\n clinicalHistory: string;\n numberOfRepeats: string;\n type: string;\n labReferenceNumber?: string;\n}\n\nexport interface OrderTypeFetchResponse {\n results: Array<OrderType>;\n}\n\nexport interface OrderType {\n uuid: string;\n display: string;\n name: string;\n retired: boolean;\n description: string;\n}\n\nexport interface Drug {\n uuid: string;\n strength: string;\n concept: OpenmrsResource;\n dosageForm: OpenmrsResource;\n display: string;\n}\n\nexport type PostDataPrepFunction = (\n order: OrderBasketItem,\n patientUuid: string,\n encounterUuid: string | null,\n) => OrderPost;\n\n// Adopted from @openmrs/esm-patient-medications-app package. We should consider maintaining a single shared types file\nexport interface DrugOrderBasketItem extends OrderBasketItem {\n drug: Drug;\n unit: any;\n commonMedicationName: string;\n dosage: number;\n frequency: any;\n route: any;\n quantityUnits: any;\n patientInstructions: string;\n asNeeded: boolean;\n asNeededCondition: string;\n startDate: Date | string;\n durationUnit: any;\n duration: number | null;\n pillsDispensed: number;\n numRefills: number;\n indication: string;\n isFreeTextDosage: boolean;\n freeTextDosage: string;\n previousOrder?: string;\n template?: any;\n}\n\nexport interface LabOrderBasketItem extends OrderBasketItem {\n testType?: {\n label: string;\n conceptUuid: string;\n };\n labReferenceNumber?: string;\n urgency?: string;\n instructions?: string;\n previousOrder?: string;\n orderReason?: string;\n orderNumber?: string;\n}\n\nexport type FulfillerStatus = 'EXCEPTION' | 'RECEIVED' | 'COMPLETED' | 'IN_PROGRESS' | 'ON_HOLD' | 'DECLINED';\n","import { useStoreWithActions } from '@openmrs/esm-framework';\nimport type { OrderBasketItem, PostDataPrepFunction } from './types';\nimport { getPatientUuidFromUrl } from '../get-patient-uuid-from-url';\nimport { useEffect } from 'react';\nimport { type OrderBasketStore, orderBasketStore } from './store';\n\nconst orderBasketStoreActions = {\n setOrderBasketItems(\n state: OrderBasketStore,\n grouping: string,\n value: Array<OrderBasketItem> | (() => Array<OrderBasketItem>),\n ) {\n const patientUuid = getPatientUuidFromUrl();\n if (!Object.keys(state.postDataPrepFunctions).includes(grouping)) {\n console.warn(`Programming error: You must register a postDataPrepFunction for grouping ${grouping} `);\n }\n return {\n items: {\n ...state?.items,\n [patientUuid]: {\n ...state?.items?.[patientUuid],\n [grouping]: typeof value === 'function' ? value() : value,\n },\n },\n };\n },\n setPostDataPrepFunctionForGrouping(state: OrderBasketStore, grouping: string, value: PostDataPrepFunction) {\n return {\n postDataPrepFunctions: {\n ...state.postDataPrepFunctions,\n [grouping]: value,\n },\n };\n },\n};\n\nfunction getOrderItems(items: OrderBasketStore['items'], grouping?: string | null): Array<OrderBasketItem> {\n const patientUuid = getPatientUuidFromUrl();\n const patientItems = items?.[patientUuid] ?? {};\n return grouping ? patientItems[grouping] ?? [] : Object.values(patientItems).flat();\n}\n\nexport interface ClearOrdersOptions {\n exceptThoseMatching: (order: OrderBasketItem) => boolean;\n}\n\nfunction clearOrders(options?: ClearOrdersOptions) {\n const exceptThoseMatchingFcn = options?.exceptThoseMatching ?? (() => false);\n const patientUuid = getPatientUuidFromUrl();\n const items = orderBasketStore.getState().items;\n const patientItems = items[patientUuid] ?? {};\n const newPatientItems = Object.fromEntries(\n Object.entries(patientItems).map(([grouping, orders]) => [grouping, orders.filter(exceptThoseMatchingFcn)]),\n );\n orderBasketStore.setState((state) => ({\n items: {\n ...state.items,\n [patientUuid]: newPatientItems,\n },\n }));\n}\n\ntype UseOrderBasketReturn<T, U> = {\n orders: Array<T>;\n clearOrders: (options?: ClearOrdersOptions) => void;\n setOrders: U extends string\n ? (value: Array<T> | (() => Array<T>)) => void\n : (groupingKey: string, value: Array<T> | (() => Array<T>)) => void;\n};\n\n/**\n * Allows components to read and write to the order basket.\n *\n * @param grouping: The grouping key for the order basket items. If not provided, `orders` will contain\n * all order basket items for the current patient, and `setOrders` will require grouping as a parameter.\n * @param postDataPrepFunction A function that will be called on each order before it is posted to the server.\n * A PostDataPrepFunction must be provided for each grouping, but does not necessarily have to be provided\n * in every usage of useOrderBasket with a grouping key.\n */\nexport function useOrderBasket<T extends OrderBasketItem>(): UseOrderBasketReturn<T, void>;\nexport function useOrderBasket<T extends OrderBasketItem>(grouping: string): UseOrderBasketReturn<T, string>;\nexport function useOrderBasket<T extends OrderBasketItem>(\n grouping: string,\n postDataPrepFunction: PostDataPrepFunction,\n): UseOrderBasketReturn<T, string>;\nexport function useOrderBasket<T extends OrderBasketItem>(\n grouping?: string | null,\n postDataPrepFunction?: PostDataPrepFunction,\n): UseOrderBasketReturn<T, string | void> {\n const { items, postDataPrepFunctions, setOrderBasketItems, setPostDataPrepFunctionForGrouping } = useStoreWithActions(\n orderBasketStore,\n orderBasketStoreActions,\n );\n const orders = getOrderItems(items, grouping);\n\n useEffect(() => {\n if (postDataPrepFunction && !postDataPrepFunctions[grouping]) {\n setPostDataPrepFunctionForGrouping(grouping, postDataPrepFunction);\n }\n }, [postDataPrepFunction, grouping, postDataPrepFunctions, setPostDataPrepFunctionForGrouping]);\n\n if (typeof grouping === 'string') {\n const setOrders = (value: Array<T> | (() => Array<T>)) => {\n return setOrderBasketItems(grouping, value);\n };\n return { orders, clearOrders, setOrders } as UseOrderBasketReturn<T, string>;\n } else {\n const setOrders = (groupingKey: string, value: Array<T> | (() => Array<T>)) => {\n setOrderBasketItems(groupingKey, value);\n };\n return { orders, clearOrders, setOrders } as UseOrderBasketReturn<T, void>;\n }\n}\n","import useSWR, { useSWRConfig } from 'swr';\nimport { type FetchResponse, openmrsFetch, restBaseUrl } from '@openmrs/esm-framework';\nimport { useCallback, useMemo } from 'react';\nimport { type OrderTypeFetchResponse, type PatientOrderFetchResponse } from '@openmrs/esm-patient-common-lib';\n\nexport const careSettingUuid = '6f0c9a92-6f24-11e3-af88-005056821db0';\n\nexport const drugCustomRepresentation =\n 'custom:(uuid,dosingType,orderNumber,accessionNumber,' +\n 'patient:ref,action,careSetting:ref,previousOrder:ref,dateActivated,scheduledDate,dateStopped,autoExpireDate,' +\n 'orderType:ref,encounter:ref,orderer:(uuid,display,person:(display)),orderReason,orderReasonNonCoded,orderType,urgency,instructions,' +\n 'commentToFulfiller,drug:(uuid,display,strength,dosageForm:(display,uuid),concept),dose,doseUnits:ref,' +\n 'frequency:ref,asNeeded,asNeededCondition,quantity,quantityUnits:ref,numRefills,dosingInstructions,' +\n 'duration,durationUnits:ref,route:ref,brandName,dispenseAsWritten)';\n\nexport function usePatientOrders(patientUuid: string, status?: 'ACTIVE' | 'any', orderType?: string) {\n const { mutate } = useSWRConfig();\n const baseOrdersUrl = `${restBaseUrl}/order?patient=${patientUuid}&careSetting=${careSettingUuid}&v=full&status=${status}`;\n const ordersUrl = orderType ? `${baseOrdersUrl}&orderType=${orderType}` : baseOrdersUrl;\n\n const { data, error, isLoading, isValidating } = useSWR<FetchResponse<PatientOrderFetchResponse>, Error>(\n patientUuid ? ordersUrl : null,\n openmrsFetch,\n );\n\n const mutateOrders = useCallback(\n () =>\n mutate((key) => {\n return typeof key === 'string' && key.startsWith(`${restBaseUrl}/order?patient=${patientUuid}`);\n }, data),\n [patientUuid, data, mutate],\n );\n\n const orders = useMemo(\n () =>\n data?.data?.results\n ? data.data.results?.sort((order1, order2) => (order2.dateActivated > order1.dateActivated ? 1 : -1))\n : null,\n [data],\n );\n\n return {\n data: orders,\n error,\n isLoading,\n isValidating,\n mutate: mutateOrders,\n };\n}\n\nexport function useOrderTypes() {\n const orderTypesUrl = `${restBaseUrl}/ordertype`;\n const { data, error, isLoading, isValidating } = useSWR<FetchResponse<OrderTypeFetchResponse>, Error>(\n orderTypesUrl,\n openmrsFetch,\n );\n\n return {\n data: data?.data?.results,\n error,\n isLoading,\n isValidating,\n };\n}\n\nexport function getDrugOrderByUuid(orderUuid: string) {\n return openmrsFetch(`${restBaseUrl}/order/${orderUuid}?v=${drugCustomRepresentation}`);\n}\n","export * from './pagination.component';\nexport * from './usePaginationInfo';\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { Pagination } from '@carbon/react';\nimport { ConfigurableLink, useLayoutType } from '@openmrs/esm-framework';\nimport { usePaginationInfo } from './usePaginationInfo';\nimport styles from './pagination.scss';\n\ninterface PatientChartPaginationProps {\n currentItems: number;\n totalItems: number;\n pageNumber: number;\n pageSize: number;\n onPageNumberChange?: any;\n dashboardLinkUrl?: string;\n dashboardLinkLabel?: string;\n}\n\nexport const PatientChartPagination: React.FC<PatientChartPaginationProps> = ({\n totalItems,\n pageSize,\n onPageNumberChange,\n pageNumber,\n dashboardLinkUrl,\n currentItems,\n dashboardLinkLabel: urlLabel,\n}) => {\n const { t } = useTranslation('@openmrs/esm-patient-chart-app');\n const { itemsDisplayed, pageSizes } = usePaginationInfo(pageSize, totalItems, pageNumber, currentItems);\n const isTablet = useLayoutType() === 'tablet';\n\n return (\n <>\n {totalItems > 0 && (\n <div className={isTablet ? styles.tablet : styles.desktop}>\n <div>\n {itemsDisplayed}\n {dashboardLinkUrl && (\n <ConfigurableLink to={dashboardLinkUrl} className={styles.configurableLink}>\n {urlLabel ?? t('seeAll', 'See all')}\n </ConfigurableLink>\n )}\n </div>\n <Pagination\n className={styles.pagination}\n page={pageNumber}\n pageSize={pageSize}\n pageSizes={pageSizes}\n totalItems={totalItems}\n onChange={onPageNumberChange}\n pageRangeText={(_, total) => t('paginationPageText', 'of {{count}} pages', { count: total })}\n size={isTablet ? 'lg' : 'sm'}\n />\n </div>\n )}\n </>\n );\n};\n","import { useMemo } from 'react';\nimport { useTranslation } from 'react-i18next';\n\nexport function usePaginationInfo(pageSize: number, totalItems: number, pageNumber: number, currentItems: number) {\n const { t } = useTranslation('@openmrs/esm-patient-chart-app');\n\n const pageSizes = useMemo(() => {\n let numberOfPages = Math.ceil(totalItems / pageSize);\n if (isNaN(numberOfPages)) {\n numberOfPages = 0;\n }\n\n return [...Array(numberOfPages).keys()].map((x) => {\n return (x + 1) * pageSize;\n });\n }, [pageSize, totalItems]);\n\n const itemsDisplayed = useMemo(() => {\n let pageItemsCount = 0;\n if (pageSize > totalItems) {\n pageItemsCount = totalItems;\n } else if (pageSize * pageNumber > totalItems) {\n pageItemsCount = pageSize * (pageNumber - 1) + currentItems;\n } else {\n pageItemsCount = pageSize * pageNumber;\n }\n\n return t('paginationItemsCount', `{{pageItemsCount}} / {{count}} items`, { count: totalItems, pageItemsCount });\n }, [pageSize, totalItems, pageNumber, currentItems, t]);\n\n return {\n pageSizes,\n itemsDisplayed,\n };\n}\n","const patientSummaryExtensionOrder: {\n [x: string]: number;\n} = {\n // 0th order is given to Offline tools\n Vitals: 1,\n Biometrics: 2,\n Conditions: 3,\n Medications: 4,\n};\n\nexport const getPatientSummaryOrder: (x: string) => number = (extensionName) =>\n patientSummaryExtensionOrder[extensionName] ?? Math.max(...Object.values(patientSummaryExtensionOrder)) + 1;\n","import useSWR from 'swr';\nimport { openmrsFetch, restBaseUrl } from '@openmrs/esm-framework';\nimport { useMemo } from 'react';\nimport { type PatientProgram } from '../types';\nimport uniqBy from 'lodash-es/uniqBy';\nconst customRepresentation = `custom:(uuid,display,program,dateEnrolled,dateCompleted,location:(uuid,display))`;\n\nexport const useActivePatientEnrollment = (patientUuid: string) => {\n const { data, error, isLoading } = useSWR<{ data: { results: Array<PatientProgram> } }>(\n `${restBaseUrl}/programenrollment?patient=${patientUuid}&v=${customRepresentation}`,\n openmrsFetch,\n );\n\n const activePatientEnrollment = useMemo(\n () =>\n data?.data.results\n .sort((a, b) => (b.dateEnrolled > a.dateEnrolled ? 1 : -1))\n .filter((enrollment) => enrollment.dateCompleted === null) ?? [],\n [data?.data.results],\n );\n\n return {\n activePatientEnrollment: uniqBy(activePatientEnrollment, (program) => program?.program?.uuid),\n error,\n isLoading,\n };\n};\n","export type amPm = 'AM' | 'PM';\n\nexport const time12HourFormatRegex = new RegExp(/^(1[0-2]|0?[1-9]):[0-5][0-9]$/);\n\nexport const convertTime12to24 = (time12h: string, timeFormat: amPm) => {\n if (!time12h.match(time12HourFormatRegex)) {\n return [0, 0];\n }\n\n let [hours, minutes] = time12h.split(':').map((item) => parseInt(item, 10));\n hours = hours % 12;\n\n if (timeFormat === 'PM') {\n hours += 12;\n }\n\n return [hours, minutes];\n};\n","import { type OpenmrsResource } from '@openmrs/esm-framework';\n\nexport * from './test-results';\n\nexport interface DashboardLinkConfig {\n path: string;\n title: string;\n moduleName: string;\n}\n\nexport interface DashboardConfig extends DashboardLinkConfig {\n slot: string;\n}\n\nexport interface PatientProgram {\n uuid: string;\n patient?: DisplayMetadata;\n program: {\n uuid: string;\n name: string;\n allWorkflows: Array<{\n uuid: string;\n concept: DisplayMetadata;\n retired: boolean;\n states: Array<Record<string, unknown>>;\n links?: Links;\n }>;\n concept: DisplayMetadata;\n links: Links;\n };\n display: string;\n dateEnrolled: string;\n dateCompleted: string | null;\n location?: DisplayMetadata;\n voided?: boolean;\n outcome?: null;\n states?: [];\n links: Links;\n resourceVersion?: string;\n}\n\nexport type Links = Array<{\n rel: string;\n uri: string;\n}>;\n\nexport interface DisplayMetadata {\n display: string;\n links: Links;\n uuid: string;\n}\n","export type ConceptUuid = string;\nexport type ObsUuid = string;\n\nexport interface ObsRecord {\n members?: Array<ObsRecord>;\n conceptClass: ConceptUuid;\n meta?: ObsMetaInfo;\n effectiveDateTime: string;\n encounter: {\n reference: string;\n type: string;\n };\n [_: string]: any;\n}\n\nexport interface ObsMetaInfo {\n [_: string]: any;\n assessValue?: (value: string) => OBSERVATION_INTERPRETATION;\n}\n\nexport interface ConceptRecord {\n uuid: ConceptUuid;\n [_: string]: any;\n}\n\nexport interface PatientData {\n [_: string]: {\n entries: Array<ObsRecord>;\n type: 'LabSet' | 'Test';\n uuid: string;\n };\n}\n\nexport type OBSERVATION_INTERPRETATION =\n | 'NORMAL'\n | 'HIGH'\n | 'CRITICALLY_HIGH'\n | 'OFF_SCALE_HIGH'\n | 'LOW'\n | 'CRITICALLY_LOW'\n | 'OFF_SCALE_LOW'\n | '--';\n\nexport interface ExternalOverviewProps {\n patientUuid: string;\n filter: (filterProps: PanelFilterProps) => boolean;\n}\n\nexport type PanelFilterProps = [ObsRecord, string, string, string];\n","import useSWRImmutable from 'swr/immutable';\nimport { openmrsFetch, restBaseUrl } from '@openmrs/esm-framework';\n\nexport interface GlobalProperty {\n property: string;\n uuid: string;\n value: string;\n}\n\nexport function useAllowedFileExtensions() {\n const allowedFileExtensionsGlobalProperty = 'attachments.allowedFileExtensions';\n const customRepresentation = 'custom:(value)';\n const url = `${restBaseUrl}/systemsetting?&v=${customRepresentation}&q=${allowedFileExtensionsGlobalProperty}`;\n\n const { data, error, isLoading } = useSWRImmutable<{ data: { results: Array<GlobalProperty> } }>(url, openmrsFetch);\n\n const allowedFileExtensions =\n data?.data?.results?.length > 0 ? data?.data?.results[0].value?.toLowerCase().split(',') || undefined : undefined;\n\n return {\n allowedFileExtensions,\n error,\n isLoading,\n };\n}\n","import useSWRImmutable from 'swr/immutable';\nimport { type FetchResponse, openmrsFetch, restBaseUrl } from '@openmrs/esm-framework';\nimport { useMemo } from 'react';\n\nexport function useSystemVisitSetting() {\n const { data, isLoading, error } = useSWRImmutable<FetchResponse<{ value: 'true' | 'false' }>, Error>(\n `${restBaseUrl}/systemsetting/visits.enabled?v=custom:(value)`,\n openmrsFetch,\n );\n\n const results = useMemo(\n () => ({\n systemVisitEnabled: (data?.data?.value ?? 'true').toLowerCase() === 'true',\n errorFetchingSystemVisitSetting: error,\n isLoadingSystemVisitSetting: isLoading,\n }),\n [data, isLoading, error],\n );\n\n return results;\n}\n","import {\n type DefaultWorkspaceProps,\n launchWorkspace,\n navigateAndLaunchWorkspace,\n usePatient,\n} from '@openmrs/esm-framework';\nimport { getPatientUuidFromUrl } from './get-patient-uuid-from-url';\nimport { useSystemVisitSetting } from './useSystemVisitSetting';\nimport { useVisitOrOfflineVisit } from './offline/visit';\nimport { useCallback } from 'react';\nimport { launchStartVisitPrompt } from './launchStartVisitPrompt';\n\nexport interface DefaultPatientWorkspaceProps extends DefaultWorkspaceProps {\n patientUuid: string;\n}\n\nexport function launchPatientWorkspace(workspaceName: string, additionalProps?: object) {\n const patientUuid = getPatientUuidFromUrl();\n launchWorkspace(workspaceName, {\n patientUuid: patientUuid,\n ...additionalProps,\n });\n}\n\nexport function launchPatientChartWithWorkspaceOpen({\n patientUuid,\n workspaceName,\n dashboardName,\n additionalProps,\n}: {\n patientUuid: string;\n workspaceName: string;\n dashboardName?: string;\n additionalProps?: object;\n}) {\n navigateAndLaunchWorkspace({\n targetUrl: '${openmrsSpaBase}/patient/' + `${patientUuid}/chart` + (dashboardName ? `/${dashboardName}` : ''),\n workspaceName: workspaceName,\n contextKey: `patient/${patientUuid}`,\n additionalProps,\n });\n}\n\nexport function useLaunchWorkspaceRequiringVisit<T extends object>(workspaceName: string) {\n const { patientUuid } = usePatient();\n const { systemVisitEnabled } = useSystemVisitSetting();\n const { currentVisit } = useVisitOrOfflineVisit(patientUuid);\n\n const launchPatientWorkspaceCb = useCallback(\n (additionalProps?: T) => {\n if (!systemVisitEnabled || currentVisit) {\n launchPatientWorkspace(workspaceName, additionalProps);\n } else {\n launchStartVisitPrompt();\n }\n },\n [currentVisit, systemVisitEnabled, workspaceName],\n );\n return launchPatientWorkspaceCb;\n}\n","export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;","// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\nvar getRandomValues;\nvar rnds8 = new Uint8Array(16);\nexport default function rng() {\n // lazy load so that environments that need to polyfill have a chance to do so\n if (!getRandomValues) {\n // getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation. Also,\n // find the complete implementation of crypto (msCrypto) on IE11.\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);\n\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n }\n\n return getRandomValues(rnds8);\n}","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nvar byteToHex = [];\n\nfor (var i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr) {\n var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","import rng from './rng.js';\nimport stringify from './stringify.js';\n\nfunction v4(options, buf, offset) {\n options = options || {};\n var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (var i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return stringify(rnds);\n}\n\nexport default v4;","import REGEX from './regex.js';\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\n\nexport default validate;","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","import baseIndexOf from './_baseIndexOf.js';\n\n/**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n}\n\nexport default arrayIncludes;\n","/**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n return false;\n}\n\nexport default arrayIncludesWith;\n","import baseFindIndex from './_baseFindIndex.js';\nimport baseIsNaN from './_baseIsNaN.js';\nimport strictIndexOf from './_strictIndexOf.js';\n\n/**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n}\n\nexport default baseIndexOf;\n","/**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\nfunction baseIsNaN(value) {\n return value !== value;\n}\n\nexport default baseIsNaN;\n","import SetCache from './_SetCache.js';\nimport arrayIncludes from './_arrayIncludes.js';\nimport arrayIncludesWith from './_arrayIncludesWith.js';\nimport cacheHas from './_cacheHas.js';\nimport createSet from './_createSet.js';\nimport setToArray from './_setToArray.js';\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\nfunction baseUniq(array, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n length = array.length,\n isCommon = true,\n result = [],\n seen = result;\n\n if (comparator) {\n isCommon = false;\n includes = arrayIncludesWith;\n }\n else if (length >= LARGE_ARRAY_SIZE) {\n var set = iteratee ? null : createSet(array);\n if (set) {\n return setToArray(set);\n }\n isCommon = false;\n includes = cacheHas;\n seen = new SetCache;\n }\n else {\n seen = iteratee ? [] : result;\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var seenIndex = seen.length;\n while (seenIndex--) {\n if (seen[seenIndex] === computed) {\n continue outer;\n }\n }\n if (iteratee) {\n seen.push(computed);\n }\n result.push(value);\n }\n else if (!includes(seen, computed, comparator)) {\n if (seen !== result) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n}\n\nexport default baseUniq;\n","import Set from './_Set.js';\nimport noop from './noop.js';\nimport setToArray from './_setToArray.js';\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Creates a set object of `values`.\n *\n * @private\n * @param {Array} values The values to add to the set.\n * @returns {Object} Returns the new set.\n */\nvar createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n return new Set(values);\n};\n\nexport default createSet;\n","/**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n}\n\nexport default strictIndexOf;\n","import baseKeys from './_baseKeys.js';\nimport getTag from './_getTag.js';\nimport isArguments from './isArguments.js';\nimport isArray from './isArray.js';\nimport isArrayLike from './isArrayLike.js';\nimport isBuffer from './isBuffer.js';\nimport isPrototype from './_isPrototype.js';\nimport isTypedArray from './isTypedArray.js';\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n setTag = '[object Set]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\nfunction isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value) &&\n (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n var tag = getTag(value);\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n}\n\nexport default isEmpty;\n","/**\n * This method returns `undefined`.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Util\n * @example\n *\n * _.times(2, _.noop);\n * // => [undefined, undefined]\n */\nfunction noop() {\n // No operation performed.\n}\n\nexport default noop;\n","import baseIteratee from './_baseIteratee.js';\nimport baseUniq from './_baseUniq.js';\n\n/**\n * This method is like `_.uniq` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * uniqueness is computed. The order of result values is determined by the\n * order they occur in the array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniqBy([2.1, 1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\nfunction uniqBy(array, iteratee) {\n return (array && array.length) ? baseUniq(array, baseIteratee(iteratee, 2)) : [];\n}\n\nexport default uniqBy;\n","import 'client-only';\nimport ReactExports, { useRef, useMemo, useCallback, useDebugValue } from 'react';\nimport { useSyncExternalStore } from 'use-sync-external-store/shim/index.js';\nimport { OBJECT, SWRConfig, defaultConfig, withArgs, SWRGlobalState, serialize, createCacheHelper, isUndefined, getTimestamp, UNDEFINED, isFunction, revalidateEvents, internalMutate, useIsomorphicLayoutEffect, subscribeCallback, IS_SERVER, rAF, IS_REACT_LEGACY, mergeObjects, withMiddleware } from 'swr/_internal';\n\n/// <reference types=\"react/experimental\" />\nconst use = ReactExports.use || ((promise)=>{\n if (promise.status === 'pending') {\n throw promise;\n } else if (promise.status === 'fulfilled') {\n return promise.value;\n } else if (promise.status === 'rejected') {\n throw promise.reason;\n } else {\n promise.status = 'pending';\n promise.then((v)=>{\n promise.status = 'fulfilled';\n promise.value = v;\n }, (e)=>{\n promise.status = 'rejected';\n promise.reason = e;\n });\n throw promise;\n }\n});\nconst WITH_DEDUPE = {\n dedupe: true\n};\nconst useSWRHandler = (_key, fetcher, config)=>{\n const { cache, compare, suspense, fallbackData, revalidateOnMount, revalidateIfStale, refreshInterval, refreshWhenHidden, refreshWhenOffline, keepPreviousData } = config;\n const [EVENT_REVALIDATORS, MUTATION, FETCH, PRELOAD] = SWRGlobalState.get(cache);\n // `key` is the identifier of the SWR internal state,\n // `fnArg` is the argument/arguments parsed from the key, which will be passed\n // to the fetcher.\n // All of them are derived from `_key`.\n const [key, fnArg] = serialize(_key);\n // If it's the initial render of this hook.\n const initialMountedRef = useRef(false);\n // If the hook is unmounted already. This will be used to prevent some effects\n // to be called after unmounting.\n const unmountedRef = useRef(false);\n // Refs to keep the key and config.\n const keyRef = useRef(key);\n const fetcherRef = useRef(fetcher);\n const configRef = useRef(config);\n const getConfig = ()=>configRef.current;\n const isActive = ()=>getConfig().isVisible() && getConfig().isOnline();\n const [getCache, setCache, subscribeCache, getInitialCache] = createCacheHelper(cache, key);\n const stateDependencies = useRef({}).current;\n const fallback = isUndefined(fallbackData) ? config.fallback[key] : fallbackData;\n const isEqual = (prev, current)=>{\n for(const _ in stateDependencies){\n const t = _;\n if (t === 'data') {\n if (!compare(prev[t], current[t])) {\n if (!isUndefined(prev[t])) {\n return false;\n }\n if (!compare(returnedData, current[t])) {\n return false;\n }\n }\n } else {\n if (current[t] !== prev[t]) {\n return false;\n }\n }\n }\n return true;\n };\n const getSnapshot = useMemo(()=>{\n const shouldStartRequest = (()=>{\n if (!key) return false;\n if (!fetcher) return false;\n // If `revalidateOnMount` is set, we take the value directly.\n if (!isUndefined(revalidateOnMount)) return revalidateOnMount;\n // If it's paused, we skip revalidation.\n if (getConfig().isPaused()) return false;\n if (suspense) return false;\n if (!isUndefined(revalidateIfStale)) return revalidateIfStale;\n return true;\n })();\n // Get the cache and merge it with expected states.\n const getSelectedCache = (state)=>{\n // We only select the needed fields from the state.\n const snapshot = mergeObjects(state);\n delete snapshot._k;\n if (!shouldStartRequest) {\n return snapshot;\n }\n return {\n isValidating: true,\n isLoading: true,\n ...snapshot\n };\n };\n const cachedData = getCache();\n const initialData = getInitialCache();\n const clientSnapshot = getSelectedCache(cachedData);\n const serverSnapshot = cachedData === initialData ? clientSnapshot : getSelectedCache(initialData);\n // To make sure that we are returning the same object reference to avoid\n // unnecessary re-renders, we keep the previous snapshot and use deep\n // comparison to check if we need to return a new one.\n let memorizedSnapshot = clientSnapshot;\n return [\n ()=>{\n const newSnapshot = getSelectedCache(getCache());\n const compareResult = isEqual(newSnapshot, memorizedSnapshot);\n if (compareResult) {\n // Mentally, we should always return the `memorizedSnapshot` here\n // as there's no change between the new and old snapshots.\n // However, since the `isEqual` function only compares selected fields,\n // the values of the unselected fields might be changed. That's\n // simply because we didn't track them.\n // To support the case in https://github.com/vercel/swr/pull/2576,\n // we need to update these fields in the `memorizedSnapshot` too\n // with direct mutations to ensure the snapshot is always up-to-date\n // even for the unselected fields, but only trigger re-renders when\n // the selected fields are changed.\n memorizedSnapshot.data = newSnapshot.data;\n memorizedSnapshot.isLoading = newSnapshot.isLoading;\n memorizedSnapshot.isValidating = newSnapshot.isValidating;\n memorizedSnapshot.error = newSnapshot.error;\n return memorizedSnapshot;\n } else {\n memorizedSnapshot = newSnapshot;\n return newSnapshot;\n }\n },\n ()=>serverSnapshot\n ];\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n cache,\n key\n ]);\n // Get the current state that SWR should return.\n const cached = useSyncExternalStore(useCallback((callback)=>subscribeCache(key, (current, prev)=>{\n if (!isEqual(prev, current)) callback();\n }), // eslint-disable-next-line react-hooks/exhaustive-deps\n [\n cache,\n key\n ]), getSnapshot[0], getSnapshot[1]);\n const isInitialMount = !initialMountedRef.current;\n const hasRevalidator = EVENT_REVALIDATORS[key] && EVENT_REVALIDATORS[key].length > 0;\n const cachedData = cached.data;\n const data = isUndefined(cachedData) ? fallback : cachedData;\n const error = cached.error;\n // Use a ref to store previously returned data. Use the initial data as its initial value.\n const laggyDataRef = useRef(data);\n const returnedData = keepPreviousData ? isUndefined(cachedData) ? laggyDataRef.current : cachedData : data;\n // - Suspense mode and there's stale data for the initial render.\n // - Not suspense mode and there is no fallback data and `revalidateIfStale` is enabled.\n // - `revalidateIfStale` is enabled but `data` is not defined.\n const shouldDoInitialRevalidation = (()=>{\n // if a key already has revalidators and also has error, we should not trigger revalidation\n if (hasRevalidator && !isUndefined(error)) return false;\n // If `revalidateOnMount` is set, we take the value directly.\n if (isInitialMount && !isUndefined(revalidateOnMount)) return revalidateOnMount;\n // If it's paused, we skip revalidation.\n if (getConfig().isPaused()) return false;\n // Under suspense mode, it will always fetch on render if there is no\n // stale data so no need to revalidate immediately mount it again.\n // If data exists, only revalidate if `revalidateIfStale` is true.\n if (suspense) return isUndefined(data) ? false : revalidateIfStale;\n // If there is no stale data, we need to revalidate when mount;\n // If `revalidateIfStale` is set to true, we will always revalidate.\n return isUndefined(data) || revalidateIfStale;\n })();\n // Resolve the default validating state:\n // If it's able to validate, and it should revalidate when mount, this will be true.\n const defaultValidatingState = !!(key && fetcher && isInitialMount && shouldDoInitialRevalidation);\n const isValidating = isUndefined(cached.isValidating) ? defaultValidatingState : cached.isValidating;\n const isLoading = isUndefined(cached.isLoading) ? defaultValidatingState : cached.isLoading;\n // The revalidation function is a carefully crafted wrapper of the original\n // `fetcher`, to correctly handle the many edge cases.\n const revalidate = useCallback(async (revalidateOpts)=>{\n const currentFetcher = fetcherRef.current;\n if (!key || !currentFetcher || unmountedRef.current || getConfig().isPaused()) {\n return false;\n }\n let newData;\n let startAt;\n let loading = true;\n const opts = revalidateOpts || {};\n // If there is no ongoing concurrent request, or `dedupe` is not set, a\n // new request should be initiated.\n const shouldStartNewRequest = !FETCH[key] || !opts.dedupe;\n /*\n For React 17\n Do unmount check for calls:\n If key has changed during the revalidation, or the component has been\n unmounted, old dispatch and old event callbacks should not take any\n effect\n\n For React 18\n only check if key has changed\n https://github.com/reactwg/react-18/discussions/82\n */ const callbackSafeguard = ()=>{\n if (IS_REACT_LEGACY) {\n return !unmountedRef.current && key === keyRef.current && initialMountedRef.current;\n }\n return key === keyRef.current;\n };\n // The final state object when the request finishes.\n const finalState = {\n isValidating: false,\n isLoading: false\n };\n const finishRequestAndUpdateState = ()=>{\n setCache(finalState);\n };\n const cleanupState = ()=>{\n // Check if it's still the same request before deleting it.\n const requestInfo = FETCH[key];\n if (requestInfo && requestInfo[1] === startAt) {\n delete FETCH[key];\n }\n };\n // Start fetching. Change the `isValidating` state, update the cache.\n const initialState = {\n isValidating: true\n };\n // It is in the `isLoading` state, if and only if there is no cached data.\n // This bypasses fallback data and laggy data.\n if (isUndefined(getCache().data)) {\n initialState.isLoading = true;\n }\n try {\n if (shouldStartNewRequest) {\n setCache(initialState);\n // If no cache is being rendered currently (it shows a blank page),\n // we trigger the loading slow event.\n if (config.loadingTimeout && isUndefined(getCache().data)) {\n setTimeout(()=>{\n if (loading && callbackSafeguard()) {\n getConfig().onLoadingSlow(key, config);\n }\n }, config.loadingTimeout);\n }\n // Start the request and save the timestamp.\n // Key must be truthy if entering here.\n FETCH[key] = [\n currentFetcher(fnArg),\n getTimestamp()\n ];\n }\n [newData, startAt] = FETCH[key];\n newData = await newData;\n if (shouldStartNewRequest) {\n // If the request isn't interrupted, clean it up after the\n // deduplication interval.\n setTimeout(cleanupState, config.dedupingInterval);\n }\n // If there're other ongoing request(s), started after the current one,\n // we need to ignore the current one to avoid possible race conditions:\n // req1------------------>res1 (current one)\n // req2---------------->res2\n // the request that fired later will always be kept.\n // The timestamp maybe be `undefined` or a number\n if (!FETCH[key] || FETCH[key][1] !== startAt) {\n if (shouldStartNewRequest) {\n if (callbackSafeguard()) {\n getConfig().onDiscarded(key);\n }\n }\n return false;\n }\n // Clear error.\n finalState.error = UNDEFINED;\n // If there're other mutations(s), that overlapped with the current revalidation:\n // case 1:\n // req------------------>res\n // mutate------>end\n // case 2:\n // req------------>res\n // mutate------>end\n // case 3:\n // req------------------>res\n // mutate-------...---------->\n // we have to ignore the revalidation result (res) because it's no longer fresh.\n // meanwhile, a new revalidation should be triggered when the mutation ends.\n const mutationInfo = MUTATION[key];\n if (!isUndefined(mutationInfo) && // case 1\n (startAt <= mutationInfo[0] || // case 2\n startAt <= mutationInfo[1] || // case 3\n mutationInfo[1] === 0)) {\n finishRequestAndUpdateState();\n if (shouldStartNewRequest) {\n if (callbackSafeguard()) {\n getConfig().onDiscarded(key);\n }\n }\n return false;\n }\n // Deep compare with the latest state to avoid extra re-renders.\n // For local state, compare and assign.\n const cacheData = getCache().data;\n // Since the compare fn could be custom fn\n // cacheData might be different from newData even when compare fn returns True\n finalState.data = compare(cacheData, newData) ? cacheData : newData;\n // Trigger the successful callback if it's the original request.\n if (shouldStartNewRequest) {\n if (callbackSafeguard()) {\n getConfig().onSuccess(newData, key, config);\n }\n }\n } catch (err) {\n cleanupState();\n const currentConfig = getConfig();\n const { shouldRetryOnError } = currentConfig;\n // Not paused, we continue handling the error. Otherwise, discard it.\n if (!currentConfig.isPaused()) {\n // Get a new error, don't use deep comparison for errors.\n finalState.error = err;\n // Error event and retry logic. Only for the actual request, not\n // deduped ones.\n if (shouldStartNewRequest && callbackSafeguard()) {\n currentConfig.onError(err, key, currentConfig);\n if (shouldRetryOnError === true || isFunction(shouldRetryOnError) && shouldRetryOnError(err)) {\n if (!getConfig().revalidateOnFocus || !getConfig().revalidateOnReconnect || isActive()) {\n // If it's inactive, stop. It will auto-revalidate when\n // refocusing or reconnecting.\n // When retrying, deduplication is always enabled.\n currentConfig.onErrorRetry(err, key, currentConfig, (_opts)=>{\n const revalidators = EVENT_REVALIDATORS[key];\n if (revalidators && revalidators[0]) {\n revalidators[0](revalidateEvents.ERROR_REVALIDATE_EVENT, _opts);\n }\n }, {\n retryCount: (opts.retryCount || 0) + 1,\n dedupe: true\n });\n }\n }\n }\n }\n }\n // Mark loading as stopped.\n loading = false;\n // Update the current hook's state.\n finishRequestAndUpdateState();\n return true;\n }, // `setState` is immutable, and `eventsCallback`, `fnArg`, and\n // `keyValidating` are depending on `key`, so we can exclude them from\n // the deps array.\n //\n // FIXME:\n // `fn` and `config` might be changed during the lifecycle,\n // but they might be changed every render like this.\n // `useSWR('key', () => fetch('/api/'), { suspense: true })`\n // So we omit the values from the deps array\n // even though it might cause unexpected behaviors.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [\n key,\n cache\n ]);\n // Similar to the global mutate but bound to the current cache and key.\n // `cache` isn't allowed to change during the lifecycle.\n const boundMutate = useCallback(// Use callback to make sure `keyRef.current` returns latest result every time\n (...args)=>{\n return internalMutate(cache, keyRef.current, ...args);\n }, // eslint-disable-next-line react-hooks/exhaustive-deps\n []);\n // The logic for updating refs.\n useIsomorphicLayoutEffect(()=>{\n fetcherRef.current = fetcher;\n configRef.current = config;\n // Handle laggy data updates. If there's cached data of the current key,\n // it'll be the correct reference.\n if (!isUndefined(cachedData)) {\n laggyDataRef.current = cachedData;\n }\n });\n // After mounted or key changed.\n useIsomorphicLayoutEffect(()=>{\n if (!key) return;\n const softRevalidate = revalidate.bind(UNDEFINED, WITH_DEDUPE);\n // Expose revalidators to global event listeners. So we can trigger\n // revalidation from the outside.\n let nextFocusRevalidatedAt = 0;\n const onRevalidate = (type, opts = {})=>{\n if (type == revalidateEvents.FOCUS_EVENT) {\n const now = Date.now();\n if (getConfig().revalidateOnFocus && now > nextFocusRevalidatedAt && isActive()) {\n nextFocusRevalidatedAt = now + getConfig().focusThrottleInterval;\n softRevalidate();\n }\n } else if (type == revalidateEvents.RECONNECT_EVENT) {\n if (getConfig().revalidateOnReconnect && isActive()) {\n softRevalidate();\n }\n } else if (type == revalidateEvents.MUTATE_EVENT) {\n return revalidate();\n } else if (type == revalidateEvents.ERROR_REVALIDATE_EVENT) {\n return revalidate(opts);\n }\n return;\n };\n const unsubEvents = subscribeCallback(key, EVENT_REVALIDATORS, onRevalidate);\n // Mark the component as mounted and update corresponding refs.\n unmountedRef.current = false;\n keyRef.current = key;\n initialMountedRef.current = true;\n // Keep the original key in the cache.\n setCache({\n _k: fnArg\n });\n // Trigger a revalidation\n if (shouldDoInitialRevalidation) {\n if (isUndefined(data) || IS_SERVER) {\n // Revalidate immediately.\n softRevalidate();\n } else {\n // Delay the revalidate if we have data to return so we won't block\n // rendering.\n rAF(softRevalidate);\n }\n }\n return ()=>{\n // Mark it as unmounted.\n unmountedRef.current = true;\n unsubEvents();\n };\n }, [\n key\n ]);\n // Polling\n useIsomorphicLayoutEffect(()=>{\n let timer;\n function next() {\n // Use the passed interval\n // ...or invoke the function with the updated data to get the interval\n const interval = isFunction(refreshInterval) ? refreshInterval(getCache().data) : refreshInterval;\n // We only start the next interval if `refreshInterval` is not 0, and:\n // - `force` is true, which is the start of polling\n // - or `timer` is not 0, which means the effect wasn't canceled\n if (interval && timer !== -1) {\n timer = setTimeout(execute, interval);\n }\n }\n function execute() {\n // Check if it's OK to execute:\n // Only revalidate when the page is visible, online, and not errored.\n if (!getCache().error && (refreshWhenHidden || getConfig().isVisible()) && (refreshWhenOffline || getConfig().isOnline())) {\n revalidate(WITH_DEDUPE).then(next);\n } else {\n // Schedule the next interval to check again.\n next();\n }\n }\n next();\n return ()=>{\n if (timer) {\n clearTimeout(timer);\n timer = -1;\n }\n };\n }, [\n refreshInterval,\n refreshWhenHidden,\n refreshWhenOffline,\n key\n ]);\n // Display debug info in React DevTools.\n useDebugValue(returnedData);\n // In Suspense mode, we can't return the empty `data` state.\n // If there is an `error`, the `error` needs to be thrown to the error boundary.\n // If there is no `error`, the `revalidation` promise needs to be thrown to\n // the suspense boundary.\n if (suspense && isUndefined(data) && key) {\n // SWR should throw when trying to use Suspense on the server with React 18,\n // without providing any initial data. See:\n // https://github.com/vercel/swr/issues/1832\n if (!IS_REACT_LEGACY && IS_SERVER) {\n throw new Error('Fallback data is required when using suspense in SSR.');\n }\n // Always update fetcher and config refs even with the Suspense mode.\n fetcherRef.current = fetcher;\n configRef.current = config;\n unmountedRef.current = false;\n const req = PRELOAD[key];\n if (!isUndefined(req)) {\n const promise = boundMutate(req);\n use(promise);\n }\n if (isUndefined(error)) {\n const promise = revalidate(WITH_DEDUPE);\n if (!isUndefined(returnedData)) {\n promise.status = 'fulfilled';\n promise.value = true;\n }\n use(promise);\n } else {\n throw error;\n }\n }\n return {\n mutate: boundMutate,\n get data () {\n stateDependencies.data = true;\n return returnedData;\n },\n get error () {\n stateDependencies.error = true;\n return error;\n },\n get isValidating () {\n stateDependencies.isValidating = true;\n return isValidating;\n },\n get isLoading () {\n stateDependencies.isLoading = true;\n return isLoading;\n }\n };\n};\nOBJECT.defineProperty(SWRConfig, 'defaultValue', {\n value: defaultConfig\n});\n/**\n * A hook to fetch data.\n *\n * @link https://swr.vercel.app\n * @example\n * ```jsx\n * import useSWR from 'swr'\n * function Profile() {\n * const { data, error, isLoading } = useSWR('/api/user', fetcher)\n * if (error) return <div>failed to load</div>\n * if (isLoading) return <div>loading...</div>\n * return <div>hello {data.name}!</div>\n * }\n * ```\n */ const useSWR = withArgs(useSWRHandler);\n\nconst immutable = (useSWRNext)=>(key, fetcher, config)=>{\n // Always override all revalidate options.\n config.revalidateOnFocus = false;\n config.revalidateIfStale = false;\n config.revalidateOnReconnect = false;\n return useSWRNext(key, fetcher, config);\n };\nconst useSWRImmutable = withMiddleware(useSWR, immutable);\n\nexport { useSWRImmutable as default, immutable };\n"],"names":["React","classNames","useLayoutType","styles","CardHeader","title","children","isTablet","div","className","tabletHeader","desktopHeader","h4","useMemo","last","useTranslation","useLocation","ConfigurableLink","DashboardExtension","path","basePath","moduleName","t","location","navLink","decodeURIComponent","pathname","split","key","to","encodeURIComponent","BrowserRouter","createDashboardLink","db","EmptyDataIllustration","width","height","svg","viewBox","g","fill","fillRule","d","circle","cx","cy","r","Button","Layer","Tile","EmptyState","props","layer","tile","tabletHeading","desktopHeading","headerTitle","p","content","displayText","toLowerCase","action","launchForm","onClick","kind","size","ErrorState","error","errorMessage","response","status","statusText","errorCopy","navigate","isEmpty","launchPatientWorkspace","launchStartVisitPrompt","launchFormEntryOrHtmlForms","htmlFormEntryForms","patientUuid","formUuid","visitUuid","encounterUuid","formName","visitTypeUuid","visitStartDatetime","visitStopDatetime","mutateForms","htmlForm","find","form","launchFormEntry","formEditUiPage","window","formUiResource","href","formUiPage","mutateForm","workspaceTitle","formInfo","getPatientUuidFromUrl","match","exec","showModal","dispose","closeModal","useEffect","ExtensionSlot","Accordion","AccordionItem","registerNavGroup","DashboardGroupExtension","slotName","isExpanded","open","style","border","name","state","createDashboardGroup","DashboardGroup","createGlobalStore","createUseStore","navGroupStore","navGroups","store","getState","setState","useNavGroups","getSynchronizationItems","queueSynchronizationItem","useConnectivity","useSession","useVisit","useState","v4","uuid","visitSyncType","useVisitOrOfflineVisit","isOnline","onlineVisit","offlineVisit","useOfflineVisit","data","isLoading","offlineVisitState","setOfflineVisitState","getOfflineVisitForPatient","then","offlineVisitToVisit","catch","err","activeVisit","currentVisit","isValidating","currentVisitIsRetrospective","mutate","useAutoCreatedOfflineVisit","offlineVisitTypeUuid","sessionLocation","createOfflineVisitForPatient","Date","finally","offlineVisits","visit","patient","startDatetime","patientRegistrationSyncItems","isVisitForOfflineRegisteredPatient","descriptor","some","item","fhirPatient","id","visitType","displayName","dependencies","type","toString","stopDatetime","encounters","display","openmrsFetch","parseDate","restBaseUrl","orderBasketStore","postOrdersOnNewEncounter","orderEncounterType","sessionLocationUuid","abortController","now","visitStartDate","visitEndDate","encounterDate","items","postDataPrepFunctions","patientItems","orders","encounterPostData","console","warn","Object","entries","forEach","grouping","groupOrders","order","push","encounterType","encounterDatetime","obs","headers","method","body","signal","res","postOrders","erroredItems","i","dto","postOrder","orderError","extractedOrderError","extractErrorDetails","length","errorObject","errorDetails","message","responseBody","fieldErrors","globalErrors","fieldName","initialState","_resetOrderBasketStore","useStoreWithActions","orderBasketStoreActions","setOrderBasketItems","value","keys","includes","setPostDataPrepFunctionForGrouping","getOrderItems","values","flat","clearOrders","options","exceptThoseMatchingFcn","exceptThoseMatching","newPatientItems","fromEntries","map","filter","useOrderBasket","postDataPrepFunction","setOrders","groupingKey","useSWR","useSWRConfig","useCallback","careSettingUuid","drugCustomRepresentation","usePatientOrders","orderType","baseOrdersUrl","ordersUrl","mutateOrders","startsWith","results","sort","order1","order2","dateActivated","useOrderTypes","orderTypesUrl","getDrugOrderByUuid","orderUuid","Pagination","usePaginationInfo","PatientChartPagination","totalItems","pageSize","onPageNumberChange","pageNumber","dashboardLinkUrl","currentItems","dashboardLinkLabel","urlLabel","itemsDisplayed","pageSizes","tablet","desktop","configurableLink","pagination","page","onChange","pageRangeText","_","total","count","numberOfPages","Math","ceil","isNaN","Array","x","pageItemsCount","patientSummaryExtensionOrder","Vitals","Biometrics","Conditions","Medications","getPatientSummaryOrder","extensionName","max","uniqBy","customRepresentation","useActivePatientEnrollment","activePatientEnrollment","a","b","dateEnrolled","enrollment","dateCompleted","program","time12HourFormatRegex","RegExp","convertTime12to24","time12h","timeFormat","parseInt","hours","minutes","useSWRImmutable","useAllowedFileExtensions","allowedFileExtensionsGlobalProperty","url","allowedFileExtensions","undefined","useSystemVisitSetting","systemVisitEnabled","errorFetchingSystemVisitSetting","isLoadingSystemVisitSetting","launchWorkspace","navigateAndLaunchWorkspace","usePatient","workspaceName","additionalProps","launchPatientChartWithWorkspaceOpen","dashboardName","targetUrl","contextKey","useLaunchWorkspaceRequiringVisit","launchPatientWorkspaceCb"],"sourceRoot":""}
|