@openmrs/esm-patient-allergies-app 3.2.0 → 3.2.1-pre.100

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 (75) hide show
  1. package/.turbo/turbo-build.log +39 -233
  2. package/dist/142.js +1 -0
  3. package/dist/172.js +1 -0
  4. package/dist/209.js +1 -0
  5. package/dist/230.js +2 -0
  6. package/dist/{307.js.LICENSE.txt → 230.js.LICENSE.txt} +0 -0
  7. package/dist/26.js +1 -0
  8. package/dist/366.js +1 -0
  9. package/dist/373.js +1 -2
  10. package/dist/379.js +1 -2
  11. package/dist/402.js +1 -2
  12. package/dist/435.js +1 -2
  13. package/dist/455.js +1 -0
  14. package/dist/482.js +2 -0
  15. package/dist/{436.js.LICENSE.txt → 482.js.LICENSE.txt} +0 -0
  16. package/dist/49.js +1 -0
  17. package/dist/563.js +2 -0
  18. package/dist/563.js.LICENSE.txt +14 -0
  19. package/dist/572.js +1 -0
  20. package/dist/618.js +1 -0
  21. package/dist/622.js +1 -2
  22. package/dist/635.js +1 -2
  23. package/dist/651.js +1 -0
  24. package/dist/732.js +1 -2
  25. package/dist/784.js +1 -2
  26. package/dist/801.js +2 -0
  27. package/dist/{759.js.LICENSE.txt → 801.js.LICENSE.txt} +0 -0
  28. package/dist/817.js +1 -2
  29. package/dist/841.js +1 -0
  30. package/dist/858.js +1 -2
  31. package/dist/872.js +1 -2
  32. package/dist/879.js +1 -2
  33. package/dist/932.js +1 -2
  34. package/dist/openmrs-esm-patient-allergies-app.js +1 -1
  35. package/dist/openmrs-esm-patient-allergies-app.js.buildmanifest.json +267 -207
  36. package/dist/openmrs-esm-patient-allergies-app.old +1 -2
  37. package/package.json +3 -3
  38. package/dist/151.js +0 -2
  39. package/dist/151.js.map +0 -1
  40. package/dist/234.js +0 -2
  41. package/dist/234.js.map +0 -1
  42. package/dist/301.js +0 -2
  43. package/dist/301.js.map +0 -1
  44. package/dist/307.js +0 -3
  45. package/dist/307.js.map +0 -1
  46. package/dist/373.js.map +0 -1
  47. package/dist/379.js.map +0 -1
  48. package/dist/402.js.map +0 -1
  49. package/dist/403.js +0 -2
  50. package/dist/403.js.map +0 -1
  51. package/dist/430.js +0 -2
  52. package/dist/430.js.map +0 -1
  53. package/dist/435.js.map +0 -1
  54. package/dist/436.js +0 -3
  55. package/dist/436.js.map +0 -1
  56. package/dist/50.js +0 -2
  57. package/dist/50.js.map +0 -1
  58. package/dist/622.js.map +0 -1
  59. package/dist/635.js.map +0 -1
  60. package/dist/716.js +0 -2
  61. package/dist/716.js.map +0 -1
  62. package/dist/732.js.map +0 -1
  63. package/dist/759.js +0 -3
  64. package/dist/759.js.map +0 -1
  65. package/dist/784.js.map +0 -1
  66. package/dist/817.js.map +0 -1
  67. package/dist/858.js.map +0 -1
  68. package/dist/872.js.map +0 -1
  69. package/dist/879.js.map +0 -1
  70. package/dist/881.js +0 -2
  71. package/dist/881.js.map +0 -1
  72. package/dist/884.js +0 -2
  73. package/dist/884.js.map +0 -1
  74. package/dist/932.js.map +0 -1
  75. package/dist/openmrs-esm-patient-allergies-app.js.map +0 -1
@@ -1,233 +1,39 @@
1
- @openmrs/esm-patient-allergies-app:build: cache hit, replaying output d57fbd21052f3fbc
2
- @openmrs/esm-patient-allergies-app:build: $ webpack --mode production
3
- @openmrs/esm-patient-allergies-app:build: assets by chunk 1.36 MiB (id hint: vendors)
4
- @openmrs/esm-patient-allergies-app:build:  asset 858.js 477 KiB [emitted] [minimized] [big] (id hint: vendors) 2 related assets
5
- @openmrs/esm-patient-allergies-app:build:  asset 635.js 228 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
6
- @openmrs/esm-patient-allergies-app:build:  asset 732.js 214 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
7
- @openmrs/esm-patient-allergies-app:build:  asset 436.js 193 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
8
- @openmrs/esm-patient-allergies-app:build:  asset 402.js 85.5 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
9
- @openmrs/esm-patient-allergies-app:build:  asset 759.js 72.6 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
10
- @openmrs/esm-patient-allergies-app:build:  asset 872.js 36.6 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
11
- @openmrs/esm-patient-allergies-app:build:  asset 817.js 27.1 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
12
- @openmrs/esm-patient-allergies-app:build:  asset 307.js 24.2 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
13
- @openmrs/esm-patient-allergies-app:build:  asset 234.js 21 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
14
- @openmrs/esm-patient-allergies-app:build:  asset 379.js 10.8 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
15
- @openmrs/esm-patient-allergies-app:build:  asset 151.js 5.01 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
16
- @openmrs/esm-patient-allergies-app:build: + 17 assets
17
- @openmrs/esm-patient-allergies-app:build: orphan modules 9.27 MiB (javascript) 42 bytes (consume-shared) [orphan] 685 modules
18
- @openmrs/esm-patient-allergies-app:build: runtime modules 19.4 KiB 14 modules
19
- @openmrs/esm-patient-allergies-app:build: built modules 6.39 MiB (javascript) 378 bytes (share-init) 336 bytes (consume-shared) [built]
20
- @openmrs/esm-patient-allergies-app:build:  modules by path ../../node_modules/ 5.08 MiB 145 modules
21
- @openmrs/esm-patient-allergies-app:build:  modules by path ./ 505 KiB 14 modules
22
- @openmrs/esm-patient-allergies-app:build:  provide-module modules 378 bytes 9 modules
23
- @openmrs/esm-patient-allergies-app:build:  consume-shared-module modules 336 bytes 8 modules
24
- @openmrs/esm-patient-allergies-app:build:  modules by path ../esm-patient-chart-app/src/patient-details-tile/ 135 KiB
25
- @openmrs/esm-patient-allergies-app:build:  ../esm-patient-chart-app/src/patient-details-tile/patient-details-tile.component.tsx + 1 modules 2.8 KiB [built] [code generated]
26
- @openmrs/esm-patient-allergies-app:build:  ../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../node_modules/sass-loader/dist/cjs.js!../esm-patient-chart-app/src/patient-details-tile/patient-details-tile.scss 132 KiB [built] [code generated]
27
- @openmrs/esm-patient-allergies-app:build:  modules by path ../esm-patient-biometrics-app/src/biometrics/ 142 KiB
28
- @openmrs/esm-patient-allergies-app:build:  ../esm-patient-biometrics-app/src/biometrics/weight-tile.component.tsx + 3 modules 9.8 KiB [built] [code generated]
29
- @openmrs/esm-patient-allergies-app:build:  ../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../node_modules/sass-loader/dist/cjs.js!../esm-patient-biometrics-app/src/biometrics/weight-tile.component.scss 132 KiB [built] [code generated]
30
- @openmrs/esm-patient-allergies-app:build:  container entry 42 bytes [built] [code generated]
31
- @openmrs/esm-patient-allergies-app:build:  ../esm-patient-common-lib/dist/openmrs-esm-patient-common-lib.js 553 KiB [built] [code generated]
32
- @openmrs/esm-patient-allergies-app:build: 
33
- @openmrs/esm-patient-allergies-app:build: LOG from ../../node_modules/sass-loader/dist/cjs.js sass-loader ../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../node_modules/sass-loader/dist/cjs.js!./src/allergies/allergies-form/allergy-form.scss
34
- @openmrs/esm-patient-allergies-app:build: <w> Deprecation Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
35
- @openmrs/esm-patient-allergies-app:build: <w> 
36
- @openmrs/esm-patient-allergies-app:build: <w> Recommendation: math.div($px, $carbon--base-font-size) or calc($px / $carbon--base-font-size)
37
- @openmrs/esm-patient-allergies-app:build: <w> 
38
- @openmrs/esm-patient-allergies-app:build: <w> More info and automated migrator: https://sass-lang.com/d/slash-div
39
- @openmrs/esm-patient-allergies-app:build: <w> 
40
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/layout/_convert.scss 25:12 carbon--rem()
41
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/layout/_breakpoint.scss 16:23 @import
42
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_styles.scss 8:9 @import
43
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_reset.scss 10:9 @import
44
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_css--reset.scss 9:9 @import
45
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_helper-mixins.scss 23:9 @import
46
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_mixins.scss 8:9 @import
47
- @openmrs/esm-patient-allergies-app:build: <w> src/root.scss 3:9 @import
48
- @openmrs/esm-patient-allergies-app:build: <w> src/allergies/allergies-form/allergy-form.scss 1:9 root stylesheet
49
- @openmrs/esm-patient-allergies-app:build: <w> 
50
- @openmrs/esm-patient-allergies-app:build: <w> Deprecation Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
51
- @openmrs/esm-patient-allergies-app:build: <w> 
52
- @openmrs/esm-patient-allergies-app:build: <w> Recommendation: math.div($step - 2, 4) or calc(($step - 2) / 4)
53
- @openmrs/esm-patient-allergies-app:build: <w> 
54
- @openmrs/esm-patient-allergies-app:build: <w> More info and automated migrator: https://sass-lang.com/d/slash-div
55
- @openmrs/esm-patient-allergies-app:build: <w> 
56
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_scale.scss 20:53 carbon--get-type-size()
57
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_scale.scss 31:17 @import
58
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_styles.scss 10:9 @import
59
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_reset.scss 10:9 @import
60
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_css--reset.scss 9:9 @import
61
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_helper-mixins.scss 23:9 @import
62
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_mixins.scss 8:9 @import
63
- @openmrs/esm-patient-allergies-app:build: <w> src/root.scss 3:9 @import
64
- @openmrs/esm-patient-allergies-app:build: <w> src/allergies/allergies-form/allergy-form.scss 1:9 root stylesheet
65
- @openmrs/esm-patient-allergies-app:build: <w> 
66
- @openmrs/esm-patient-allergies-app:build: 
67
- @openmrs/esm-patient-allergies-app:build: LOG from ../../node_modules/sass-loader/dist/cjs.js sass-loader ../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../node_modules/sass-loader/dist/cjs.js!./src/allergies/allergies-tile.component.scss
68
- @openmrs/esm-patient-allergies-app:build: <w> Deprecation Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
69
- @openmrs/esm-patient-allergies-app:build: <w> 
70
- @openmrs/esm-patient-allergies-app:build: <w> Recommendation: math.div($px, $carbon--base-font-size) or calc($px / $carbon--base-font-size)
71
- @openmrs/esm-patient-allergies-app:build: <w> 
72
- @openmrs/esm-patient-allergies-app:build: <w> More info and automated migrator: https://sass-lang.com/d/slash-div
73
- @openmrs/esm-patient-allergies-app:build: <w> 
74
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/layout/_convert.scss 25:12 carbon--rem()
75
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/layout/_breakpoint.scss 16:23 @import
76
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_styles.scss 8:9 @import
77
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_reset.scss 10:9 @import
78
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_css--reset.scss 9:9 @import
79
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_helper-mixins.scss 23:9 @import
80
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_mixins.scss 8:9 @import
81
- @openmrs/esm-patient-allergies-app:build: <w> src/allergies/allergies-tile.component.scss 3:9 root stylesheet
82
- @openmrs/esm-patient-allergies-app:build: <w> 
83
- @openmrs/esm-patient-allergies-app:build: <w> Deprecation Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
84
- @openmrs/esm-patient-allergies-app:build: <w> 
85
- @openmrs/esm-patient-allergies-app:build: <w> Recommendation: math.div($step - 2, 4) or calc(($step - 2) / 4)
86
- @openmrs/esm-patient-allergies-app:build: <w> 
87
- @openmrs/esm-patient-allergies-app:build: <w> More info and automated migrator: https://sass-lang.com/d/slash-div
88
- @openmrs/esm-patient-allergies-app:build: <w> 
89
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_scale.scss 20:53 carbon--get-type-size()
90
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_scale.scss 31:17 @import
91
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_styles.scss 10:9 @import
92
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_reset.scss 10:9 @import
93
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_css--reset.scss 9:9 @import
94
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_helper-mixins.scss 23:9 @import
95
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_mixins.scss 8:9 @import
96
- @openmrs/esm-patient-allergies-app:build: <w> src/allergies/allergies-tile.component.scss 3:9 root stylesheet
97
- @openmrs/esm-patient-allergies-app:build: <w> 
98
- @openmrs/esm-patient-allergies-app:build: 
99
- @openmrs/esm-patient-allergies-app:build: LOG from ../../node_modules/sass-loader/dist/cjs.js sass-loader ../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../node_modules/sass-loader/dist/cjs.js!./src/allergies/allergies-overview.scss
100
- @openmrs/esm-patient-allergies-app:build: <w> Deprecation Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
101
- @openmrs/esm-patient-allergies-app:build: <w> 
102
- @openmrs/esm-patient-allergies-app:build: <w> Recommendation: math.div($px, $carbon--base-font-size) or calc($px / $carbon--base-font-size)
103
- @openmrs/esm-patient-allergies-app:build: <w> 
104
- @openmrs/esm-patient-allergies-app:build: <w> More info and automated migrator: https://sass-lang.com/d/slash-div
105
- @openmrs/esm-patient-allergies-app:build: <w> 
106
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/layout/_convert.scss 25:12 carbon--rem()
107
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/layout/_breakpoint.scss 16:23 @import
108
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_styles.scss 8:9 @import
109
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_reset.scss 10:9 @import
110
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_css--reset.scss 9:9 @import
111
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_helper-mixins.scss 23:9 @import
112
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_mixins.scss 8:9 @import
113
- @openmrs/esm-patient-allergies-app:build: <w> src/allergies/allergies-overview.scss 3:9 root stylesheet
114
- @openmrs/esm-patient-allergies-app:build: <w> 
115
- @openmrs/esm-patient-allergies-app:build: <w> Deprecation Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
116
- @openmrs/esm-patient-allergies-app:build: <w> 
117
- @openmrs/esm-patient-allergies-app:build: <w> Recommendation: math.div($step - 2, 4) or calc(($step - 2) / 4)
118
- @openmrs/esm-patient-allergies-app:build: <w> 
119
- @openmrs/esm-patient-allergies-app:build: <w> More info and automated migrator: https://sass-lang.com/d/slash-div
120
- @openmrs/esm-patient-allergies-app:build: <w> 
121
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_scale.scss 20:53 carbon--get-type-size()
122
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_scale.scss 31:17 @import
123
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_styles.scss 10:9 @import
124
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_reset.scss 10:9 @import
125
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_css--reset.scss 9:9 @import
126
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_helper-mixins.scss 23:9 @import
127
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_mixins.scss 8:9 @import
128
- @openmrs/esm-patient-allergies-app:build: <w> src/allergies/allergies-overview.scss 3:9 root stylesheet
129
- @openmrs/esm-patient-allergies-app:build: <w> 
130
- @openmrs/esm-patient-allergies-app:build: 
131
- @openmrs/esm-patient-allergies-app:build: LOG from ../../node_modules/sass-loader/dist/cjs.js sass-loader ../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../node_modules/sass-loader/dist/cjs.js!./src/allergies/allergies-detailed-summary.scss
132
- @openmrs/esm-patient-allergies-app:build: <w> Deprecation Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
133
- @openmrs/esm-patient-allergies-app:build: <w> 
134
- @openmrs/esm-patient-allergies-app:build: <w> Recommendation: math.div($px, $carbon--base-font-size) or calc($px / $carbon--base-font-size)
135
- @openmrs/esm-patient-allergies-app:build: <w> 
136
- @openmrs/esm-patient-allergies-app:build: <w> More info and automated migrator: https://sass-lang.com/d/slash-div
137
- @openmrs/esm-patient-allergies-app:build: <w> 
138
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/layout/_convert.scss 25:12 carbon--rem()
139
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/layout/_breakpoint.scss 16:23 @import
140
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_styles.scss 8:9 @import
141
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_reset.scss 10:9 @import
142
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_css--reset.scss 9:9 @import
143
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_helper-mixins.scss 23:9 @import
144
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_mixins.scss 8:9 @import
145
- @openmrs/esm-patient-allergies-app:build: <w> src/allergies/allergies-detailed-summary.scss 3:9 root stylesheet
146
- @openmrs/esm-patient-allergies-app:build: <w> 
147
- @openmrs/esm-patient-allergies-app:build: <w> Deprecation Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
148
- @openmrs/esm-patient-allergies-app:build: <w> 
149
- @openmrs/esm-patient-allergies-app:build: <w> Recommendation: math.div($step - 2, 4) or calc(($step - 2) / 4)
150
- @openmrs/esm-patient-allergies-app:build: <w> 
151
- @openmrs/esm-patient-allergies-app:build: <w> More info and automated migrator: https://sass-lang.com/d/slash-div
152
- @openmrs/esm-patient-allergies-app:build: <w> 
153
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_scale.scss 20:53 carbon--get-type-size()
154
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_scale.scss 31:17 @import
155
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_styles.scss 10:9 @import
156
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_reset.scss 10:9 @import
157
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_css--reset.scss 9:9 @import
158
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_helper-mixins.scss 23:9 @import
159
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_mixins.scss 8:9 @import
160
- @openmrs/esm-patient-allergies-app:build: <w> src/allergies/allergies-detailed-summary.scss 3:9 root stylesheet
161
- @openmrs/esm-patient-allergies-app:build: <w> 
162
- @openmrs/esm-patient-allergies-app:build: 
163
- @openmrs/esm-patient-allergies-app:build: LOG from ../../node_modules/sass-loader/dist/cjs.js sass-loader ../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../node_modules/sass-loader/dist/cjs.js!../esm-patient-biometrics-app/src/biometrics/weight-tile.component.scss
164
- @openmrs/esm-patient-allergies-app:build: <w> Deprecation Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
165
- @openmrs/esm-patient-allergies-app:build: <w> 
166
- @openmrs/esm-patient-allergies-app:build: <w> Recommendation: math.div($px, $carbon--base-font-size) or calc($px / $carbon--base-font-size)
167
- @openmrs/esm-patient-allergies-app:build: <w> 
168
- @openmrs/esm-patient-allergies-app:build: <w> More info and automated migrator: https://sass-lang.com/d/slash-div
169
- @openmrs/esm-patient-allergies-app:build: <w> 
170
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/layout/_convert.scss 25:12 carbon--rem()
171
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/layout/_breakpoint.scss 16:23 @import
172
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_styles.scss 8:9 @import
173
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_reset.scss 10:9 @import
174
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_css--reset.scss 9:9 @import
175
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_helper-mixins.scss 23:9 @import
176
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_mixins.scss 8:9 @import
177
- @openmrs/esm-patient-allergies-app:build: <w> ../esm-patient-biometrics-app/src/biometrics/weight-tile.component.scss 3:9 root stylesheet
178
- @openmrs/esm-patient-allergies-app:build: <w> 
179
- @openmrs/esm-patient-allergies-app:build: <w> Deprecation Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
180
- @openmrs/esm-patient-allergies-app:build: <w> 
181
- @openmrs/esm-patient-allergies-app:build: <w> Recommendation: math.div($step - 2, 4) or calc(($step - 2) / 4)
182
- @openmrs/esm-patient-allergies-app:build: <w> 
183
- @openmrs/esm-patient-allergies-app:build: <w> More info and automated migrator: https://sass-lang.com/d/slash-div
184
- @openmrs/esm-patient-allergies-app:build: <w> 
185
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_scale.scss 20:53 carbon--get-type-size()
186
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_scale.scss 31:17 @import
187
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_styles.scss 10:9 @import
188
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_reset.scss 10:9 @import
189
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_css--reset.scss 9:9 @import
190
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_helper-mixins.scss 23:9 @import
191
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_mixins.scss 8:9 @import
192
- @openmrs/esm-patient-allergies-app:build: <w> ../esm-patient-biometrics-app/src/biometrics/weight-tile.component.scss 3:9 root stylesheet
193
- @openmrs/esm-patient-allergies-app:build: <w> 
194
- @openmrs/esm-patient-allergies-app:build: 
195
- @openmrs/esm-patient-allergies-app:build: LOG from ../../node_modules/sass-loader/dist/cjs.js sass-loader ../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../node_modules/sass-loader/dist/cjs.js!../esm-patient-chart-app/src/patient-details-tile/patient-details-tile.scss
196
- @openmrs/esm-patient-allergies-app:build: <w> Deprecation Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
197
- @openmrs/esm-patient-allergies-app:build: <w> 
198
- @openmrs/esm-patient-allergies-app:build: <w> Recommendation: math.div($px, $carbon--base-font-size) or calc($px / $carbon--base-font-size)
199
- @openmrs/esm-patient-allergies-app:build: <w> 
200
- @openmrs/esm-patient-allergies-app:build: <w> More info and automated migrator: https://sass-lang.com/d/slash-div
201
- @openmrs/esm-patient-allergies-app:build: <w> 
202
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/layout/_convert.scss 25:12 carbon--rem()
203
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/layout/_breakpoint.scss 16:23 @import
204
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_styles.scss 8:9 @import
205
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_reset.scss 10:9 @import
206
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_css--reset.scss 9:9 @import
207
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_helper-mixins.scss 23:9 @import
208
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_mixins.scss 8:9 @import
209
- @openmrs/esm-patient-allergies-app:build: <w> ../esm-patient-chart-app/src/patient-details-tile/patient-details-tile.scss 3:9 root stylesheet
210
- @openmrs/esm-patient-allergies-app:build: <w> 
211
- @openmrs/esm-patient-allergies-app:build: <w> Deprecation Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
212
- @openmrs/esm-patient-allergies-app:build: <w> 
213
- @openmrs/esm-patient-allergies-app:build: <w> Recommendation: math.div($step - 2, 4) or calc(($step - 2) / 4)
214
- @openmrs/esm-patient-allergies-app:build: <w> 
215
- @openmrs/esm-patient-allergies-app:build: <w> More info and automated migrator: https://sass-lang.com/d/slash-div
216
- @openmrs/esm-patient-allergies-app:build: <w> 
217
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_scale.scss 20:53 carbon--get-type-size()
218
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_scale.scss 31:17 @import
219
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_styles.scss 10:9 @import
220
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_reset.scss 10:9 @import
221
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_css--reset.scss 9:9 @import
222
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_helper-mixins.scss 23:9 @import
223
- @openmrs/esm-patient-allergies-app:build: <w> ../../node_modules/carbon-components/src/globals/scss/_mixins.scss 8:9 @import
224
- @openmrs/esm-patient-allergies-app:build: <w> ../esm-patient-chart-app/src/patient-details-tile/patient-details-tile.scss 3:9 root stylesheet
225
- @openmrs/esm-patient-allergies-app:build: <w> 
226
- @openmrs/esm-patient-allergies-app:build: 
227
- @openmrs/esm-patient-allergies-app:build: WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
228
- @openmrs/esm-patient-allergies-app:build: This can impact web performance.
229
- @openmrs/esm-patient-allergies-app:build: Assets:
230
- @openmrs/esm-patient-allergies-app:build:  716.js (476 KiB)
231
- @openmrs/esm-patient-allergies-app:build:  858.js (477 KiB)
232
- @openmrs/esm-patient-allergies-app:build: 
233
- @openmrs/esm-patient-allergies-app:build: webpack 5.72.0 compiled with 1 warning in 169742 ms
1
+ @openmrs/esm-patient-allergies-app:build: cache hit, replaying output 1f9465873637c15f
2
+ @openmrs/esm-patient-allergies-app:build: $ webpack --mode production
3
+ @openmrs/esm-patient-allergies-app:build: assets by chunk 1.43 MiB (id hint: vendors)
4
+ @openmrs/esm-patient-allergies-app:build:  asset 858.js 474 KiB [emitted] [minimized] [big] (id hint: vendors) 1 related asset
5
+ @openmrs/esm-patient-allergies-app:build:  asset 635.js 228 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
6
+ @openmrs/esm-patient-allergies-app:build:  asset 732.js 219 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
7
+ @openmrs/esm-patient-allergies-app:build:  asset 482.js 193 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
8
+ @openmrs/esm-patient-allergies-app:build:  asset 402.js 85.5 KiB [emitted] [minimized] (id hint: vendors)
9
+ @openmrs/esm-patient-allergies-app:build:  asset 801.js 72.2 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
10
+ @openmrs/esm-patient-allergies-app:build:  asset 563.js 62.7 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
11
+ @openmrs/esm-patient-allergies-app:build:  asset 872.js 36.5 KiB [emitted] [minimized] (id hint: vendors)
12
+ @openmrs/esm-patient-allergies-app:build:  asset 817.js 27.2 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
13
+ @openmrs/esm-patient-allergies-app:build:  asset 230.js 22.6 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
14
+ @openmrs/esm-patient-allergies-app:build:  asset 366.js 16.3 KiB [emitted] [minimized] (id hint: vendors)
15
+ @openmrs/esm-patient-allergies-app:build:  asset 379.js 10.8 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
16
+ @openmrs/esm-patient-allergies-app:build:  + 3 assets
17
+ @openmrs/esm-patient-allergies-app:build: + 17 assets
18
+ @openmrs/esm-patient-allergies-app:build: orphan modules 9.2 MiB (javascript) 42 bytes (consume-shared) [orphan] 829 modules
19
+ @openmrs/esm-patient-allergies-app:build: runtime modules 20.1 KiB 15 modules
20
+ @openmrs/esm-patient-allergies-app:build: built modules 5.68 MiB (javascript) 378 bytes (share-init) 378 bytes (consume-shared) [built]
21
+ @openmrs/esm-patient-allergies-app:build:  modules by path ../../node_modules/ 5.51 MiB 163 modules
22
+ @openmrs/esm-patient-allergies-app:build:  modules by path ./ 79.9 KiB 14 modules
23
+ @openmrs/esm-patient-allergies-app:build:  provide-module modules 378 bytes 9 modules
24
+ @openmrs/esm-patient-allergies-app:build:  consume-shared-module modules 378 bytes 9 modules
25
+ @openmrs/esm-patient-allergies-app:build:  modules by path ../esm-patient-common-lib/src/ 75.7 KiB 5 modules
26
+ @openmrs/esm-patient-allergies-app:build:  modules by path ../esm-patient-chart-app/src/patient-details-tile/ 6.54 KiB
27
+ @openmrs/esm-patient-allergies-app:build:  ../esm-patient-chart-app/src/patient-details-tile/patient-details-tile.component.tsx + 1 modules 2.86 KiB [built] [code generated]
28
+ @openmrs/esm-patient-allergies-app:build:  ../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!../esm-patient-chart-app/src/patient-details-tile/patient-details-tile.scss 3.68 KiB [built] [code generated]
29
+ @openmrs/esm-patient-allergies-app:build:  modules by path ../esm-patient-biometrics-app/src/biometrics/ 14.4 KiB
30
+ @openmrs/esm-patient-allergies-app:build:  ../esm-patient-biometrics-app/src/biometrics/weight-tile.component.tsx + 3 modules 10.7 KiB [built] [code generated]
31
+ @openmrs/esm-patient-allergies-app:build:  ../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!../esm-patient-biometrics-app/src/biometrics/weight-tile.component.scss 3.65 KiB [built] [code generated]
32
+ @openmrs/esm-patient-allergies-app:build:  container entry 42 bytes [built] [code generated]
33
+ @openmrs/esm-patient-allergies-app:build: 
34
+ @openmrs/esm-patient-allergies-app:build: WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
35
+ @openmrs/esm-patient-allergies-app:build: This can impact web performance.
36
+ @openmrs/esm-patient-allergies-app:build: Assets:
37
+ @openmrs/esm-patient-allergies-app:build:  858.js (474 KiB)
38
+ @openmrs/esm-patient-allergies-app:build: 
39
+ @openmrs/esm-patient-allergies-app:build: webpack 5.73.0 compiled with 1 warning in 93817 ms
package/dist/142.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_openmrs_esm_patient_allergies_app=self.webpackChunk_openmrs_esm_patient_allergies_app||[]).push([[142],{7904:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(9601),a=n.n(r),i=n(2609),o=n.n(i)()(a());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{padding:0;border:0;margin:0;font:inherit;font-size:100%;vertical-align:baseline}button,select,input,textarea{border-radius:0;font-family:inherit}input[type=text]::-ms-clear{display:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}body{line-height:1}sup{vertical-align:super}sub{vertical-align:sub}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote::before,blockquote::after,q::before,q::after{content:\"\"}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box}button{margin:0}html{font-size:100%}body{font-weight:400;font-family:'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}code{font-family:'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace}strong{font-weight:600}@media screen and (-ms-high-contrast: active){svg{fill:ButtonText}}h1{font-size:2.625rem;font-weight:300;line-height:1.199;letter-spacing:0}h2{font-size:2rem;font-weight:400;line-height:1.25;letter-spacing:0}h3{font-size:1.75rem;font-weight:400;line-height:1.29;letter-spacing:0}h4{font-size:1.25rem;font-weight:400;line-height:1.4;letter-spacing:0}h5{font-size:1rem;font-weight:600;line-height:1.375;letter-spacing:0}h6{font-size:.875rem;font-weight:600;line-height:1.29;letter-spacing:.16px}p{font-size:1rem;font-weight:400;line-height:1.5;letter-spacing:0}a{color:#0f62fe}em{font-style:italic}@keyframes -esm-patient-allergies__card-header__skeleton___RFH3S{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}100%{opacity:.3;transform:scaleX(0);transform-origin:left}}.-esm-patient-allergies__card-header__desktopHeader___BUQ5I,.-esm-patient-allergies__card-header__tabletHeader___efA_M{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0 .75rem 1rem;background-color:#fff}.-esm-patient-allergies__card-header__desktopHeader___BUQ5I h4:after,.-esm-patient-allergies__card-header__tabletHeader___efA_M h4:after{content:\"\";display:block;width:2rem;padding-top:.188rem;border-bottom:.375rem solid var(--brand-03)}.-esm-patient-allergies__card-header__desktopHeader___BUQ5I{height:3rem}.-esm-patient-allergies__card-header__desktopHeader___BUQ5I h4{font-size:1rem;font-weight:600;line-height:1.375;letter-spacing:0;color:#525252}.-esm-patient-allergies__card-header__tabletHeader___efA_M{height:4.5rem}.-esm-patient-allergies__card-header__tabletHeader___efA_M h4{font-size:1.25rem;font-weight:400;line-height:1.4;letter-spacing:0;color:#525252}",""]),o.locals={desktopHeader:"-esm-patient-allergies__card-header__desktopHeader___BUQ5I",tabletHeader:"-esm-patient-allergies__card-header__tabletHeader___efA_M",skeleton:"-esm-patient-allergies__card-header__skeleton___RFH3S"};const s=o},7431:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(9601),a=n.n(r),i=n(2609),o=n.n(i)()(a());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{padding:0;border:0;margin:0;font:inherit;font-size:100%;vertical-align:baseline}button,select,input,textarea{border-radius:0;font-family:inherit}input[type=text]::-ms-clear{display:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}body{line-height:1}sup{vertical-align:super}sub{vertical-align:sub}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote::before,blockquote::after,q::before,q::after{content:\"\"}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box}button{margin:0}html{font-size:100%}body{font-weight:400;font-family:'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}code{font-family:'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace}strong{font-weight:600}@media screen and (-ms-high-contrast: active){svg{fill:ButtonText}}h1{font-size:2.625rem;font-weight:300;line-height:1.199;letter-spacing:0}h2{font-size:2rem;font-weight:400;line-height:1.25;letter-spacing:0}h3{font-size:1.75rem;font-weight:400;line-height:1.29;letter-spacing:0}h4{font-size:1.25rem;font-weight:400;line-height:1.4;letter-spacing:0}h5{font-size:1rem;font-weight:600;line-height:1.375;letter-spacing:0}h6{font-size:.875rem;font-weight:600;line-height:1.29;letter-spacing:.16px}p{font-size:1rem;font-weight:400;line-height:1.5;letter-spacing:0}a{color:#0f62fe}em{font-style:italic}@keyframes -esm-patient-allergies__empty-state__skeleton___TC36q{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}100%{opacity:.3;transform:scaleX(0);transform-origin:left}}.-esm-patient-allergies__empty-state__action___xInzb{margin-bottom:.5rem}.-esm-patient-allergies__empty-state__content___lACIK{font-size:.875rem;font-weight:600;line-height:1.29;letter-spacing:.16px;color:#525252;margin-top:1rem;margin-bottom:.5rem}.-esm-patient-allergies__empty-state__desktopHeading___UIGID h4{font-size:1rem;font-weight:600;line-height:1.375;letter-spacing:0;color:#525252}.-esm-patient-allergies__empty-state__tabletHeading___lVXqD h4{font-size:1.25rem;font-weight:400;line-height:1.4;letter-spacing:0;color:#525252}.-esm-patient-allergies__empty-state__desktopHeading___UIGID,.-esm-patient-allergies__empty-state__tabletHeading___lVXqD{text-align:left;text-transform:capitalize;margin-bottom:1rem}.-esm-patient-allergies__empty-state__desktopHeading___UIGID h4:after,.-esm-patient-allergies__empty-state__tabletHeading___lVXqD h4:after{content:\"\";display:block;width:2rem;padding-top:.188rem;border-bottom:.375rem solid var(--brand-03)}.-esm-patient-allergies__empty-state__heading___gW4Bc:after{content:\"\";display:block;width:2rem;padding-top:.188rem;border-bottom:.375rem solid var(--brand-03)}.-esm-patient-allergies__empty-state__tile___DvfL3{text-align:center;border:1px solid #e0e0e0}",""]),o.locals={action:"-esm-patient-allergies__empty-state__action___xInzb",content:"-esm-patient-allergies__empty-state__content___lACIK",desktopHeading:"-esm-patient-allergies__empty-state__desktopHeading___UIGID",tabletHeading:"-esm-patient-allergies__empty-state__tabletHeading___lVXqD",heading:"-esm-patient-allergies__empty-state__heading___gW4Bc",tile:"-esm-patient-allergies__empty-state__tile___DvfL3",skeleton:"-esm-patient-allergies__empty-state__skeleton___TC36q"};const s=o},418:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(9601),a=n.n(r),i=n(2609),o=n.n(i)()(a());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{padding:0;border:0;margin:0;font:inherit;font-size:100%;vertical-align:baseline}button,select,input,textarea{border-radius:0;font-family:inherit}input[type=text]::-ms-clear{display:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}body{line-height:1}sup{vertical-align:super}sub{vertical-align:sub}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote::before,blockquote::after,q::before,q::after{content:\"\"}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box}button{margin:0}html{font-size:100%}body{font-weight:400;font-family:'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}code{font-family:'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace}strong{font-weight:600}@media screen and (-ms-high-contrast: active){svg{fill:ButtonText}}h1{font-size:2.625rem;font-weight:300;line-height:1.199;letter-spacing:0}h2{font-size:2rem;font-weight:400;line-height:1.25;letter-spacing:0}h3{font-size:1.75rem;font-weight:400;line-height:1.29;letter-spacing:0}h4{font-size:1.25rem;font-weight:400;line-height:1.4;letter-spacing:0}h5{font-size:1rem;font-weight:600;line-height:1.375;letter-spacing:0}h6{font-size:.875rem;font-weight:600;line-height:1.29;letter-spacing:.16px}p{font-size:1rem;font-weight:400;line-height:1.5;letter-spacing:0}a{color:#0f62fe}em{font-style:italic}@keyframes -esm-patient-allergies__error-state__skeleton___o_2Aa{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}100%{opacity:.3;transform:scaleX(0);transform-origin:left}}.-esm-patient-allergies__error-state__errorMessage___kDICS{font-size:1rem;font-weight:600;line-height:1.375;letter-spacing:0;color:#161616;margin-top:2.25rem;margin-bottom:.5rem}.-esm-patient-allergies__error-state__errorCopy___UX21v{margin-bottom:.5rem;font-size:.875rem;font-weight:400;line-height:1.43;letter-spacing:.16px;color:#525252}.-esm-patient-allergies__error-state__desktopHeading___Bhvtx h4{font-size:1rem;font-weight:600;line-height:1.375;letter-spacing:0;color:#525252}.-esm-patient-allergies__error-state__tabletHeading___EAqy2 h4{font-size:1.25rem;font-weight:400;line-height:1.4;letter-spacing:0;color:#525252}.-esm-patient-allergies__error-state__desktopHeading___Bhvtx,.-esm-patient-allergies__error-state__tabletHeading___EAqy2{text-align:left;text-transform:capitalize;margin-bottom:1rem}.-esm-patient-allergies__error-state__desktopHeading___Bhvtx h4:after,.-esm-patient-allergies__error-state__tabletHeading___EAqy2 h4:after{content:\"\";display:block;width:2rem;padding-top:.188rem;border-bottom:.375rem solid var(--brand-03)}.-esm-patient-allergies__error-state__tile___LTdVO{text-align:center;border:1px solid #e0e0e0}",""]),o.locals={errorMessage:"-esm-patient-allergies__error-state__errorMessage___kDICS",errorCopy:"-esm-patient-allergies__error-state__errorCopy___UX21v",desktopHeading:"-esm-patient-allergies__error-state__desktopHeading___Bhvtx",tabletHeading:"-esm-patient-allergies__error-state__tabletHeading___EAqy2",tile:"-esm-patient-allergies__error-state__tile___LTdVO",skeleton:"-esm-patient-allergies__error-state__skeleton___o_2Aa"};const s=o},3988:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(9601),a=n.n(r),i=n(2609),o=n.n(i)()(a());o.push([e.id,"html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{padding:0;border:0;margin:0;font:inherit;font-size:100%;vertical-align:baseline}button,select,input,textarea{border-radius:0;font-family:inherit}input[type=text]::-ms-clear{display:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}body{line-height:1}sup{vertical-align:super}sub{vertical-align:sub}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote::before,blockquote::after,q::before,q::after{content:\"\"}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box}button{margin:0}html{font-size:100%}body{font-weight:400;font-family:'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}code{font-family:'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace}strong{font-weight:600}@media screen and (-ms-high-contrast: active){svg{fill:ButtonText}}h1{font-size:2rem;font-weight:300;line-height:1.199;letter-spacing:0}h2{font-size:2rem;font-weight:400;line-height:1.25;letter-spacing:0}h3{font-size:1.75rem;font-weight:400;line-height:1.29;letter-spacing:0}h4{font-size:1.25rem;font-weight:400;line-height:1.4;letter-spacing:0}h5{font-size:1rem;font-weight:600;line-height:1.375;letter-spacing:0}h6{font-size:.875rem;font-weight:600;line-height:1.29;letter-spacing:.16px}p{font-size:1rem;font-weight:400;line-height:1.5;letter-spacing:0}a{color:#0f62fe}em{font-style:italic}@keyframes -esm-patient-allergies__pagination-component__skeleton___rGCby{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}100%{opacity:.3;transform:scaleX(0);transform-origin:left}}:root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-patient-allergies__pagination-component__bodyShort01___Pd3yQ,.-esm-patient-allergies__pagination-component__configurableLink___UgWEP{font-size:.875rem;font-weight:400;line-height:1.29;letter-spacing:.16px}.-esm-patient-allergies__pagination-component__desktop___usWzK,.-esm-patient-allergies__pagination-component__tablet___B5tv0{font-size:.875rem;font-weight:400;line-height:1.29;letter-spacing:.16px;display:flex;border-top:1px solid #e0e0e0;justify-content:space-between;color:#525252;background-color:#fff;padding-left:1rem;align-items:center}.-esm-patient-allergies__pagination-component__desktop___usWzK .bx--pagination{min-height:0rem;height:2rem;width:auto;border:none}.-esm-patient-allergies__pagination-component__desktop___usWzK .bx--pagination .bx--select-input,.-esm-patient-allergies__pagination-component__desktop___usWzK .bx--pagination .bx--btn,.-esm-patient-allergies__pagination-component__desktop___usWzK .bx--pagination .bx--pagination__right{min-height:0rem;height:2rem}.-esm-patient-allergies__pagination-component__tablet___B5tv0 .bx--pagination{min-height:0rem;height:3rem;width:auto;border:none}.-esm-patient-allergies__pagination-component__tablet___B5tv0 .bx--pagination .bx--select-input,.-esm-patient-allergies__pagination-component__tablet___B5tv0 .bx--pagination .bx--btn,.-esm-patient-allergies__pagination-component__tablet___B5tv0 .bx--pagination .bx--pagination__right{min-height:0rem;height:3rem}.-esm-patient-allergies__pagination-component__configurableLink___UgWEP{text-decoration:none;padding:0 .5rem}.-esm-patient-allergies__pagination-component__pagination___wnPFH{font-size:.875rem;font-weight:400;line-height:1.29;letter-spacing:.16px;background-color:#fff;color:#525252;display:flex}div.-esm-patient-allergies__pagination-component__pagination___wnPFH>.bx--pagination__left{display:none}",""]),o.locals={bodyShort01:"-esm-patient-allergies__pagination-component__bodyShort01___Pd3yQ",configurableLink:"-esm-patient-allergies__pagination-component__configurableLink___UgWEP",desktop:"-esm-patient-allergies__pagination-component__desktop___usWzK",tablet:"-esm-patient-allergies__pagination-component__tablet___B5tv0",pagination:"-esm-patient-allergies__pagination-component__pagination___wnPFH",skeleton:"-esm-patient-allergies__pagination-component__skeleton___rGCby"};const s=o},9142:(e,t,n)=>{n.r(t),n.d(t,{CardHeader:()=>w,DashboardExtension:()=>U,DashboardGroupExtension:()=>O,EmptyDataIllustration:()=>P,EmptyState:()=>C,ErrorState:()=>T,PatientChartPagination:()=>$,WorkspaceWindowSizeProvider:()=>Te,cancelPrompt:()=>be,changeWorkspaceContext:()=>we,closeAllWorkspaces:()=>ve,closeWorkspace:()=>ye,convertTime12to24:()=>J,createDashboardGroup:()=>j,createDashboardLink:()=>V,createOfflineVisitForPatient:()=>et,formEntrySub:()=>re,getOfflineVisitForPatient:()=>Ye,getPromptBeforeClosingFcn:()=>he,getWorkspaceStore:()=>Se,launchPatientChartWithWorkspaceOpen:()=>de,launchPatientWorkspace:()=>fe,launchStartVisitPrompt:()=>N,patientRegistrationSyncType:()=>Ue,promptBeforeClosing:()=>_e,registerNavGroup:()=>X,registerWorkspace:()=>ue,resetWorkspaceStore:()=>xe,useActivePatientEnrollment:()=>Oe,useAutoCreatedOfflineVisit:()=>$e,useNavGroups:()=>B,useOfflineVisit:()=>Qe,usePaginationInfo:()=>Q,usePatientOrOfflineRegisteredPatient:()=>Ve,useVisitOrOfflineVisit:()=>Ke,useVitalsConceptMetadata:()=>te,useWorkspaceWindowSize:()=>He,useWorkspaces:()=>Pe,visitSyncType:()=>Re,withUnit:()=>ne});var r=n(9902),a=n.n(r),i=n(3066),o=n(321),s=n.n(o),l=n(1195),c=n.n(l),p=n(3275),u=n.n(p),m=n(7162),f=n.n(m),d=n(2094),g=n.n(d),_=n(757),h=n.n(_),b=n(7904),y={};y.styleTagTransform=h(),y.setAttributes=f(),y.insert=u().bind(null,"head"),y.domAPI=c(),y.insertStyleElement=g(),s()(b.Z,y);const v=b.Z&&b.Z.locals?b.Z.locals:void 0;function w(e){var t=e.title,n=e.children,r="tablet"===(0,i.useLayoutType)();return a().createElement("div",{className:r?v.tabletHeader:v.desktopHeader},a().createElement("h4",null,t),n)}var k=n(7431),S={};S.styleTagTransform=h(),S.setAttributes=f(),S.insert=u().bind(null,"head"),S.domAPI=c(),S.insertStyleElement=g(),s()(k.Z,S);const x=k.Z&&k.Z.locals?k.Z.locals:void 0;var z=n(4187),E=n(3277),A=n(4924),P=function(e){var t=e.width,n=void 0===t?"64":t,r=e.height,i=void 0===r?"64":r;return a().createElement("svg",{width:n,height:i,viewBox:"0 0 64 64"},a().createElement("title",null,"Empty data illustration"),a().createElement("g",{fill:"none",fillRule:"evenodd"},a().createElement("path",{d:"M38.133 13.186H21.947c-.768.001-1.39.623-1.39 1.391V50.55l-.186.057-3.97 1.216a.743.743 0 01-.927-.493L3.664 12.751a.742.742 0 01.492-.926l6.118-1.874 17.738-5.43 6.119-1.873a.741.741 0 01.926.492L38.076 13l.057.186z",fill:"#F4F4F4"}),a().createElement("path",{d:"M41.664 13L38.026 1.117A1.576 1.576 0 0036.056.07l-8.601 2.633-17.737 5.43-8.603 2.634a1.578 1.578 0 00-1.046 1.97l12.436 40.616a1.58 1.58 0 001.969 1.046l5.897-1.805.185-.057v-.194l-.185.057-5.952 1.822a1.393 1.393 0 01-1.737-.923L.247 12.682a1.39 1.39 0 01.923-1.738L9.772 8.31 27.51 2.881 36.112.247a1.393 1.393 0 011.737.923L41.47 13l.057.186h.193l-.057-.185z",fill:"#8D8D8D"}),a().createElement("path",{d:"M11.378 11.855a.836.836 0 01-.798-.59L9.385 7.361a.835.835 0 01.554-1.042l16.318-4.996a.836.836 0 011.042.554l1.195 3.902a.836.836 0 01-.554 1.043l-16.318 4.995a.831.831 0 01-.244.037z",fill:"#C6C6C6"}),a().createElement("circle",{fill:"#C6C6C6",cx:17.636,cy:2.314,r:1.855}),a().createElement("circle",{fill:"#FFF",fillRule:"nonzero",cx:17.636,cy:2.314,r:1.175}),a().createElement("path",{d:"M55.893 53.995H24.544a.79.79 0 01-.788-.789V15.644a.79.79 0 01.788-.788h31.349a.79.79 0 01.788.788v37.562a.79.79 0 01-.788.789z",fill:"#F4F4F4"}),a().createElement("path",{d:"M41.47 13H21.948a1.579 1.579 0 00-1.576 1.577V52.4l.185-.057V14.577c.001-.768.623-1.39 1.391-1.39h19.581L41.471 13zm17.02 0H21.947a1.579 1.579 0 00-1.576 1.577v42.478c0 .87.706 1.576 1.576 1.577H58.49a1.579 1.579 0 001.576-1.577V14.577a1.579 1.579 0 00-1.576-1.576zm1.39 44.055c0 .768-.622 1.39-1.39 1.392H21.947c-.768-.001-1.39-.624-1.39-1.392V14.577c0-.768.622-1.39 1.39-1.39H58.49c.768 0 1.39.622 1.39 1.39v42.478z",fill:"#8D8D8D"}),a().createElement("path",{d:"M48.751 17.082H31.686a.836.836 0 01-.835-.835v-4.081c0-.46.374-.834.835-.835H48.75c.461 0 .834.374.835.835v4.08c0 .462-.374.835-.835.836z",fill:"#C6C6C6"}),a().createElement("circle",{fill:"#C6C6C6",cx:40.218,cy:9.755,r:1.855}),a().createElement("circle",{fill:"#FFF",fillRule:"nonzero",cx:40.218,cy:9.755,r:1.13})))},C=function(e){var t=(0,A.useTranslation)().t,n="tablet"===(0,i.useLayoutType)();return a().createElement(z.n9,{light:!0,className:x.tile},a().createElement("div",{className:n?x.tabletHeading:x.desktopHeading},a().createElement("h4",null,e.headerTitle)),a().createElement(P,null),a().createElement("p",{className:x.content},a().createElement(A.Trans,{i18nKey:"emptyStateText",values:{displayText:e.displayText.toLowerCase()}},"There are no ",e.displayText.toLowerCase()," to display for this patient")),a().createElement("p",{className:x.action},e.launchForm&&a().createElement("span",null," ",a().createElement(E.Z,{onClick:function(){return e.launchForm()}},a().createElement(a().Fragment,null,t("record","Record")," ",e.displayText.toLowerCase())))))},I=n(418),M={};M.styleTagTransform=h(),M.setAttributes=f(),M.insert=u().bind(null,"head"),M.domAPI=c(),M.insertStyleElement=g(),s()(I.Z,M);const H=I.Z&&I.Z.locals?I.Z.locals:void 0;var T=function(e){var t,n,r=e.error,o=e.headerTitle,s=(0,A.useTranslation)().t,l="tablet"===(0,i.useLayoutType)();return a().createElement(z.n9,{light:!0,className:H.tile},a().createElement("div",{className:l?H.tabletHeading:H.desktopHeading},a().createElement("h4",null,o)),a().createElement("p",{className:H.errorMessage},s("error","Error")," ","".concat(null==r||null===(t=r.response)||void 0===t?void 0:t.status,": "),null==r||null===(n=r.response)||void 0===n?void 0:n.statusText),a().createElement("p",{className:H.errorCopy},s("errorCopy","Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.")))},W=n(3884),q=n(1975),O=function(e){var t=e.title,n=e.slotName,o=e.basePath,s=e.isExpanded;return(0,r.useEffect)((function(){X(n)}),[n]),a().createElement(W.ZP,null,a().createElement(q.Z,{open:null==s||s,title:t,style:{border:"none"}},a().createElement(i.ExtensionSlot,{extensionSlotName:null!=n?n:t,state:{basePath:o}})))},j=function(e){var t=e.title,n=e.slotName,r=e.isExpanded;return function(e){var i=e.basePath;return a().createElement(O,{title:t,slotName:n,basePath:i,isExpanded:r})}};function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var D=(0,i.createGlobalStore)("nav-groups",{navGroups:[]});function X(e){var t,n=D.getState();D.setState({navGroups:[e].concat((t=n.navGroups,function(e){if(Array.isArray(e))return L(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return L(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?L(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))})}var B=(0,i.createUseStore)(D),U=function(e){var t=e.title,n=e.basePath;return a().createElement("div",{key:t},a().createElement(i.ConfigurableLink,{to:"".concat(n,"/").concat(encodeURIComponent(t)),className:"bx--side-nav__link"},t))},V=function(e){return function(t){var n=t.basePath;return a().createElement(U,{title:e.title,basePath:n})}};function N(){var e=(0,i.showModal)("start-visit-dialog",{closeModal:function(){return e()}})}var F=n(3988),Z={};Z.styleTagTransform=h(),Z.setAttributes=f(),Z.insert=u().bind(null,"head"),Z.domAPI=c(),Z.insertStyleElement=g(),s()(F.Z,Z);const G=F.Z&&F.Z.locals?F.Z.locals:void 0;var R=n(7975);function K(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Q(e,t,n,a){var i=(0,A.useTranslation)().t,o=(0,r.useMemo)((function(){var n,r=Math.ceil(t/e);return(n=Array(r).keys(),function(e){if(Array.isArray(e))return K(e)}(n)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return K(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?K(e,t):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(t){return(t+1)*e}))}),[e,t]),s=(0,r.useMemo)((function(){return e>t?"".concat(t," / ").concat(t):e*n>t?"".concat(e*(n-1)+a," / ").concat(t):"".concat(e*n," / ").concat(t)}),[e,t,n,a]);return{pageSizes:o,itemsDisplayed:"".concat(s," ").concat(i("items"," items"))}}var $=function(e){var t=e.totalItems,n=e.pageSize,r=e.onPageNumberChange,o=e.pageNumber,s=e.dashboardLinkUrl,l=e.currentItems,c=e.dashboardLinkLabel,p=(0,A.useTranslation)().t,u=Q(n,t,o,l),m=u.itemsDisplayed,f=u.pageSizes,d="tablet"===(0,i.useLayoutType)();return a().createElement(a().Fragment,null,t>0&&a().createElement("div",{className:d?G.tablet:G.desktop},a().createElement("div",null,m,s&&a().createElement(i.ConfigurableLink,{to:s,className:G.configurableLink},null!=c?c:p("seeAll","See all"))),a().createElement(R.Z,{className:G.pagination,page:o,pageSize:n,pageSizes:f,totalItems:t,onChange:r})))};function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var J=function(e,t){var n,r,a=(n=e.split(":"),r=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(s)throw a}}return i}}(n,r)||function(e,t){if(e){if("string"==typeof e)return Y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Y(e,t):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=a[0],o=a[1];return"12"===i&&"AM"===t&&(i="00"),"PM"===t&&(i="12"===i?i:parseInt(i,10)+12),[i,o]},ee=n(2303);function te(){var e,t,n="/ws/rest/v1/concept/?q=VITALS SIGNS&v=".concat("custom:(setMembers:(uuid,display,hiNormal,hiAbsolute,hiCritical,lowNormal,lowAbsolute,lowCritical,units))"),r=(0,ee.Z)(n,i.openmrsFetch),a=r.data,o=r.error,s=null===(t=null==a||null===(e=a.data)||void 0===e?void 0:e.results[0])||void 0===t?void 0:t.setMembers;return{data:(null==s?void 0:s.length)?new Map(s.map((function(e){return[e.uuid,e.units]}))):new Map([]),isError:o,isLoading:!a&&!o,conceptMetadata:s}}var ne=function(e,t){return"".concat(e," ").concat(t?"(".concat(t,")"):"")},re=new(n(2444).BehaviorSubject)(null),ae=n(6081);function ie(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){oe(e,t,n[t])}))}return e}function le(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}function ce(e){return function(e){if(Array.isArray(e))return ie(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return ie(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ie(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var pe={};function ue(e){var t,n;pe[e.name]=le(se({},e),{preferredWindowSize:null!==(t=e.preferredWindowSize)&&void 0!==t?t:"normal",type:null!==(n=e.type)&&void 0!==n?n:"form"})}function me(e){var t,n=null==e||null===(t=e.meta)||void 0===t?void 0:t.title;return"string"==typeof n?n:n&&"object"==typeof n?(0,i.translateFrom)(e.moduleName,n.key,n.default):e.name}function fe(e,t){var n=Se(),r=n.getState(),a=function(e){if(pe[e])return pe[e];var t,n,r,a,i=(0,ae.getExtensionRegistration)(e);if(i)return{name:i.name,title:me(i),preferredWindowSize:null!==(r=null===(t=i.meta)||void 0===t?void 0:t.screenSize)&&void 0!==r?r:"normal",load:i.load,type:null!==(a=null===(n=i.meta)||void 0===n?void 0:n.type)&&void 0!==a?a:"form"};throw new Error("No workspace named '".concat(e,"' has been registered."))}(e),o=le(se({},a),{closeWorkspace:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return ye(e,t)},promptBeforeClosing:function(t){return _e(e,t)},additionalProps:t}),s=r.openWorkspaces.filter((function(e){return e.type==o.type}));if(0==s.length)n.setState(le(se({},r),{openWorkspaces:[o].concat(ce(r.openWorkspaces))}));else{var l=r.openWorkspaces.findIndex((function(t){return t.name==e})),c=he(s[0].name);if(l>=0){var p=ce(r.openWorkspaces);p.splice(l,1),r.openWorkspaces[l].additionalProps=o.additionalProps;var u=[r.openWorkspaces[l]].concat(ce(p));n.setState(le(se({},r),{openWorkspaces:u}))}else if(!c||c()){var m,f=null!==(m=s[0].title)&&void 0!==m?m:s[0].name,d={title:(0,i.translateFrom)("@openmrs/esm-patient-chart-app","activeFormWarning","There is an active form open in the workspace"),body:(0,i.translateFrom)("@openmrs/esm-patient-chart-app","workspaceModalText","Launching a new form in the workspace could cause you to lose unsaved work on the ".concat(f," form."),{formName:f}),onConfirm:function(){var e=n.getState();n.setState({openWorkspaces:[o].concat(ce(e.openWorkspaces.filter((function(e){return e.type!=o.type})))),prompt:null})},confirmText:(0,i.translateFrom)("@openmrs/esm-patient-chart-app","openAnyway","Open anyway")};n.setState(le(se({},r),{prompt:d}))}else{var g=n.getState();n.setState(le(se({},g),{openWorkspaces:[o].concat(ce(g.openWorkspaces.filter((function(e){return e.type!=o.type}))))}))}}}function de(e){var t=e.patientUuid,n=e.workspaceName,r=e.dashboardName,a=e.additionalProps;we(t),fe(n,a),(0,i.navigate)({to:"${openmrsSpaBase}/patient/"+"".concat(t,"/chart")+(r?"/".concat(r):"")})}var ge={};function _e(e,t){ge[e]=t}function he(e){return ge[e]}function be(){var e=Se(),t=e.getState();e.setState(le(se({},t),{prompt:null}))}function ye(e,t){var n=Se(),r=he(e);if(!t&&r&&r()){var a={title:(0,i.translateFrom)("@openmrs/esm-patient-chart-app","unsavedChangesTitleText","Unsaved Changes"),body:(0,i.translateFrom)("@openmrs/esm-patient-chart-app","unsavedChangeText","You have unsaved changes in the side panel. Do you want to discard these changes?"),onConfirm:function(){var t=n.getState();n.setState(le(se({},t),{prompt:null,openWorkspaces:t.openWorkspaces.filter((function(t){return t.name!=e}))}))},confirmText:(0,i.translateFrom)("@openmrs/esm-patient-chart-app","discard","Discard")};n.setState(le(se({},n.getState()),{prompt:a}))}else{var o=n.getState();n.setState(le(se({},o),{openWorkspaces:o.openWorkspaces.filter((function(t){return t.name!=e}))}))}}function ve(){var e=Se(),t=e.getState();e.setState(le(se({},t),{openWorkspaces:[]}))}function we(e){var t=Se();t.getState().patientUuid!=e&&t.setState({patientUuid:e,openWorkspaces:[],prompt:null})}var ke={patientUuid:null,openWorkspaces:[],prompt:null};function Se(){return(0,i.getGlobalStore)("workspace",ke)}function xe(){Se().setState(ke)}var ze=n(3771);function Ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ae(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(s)throw a}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ee(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pe(){var e=Ae((0,r.useState)([]),2),t=e[0],n=e[1],a=Ae((0,r.useState)(null),2),i=a[0],o=a[1];(0,r.useEffect)((function(){var e=function(e){n(e.openWorkspaces),o(e.prompt)};e((0,ze.getWorkspaceStore)().getState()),(0,ze.getWorkspaceStore)().subscribe(e)}),[]);var s=(0,r.useMemo)((function(){return 0===t.length?"hidden":t[0].preferredWindowSize}),[t]);return{active:t.length>0,windowState:s,workspaces:t,prompt:i}}function Ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ie(e,t){switch(t){case"minimized":case"reopened":return{size:"normal"};default:return{size:t}}}var Me=(0,r.createContext)({windowSize:{size:"normal"},active:!1}),He=function(){return(0,r.useContext)(Me)},Te=function(e){var t,n,i=e.children,o=(t=a().useReducer(Ie,{size:"normal"}),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(s)throw a}}return i}}(t,n)||function(e,t){if(e){if("string"==typeof e)return Ce(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ce(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=o[0],l=o[1],c=Pe(),p=c.workspaces,u=c.windowState,m=c.active;(0,r.useEffect)((function(){p.length>0&&"maximized"===u?l("maximized"):l("reopened")}),[p.length,u]);var f=(0,r.useCallback)((function(e){l(e)}),[]),d=(0,r.useMemo)((function(){return{windowSize:s,updateWindowSize:f,active:m}}),[s,f,m]);return a().createElement(Me.Provider,{value:d},i)},We=n(9857),qe=n(1928),Oe=function(e){var t,n=(0,We.ZP)("/ws/rest/v1/programenrollment?patient=".concat(e,"&v=").concat("custom:(uuid,display,program,dateEnrolled,dateCompleted,location:(uuid,display))"),i.openmrsFetch),a=n.data,o=n.error,s=(0,r.useMemo)((function(){return null!==(t=null==a?void 0:a.data.results.sort((function(e,t){return t.dateEnrolled>e.dateEnrolled?1:-1})).filter((function(e){return null===e.dateCompleted})))&&void 0!==t?t:[]}),[null==a?void 0:a.data.results]);return{activePatientEnrollment:(0,qe.Z)(s,(function(e){var t;return null==e||null===(t=e.program)||void 0===t?void 0:t.uuid})),error:o,isLoading:!a&&!o}},je=n(5047),Le=n.n(je),De=n(9571);function Xe(e,t,n,r,a,i,o){try{var s=e[i](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function Be(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var i=e.apply(t,n);function o(e){Xe(i,r,a,o,s,"next",e)}function s(e){Xe(i,r,a,o,s,"throw",e)}o(void 0)}))}}var Ue="patient-registration";function Ve(e){var t,n=(0,i.usePatient)(e),r=(0,We.ZP)("offlineRegisteredPatient/".concat(e),Be(Le().mark((function t(){var n;return Le().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ne(e);case 2:if(n=t.sent){t.next=5;break}throw new Error("No offline registered patient could be found. UUID: ".concat(e));case 5:return t.abrupt("return",n);case 6:case"end":return t.stop()}}),t)}))));return n.isLoading||!r.data&&!r.error?{isLoading:!0,patient:null,patientUuid:e,error:null}:n.patient&&!n.patient.issue?{isLoading:!1,patient:n.patient,patientUuid:e,error:null}:r.data?{isLoading:!1,patient:r.data,patientUuid:e,error:null}:{isLoading:!1,patient:null,patientUuid:e,error:null!==(t=n.error)&&void 0!==t?t:r.error}}function Ne(e){return Fe.apply(this,arguments)}function Fe(){return(Fe=Be(Le().mark((function e(t){var n,r;return Le().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.getSynchronizationItems)(Ue);case 2:return n=e.sent,r=n.find((function(e){return e.fhirPatient.id===t})),e.abrupt("return",r.fhirPatient);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ze(e,t,n,r,a,i,o){try{var s=e[i](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function Ge(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var i=e.apply(t,n);function o(e){Ze(i,r,a,o,s,"next",e)}function s(e){Ze(i,r,a,o,s,"throw",e)}o(void 0)}))}}var Re="visit";function Ke(e){var t=(0,i.useConnectivity)(),n=Qe(e),r=(0,i.useVisit)(e);return t?r:n}function Qe(e){var t=e?"offlineVisit/".concat(e):null,n=(0,We.ZP)(t,Ge(Le().mark((function t(){var n;return Le().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ye(e);case 2:return n=t.sent,t.abrupt("return",n?nt(n):void 0);case 4:case"end":return t.stop()}}),t)}))));return{currentVisit:n.data,isValidating:n.isValidating,error:n.error,mutate:n.mutate}}function $e(e,t){var n,a,o=(0,i.useConnectivity)(),s=null===(n=(0,i.useSession)())||void 0===n||null===(a=n.sessionLocation)||void 0===a?void 0:a.uuid,l=Qe(e),c=l.currentVisit,p=l.isValidating,u=l.error,m=l.mutate;(0,r.useEffect)((function(){o||p||c||u||et(e,s,t).finally((function(){return m()}))}),[o,c,p,u,m,s,t,e])}function Ye(e){return Je.apply(this,arguments)}function Je(){return(Je=Ge(Le().mark((function e(t){var n;return Le().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.getSynchronizationItems)(Re);case 2:return n=e.sent,e.abrupt("return",n.find((function(e){return e.patient===t})));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function et(e,t,n){return tt.apply(this,arguments)}function tt(){return(tt=Ge(Le().mark((function e(t,n,r){var a,o,s,l;return Le().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.getSynchronizationItems)(Ue);case 2:return a=e.sent,o=a.some((function(e){return e.fhirPatient.id===t})),s={uuid:(0,De.Z)(),patient:t,startDatetime:new Date,location:n,visitType:r},l={id:s.uuid,displayName:"Offline visit",patientUuid:t,dependencies:o?[{type:Ue,id:t}]:[]},e.next=8,(0,i.queueSynchronizationItem)(Re,s,l);case 8:return e.abrupt("return",s);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function nt(e){var t,n;return{uuid:e.uuid,startDatetime:null===(t=e.startDatetime)||void 0===t?void 0:t.toString(),stopDatetime:null===(n=e.stopDatetime)||void 0===n?void 0:n.toString(),encounters:[],visitType:{uuid:e.visitType,display:"Offline"},patient:{uuid:e.patient}}}}}]);
package/dist/172.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_openmrs_esm_patient_allergies_app=self.webpackChunk_openmrs_esm_patient_allergies_app||[]).push([[172],{1145:(e,t,n)=>{n.d(t,{Z:()=>N});var a=n(7896),c=n(9740),i=n(9902),r=n.n(i),o=n(3980),s=n.n(o),l=n(2779),u=n.n(l),d=n(618),f=n(8358),v=n(3597),p=n(6666),m=n(3182),g=n(330),Z=["id","active","className","withOverlay","small","description"],y=(0,m.Z)();function b(e){var t,n,o=e.id,s=e.active,l=e.className,d=e.withOverlay,f=e.small,v=e.description,m=(0,c.Z)(e,Z),b=(0,g.A)(),h=(0,i.useRef)(y()).current,_=u()(l,(t={},(0,p.Z)(t,"".concat(b,"--loading"),!0),(0,p.Z)(t,"".concat(b,"--loading--small"),f),(0,p.Z)(t,"".concat(b,"--loading--stop"),!s),t)),N=u()((n={},(0,p.Z)(n,"".concat(b,"--loading-overlay"),!0),(0,p.Z)(n,"".concat(b,"--loading-overlay--stop"),!s),n)),E=o||"loading-id-".concat(h),j=r().createElement("div",(0,a.Z)({},m,{"aria-atomic":"true","aria-labelledby":E,"aria-live":s?"assertive":"off",className:_}),r().createElement("label",{id:E,className:"".concat(b,"--visually-hidden")},v),r().createElement("svg",{className:"".concat(b,"--loading__svg"),viewBox:"0 0 100 100"},r().createElement("title",null,v),f?r().createElement("circle",{className:"".concat(b,"--loading__background"),cx:"50%",cy:"50%",r:"44"}):null,r().createElement("circle",{className:"".concat(b,"--loading__stroke"),cx:"50%",cy:"50%",r:"44"})));return d?r().createElement("div",{className:N},j):j}b.propTypes={active:s().bool,className:s().string,description:s().string,id:s().string,small:s().bool,withOverlay:s().bool},b.defaultProps={active:!0,withOverlay:!0,small:!1,description:"Active loading indicator"};const h=b;var _=["className","success","status","iconDescription","description","onSuccess","successDelay"];function N(e){var t=e.className,n=e.success,i=e.status,o=void 0===i?n?"finished":"active":i,s=e.iconDescription,l=e.description,v=e.onSuccess,p=e.successDelay,m=(0,c.Z)(e,_),Z=(0,g.A)(),y=u()("".concat(Z,"--inline-loading"),t),b=r().createElement("div",{className:"".concat(Z,"--inline-loading__text")},l),N="error"===o?r().createElement(d.ycZ,{className:"".concat(Z,"--inline-loading--error")},r().createElement("title",null,s)):"finished"===o?(setTimeout((function(){v&&v()}),p),r().createElement(f.Y3p,{className:"".concat(Z,"--inline-loading__checkmark-container")},r().createElement("title",null,s))):"inactive"===o||"active"===o?r().createElement(h,{small:!0,description:s,withOverlay:!1,active:"active"===o}):void 0,E=N&&r().createElement("div",{className:"".concat(Z,"--inline-loading__animation")},N);return r().createElement("div",(0,a.Z)({className:y},m,{"aria-live":"assertive"}),E,l&&b)}N.propTypes={className:s().string,description:s().node,iconDescription:s().string,onSuccess:s().func,status:s().oneOf(["inactive","active","finished","error"]),success:(0,v.Z)(s().bool,'\nThe prop `success` for InlineLoading has been deprecated in favor of `status`. Please use `status="finished"` instead.'),successDelay:s().number},N.defaultProps={successDelay:1500}},187:(e,t,n)=>{n.d(t,{Z:()=>a});const a=n(3221).Z.Symbol},9001:(e,t,n)=>{n.d(t,{Z:()=>u});var a=n(187),c=Object.prototype,i=c.hasOwnProperty,r=c.toString,o=a.Z?a.Z.toStringTag:void 0;var s=Object.prototype.toString;var l=a.Z?a.Z.toStringTag:void 0;const u=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":l&&l in Object(e)?function(e){var t=i.call(e,o),n=e[o];try{e[o]=void 0;var a=!0}catch(e){}var c=r.call(e);return a&&(t?e[o]=n:delete e[o]),c}(e):function(e){return s.call(e)}(e)}},2168:(e,t,n)=>{n.d(t,{Z:()=>a});const a="object"==typeof global&&global&&global.Object===Object&&global},3221:(e,t,n)=>{n.d(t,{Z:()=>i});var a=n(2168),c="object"==typeof self&&self&&self.Object===Object&&self;const i=a.Z||c||Function("return this")()},5573:(e,t,n)=>{n.d(t,{Z:()=>b});var a=n(2237);const c=function(e,t,n){var a=e.length;return n=void 0===n?a:n,!t&&n>=a?e:function(e,t,n){var a=-1,c=e.length;t<0&&(t=-t>c?0:c+t),(n=n>c?c:n)<0&&(n+=c),c=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(c);++a<c;)i[a]=e[a+t];return i}(e,t,n)};var i=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const r=function(e){return i.test(e)};var o="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",s="\\ud83c[\\udffb-\\udfff]",l="[^\\ud800-\\udfff]",u="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",f="(?:"+o+"|"+s+")?",v="[\\ufe0e\\ufe0f]?",p=v+f+"(?:\\u200d(?:"+[l,u,d].join("|")+")"+v+f+")*",m="(?:"+[l+o+"?",o,u,d,"[\\ud800-\\udfff]"].join("|")+")",g=RegExp(s+"(?="+s+")|"+m+p,"g");const Z=function(e){return r(e)?function(e){return e.match(g)||[]}(e):function(e){return e.split("")}(e)},y=function(e){e=(0,a.Z)(e);var t=r(e)?Z(e):void 0,n=t?t[0]:e.charAt(0),i=t?c(t,1).join(""):e.slice(1);return n.toUpperCase()+i},b=function(e){return y((0,a.Z)(e).toLowerCase())}},7885:(e,t,n)=>{n.d(t,{Z:()=>a});const a=Array.isArray},3391:(e,t,n)=>{n.d(t,{Z:()=>a});const a=function(e){return null!=e&&"object"==typeof e}},2758:(e,t,n)=>{n.d(t,{Z:()=>i});var a=n(9001),c=n(3391);const i=function(e){return"symbol"==typeof e||(0,c.Z)(e)&&"[object Symbol]"==(0,a.Z)(e)}},2237:(e,t,n)=>{n.d(t,{Z:()=>l});var a=n(187);var c=n(7885),i=n(2758),r=a.Z?a.Z.prototype:void 0,o=r?r.toString:void 0;const s=function e(t){if("string"==typeof t)return t;if((0,c.Z)(t))return function(e,t){for(var n=-1,a=null==e?0:e.length,c=Array(a);++n<a;)c[n]=t(e[n],n,e);return c}(t,e)+"";if((0,i.Z)(t))return o?o.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},l=function(e){return null==e?"":s(e)}}}]);
package/dist/209.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_openmrs_esm_patient_allergies_app=self.webpackChunk_openmrs_esm_patient_allergies_app||[]).push([[209],{3131:(e,t,r)=>{r.d(t,{Gu6:()=>R,mhO:()=>L,pHg:()=>H,s$s:()=>I,sKV:()=>B,xVB:()=>Z});var n,h,a,l,c,i,o,w,d,f,s,p,m,v,u=r(5495),M=r(9902),g=r.n(M),C=["children"],E=["children"],z=["children"],x=["children"],_=["children"],V=["children"],Z=g().forwardRef((function(e,t){var r=e.children,a=(0,u._)(e,C);return g().createElement(u.I,(0,u.a)({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},a),n||(n=g().createElement("path",{d:"M15.5,7.8C14.3,4.7,11.3,2.6,8,2.5C4.7,2.6,1.7,4.7,0.5,7.8c0,0.1,0,0.2,0,0.3c1.2,3.1,4.1,5.2,7.5,5.3\tc3.3-0.1,6.3-2.2,7.5-5.3C15.5,8.1,15.5,7.9,15.5,7.8z M8,12.5c-2.7,0-5.4-2-6.5-4.5c1-2.5,3.8-4.5,6.5-4.5s5.4,2,6.5,4.5\tC13.4,10.5,10.6,12.5,8,12.5z"})),h||(h=g().createElement("path",{d:"M8,5C6.3,5,5,6.3,5,8s1.3,3,3,3s3-1.3,3-3S9.7,5,8,5z M8,10c-1.1,0-2-0.9-2-2s0.9-2,2-2s2,0.9,2,2S9.1,10,8,10z"})),r)})),H=g().forwardRef((function(e,t){var r=e.children,n=(0,u._)(e,E);return g().createElement(u.I,(0,u.a)({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},n),a||(a=g().createElement("path",{d:"M2.6,11.3l0.7-0.7C2.6,9.8,1.9,9,1.5,8c1-2.5,3.8-4.5,6.5-4.5c0.7,0,1.4,0.1,2,0.4l0.8-0.8C9.9,2.7,9,2.5,8,2.5\tC4.7,2.6,1.7,4.7,0.5,7.8c0,0.1,0,0.2,0,0.3C1,9.3,1.7,10.4,2.6,11.3z"})),l||(l=g().createElement("path",{d:"M6 7.9c.1-1 .9-1.8 1.8-1.8l.9-.9C7.2 4.7 5.5 5.6 5.1 7.2 5 7.7 5 8.3 5.1 8.8L6 7.9zM15.5 7.8c-.6-1.5-1.6-2.8-2.9-3.7L15 1.7 14.3 1 1 14.3 1.7 15l2.6-2.6c1.1.7 2.4 1 3.7 1.1 3.3-.1 6.3-2.2 7.5-5.3C15.5 8.1 15.5 7.9 15.5 7.8zM10 8c0 1.1-.9 2-2 2-.3 0-.7-.1-1-.3L9.7 7C9.9 7.3 10 7.6 10 8zM8 12.5c-1 0-2.1-.3-3-.8l1.3-1.3c1.4.9 3.2.6 4.2-.8.7-1 .7-2.4 0-3.4l1.4-1.4c1.1.8 2 1.9 2.6 3.2C13.4 10.5 10.6 12.5 8 12.5z"})),r)})),L=g().forwardRef((function(e,t){var r=e.children,n=(0,u._)(e,z);return g().createElement(u.I,(0,u.a)({width:20,height:20,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},n),c||(c=g().createElement("path",{fill:"none",d:"M16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Zm-1.125-5h2.25V12h-2.25Z","data-icon-path":"inner-path"})),i||(i=g().createElement("path",{d:"M16.002,6.1714h-.004L4.6487,27.9966,4.6506,28H27.3494l.0019-.0034ZM14.875,12h2.25v9h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z"})),o||(o=g().createElement("path",{d:"M29,30H3a1,1,0,0,1-.8872-1.4614l13-25a1,1,0,0,1,1.7744,0l13,25A1,1,0,0,1,29,30ZM4.6507,28H27.3493l.002-.0033L16.002,6.1714h-.004L4.6487,27.9967Z"})),r)})),B=g().forwardRef((function(e,t){var r=e.children,n=(0,u._)(e,x);return g().createElement(u.I,(0,u.a)({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},n),w||(w=g().createElement("path",{fill:"none",d:"M16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Zm-1.125-5h2.25V12h-2.25Z","data-icon-path":"inner-path"})),d||(d=g().createElement("path",{d:"M16.002,6.1714h-.004L4.6487,27.9966,4.6506,28H27.3494l.0019-.0034ZM14.875,12h2.25v9h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z"})),f||(f=g().createElement("path",{d:"M29,30H3a1,1,0,0,1-.8872-1.4614l13-25a1,1,0,0,1,1.7744,0l13,25A1,1,0,0,1,29,30ZM4.6507,28H27.3493l.002-.0033L16.002,6.1714h-.004L4.6487,27.9967Z"})),r)})),I=g().forwardRef((function(e,t){var r=e.children,n=(0,u._)(e,_);return g().createElement(u.I,(0,u.a)({width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},n),s||(s=g().createElement("path",{d:"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1\ts1,0.4,1,1S10.6,16,10,16z"})),p||(p=g().createElement("path",{d:"M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1s1,0.4,1,1S10.6,16,10,16z","data-icon-path":"inner-path",opacity:"0"})),r)})),R=g().forwardRef((function(e,t){var r=e.children,n=(0,u._)(e,V);return g().createElement(u.I,(0,u.a)({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},n),m||(m=g().createElement("path",{d:"M8,1C4.2,1,1,4.2,1,8s3.2,7,7,7s7-3.1,7-7S11.9,1,8,1z M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2\tc-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z"})),v||(v=g().createElement("path",{d:"M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8\tc0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z","data-icon-path":"inner-path",opacity:"0"})),r)}))},5214:(e,t,r)=>{r.d(t,{Be1:()=>f,VUy:()=>p,bdU:()=>s});var n,h,a,l=r(5495),c=r(9902),i=r.n(c),o=["children"],w=["children"],d=["children"],f=i().forwardRef((function(e,t){var r=e.children,h=(0,l._)(e,o);return i().createElement(l.I,(0,l.a)({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},h),n||(n=i().createElement("path",{d:"M26,4h-4V2h-2v2h-8V2h-2v2H6C4.9,4,4,4.9,4,6v20c0,1.1,0.9,2,2,2h20c1.1,0,2-0.9,2-2V6C28,4.9,27.1,4,26,4z M26,26H6V12h20\tV26z M26,10H6V6h4v2h2V6h8v2h2V6h4V10z"})),r)})),s=i().forwardRef((function(e,t){var r=e.children,n=(0,l._)(e,w);return i().createElement(l.I,(0,l.a)({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},n),h||(h=i().createElement("path",{d:"M20 24L10 16 20 8z"})),r)})),p=i().forwardRef((function(e,t){var r=e.children,n=(0,l._)(e,d);return i().createElement(l.I,(0,l.a)({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},n),a||(a=i().createElement("path",{d:"M12 8L22 16 12 24z"})),r)}))},1223:(e,t,r)=>{r.d(t,{Z:()=>h});var n=r(9902);const h="undefined"!=typeof window?n.useLayoutEffect:n.useEffect}}]);
package/dist/230.js ADDED
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 230.js.LICENSE.txt */
2
+ (self.webpackChunk_openmrs_esm_patient_allergies_app=self.webpackChunk_openmrs_esm_patient_allergies_app||[]).push([[230],{5495:(e,t,r)=>{"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function 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 a(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}r.d(t,{I:()=>O,_:()=>y,a:()=>g});var c=["width","height","viewBox"],u=["tabindex"],s={focusable:"false",preserveAspectRatio:"xMidYMid meet"};var l=r(3980),f=r.n(l),d=r(9902),p=r.n(d);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},g.apply(this,arguments)}function y(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var w=["className","children","tabIndex"],m=["tabindex"],O=p().forwardRef((function(e,t){var r=e.className,n=e.children,o=e.tabIndex,l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.width,r=e.height,n=e.viewBox,o=void 0===n?"0 0 ".concat(t," ").concat(r):n,l=a(e,c),f=l.tabindex,d=a(l,u),p=i(i(i({},s),d),{},{width:t,height:r,viewBox:o});return p["aria-label"]||p["aria-labelledby"]||p.title?(p.role="img",null!=f&&(p.focusable="true",p.tabindex=f)):p["aria-hidden"]=!0,p}(h(h({},y(e,w)),{},{tabindex:o})),f=l.tabindex,d=y(l,m);return r&&(d.className=r),null!=f&&(d.tabIndex=f),t&&(d.ref=t),p().createElement("svg",d,n)}));O.displayName="Icon",O.propTypes={"aria-hidden":f().string,"aria-label":f().string,"aria-labelledby":f().string,children:f().node,className:f().string,height:f().oneOfType([f().number,f().string]),preserveAspectRatio:f().string,tabIndex:f().string,viewBox:f().string,width:f().oneOfType([f().number,f().string]),xmlns:f().string},O.defaultProps={xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid meet"}},8358:(e,t,r)=>{"use strict";r.d(t,{F3j:()=>R,PcV:()=>C,Y3p:()=>j,cDj:()=>P,cRw:()=>E,dOq:()=>S,dmA:()=>x});var n,i,o,a,c,u,s,l,f,d=r(5495),p=r(9902),v=r.n(p),h=["children"],b=["children"],g=["children"],y=["children"],w=["children"],m=["children"],O=["children"],x=v().forwardRef((function(e,t){var r=e.children,o=(0,d._)(e,h);return v().createElement(d.I,(0,d.a)({width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},o),n||(n=v().createElement("path",{d:"M10,1c-4.9,0-9,4.1-9,9s4.1,9,9,9s9-4,9-9S15,1,10,1z M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z"})),i||(i=v().createElement("path",{fill:"none",d:"M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z","data-icon-path":"inner-path",opacity:"0"})),r)})),j=v().forwardRef((function(e,t){var r=e.children,n=(0,d._)(e,b);return v().createElement(d.I,(0,d.a)({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},n),o||(o=v().createElement("path",{d:"M8,1C4.1,1,1,4.1,1,8c0,3.9,3.1,7,7,7s7-3.1,7-7C15,4.1,11.9,1,8,1z M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z"})),a||(a=v().createElement("path",{d:"M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z","data-icon-path":"inner-path",opacity:"0"})),r)})),E=v().forwardRef((function(e,t){var r=e.children,n=(0,d._)(e,g);return v().createElement(d.I,(0,d.a)({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},n),c||(c=v().createElement("path",{d:"M8 11L3 6 3.7 5.3 8 9.6 12.3 5.3 13 6z"})),r)})),P=v().forwardRef((function(e,t){var r=e.children,n=(0,d._)(e,y);return v().createElement(d.I,(0,d.a)({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},n),u||(u=v().createElement("path",{d:"M5 8L10 3 10.7 3.7 6.4 8 10.7 12.3 10 13z"})),r)})),R=v().forwardRef((function(e,t){var r=e.children,n=(0,d._)(e,w);return v().createElement(d.I,(0,d.a)({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},n),s||(s=v().createElement("path",{d:"M11 8L6 13 5.3 12.3 9.6 8 5.3 3.7 6 3z"})),r)})),S=v().forwardRef((function(e,t){var r=e.children,n=(0,d._)(e,m);return v().createElement(d.I,(0,d.a)({width:20,height:20,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},n),l||(l=v().createElement("path",{d:"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z"})),r)})),C=v().forwardRef((function(e,t){var r=e.children,n=(0,d._)(e,O);return v().createElement(d.I,(0,d.a)({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},n),f||(f=v().createElement("path",{d:"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z"})),r)}))},321:e=>{"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var o={},a=[],c=0;c<e.length;c++){var u=e[c],s=n.base?u[0]+n.base:u[0],l=o[s]||0,f="".concat(s," ").concat(l);o[s]=l+1;var d=r(f),p={css:u[1],media:u[2],sourceMap:u[3],supports:u[4],layer:u[5]};if(-1!==d)t[d].references++,t[d].updater(p);else{var v=i(p,n);n.byIndex=c,t.splice(c,0,{identifier:f,updater:v,references:1})}a.push(f)}return a}function i(e,t){var r=t.domAPI(t);return r.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,i){var o=n(e=e||[],i=i||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var c=r(o[a]);t[c].references--}for(var u=n(e,i),s=0;s<o.length;s++){var l=r(o[s]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}o=u}}},3275:e=>{"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},2094:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},7162:(e,t,r)=>{"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},1195:e=>{"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var i=void 0!==r.layer;i&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,i&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var o=r.sourceMap;o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},757:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},330:(e,t,r)=>{"use strict";r.d(t,{A:()=>c,T:()=>a});var n=r(8479),i=r(9902),o=r.n(i),a=o().createContext(n.settings.prefix);function c(){return o().useContext(a)}},3597:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(6666);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var a={};function c(e,t){return function(t,r,i){if(void 0!==t[r]){a[i]&&a[i][r]||(a[i]=o(o({},a[i]),{},(0,n.Z)({},r,!0)));for(var c=arguments.length,u=new Array(c>3?c-3:0),s=3;s<c;s++)u[s-3]=arguments[s];return e.apply(void 0,[t,r,i].concat(u))}}}},3182:(e,t,r)=>{"use strict";function n(){var e=0;return function(){return++e}}r.d(t,{Z:()=>n})},2779:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)){if(r.length){var a=i.apply(null,r);a&&e.push(a)}}else if("object"===o)if(r.toString===Object.prototype.toString)for(var c in r)n.call(r,c)&&r[c]&&e.push(c);else e.push(r.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},2609:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var c=0;c<this.length;c++){var u=this[c][0];null!=u&&(a[u]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);n&&a[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),r&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=r):l[2]=r),i&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=i):l[4]="".concat(i)),t.push(l))}},t}},9601:e=>{"use strict";e.exports=function(e){return e[1]}},8262:(e,t,r)=>{"use strict";var n=r(3586);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},3980:(e,t,r)=>{e.exports=r(8262)()},3586:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6666:(e,t,r)=>{"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{Z:()=>n})},7896:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,{Z:()=>n})},9740:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(1461);function i(e,t){if(null==e)return{};var r,i,o=(0,n.Z)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}},1461:(e,t,r)=>{"use strict";function n(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}r.d(t,{Z:()=>n})},9857:(e,t,r)=>{"use strict";r.d(t,{ZP:()=>$,kY:()=>H});var n=r(9902);function i(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function c(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,c)}u((n=n.apply(e,t||[])).next())}))}function o(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(o){return function(c){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,c])}}}var a,c=function(){},u=c(),s=Object,l=function(e){return e===u},f=function(e){return"function"==typeof e},d=function(e,t){return s.assign({},e,t)},p="undefined",v=function(){return typeof window!=p},h=new WeakMap,b=0,g=function(e){var t,r,n=typeof e,i=e&&e.constructor,o=i==Date;if(s(e)!==e||o||i==RegExp)t=o?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=h.get(e))return t;if(t=++b+"~",h.set(e,t),i==Array){for(t="@",r=0;r<e.length;r++)t+=g(e[r])+",";h.set(e,t)}if(i==s){t="#";for(var a=s.keys(e).sort();!l(r=a.pop());)l(e[r])||(t+=r+":"+g(e[r])+",");h.set(e,t)}}return t},y=!0,w=v(),m=typeof document!=p,O=w&&window.addEventListener?window.addEventListener.bind(window):c,x=m?document.addEventListener.bind(document):c,j=w&&window.removeEventListener?window.removeEventListener.bind(window):c,E=m?document.removeEventListener.bind(document):c,P={isOnline:function(){return y},isVisible:function(){var e=m&&document.visibilityState;return l(e)||"hidden"!==e}},R={initFocus:function(e){return x("visibilitychange",e),O("focus",e),function(){E("visibilitychange",e),j("focus",e)}},initReconnect:function(e){var t=function(){y=!0,e()},r=function(){y=!1};return O("online",t),O("offline",r),function(){j("online",t),j("offline",r)}}},S=!v()||"Deno"in window,C=S?n.useEffect:n.useLayoutEffect,T="undefined"!=typeof navigator&&navigator.connection,I=!S&&T&&(["slow-2g","2g"].includes(T.effectiveType)||T.saveData),k=function(e){if(f(e))try{e=e()}catch(t){e=""}var t=[].concat(e);return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?g(e):"",t,e?"$swr$"+e:""]},L=new WeakMap,M=function(e,t,r,n,i,o,a){void 0===a&&(a=!0);var c=L.get(e),u=c[0],s=c[1],l=c[3],f=u[t],d=s[t];if(a&&d)for(var p=0;p<d.length;++p)d[p](r,n,i);return o&&(delete l[t],f&&f[0])?f[0](2).then((function(){return e.get(t)})):e.get(t)},_=0,D=function(){return++_},A=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i(void 0,void 0,void 0,(function(){var t,r,n,i,a,c,s,p,v,h,b,g,y,w,m,O,x,j,E,P,R;return o(this,(function(o){switch(o.label){case 0:if(t=e[0],r=e[1],n=e[2],i=e[3],c=!!l((a="boolean"==typeof i?{revalidate:i}:i||{}).populateCache)||a.populateCache,s=!1!==a.revalidate,p=!1!==a.rollbackOnError,v=a.optimisticData,h=k(r),b=h[0],g=h[2],!b)return[2];if(y=L.get(t),w=y[2],e.length<3)return[2,M(t,b,t.get(b),u,u,s,!0)];if(m=n,x=D(),w[b]=[x,0],j=!l(v),E=t.get(b),j&&(P=f(v)?v(E):v,t.set(b,P),M(t,b,P)),f(m))try{m=m(t.get(b))}catch(e){O=e}return m&&f(m.then)?[4,m.catch((function(e){O=e}))]:[3,2];case 1:if(m=o.sent(),x!==w[b][0]){if(O)throw O;return[2,m]}O&&j&&p&&(c=!0,m=E,t.set(b,E)),o.label=2;case 2:return c&&(O||(f(c)&&(m=c(m,E)),t.set(b,m)),t.set(g,d(t.get(g),{error:O}))),w[b][1]=D(),[4,M(t,b,m,O,u,s,!!c)];case 3:if(R=o.sent(),O)throw O;return[2,c?R:m]}}))}))},V=function(e,t){for(var r in e)e[r][0]&&e[r][0](t)},B=function(e,t){if(!L.has(e)){var r=d(R,t),n={},i=A.bind(u,e),o=c;if(L.set(e,[n,{},{},{},i]),!S){var a=r.initFocus(setTimeout.bind(u,V.bind(u,n,0))),s=r.initReconnect(setTimeout.bind(u,V.bind(u,n,1)));o=function(){a&&a(),s&&s(),L.delete(e)}}return[e,i,o]}return[e,L.get(e)[4]]},N=B(new Map),z=N[0],F=N[1],Z=d({onLoadingSlow:c,onSuccess:c,onError:c,onErrorRetry:function(e,t,r,n,i){var o=r.errorRetryCount,a=i.retryCount,c=~~((Math.random()+.5)*(1<<(a<8?a:8)))*r.errorRetryInterval;!l(o)&&a>o||setTimeout(n,c,i)},onDiscarded:c,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:I?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:I?5e3:3e3,compare:function(e,t){return g(e)==g(t)},isPaused:function(){return!1},cache:z,mutate:F,fallback:{}},P),W=function(e,t){var r=d(e,t);if(t){var n=e.use,i=e.fallback,o=t.use,a=t.fallback;n&&o&&(r.use=n.concat(o)),i&&a&&(r.fallback=d(i,a))}return r},q=(0,n.createContext)({}),Y=function(e){return f(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}]},H=function(){return d(Z,(0,n.useContext)(q))},U=function(e,t,r){var n=t[e]||(t[e]=[]);return n.push(r),function(){var e=n.indexOf(r);e>=0&&(n[e]=n[n.length-1],n.pop())}},J={dedupe:!0},$=(s.defineProperty((function(e){var t=e.value,r=W((0,n.useContext)(q),t),i=t&&t.provider,o=(0,n.useState)((function(){return i?B(i(r.cache||z),t):u}))[0];return o&&(r.cache=o[0],r.mutate=o[1]),C((function(){return o?o[2]:u}),[]),(0,n.createElement)(q.Provider,d(e,{value:r}))}),"default",{value:Z}),a=function(e,t,r){var a=r.cache,c=r.compare,s=r.fallbackData,h=r.suspense,b=r.revalidateOnMount,g=r.refreshInterval,y=r.refreshWhenHidden,w=r.refreshWhenOffline,m=L.get(a),O=m[0],x=m[1],j=m[2],E=m[3],P=k(e),R=P[0],T=P[1],I=P[2],_=(0,n.useRef)(!1),V=(0,n.useRef)(!1),B=(0,n.useRef)(R),N=(0,n.useRef)(t),z=(0,n.useRef)(r),F=function(){return z.current},Z=function(){return F().isVisible()&&F().isOnline()},W=function(e){return a.set(I,d(a.get(I),e))},q=a.get(R),Y=l(s)?r.fallback[R]:s,H=l(q)?Y:q,$=a.get(I)||{},G=$.error,K=!_.current,Q=function(){return K&&!l(b)?b:!F().isPaused()&&(h?!l(H)&&r.revalidateIfStale:l(H)||r.revalidateIfStale)},X=!(!R||!t)&&(!!$.isValidating||K&&Q()),ee=function(e,t){var r=(0,n.useState)({})[1],i=(0,n.useRef)(e),o=(0,n.useRef)({data:!1,error:!1,isValidating:!1}),a=(0,n.useCallback)((function(e){var n=!1,a=i.current;for(var c in e){var u=c;a[u]!==e[u]&&(a[u]=e[u],o.current[u]&&(n=!0))}n&&!t.current&&r({})}),[]);return C((function(){i.current=e})),[i,o.current,a]}({data:H,error:G,isValidating:X},V),te=ee[0],re=ee[1],ne=ee[2],ie=(0,n.useCallback)((function(e){return i(void 0,void 0,void 0,(function(){var t,n,i,s,d,p,v,h,b,g,y,w,m;return o(this,(function(o){switch(o.label){case 0:if(t=N.current,!R||!t||V.current||F().isPaused())return[2,!1];s=!0,d=e||{},p=!E[R]||!d.dedupe,v=function(){return!V.current&&R===B.current&&_.current},h=function(){var e=E[R];e&&e[1]===i&&delete E[R]},b={isValidating:!1},g=function(){W({isValidating:!1}),v()&&ne(b)},W({isValidating:!0}),ne({isValidating:!0}),o.label=1;case 1:return o.trys.push([1,3,,4]),p&&(M(a,R,te.current.data,te.current.error,!0),r.loadingTimeout&&!a.get(R)&&setTimeout((function(){s&&v()&&F().onLoadingSlow(R,r)}),r.loadingTimeout),E[R]=[t.apply(void 0,T),D()]),m=E[R],n=m[0],i=m[1],[4,n];case 2:return n=o.sent(),p&&setTimeout(h,r.dedupingInterval),E[R]&&E[R][1]===i?(W({error:u}),b.error=u,y=j[R],!l(y)&&(i<=y[0]||i<=y[1]||0===y[1])?(g(),p&&v()&&F().onDiscarded(R),[2,!1]):(c(te.current.data,n)?b.data=te.current.data:b.data=n,c(a.get(R),n)||a.set(R,n),p&&v()&&F().onSuccess(n,R,r),[3,4])):(p&&v()&&F().onDiscarded(R),[2,!1]);case 3:return w=o.sent(),h(),F().isPaused()||(W({error:w}),b.error=w,p&&v()&&(F().onError(w,R,r),("boolean"==typeof r.shouldRetryOnError&&r.shouldRetryOnError||f(r.shouldRetryOnError)&&r.shouldRetryOnError(w))&&Z()&&F().onErrorRetry(w,R,r,ie,{retryCount:(d.retryCount||0)+1,dedupe:!0}))),[3,4];case 4:return s=!1,g(),v()&&p&&M(a,R,b.data,b.error,!1),[2,!0]}}))}))}),[R]),oe=(0,n.useCallback)(A.bind(u,a,(function(){return B.current})),[]);if(C((function(){N.current=t,z.current=r})),C((function(){if(R){var e=R!==B.current,t=ie.bind(u,J),r=0,n=U(R,x,(function(e,t,r){ne(d({error:t,isValidating:r},c(te.current.data,e)?u:{data:e}))})),i=U(R,O,(function(e){if(0==e){var n=Date.now();F().revalidateOnFocus&&n>r&&Z()&&(r=n+F().focusThrottleInterval,t())}else if(1==e)F().revalidateOnReconnect&&Z()&&t();else if(2==e)return ie()}));return V.current=!1,B.current=R,_.current=!0,e&&ne({data:H,error:G,isValidating:X}),Q()&&(l(H)||S?t():(o=t,v()&&typeof window.requestAnimationFrame!=p?window.requestAnimationFrame(o):setTimeout(o,1))),function(){V.current=!0,n(),i()}}var o}),[R,ie]),C((function(){var e;function t(){var t=f(g)?g(H):g;t&&-1!==e&&(e=setTimeout(r,t))}function r(){te.current.error||!y&&!F().isVisible()||!w&&!F().isOnline()?t():ie(J).then(t)}return t(),function(){e&&(clearTimeout(e),e=-1)}}),[g,y,w,ie]),(0,n.useDebugValue)(H),h&&l(H)&&R)throw N.current=t,z.current=r,V.current=!1,l(G)?ie(J):G;return{mutate:oe,get data(){return re.data=!0,H},get error(){return re.error=!0,G},get isValidating(){return re.isValidating=!0,X}}},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=H(),n=Y(e),i=n[0],o=n[1],c=n[2],u=W(r,c),s=a,l=u.use;if(l)for(var f=l.length;f-- >0;)s=l[f](s);return s(i,o||u.fetcher,u)})}}]);
File without changes
package/dist/26.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_openmrs_esm_patient_allergies_app=self.webpackChunk_openmrs_esm_patient_allergies_app||[]).push([[26],{2981:(e,t,i)=>{i.d(t,{Z:()=>o});var n=i(9601),a=i.n(n),l=i(2609),r=i.n(l)()(a());r.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{padding:0;border:0;margin:0;font:inherit;font-size:100%;vertical-align:baseline}button,select,input,textarea{border-radius:0;font-family:inherit}input[type=text]::-ms-clear{display:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}body{line-height:1}sup{vertical-align:super}sub{vertical-align:sub}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote::before,blockquote::after,q::before,q::after{content:\"\"}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box}button{margin:0}html{font-size:100%}body{font-weight:400;font-family:'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}code{font-family:'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace}strong{font-weight:600}@media screen and (-ms-high-contrast: active){svg{fill:ButtonText}}h1{font-size:2.625rem;font-weight:300;line-height:1.199;letter-spacing:0}h2{font-size:2rem;font-weight:400;line-height:1.25;letter-spacing:0}h3{font-size:1.75rem;font-weight:400;line-height:1.29;letter-spacing:0}h4{font-size:1.25rem;font-weight:400;line-height:1.4;letter-spacing:0}h5{font-size:1rem;font-weight:600;line-height:1.375;letter-spacing:0}h6{font-size:.875rem;font-weight:600;line-height:1.29;letter-spacing:.16px}p{font-size:1rem;font-weight:400;line-height:1.5;letter-spacing:0}a{color:#0f62fe}em{font-style:italic}@keyframes -esm-patient-allergies__patient-details-tile__skeleton___YON2D{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}100%{opacity:.3;transform:scaleX(0);transform-origin:left}}.-esm-patient-allergies__patient-details-tile__container___KF5Pn:after{content:\"\";height:100%;width:1px;position:absolute;right:0;top:0;background-color:#c6c6c6;margin:0 1rem}.-esm-patient-allergies__patient-details-tile__details___Rvx9y{margin-top:5px;font-size:.875rem;font-weight:400;line-height:1.29;letter-spacing:.16px;color:#525252}.-esm-patient-allergies__patient-details-tile__name___HeBtQ{font-size:1rem;font-weight:400;line-height:1.375;letter-spacing:0;color:#161616}",""]),r.locals={container:"-esm-patient-allergies__patient-details-tile__container___KF5Pn",details:"-esm-patient-allergies__patient-details-tile__details___Rvx9y",name:"-esm-patient-allergies__patient-details-tile__name___HeBtQ",skeleton:"-esm-patient-allergies__patient-details-tile__skeleton___YON2D"};const o=r},26:(e,t,i)=>{i.r(t),i.d(t,{default:()=>w});var n=i(9902),a=i.n(n),l=i(6635),r=i(3066),o=i(321),s=i.n(o),m=i(1195),c=i.n(m),g=i(3275),f=i.n(g),d=i(7162),p=i.n(d),h=i(2094),_=i.n(h),u=i(757),b=i.n(u),v=i(2981),y={};y.styleTagTransform=b(),y.setAttributes=p(),y.insert=f().bind(null,"head"),y.domAPI=c(),y.insertStyleElement=_(),s()(v.Z,y);const k=v.Z&&v.Z.locals?v.Z.locals:void 0,w=function(e){var t=e.patientUuid,i=(0,r.usePatient)(t).patient;return a().createElement("div",{className:k.container},a().createElement("p",{className:k.name},null==i?void 0:i.name[0].given.join(" ")," ",null==i?void 0:i.name[0].family),a().createElement("div",{className:k.details},a().createElement("span",null,(0,l.capitalize)(null==i?void 0:i.gender))," · ",a().createElement("span",null,(0,r.age)(null==i?void 0:i.birthDate))," ·"," ",a().createElement("span",null,(0,r.formatDate)(new Date(null==i?void 0:i.birthDate),{mode:"wide",time:!1})," ")))}}}]);