@kenyaemr/esm-version-app 5.4.4-pre.96 → 5.4.5-pre.1005

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (371) hide show
  1. package/.turbo/turbo-build.log +4 -4
  2. package/dist/1072.js +1 -0
  3. package/dist/1072.js.map +1 -0
  4. package/dist/1148.js +1 -0
  5. package/dist/1148.js.map +1 -0
  6. package/dist/1278.js +1 -0
  7. package/dist/1278.js.map +1 -0
  8. package/dist/15.js +1 -0
  9. package/dist/15.js.map +1 -0
  10. package/dist/1620.js +1 -0
  11. package/dist/1620.js.map +1 -0
  12. package/dist/1668.js +1 -0
  13. package/dist/1668.js.map +1 -0
  14. package/dist/1789.js +1 -0
  15. package/dist/1789.js.map +1 -0
  16. package/dist/1831.js +1 -0
  17. package/dist/1831.js.map +1 -0
  18. package/dist/1844.js +1 -0
  19. package/dist/1844.js.map +1 -0
  20. package/dist/1946.js +1 -0
  21. package/dist/1946.js.map +1 -0
  22. package/dist/2007.js +1 -0
  23. package/dist/2007.js.map +1 -0
  24. package/dist/2115.js +1 -0
  25. package/dist/2115.js.map +1 -0
  26. package/dist/2202.js +1 -0
  27. package/dist/2202.js.map +1 -0
  28. package/dist/2394.js +1 -0
  29. package/dist/2394.js.map +1 -0
  30. package/dist/2534.js +1 -0
  31. package/dist/2534.js.map +1 -0
  32. package/dist/2537.js +1 -0
  33. package/dist/2537.js.map +1 -0
  34. package/dist/2556.js +1 -0
  35. package/dist/2556.js.map +1 -0
  36. package/dist/2648.js +1 -0
  37. package/dist/2648.js.map +1 -0
  38. package/dist/2795.js +1 -0
  39. package/dist/2795.js.map +1 -0
  40. package/dist/2842.js +1 -0
  41. package/dist/2842.js.map +1 -0
  42. package/dist/2916.js +1 -0
  43. package/dist/2916.js.map +1 -0
  44. package/dist/2924.js +1 -0
  45. package/dist/2924.js.map +1 -0
  46. package/dist/2947.js +1 -0
  47. package/dist/2947.js.map +1 -0
  48. package/dist/2971.js +1 -0
  49. package/dist/2971.js.map +1 -0
  50. package/dist/3137.js +1 -0
  51. package/dist/3137.js.map +1 -0
  52. package/dist/3284.js +1 -0
  53. package/dist/3284.js.map +1 -0
  54. package/dist/3285.js +1 -0
  55. package/dist/3285.js.map +1 -0
  56. package/dist/3335.js +1 -0
  57. package/dist/3335.js.map +1 -0
  58. package/dist/3378.js +1 -0
  59. package/dist/3378.js.map +1 -0
  60. package/dist/3504.js +1 -0
  61. package/dist/3504.js.map +1 -0
  62. package/dist/356.js +1 -0
  63. package/dist/356.js.map +1 -0
  64. package/dist/3569.js +1 -0
  65. package/dist/3569.js.map +1 -0
  66. package/dist/3723.js +1 -0
  67. package/dist/3723.js.map +1 -0
  68. package/dist/3745.js +1 -0
  69. package/dist/3745.js.map +1 -0
  70. package/dist/3754.js +1 -0
  71. package/dist/3754.js.map +1 -0
  72. package/dist/3813.js +1 -0
  73. package/dist/3813.js.map +1 -0
  74. package/dist/393.js +6 -0
  75. package/dist/393.js.map +1 -0
  76. package/dist/3953.js +1 -0
  77. package/dist/3953.js.map +1 -0
  78. package/dist/4178.js +1 -0
  79. package/dist/4178.js.map +1 -0
  80. package/dist/4308.js +1 -0
  81. package/dist/4308.js.map +1 -0
  82. package/dist/4487.js +11 -0
  83. package/dist/4487.js.map +1 -0
  84. package/dist/4588.js +1 -0
  85. package/dist/4588.js.map +1 -0
  86. package/dist/4637.js +1 -0
  87. package/dist/4637.js.map +1 -0
  88. package/dist/466.js +1 -0
  89. package/dist/466.js.map +1 -0
  90. package/dist/4732.js +1 -0
  91. package/dist/4732.js.map +1 -0
  92. package/dist/4817.js +1 -0
  93. package/dist/4817.js.map +1 -0
  94. package/dist/500.js +1 -0
  95. package/dist/500.js.map +1 -0
  96. package/dist/5086.js +1 -0
  97. package/dist/5086.js.map +1 -0
  98. package/dist/5117.js +1 -0
  99. package/dist/5117.js.map +1 -0
  100. package/dist/5366.js +1 -0
  101. package/dist/5366.js.map +1 -0
  102. package/dist/5526.js +1 -0
  103. package/dist/5526.js.map +1 -0
  104. package/dist/5598.js +1 -0
  105. package/dist/5598.js.map +1 -0
  106. package/dist/5676.js +1 -0
  107. package/dist/5676.js.map +1 -0
  108. package/dist/5731.js +5 -0
  109. package/dist/5731.js.map +1 -0
  110. package/dist/5825.js +1 -0
  111. package/dist/5825.js.map +1 -0
  112. package/dist/5932.js +1 -0
  113. package/dist/5932.js.map +1 -0
  114. package/dist/5941.js +1 -0
  115. package/dist/5941.js.map +1 -0
  116. package/dist/5967.js +1 -0
  117. package/dist/5967.js.map +1 -0
  118. package/dist/6104.js +1 -0
  119. package/dist/6104.js.map +1 -0
  120. package/dist/624.js +1 -0
  121. package/dist/624.js.map +1 -0
  122. package/dist/6259.js +1 -0
  123. package/dist/6259.js.map +1 -0
  124. package/dist/6273.js +1 -0
  125. package/dist/6273.js.map +1 -0
  126. package/dist/6337.js +1 -0
  127. package/dist/6337.js.map +1 -0
  128. package/dist/6427.js +1 -0
  129. package/dist/6427.js.map +1 -0
  130. package/dist/647.js +1 -0
  131. package/dist/647.js.map +1 -0
  132. package/dist/6478.js +7 -0
  133. package/dist/6478.js.map +1 -0
  134. package/dist/6508.js +1 -0
  135. package/dist/6508.js.map +1 -0
  136. package/dist/6561.js +1 -1
  137. package/dist/6561.js.map +1 -1
  138. package/dist/6567.js +1 -0
  139. package/dist/6567.js.map +1 -0
  140. package/dist/6634.js +1 -0
  141. package/dist/6634.js.map +1 -0
  142. package/dist/6868.js +1 -0
  143. package/dist/6868.js.map +1 -0
  144. package/dist/689.js +1 -0
  145. package/dist/689.js.map +1 -0
  146. package/dist/7022.js +1 -0
  147. package/dist/7022.js.map +1 -0
  148. package/dist/7120.js +1 -0
  149. package/dist/7120.js.map +1 -0
  150. package/dist/7360.js +1 -0
  151. package/dist/7360.js.map +1 -0
  152. package/dist/7364.js +1 -0
  153. package/dist/7364.js.map +1 -0
  154. package/dist/7453.js +1 -0
  155. package/dist/7453.js.map +1 -0
  156. package/dist/7478.js +1 -0
  157. package/dist/7478.js.map +1 -0
  158. package/dist/7782.js +1 -0
  159. package/dist/7782.js.map +1 -0
  160. package/dist/8028.js +1 -0
  161. package/dist/8028.js.map +1 -0
  162. package/dist/8196.js +1 -0
  163. package/dist/8196.js.map +1 -0
  164. package/dist/820.js +1 -0
  165. package/dist/820.js.map +1 -0
  166. package/dist/8240.js +1 -0
  167. package/dist/{1074.js.map → 8240.js.map} +1 -1
  168. package/dist/8472.js +1 -0
  169. package/dist/8472.js.map +1 -0
  170. package/dist/8607.js +1 -0
  171. package/dist/8607.js.map +1 -0
  172. package/dist/8762.js +1 -0
  173. package/dist/8762.js.map +1 -0
  174. package/dist/8924.js +1 -0
  175. package/dist/8924.js.map +1 -0
  176. package/dist/9060.js +1 -0
  177. package/dist/9060.js.map +1 -0
  178. package/dist/9087.js +1 -0
  179. package/dist/9087.js.map +1 -0
  180. package/dist/9168.js +1 -0
  181. package/dist/9168.js.map +1 -0
  182. package/dist/9425.js +1 -0
  183. package/dist/9520.js +1 -0
  184. package/dist/9520.js.map +1 -0
  185. package/dist/9547.js +1 -0
  186. package/dist/9547.js.map +1 -0
  187. package/dist/9612.js +1 -0
  188. package/dist/9612.js.map +1 -0
  189. package/dist/9632.js +1 -0
  190. package/dist/9632.js.map +1 -0
  191. package/dist/9774.js +1 -0
  192. package/dist/9774.js.map +1 -0
  193. package/dist/9806.js +1 -0
  194. package/dist/9806.js.map +1 -0
  195. package/dist/9885.js +1 -0
  196. package/dist/9885.js.map +1 -0
  197. package/dist/992.js +1 -0
  198. package/dist/992.js.map +1 -0
  199. package/dist/997.js +1 -0
  200. package/dist/997.js.map +1 -0
  201. package/dist/main.js +6 -5
  202. package/dist/main.js.map +1 -1
  203. package/dist/openmrs-esm-patient-verification-app.js +6 -5
  204. package/dist/openmrs-esm-patient-verification-app.js.buildmanifest.json +996 -508
  205. package/dist/openmrs-esm-patient-verification-app.js.map +1 -1
  206. package/dist/routes.json +1 -1
  207. package/package.json +2 -2
  208. package/src/about/about.component.test.tsx +108 -0
  209. package/src/about-link.component.test.tsx +13 -0
  210. package/src/frontend-modules/frontend-modules.component.test.tsx +8 -15
  211. package/src/registration/overview/registration.component.test.tsx +13 -0
  212. package/src/release-version.js +7 -7
  213. package/src/root.component.test.tsx +49 -0
  214. package/translations/fr.json +11 -1
  215. package/translations/sw.json +11 -11
  216. package/dist/1074.js +0 -1
  217. package/dist/1311.js +0 -1
  218. package/dist/1311.js.map +0 -1
  219. package/dist/1469.js +0 -1
  220. package/dist/1469.js.map +0 -1
  221. package/dist/1718.js +0 -1
  222. package/dist/1718.js.map +0 -1
  223. package/dist/1772.js +0 -1
  224. package/dist/1772.js.map +0 -1
  225. package/dist/1889.js +0 -1
  226. package/dist/1889.js.map +0 -1
  227. package/dist/1972.js +0 -1
  228. package/dist/1972.js.map +0 -1
  229. package/dist/1990.js +0 -1
  230. package/dist/1990.js.map +0 -1
  231. package/dist/2016.js +0 -1
  232. package/dist/2016.js.map +0 -1
  233. package/dist/2119.js +0 -1
  234. package/dist/2119.js.map +0 -1
  235. package/dist/2153.js +0 -1
  236. package/dist/2153.js.map +0 -1
  237. package/dist/216.js +0 -1
  238. package/dist/216.js.map +0 -1
  239. package/dist/2294.js +0 -1
  240. package/dist/2294.js.map +0 -1
  241. package/dist/2345.js +0 -1
  242. package/dist/2345.js.map +0 -1
  243. package/dist/2500.js +0 -1
  244. package/dist/2500.js.map +0 -1
  245. package/dist/251.js +0 -1
  246. package/dist/251.js.map +0 -1
  247. package/dist/257.js +0 -1
  248. package/dist/257.js.map +0 -1
  249. package/dist/2586.js +0 -1
  250. package/dist/2586.js.map +0 -1
  251. package/dist/2625.js +0 -1
  252. package/dist/2625.js.map +0 -1
  253. package/dist/2685.js +0 -1
  254. package/dist/2685.js.map +0 -1
  255. package/dist/2948.js +0 -1
  256. package/dist/2948.js.map +0 -1
  257. package/dist/3089.js +0 -1
  258. package/dist/3089.js.map +0 -1
  259. package/dist/3190.js +0 -1
  260. package/dist/3190.js.map +0 -1
  261. package/dist/3548.js +0 -1
  262. package/dist/3548.js.map +0 -1
  263. package/dist/3816.js +0 -1
  264. package/dist/3816.js.map +0 -1
  265. package/dist/3906.js +0 -1
  266. package/dist/3906.js.map +0 -1
  267. package/dist/3963.js +0 -1
  268. package/dist/3963.js.map +0 -1
  269. package/dist/405.js +0 -1
  270. package/dist/405.js.map +0 -1
  271. package/dist/4296.js +0 -1
  272. package/dist/4296.js.map +0 -1
  273. package/dist/4368.js +0 -1
  274. package/dist/4368.js.map +0 -1
  275. package/dist/4537.js +0 -1
  276. package/dist/4537.js.map +0 -1
  277. package/dist/4735.js +0 -1
  278. package/dist/4735.js.map +0 -1
  279. package/dist/4744.js +0 -1
  280. package/dist/4744.js.map +0 -1
  281. package/dist/4858.js +0 -1
  282. package/dist/4858.js.map +0 -1
  283. package/dist/487.js +0 -1
  284. package/dist/487.js.map +0 -1
  285. package/dist/5128.js +0 -1
  286. package/dist/5128.js.map +0 -1
  287. package/dist/5192.js +0 -17
  288. package/dist/5192.js.map +0 -1
  289. package/dist/5202.js +0 -1
  290. package/dist/5202.js.map +0 -1
  291. package/dist/5592.js +0 -1
  292. package/dist/5592.js.map +0 -1
  293. package/dist/5669.js +0 -1
  294. package/dist/5669.js.map +0 -1
  295. package/dist/5795.js +0 -1
  296. package/dist/5795.js.map +0 -1
  297. package/dist/5880.js +0 -1
  298. package/dist/5880.js.map +0 -1
  299. package/dist/6178.js +0 -1
  300. package/dist/6178.js.map +0 -1
  301. package/dist/6373.js +0 -13
  302. package/dist/6373.js.map +0 -1
  303. package/dist/6456.js +0 -1
  304. package/dist/6492.js +0 -1
  305. package/dist/6492.js.map +0 -1
  306. package/dist/6495.js +0 -1
  307. package/dist/6495.js.map +0 -1
  308. package/dist/6800.js +0 -1
  309. package/dist/6800.js.map +0 -1
  310. package/dist/6962.js +0 -1
  311. package/dist/6962.js.map +0 -1
  312. package/dist/7005.js +0 -1
  313. package/dist/7005.js.map +0 -1
  314. package/dist/7201.js +0 -1
  315. package/dist/7201.js.map +0 -1
  316. package/dist/7234.js +0 -1
  317. package/dist/7234.js.map +0 -1
  318. package/dist/7261.js +0 -1
  319. package/dist/7261.js.map +0 -1
  320. package/dist/7326.js +0 -1
  321. package/dist/7463.js +0 -1
  322. package/dist/7463.js.map +0 -1
  323. package/dist/7497.js +0 -1
  324. package/dist/7497.js.map +0 -1
  325. package/dist/7607.js +0 -1
  326. package/dist/7626.js +0 -1
  327. package/dist/7626.js.map +0 -1
  328. package/dist/7701.js +0 -1
  329. package/dist/7701.js.map +0 -1
  330. package/dist/7717.js +0 -1
  331. package/dist/7717.js.map +0 -1
  332. package/dist/7739.js +0 -1
  333. package/dist/7739.js.map +0 -1
  334. package/dist/7765.js +0 -1
  335. package/dist/7765.js.map +0 -1
  336. package/dist/7971.js +0 -1
  337. package/dist/7971.js.map +0 -1
  338. package/dist/8159.js +0 -7
  339. package/dist/8159.js.map +0 -1
  340. package/dist/8244.js +0 -1
  341. package/dist/8244.js.map +0 -1
  342. package/dist/8252.js +0 -4
  343. package/dist/8252.js.map +0 -1
  344. package/dist/845.js +0 -1
  345. package/dist/845.js.map +0 -1
  346. package/dist/8570.js +0 -1
  347. package/dist/8570.js.map +0 -1
  348. package/dist/87.js +0 -1
  349. package/dist/87.js.map +0 -1
  350. package/dist/8727.js +0 -1
  351. package/dist/9124.js +0 -1
  352. package/dist/9124.js.map +0 -1
  353. package/dist/9182.js +0 -1
  354. package/dist/921.js +0 -1
  355. package/dist/921.js.map +0 -1
  356. package/dist/9404.js +0 -1
  357. package/dist/9404.js.map +0 -1
  358. package/dist/9446.js +0 -1
  359. package/dist/9446.js.map +0 -1
  360. package/dist/9449.js +0 -1
  361. package/dist/9449.js.map +0 -1
  362. package/dist/9566.js +0 -5
  363. package/dist/9566.js.map +0 -1
  364. package/dist/9641.js +0 -1
  365. package/dist/9641.js.map +0 -1
  366. package/dist/9801.js +0 -1
  367. package/dist/9801.js.map +0 -1
  368. package/dist/9835.js +0 -11
  369. package/dist/9835.js.map +0 -1
  370. package/dist/9900.js +0 -1
  371. package/dist/9900.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"2115.js","sources":["webpack://@kenyaemr/esm-version-app/../../node_modules/@carbon/icons-react/es/generated/bucket-15.js","webpack://@kenyaemr/esm-version-app/../../node_modules/@carbon/icons-react/es/generated/bucket-16.js"],"names":["r"],"mappings":"yNA+9BA,IAAM,EAA4B,cAAgB,CAAC,SAAqB,CAAE,UAAQ,CAAE,OAAO,EAAE,CAAE,GAAG,EAAM,CAAEA,CAAG,EAC5G,OAAO,iBAAmB,CAAC,GAAI,CAAE,CAChC,MAAO,EACP,OAAQ,EACRA,IAAAA,EACA,MAAO,6BACP,QAAS,YACT,KAAM,eACN,GAAG,CAAI,AACR,EAAmB,UAAI,OAAQ,CAAE,EAAG,qFAAsF,GAAI,EAC/H,GAEM,EAAmC,cAAgB,CAAC,SAA4B,CAAE,UAAQ,CAAE,OAAO,EAAE,CAAE,GAAG,EAAM,CAAEA,CAAG,EAC1H,OAAO,iBAAmB,CAAC,GAAI,CAAE,CAChC,MAAO,EACP,OAAQ,EACRA,IAAAA,EACA,MAAO,6BACP,QAAS,YACT,KAAM,eACN,GAAG,CAAI,AACR,EAAmB,UAAI,OAAQ,CAAE,EAAG,qFAAsF,GAAoB,UAAI,OAAQ,CAAE,EAAG,uCAAwC,GAAI,EAC5M,E,wFC0LA,IAAM,EAAuB,cAAgB,CAAC,SAAgB,CAAE,UAAQ,CAAE,OAAO,EAAE,CAAE,GAAG,EAAM,CAAEA,CAAG,SAClG,AAAI,AAAS,KAAT,GAAe,AAAS,OAAT,GAAiB,AAAS,SAAT,EAAwB,iBAAmB,CAAC,GAAI,CAAE,CACrF,MAAO,EACP,OAAQ,EACRA,IAAAA,EACA,MAAO,6BACP,QAAS,YACT,KAAM,eACN,GAAG,CAAI,AACR,EAAmB,UAAI,OAAQ,CAAE,EAAG,iKAAkK,GAAI,GACnM,iBAAmB,CAAC,GAAI,CAAE,CAChC,MAAO,EACP,OAAQ,EACRA,IAAAA,EACA,MAAO,6BACP,QAAS,YACT,KAAM,eACN,GAAG,CAAI,AACR,EAAmB,UAAI,OAAQ,CAAE,EAAG,qHAAsH,GAAI,EAC/J,GA+VM,EAAyB,cAAgB,CAAC,SAAkB,CAAE,UAAQ,CAAE,OAAO,EAAE,CAAE,GAAG,EAAM,CAAEA,CAAG,SACtG,AAAI,AAAS,KAAT,GAAe,AAAS,OAAT,GAAiB,AAAS,SAAT,EAAwB,iBAAmB,CAAC,GAAI,CAAE,CACrF,MAAO,EACP,OAAQ,EACRA,IAAAA,EACA,MAAO,6BACP,QAAS,YACT,KAAM,eACN,GAAG,CAAI,AACR,EAAmB,UAAI,OAAQ,CAAE,EAAG,26BAA46B,GAAoB,UAAI,OAAQ,CAAE,EAAG,yNAA0N,GAAI,GAC5sC,iBAAmB,CAAC,GAAI,CAAE,CAChC,MAAO,EACP,OAAQ,EACRA,IAAAA,EACA,MAAO,6BACP,QAAS,YACT,KAAM,eACN,GAAG,CAAI,AACR,EAAmB,UAAI,OAAQ,CAAE,EAAG,83BAA+3B,GAAoB,UAAI,OAAQ,CAAE,EAAG,qIAAsI,GAAI,EACnlC,E"}
package/dist/2202.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_version_app=globalThis.webpackChunk_kenyaemr_esm_version_app||[]).push([["2202"],{33874(t,e,n){n.d(e,{A:()=>u});var r=n(77827),o=n.n(r),i=n(41798),a=n.n(i)()(o());a.push([t.id,"@keyframes -esm-version__snackbar-module__slideInFromLeft___IN3-I{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@keyframes -esm-version__snackbar-module__slideOutToLeft___UyZ-L{0%{transform:translateX(0)}100%{transform:translateX(-100%)}}.-esm-version__snackbar-module__animated___ckeEB{animation-duration:250ms;animation-timing-function:ease-in-out}.-esm-version__snackbar-module__slideIn___4uNtW{animation-name:-esm-version__snackbar-module__slideInFromLeft___IN3-I}.-esm-version__snackbar-module__slideOut___GJ5vd{animation-name:-esm-version__snackbar-module__slideOutToLeft___UyZ-L}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/dist/snackbars/snackbar.module.scss"],names:[],mappings:"AAAA,kEACE,GACE,2BAAA,CAEF,KACE,uBAAA,CAAA,CAIJ,iEACE,GACE,uBAAA,CAEF,KACE,2BAAA,CAAA,CAIJ,iDACE,wBAAA,CACA,qCAAA,CAGF,gDACE,qEAAA,CAGF,iDACE,oEAAA",sourcesContent:["@keyframes slideInFromLeft {\n 0% {\n transform: translateX(-100%);\n }\n 100% {\n transform: translateX(0);\n }\n}\n\n@keyframes slideOutToLeft {\n 0% {\n transform: translateX(0);\n }\n 100% {\n transform: translateX(-100%);\n }\n}\n\n.animated {\n animation-duration: 250ms;\n animation-timing-function: ease-in-out;\n}\n\n.slideIn {\n animation-name: slideInFromLeft;\n}\n\n.slideOut {\n animation-name: slideOutToLeft;\n}\n"],sourceRoot:""}]),a.locals={animated:"-esm-version__snackbar-module__animated___ckeEB",slideIn:"-esm-version__snackbar-module__slideIn___4uNtW",slideInFromLeft:"-esm-version__snackbar-module__slideInFromLeft___IN3-I",slideOut:"-esm-version__snackbar-module__slideOut___GJ5vd",slideOutToLeft:"-esm-version__snackbar-module__slideOutToLeft___UyZ-L"};let u=a},13062(t,e,n){n.d(e,{K:()=>a});var r=n(31085);n(35400);var o=n(31888),i=n(77399),a=function(t){var e=t.children;return"tablet"===(0,i.qv)()?(0,r.jsx)(o.Layer,{children:e}):(0,r.jsx)(r.Fragment,{children:e})}},52324(t,e,n){n.d(e,{t:()=>y,Z:()=>m});var r=n(31085),o=n(35400),i=n(25873),a=n(33696),u=n(57448);function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function l(t,e){if(t){if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}}let s=function(t){var e,n=t.subject,i=function(t){if(Array.isArray(t))return t}(e=(0,o.useState)([]))||function(t){var e,n,r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var o=[],i=!0,a=!1;try{for(r=r.call(t);!(i=(e=r.next()).done)&&(o.push(e.value),2!==o.length);i=!0);}catch(t){a=!0,n=t}finally{try{i||null==r.return||r.return()}finally{if(a)throw n}}return o}}(e)||l(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),a=i[0],s=i[1],f=(0,o.useCallback)(function(t){s(function(e){return e.filter(function(e){return e!==t})})},[]);return(0,o.useEffect)(function(){var t=n.subscribe(function(t){return s(function(e){var n;return((function(t){if(Array.isArray(t))return c(t)})(n=e.filter(function(e){return e.subtitle!==t.subtitle||e.actionButtonLabel!==t.actionButtonLabel||e.onActionButtonClick!==t.onActionButtonClick||e.kind!==t.kind||e.title!==t.title}))||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||l(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([t])})});return function(){return t.unsubscribe()}},[n]),(0,r.jsx)(r.Fragment,{children:a.map(function(t){return(0,r.jsx)(u.q,{snackbar:t,closeSnackbar:function(){return f(t)}},t.id)})})};var f=new a.B7,b=0;function m(t){t&&(0,i.createRoot)(t).render((0,r.jsx)(s,{subject:f}))}function y(t){var e;t&&"string"==typeof(e=t.title)&&e.trim().length>0?setTimeout(function(){var e,n;f.next((e=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){var r;r=n[e],e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r})}return t}({},t),n=n={id:b++},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):(function(t){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e.push.apply(e,n)}return e})(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}),e))},0):console.error("showSnackbar must be called with an object having a 'title' property that is a non-empty string")}},57448(t,e,n){n.d(e,{q:()=>S});var r=n(31085),o=n(35400),i=n(53373),a=n.n(i),u=n(31888),c=n(1083),l=n(72591),s=n.n(l),f=n(1740),b=n.n(f),m=n(88128),y=n.n(m),d=n(30855),p=n.n(d),v=n(93051),A=n.n(v),_=n(73656),O=n.n(_),h=n(33874),g={};g.styleTagTransform=O(),g.setAttributes=p(),g.insert=y().bind(null,"head"),g.domAPI=b(),g.insertStyleElement=A(),s()(h.A,g);let j=h.A&&h.A.locals?h.A.locals:void 0;function k(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function w(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function C(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n,r,o=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var i=[],a=!0,u=!1;try{for(o=o.call(t);!(a=(n=o.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){u=!0,r=t}finally{try{a||null==o.return||o.return()}finally{if(u)throw r}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return k(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var S=function(t){var e,n=t.snackbar,i=t.closeSnackbar,l=n.actionButtonLabel,s=n.kind,f=void 0===s?"success":s,b=n.onActionButtonClick,m=void 0===b?function(){}:b,y=n.isLowContrast,d=n.progressActionLabel,p=n.subtitle,v=n.timeoutInMs,A=void 0===v?5e3:v,_=n.autoClose,O=void 0===_?"error"!==f:_,h=n.title,g=(n.id,function(t,e){if(null==t)return{};var n,r,o,i={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,n=Reflect.ownKeys(Object(t));o<n.length;o++)r=n[o],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r]);return i}if(i=function(t,e){if(null==t)return{};var n,r,o={},i=Object.getOwnPropertyNames(t);for(r=0;r<i.length;r++)n=i[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n]);return o}(t,e),Object.getOwnPropertySymbols)for(o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)r=n[o],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r]);return i}(n,["actionButtonLabel","kind","onActionButtonClick","isLowContrast","progressActionLabel","subtitle","timeoutInMs","autoClose","title","id"])),k=C((0,o.useState)(void 0===l?"":l),2),S=k[0],I=k[1],E=C((0,o.useState)(!0),2),P=E[0],L=E[1],B=C((0,o.useState)(!1),2),T=B[0],x=B[1],D=(0,o.useCallback)(function(){setTimeout(i,250)},[i]),F=(0,o.useCallback)(function(){x(!0),D()},[D]);return(0,o.useEffect)(function(){if(O){var t=setTimeout(F,A);return function(){return clearTimeout(t)}}},[A,O,F]),(0,o.useEffect)(function(){L(!1),window.setTimeout(function(){L(!0)},0)},[]),(0,r.jsx)(u.ActionableNotification,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){w(t,e,n[e])})}return t}({actionButtonLabel:S,"aria-label":(0,c.V)("closeSnackbar","Close snackbar"),className:a()(j.slideIn,(w(e={},j.animated,P),w(e,j.slideOut,T),e)),kind:f,lowContrast:void 0===y?"error"!==f:y,onActionButtonClick:function(){m(),F(),d&&I(d)},onClose:D,statusIconDescription:(0,c.V)("snackbarNotification","Snackbar notification"),subtitle:void 0===p?"":p,title:h},g))}},24206(t,e,n){n.d(e,{u:()=>r});function r(t){var e=document.querySelector("template#loading-spinner");if(e){var n=e.content.cloneNode(!0),r=Array.prototype.map.call(n.childNodes,function(t){return t});return t.appendChild(n),function(){return r.forEach(function(t){return t.remove()})}}return function(){}}},74674(t,e,n){n.d(e,{f:()=>y,P:()=>d});var r=n(31085),o=n(35400),i=n(25873),a=n(33696),u=n(65255);function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function l(t,e){if(t){if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}}let s=function(t){var e,n=t.subject,i=function(t){if(Array.isArray(t))return t}(e=(0,o.useState)([]))||function(t){var e,n,r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var o=[],i=!0,a=!1;try{for(r=r.call(t);!(i=(e=r.next()).done)&&(o.push(e.value),2!==o.length);i=!0);}catch(t){a=!0,n=t}finally{try{i||null==r.return||r.return()}finally{if(a)throw n}}return o}}(e)||l(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),a=i[0],s=i[1],f=(0,o.useCallback)(function(t){s(function(e){return e.filter(function(e){return e!==t})})},[]);return(0,o.useEffect)(function(){var t=n.subscribe(function(t){return s(function(e){var n;return((function(t){if(Array.isArray(t))return c(t)})(n=e.filter(function(e){return e.description!==t.description||e.kind!==t.kind||e.title!==t.title||e.actionButtonLabel!==t.actionButtonLabel||e.onActionButtonClick!==t.onActionButtonClick}))||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||l(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([t])})});return function(){return t.unsubscribe()}},[n]),(0,r.jsx)(r.Fragment,{children:a.map(function(t){return(0,r.jsx)(u.y,{toast:t,closeToast:function(){return f(t)}},t.id)})})};var f=n(75992),b=new a.B7,m=0;function y(t){t&&(0,i.createRoot)(t).render((0,r.jsx)(s,{subject:b}))}function d(t){var e;t&&("string"==typeof(e=t.description)?e.trim().length>0:(void 0===e?"undefined":e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)=="object"&&!(0,f.A)(e))?setTimeout(function(){var e,n;b.next((e=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){var r;r=n[e],e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r})}return t}({},t),n=n={id:m++},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):(function(t){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e.push.apply(e,n)}return e})(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}),e))},0):console.error("showToast must be called with an object having a 'description' property that is a non-empty string or object")}},65255(t,e,n){n.d(e,{y:()=>a});var r=n(31085),o=n(35400),i=n(31888),a=function(t){var e=t.toast,n=t.closeToast,a=e.description,u=e.kind,c=e.critical,l=e.title,s=e.actionButtonLabel,f=e.onActionButtonClick,b=void 0===f?function(){}:f,m=(0,o.useCallback)(function(){b(),n()},[n,b]);return(0,r.jsx)("div",{children:(0,r.jsx)(i.ActionableNotification,{actionButtonLabel:s,kind:u||"info",lowContrast:c,subtitle:a,title:l||"",onActionButtonClick:m,onClose:n})})}}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"2202.js","sources":["webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/dist/snackbars/snackbar.module.scss","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/dist/responsive-wrapper/responsive-wrapper.component.js","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/dist/snackbars/active-snackbar.component.js","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/dist/snackbars/index.js","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/dist/snackbars/snackbar.module.scss?c45c","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/dist/snackbars/snackbar.component.js","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/dist/spinner/index.js","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/dist/toasts/active-toasts.component.js","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/dist/toasts/index.js","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/dist/toasts/toast.component.js"],"names":["ResponsiveWrapper","children","layout","useLayoutType","_jsx","Layer","_Fragment","subject","_useState","snackbars","setSnackbars","closeSnackbar","useCallback","snackbar","t","useEffect","subscription","n","Snackbar","closeSnackbar1","snackbarsSubject","Subject","snackbarId","renderSnackbars","target","root","createRoot","ActiveSnackbars","showSnackbar","title","setTimeout","console","_obj","removeSnackBarFromDom","actionButtonLabel","kind","onActionButtonClick","isLowContrast","progressActionLabel","subtitle","timeoutInMs","autoClose","props","id","actionText","setActionText","_useState1","applyAnimation","setApplyAnimation","_useState2","isClosing","setIsClosing","onCloseSnackbar","timeoutId","clearTimeout","window","ActionableNotification","getCoreTranslation","classnames","styles","renderLoadingSpinner","template","document","frag","refs","Array","m","child","toasts","setToasts","closeToast","toast","Toast","closeToast1","toastsSubject","toastId","renderToasts","ActiveToasts","showToast","description","_type_of","isEmpty","critical","handleActionClick"],"mappings":"sMAGI,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,4lBAA6lB,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,6FAA6F,CAAC,MAAQ,EAAE,CAAC,SAAW,sJAAsJ,eAAiB,CAAC,ucAAuc,CAAC,WAAa,EAAE,EAAE,EAEt5C,EAAwB,MAAM,CAAG,CAChC,SAAY,kDACZ,QAAW,iDACX,gBAAmB,yDACnB,SAAY,kDACZ,eAAkB,uDACnB,EACA,MAAe,C,kFCNEA,EAAoB,Y,IAAGC,EAAAA,EAAAA,QAAQ,OAG5C,AADiBC,AAAW,WADbC,AAAAA,GAAAA,EAAAA,EAAAA,AAAAA,IAGUC,AAAAA,GAAAA,EAAAA,GAAAA,AAAAA,EAAKC,EAAAA,KAAKA,CAAE,CAC7B,SAAUJ,CACd,GAEiBG,AAAAA,GAAAA,EAAAA,GAAAA,AAAAA,EAAKE,EAAAA,QAASA,CAAE,CACjC,SAAUL,CACd,EACJ,C,8eCKA,MArBwB,Y,MAAGM,EAAAA,EAAAA,OAAO,CACIC,E,4CAAAA,AAAAA,GAAAA,EAAAA,QAAAA,AAAAA,EAAS,EAAE,I,sLAAA,I,sHA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CayC,EAAQ,Y,IAAGD,EAAAA,EAAAA,KAAK,CAAED,EAAAA,EAAAA,UAAU,CAC7BS,EAAwFR,EAAxFQ,WAAW,CAAE5C,EAA2EoC,EAA3EpC,IAAI,CAAE+C,EAAqEX,EAArEW,QAAQ,CAAErD,EAA2D0C,EAA3D1C,KAAK,CAAEK,EAAoDqC,EAApDrC,iBAAiB,CAAE,EAAiCqC,EAAjCnC,mBAAmB,CAAnBA,EAAsB,AAAtBA,KAAAA,IAAsB,aAAK,IACpF+C,EAAoBvE,AAAAA,GAAAA,EAAAA,WAAAA,AAAAA,EAAY,WAClCwB,IACAkC,GACJ,EAAG,CACCA,EACAlC,EACH,EACD,MAAqBhC,AAAAA,GAAAA,EAAAA,GAAAA,AAAAA,EAAK,MAAO,CAC7B,SAAwBA,AAAAA,GAAAA,EAAAA,GAAAA,AAAAA,EAAKoD,EAAAA,sBAAsBA,CAAE,CACjD,kBAAmBtB,EACnB,KAAMC,GAAQ,OACd,YAAa+C,EACb,SAAUH,EACV,MAAOlD,GAAS,GAChB,oBAAqBsD,EACrB,QAASb,CACb,EACJ,EACJ,C"}
package/dist/2394.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_version_app=globalThis.webpackChunk_kenyaemr_esm_version_app||[]).push([["2394"],{87044(e,t,r){r.d(t,{A:()=>i});var n=r(24748),o=r(53373),c=r.n(o);r(35400);var l=r(39067),a=r.n(l),s=r(31085);function i(e){var t,r,o=e.rowCount,l=e.className,a=function(e,t){if(null==e)return{};var r,n,o,c={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(Object(e));o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n]);return c}if(c=function(e,t){if(null==e)return{};var r,n,o={},c=Object.getOwnPropertyNames(e);for(n=0;n<c.length;n++)r=c[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n]);return c}(e,["rowCount","className"]),i=(0,n.M)(),u=c()("".concat(i,"--skeleton"),"".concat(i,"--structured-list"),l),d=Array(void 0===o?5:o).fill(null).map(function(e,t){return(0,s.jsxs)("div",{className:"".concat(i,"--structured-list-row"),children:[(0,s.jsx)("div",{className:"".concat(i,"--structured-list-td")}),(0,s.jsx)("div",{className:"".concat(i,"--structured-list-td")}),(0,s.jsx)("div",{className:"".concat(i,"--structured-list-td")})]},t)});return(0,s.jsxs)("div",(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({className:u},a),r=r={children:[(0,s.jsx)("div",{className:"".concat(i,"--structured-list-thead"),children:(0,s.jsxs)("div",{className:"".concat(i,"--structured-list-row ").concat(i,"--structured-list-row--header-row"),children:[(0,s.jsx)("div",{className:"".concat(i,"--structured-list-th"),children:(0,s.jsx)("span",{})}),(0,s.jsx)("div",{className:"".concat(i,"--structured-list-th"),children:(0,s.jsx)("span",{})}),(0,s.jsx)("div",{className:"".concat(i,"--structured-list-th"),children:(0,s.jsx)("span",{})})]})}),(0,s.jsx)("div",{className:"".concat(i,"--structured-list-tbody"),children:d})]},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))}i.propTypes={className:a().string,rowCount:a().number}},1017(e,t,r){r.d(t,{AV:()=>C,Au:()=>I,Cv:()=>k,GR:()=>S,Um:()=>E,r9:()=>N});var n,o=r(24748),c=r(78269),l=r(76777),a=r(67960),s=r(4593),i=r(53373),u=r.n(i),d=r(35400),p=r.n(d),f=r(39067),b=r.n(f),y=r(31085),m=r(6924);function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){O(e,t,r[t])})}return e}function v(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function g(e,t){if(null==e)return{};var r,n,o,c={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(Object(e));o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n]);return c}if(c=function(e,t){if(null==e)return{};var r,n,o={},c=Object.getOwnPropertyNames(e);for(n=0;n<c.length;n++)r=c[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n]);return c}function w(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var c=[],l=!0,a=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(c.push(r.value),!t||c.length!==t);l=!0);}catch(e){a=!0,n=e}finally{try{l||null==o.return||o.return()}finally{if(a)throw n}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var x=p().createContext(null),P=p().createContext(null);function N(e){var t,r=e.children,n=e.selection,c=e.className,l=e["aria-label"],a=e.ariaLabel,s=e.isCondensed,i=e.isFlush,d=e.selectedInitialRow,f=g(e,["children","selection","className","aria-label","ariaLabel","isCondensed","isFlush","selectedInitialRow"]),b=(0,o.M)(),m=u()("".concat(b,"--structured-list"),(O(t={},"".concat(b,"--structured-list--selection"),n),O(t,"".concat(b,"--structured-list--condensed"),s),O(t,"".concat(b,"--structured-list--flush"),i&&!n),t),c),h=w(p().useState(null!=d?d:null),2),N=h[0],C=h[1];return(0,y.jsx)(x.Provider,{value:N,children:(0,y.jsx)(P.Provider,{value:C,children:(0,y.jsx)("div",v(j({role:"table",className:m},f),{"aria-label":a||(void 0===l?"Structured list section":l),children:r}))})})}function C(e){var t=e.children,r=e.className,n=g(e,["children","className"]);return(0,y.jsx)("div",v(j({role:"rowgroup",className:u()("".concat((0,o.M)(),"--structured-list-thead"),r)},n),{children:t}))}function S(e){var t=e.children,r=e.className,n=g(e,["children","className"]);return(0,y.jsx)("div",v(j({className:u()("".concat((0,o.M)(),"--structured-list-tbody"),r),role:"rowgroup"},n),{children:t}))}O(n={},"aria-label",b().string),O(n,"ariaLabel",(0,a.C)(b().string,"This prop syntax has been deprecated. Please use the new `aria-label`.")),O(n,"children",b().node),O(n,"className",b().string),O(n,"isCondensed",b().bool),O(n,"isFlush",b().bool),O(n,"selection",b().bool),O(n,"selectedInitialRow",b().string),N.propTypes=n,C.propTypes={children:b().node,className:b().string},S.propTypes={children:b().node,className:b().string,head:b().bool,onKeyDown:b().func};var D=p().createContext(null);function k(e){var t,r=e.onKeyDown,n=e.children,c=e.className,a=e.head,i=e.onClick,f=e.selection,b=e.id,h=g(e,["onKeyDown","children","className","head","onClick","selection","id"]),N=w((0,d.useState)(!1),2),C=N[0],S=N[1],k=(0,l.B)("grid-input"),I=null!=b?b:k,K=p().useContext(x),M=p().useContext(P),T=(0,o.M)(),R=u()("".concat(T,"--structured-list-row"),(O(t={},"".concat(T,"--structured-list-row--header-row"),a),O(t,"".concat(T,"--structured-list-row--focused-within"),C&&!f||C&&f&&(K===I||null===K)),O(t,"".concat(T,"--structured-list-row--selected"),K===I),t),c),A=(0,d.useRef)(null);return(0,s.j)(A,function(){S(!1)}),a?(0,y.jsxs)("div",v(j({role:"row"},h),{className:R,children:[f&&(0,y.jsx)(E,{head:!0}),n]})):(0,y.jsx)("div",v(j({},h),{role:"row",className:R,ref:A,onClick:function(e){null==M||M(I),null==i||i(e),f&&S(!0)},onFocus:function(e){(f||e.currentTarget===e.target)&&S(!0)},onBlur:function(){S(!1)},onKeyDown:r,children:(0,y.jsxs)(D.Provider,{value:{id:I},children:[f&&(0,y.jsx)(E,{children:K===I?(0,y.jsx)(m.ly,{className:"".concat(T,"--structured-list__icon")}):(0,y.jsx)(m.a,{className:"".concat(T,"--structured-list__icon")})}),n]})}))}function I(e){var t,r=(0,l.B)("structureListInput"),n=e.className,c=e.name,a=void 0===c?"structured-list-input-".concat(r):c,s=e.title,i=e.id,d=e.onChange,f=g(e,["className","name","title","id","onChange"]),b=(0,o.M)(),m=u()("".concat(b,"--structured-list-input"),"".concat(b,"--visually-hidden"),n),h=p().useContext(D),O=p().useContext(x),w=p().useContext(P);return(0,y.jsx)("input",v(j({},f),{type:"radio",tabIndex:0,checked:!!h&&h.id===O,value:null!=(t=null==h?void 0:h.id)?t:"",onChange:function(e){null==w||w(e.target.value),null==d||d(e)},id:null!=i?i:r,className:m,name:a,title:s}))}function E(e){var t,r=e.children,n=e.className,l=e.head,a=e.noWrap,s=g(e,["children","className","head","noWrap"]),i=(0,o.M)(),d=u()((O(t={},"".concat(i,"--structured-list-th"),l),O(t,"".concat(i,"--structured-list-td"),!l),O(t,"".concat(i,"--structured-list-content--nowrap"),a),t),n);return l?(0,y.jsx)(c.E,v(j({className:d,role:"columnheader"},s),{children:r})):(0,y.jsx)(c.E,v(j({as:"div",className:d,role:"cell"},s),{children:r}))}k.propTypes={children:b().node,className:b().string,head:b().bool,label:(0,a.C)(b().bool,"\nThe `label` prop is no longer needed and will be removed in the next major version of Carbon."),onClick:b().func,onKeyDown:b().func,selection:b().bool,id:b().string},I.propTypes={className:b().string,defaultChecked:(0,a.C)(b().bool,"\nThe prop `defaultChecked` is no longer needed and will be removed in the next major version of Carbon."),id:b().string,name:b().string,onChange:b().func,title:b().string,value:(0,a.C)(b().oneOfType([b().string,b().number]).isRequired,"\nThe prop `value` will be removed in the next major version of Carbon.")},E.propTypes={children:b().node,className:b().string,head:b().bool,noWrap:b().bool}},226(e,t,r){r.d(t,{A:()=>b});var n=r(24748),o=r(83091),c=r(9542),l=r(53373),a=r.n(l),s=r(35400),i=r(39067),u=r.n(i),d=r(31085);function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var b=(0,s.forwardRef)(function(e,t){var r,l,i,u,b=e.align,y=e.children,m=e.className,h=e.disabled,O=e.enterDelayMs,j=e.index,v=e.leaveDelayMs,g=e.name,w=e.onClick,x=void 0===w?o.H:w,P=e.onKeyDown,N=void 0===P?o.H:P,C=e.selected,S=void 0!==C&&C,D=e.size,k=e.text,I=function(e,t){if(null==e)return{};var r,n,o,c={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(Object(e));o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n]);return c}if(c=function(e,t){if(null==e)return{};var r,n,o={},c=Object.getOwnPropertyNames(e);for(n=0;n<c.length;n++)r=c[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n]);return c}(e,["align","children","className","disabled","enterDelayMs","index","leaveDelayMs","name","onClick","onKeyDown","selected","size","text"]),E=(0,n.M)(),K=function(e){if(Array.isArray(e))return e}(r=(0,s.useState)(!1))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],c=!0,l=!1;try{for(n=n.call(e);!(c=(t=n.next()).done)&&(o.push(t.value),2!==o.length);c=!0);}catch(e){l=!0,r=e}finally{try{c||null==n.return||n.return()}finally{if(l)throw r}}return o}}(r)||function(e){if(e){if("string"==typeof e)return p(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return p(e,2)}}(r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),M=K[0],T=K[1],R=function(){T(!0)},A=function(){T(!1)},_=a()(m,"".concat(E,"--content-switcher-btn"),f({},"".concat(E,"--content-switcher--selected"),S)),F=a()("".concat(E,"--content-switcher-popover__wrapper"),(f(u={},"".concat(E,"--content-switcher-popover--selected"),S),f(u,"".concat(E,"--content-switcher-popover--disabled"),h),u));return(0,d.jsx)(c.K,(l=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){f(e,t,r[t])})}return e}({label:k,type:"button",ref:t,role:"tab",tabIndex:S||M?0:-1,onMouseEnter:R,onMouseLeave:A,onFocus:R,onBlur:A,"aria-selected":S,"aria-label":k,wrapperClasses:F},I),i=i={align:b,className:_,disabled:h,enterDelayMs:O,leaveDelayMs:void 0===v?0:v,onClick:function(e){e.preventDefault(),x({index:j,name:g,text:k})},onKeyDown:function(e){N({index:j,name:g,text:k,key:e.key||e.which})},size:D,children:y},Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(i)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(i)).forEach(function(e){Object.defineProperty(l,e,Object.getOwnPropertyDescriptor(i,e))}),l))});b.displayName="IconSwitch",b.propTypes={align:u().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","right"]),children:u().node,className:u().string,disabled:u().bool,enterDelayMs:u().number,index:u().number,leaveDelayMs:u().number,name:u().oneOfType([u().string,u().number]),onClick:u().func,onKeyDown:u().func,selected:u().bool,size:u().oneOf(["sm","md","lg"]),text:u().string}},90199(e,t,r){r.d(t,{A:()=>f});var n=r(24748),o=r(83091),c=r(53373),l=r.n(c),a=r(35400),s=r.n(a),i=r(39067),u=r.n(i),d=r(31085);function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=s().forwardRef(function(e,t){var r,c,a=e.children,s=e.className,i=e.disabled,u=e.index,f=e.name,b=e.onClick,y=void 0===b?o.H:b,m=e.onKeyDown,h=void 0===m?o.H:m,O=e.selected,j=void 0!==O&&O,v=e.text,g=function(e,t){if(null==e)return{};var r,n,o,c={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(Object(e));o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n]);return c}if(c=function(e,t){if(null==e)return{};var r,n,o={},c=Object.getOwnPropertyNames(e);for(n=0;n<c.length;n++)r=c[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n]);return c}(e,["children","className","disabled","index","name","onClick","onKeyDown","selected","text"]),w=(0,n.M)(),x={onClick:function(e){e.preventDefault(),null==y||y({index:u,name:f,text:v})},onKeyDown:function(e){var t=e.key||e.which;null==h||h({index:u,name:f,text:v,key:t})},className:l()(s,"".concat(w,"--content-switcher-btn"),p({},"".concat(w,"--content-switcher--selected"),j)),disabled:i};return(0,d.jsx)("button",(r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){p(e,t,r[t])})}return e}({type:"button",ref:t,role:"tab",tabIndex:j?0:-1,"aria-selected":j},g,x),c=c={children:(0,d.jsx)("span",{className:"".concat(w,"--content-switcher__label"),title:v,children:void 0!==v?v:a})},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(c)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(c)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(c,e))}),r))});f.displayName="Switch",f.propTypes={children:u().node,className:u().string,disabled:u().bool,index:u().number,name:u().oneOfType([u().string,u().number]),onClick:u().func,onKeyDown:u().func,selected:u().bool,text:u().string}}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"2394.js","sources":["webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/node_modules/@carbon/react/es/components/StructuredList/StructuredList.Skeleton.js","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/node_modules/@carbon/react/es/components/StructuredList/StructuredList.js","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/node_modules/@carbon/react/es/components/Switch/IconSwitch.js","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/node_modules/@carbon/react/es/components/Switch/Switch.js"],"names":["StructuredListSkeleton","rowCount","className","rest","prefix","usePrefix","classNames$1","classNames","rows","Array","_","i","jsxs","jsx","PropTypes","_obj","GridSelectedRowStateContext","React","GridSelectedRowDispatchContext","StructuredListWrapper","props","children","selection","tmp","deprecatedAriaLabel","isCondensed","isFlush","selectedInitialRow","other","classes","_React_useState","selectedRow","setSelectedRow","StructuredListHead","StructuredListBody","deprecate","GridRowContext","StructuredListRow","onKeyDown","head","onClick","id","_useState","hasFocusWithin","setHasFocusWithin","generatedRowId","useId","rowId","itemRef","useRef","useOutsideClick","StructuredListCell","onClick1","event","onFocus","onBlur","value","RadioButtonChecked","RadioButton","StructuredListInput","defaultId","name","title","onChange","row","onChange1","noWrap","Text","IconSwitch","forwardRef","ref","align","disabled","enterDelayMs","index","leaveDelayMs","noopFn","selected","size","text","isHovered","setIsHovered","handleMouseEnter","handleMouseLeave","iconButtonClasses","IconButton","Switch","tabRef","commonProps","e","key"],"mappings":"kPAmBA,SAASA,EAAuB,CAAoC,E,YAAlCC,QAAQ,CAAMC,EAAAA,EAAAA,SAAS,CAAKC,EAAAA,A,wnBAAAA,EAAAA,C,yBACvDC,EAASC,AAAAA,GAAAA,EAAAA,CAAAA,AAAAA,IACTC,EAAeC,IAAY,GAAS,OAAPH,EAAO,cAAc,GAAS,OAAPA,EAAO,qBAAoBF,GAC/EM,EAAO,AAAIC,MAH2B,AAAXR,KAAAA,IAAW,OAGX,IAAI,CAAC,MAAM,GAAG,CAAC,SAACS,CAAC,CAAEC,CAAC,E,MAAqBC,AAAAA,GAAAA,EAAAA,IAAAA,AAAAA,EAAK,MAAO,CACrF,UAAY,GAAS,OAAPR,EAAO,yBACrB,SAAU,CACOS,AAAAA,GAAAA,EAAAA,GAAAA,AAAAA,EAAI,MAAO,CAAE,UAAY,GAAS,OAAPT,EAAO,uBAAsB,GACxDS,AAAAA,GAAAA,EAAAA,GAAAA,AAAAA,EAAI,MAAO,CAAE,UAAY,GAAS,OAAPT,EAAO,uBAAsB,GACxDS,AAAAA,GAAAA,EAAAA,GAAAA,AAAAA,EAAI,MAAO,CAAE,UAAY,GAAS,OAAPT,EAAO,uBAAsB,GACxE,AACF,EAAGO,E,GACH,MAAuBC,AAAAA,GAAAA,EAAAA,IAAAA,AAAAA,EAAK,O,EAAO,A,iaAAA,CAClC,UAAWN,C,EACRH,G,IAAAA,CACH,SAAU,CAAiBU,AAAAA,GAAAA,EAAAA,GAAAA,AAAAA,EAAI,MAAO,CACrC,UAAY,GAAS,OAAPT,EAAO,2BACrB,SAA0BQ,AAAAA,GAAAA,EAAAA,IAAAA,AAAAA,EAAK,MAAO,CACrC,UAAY,GAAiCR,MAAAA,CAA/BA,EAAO,0BAA+B,OAAPA,EAAO,qCACpD,SAAU,CACOS,AAAAA,GAAAA,EAAAA,GAAAA,AAA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AIV,UAAWA,IAAAA,MAAAA,CAIX,SAAUA,IAAAA,IAAAA,CAKV,MAAOA,IAAAA,MAAAA,CAIP,KAAMA,IAAAA,SAAmB,CAAC,CAACA,IAAAA,MAAAA,CAAkBA,IAAAA,MAAAA,CAAiB,EAK9D,QAASA,IAAAA,IAAAA,CAKT,UAAWA,IAAAA,IAAAA,CAIX,SAAUA,IAAAA,IAAAA,CAIV,KAAMA,IAAAA,MAAAA,AACP,C"}
package/dist/2534.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_version_app=globalThis.webpackChunk_kenyaemr_esm_version_app||[]).push([["2534"],{32505(e,t,i){i.d(t,{C6:()=>n});var a=function(e,t){return(a=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)};function n(e,t){function i(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}},99549(e,t,i){i(18780).audit,i(13441).auditTime,i(11853).buffer,i(77650).bufferCount,i(94360).bufferTime,i(43381).bufferToggle,i(51069).bufferWhen,i(85916).catchError,i(90239).combineAll,i(79397).combineLatest,i(66255).concat,i(60208).concatAll,i(92209).concatMap,i(83232).concatMapTo,i(85476).count,i(59768).debounce,i(92661).debounceTime,i(90952).defaultIfEmpty,i(17436).delay,i(41136).delayWhen,i(56051).dematerialize,i(85343).distinct,i(88179).distinctUntilChanged,i(43670).distinctUntilKeyChanged,i(57366).elementAt,i(61650).endWith,i(92472).every,i(65893).exhaust,i(29219).exhaustMap,i(76527).expand,i(64629).filter,i(4349).finalize,i(32376).find,i(8674).findIndex,i(77089).first,i(36217).groupBy,i(76024).ignoreElements,i(87362).isEmpty,i(6047).last,t.map=i(89233).map,i(27296).mapTo,i(75434).materialize,i(57001).max,i(14779).merge,i(80980).mergeAll;var a=i(60781);a.mergeMap,a.flatMap,i(62988).mergeMapTo,i(86430).mergeScan,i(21547).min,i(49529).multicast,i(24654).observeOn,i(45276).onErrorResumeNext,i(98155).pairwise,i(27337).partition,i(86050).pluck,i(96904).publish,i(82334).publishBehavior,i(20232).publishLast,i(24355).publishReplay,i(89646).race,i(71929).reduce,i(30068).repeat,i(58440).repeatWhen,i(39933).retry,i(53325).retryWhen,i(85203).refCount,i(27677).sample,i(88360).sampleTime,i(85002).scan,i(54332).sequenceEqual,i(49184).share,i(91451).shareReplay,i(76003).single,i(67124).skip,i(31444).skipLast,i(51026).skipUntil,i(79159).skipWhile,i(89155).startWith,i(30162).subscribeOn,i(21324).switchAll,i(20917).switchMap,i(35428).switchMapTo,t.take=i(85624).take,i(96696).takeLast,i(41534).takeUntil,i(5179).takeWhile,i(68022).tap,i(15019).throttle,i(7406).throttleTime,i(8347).throwIfEmpty,i(61115).timeInterval,i(82784).timeout,i(35816).timeoutWith,i(20367).timestamp,i(89133).toArray,i(22363).window,i(32216).windowCount,i(93886).windowTime,i(83903).windowToggle,i(27539).windowWhen,i(76788).withLatestFrom,i(64868).zip,i(85517).zipAll}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"2534.js","sources":["webpack://@kenyaemr/esm-version-app/../../node_modules/rxjs/node_modules/tslib/tslib.es6.js","webpack://@kenyaemr/esm-version-app/../../node_modules/rxjs/operators/index.js"],"names":["Object","Array"],"mappings":"oKAgBA,IAAI,EAAgB,SAAS,CAAC,CAAE,CAAC,EAI7B,MAAO,AAHP,GAAgBA,OAAO,cAAc,EAChC,EAAE,UAAW,EAAE,AAAC,aAAaC,OAAS,SAAU,CAAC,CAAE,CAAC,EAAI,EAAE,SAAS,CAAG,CAAG,GAC1E,SAAU,CAAC,CAAE,CAAC,EAAI,IAAK,IAAI,KAAK,EAAO,EAAE,cAAc,CAAC,IAAI,EAAC,CAAC,EAAE,CAAG,CAAC,CAAC,EAAE,AAAD,CAAG,GACxD,EAAG,EAC5B,EAEO,SAAS,EAAU,CAAC,CAAE,CAAC,EAE1B,SA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AADF,EAAQ,OACM,SAAS,CAErB,AADF,EAAQ,OACM,SAAS,CAErB,AADF,EAAQ,OACM,SAAS,CAEnB,AADF,EAAQ,OACQ,WAAW,CAE3B,AADF,EAAQ,OACM,SAAS,CAErB,AADF,EAAQ,OACM,SAAS,CAEnB,AADF,EAAQ,OACQ,WAAW,CAE/C,EAAQ,IAAI,CAAG,AADF,EAAQ,OACC,IAAI,CAEP,AADF,EAAQ,OACK,QAAQ,CAElB,AADF,EAAQ,OACM,SAAS,CAErB,AADF,EAAQ,MACM,SAAS,CAE3B,AADF,EAAQ,OACA,GAAG,CAEJ,AADF,EAAQ,OACK,QAAQ,CAEf,AADF,EAAQ,MACS,YAAY,CAE3B,AADF,EAAQ,MACS,YAAY,CAE3B,AADF,EAAQ,OACS,YAAY,CAEhC,AADF,EAAQ,OACI,OAAO,CAEb,AADF,EAAQ,OACQ,WAAW,CAE3B,AADF,EAAQ,OACM,SAAS,CAEvB,AADF,EAAQ,OACI,OAAO,CAElB,AADF,EAAQ,OACG,MAAM,CAEV,AADF,EAAQ,OACQ,WAAW,CAE1B,AADF,EAAQ,OACO,UAAU,CAErB,AADF,EAAQ,OACS,YAAY,CAE7B,AADF,EAAQ,OACO,UAAU,CAEnB,AADF,EAAQ,OACW,cAAc,CAE1C,AADF,EAAQ,OACA,GAAG,CAEN,AADF,EAAQ,OACG,MAAM,A"}
package/dist/2537.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_version_app=globalThis.webpackChunk_kenyaemr_esm_version_app||[]).push([["2537"],{76552(e,t,r){r.d(t,{Ln:()=>p,Yv:()=>s,rL:()=>f,zC:()=>d});var n=r(43783),o=r(1083),a=r(35263);function i(e,t,r,n,o,a,i){try{var l=e[a](i),c=l.value}catch(e){r(e);return}l.done?t(c):Promise.resolve(c).then(n,o)}function l(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var a=e.apply(t,r);function l(e){i(a,n,o,l,c,"next",e)}function c(e){i(a,n,o,l,c,"throw",e)}l(void 0)})}}function c(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function u(e,t){var r,n,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),l=Object.defineProperty;return l(i,"next",{value:c(0)}),l(i,"throw",{value:c(1)}),l(i,"return",{value:c(2)}),"function"==typeof Symbol&&l(i,Symbol.iterator,{value:function(){return this}}),i;function c(l){return function(c){var u=[l,c];if(r)throw TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(a=0)),a;)try{if(r=1,n&&(o=2&u[0]?n.return:u[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,u[1])).done)return o;switch(n=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,n=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],n=0}finally{r=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}function s(e){return e.replace(/[\/\-@]/g,"_")}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"./start",n=arguments.length>2?arguments[2]:void 0;return l(function(){var o,a,i,l,f,p,v;return u(this,function(u){switch(u.label){case 0:return o=(null==n?void 0:n.maxLoadingTime)&&!(n.maxLoadingTime<=0)?n.maxLoadingTime:6e5,a=void 0,[4,Promise.race([d(e,null==n?void 0:n.importMap),new Promise(function(t,r){a=setTimeout(function(){var t;r(Error("Could not resolve requested script, ".concat(e,", within ").concat((t=o)<1e3?"".concat(t," milliseconds"):t<6e4?"".concat(Math.floor(t/1e3)," seconds"):t<36e5?"".concat(Math.floor(t/6e4)," minutes"):t<864e5?"".concat(Math.floor(t/36e5)," hours"):"".concat(Math.floor(t/864e5)," days"),".")))},o)})])];case 1:var m;if(u.sent(),a&&clearTimeout(a),i=s(e),!((void 0===(m=l=window[i])?"undefined":c(m))==="object"&&null!==m&&"init"in m&&"function"==typeof m.init&&"get"in m&&"function"==typeof m.get))throw console.error(f="The global variable ".concat(i," does not refer to a federated module")),Error(f);return l.init(r.S.default),[4,l.get(t)];case 2:if((void 0===(p=u.sent()())?"undefined":c(p))!=="object"||null===p)throw console.error(v="Container for ".concat(e," did not return an ESM module as expected")),Error(v);return[2,p]}})})()}function d(e,t){return l(function(){var r,i,l,c,f,d,m;return u(this,function(u){switch(u.label){case 0:if("string"!=typeof e||0===e.trim().length)throw console.error("Attempted to call importDynamic() without supplying a package to load"),Error("Attempted to call importDynamic() without supplying a package to load");if(r=s(e),window[r])return[3,7];if(null==t)return[3,1];return l=t,[3,3];case 1:return[4,p()];case 2:l=u.sent(),u.label=3;case 3:if(!(i=l).imports.hasOwnProperty(e))throw console.error(c="Could not find the package ".concat(e," defined in the current importmap")),Error(c);(f=i.imports[e]).startsWith("./")&&(f=window.spaBase+f.substring(1)),d=e in(0,a.uT)().imports,u.label=4;case 4:return u.trys.push([4,6,,7]),[4,new Promise(function(e,t){!function(e,t,r){var n,o,a,i=document.head.querySelector('script[src="'.concat(e,'"]')),l=window[v];if(l||(l=window[v]=new Set([])),i)l.has(e)?(a=function(){n&&i.removeEventListener("load",n),o&&i.removeEventListener("error",o)},n=function(){a(),t(null)},o=function(e){a(),r(e.message)},i.addEventListener("load",n),i.addEventListener("error",o)):(console.warn("Script at ".concat(e," already loaded. Not loading it again.")),t(null));else{l.add(e);var c,u,s,f=document.createElement("script");f.src=e,f.type="text/javascript",f.async=!0;var d=setTimeout(function(){console.error("The script at ".concat(e," did not load within 5 seconds. This may indicate an issue with the imports in the script's entry-point file or with the script's bundler configuration."))},5e3);s=function(){clearTimeout(d),l.delete(e),c&&f.removeEventListener("load",c),u&&f.removeEventListener("error",u)},c=function(){s(),t(null)},u=function(t){s();var n,o="Failed to load script from ".concat(e);console.error(o,t),r(null!=(n=t.message)?n:o)},f.addEventListener("load",c),f.addEventListener("error",u),document.head.appendChild(f)}}(f,e,t)})];case 5:return[2,u.sent()];case 6:return m=u.sent(),d&&(0,n.Vt)({kind:"error",title:(0,o.V)("scriptLoadingFailed","Error: Script failed to load"),description:(0,o.V)("scriptLoadingError","Failed to load overridden script from {{- url}}. Please check that the bundled script is available at the expected URL. Click the button below to reset all import map overrides.",{url:f}),actionButtonLabel:(0,o.V)("resetOverrides","Reset overrides"),onActionButtonClick:function(){(0,a.w_)(),window.location.reload()}}),[2,Promise.reject(m)];case 7:return[2,Promise.resolve()]}})})()}function p(){return l(function(){return u(this,function(e){return[2,(0,a.F$)()]})})()}var v=Symbol("__openmrs_script_loading")},35263(e,t,r){function n(e,t,r,n,o,a,i){try{var l=e[a](i),c=l.value}catch(e){r(e);return}l.done?t(c):Promise.resolve(c).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise(function(o,a){var i=e.apply(t,r);function l(e){n(i,o,a,l,c,"next",e)}function c(e){n(i,o,a,l,c,"throw",e)}l(void 0)})}}function a(e,t){var r,n,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),l=Object.defineProperty;return l(i,"next",{value:c(0)}),l(i,"throw",{value:c(1)}),l(i,"return",{value:c(2)}),"function"==typeof Symbol&&l(i,Symbol.iterator,{value:function(){return this}}),i;function c(l){return function(c){var u=[l,c];if(r)throw TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(a=0)),a;)try{if(r=1,n&&(o=2&u[0]?n.return:u[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,u[1])).done)return o;switch(n=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,n=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],n=0}finally{r=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}r.d(t,{BX:()=>I,E:()=>S,F$:()=>v,SM:()=>k,fd:()=>g,o5:()=>h,q1:()=>b,tK:()=>m,uT:()=>y,w_:()=>E,xI:()=>w});var i="import-map-override:",l="import-map-overrides-disabled",c="import-map-overrides:change",u=!1,s=null;function f(){return o(function(){var e,t,r,n,o,i,l;return a(this,function(a){switch(a.label){case 0:e=document.querySelectorAll('script[type="systemjs-importmap"]'),t=[],r=0,a.label=1;case 1:if(!(r<e.length))return[3,9];n=e[r],a.label=2;case 2:if(a.trys.push([2,7,,8]),!n.src)return[3,5];return[4,fetch(n.src)];case 3:return o=a.sent(),i=t.push,[4,o.json()];case 4:return i.apply(t,[a.sent()]),[3,6];case 5:n.textContent&&t.push(JSON.parse(n.textContent)),a.label=6;case 6:return[3,8];case 7:return l=a.sent(),console.warn("[import-maps] Failed to parse import map from script tag at index ".concat(r),l),[3,8];case 8:return r++,[3,1];case 9:return[2,d(t)]}})})()}function d(e){var t={imports:{}},r=!0,n=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done);r=!0){var l=a.value;(null==l?void 0:l.imports)&&Object.assign(t.imports,l.imports)}}catch(e){n=!0,o=e}finally{try{r||null==i.return||i.return()}finally{if(n)throw o}}return t}function p(){var e={};try{for(var t=w(),r=0;r<localStorage.length;r++){var n=localStorage.key(r);if(null==n?void 0:n.startsWith(i)){var o=n.slice(i.length);if(!t.includes(o)){var a=localStorage.getItem(n);a&&(e[o]=a)}}}}catch(e){console.warn("[import-maps] Failed to read import-map overrides from localStorage",e)}return{imports:e}}function v(){return o(function(){var e;return a(this,function(t){switch(t.label){case 0:return[4,f()];case 1:if(e=t.sent(),!u)return[2,e];return[2,d([e,null!=s?s:p()])]}})})()}function m(){return o(function(){return a(this,function(e){return[2,f()]})})()}function h(){return o(function(){return a(this,function(e){switch(e.label){case 0:if(!u)return[2,f()];return[4,f()];case 1:return[2,d([e.sent(),p()])]}})})()}function y(e){if(!u)return{imports:{}};if(e){for(var t={},r=0;r<localStorage.length;r++){var n=localStorage.key(r);if(null==n?void 0:n.startsWith(i)){var o=localStorage.getItem(n);o&&(t[n.slice(i.length)]=o)}}return{imports:t}}return p()}function w(){if(!u)return[];try{var e=localStorage.getItem(l);if(e){var t=JSON.parse(e);if(Array.isArray(t))return t}}catch(e){}return[]}function b(e){return!!u&&w().includes(e)}function g(e,t){if(!u)return void console.warn("[Security] Import map overrides are disabled in production mode.");try{localStorage.setItem(i+e,t),window.dispatchEvent(new CustomEvent(c))}catch(e){console.warn("[import-maps] Failed to write import-map override to localStorage",e)}}function S(e){if(!u)return void console.warn("[Security] Import map overrides are disabled in production mode.");try{localStorage.removeItem(i+e);var t=w().filter(function(t){return t!==e});t.length>0?localStorage.setItem(l,JSON.stringify(t)):localStorage.removeItem(l),window.dispatchEvent(new CustomEvent(c))}catch(e){console.warn("[import-maps] Failed to update import-map overrides in localStorage",e)}}function E(){if(!u)return void console.warn("[Security] Import map overrides are disabled in production mode.");try{for(var e=[],t=0;t<localStorage.length;t++){var r=localStorage.key(t);(null==r?void 0:r.startsWith(i))&&e.push(r)}e.forEach(function(e){return localStorage.removeItem(e)}),localStorage.removeItem(l),window.dispatchEvent(new CustomEvent(c))}catch(e){console.warn("[import-maps] Failed to clear import-map overrides from localStorage",e)}}function I(e){if(!u)return void console.warn("[Security] Import map overrides are disabled in production mode.");try{var t=w().filter(function(t){return t!==e});t.length>0?localStorage.setItem(l,JSON.stringify(t)):localStorage.removeItem(l),window.dispatchEvent(new CustomEvent(c))}catch(e){console.warn("[import-maps] Failed to update import-map overrides in localStorage",e)}}var x=!1;function k(){!x&&(x=!0,(u="development"===window.spaEnv)&&(s=p()))}},7136(e,t,r){r.d(t,{xI:()=>o.xI,E:()=>o.E,eH:()=>E,SM:()=>o.SM,zU:()=>y,BX:()=>o.BX,w_:()=>o.w_,Y6:()=>w,Yv:()=>n.Yv,tK:()=>o.tK,Ln:()=>n.Ln,FM:()=>h,o5:()=>o.o5,fd:()=>o.fd,Tx:()=>g,KI:()=>S,rL:()=>n.rL,WY:()=>b,F$:()=>o.F$,zC:()=>n.zC,_m:()=>x,q1:()=>o.q1,uT:()=>o.uT});var n=r(76552),o=r(35263),a=r(82586);function i(e,t,r,n,o,a,i){try{var l=e[a](i),c=l.value}catch(e){r(e);return}l.done?t(c):Promise.resolve(c).then(n,o)}function l(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var a=e.apply(t,r);function l(e){i(a,n,o,l,c,"next",e)}function c(e){i(a,n,o,l,c,"throw",e)}l(void 0)})}}function c(e,t){var r,n,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),l=Object.defineProperty;return l(i,"next",{value:c(0)}),l(i,"throw",{value:c(1)}),l(i,"return",{value:c(2)}),"function"==typeof Symbol&&l(i,Symbol.iterator,{value:function(){return this}}),i;function c(l){return function(c){var u=[l,c];if(r)throw TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(a=0)),a;)try{if(r=1,n&&(o=2&u[0]?n.return:u[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,u[1])).done)return o;switch(n=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,n=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],n=0}finally{r=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}var u="openmrs-routes:",s="openmrs-routes:change",f=!1,d=null;function p(){return l(function(){var e,t,r,n,o,i;return c(this,function(l){switch(l.label){case 0:e=document.querySelectorAll("script[type='openmrs-routes']"),t=[],r=0,l.label=1;case 1:if(!(r<e.length))return[3,9];n=e[r],l.label=2;case 2:if(l.trys.push([2,7,,8]),o=void 0,!n.src)return[3,5];return[4,fetch(n.src)];case 3:return[4,l.sent().json()];case 4:return o=l.sent(),[3,6];case 5:n.textContent&&(o=JSON.parse(n.textContent)),l.label=6;case 6:return o&&(0,a.n)(o)&&t.push(o),[3,8];case 7:return i=l.sent(),console.warn("[route-maps] Failed to parse routes from script tag at index ".concat(r),i),[3,8];case 8:return r++,[3,1];case 9:return[2,v(t)]}})})()}function v(e){var t={},r=!0,n=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done);r=!0){var l=a.value;l&&(void 0===l?"undefined":l&&"u">typeof Symbol&&l.constructor===Symbol?"symbol":typeof l)=="object"&&Object.assign(t,l)}}catch(e){n=!0,o=e}finally{try{r||null==i.return||i.return()}finally{if(n)throw o}}return t}function m(){return l(function(){var e,t,r,n,o,i,s,f,d,p,v,m;return c(this,function(h){switch(h.label){case 0:e={},h.label=1;case 1:for(h.trys.push([1,3,,4]),t=[],r=0;r<localStorage.length;r++)(null==(n=localStorage.key(r))?void 0:n.startsWith(u))&&(o=localStorage.getItem(n))&&t.push({moduleName:n.slice(u.length),raw:o});return[4,Promise.allSettled(t.map(function(e){var t=e.moduleName,r=e.raw;return l(function(){var e,n;return c(this,function(o){switch(o.label){case 0:if(e=JSON.parse(r),(0,a.U)(e))return[2,{moduleName:t,routes:e}];if(!("string"==typeof e&&e.startsWith("http")))return[3,3];return[4,fetch(e)];case 1:return[4,o.sent().json()];case 2:if(n=o.sent(),(0,a.U)(n))return[2,{moduleName:t,routes:n}];throw Error("".concat(e," did not resolve to a valid OpenmrsAppRoutes object"));case 3:throw Error("Override for ".concat(t," is neither a valid routes object nor a URL"))}})})()}))];case 2:i=h.sent(),s=!0,f=!1,d=void 0;try{for(p=i[Symbol.iterator]();!(s=(v=p.next()).done);s=!0)m=v.value,"fulfilled"===m.status?e[m.value.moduleName]=m.value.routes:console.warn("[route-maps] Failed to load route override",m.reason)}catch(e){f=!0,d=e}finally{try{s||null==p.return||p.return()}finally{if(f)throw d}}return[3,4];case 3:return console.warn("[route-maps] Failed to read route overrides from localStorage",h.sent()),[3,4];case 4:return[2,e]}})})()}function h(){return l(function(){var e,t;return c(this,function(r){switch(r.label){case 0:return[4,p()];case 1:if(e=r.sent(),!f)return[2,e];if(null==d)return[3,2];return t=d,[3,4];case 2:return[4,m()];case 3:t=r.sent(),r.label=4;case 4:return[2,v([e,t])]}})})()}function y(){return l(function(){return c(this,function(e){return[2,p()]})})()}function w(){return l(function(){var e;return c(this,function(t){switch(t.label){case 0:if(!f)return[2,p()];return[4,p()];case 1:return e=[t.sent()],[4,m()];case 2:return[2,v.apply(void 0,[e.concat([t.sent()])])]}})})()}function b(){if(!f)return{};var e={};try{for(var t=0;t<localStorage.length;t++){var r=localStorage.key(t);if(null==r?void 0:r.startsWith(u)){var n=localStorage.getItem(r);n&&(e[r.slice(u.length)]=n)}}}catch(e){console.warn("[route-maps] Failed to read route overrides from localStorage",e)}return e}function g(e,t){if(!f)return void console.warn("[Security] Route overrides are disabled outside development mode.");try{if("string"==typeof t)if(t.startsWith("http"))localStorage.setItem(u+e,JSON.stringify(t));else{var r,n=JSON.parse(t);if(!(0,a.U)(n))return void console.error("The supplied routes for ".concat(e," is not a valid OpenmrsAppRoutes object"),t);localStorage.setItem(u+e,JSON.stringify(n))}else if(r=URL,null!=r&&"u">typeof Symbol&&r[Symbol.hasInstance]?!!r[Symbol.hasInstance](t):t instanceof r)localStorage.setItem(u+e,JSON.stringify(t.toString()));else{if(!(0,a.U)(t))return void console.error("Override for ".concat(e," is not in a valid format. Expected either a Javascript Object, a JSON string of a Javascript object, or a URL"),t);localStorage.setItem(u+e,JSON.stringify(t))}window.dispatchEvent(new CustomEvent(s))}catch(e){console.warn("[route-maps] Failed to write route override to localStorage",e)}}function S(e){if(!f)return void console.warn("[Security] Route overrides are disabled outside development mode.");try{localStorage.removeItem(u+e),window.dispatchEvent(new CustomEvent(s))}catch(e){console.warn("[route-maps] Failed to remove route override from localStorage",e)}}function E(){if(!f)return void console.warn("[Security] Route overrides are disabled outside development mode.");try{for(var e=[],t=0;t<localStorage.length;t++){var r=localStorage.key(t);(null==r?void 0:r.startsWith(u))&&e.push(r)}e.forEach(function(e){return localStorage.removeItem(e)}),window.dispatchEvent(new CustomEvent(s))}catch(e){console.warn("[route-maps] Failed to clear route overrides from localStorage",e)}}var I=null;function x(){return I||(I=(f="development"===window.spaEnv)?m().then(function(e){d=e}):Promise.resolve())}}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"2537.js","sources":["webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-dynamic-loading/dist/dynamic-loading.js","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-dynamic-loading/dist/import-maps.js","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-dynamic-loading/dist/route-maps.js"],"names":["slugify","name","importDynamic","jsPackage","share","options","maxLoadingTime","timeout","jsPackageSlug","container","error","module","error1","undefined","Promise","preloadImport","_","reject","setTimeout","ms","Error","humanReadableMs","Math","a","clearTimeout","_type_of","window","console","__webpack_share_scopes__","factory","importMap","activeImportMap","url","isOverridden","err","getCurrentImportMap","getImportMapOverrideMap","resolve","loadScript","loadFn1","errFn1","finishScriptLoading1","scriptElement","document","scriptLoading","OPENMRS_SCRIPT_LOADING","Set","ev","loadFn","errFn","finishScriptLoading","element","loadTimeout","_ev_message","msg","dispatchToastShown","getCoreTranslation","onActionButtonClick","resetImportMapOverrides","getCurrentPageMap","Symbol","OVERRIDE_PREFIX","DISABLED_KEY","CHANGE_EVENT","devMode","initialOverrideSnapshot","readBaseMap","scripts","maps","i","script","response","e","fetch","JSON","mergeMaps","merged","_iteratorError","map","Object","readOverrideMap","imports","disabled","getImportMapDisabledOverrides","localStorage","key","moduleName","base","getImportMapDefaultMap","getImportMapNextPageMap","includeDisabled","raw","parsed","Array","isImportMapOverrideDisabled","addImportMapOverride","CustomEvent","removeImportMapOverride","n","keysToRemove","enableImportMapOverride","initialized","setupImportMapOverrides","isOpenmrsRoutes","mergeRouteMaps","result","entries","settled","entry","fetched","isOpenmrsAppRoutes","getCurrentRouteMap","overrides","getRouteMapDefaultMap","getRouteMapNextPageMap","getRouteMapOverrideMap","value","addRouteMapOverride","routes","maybeRoutes","URL","removeRouteMapOverride","resetRouteMapOverrides","setupPromise","setupRouteMapOverrides","snapshot"],"mappings":"oyDAWW,SAASA,EAAQC,CAAI,EAC5B,OAAOA,EAAK,OAAO,CAAC,WAAY,IACpC,CAkBW,SAAeC,EAAcC,CAAS,E,IAAEC,EAAAA,UAAAA,MAAAA,CAAAA,GAAAA,AAAAA,KAAAA,IAAAA,SAAAA,CAAAA,EAAAA,CAAAA,SAAAA,CAAAA,EAAAA,CAAQ,UAAWC,EAAAA,UAAAA,MAAAA,CAAAA,EAAAA,SAAAA,CAAAA,EAAAA,CAAAA,KAAAA,E,wBAE5DC,EACFC,EAYEC,EACAC,EAEIC,EAMJC,EAEIC,E,iDA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K,UAAU,CAACxB,EAAe,GAC/BsC,EAAa,IAAI,CAACd,EAE1B,CACAc,EAAa,OAAO,CAAC,SAACd,CAAG,E,OAAGD,aAAa,UAAU,CAACC,E,GACpD3D,OAAO,aAAa,CAAC,IAAIsE,YAAYjC,GACzC,CAAE,MAAOS,EAAG,CACR7C,QAAQ,IAAI,CAAC,iEAAkE6C,EACnF,CACJ,CASI,IAAImD,EAAe,KAChB,SAASC,WACZ,AAAID,IAKAA,EAFJ3D,CAAAA,EAAUtC,AAAkB,gBAAlBA,OAAO,MAAM,AAAiB,EAErBsD,IAAkB,IAAI,CAAC,SAAC6C,CAAQ,EAC3C5D,EAA0B4D,CAC9B,GAEe/G,QAAQ,OAAO,GAGtC,C"}
package/dist/2556.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_version_app=globalThis.webpackChunk_kenyaemr_esm_version_app||[]).push([["2556"],{34105(n,e,t){t.d(e,{A:()=>s});var a=t(77827),i=t.n(a),o=t(41798),r=t.n(o)()(i());r.push([n.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-version__action-menu-button2-module__container___W8nau{margin-top:.25rem;margin-bottom:.25rem;border-radius:50%;color:#161616;max-width:none}.-esm-version__action-menu-button2-module__container___W8nau:hover{background-color:#c6c6c6;color:#525252}.-esm-version__action-menu-button2-module__container___W8nau>span{margin-top:.25rem;font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px);color:#525252}.-esm-version__action-menu-button2-module__container___W8nau svg{transform:scale(1.25)}.-esm-version__action-menu-button2-module__elementContainer___rkuNO{display:flex;align-items:center;position:relative;flex-direction:column}.-esm-version__action-menu-button2-module__elementContainer___rkuNO .-esm-version__action-menu-button2-module__countTag___3cgOx,.-esm-version__action-menu-button2-module__elementContainer___rkuNO .-esm-version__action-menu-button2-module__interruptedTag___lh20y{position:absolute;font-size:10px;text-align:center;color:#f4f4f4;background-color:#da1e28;padding:0 4px;border-radius:50%;top:-14px;right:-12px}.-esm-version__action-menu-button2-module__elementContainer___rkuNO .-esm-version__action-menu-button2-module__interruptedTag___lh20y{font-size:10px;padding:0 5px;width:14px;height:14px}.omrs-breakpoint-gt-tablet .-esm-version__action-menu-button2-module__active___Mz7Xj,.omrs-breakpoint-gt-tablet .omrs-breakpoint-lt-desktop .-esm-version__action-menu-button2-module__focused___oeso3,.omrs-breakpoint-lt-desktop .omrs-breakpoint-gt-tablet .-esm-version__action-menu-button2-module__focused___oeso3{border:.125rem solid;border-color:#007d79;border-color:var(--brand-03);border-radius:50%;background-color:#fff}.omrs-breakpoint-gt-tablet .-esm-version__action-menu-button2-module__focused___oeso3{border:.125rem solid #0f62fe;border-radius:50%;background-color:#fff}.omrs-breakpoint-gt-tablet .-esm-version__action-menu-button2-module__container___W8nau svg{transform:scale(1.25)}.omrs-breakpoint-lt-desktop .-esm-version__action-menu-button2-module__container___W8nau{margin-bottom:0;margin-top:0;border-radius:unset;color:#161616;max-width:none;display:flex;flex-direction:column;align-items:center;width:100%}.omrs-breakpoint-lt-desktop .-esm-version__action-menu-button2-module__active___Mz7Xj,.omrs-breakpoint-lt-desktop .-esm-version__action-menu-button2-module__focused___oeso3{background-color:#edf5ff;color:#0f62fe}.omrs-breakpoint-lt-desktop .-esm-version__action-menu-button2-module__active___Mz7Xj:hover,.omrs-breakpoint-lt-desktop .-esm-version__action-menu-button2-module__focused___oeso3:hover{color:#0f62fe}.omrs-breakpoint-lt-desktop .-esm-version__action-menu-button2-module__active___Mz7Xj>span,.omrs-breakpoint-lt-desktop .-esm-version__action-menu-button2-module__focused___oeso3>span{color:#0f62fe;font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.omrs-breakpoint-lt-desktop .-esm-version__action-menu-button2-module__active___Mz7Xj svg,.omrs-breakpoint-lt-desktop .-esm-version__action-menu-button2-module__focused___oeso3 svg{fill:#0f62fe}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/dist/_vars.scss","webpack://./../../node_modules/@openmrs/esm-styleguide/dist/workspaces2/action-menu2/action-menu-button2.module.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,6DACE,iBCWW,CDVX,oBCUW,CDTX,iBAAA,CACA,aDFM,CCGN,cAAA,CAEA,mEACE,wBDFY,CCGZ,aDNM,CCSR,kEACE,iBCDS,CCk1BT,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CF/0BA,aDZM,CCeR,iEACE,qBAAA,CAIJ,oEACE,YAAA,CACA,kBAAA,CACA,iBAAA,CACA,qBAAA,CAEA,sQACE,iBAAA,CACA,cAAA,CACA,iBAAA,CACA,aDnCI,CCoCJ,wBDhBK,CCiBL,aAAA,CACA,iBAAA,CACA,SAAA,CACA,WAAA,CAGF,sIAEE,cAAA,CACA,aAAA,CACA,UAAA,CACA,WAAA,CAMF,yTACE,oBAAA,CDPF,oBAAA,CACA,4BAAA,CCQE,iBAAA,CACA,qBDzDI,CC4DN,sFACE,4BAAA,CACA,iBAAA,CACA,qBD/DI,CCmEJ,4FACE,qBAAA,CAOJ,yFACE,eAAA,CACA,YAAA,CACA,mBAAA,CACA,aD5EI,CC6EJ,cAAA,CAEA,YAAA,CACA,qBAAA,CACA,kBAAA,CACA,UAAA,CAGF,6KACE,wBD9EY,CC+EZ,aDtEa,CCwEb,yLACE,aDzEW,CC4Eb,uLACE,aD7EW,CG20Bb,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CF1vBA,qLACE,YDlFW",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '../../vars' as *;\n\n.container {\n margin-top: layout.$spacing-02;\n margin-bottom: layout.$spacing-02;\n border-radius: 50%;\n color: $ui-05;\n max-width: none;\n\n &:hover {\n background-color: $color-gray-30;\n color: $text-02;\n }\n\n & > span {\n margin-top: layout.$spacing-02;\n @include type.type-style('body-compact-01');\n color: $text-02;\n }\n\n & svg {\n transform: scale(1.25);\n }\n}\n\n.elementContainer {\n display: flex;\n align-items: center;\n position: relative;\n flex-direction: column;\n\n .countTag {\n position: absolute;\n font-size: 10px;\n text-align: center;\n color: $ui-01;\n background-color: $danger;\n padding: 0 4px;\n border-radius: 50%;\n top: -14px;\n right: -12px;\n }\n\n .interruptedTag {\n @extend .countTag;\n font-size: 10px;\n padding: 0 5px;\n width: 14px;\n height: 14px;\n }\n}\n\n/* Desktop */\n:global(.omrs-breakpoint-gt-tablet) {\n .active {\n border: layout.$spacing-01 solid;\n @include brand-03(border-color);\n border-radius: 50%;\n background-color: $ui-02;\n }\n\n .focused {\n border: layout.$spacing-01 solid $interactive-01;\n border-radius: 50%;\n background-color: $ui-02;\n }\n\n .container {\n & svg {\n transform: scale(1.25);\n }\n }\n}\n\n/* Tablet */\n:global(.omrs-breakpoint-lt-desktop) {\n .container {\n margin-bottom: 0;\n margin-top: 0;\n border-radius: unset;\n color: $ui-05;\n max-width: none;\n\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n }\n\n .active {\n background-color: $color-blue-10;\n color: $interactive-01;\n\n &:hover {\n color: $interactive-01;\n }\n\n & > span {\n color: $interactive-01;\n @include type.type-style('heading-compact-01');\n }\n\n svg {\n fill: $interactive-01;\n }\n }\n\n .focused {\n @extend .active;\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","//\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:""}]),r.locals={container:"-esm-version__action-menu-button2-module__container___W8nau",elementContainer:"-esm-version__action-menu-button2-module__elementContainer___rkuNO",countTag:"-esm-version__action-menu-button2-module__countTag___3cgOx",interruptedTag:"-esm-version__action-menu-button2-module__interruptedTag___lh20y",active:"-esm-version__action-menu-button2-module__active___Mz7Xj",focused:"-esm-version__action-menu-button2-module__focused___oeso3"};let s=r},22254(n,e,t){t.d(e,{A:()=>s});var a=t(77827),i=t.n(a),o=t(41798),r=t.n(o)()(i());r.push([n.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-version__action-menu2-module__sideRailHidden___yoXzm{display:none}.-esm-version__action-menu2-module__sideRailVisible___D1KJ8{display:flex}.omrs-breakpoint-gt-tablet .-esm-version__action-menu2-module__sideRail___ki7mg{width:3rem;z-index:100;height:100%}.omrs-breakpoint-gt-tablet .-esm-version__action-menu2-module__sideRail___ki7mg.-esm-version__action-menu2-module__overlay___QKKvr{position:absolute;top:0;inset-inline-end:0;height:100%}.omrs-breakpoint-gt-tablet .-esm-version__action-menu2-module__sideRail___ki7mg .-esm-version__action-menu2-module__container___n\\+kJN{background:#f4f4f4;width:3rem;height:100%;border-inline-start:1px solid #c6c6c6;display:flex;align-items:center;flex-direction:column}.omrs-breakpoint-gt-tablet .-esm-version__action-menu2-module__sideRail___ki7mg.-esm-version__action-menu2-module__withinWorkspace___zmL1p .-esm-version__action-menu2-module__container___n\\+kJN{top:calc(var(--omrs-navbar-height) + var(--workspace-header-height))}.omrs-breakpoint-lt-desktop .-esm-version__action-menu2-module__sideRail___ki7mg{border-top:1px solid #c6c6c6;background-color:#fff;position:fixed;left:0;bottom:0;z-index:8003;width:100%;display:flex;justify-content:stretch}.omrs-breakpoint-lt-desktop .-esm-version__action-menu2-module__chartExtensions___LkFGz{background-color:#fff;display:flex;width:100%}.omrs-breakpoint-lt-desktop .-esm-version__action-menu2-module__chartExtensions___LkFGz>div{flex:1;cursor:pointer}.omrs-breakpoint-lt-desktop .-esm-version__action-menu2-module__container___n\\+kJN{display:flex;align-items:center;width:100%;flex:1}.omrs-breakpoint-lt-desktop .-esm-version__action-menu2-module__container___n\\+kJN>div{flex:1}.-esm-version__action-menu2-module__divider___MDnIZ{background-color:#a8a8a8;margin:.75rem 0;height:1px;width:2.5rem}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/dist/_vars.scss","webpack://./../../node_modules/@openmrs/esm-styleguide/dist/workspaces2/action-menu2/action-menu2.module.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCvDF,2DACE,YAAA,CAGF,4DACE,YAAA,CAKA,gFACE,UCkCS,CDjCT,WAAA,CACA,WAAA,CAEA,mIACE,iBAAA,CACA,KAAA,CACA,kBAAA,CACA,WAAA,CAGF,uIACE,kBD3BE,CC4BF,UCqBO,CDpBP,WAAA,CACA,qCAAA,CACA,YAAA,CACA,kBAAA,CACA,qBAAA,CAGF,kMACE,oEAAA,CAOJ,iFACE,4BAAA,CACA,qBD7CI,CC8CJ,cAAA,CACA,MAAA,CACA,QAAA,CACA,YAAA,CACA,UAAA,CACA,YAAA,CACA,uBAAA,CAGF,wFACE,qBDxDI,CCyDJ,YAAA,CACA,UAAA,CAEA,4FACE,MAAA,CACA,cAAA,CAIJ,mFACE,YAAA,CACA,kBAAA,CACA,UAAA,CACA,MAAA,CAEA,uFACE,MAAA,CAKN,oDACE,wBD1EQ,CC2ER,eAAA,CACA,UAAA,CACA,YCvCW",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '../../vars' as *;\n\n$icon-button-size: layout.$spacing-08;\n$actionPanelOffset: layout.$spacing-09;\n\n.sideRailHidden {\n display: none;\n}\n\n.sideRailVisible {\n display: flex;\n}\n\n/* Desktop */\n:global(.omrs-breakpoint-gt-tablet) {\n .sideRail {\n width: $actionPanelOffset;\n z-index: 100;\n height: 100%;\n\n &.overlay {\n position: absolute;\n top: 0;\n inset-inline-end: 0;\n height: 100%;\n }\n\n .container {\n background: $ui-01;\n width: $actionPanelOffset;\n height: 100%;\n border-inline-start: 1px solid $color-gray-30;\n display: flex;\n align-items: center;\n flex-direction: column;\n }\n\n &.withinWorkspace .container {\n top: calc(var(--omrs-navbar-height) + var(--workspace-header-height));\n }\n }\n}\n\n/* Tablet */\n:global(.omrs-breakpoint-lt-desktop) {\n .sideRail {\n border-top: 1px solid $color-gray-30;\n background-color: $ui-02;\n position: fixed;\n left: 0;\n bottom: 0;\n z-index: 8003;\n width: 100%;\n display: flex;\n justify-content: stretch;\n }\n\n .chartExtensions {\n background-color: $ui-02;\n display: flex;\n width: 100%;\n\n > div {\n flex: 1;\n cursor: pointer;\n }\n }\n\n .container {\n display: flex;\n align-items: center;\n width: 100%;\n flex: 1;\n\n > div {\n flex: 1;\n }\n }\n}\n\n.divider {\n background-color: $text-03;\n margin: layout.$spacing-04 0;\n height: 1px;\n width: layout.$spacing-08;\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:""}]),r.locals={sideRailHidden:"-esm-version__action-menu2-module__sideRailHidden___yoXzm",sideRailVisible:"-esm-version__action-menu2-module__sideRailVisible___D1KJ8",sideRail:"-esm-version__action-menu2-module__sideRail___ki7mg",overlay:"-esm-version__action-menu2-module__overlay___QKKvr",container:"-esm-version__action-menu2-module__container___n+kJN",withinWorkspace:"-esm-version__action-menu2-module__withinWorkspace___zmL1p",chartExtensions:"-esm-version__action-menu2-module__chartExtensions___LkFGz",divider:"-esm-version__action-menu2-module__divider___MDnIZ"};let s=r},63389(n,e,t){t.d(e,{k:()=>a});var a=["red","magenta","purple","blue","teal","cyan","gray","green","warm-gray","cool-gray","high-contrast","outline"]},67206(n,e,t){t.d(e,{W:()=>w});var a=t(31085);t(35400);var i=t(31888),o=t(77399),r=t(1083),s=t(48810),l=t(17205),c=t(72591),p=t.n(c),u=t(1740),d=t.n(u),g=t(88128),f=t.n(g),m=t(30855),h=t.n(m),b=t(93051),y=t.n(b),A=t(73656),$=t.n(A),_=t(22254),v={};v.styleTagTransform=$(),v.setAttributes=h(),v.insert=f().bind(null,"head"),v.domAPI=d(),v.insertStyleElement=y(),p()(_.A,v);let k=_.A&&_.A.locals?_.A.locals:void 0;function w(n){var e=n.workspaceGroup,t=n.groupProps,c=(0,o.qv)(),p=e.persistence;return(0,a.jsx)("aside",{className:k.sideRail,children:(0,a.jsxs)("div",{className:k.container,children:["closable"==p&&(0,o.xl)(c)&&(0,a.jsx)(i.IconButton,{align:"left",onClick:function(){return(0,s.bi)()},label:(0,r.V)("close"),kind:"ghost",children:(0,a.jsx)(l.US,{})}),(0,a.jsx)(o.zq.Provider,{value:{moduleName:e.moduleName,featureName:e.name},children:(0,a.jsx)(o.W3,{className:k.container,name:e.name,state:{groupProps:t}})})]})})}},96083(n,e,t){t.d(e,{A:()=>_});var a=t(31085),i=t(35400),o=t(53373),r=t.n(o),s=t(55985),l=t(22244),c=t(31888),p=t(30043),u=t(24205),d=t(1083),g=t(48810),f=t(12138);function m(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,a=Array(e);t<e;t++)a[t]=n[t];return a}function h(n,e,t,a,i,o,r){try{var s=n[o](r),l=s.value}catch(n){t(n);return}s.done?e(l):Promise.resolve(l).then(a,i)}function b(n){return function(){var e=this,t=arguments;return new Promise(function(a,i){var o=n.apply(e,t);function r(n){h(o,a,i,r,s,"next",n)}function s(n){h(o,a,i,r,s,"throw",n)}r(void 0)})}}function y(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function A(n,e){var t,a,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},r=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),s=Object.defineProperty;return s(r,"next",{value:l(0)}),s(r,"throw",{value:l(1)}),s(r,"return",{value:l(2)}),"function"==typeof Symbol&&s(r,Symbol.iterator,{value:function(){return this}}),r;function l(s){return function(l){var c=[s,l];if(t)throw TypeError("Generator is already executing.");for(;r&&(r=0,c[0]&&(o=0)),o;)try{if(t=1,a&&(i=2&c[0]?a.return:c[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,c[1])).done)return i;switch(a=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,a=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){o.label=c[1];break}if(6===c[0]&&o.label<i[1]){o.label=i[1],i=c;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(c);break}i[2]&&o.ops.pop(),o.trys.pop();continue}c=e.call(n,o)}catch(n){c=[6,n],a=0}finally{t=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}var $=function(n){var e=n.lifeCycle,t=n.openedWorkspace,o=n.openedWindow,u=n.isRootWorkspace,m=n.isLeafWorkspace,h=n.showActionMenu,$=(0,g.Ak)(),_=$.openedGroup,v=$.closeWorkspace,k=$.openChildWorkspace,w=(0,i.useMemo)(function(){return t&&{closeWorkspace:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return b(function(){var e,a,i,r,s,l;return A(this,function(c){switch(c.label){case 0:if(a=void 0!==(e=n.closeWindow)&&e,r=void 0!==(i=n.discardUnsavedChanges)&&i,!a)return[3,3];if(s=r)return[3,2];return[4,(0,g.hL)({reason:"CLOSE_WINDOW",explicit:!0,windowName:o.windowName})];case 1:s=c.sent(),c.label=2;case 2:if(s)return v(o.openedWorkspaces[0].workspaceName),[2,!0];return[2,!1];case 3:if(l=r)return[3,5];return[4,(0,g.hL)({reason:"CLOSE_WORKSPACE",explicit:!0,windowName:o.windowName,workspaceName:t.workspaceName})];case 4:l=c.sent(),c.label=5;case 5:if(l)return v(t.workspaceName),[2,!0];return[2,!1];case 6:return[2]}})})()},launchChildWorkspace:function(n,e){return b(function(){var a,i,r;return A(this,function(s){switch(s.label){case 0:if(a=t.workspaceName,-1===(r=(i=o.openedWorkspaces).findIndex(function(n){return n.workspaceName===a})))return[2];if(r===i.length-1||!i.slice(r+1).some(function(n){return n.hasUnsavedChanges}))return[3,2];return[4,(0,g.hL)({reason:"CLOSE_WORKSPACE",explicit:!0,windowName:o.windowName,workspaceName:i[r+1].workspaceName})];case 1:if(!s.sent())return[2];s.label=2;case 2:return k(a,n,e||{}),[2]}})})()},workspaceName:t.workspaceName,workspaceProps:t.props,windowProps:o.props,groupProps:_&&_.props?_.props:null,isRootWorkspace:u,isLeafWorkspace:m,windowName:o.windowName,showActionMenu:h}},[t,v,_,o]);if(!e){var C,x,z=p.J_.getState().registeredWorkspacesByName[t.workspaceName],M=z&&z.window?z.window:void 0,N=p.J_.getState().registeredWindowsByName,E=M?N[M]:void 0,W=E&&E.width?E.width:"narrow",B=Object.values(N).some(function(n){return n.group===(null==_?void 0:_.groupName)&&void 0!==n.icon});return(0,a.jsxs)("div",{className:r()(f.A.workspaceOuterContainer,(y(C={},f.A.narrowWorkspace,"narrow"===W),y(C,f.A.widerWorkspace,"wider"===W),y(C,f.A.extraWideWorkspace,"extra-wide"===W),y(C,f.A.isActionMenuOpened,B),C)),children:[(0,a.jsx)("div",{className:f.A.workspaceSpacer}),(0,a.jsx)("div",{className:r()(f.A.workspaceMiddleContainer,(y(x={},f.A.isRootWorkspace,u),y(x,f.A.showActionMenu,h),x)),children:(0,a.jsx)("div",{className:r()(f.A.workspaceInnerContainer,y({},f.A.isRootWorkspace,u)),children:(0,a.jsx)(c.InlineLoading,{className:f.A.loader,description:"".concat((0,d.V)("loading")," ...")})})})]})}return(0,a.jsx)(s.A,function(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),a.forEach(function(e){y(n,e,t[e])})}return n}({config:e,mountParcel:l.xL},w),t.workspaceName)};let _=function(n){var e,t=n.openedWindow,o=n.showActionMenu,r=t.openedWorkspaces,s=function(n){if(Array.isArray(n))return n}(e=(0,i.useState)({}))||function(n){var e,t,a=null==n?null:"u">typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=a){var i=[],o=!0,r=!1;try{for(a=a.call(n);!(o=(e=a.next()).done)&&(i.push(e.value),2!==i.length);o=!0);}catch(n){r=!0,t=n}finally{try{o||null==a.return||a.return()}finally{if(r)throw t}}return i}}(e)||function(n){if(n){if("string"==typeof n)return m(n,2);var e=Object.prototype.toString.call(n).slice(8,-1);if("Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return m(n,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),l=s[0],c=s[1],d=p.J_.getState().registeredWorkspacesByName;return(0,i.useEffect)(function(){var n=!1;return Promise.all(r.map(function(n){return b(function(){var e,t,a,i;return A(this,function(o){switch(o.label){case 0:return t=(e=d[n.workspaceName]).moduleName,a=e.component,i=[n.uuid],[4,(0,u.o)(t,a)];case 1:return[2,i.concat([o.sent()])]}})})()})).then(function(e){n||c(Object.fromEntries(e))}),function(){n=!0}},[r]),(0,a.jsx)(a.Fragment,{children:r.map(function(n,e){return(0,a.jsx)($,{openedWorkspace:n,openedWindow:t,lifeCycle:l[n.uuid],isRootWorkspace:0===e,isLeafWorkspace:e===r.length-1,showActionMenu:o},n.uuid)})})}},4692(n,e,t){t.d(e,{bi:()=>i.bi,hL:()=>i.hL,uB:()=>i.uB,pT:()=>i.pT,oz:()=>a.o,Ak:()=>i.Ak,cJ:()=>i.cJ,WO:()=>i.WO,Wj:()=>N,GY:()=>i.GY});var a=t(47607),i=t(48810),o=t(31085),r=t(35400),s=t(53373),l=t.n(s),c=t(31888),p=t(77399),u=t(72591),d=t.n(u),g=t(1740),f=t.n(g),m=t(88128),h=t.n(m),b=t(30855),y=t.n(b),A=t(93051),$=t.n(A),_=t(73656),v=t.n(_),k=t(34105),w={};w.styleTagTransform=v(),w.setAttributes=y(),w.insert=h().bind(null,"head"),w.domAPI=f(),w.insertStyleElement=$(),d()(k.A,w);let C=k.A&&k.A.locals?k.A.locals:void 0;function x(n,e,t,a,i,o,r){try{var s=n[o](r),l=s.value}catch(n){t(n);return}s.done?e(l):Promise.resolve(l).then(a,i)}function z(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function M(n){var e=n.getIcon,t=n.hasUnsavedChanges,a=n.tagContent;return(0,o.jsxs)(o.Fragment,{children:[e({size:16}),t?(0,o.jsx)("span",{className:C.interruptedTag,children:"!"}):(0,o.jsx)("span",{className:C.countTag,children:a})]})}var N=function(n){var e,t,a,s=n.icon,u=n.label,d=n.tagContent,g=n.workspaceToLaunch,f=n.onBeforeWorkspaceLaunch,m=(0,p.qv)(),h=(0,i.Ak)(),b=h.openedWindows,y=h.restoreWindow,A=h.hideWindow,$=h.isMostRecentlyOpenedWindowHidden,_=(0,r.useContext)(p.zq).extension,v=b.findIndex(function(n){return n.windowName===(null==_?void 0:_.extensionId)}),k=b[v],w=null!=k,N=w&&(v<b.length-1||$),E=w&&!N,W=null!=(e=null==k?void 0:k.openedWorkspaces.some(function(n){return n.hasUnsavedChanges}))&&e,B=function(){var n;return(n=function(){var n,e,t,a;return function(n,e){var t,a,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},r=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),s=Object.defineProperty;return s(r,"next",{value:l(0)}),s(r,"throw",{value:l(1)}),s(r,"return",{value:l(2)}),"function"==typeof Symbol&&s(r,Symbol.iterator,{value:function(){return this}}),r;function l(s){return function(l){var c=[s,l];if(t)throw TypeError("Generator is already executing.");for(;r&&(r=0,c[0]&&(o=0)),o;)try{if(t=1,a&&(i=2&c[0]?a.return:c[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,c[1])).done)return i;switch(a=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,a=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){o.label=c[1];break}if(6===c[0]&&o.label<i[1]){o.label=i[1],i=c;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(c);break}i[2]&&o.ops.pop(),o.trys.pop();continue}c=e.call(n,o)}catch(n){c=[6,n],a=0}finally{t=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(o){switch(o.label){case 0:if(!w)return[3,1];return N?y(k.windowName):A(),[3,3];case 1:return[4,null==(n=null==f?void 0:f())||n];case 2:o.sent()&&(e=g.workspaceName,t=g.workspaceProps,a=g.windowProps,(0,i.pT)(e,t,a)),o.label=3;case 3:return[2]}})},function(){var e=this,t=arguments;return new Promise(function(a,i){var o=n.apply(e,t);function r(n){x(o,a,i,r,s,"next",n)}function s(n){x(o,a,i,r,s,"throw",n)}r(void 0)})})()};return"tablet"===m||"phone"===m?(0,o.jsxs)(c.Button,{className:l()(C.container,(z(t={},C.active,w&&!E),z(t,C.focused,E),t)),iconDescription:u,kind:"ghost",onClick:B,role:"button",tabIndex:0,size:"md",children:[(0,o.jsx)("span",{className:C.elementContainer,children:(0,o.jsx)(M,{hasUnsavedChanges:W,getIcon:s,tagContent:d})}),(0,o.jsx)("span",{children:u})]}):(0,o.jsx)(c.IconButton,{align:"left","aria-label":u,className:l()(C.container,(z(a={},C.active,w&&!E),z(a,C.focused,E),a)),enterDelayMs:300,kind:"ghost",label:u,onClick:B,size:"md",children:(0,o.jsx)("div",{className:C.elementContainer,children:(0,o.jsx)(M,{hasUnsavedChanges:W,getIcon:s,tagContent:d})})})}}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"2556.js","sources":["webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/dist/workspaces2/action-menu2/action-menu-button2.module.scss","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/dist/workspaces2/action-menu2/action-menu2.module.scss","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/dist/utils.js","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/dist/workspaces2/action-menu2/action-menu2.module.scss?af19","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/dist/workspaces2/action-menu2/action-menu2.component.js","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/dist/workspaces2/active-workspace-window.component.js","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/dist/workspaces2/action-menu2/action-menu-button2.module.scss?80e2","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/dist/workspaces2/action-menu2/action-menu-button2.component.js"],"names":["carbonTagColors","d","ActionMenu","param","workspaceGroup","groupProps","layout","useLayoutType","persistence","_jsx","styles","_jsxs","isClosable","isDesktop","IconButton","onClick","closeWorkspaceGroup2","getCoreTranslation","CloseIcon","ComponentContext","ExtensionSlot","ActiveWorkspace","lifeCycle","openedWorkspace","openedWindow","isRootWorkspace","isLeafWorkspace","showActionMenu","_useWorkspace2Store","openedGroup","closeWorkspace","openChildWorkspace","props","useMemo","closeWorkspace1","options","closeWindow","discardUnsavedChanges","okToCloseWorkspaces","okToCloseWorkspaces1","promptForClosingWorkspaces","launchChildWorkspace","childWorkspaceName","childWorkspaceProps","parentWorkspaceName","openedWorkspaces","parentIndex","w","workspacesAboveParent","_obj","_obj1","workspaceDef","registeredWorkspacesByName","workspace2Store","windowName","undefined","registeredWindowsByName","windowDef","width","isActionMenuOpened","Object","window","classNames","InlineLoading","Parcel","mountRootParcel","_useState","lifeCyclesByUuid","setLifeCyclesByUuid","useEffect","cancelled","Promise","_registeredWorkspacesByName_openedWorkspace_workspaceName","moduleName","component","loadLifeCycles","entries","_Fragment","i","Tags","getIcon","hasUnsavedChanges","tagContent","ActionMenuButton2","label","workspaceToLaunch","onBeforeWorkspaceLaunch","openedWindows","restoreWindow","hideWindow","isMostRecentlyOpenedWindowHidden","extension","useContext","openedWindowIndex","isWindowOpened","isWindowHidden","isWindowFocused","workspaceName","workspaceProps","windowProps","launchWorkspace2","Button"],"mappings":"sMAGI,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,yoHAA0oH,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,yEAAyE,uHAAuH,6EAA6E,gEAAg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A,CAAAA,EACnCvC,EAAAA,MAAa,CAAGoF,GAAkB,CAACE,GACpC,EAFoC/C,EAEnCvC,EAAAA,OAAc,CAAGsF,GAFkB/C,CAAAA,GAIxC,gBAAiBmC,EACjB,KAAM,QACN,QAASrE,EACT,KAAM,SACN,SAAU,EACV,KAAM,KACN,SAAU,CACQN,AAAAA,GAAAA,EAAAA,GAAAA,AAAAA,EAAK,OAAQ,CACvB,UAAWC,EAAAA,gBAAuB,CAClC,SAAwBD,AAAAA,GAAAA,EAAAA,GAAAA,AAAAA,EAAKsE,EAAM,CAC/B,kBAAmBE,EACnB,QAASD,EACT,WAAYE,CAChB,EACJ,GACczE,AAAAA,GAAAA,EAAAA,GAAAA,AAAAA,EAAK,OAAQ,CACvB,SAAU2E,CACd,GACH,AACL,GAEiB3E,AAAAA,GAAAA,EAAAA,GAAAA,AAAAA,EAAKK,EAAAA,UAAUA,CAAE,CAClC,MAAO,OACP,aAAcsE,EACd,UAAWtB,IAAWpD,EAAAA,SAAgB,CAAEwC,CAAAA,AACpC,EADoCA,EAAAA,CAAAA,EACnCxC,EAAAA,MAAa,CAAGoF,GAAkB,CAACE,GACpC,EAFoC9C,EAEnCxC,EAAAA,OAAc,CAAGsF,GAFkB9C,CAAAA,GAIxC,aAAc,IACd,KAAM,QACN,MAAOkC,EACP,QAASrE,EACT,KAAM,KACN,SAAwBN,AAAAA,GAAAA,EAAAA,GAAAA,AAAAA,EAAK,MAAO,CAChC,UAAWC,EAAAA,gBAAuB,CAClC,SAAwBD,AAAAA,GAAAA,EAAAA,GAAAA,AAAAA,EAAKsE,EAAM,CAC/B,kBAAmBE,EACnB,QAASD,EACT,WAAYE,CAChB,EACJ,EACJ,EACJ,C"}
package/dist/2648.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_version_app=globalThis.webpackChunk_kenyaemr_esm_version_app||[]).push([["2648"],{48273(e,n,t){t.d(n,{A:()=>p});var a=t(77827),i=t.n(a),o=t(41798),s=t.n(o)()(i());s.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-version__page-header-module__pageHeader___5sHkU{font-size:var(--cds-body-compact-02-font-size, 1rem);font-weight:var(--cds-body-compact-02-font-weight, 400);line-height:var(--cds-body-compact-02-line-height, 1.375);letter-spacing:var(--cds-body-compact-02-letter-spacing, 0);color:#525252;height:6rem;width:100%;display:flex;justify-content:space-between}.-esm-version__page-header-module__pageHeaderContent___47Sip{display:flex;flex-direction:row;align-items:center}.-esm-version__page-header-module__pageName___8LCXe{font-size:var(--cds-heading-04-font-size, 1.75rem);font-weight:var(--cds-heading-04-font-weight, 400);line-height:var(--cds-heading-04-line-height, 1.28572);letter-spacing:var(--cds-heading-04-letter-spacing, 0)}.-esm-version__page-header-module__pageLabels___F\\+A3F p:first-of-type{margin-bottom:.25rem}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/dist/_vars.scss","webpack://./../../node_modules/@openmrs/esm-styleguide/dist/page-header/page-header.module.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,sDC81BI,oDAAA,CAAA,uDAAA,CAAA,yDAAA,CAAA,2DAAA,CD51BF,aDCQ,CAAA,WG2DG,CF1DX,UAAA,CACA,YAAA,CACA,6BAAA,CAGF,6DACE,YAAA,CACA,kBAAA,CACA,kBAAA,CAGF,oDC+0BI,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CAAA,sDAAA,CD10BF,uEACE,oBETS",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '../vars' as *;\n\n.pageHeader {\n @include type.type-style('body-compact-02');\n color: $text-02;\n height: layout.$spacing-12;\n width: 100%;\n display: flex;\n justify-content: space-between;\n}\n\n.pageHeaderContent {\n display: flex;\n flex-direction: row;\n align-items: center;\n}\n\n.pageName {\n @include type.type-style('heading-04');\n}\n\n.pageLabels {\n p:first-of-type {\n margin-bottom: layout.$spacing-02;\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","// 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:""}]),s.locals={pageHeader:"-esm-version__page-header-module__pageHeader___5sHkU",pageHeaderContent:"-esm-version__page-header-module__pageHeaderContent___47Sip",pageName:"-esm-version__page-header-module__pageName___8LCXe",pageLabels:"-esm-version__page-header-module__pageLabels___F+A3F"};let p=s},35643(e,n,t){t.d(n,{g:()=>O,z:()=>C});var a=t(31085),i=t(35400),o=t(53373),s=t.n(o),p=t(99353),l=t(72591),r=t.n(l),c=t(1740),u=t.n(c),g=t(88128),d=t.n(g),f=t(30855),h=t.n(f),y=t(93051),b=t.n(y),m=t(73656),$=t.n(m),v=t(48273),w={};w.styleTagTransform=$(),w.setAttributes=h(),w.insert=d().bind(null,"head"),w.domAPI=u(),w.insertStyleElement=b(),r()(v.A,w);let k=v.A&&v.A.locals?v.A.locals:void 0;var x=t(1083);function A(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function z(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.forEach(function(n){var a;a=t[n],n in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a})}return e}function M(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):(function(e){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n.push.apply(n,t)}return n})(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}),e}function _(e,n){if(null==e)return{};var t,a,i,o={};if("u">typeof Reflect&&Reflect.ownKeys){for(i=0,t=Reflect.ownKeys(Object(e));i<t.length;i++)a=t[i],!(n.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(o[a]=e[a]);return o}if(o=function(e,n){if(null==e)return{};var t,a,i={},o=Object.getOwnPropertyNames(e);for(a=0;a<o.length;a++)t=o[a],!(n.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t]);return i}(e,n),Object.getOwnPropertySymbols)for(i=0,t=Object.getOwnPropertySymbols(e);i<t.length;i++)a=t[i],!(n.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(o[a]=e[a]);return o}var C=function(e){if("children"in e){var n=e.children,t=e.className,i=_(e,["children","className"]);return(0,a.jsx)("div",M(z({className:s()(k.pageHeader,t)},i),{children:n}))}var o=e.title,p=e.illustration,l=e.className,r=_(e,["title","illustration","className"]);return(0,a.jsx)("div",M(z({className:s()(k.pageHeader,l)},r),{children:(0,a.jsx)(O,{title:o,illustration:p})}))},O=function(e){var n,t=e.title,o=e.illustration,l=e.className,r=function(e){if(Array.isArray(e))return e}(n=(0,i.useState)(null))||function(e){var n,t,a=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var i=[],o=!0,s=!1;try{for(a=a.call(e);!(o=(n=a.next()).done)&&(i.push(n.value),2!==i.length);o=!0);}catch(e){s=!0,t=e}finally{try{o||null==a.return||a.return()}finally{if(s)throw t}}return i}}(n)||function(e){if(e){if("string"==typeof e)return A(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return A(e,2)}}(n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),c=r[0],u=r[1];return(0,i.useEffect)(function(){(0,p.zj)("@openmrs/esm-styleguide").then(function(e){u(e)})},[]),(0,a.jsxs)("div",{className:s()(k.pageHeaderContent,l),children:[o,(0,a.jsxs)("div",{className:k.pageLabels,children:[(null==c?void 0:c.implementationName)&&(0,a.jsx)("p",{children:(0,x.V)(c.implementationName)}),(0,a.jsx)("p",{className:k.pageName,children:t})]})]})}}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"2648.js","sources":["webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/dist/page-header/page-header.module.scss","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/dist/page-header/page-header.module.scss?1b33","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/dist/page-header/page-header.component.js"],"names":["PageHeader","props","children","className","rest","_jsx","classNames","styles","title","illustration","className1","rest1","PageHeaderContent","_useState","config","setConfig","useEffect","getConfig","fetchedConfig","_jsxs","getCoreTranslation"],"mappings":"sMAGI,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,8oCAA+oC,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,yEAAyE,kGAAkG,gEAAgE,6EAA6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