@bathiran212/esm-patient-notes-app 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/README.md +4 -0
  2. package/dist/1076.js +1 -0
  3. package/dist/1076.js.map +1 -0
  4. package/dist/1339.js +1 -0
  5. package/dist/1339.js.map +1 -0
  6. package/dist/1480.js +1 -0
  7. package/dist/1480.js.map +1 -0
  8. package/dist/1646.js +1 -0
  9. package/dist/1646.js.map +1 -0
  10. package/dist/1789.js +1 -0
  11. package/dist/1789.js.map +1 -0
  12. package/dist/1869.js +1 -0
  13. package/dist/1869.js.map +1 -0
  14. package/dist/1871.js +1 -0
  15. package/dist/1871.js.map +1 -0
  16. package/dist/1877.js +1 -0
  17. package/dist/1877.js.map +1 -0
  18. package/dist/2153.js +1 -0
  19. package/dist/2153.js.map +1 -0
  20. package/dist/2317.js +1 -0
  21. package/dist/2317.js.map +1 -0
  22. package/dist/2416.js +1 -0
  23. package/dist/2416.js.map +1 -0
  24. package/dist/2544.js +27 -0
  25. package/dist/2544.js.map +1 -0
  26. package/dist/282.js +1 -0
  27. package/dist/282.js.map +1 -0
  28. package/dist/2824.js +1 -0
  29. package/dist/2824.js.map +1 -0
  30. package/dist/2842.js +1 -0
  31. package/dist/2842.js.map +1 -0
  32. package/dist/2881.js +1 -0
  33. package/dist/2881.js.map +1 -0
  34. package/dist/3378.js +1 -0
  35. package/dist/3378.js.map +1 -0
  36. package/dist/3720.js +1 -0
  37. package/dist/3720.js.map +1 -0
  38. package/dist/3963.js +1 -0
  39. package/dist/3963.js.map +1 -0
  40. package/dist/3989.js +1 -0
  41. package/dist/3989.js.map +1 -0
  42. package/dist/4106.js +1 -0
  43. package/dist/4106.js.map +1 -0
  44. package/dist/4111.js +1 -0
  45. package/dist/4111.js.map +1 -0
  46. package/dist/434.js +1 -0
  47. package/dist/434.js.map +1 -0
  48. package/dist/4348.js +1 -0
  49. package/dist/4348.js.map +1 -0
  50. package/dist/4383.js +1 -0
  51. package/dist/4383.js.map +1 -0
  52. package/dist/4658.js +1 -0
  53. package/dist/4658.js.map +1 -0
  54. package/dist/466.js +1 -0
  55. package/dist/466.js.map +1 -0
  56. package/dist/4928.js +1 -0
  57. package/dist/4928.js.map +1 -0
  58. package/dist/5117.js +1 -0
  59. package/dist/5117.js.map +1 -0
  60. package/dist/5132.js +1 -0
  61. package/dist/5132.js.map +1 -0
  62. package/dist/5145.js +1 -0
  63. package/dist/5145.js.map +1 -0
  64. package/dist/5503.js +1 -0
  65. package/dist/5503.js.map +1 -0
  66. package/dist/556.js +1 -0
  67. package/dist/556.js.map +1 -0
  68. package/dist/5644.js +1 -0
  69. package/dist/5644.js.map +1 -0
  70. package/dist/5697.js +1 -0
  71. package/dist/5697.js.map +1 -0
  72. package/dist/5861.js +1 -0
  73. package/dist/5861.js.map +1 -0
  74. package/dist/5940.js +1 -0
  75. package/dist/5940.js.map +1 -0
  76. package/dist/6047.js +1 -0
  77. package/dist/6047.js.map +1 -0
  78. package/dist/6371.js +1 -0
  79. package/dist/6371.js.map +1 -0
  80. package/dist/6377.js +1 -0
  81. package/dist/6377.js.map +1 -0
  82. package/dist/6444.js +1 -0
  83. package/dist/6444.js.map +1 -0
  84. package/dist/6508.js +1 -0
  85. package/dist/6508.js.map +1 -0
  86. package/dist/6724.js +1 -0
  87. package/dist/6724.js.map +1 -0
  88. package/dist/6904.js +1 -0
  89. package/dist/6904.js.map +1 -0
  90. package/dist/7045.js +1 -0
  91. package/dist/7045.js.map +1 -0
  92. package/dist/7103.js +1 -0
  93. package/dist/7103.js.map +1 -0
  94. package/dist/7175.js +1 -0
  95. package/dist/7175.js.map +1 -0
  96. package/dist/7182.js +1 -0
  97. package/dist/7182.js.map +1 -0
  98. package/dist/7205.js +11 -0
  99. package/dist/7205.js.map +1 -0
  100. package/dist/7646.js +17 -0
  101. package/dist/7646.js.map +1 -0
  102. package/dist/7742.js +1 -0
  103. package/dist/7742.js.map +1 -0
  104. package/dist/7912.js +1 -0
  105. package/dist/7912.js.map +1 -0
  106. package/dist/8358.js +1 -0
  107. package/dist/8358.js.map +1 -0
  108. package/dist/8359.js +1 -0
  109. package/dist/8359.js.map +1 -0
  110. package/dist/8369.js +1 -0
  111. package/dist/8369.js.map +1 -0
  112. package/dist/8695.js +1 -0
  113. package/dist/8695.js.map +1 -0
  114. package/dist/8722.js +1 -0
  115. package/dist/8722.js.map +1 -0
  116. package/dist/903.js +1 -0
  117. package/dist/903.js.map +1 -0
  118. package/dist/9061.js +1 -0
  119. package/dist/9061.js.map +1 -0
  120. package/dist/9072.js +1 -0
  121. package/dist/9072.js.map +1 -0
  122. package/dist/9105.js +1 -0
  123. package/dist/9105.js.map +1 -0
  124. package/dist/9712.js +1 -0
  125. package/dist/9712.js.map +1 -0
  126. package/dist/9771.js +1 -0
  127. package/dist/9771.js.map +1 -0
  128. package/dist/9806.js +1 -0
  129. package/dist/9806.js.map +1 -0
  130. package/dist/main.js +16 -0
  131. package/dist/main.js.map +1 -0
  132. package/dist/openmrs-esm-patient-notes-app.js +6 -0
  133. package/dist/openmrs-esm-patient-notes-app.js.buildmanifest.json +1760 -0
  134. package/dist/openmrs-esm-patient-notes-app.js.map +1 -0
  135. package/dist/routes.json +1 -0
  136. package/package.json +58 -0
  137. package/rspack.config.js +1 -0
  138. package/src/config-schema.ts +28 -0
  139. package/src/dashboard.meta.ts +7 -0
  140. package/src/declarations.d.ts +4 -0
  141. package/src/index.ts +45 -0
  142. package/src/notes/notes-overview.extension.tsx +74 -0
  143. package/src/notes/notes-overview.scss +40 -0
  144. package/src/notes/notes-overview.test.tsx +101 -0
  145. package/src/notes/paginated-notes.component.tsx +182 -0
  146. package/src/notes/visit-note-config-schema.ts +38 -0
  147. package/src/notes/visit-notes-form.scss +219 -0
  148. package/src/notes/visit-notes-form.test.tsx +523 -0
  149. package/src/notes/visit-notes-form.workspace.tsx +853 -0
  150. package/src/notes/visit-notes.resource.ts +113 -0
  151. package/src/routes.json +48 -0
  152. package/src/sticky-notes/delete-sticky-note-button.component.tsx +39 -0
  153. package/src/sticky-notes/delete-sticky-note-button.scss +13 -0
  154. package/src/sticky-notes/delete-sticky-note.modal.test.tsx +72 -0
  155. package/src/sticky-notes/delete-sticky-note.modal.tsx +62 -0
  156. package/src/sticky-notes/edit-sticky-note-button.component.tsx +20 -0
  157. package/src/sticky-notes/sticky-note-header-button.component.tsx +100 -0
  158. package/src/sticky-notes/sticky-note-header-button.scss +38 -0
  159. package/src/sticky-notes/sticky-note-header-button.test.tsx +182 -0
  160. package/src/sticky-notes/sticky-note-panel.component.tsx +88 -0
  161. package/src/sticky-notes/sticky-note-panel.scss +54 -0
  162. package/src/sticky-notes/sticky-note-panel.test.tsx +66 -0
  163. package/src/sticky-notes/sticky-note.modal.scss +3 -0
  164. package/src/sticky-notes/sticky-note.modal.test.tsx +115 -0
  165. package/src/sticky-notes/sticky-note.modal.tsx +93 -0
  166. package/src/sticky-notes/sticky-note.resource.test.ts +24 -0
  167. package/src/sticky-notes/sticky-note.resource.ts +82 -0
  168. package/src/sticky-notes/utils.test.ts +36 -0
  169. package/src/sticky-notes/utils.ts +9 -0
  170. package/src/types/index.ts +203 -0
  171. package/src/visit-note-action-button.extension.tsx +28 -0
  172. package/src/visit-note-action-button.test.tsx +42 -0
  173. package/translations/am.json +55 -0
  174. package/translations/ar.json +55 -0
  175. package/translations/ar_SY.json +55 -0
  176. package/translations/bn.json +55 -0
  177. package/translations/cs.json +55 -0
  178. package/translations/de.json +55 -0
  179. package/translations/en.json +55 -0
  180. package/translations/en_US.json +55 -0
  181. package/translations/es.json +55 -0
  182. package/translations/es_MX.json +55 -0
  183. package/translations/fr.json +55 -0
  184. package/translations/he.json +55 -0
  185. package/translations/hi.json +55 -0
  186. package/translations/hi_IN.json +55 -0
  187. package/translations/id.json +55 -0
  188. package/translations/it.json +55 -0
  189. package/translations/ka.json +55 -0
  190. package/translations/km.json +55 -0
  191. package/translations/ku.json +55 -0
  192. package/translations/ky.json +55 -0
  193. package/translations/lg.json +55 -0
  194. package/translations/ne.json +55 -0
  195. package/translations/pl.json +55 -0
  196. package/translations/pt.json +55 -0
  197. package/translations/pt_BR.json +55 -0
  198. package/translations/qu.json +55 -0
  199. package/translations/ro_RO.json +55 -0
  200. package/translations/ru_RU.json +55 -0
  201. package/translations/si.json +55 -0
  202. package/translations/sq.json +55 -0
  203. package/translations/sw.json +55 -0
  204. package/translations/sw_KE.json +55 -0
  205. package/translations/tr.json +55 -0
  206. package/translations/tr_TR.json +55 -0
  207. package/translations/uk.json +55 -0
  208. package/translations/uz.json +55 -0
  209. package/translations/uz@Latn.json +55 -0
  210. package/translations/uz_UZ.json +55 -0
  211. package/translations/vi.json +55 -0
  212. package/translations/zh.json +55 -0
  213. package/translations/zh_CN.json +55 -0
  214. package/translations/zh_TW.json +55 -0
  215. package/tsconfig.json +4 -0
  216. package/vitest.config.ts +4 -0
package/dist/282.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["282"],{37617(e){e.exports=JSON.parse('{"add":"Add","addImage":"Add image","addVisitNote":"Add a visit note","clinicalNoteLabel":"Write your notes","clinicalNotePlaceholder":"Write any notes here","confirmDeleteStickyNote":"Confirm delete sticky note","confirmDeleteStickyNoteMessage":"Are you sure you want to delete this sticky note?","date":"Date","deleteStickyNote":"Delete sticky note","deleting":"Deleting","diagnoses":"Diagnoses","discard":"Discard","editStickyNote":"Edit sticky note","emptyDiagnosisText":"No diagnosis selected — Enter a diagnosis below","enterNotePlaceholder":"Enter your sticky note here...","enterPrimaryDiagnoses":"Enter Primary diagnoses","enterSecondaryDiagnoses":"Enter Secondary diagnoses","error":"Error","errorDeletingStickyNote":"Error deleting sticky note","errorDeletingStickyNoteMessage":"An error occurred while deleting the sticky note","errorFetchingConcepts":"There was a problem fetching concepts","errorLoadingStickyNote":"Couldn\'t load sticky note.","errorSavingStickyNote":"Error saving sticky note","errorTransformingDiagnoses":"Error transforming diagnoses","image":"Image","imageRemoved":"Image removed","imageUploadHelperText":"Upload an image or use this device\'s camera to capture an image","noMatchingDiagnoses":"No diagnoses found matching","note":"Note","noVisitNoteToDisplay":"No visit note to display","primaryDiagnosis":"Primary diagnosis","primaryDiagnosisInputPlaceholder":"Choose a primary diagnosis","primaryDiagnosisRequired":"Choose at least one primary diagnosis","retry":"Retry","saveAndClose":"Save and close","saving":"Saving","searchForPrimaryDiagnosis":"Search for a primary diagnosis","searchForSecondaryDiagnosis":"Search for a secondary diagnosis","secondaryDiagnosis":"Secondary diagnosis","secondaryDiagnosisInputPlaceholder":"Choose a secondary diagnosis","seeAll":"See all","stickyNote":"Sticky note","stickyNoteCreated":"Sticky note created","stickyNoteDeleted":"Sticky note deleted","stickyNoteDeletedSuccessfully":"The sticky note was deleted successfully","stickyNoteUpdated":"Sticky note updated","visitDate":"Visit date","visitNote":"Visit note","visitNoteNowVisible":"It is now visible on the Encounters page","visitNotes":"Visit notes","visitNoteSaved":"Visit note saved","visitNoteSaveError":"Error saving visit note","visitNoteWorkspaceTitle":"Visit Note"}')}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"282.js","sources":["webpack://@openmrs/esm-patient-notes-app/json|/home/adra-fs-08/Desktop/OpenMrs-frontends/openmrs-esm-patient-chart/packages/esm-patient-notes-app/translations/ar_SY.json"],"names":["JSON"],"mappings":"uJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,uwE"}
package/dist/2824.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["2824"],{6939(e,t,n){n.r(t),n.d(t,{default:()=>f});var r=n(37388),o=n.n(r),a=n(84916),l=n(26612),c=n(35120),i=n(34094);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t,n,r,o,a,l){try{var c=e[a](l),i=c.value}catch(e){n(e);return}c.done?t(i):Promise.resolve(i).then(r,o)}let f=function(e){var t,n=e.close,f=e.noteUuid,d=e.mutate,p=e.onClose,y=(0,l.useTranslation)().t,m=function(e){if(Array.isArray(e))return e}(t=(0,r.useState)(!1))||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o=[],a=!0,l=!1;try{for(r=r.call(e);!(a=(t=r.next()).done)&&(o.push(t.value),2!==o.length);a=!0);}catch(e){l=!0,n=e}finally{try{a||null==r.return||r.return()}finally{if(l)throw n}}return o}}(t)||function(e){if(e){if("string"==typeof e)return u(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return u(e,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),b=m[0],h=m[1],v=(0,r.useCallback)(function(){var e;return(e=function(){return function(e,t){var n,r,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},l=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),c=Object.defineProperty;return c(l,"next",{value:i(0)}),c(l,"throw",{value:i(1)}),c(l,"return",{value:i(2)}),"function"==typeof Symbol&&c(l,Symbol.iterator,{value:function(){return this}}),l;function i(c){return function(i){var u=[c,i];if(n)throw TypeError("Generator is already executing.");for(;l&&(l=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}(this,function(e){switch(e.label){case 0:h(!0),e.label=1;case 1:return e.trys.push([1,3,4,5]),[4,(0,i.$5)(f)];case 2:return e.sent(),(0,c.showSnackbar)({kind:"success",title:y("stickyNoteDeleted","Sticky note deleted"),subtitle:y("stickyNoteDeletedSuccessfully","The sticky note was deleted successfully")}),d(),n(),p(),[3,5];case 3:return e.sent(),(0,c.showSnackbar)({kind:"error",title:y("errorDeletingStickyNote","Error deleting sticky note"),subtitle:y("errorDeletingStickyNoteMessage","An error occurred while deleting the sticky note")}),[3,5];case 4:return h(!1),[7];case 5:return[2]}})},function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function l(e){s(a,r,o,l,c,"next",e)}function c(e){s(a,r,o,l,c,"throw",e)}l(void 0)})})()},[f,d,n,p,y]);return o().createElement(o().Fragment,null,o().createElement(a.rQ0,{closeModal:n},y("confirmDeleteStickyNote","Confirm delete sticky note")),o().createElement(a.cwr,null,o().createElement("p",null,y("confirmDeleteStickyNoteMessage","Are you sure you want to delete this sticky note?"))),o().createElement(a.jlY,null,o().createElement(a.$nd,{kind:"secondary",onClick:n,disabled:b},(0,c.getCoreTranslation)("cancel")),o().createElement(a.$nd,{kind:"danger",onClick:v,disabled:b},b?o().createElement(a.OuH,{description:y("deleting","Deleting")+"..."}):(0,c.getCoreTranslation)("delete"))))}},34094(e,t,n){n.d(t,{$5:()=>s,JJ:()=>c,Lq:()=>u,u5:()=>i});var r=n(37388),o=n(71123),a=n(35120),l=function(e){return!e.encounter&&!e.formNamespaceAndPath},c=function(e){var t,n=(0,a.useConfig)().stickyNoteConceptUuid,c=e&&n?"".concat(a.restBaseUrl,"/obs?patient=").concat(e,"&concept=").concat(n,"&v=").concat("custom:(uuid,value,obsDatetime,encounter:(uuid),formNamespaceAndPath,auditInfo:(creator:(display)))"):null,i=(0,o.Ay)(c,a.openmrsFetch),u=i.data,s=i.error,f=i.isLoading,d=i.mutate;return{note:(0,r.useMemo)(function(){var e,t;return null==u||null==(t=u.data)||null==(e=t.results)?void 0:e.filter(l).slice().sort(function(e,t){return new Date(t.obsDatetime).getTime()-new Date(e.obsDatetime).getTime()})[0]},[null==u||null==(t=u.data)?void 0:t.results]),isLoading:f,error:s,mutate:d}},i=function(e,t,n){return(0,a.openmrsFetch)("".concat(a.restBaseUrl,"/obs"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({person:e,concept:n,value:t,obsDatetime:new Date().toISOString()})})},u=function(e,t){return(0,a.openmrsFetch)("".concat(a.restBaseUrl,"/obs/").concat(e),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({value:t})})},s=function(e){return(0,a.openmrsFetch)("".concat(a.restBaseUrl,"/obs/").concat(e),{method:"DELETE"})}}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"2824.js","sources":["webpack://@openmrs/esm-patient-notes-app/./src/sticky-notes/delete-sticky-note.modal.tsx","webpack://@openmrs/esm-patient-notes-app/./src/sticky-notes/sticky-note.resource.ts"],"names":["close","noteUuid","mutate","onClose","t","useTranslation","_useState","isDeleting","setIsDeleting","confirmDelete","useCallback","deleteStickyNote","showSnackbar","err","ModalHeader","ModalBody","ModalFooter","Button","getCoreTranslation","InlineLoading","isStandaloneStickyNote","obs","useStickyNote","patientUuid","_data_data","stickyNoteConceptUuid","useConfig","url","restBaseUrl","stickyNoteRepresentation","_useSWR","openmrsFetch","data","error","isLoading","note","useMemo","_data_data_results","a","b","Date","createStickyNote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AAI,AAAD,EAATA,KAAAA,EAAAA,EAAY,OAAO,CAAC,EAKrBU,UAAAA,EACAD,MAAAA,EACA/B,OAAAA,CACF,CACF,EAEauC,EAAmB,SAAClB,CAAW,CAAUmB,CAAK,CAAUC,CAAW,EAC9E,MAAOZ,AAAAA,GAAAA,EAAAA,YAAAA,AAAAA,EAAc,GAAc,OAAZH,EAAAA,WAAWA,CAAC,QAAO,CACxC,OAAQ,OACR,QAAS,CAAE,eAAgB,kBAAmB,EAC9C,KAAMgB,KAAK,SAAS,CAAC,CACnB,OAAQrB,EACR,QAASoB,EACTD,MAAAA,EACA,YAAa,IAAIF,OAAO,WAAW,EACrC,EACF,EACF,EAEaK,EAAmB,SAACC,CAAO,CAAUJ,CAAK,EACrD,MAAOX,AAAAA,GAAAA,EAAAA,YAAAA,AAAAA,EAAc,GAAqBe,MAAAA,CAAnBlB,EAAAA,WAAWA,CAAC,SAAe,OAARkB,GAAW,CACnD,OAAQ,OACR,QAAS,CAAE,eAAgB,kBAAmB,EAC9C,KAAMF,KAAK,SAAS,CAAC,CAAEF,MAAAA,CAAM,EAC/B,EACF,EAEa/B,EAAmB,SAACmC,CAAO,EACtC,MAAOf,AAAAA,GAAAA,EAAAA,YAAAA,AAAAA,EAAc,GAAqBe,MAAAA,CAAnBlB,EAAAA,WAAWA,CAAC,SAAe,OAARkB,GAAW,CACnD,OAAQ,QACV,EACF,C"}
package/dist/2842.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["2842"],{72560(n,e,t){t.d(e,{A:()=>s});var a=t(9372),i=t.n(a),o=t(40935),r=t.n(o)()(i());r.push([n.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-patient-notes__delete-sticky-note-button__deleteIcon___j1LsI{fill:#da1e28 !important}.-esm-patient-notes__delete-sticky-note-button__deleteIcon___j1LsI svg{fill:#da1e28 !important}.-esm-patient-notes__delete-sticky-note-button__deleteIcon___j1LsI path{fill:#da1e28 !important}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/sticky-notes/delete-sticky-note-button.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CC3DF,mEACE,uBAAA,CAEA,uEACE,uBAAA,CAGF,wEACE,uBAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.deleteIcon {\n fill: $danger !important;\n\n svg {\n fill: $danger !important;\n }\n\n path {\n fill: $danger !important;\n }\n}\n"],sourceRoot:""}]),r.locals={deleteIcon:"-esm-patient-notes__delete-sticky-note-button__deleteIcon___j1LsI"};let s=r},17020(n,e,t){t.d(e,{A:()=>s});var a=t(9372),i=t.n(a),o=t(40935),r=t.n(o)()(i());r.push([n.id,':root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}[data-extension-id="sticky-notes-button"]:empty{display:none}.-esm-patient-notes__sticky-note-header-button__content___26V-z{display:flex;align-items:center;width:fit-content;margin-inline-start:auto;position:relative}.-esm-patient-notes__sticky-note-header-button__notificationBadge___uydiz{position:absolute;top:-0.25rem;right:.5rem;background-color:#da1e28;color:#fff;border-radius:50%;width:1rem;height:1rem;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:600;border:1px solid #fff}',"",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/sticky-notes/sticky-note-header-button.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCnDF,gDACE,YAAA,CAGF,gEACE,YAAA,CACA,kBAAA,CACA,iBAAA,CACA,wBAAA,CACA,iBAAA,CAGF,0EACE,iBAAA,CACA,YAAA,CACA,WCJW,CDKX,wBDJO,CCKP,UAAA,CACA,iBAAA,CACA,UCEW,CDDX,WCCW,CAAA,YAAA,CDCX,kBAAA,CACA,sBAAA,CACA,cAAA,CACA,eAAA,CACA,qBAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/colors';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n// When the gate returns null (no concept configured) the framework still leaves an empty\n// <div data-extension-id=\"sticky-notes-button\"> wrapper in the patient-info-slot. The slot's\n// own `> div:not(:last-child) { border-bottom }` rule paints a border on that empty wrapper,\n// stacking a second 1px line just below the banner's own border-bottom. Collapse the empty\n// wrapper so it takes no space and paints nothing.\n:global([data-extension-id='sticky-notes-button']):empty {\n display: none;\n}\n\n.content {\n display: flex;\n align-items: center;\n width: fit-content;\n margin-inline-start: auto;\n position: relative;\n}\n\n.notificationBadge {\n position: absolute;\n top: calc(layout.$spacing-02 * -1);\n right: layout.$spacing-03;\n background-color: $danger;\n color: white;\n border-radius: 50%;\n width: layout.$spacing-05;\n height: layout.$spacing-05;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 10px;\n font-weight: 600;\n border: 1px solid white;\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),r.locals={content:"-esm-patient-notes__sticky-note-header-button__content___26V-z",notificationBadge:"-esm-patient-notes__sticky-note-header-button__notificationBadge___uydiz"};let s=r},87318(n,e,t){t.d(e,{A:()=>s});var a=t(9372),i=t.n(a),o=t(40935),r=t.n(o)()(i());r.push([n.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-patient-notes__sticky-note-panel__stickyNoteContainer___OIj9M{position:absolute;top:34px;right:0;z-index:99;width:24rem;box-shadow:0 2px 10px 1px rgba(0,0,0,.12),0 2px 6px 1px rgba(171,198,213,.12);background-color:#fff}.-esm-patient-notes__sticky-note-panel__noteContent___9fNnf{padding:1rem;min-height:8rem;font-size:var(--cds-body-long-01-font-size, 0.875rem);font-weight:var(--cds-body-long-01-font-weight, 400);line-height:var(--cds-body-long-01-line-height, 1.42857);letter-spacing:var(--cds-body-long-01-letter-spacing, 0.16px);white-space:pre-wrap}.-esm-patient-notes__sticky-note-panel__noteFooter___Aimm0{display:flex;justify-content:space-between;align-items:center;padding:.5rem 1rem;border-top:1px solid rgba(0,0,0,.1);background-color:hsla(0,0%,100%,.2)}.-esm-patient-notes__sticky-note-panel__noteMetadata___wo3sr{font-size:var(--cds-caption-01-font-size, 0.75rem);font-weight:var(--cds-caption-01-font-weight, 400);line-height:var(--cds-caption-01-line-height, 1.33333);letter-spacing:var(--cds-caption-01-letter-spacing, 0.32px);color:var(--cds-text-02)}.-esm-patient-notes__sticky-note-panel__noteActions___WH-J2{display:flex;gap:.25rem}.-esm-patient-notes__sticky-note-panel__errorState___-mlBp{display:flex;flex-direction:column;align-items:center;text-align:center;padding:1.5rem 1rem;gap:.5rem}.-esm-patient-notes__sticky-note-panel__errorTitle___fTnb4{font-size:var(--cds-body-short-01-font-size, 0.875rem);font-weight:var(--cds-body-short-01-font-weight, 400);line-height:var(--cds-body-short-01-line-height, 1.28572);letter-spacing:var(--cds-body-short-01-letter-spacing, 0.16px)}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/sticky-notes/sticky-note-panel.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,oEACE,iBAAA,CACA,QAAA,CACA,OAAA,CACA,UAAA,CACA,WAAA,CACA,6EACE,CAEF,qBDJc,CCOhB,4DACE,YCcW,CDbX,eAAA,CEg1BE,qDAAA,CAAA,oDAAA,CAAA,wDAAA,CAAA,6DAAA,CF90BF,oBAAA,CAGF,2DACE,YAAA,CACA,6BAAA,CACA,kBAAA,CACA,kBAAA,CACA,mCAAA,CACA,mCAAA,CAGF,6DEk0BI,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CAAA,2DAAA,CFh0BF,wBAAA,CAGF,4DACE,YAAA,CACA,UCvBW,CD0Bb,2DACE,YAAA,CACA,qBAAA,CACA,kBAAA,CACA,iBAAA,CACA,mBAAA,CACA,SC3BW,CD8Bb,2DE+yBI,sDAAA,CAAA,qDAAA,CAAA,yDAAA,CAAA,8DAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.stickyNoteContainer {\n position: absolute;\n top: 34px;\n right: 0;\n z-index: 99;\n width: 24rem;\n box-shadow:\n 0 2px 10px 1px rgba(0, 0, 0, 0.12),\n 0 2px 6px 1px rgba(171, 198, 213, 0.12);\n background-color: $ui-background;\n}\n\n.noteContent {\n padding: layout.$spacing-05;\n min-height: 8rem;\n @include type.type-style('body-long-01');\n white-space: pre-wrap;\n}\n\n.noteFooter {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: layout.$spacing-03 layout.$spacing-05;\n border-top: 1px solid rgba(0, 0, 0, 0.1);\n background-color: rgba(255, 255, 255, 0.2);\n}\n\n.noteMetadata {\n @include type.type-style('caption-01');\n color: var(--cds-text-02);\n}\n\n.noteActions {\n display: flex;\n gap: layout.$spacing-02;\n}\n\n.errorState {\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n padding: layout.$spacing-06 layout.$spacing-05;\n gap: layout.$spacing-03;\n}\n\n.errorTitle {\n @include type.type-style('body-short-01');\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO: move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),r.locals={stickyNoteContainer:"-esm-patient-notes__sticky-note-panel__stickyNoteContainer___OIj9M",noteContent:"-esm-patient-notes__sticky-note-panel__noteContent___9fNnf",noteFooter:"-esm-patient-notes__sticky-note-panel__noteFooter___Aimm0",noteMetadata:"-esm-patient-notes__sticky-note-panel__noteMetadata___wo3sr",noteActions:"-esm-patient-notes__sticky-note-panel__noteActions___WH-J2",errorState:"-esm-patient-notes__sticky-note-panel__errorState___-mlBp",errorTitle:"-esm-patient-notes__sticky-note-panel__errorTitle___fTnb4"};let s=r},68321(n,e,t){t.r(e),t.d(e,{default:()=>F});var a=t(37388),i=t.n(a),o=t(84916),r=t(26612),s=t(35120),p=t(34094),l=t(88825),c=t(72591),d=t.n(c),u=t(1740),g=t.n(u),f=t(88128),y=t.n(f),h=t(30855),b=t.n(h),m=t(93051),$=t.n(m),A=t(73656),k=t.n(A),v=t(72560),w={};w.styleTagTransform=k(),w.setAttributes=b(),w.insert=y().bind(null,"head"),w.domAPI=g(),w.insertStyleElement=$(),d()(v.A,w);let x=v.A&&v.A.locals?v.A.locals:void 0,C=function(n){var e=n.noteUuid,t=n.mutate,a=n.onClose,p=(0,r.useTranslation)().t;return i().createElement(o.K0,{label:p("deleteStickyNote","Delete sticky note"),onClick:function(){var n=(0,s.showModal)("delete-sticky-note-modal",{close:function(){n()},noteUuid:e,mutate:t,onClose:a})},kind:"ghost",size:"sm",align:"top-end"},i().createElement(s.TrashCanIcon,{className:x.deleteIcon}))},_=function(n){var e=n.onEdit,t=(0,r.useTranslation)().t;return i().createElement(o.K0,{label:t("editStickyNote","Edit sticky note"),onClick:e,kind:"ghost",size:"sm",align:"top-end"},i().createElement(s.EditIcon,null))};var z=t(87318),M={};M.styleTagTransform=k(),M.setAttributes=b(),M.insert=y().bind(null,"head"),M.domAPI=g(),M.insertStyleElement=$(),d()(z.A,M);let E=z.A&&z.A.locals?z.A.locals:void 0,N=function(n){var e,t,p=n.error,c=n.isLoading,d=n.mutate,u=n.note,g=n.onClose,f=n.patientUuid,y=(0,r.useTranslation)().t,h=(0,a.useMemo)(function(){return u?(0,l.j)(u.value):""},[u]),b=(0,a.useCallback)(function(){if(u)var n=(0,s.showModal)("sticky-note-modal",{close:function(){return n()},existingNote:u,mutate:d,patientUuid:f})},[d,u,f]);if(c)return i().createElement("div",{className:E.stickyNoteContainer},i().createElement("div",{className:E.noteContent},i().createElement(o.rrI,{paragraph:!0,lineCount:3})),i().createElement("div",{className:E.noteFooter},i().createElement(o.rrI,{width:"40%"})));if(p)return i().createElement("div",{className:E.stickyNoteContainer},i().createElement("div",{className:E.errorState},i().createElement("p",{className:E.errorTitle},y("errorLoadingStickyNote","Couldn't load sticky note.")),i().createElement(o.$nd,{kind:"ghost",size:"sm",onClick:function(){return d()}},y("retry","Retry"))));if(!u)return null;var m=null==(t=u.auditInfo)||null==(e=t.creator)?void 0:e.display;return i().createElement("div",{className:E.stickyNoteContainer},i().createElement("div",{className:E.noteContent},i().createElement("p",null,h)),i().createElement("div",{className:E.noteFooter},i().createElement("div",{className:E.noteMetadata},(0,s.formatDate)(new Date(u.obsDatetime),{mode:"wide"}),m?" \xb7 ".concat(m):""),i().createElement("div",{className:E.noteActions},i().createElement(_,{onEdit:b}),i().createElement(C,{noteUuid:u.uuid,mutate:d,onClose:g}))))};var B=t(17020),D={};D.styleTagTransform=k(),D.setAttributes=b(),D.insert=y().bind(null,"head"),D.domAPI=g(),D.insertStyleElement=$(),d()(B.A,D);let T=B.A&&B.A.locals?B.A.locals:void 0;function I(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,a=Array(e);t<e;t++)a[t]=n[t];return a}var S=function(n){var e,t=n.patientUuid,l=(0,r.useTranslation)().t,c=function(n){if(Array.isArray(n))return n}(e=(0,a.useState)(!1))||function(n){var e,t,a=null==n?null:"u">typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=a){var i=[],o=!0,r=!1;try{for(a=a.call(n);!(o=(e=a.next()).done)&&(i.push(e.value),2!==i.length);o=!0);}catch(n){r=!0,t=n}finally{try{o||null==a.return||a.return()}finally{if(r)throw t}}return i}}(e)||function(n){if(n){if("string"==typeof n)return I(n,2);var e=Object.prototype.toString.call(n).slice(8,-1);if("Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return I(n,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),d=c[0],u=c[1],g=(0,p.JJ)(t),f=g.note,y=g.isLoading,h=g.error,b=g.mutate,m=(0,a.useCallback)(function(){u(!1)},[]),$=(0,a.useCallback)(function(n){var e;null!=(e=n.target)&&e.closest('[role="dialog"]')||u(!1)},[]),A=(0,s.useOnClickOutside)($,d),k=(0,a.useCallback)(function(){if(y||h||f)return void u(function(n){return!n});var n=(0,s.showModal)("sticky-note-modal",{close:function(){return n()},mutate:b,patientUuid:t})},[h,y,b,f,t]);return(0,a.useEffect)(function(){if(d){var n=function(n){"Escape"===n.key&&u(!1)};return document.addEventListener("keydown",n),function(){document.removeEventListener("keydown",n)}}},[d]),i().createElement("div",{className:T.content,ref:A},i().createElement(o.$nd,{kind:"ghost",size:"sm",renderIcon:function(n){return i().createElement("div",null,i().createElement(s.DocumentIcon,n),f&&i().createElement("span",{className:T.notificationBadge},"1"))},onClick:k},l("stickyNote","Sticky note")),d&&i().createElement(N,{error:h,isLoading:y,mutate:b,note:f,onClose:m,patientUuid:t}))};let F=function(n){return(0,s.useConfig)().stickyNoteConceptUuid?i().createElement(S,n):null}},34094(n,e,t){t.d(e,{$5:()=>c,JJ:()=>s,Lq:()=>l,u5:()=>p});var a=t(37388),i=t(71123),o=t(35120),r=function(n){return!n.encounter&&!n.formNamespaceAndPath},s=function(n){var e,t=(0,o.useConfig)().stickyNoteConceptUuid,s=n&&t?"".concat(o.restBaseUrl,"/obs?patient=").concat(n,"&concept=").concat(t,"&v=").concat("custom:(uuid,value,obsDatetime,encounter:(uuid),formNamespaceAndPath,auditInfo:(creator:(display)))"):null,p=(0,i.Ay)(s,o.openmrsFetch),l=p.data,c=p.error,d=p.isLoading,u=p.mutate;return{note:(0,a.useMemo)(function(){var n,e;return null==l||null==(e=l.data)||null==(n=e.results)?void 0:n.filter(r).slice().sort(function(n,e){return new Date(e.obsDatetime).getTime()-new Date(n.obsDatetime).getTime()})[0]},[null==l||null==(e=l.data)?void 0:e.results]),isLoading:d,error:c,mutate:u}},p=function(n,e,t){return(0,o.openmrsFetch)("".concat(o.restBaseUrl,"/obs"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({person:n,concept:t,value:e,obsDatetime:new Date().toISOString()})})},l=function(n,e){return(0,o.openmrsFetch)("".concat(o.restBaseUrl,"/obs/").concat(n),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({value:e})})},c=function(n){return(0,o.openmrsFetch)("".concat(o.restBaseUrl,"/obs/").concat(n),{method:"DELETE"})}},88825(n,e,t){t.d(e,{j:()=>i});var a=t(96656);function i(n){return(0,a.D4)(n)}}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"2842.js","sources":["webpack://@openmrs/esm-patient-notes-app/./src/sticky-notes/delete-sticky-note-button.scss","webpack://@openmrs/esm-patient-notes-app/./src/sticky-notes/sticky-note-header-button.scss","webpack://@openmrs/esm-patient-notes-app/./src/sticky-notes/sticky-note-panel.scss","webpack://@openmrs/esm-patient-notes-app/./src/sticky-notes/delete-sticky-note-button.scss?7427","webpack://@openmrs/esm-patient-notes-app/./src/sticky-notes/delete-sticky-note-button.component.tsx","webpack://@openmrs/esm-patient-notes-app/./src/sticky-notes/edit-sticky-note-button.component.tsx","webpack://@openmrs/esm-patient-notes-app/./src/sticky-notes/sticky-note-panel.scss?6bbc","webpack://@openmrs/esm-patient-notes-app/./src/sticky-notes/sticky-note-panel.component.tsx","webpack://@openmrs/esm-patient-notes-app/./src/sticky-notes/sticky-note-header-button.scss?ee14","webpack://@openmrs/esm-patient-notes-app/./src/sticky-notes/sticky-note-header-button.component.tsx","webpack://@openmrs/esm-patient-notes-app/./src/sticky-notes/sticky-note.resource.ts","webpack://@openmrs/esm-patient-notes-app/./src/sticky-notes/utils.ts"],"names":["noteUuid","mutate","onClose","t","useTranslation","IconButton","dispose","showModal","close","TrashCanIcon","styles","onEdit","EditIcon","_note_auditInfo_creator","error","isLoading","note","patientUuid","decodedValue","useMemo","decodeHtmlEntities","handleEdit","useCallback","SkeletonText","Button","onClick","creatorDisplay","formatDate","Date","EditStickyNote","DeleteStickyNote","StickyNoteHeaderButton","_useState","showPanel","setShowPanel","_useStickyNote","handleClose","handleOutsideClick","event","_event_target","containerRef","useOnClickOutside","handleClick","prev","useEffect","handleKeyDown","document","renderIcon","props","DocumentIcon","StickyNotePanel","useConfig","stickyNoteConceptUuid","isStandaloneStickyNote","obs","useStickyNote","_data_data","url","restBaseUrl","stickyNoteRepresentation","_useSWR","openmrsFetch","data","_data_data_results","a","b","createStickyNote","value","conceptUuid","JSON","updateStickyNote","obsUuid","deleteStickyNote","text","decode"],"mappings":"+MAGI,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,0mBAA2mB,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,8DAA8D,CAAC,MAAQ,EAAE,CAAC,SAAW,yIAAyI,eAAiB,CAAC,g/DAAg/D,kMAAkM,CAAC,WAAa,EAAE,EAAE,EAE3qG,EAAwB,MAAM,CAAG,CAChC,WAAc,mEACf,EACA,MAAe,C,kECPX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,w1BAA21B,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,8DAA8D,6EAA6E,CAAC,MAAQ,EAAE,CAAC,SAAW,0TAA0T,eAAiB,CAAC,g/DAAg/D,ooCAAooC,05DAA05D,CAAC,WAAa,EAAE,EAAE,EAEr/M,EAAwB,MAAM,CAAG,CAChC,QAAW,iEACX,kBAAqB,0EACtB,EACA,MAAe,C,kECRX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,25DAA45D,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,sDAAsD,6EAA6E,gEAAgE,CAAC,MAAQ,EAAE,CAAC,SAAW,2hBAA2hB,eAAiB,CAAC,g/DAAg/D,+nCAA+nC,05DAA05D,w8uBAAw8uB,CAAC,WAAa,EAAE,EAAE,EAElx+B,EAAwB,MAAM,CAAG,CAChC,oBAAuB,qEACvB,YAAe,6DACf,WAAc,4DACd,aAAgB,8DAChB,YAAe,6DACf,WAAc,4DACd,WAAc,2DACf,EACA,MAAe,C,8PCLX,EAAU,CAAC,CAEf,GAAQ,iBAAiB,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_app||[]).push([["2881"],{36840(e){e.exports=JSON.parse('{"add":"Add","addImage":"Add image","addVisitNote":"Add a visit note","clinicalNoteLabel":"Write your notes","clinicalNotePlaceholder":"Write any notes here","confirmDeleteStickyNote":"Confirm delete sticky note","confirmDeleteStickyNoteMessage":"Are you sure you want to delete this sticky note?","date":"Date","deleteStickyNote":"Delete sticky note","deleting":"Deleting","diagnoses":"Diagnoses","discard":"Discard","editStickyNote":"Edit sticky note","emptyDiagnosisText":"No diagnosis selected — Enter a diagnosis below","enterNotePlaceholder":"Enter your sticky note here...","enterPrimaryDiagnoses":"Enter Primary diagnoses","enterSecondaryDiagnoses":"Enter Secondary diagnoses","error":"Error","errorDeletingStickyNote":"Error deleting sticky note","errorDeletingStickyNoteMessage":"An error occurred while deleting the sticky note","errorFetchingConcepts":"There was a problem fetching concepts","errorLoadingStickyNote":"Couldn\'t load sticky note.","errorSavingStickyNote":"Error saving sticky note","errorTransformingDiagnoses":"Error transforming diagnoses","image":"Image","imageRemoved":"Image removed","imageUploadHelperText":"Upload an image or use this device\'s camera to capture an image","noMatchingDiagnoses":"No diagnoses found matching","note":"Note","noVisitNoteToDisplay":"No visit note to display","primaryDiagnosis":"Primary diagnosis","primaryDiagnosisInputPlaceholder":"Choose a primary diagnosis","primaryDiagnosisRequired":"Choose at least one primary diagnosis","retry":"Retry","saveAndClose":"Save and close","saving":"Saving","searchForPrimaryDiagnosis":"Search for a primary diagnosis","searchForSecondaryDiagnosis":"Search for a secondary diagnosis","secondaryDiagnosis":"Secondary diagnosis","secondaryDiagnosisInputPlaceholder":"Choose a secondary diagnosis","seeAll":"See all","stickyNote":"Sticky note","stickyNoteCreated":"Sticky note created","stickyNoteDeleted":"Sticky note deleted","stickyNoteDeletedSuccessfully":"The sticky note was deleted successfully","stickyNoteUpdated":"Sticky note updated","visitDate":"Visit date","visitNote":"Visit note","visitNoteNowVisible":"It is now visible on the Encounters page","visitNotes":"Visit notes","visitNoteSaved":"Visit note saved","visitNoteSaveError":"Error saving visit note","visitNoteWorkspaceTitle":"Visit Note"}')}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"2881.js","sources":["webpack://@openmrs/esm-patient-notes-app/json|/home/adra-fs-08/Desktop/OpenMrs-frontends/openmrs-esm-patient-chart/packages/esm-patient-notes-app/translations/hi.json"],"names":["JSON"],"mappings":"wJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,uwE"}
package/dist/3378.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["3378"],{89913(e){e.exports=JSON.parse('{"add":"Add","addImage":"Add image","addVisitNote":"Add a visit note","clinicalNoteLabel":"Write your notes","clinicalNotePlaceholder":"Write any notes here","confirmDeleteStickyNote":"Confirm delete sticky note","confirmDeleteStickyNoteMessage":"Are you sure you want to delete this sticky note?","date":"Date","deleteStickyNote":"Delete sticky note","deleting":"Deleting","diagnoses":"Diagnoses","discard":"Discard","editStickyNote":"Edit sticky note","emptyDiagnosisText":"No diagnosis selected — Enter a diagnosis below","enterNotePlaceholder":"Enter your sticky note here...","enterPrimaryDiagnoses":"Enter Primary diagnoses","enterSecondaryDiagnoses":"Enter Secondary diagnoses","error":"Error","errorDeletingStickyNote":"Error deleting sticky note","errorDeletingStickyNoteMessage":"An error occurred while deleting the sticky note","errorFetchingConcepts":"There was a problem fetching concepts","errorLoadingStickyNote":"Couldn\'t load sticky note.","errorSavingStickyNote":"Error saving sticky note","errorTransformingDiagnoses":"Error transforming diagnoses","image":"Image","imageRemoved":"Image removed","imageUploadHelperText":"Upload an image or use this device\'s camera to capture an image","noMatchingDiagnoses":"No diagnoses found matching","note":"Note","noVisitNoteToDisplay":"No visit note to display","primaryDiagnosis":"Primary diagnosis","primaryDiagnosisInputPlaceholder":"Choose a primary diagnosis","primaryDiagnosisRequired":"Choose at least one primary diagnosis","retry":"Retry","saveAndClose":"Save and close","saving":"Saving","searchForPrimaryDiagnosis":"Search for a primary diagnosis","searchForSecondaryDiagnosis":"Search for a secondary diagnosis","secondaryDiagnosis":"Secondary diagnosis","secondaryDiagnosisInputPlaceholder":"Choose a secondary diagnosis","seeAll":"See all","stickyNote":"Sticky note","stickyNoteCreated":"Sticky note created","stickyNoteDeleted":"Sticky note deleted","stickyNoteDeletedSuccessfully":"The sticky note was deleted successfully","stickyNoteUpdated":"Sticky note updated","visitDate":"Visit date","visitNote":"Visit note","visitNoteNowVisible":"It is now visible on the Encounters page","visitNotes":"Visit notes","visitNoteSaved":"Visit note saved","visitNoteSaveError":"Error saving visit note","visitNoteWorkspaceTitle":"Visit Note"}')}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"3378.js","sources":["webpack://@openmrs/esm-patient-notes-app/json|/home/adra-fs-08/Desktop/OpenMrs-frontends/openmrs-esm-patient-chart/packages/esm-patient-notes-app/translations/sw.json"],"names":["JSON"],"mappings":"wJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,uwE"}
package/dist/3720.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["3720"],{93296(t,e,n){var u=n(37388),o="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},r=u.useState,s=u.useEffect,a=u.useLayoutEffect,i=u.useDebugValue;function c(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!o(t,n)}catch(t){return!0}}var p="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var n=e(),u=r({inst:{value:n,getSnapshot:e}}),o=u[0].inst,p=u[1];return a(function(){o.value=n,o.getSnapshot=e,c(o)&&p({inst:o})},[t,n,e]),s(function(){return c(o)&&p({inst:o}),t(function(){c(o)&&p({inst:o})})},[t]),i(n),n};e.useSyncExternalStore=void 0!==u.useSyncExternalStore?u.useSyncExternalStore:p},58139(t,e,n){t.exports=n(93296)}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"3720.js","sources":["webpack://@openmrs/esm-patient-notes-app/../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js","webpack://@openmrs/esm-patient-notes-app/../../node_modules/use-sync-external-store/shim/index.js"],"names":["o","Object","c","n","window","e"],"mappings":"4JAWA,IAAI,EAAQ,EAAQ,OAIhBA,EAAW,YAAe,OAAOC,OAAO,EAAE,CAAGA,OAAO,EAAE,CAH1D,SAAY,CAAC,CAAE,CAAC,EACd,OAAO,AAAC,IAAM,GAAM,KAAM,GAAK,EAAI,GAAM,EAAI,IAAQ,GAAM,GAAK,GAAM,CACxE,EAEE,EAAW,EAAM,QAAQ,CACzB,EAAY,EAAM,SAAS,CAC3B,EAAkB,EAAM,eAAe,CACvC,EAAgB,EAAM,aAAa,CA0BrC,SAASC,EAAuB,CAAI,EAClC,IAAI,EAAoB,EAAK,WAAW,CACxC,EAAO,EAAK,KAAK,CACjB,GAAI,CACF,IAAIC,EAAY,IAChB,MAAO,CAACH,EAAS,EAAMG,EACzB,CAAE,MAAO,EAAO,CACd,MAAO,CAAC,CACV,CACF,CAIA,IAAI,EACF,IAAgB,OAAOC,QACvB,SAAuBA,OAAO,QAAQ,EACtC,SAAuBA,OAAO,QAAQ,CAAC,aAAa,CANtD,SAAgC,CAAS,CAAE,CAAW,EACpD,OAAO,GACT,EArCA,SAAgC,CAAS,CAAE,CAAW,EACpD,IAAI,EAAQ,IACV,EAAY,EAAS,CAAE,KAAM,CAAE,MAAO,EAAO,YAAa,CAAY,CAAE,GACxE,EAAO,CAAS,CAAC,EAAE,CAAC,IAAI,CACxB,EAAc,CAAS,CAAC,EAAE,CAmB5B,OAlBA,EACE,WACE,EAAK,KAAK,CAAG,EACb,EAAK,WAAW,CAAG,EACnBF,EAAuB,IAAS,EAAY,CAAE,KAAM,CAAK,EAC3D,EACA,CAAC,EAAW,EAAO,EAAY,EAEjC,EACE,WAEE,OADAA,EAAuB,IAAS,EAAY,CAAE,KAAM,CAAK,GAClD,EAAU,WACfA,EAAuB,IAAS,EAAY,CAAE,KAAM,CAAK,EAC3D,EACF,EACA,CAAC,EAAU,EAEb,EAAc,GACP,CACT,CAoBAG,CAAAA,EAAQ,oBAAoB,CAC1B,KAAK,IAAM,EAAM,oBAAoB,CAAG,EAAM,oBAAoB,CAAG,C,eC9DrE,EAAO,OAAO,CAAG,EAAjB,M"}
package/dist/3963.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["3963"],{46022(e){e.exports=JSON.parse('{"add":"Adauga","addImage":"Adauga imagine","addVisitNote":"Adauga nota vizita","clinicalNoteLabel":"Scrie notitele tale","clinicalNotePlaceholder":"Scrie orice nota aici","confirmDeleteStickyNote":"Confirm delete sticky note","confirmDeleteStickyNoteMessage":"Are you sure you want to delete this sticky note?","date":"Data","deleteStickyNote":"Delete sticky note","deleting":"Deleting","diagnoses":"Diagnostic","discard":"Renunta","editStickyNote":"Edit sticky note","emptyDiagnosisText":"Niciun diagnostic selectat — Introdu un diagnostic mai jos","enterNotePlaceholder":"Enter your sticky note here...","enterPrimaryDiagnoses":"Introdu diagnosticul primar","enterSecondaryDiagnoses":"Introdu diagnosticul secundar","error":"Eroare","errorDeletingStickyNote":"Error deleting sticky note","errorDeletingStickyNoteMessage":"An error occurred while deleting the sticky note","errorFetchingConcepts":"A aparut o problema la preluarea conceptelor","errorLoadingStickyNote":"Couldn\'t load sticky note.","errorSavingStickyNote":"Error saving sticky note","errorTransformingDiagnoses":"Eroare la transformarea diagnosticului","image":"Imagine","imageRemoved":"Imagine stearsa","imageUploadHelperText":"Incarca o imagine sau foloseste camera dispozitivului pentru a captura o imagine","noMatchingDiagnoses":"Nu s-au gasit diagnostice corespunzatoare","note":"Nota","noVisitNoteToDisplay":"Nu exista nota de vizita de afisat","primaryDiagnosis":"Diagnostic primar","primaryDiagnosisInputPlaceholder":"Alege un diagnostic primar","primaryDiagnosisRequired":"Alege cel putin un diagnostic primar","retry":"Retry","saveAndClose":"Salveaza si inchide","saving":"Se salveaza","searchForPrimaryDiagnosis":"Cauta un diagnostic primar","searchForSecondaryDiagnosis":"Cauta un diagnostic secundar","secondaryDiagnosis":"Diagnostic secundar","secondaryDiagnosisInputPlaceholder":"Alege un diagnostic secundar","seeAll":"Vezi tot","stickyNote":"Sticky note","stickyNoteCreated":"Sticky note created","stickyNoteDeleted":"Sticky note deleted","stickyNoteDeletedSuccessfully":"The sticky note was deleted successfully","stickyNoteUpdated":"Sticky note updated","visitDate":"Data vizitei","visitNote":"Nota vizita","visitNoteNowVisible":"Este acum vizibila in pagina de consultatii","visitNotes":"Note vizita","visitNoteSaved":"Nota de vizita salvata","visitNoteSaveError":"Eroare la salvarea notei de vizita","visitNoteWorkspaceTitle":"Nota Vizita"}')}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"3963.js","sources":["webpack://@openmrs/esm-patient-notes-app/json|/home/adra-fs-08/Desktop/OpenMrs-frontends/openmrs-esm-patient-chart/packages/esm-patient-notes-app/translations/ro_RO.json"],"names":["JSON"],"mappings":"wJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,i4E"}
package/dist/3989.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["3989"],{42372(e,t,n){n.r(t),n.d(t,{INFINITE_PREFIX:()=>B,IS_REACT_LEGACY:()=>k,IS_SERVER:()=>I,OBJECT:()=>l,SWRConfig:()=>H,SWRGlobalState:()=>E,UNDEFINED:()=>a,cache:()=>q,compare:()=>$,createCacheHelper:()=>b,defaultConfig:()=>j,defaultConfigOptions:()=>S,getTimestamp:()=>W,hasRequestAnimationFrame:()=>y,initCache:()=>U,internalMutate:()=>x,isDocumentDefined:()=>v,isFunction:()=>u,isPromiseLike:()=>f,isUndefined:()=>s,isWindowDefined:()=>g,mergeConfigs:()=>z,mergeObjects:()=>c,mutate:()=>J,noop:()=>o,normalize:()=>K,preload:()=>Z,preset:()=>O,rAF:()=>A,revalidateEvents:()=>M,serialize:()=>N,slowConnection:()=>F,stableHash:()=>_,subscribeCallback:()=>en,useIsomorphicLayoutEffect:()=>D,useSWRConfig:()=>Q,withArgs:()=>et,withMiddleware:()=>er});var r=n(37388),i=n.n(r);let o=()=>{},a=o(),l=Object,s=e=>e===a,u=e=>"function"==typeof e,c=(e,t)=>({...e,...t}),f=e=>u(e.then),d=new WeakMap,p=0,_=e=>{let t,n,r=typeof e,i=e&&e.constructor,o=i==Date;if(l(e)!==e||o||i==RegExp)t=o?e.toJSON():"symbol"==r?e.toString():"string"==r?JSON.stringify(e):""+e;else{if(t=d.get(e))return t;if(t=++p+"~",d.set(e,t),i==Array){for(n=0,t="@";n<e.length;n++)t+=_(e[n])+",";d.set(e,t)}if(i==l){t="#";let r=l.keys(e).sort();for(;!s(n=r.pop());)s(e[n])||(t+=n+":"+_(e[n])+",");d.set(e,t)}}return t},E=new WeakMap,h={},m={},w="undefined",g=typeof window!=w,v=typeof document!=w,y=()=>g&&typeof window.requestAnimationFrame!=w,b=(e,t)=>{let n=E.get(e);return[()=>!s(t)&&e.get(t)||h,r=>{if(!s(t)){let i=e.get(t);t in m||(m[t]=i),n[5](t,c(i,r),i||h)}},n[6],()=>!s(t)&&t in m?m[t]:!s(t)&&e.get(t)||h]},R=!0,[C,T]=g&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],O={isOnline:()=>R,isVisible:()=>{let e=v&&document.visibilityState;return s(e)||"hidden"!==e}},S={initFocus:e=>(v&&document.addEventListener("visibilitychange",e),C("focus",e),()=>{v&&document.removeEventListener("visibilitychange",e),T("focus",e)}),initReconnect:e=>{let t=()=>{R=!0,e()},n=()=>{R=!1};return C("online",t),C("offline",n),()=>{T("online",t),T("offline",n)}}},k=!i().useId,I=!g||"Deno"in window,A=e=>y()?window.requestAnimationFrame(e):setTimeout(e,1),D=I?r.useEffect:r.useLayoutEffect,L="u">typeof navigator&&navigator.connection,F=!I&&L&&(["slow-2g","2g"].includes(L.effectiveType)||L.saveData),N=e=>{if(u(e))try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?_(e):"",t]},V=0,W=()=>++V;var M={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:2,RECONNECT_EVENT:1};async function x(...e){let[t,n,r,i]=e,o=c({populateCache:!0,throwOnError:!0},"boolean"==typeof i?{revalidate:i}:i||{}),l=o.populateCache,d=o.rollbackOnError,p=o.optimisticData,_=o.throwOnError;if(u(n)){let e=[];for(let r of t.keys())!/^\$(inf|sub)\$/.test(r)&&n(t.get(r)._k)&&e.push(r);return Promise.all(e.map(h))}return h(n);async function h(n){let i,[c]=N(n);if(!c)return;let[h,m]=b(t,c),[w,g,v,y]=E.get(t),R=()=>{let e=w[c];return(u(o.revalidate)?o.revalidate(h().data,n):!1!==o.revalidate)&&(delete v[c],delete y[c],e&&e[0])?e[0](2).then(()=>h().data):h().data};if(e.length<3)return R();let C=r,T=W();g[c]=[T,0];let O=!s(p),S=h(),k=S.data,I=S._c,A=s(I)?k:I;if(O&&m({data:p=u(p)?p(A,k):p,_c:A}),u(C))try{C=C(A)}catch(e){i=e}if(C&&f(C)){let e;if(C=await C.catch(e=>{i=e}),T!==g[c][0]){if(i)throw i;return C}i&&O&&(e=i,"function"==typeof d?d(e):!1!==d)&&(l=!0,m({data:A,_c:a}))}if(l&&!i&&(u(l)?m({data:l(C,A),error:a,_c:a}):m({data:C,error:a,_c:a})),g[c][1]=W(),Promise.resolve(R()).then(()=>{m({_c:a})}),i){if(_)throw i;return}return C}}let P=(e,t)=>{for(let n in e)e[n][0]&&e[n][0](t)},U=(e,t)=>{if(!E.has(e)){let n=c(S,t),r={},i=x.bind(a,e),l=o,s={},u=(e,t)=>{let n=s[e]||[];return s[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},f=(t,n,r)=>{e.set(t,n);let i=s[t];if(i)for(let e of i)e(n,r)},d=()=>{if(!E.has(e)&&(E.set(e,[r,{},{},{},i,f,u]),!I)){let t=n.initFocus(setTimeout.bind(a,P.bind(a,r,0))),i=n.initReconnect(setTimeout.bind(a,P.bind(a,r,1)));l=()=>{t&&t(),i&&i(),E.delete(e)}}};return d(),[e,i,d,l]}return[e,E.get(e)[4]]},$=(e,t)=>_(e)==_(t),[q,J]=U(new Map),j=c({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:(e,t,n,r,i)=>{let o=n.errorRetryCount,a=i.retryCount,l=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;(s(o)||!(a>o))&&setTimeout(r,l,i)},onDiscarded:o,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:F?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:F?5e3:3e3,compare:$,isPaused:()=>!1,cache:q,mutate:J,fallback:{}},O),z=(e,t)=>{let n=c(e,t);if(t){let{use:r,fallback:i}=e,{use:o,fallback:a}=t;r&&o&&(n.use=r.concat(o)),i&&a&&(n.fallback=c(i,a))}return n},G=(0,r.createContext)({}),H=e=>{let{value:t}=e,n=(0,r.useContext)(G),i=u(t),o=(0,r.useMemo)(()=>i?t(n):t,[i,n,t]),l=(0,r.useMemo)(()=>i?o:z(n,o),[i,n,o]),s=o&&o.provider,f=(0,r.useRef)(a);s&&!f.current&&(f.current=U(s(l.cache||q),o));let d=f.current;return d&&(l.cache=d[0],l.mutate=d[1]),D(()=>{if(d)return d[2]&&d[2](),d[3]},[]),(0,r.createElement)(G.Provider,c(e,{value:l}))},B="$inf$",X=g&&window.__SWR_DEVTOOLS_USE__,Y=X?window.__SWR_DEVTOOLS_USE__:[],K=e=>u(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],Q=()=>c(j,(0,r.useContext)(G)),Z=(e,t)=>{let[n,r]=N(e),[,,,i]=E.get(q);if(i[n])return i[n];let o=t(r);return i[n]=o,o},ee=Y.concat(e=>(t,n,r)=>{let i=n&&((...e)=>{let[r]=N(t),[,,,i]=E.get(q);if(r.startsWith(B))return n(...e);let o=i[r];return s(o)?n(...e):(delete i[r],o)});return e(t,i,r)}),et=e=>function(...t){let n=Q(),[r,i,o]=K(t),a=z(n,o),l=e,{use:s}=a,u=(s||[]).concat(ee);for(let e=u.length;e--;)l=u[e](l);return l(r,i||a.fetcher||null,a)},en=(e,t,n)=>{let r=t[e]||(t[e]=[]);return r.push(n),()=>{let e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}},er=(e,t)=>(...n)=>{let[r,i,o]=K(n),a=(o.use||[]).concat(t);return e(r,i,{...o,use:a})};X&&(window.__SWR_DEVTOOLS_REACT__=i())}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"3989.js","sources":["webpack://@openmrs/esm-patient-notes-app/../../node_modules/swr/dist/_internal/index.mjs"],"names":["Object","WeakMap","Date","RegExp","JSON","Array","window","document","I","setTimeout","navigator","o","Promise","e","t","s","Map","r","Math","i"],"mappings":"i5BAGA,IAAM,EAAO,KAAK,EAKZ,EAA8B,IAC9B,EAASA,OACT,EAAc,AAAC,GAAI,IAAM,EACzB,EAAa,AAAC,GAAI,AAAY,YAAZ,OAAO,EACzB,EAAe,CAAC,EAAG,IAAK,EACtB,GAAG,CAAC,CACJ,GAAG,CAAC,AACR,GACE,EAAgB,AAAC,GAAI,EAAW,EAAE,IAAI,EAMtC,EAAQ,IAAIC,QAEd,EAAU,EASR,EAAa,AAAC,IAChB,IAGI,EACA,EAJE,EAAO,OAAO,EACd,EAAc,GAAO,EAAI,WAAW,CACpC,EAAS,GAAeC,KAG9B,GAAI,EAAO,KAAS,GAAQ,GAAU,GAAeC,OA8BjD,EAA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AAI,CACnB,GAAG,CAAM,CACT,IAAK,CACT,EACJ,CAhGI,IAEAA,CAAAA,OAAO,sBAAsB,CAAG,I"}
package/dist/4106.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["4106"],{59569(e){e.exports=JSON.parse('{"add":"Add","addImage":"Add image","addVisitNote":"Add a visit note","clinicalNoteLabel":"Write your notes","clinicalNotePlaceholder":"Write any notes here","confirmDeleteStickyNote":"Confirm delete sticky note","confirmDeleteStickyNoteMessage":"Are you sure you want to delete this sticky note?","date":"Date","deleteStickyNote":"Delete sticky note","deleting":"Deleting","diagnoses":"Diagnoses","discard":"Discard","editStickyNote":"Edit sticky note","emptyDiagnosisText":"No diagnosis selected — Enter a diagnosis below","enterNotePlaceholder":"Enter your sticky note here...","enterPrimaryDiagnoses":"Enter Primary diagnoses","enterSecondaryDiagnoses":"Enter Secondary diagnoses","error":"Error","errorDeletingStickyNote":"Error deleting sticky note","errorDeletingStickyNoteMessage":"An error occurred while deleting the sticky note","errorFetchingConcepts":"There was a problem fetching concepts","errorLoadingStickyNote":"Couldn\'t load sticky note.","errorSavingStickyNote":"Error saving sticky note","errorTransformingDiagnoses":"Error transforming diagnoses","image":"Image","imageRemoved":"Image removed","imageUploadHelperText":"Upload an image or use this device\'s camera to capture an image","noMatchingDiagnoses":"No diagnoses found matching","note":"Note","noVisitNoteToDisplay":"No visit note to display","primaryDiagnosis":"Primary diagnosis","primaryDiagnosisInputPlaceholder":"Choose a primary diagnosis","primaryDiagnosisRequired":"Choose at least one primary diagnosis","retry":"Retry","saveAndClose":"Save and close","saving":"Saving","searchForPrimaryDiagnosis":"Search for a primary diagnosis","searchForSecondaryDiagnosis":"Search for a secondary diagnosis","secondaryDiagnosis":"Secondary diagnosis","secondaryDiagnosisInputPlaceholder":"Choose a secondary diagnosis","seeAll":"See all","stickyNote":"Sticky note","stickyNoteCreated":"Sticky note created","stickyNoteDeleted":"Sticky note deleted","stickyNoteDeletedSuccessfully":"The sticky note was deleted successfully","stickyNoteUpdated":"Sticky note updated","visitDate":"Visit date","visitNote":"Visit note","visitNoteNowVisible":"It is now visible on the Encounters page","visitNotes":"Visit notes","visitNoteSaved":"Visit note saved","visitNoteSaveError":"Error saving visit note","visitNoteWorkspaceTitle":"Visit Note"}')}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"4106.js","sources":["webpack://@openmrs/esm-patient-notes-app/json|/home/adra-fs-08/Desktop/OpenMrs-frontends/openmrs-esm-patient-chart/packages/esm-patient-notes-app/translations/en_US.json"],"names":["JSON"],"mappings":"wJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,uwE"}
package/dist/4111.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["4111"],{9538(e){e.exports=JSON.parse('{"add":"Aggiungi","addImage":"Aggiungi immagine","addVisitNote":"Aggiungi una nota di visita","clinicalNoteLabel":"Scrivi le tue note","clinicalNotePlaceholder":"Scrivi qui eventuali note","confirmDeleteStickyNote":"Confirm delete sticky note","confirmDeleteStickyNoteMessage":"Are you sure you want to delete this sticky note?","date":"Data","deleteStickyNote":"Delete sticky note","deleting":"Deleting","diagnoses":"Diagnosi","discard":"Scarta","editStickyNote":"Edit sticky note","emptyDiagnosisText":"Nessuna diagnosi selezionata — Inserisci una diagnosi qui sotto","enterNotePlaceholder":"Enter your sticky note here...","enterPrimaryDiagnoses":"Inserisci diagnosi primaria","enterSecondaryDiagnoses":"Inserisci diagnosi secondaria","error":"Errore","errorDeletingStickyNote":"Error deleting sticky note","errorDeletingStickyNoteMessage":"An error occurred while deleting the sticky note","errorFetchingConcepts":"Si \xe8 verificato un problema nel recupero dei concetti","errorLoadingStickyNote":"Couldn\'t load sticky note.","errorSavingStickyNote":"Error saving sticky note","errorTransformingDiagnoses":"Errore nella modifica delle diagnosi","image":"Immagine","imageRemoved":"Immagine rimossa","imageUploadHelperText":"Carica un\'immagine o utilizza la fotocamera del dispositivo per acquisire un\'immagine","noMatchingDiagnoses":"Nessuna diagnosi trovata corrispondente","note":"Nota","noVisitNoteToDisplay":"Nessuna nota di visita da visualizzare","primaryDiagnosis":"Diagnosi primaria","primaryDiagnosisInputPlaceholder":"Scegli una diagnosi primaria","primaryDiagnosisRequired":"Seleziona almeno una diagnosi primaria","retry":"Retry","saveAndClose":"Salva e chiudi","saving":"Salvataggio in corso","searchForPrimaryDiagnosis":"Cerca una diagnosi primaria","searchForSecondaryDiagnosis":"Cerca una diagnosi secondaria","secondaryDiagnosis":"Diagnosi secondaria","secondaryDiagnosisInputPlaceholder":"Scegli una diagnosi secondaria","seeAll":"Vedi tutto","stickyNote":"Sticky note","stickyNoteCreated":"Sticky note created","stickyNoteDeleted":"Sticky note deleted","stickyNoteDeletedSuccessfully":"The sticky note was deleted successfully","stickyNoteUpdated":"Sticky note updated","visitDate":"Data della visita","visitNote":"Nota di visita","visitNoteNowVisible":"Ora \xe8 visibile nella pagina degli incontri","visitNotes":"Note di visita","visitNoteSaved":"Nota di visita salvata","visitNoteSaveError":"Errore nel salvataggio della nota di visita","visitNoteWorkspaceTitle":"Nota di visita"}')}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"4111.js","sources":["webpack://@openmrs/esm-patient-notes-app/json|/home/adra-fs-08/Desktop/OpenMrs-frontends/openmrs-esm-patient-chart/packages/esm-patient-notes-app/translations/it.json"],"names":["JSON"],"mappings":"uJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,g9E"}
package/dist/434.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["434"],{55241(e){e.exports=JSON.parse('{"add":"Add","addImage":"Add image","addVisitNote":"Add a visit note","clinicalNoteLabel":"Write your notes","clinicalNotePlaceholder":"Write any notes here","confirmDeleteStickyNote":"Confirm delete sticky note","confirmDeleteStickyNoteMessage":"Are you sure you want to delete this sticky note?","date":"Date","deleteStickyNote":"Delete sticky note","deleting":"Deleting","diagnoses":"Diagnoses","discard":"Discard","editStickyNote":"Edit sticky note","emptyDiagnosisText":"No diagnosis selected — Enter a diagnosis below","enterNotePlaceholder":"Enter your sticky note here...","enterPrimaryDiagnoses":"Enter Primary diagnoses","enterSecondaryDiagnoses":"Enter Secondary diagnoses","error":"Error","errorDeletingStickyNote":"Error deleting sticky note","errorDeletingStickyNoteMessage":"An error occurred while deleting the sticky note","errorFetchingConcepts":"There was a problem fetching concepts","errorLoadingStickyNote":"Couldn\'t load sticky note.","errorSavingStickyNote":"Error saving sticky note","errorTransformingDiagnoses":"Error transforming diagnoses","image":"Image","imageRemoved":"Image removed","imageUploadHelperText":"Upload an image or use this device\'s camera to capture an image","noMatchingDiagnoses":"No diagnoses found matching","note":"Note","noVisitNoteToDisplay":"No visit note to display","primaryDiagnosis":"Primary diagnosis","primaryDiagnosisInputPlaceholder":"Choose a primary diagnosis","primaryDiagnosisRequired":"Choose at least one primary diagnosis","retry":"Retry","saveAndClose":"Save and close","saving":"Saving","searchForPrimaryDiagnosis":"Search for a primary diagnosis","searchForSecondaryDiagnosis":"Search for a secondary diagnosis","secondaryDiagnosis":"Secondary diagnosis","secondaryDiagnosisInputPlaceholder":"Choose a secondary diagnosis","seeAll":"See all","stickyNote":"Sticky note","stickyNoteCreated":"Sticky note created","stickyNoteDeleted":"Sticky note deleted","stickyNoteDeletedSuccessfully":"The sticky note was deleted successfully","stickyNoteUpdated":"Sticky note updated","visitDate":"Visit date","visitNote":"Visit note","visitNoteNowVisible":"It is now visible on the Encounters page","visitNotes":"Visit notes","visitNoteSaved":"Visit note saved","visitNoteSaveError":"Error saving visit note","visitNoteWorkspaceTitle":"Visit Note"}')}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"434.js","sources":["webpack://@openmrs/esm-patient-notes-app/json|/home/adra-fs-08/Desktop/OpenMrs-frontends/openmrs-esm-patient-chart/packages/esm-patient-notes-app/translations/tr.json"],"names":["JSON"],"mappings":"uJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,uwE"}
package/dist/4348.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["4348"],{9895(e){e.exports=JSON.parse('{"add":"Add","addImage":"Add image","addVisitNote":"Add a visit note","clinicalNoteLabel":"Write your notes","clinicalNotePlaceholder":"Write any notes here","confirmDeleteStickyNote":"Confirm delete sticky note","confirmDeleteStickyNoteMessage":"Are you sure you want to delete this sticky note?","date":"Date","deleteStickyNote":"Delete sticky note","deleting":"Deleting","diagnoses":"Diagnoses","discard":"Discard","editStickyNote":"Edit sticky note","emptyDiagnosisText":"No diagnosis selected — Enter a diagnosis below","enterNotePlaceholder":"Enter your sticky note here...","enterPrimaryDiagnoses":"Enter Primary diagnoses","enterSecondaryDiagnoses":"Enter Secondary diagnoses","error":"Error","errorDeletingStickyNote":"Error deleting sticky note","errorDeletingStickyNoteMessage":"An error occurred while deleting the sticky note","errorFetchingConcepts":"There was a problem fetching concepts","errorLoadingStickyNote":"Couldn\'t load sticky note.","errorSavingStickyNote":"Error saving sticky note","errorTransformingDiagnoses":"Error transforming diagnoses","image":"Image","imageRemoved":"Image removed","imageUploadHelperText":"Upload an image or use this device\'s camera to capture an image","noMatchingDiagnoses":"No diagnoses found matching","note":"Note","noVisitNoteToDisplay":"No visit note to display","primaryDiagnosis":"Primary diagnosis","primaryDiagnosisInputPlaceholder":"Choose a primary diagnosis","primaryDiagnosisRequired":"Choose at least one primary diagnosis","retry":"Retry","saveAndClose":"Save and close","saving":"Saving","searchForPrimaryDiagnosis":"Search for a primary diagnosis","searchForSecondaryDiagnosis":"Search for a secondary diagnosis","secondaryDiagnosis":"Secondary diagnosis","secondaryDiagnosisInputPlaceholder":"Choose a secondary diagnosis","seeAll":"See all","stickyNote":"Sticky note","stickyNoteCreated":"Sticky note created","stickyNoteDeleted":"Sticky note deleted","stickyNoteDeletedSuccessfully":"The sticky note was deleted successfully","stickyNoteUpdated":"Sticky note updated","visitDate":"Visit date","visitNote":"Visit note","visitNoteNowVisible":"It is now visible on the Encounters page","visitNotes":"Visit notes","visitNoteSaved":"Visit note saved","visitNoteSaveError":"Error saving visit note","visitNoteWorkspaceTitle":"Visit Note"}')}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"4348.js","sources":["webpack://@openmrs/esm-patient-notes-app/json|/home/adra-fs-08/Desktop/OpenMrs-frontends/openmrs-esm-patient-chart/packages/esm-patient-notes-app/translations/ku.json"],"names":["JSON"],"mappings":"uJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,uwE"}
package/dist/4383.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["4383"],{55442(e){e.exports=JSON.parse('{"add":"Add","addImage":"Add image","addVisitNote":"Add a visit note","clinicalNoteLabel":"Write your notes","clinicalNotePlaceholder":"Write any notes here","confirmDeleteStickyNote":"Confirm delete sticky note","confirmDeleteStickyNoteMessage":"Are you sure you want to delete this sticky note?","date":"Date","deleteStickyNote":"Delete sticky note","deleting":"Deleting","diagnoses":"Diagnoses","discard":"Discard","editStickyNote":"Edit sticky note","emptyDiagnosisText":"No diagnosis selected — Enter a diagnosis below","enterNotePlaceholder":"Enter your sticky note here...","enterPrimaryDiagnoses":"Enter Primary diagnoses","enterSecondaryDiagnoses":"Enter Secondary diagnoses","error":"Error","errorDeletingStickyNote":"Error deleting sticky note","errorDeletingStickyNoteMessage":"An error occurred while deleting the sticky note","errorFetchingConcepts":"There was a problem fetching concepts","errorLoadingStickyNote":"Couldn\'t load sticky note.","errorSavingStickyNote":"Error saving sticky note","errorTransformingDiagnoses":"Error transforming diagnoses","image":"Image","imageRemoved":"Image removed","imageUploadHelperText":"Upload an image or use this device\'s camera to capture an image","noMatchingDiagnoses":"No diagnoses found matching","note":"Note","noVisitNoteToDisplay":"No visit note to display","primaryDiagnosis":"Primary diagnosis","primaryDiagnosisInputPlaceholder":"Choose a primary diagnosis","primaryDiagnosisRequired":"Choose at least one primary diagnosis","retry":"Retry","saveAndClose":"Save and close","saving":"Saving","searchForPrimaryDiagnosis":"Search for a primary diagnosis","searchForSecondaryDiagnosis":"Search for a secondary diagnosis","secondaryDiagnosis":"Secondary diagnosis","secondaryDiagnosisInputPlaceholder":"Choose a secondary diagnosis","seeAll":"See all","stickyNote":"Sticky note","stickyNoteCreated":"Sticky note created","stickyNoteDeleted":"Sticky note deleted","stickyNoteDeletedSuccessfully":"The sticky note was deleted successfully","stickyNoteUpdated":"Sticky note updated","visitDate":"Visit date","visitNote":"Visit note","visitNoteNowVisible":"It is now visible on the Encounters page","visitNotes":"Visit notes","visitNoteSaved":"Visit note saved","visitNoteSaveError":"Error saving visit note","visitNoteWorkspaceTitle":"Visit Note"}')}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"4383.js","sources":["webpack://@openmrs/esm-patient-notes-app/json|/home/adra-fs-08/Desktop/OpenMrs-frontends/openmrs-esm-patient-chart/packages/esm-patient-notes-app/translations/hi_IN.json"],"names":["JSON"],"mappings":"wJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,uwE"}
package/dist/4658.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["4658"],{27097(e){e.exports=JSON.parse('{"add":"Add","addImage":"Add image","addVisitNote":"Add a visit note","clinicalNoteLabel":"Write your notes","clinicalNotePlaceholder":"Write any notes here","confirmDeleteStickyNote":"Confirm delete sticky note","confirmDeleteStickyNoteMessage":"Are you sure you want to delete this sticky note?","date":"Date","deleteStickyNote":"Delete sticky note","deleting":"Deleting","diagnoses":"Diagnoses","discard":"Discard","editStickyNote":"Edit sticky note","emptyDiagnosisText":"No diagnosis selected — Enter a diagnosis below","enterNotePlaceholder":"Enter your sticky note here...","enterPrimaryDiagnoses":"Enter Primary diagnoses","enterSecondaryDiagnoses":"Enter Secondary diagnoses","error":"Error","errorDeletingStickyNote":"Error deleting sticky note","errorDeletingStickyNoteMessage":"An error occurred while deleting the sticky note","errorFetchingConcepts":"There was a problem fetching concepts","errorLoadingStickyNote":"Couldn\'t load sticky note.","errorSavingStickyNote":"Error saving sticky note","errorTransformingDiagnoses":"Error transforming diagnoses","image":"Image","imageRemoved":"Image removed","imageUploadHelperText":"Upload an image or use this device\'s camera to capture an image","noMatchingDiagnoses":"No diagnoses found matching","note":"Note","noVisitNoteToDisplay":"No visit note to display","primaryDiagnosis":"Primary diagnosis","primaryDiagnosisInputPlaceholder":"Choose a primary diagnosis","primaryDiagnosisRequired":"Choose at least one primary diagnosis","retry":"Retry","saveAndClose":"Save and close","saving":"Saving","searchForPrimaryDiagnosis":"Search for a primary diagnosis","searchForSecondaryDiagnosis":"Search for a secondary diagnosis","secondaryDiagnosis":"Secondary diagnosis","secondaryDiagnosisInputPlaceholder":"Choose a secondary diagnosis","seeAll":"See all","stickyNote":"Sticky note","stickyNoteCreated":"Sticky note created","stickyNoteDeleted":"Sticky note deleted","stickyNoteDeletedSuccessfully":"The sticky note was deleted successfully","stickyNoteUpdated":"Sticky note updated","visitDate":"Visit date","visitNote":"Visit note","visitNoteNowVisible":"It is now visible on the Encounters page","visitNotes":"Visit notes","visitNoteSaved":"Visit note saved","visitNoteSaveError":"Error saving visit note","visitNoteWorkspaceTitle":"Visit Note"}')}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"4658.js","sources":["webpack://@openmrs/esm-patient-notes-app/json|/home/adra-fs-08/Desktop/OpenMrs-frontends/openmrs-esm-patient-chart/packages/esm-patient-notes-app/translations/uz@Latn.json"],"names":["JSON"],"mappings":"wJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,uwE"}
package/dist/466.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["466"],{14304(e,t){var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),y=Symbol.iterator,d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,h={};function m(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||d}function b(){}function v(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||d}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=m.prototype;var S=v.prototype=new b;S.constructor=v,_(S,m.prototype),S.isPureReactComponent=!0;var k=Array.isArray,w=Object.prototype.hasOwnProperty,E={current:null},$={key:!0,ref:!0,__self:!0,__source:!0};function R(e,t,n){var o,u={},a=null,c=null;if(null!=t)for(o in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(a=""+t.key),t)w.call(t,o)&&!$.hasOwnProperty(o)&&(u[o]=t[o]);var i=arguments.length-2;if(1===i)u.children=n;else if(1<i){for(var s=Array(i),f=0;f<i;f++)s[f]=arguments[f+2];u.children=s}if(e&&e.defaultProps)for(o in i=e.defaultProps)void 0===u[o]&&(u[o]=i[o]);return{$$typeof:r,type:e,key:a,ref:c,props:u,_owner:E.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var g=/\/+/g;function j(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function O(e,t,o){if(null==e)return e;var u=[],a=0;return!function e(t,o,u,a,c){var i,s,f,l=typeof t;("undefined"===l||"boolean"===l)&&(t=null);var p=!1;if(null===t)p=!0;else switch(l){case"string":case"number":p=!0;break;case"object":switch(t.$$typeof){case r:case n:p=!0}}if(p)return c=c(p=t),t=""===a?"."+j(p,0):a,k(c)?(u="",null!=t&&(u=t.replace(g,"$&/")+"/"),e(c,o,u,"",function(e){return e})):null!=c&&(C(c)&&(i=c,s=u+(!c.key||p&&p.key===c.key?"":(""+c.key).replace(g,"$&/")+"/")+t,c={$$typeof:r,type:i.type,key:s,ref:i.ref,props:i.props,_owner:i._owner}),o.push(c)),1;if(p=0,a=""===a?".":a+":",k(t))for(var d=0;d<t.length;d++){var _=a+j(l=t[d],d);p+=e(l,o,u,_,c)}else if("function"==typeof(_=null===(f=t)||"object"!=typeof f?null:"function"==typeof(f=y&&f[y]||f["@@iterator"])?f:null))for(t=_.call(t),d=0;!(l=t.next()).done;)_=a+j(l=l.value,d++),p+=e(l,o,u,_,c);else if("object"===l)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(o=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.");return p}(e,u,"","",function(e){return t.call(o,e,a++)}),u}function x(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var P={current:null},I={transition:null};function T(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:O,forEach:function(e,t,r){O(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return O(e,function(){t++}),t},toArray:function(e){return O(e,function(e){return e})||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=m,t.Fragment=o,t.Profiler=a,t.PureComponent=v,t.StrictMode=u,t.Suspense=f,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:I,ReactCurrentOwner:E},t.act=T,t.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=_({},e.props),u=e.key,a=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,c=E.current),void 0!==t.key&&(u=""+t.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(s in t)w.call(t,s)&&!$.hasOwnProperty(s)&&(o[s]=void 0===t[s]&&void 0!==i?i[s]:t[s])}var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){i=Array(s);for(var f=0;f<s;f++)i[f]=arguments[f+2];o.children=i}return{$$typeof:r,type:e.type,key:u,ref:a,props:o,_owner:c}},t.createContext=function(e){return(e={$$typeof:i,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=R,t.createFactory=function(e){var t=R.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:x}},t.memo=function(e,t){return{$$typeof:l,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=I.transition;I.transition={};try{e()}finally{I.transition=t}},t.unstable_act=T,t.useCallback=function(e,t){return P.current.useCallback(e,t)},t.useContext=function(e){return P.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return P.current.useDeferredValue(e)},t.useEffect=function(e,t){return P.current.useEffect(e,t)},t.useId=function(){return P.current.useId()},t.useImperativeHandle=function(e,t,r){return P.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return P.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return P.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return P.current.useMemo(e,t)},t.useReducer=function(e,t,r){return P.current.useReducer(e,t,r)},t.useRef=function(e){return P.current.useRef(e)},t.useState=function(e){return P.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return P.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return P.current.useTransition()},t.version="18.3.1"},14041(e,t,r){e.exports=r(14304)}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"466.js","sources":["webpack://@openmrs/esm-patient-notes-app/../../node_modules/react/cjs/react.production.min.js","webpack://@openmrs/esm-patient-notes-app/../../node_modules/react/index.js"],"names":["Symbol","n","Object","Error","Array","arguments","c","String","r"],"mappings":"yJASa,IAAI,EAAEA,OAAO,GAAG,CAAC,iBAAiBC,EAAED,OAAO,GAAG,CAAC,gBAAgB,EAAEA,OAAO,GAAG,CAAC,kBAAkB,EAAEA,OAAO,GAAG,CAAC,qBAAqB,EAAEA,OAAO,GAAG,CAAC,kBAAkB,EAAEA,OAAO,GAAG,CAAC,kBAAkB,EAAEA,OAAO,GAAG,CAAC,iBAAiB,EAAEA,OAAO,GAAG,CAAC,qBAAqB,EAAEA,OAAO,GAAG,CAAC,kBAAkB,EAAEA,OAAO,GAAG,CAAC,cAAc,EAAEA,OAAO,GAAG,CAAC,cAAc,EAAEA,OAAO,QAAQ,CAC7W,EAAE,CAAC,UAAU,WAAW,MAAM,CAAC,CAAC,EAAE,mBAAmB,WAAW,EAAE,oBAAoB,WAAW,EAAE,gBAAgB,WAAW,CAAC,EAAE,EAAEE,OAAO,MAAM,CAAC,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC,OAAO,C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EACzd,EAAQ,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,EAAQ,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,EAAE,EAAE,EAAE,EAAE,EAAQ,MAAM,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,EAAE,EAAQ,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAQ,oBAAoB,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,oBAAoB,CAAC,EAAE,EAAE,EAAE,EAAE,EAAQ,aAAa,CAAC,WAAW,OAAO,EAAE,OAAO,CAAC,aAAa,EAAE,EAAE,EAAQ,OAAO,CAAC,Q,eCtBla,EAAO,OAAO,CAAGG,EAAjB,M"}
package/dist/4928.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["4928"],{88371(e){e.exports=JSON.parse('{"add":"Add","addImage":"Add image","addVisitNote":"Add a visit note","clinicalNoteLabel":"Write your notes","clinicalNotePlaceholder":"Write any notes here","confirmDeleteStickyNote":"Confirm delete sticky note","confirmDeleteStickyNoteMessage":"Are you sure you want to delete this sticky note?","date":"Date","deleteStickyNote":"Delete sticky note","deleting":"Deleting","diagnoses":"Diagnoses","discard":"Discard","editStickyNote":"Edit sticky note","emptyDiagnosisText":"No diagnosis selected — Enter a diagnosis below","enterNotePlaceholder":"Enter your sticky note here...","enterPrimaryDiagnoses":"Enter Primary diagnoses","enterSecondaryDiagnoses":"Enter Secondary diagnoses","error":"Error","errorDeletingStickyNote":"Error deleting sticky note","errorDeletingStickyNoteMessage":"An error occurred while deleting the sticky note","errorFetchingConcepts":"There was a problem fetching concepts","errorLoadingStickyNote":"Couldn\'t load sticky note.","errorSavingStickyNote":"Error saving sticky note","errorTransformingDiagnoses":"Error transforming diagnoses","image":"Image","imageRemoved":"Image removed","imageUploadHelperText":"Upload an image or use this device\'s camera to capture an image","noMatchingDiagnoses":"No diagnoses found matching","note":"Note","noVisitNoteToDisplay":"No visit note to display","primaryDiagnosis":"Primary diagnosis","primaryDiagnosisInputPlaceholder":"Choose a primary diagnosis","primaryDiagnosisRequired":"Choose at least one primary diagnosis","retry":"Retry","saveAndClose":"Save and close","saving":"Saving","searchForPrimaryDiagnosis":"Search for a primary diagnosis","searchForSecondaryDiagnosis":"Search for a secondary diagnosis","secondaryDiagnosis":"Secondary diagnosis","secondaryDiagnosisInputPlaceholder":"Choose a secondary diagnosis","seeAll":"See all","stickyNote":"Sticky note","stickyNoteCreated":"Sticky note created","stickyNoteDeleted":"Sticky note deleted","stickyNoteDeletedSuccessfully":"The sticky note was deleted successfully","stickyNoteUpdated":"Sticky note updated","visitDate":"Visit date","visitNote":"Visit note","visitNoteNowVisible":"It is now visible on the Encounters page","visitNotes":"Visit notes","visitNoteSaved":"Visit note saved","visitNoteSaveError":"Error saving visit note","visitNoteWorkspaceTitle":"Visit Note"}')}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"4928.js","sources":["webpack://@openmrs/esm-patient-notes-app/json|/home/adra-fs-08/Desktop/OpenMrs-frontends/openmrs-esm-patient-chart/packages/esm-patient-notes-app/translations/sq.json"],"names":["JSON"],"mappings":"wJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,uwE"}
package/dist/5117.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["5117"],{34300(e){e.exports=JSON.parse('{"add":"Add","addImage":"Add image","addVisitNote":"Add a visit note","clinicalNoteLabel":"Write your notes","clinicalNotePlaceholder":"Write any notes here","confirmDeleteStickyNote":"Confirm delete sticky note","confirmDeleteStickyNoteMessage":"Are you sure you want to delete this sticky note?","date":"Date","deleteStickyNote":"Delete sticky note","deleting":"Deleting","diagnoses":"Diagnoses","discard":"Discard","editStickyNote":"Edit sticky note","emptyDiagnosisText":"No diagnosis selected — Enter a diagnosis below","enterNotePlaceholder":"Enter your sticky note here...","enterPrimaryDiagnoses":"Enter Primary diagnoses","enterSecondaryDiagnoses":"Enter Secondary diagnoses","error":"Error","errorDeletingStickyNote":"Error deleting sticky note","errorDeletingStickyNoteMessage":"An error occurred while deleting the sticky note","errorFetchingConcepts":"There was a problem fetching concepts","errorLoadingStickyNote":"Couldn\'t load sticky note.","errorSavingStickyNote":"Error saving sticky note","errorTransformingDiagnoses":"Error transforming diagnoses","image":"Image","imageRemoved":"Image removed","imageUploadHelperText":"Upload an image or use this device\'s camera to capture an image","noMatchingDiagnoses":"No diagnoses found matching","note":"Note","noVisitNoteToDisplay":"No visit note to display","primaryDiagnosis":"Primary diagnosis","primaryDiagnosisInputPlaceholder":"Choose a primary diagnosis","primaryDiagnosisRequired":"Choose at least one primary diagnosis","retry":"Retry","saveAndClose":"Save and close","saving":"Saving","searchForPrimaryDiagnosis":"Search for a primary diagnosis","searchForSecondaryDiagnosis":"Search for a secondary diagnosis","secondaryDiagnosis":"Secondary diagnosis","secondaryDiagnosisInputPlaceholder":"Choose a secondary diagnosis","seeAll":"See all","stickyNote":"Sticky note","stickyNoteCreated":"Sticky note created","stickyNoteDeleted":"Sticky note deleted","stickyNoteDeletedSuccessfully":"The sticky note was deleted successfully","stickyNoteUpdated":"Sticky note updated","visitDate":"Visit date","visitNote":"Visit note","visitNoteNowVisible":"It is now visible on the Encounters page","visitNotes":"Visit notes","visitNoteSaved":"Visit note saved","visitNoteSaveError":"Error saving visit note","visitNoteWorkspaceTitle":"Visit Note"}')}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"5117.js","sources":["webpack://@openmrs/esm-patient-notes-app/json|/home/adra-fs-08/Desktop/OpenMrs-frontends/openmrs-esm-patient-chart/packages/esm-patient-notes-app/translations/en.json"],"names":["JSON"],"mappings":"wJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,uwE"}
package/dist/5132.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["5132"],{96679(e){e.exports=JSON.parse('{"add":"Adicionar","addImage":"Adicionar imagem","addVisitNote":"Adicione nota da visita","clinicalNoteLabel":"Escreva suas anota\xe7\xf5es","clinicalNotePlaceholder":"Escreva qualquer nota aqui","confirmDeleteStickyNote":"Confirm delete sticky note","confirmDeleteStickyNoteMessage":"Are you sure you want to delete this sticky note?","date":"Data","deleteStickyNote":"Delete sticky note","deleting":"Deleting","diagnoses":"Diagn\xf3sticos","discard":"Descartar","editStickyNote":"Edit sticky note","emptyDiagnosisText":"Nenhum diagn\xf3stico selecionado — Insira abaixo um diagn\xf3stico","enterNotePlaceholder":"Enter your sticky note here...","enterPrimaryDiagnoses":"Insira diagn\xf3sticos prim\xe1rios","enterSecondaryDiagnoses":"Insira diagn\xf3sticos secund\xe1rios","error":"Erro","errorDeletingStickyNote":"Error deleting sticky note","errorDeletingStickyNoteMessage":"An error occurred while deleting the sticky note","errorFetchingConcepts":"Ocorreu um problema ao buscar conceitos","errorLoadingStickyNote":"Couldn\'t load sticky note.","errorSavingStickyNote":"Error saving sticky note","errorTransformingDiagnoses":"Error transforming diagnoses","image":"Imagem","imageRemoved":"Imagem removida","imageUploadHelperText":"Fa\xe7a carregamento de uma imagem ou use a c\xe2mera deste dispositivo para capturar uma imagem","noMatchingDiagnoses":"Nenhum diagn\xf3stico correspondente foi encontrado","note":"Nota","noVisitNoteToDisplay":"Nenhuma nota da visita para mostrar","primaryDiagnosis":"Diagn\xf3sticos prim\xe1rios","primaryDiagnosisInputPlaceholder":"Escolha uns diagn\xf3sticos prim\xe1rios","primaryDiagnosisRequired":"Escolha pelo menos um diagn\xf3stico prim\xe1rio","retry":"Retry","saveAndClose":"Salvar e fechar","saving":"Gravando","searchForPrimaryDiagnosis":"Procure um diagn\xf3stico prim\xe1rio","searchForSecondaryDiagnosis":"Procure um diagn\xf3stico secund\xe1rio","secondaryDiagnosis":"Diagn\xf3stico secund\xe1rio","secondaryDiagnosisInputPlaceholder":"Escolha um diagn\xf3stico secund\xe1rio","seeAll":"Ver tudo","stickyNote":"Sticky note","stickyNoteCreated":"Sticky note created","stickyNoteDeleted":"Sticky note deleted","stickyNoteDeletedSuccessfully":"The sticky note was deleted successfully","stickyNoteUpdated":"Sticky note updated","visitDate":"Data da visita","visitNote":"Nota da visita","visitNoteNowVisible":"Agora est\xe1 vis\xedvel na p\xe1gina de consultas","visitNotes":"Notas da visita","visitNoteSaved":"Notas da visita gravada","visitNoteSaveError":"Erro ao gravar nota da visita","visitNoteWorkspaceTitle":"Nota da Visita"}')}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"5132.js","sources":["webpack://@openmrs/esm-patient-notes-app/json|/home/adra-fs-08/Desktop/OpenMrs-frontends/openmrs-esm-patient-chart/packages/esm-patient-notes-app/translations/pt.json"],"names":["JSON"],"mappings":"wJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,yhF"}
package/dist/5145.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["5145"],{34944(e){e.exports=JSON.parse('{"add":"Hinzuf\xfcgen","addImage":"Bild hinzuf\xfcgen","addVisitNote":"Eine Aufenthaltsnotiz hinzuf\xfcgen","clinicalNoteLabel":"Schreiben Sie Ihre Notizen","clinicalNotePlaceholder":"Trage hier deine Notizen ein","confirmDeleteStickyNote":"L\xf6schen der Haftnotiz best\xe4tigen","confirmDeleteStickyNoteMessage":"M\xf6chtest du diese Notiz wirklich l\xf6schen?","date":"Datum","deleteStickyNote":"Haftnotiz l\xf6schen","deleting":"L\xf6schen","diagnoses":"Diagnosen","discard":"Verwerfen","editStickyNote":"Haftnotiz bearbeiten","emptyDiagnosisText":"Es wurde keine Diagnose ausgew\xe4hlt – Geben Sie unten eine Diagnose ein","enterNotePlaceholder":"Gib hier deine Haftnotiz ein...","enterPrimaryDiagnoses":"Hauptdiagnose eintragen","enterSecondaryDiagnoses":"Nebendiagnose","error":"Fehler","errorDeletingStickyNote":"Fehler beim L\xf6schen der Haftnotiz","errorDeletingStickyNoteMessage":"Beim L\xf6schen der Haftnotiz ist ein Fehler aufgetreten","errorFetchingConcepts":"Beim Abrufen der Konzepte ist ein Problem aufgetreten","errorLoadingStickyNote":"Haftnotiz konnte nicht geladen werden.","errorSavingStickyNote":"Fehler beim Speichern der Haftnotiz","errorTransformingDiagnoses":"Fehler bei der Umwandlung von Diagnosen","image":"Bild","imageRemoved":"Bild entfernt","imageUploadHelperText":"Laden Sie ein Bild hoch oder nehmen Sie mit der Kamera dieses Ger\xe4ts ein Bild auf","noMatchingDiagnoses":"Keine passenden Diagnosen gefunden","note":"Notiz","noVisitNoteToDisplay":"Keine Aufenthaltsnotiz anzuzeigen","primaryDiagnosis":"Hauptdiagnose","primaryDiagnosisInputPlaceholder":"W\xe4hlen Sie eine Hauptdiagnose","primaryDiagnosisRequired":"W\xe4hlen Sie mindestens eine Hauptdiagnose","retry":"Erneut versuchen","saveAndClose":"Speichern und Schlie\xdfen","saving":"Speichern","searchForPrimaryDiagnosis":"Nach einer Hauptdiagnose suchen","searchForSecondaryDiagnosis":"Nach einer Nebendiagnose suchen","secondaryDiagnosis":"Nebendiagnose","secondaryDiagnosisInputPlaceholder":"W\xe4hlen Sie eine Sekund\xe4rdiagnose","seeAll":"Alle anzeigen","stickyNote":"Haftnotiz","stickyNoteCreated":"Haftnotiz erstellt","stickyNoteDeleted":"Haftnotiz gel\xf6scht","stickyNoteDeletedSuccessfully":"Haftnotiz erfolgreich gel\xf6scht","stickyNoteUpdated":"Haftnotiz aktualisiert","visitDate":"Aufenthaltsdatum","visitNote":"Aufenthaltsnotiz","visitNoteNowVisible":"Es ist nun auf der Seite Ereignisse zu sehen","visitNotes":"Aufenthaltsnotizen","visitNoteSaved":"Aufenthaltsnotiz gespeichert","visitNoteSaveError":"Fehler beim Speichern der Aufenthaltsnotiz","visitNoteWorkspaceTitle":"Aufenthaltsnotiz"}')}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"5145.js","sources":["webpack://@openmrs/esm-patient-notes-app/json|/home/adra-fs-08/Desktop/OpenMrs-frontends/openmrs-esm-patient-chart/packages/esm-patient-notes-app/translations/de.json"],"names":["JSON"],"mappings":"wJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,8iF"}
package/dist/5503.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["5503"],{12146(e){e.exports=JSON.parse('{"add":"Add","addImage":"Add image","addVisitNote":"Add a visit note","clinicalNoteLabel":"Write your notes","clinicalNotePlaceholder":"Write any notes here","confirmDeleteStickyNote":"Confirm delete sticky note","confirmDeleteStickyNoteMessage":"Are you sure you want to delete this sticky note?","date":"Date","deleteStickyNote":"Delete sticky note","deleting":"Deleting","diagnoses":"Diagnoses","discard":"Discard","editStickyNote":"Edit sticky note","emptyDiagnosisText":"No diagnosis selected — Enter a diagnosis below","enterNotePlaceholder":"Enter your sticky note here...","enterPrimaryDiagnoses":"Enter Primary diagnoses","enterSecondaryDiagnoses":"Enter Secondary diagnoses","error":"Error","errorDeletingStickyNote":"Error deleting sticky note","errorDeletingStickyNoteMessage":"An error occurred while deleting the sticky note","errorFetchingConcepts":"There was a problem fetching concepts","errorLoadingStickyNote":"Couldn\'t load sticky note.","errorSavingStickyNote":"Error saving sticky note","errorTransformingDiagnoses":"Error transforming diagnoses","image":"Image","imageRemoved":"Image removed","imageUploadHelperText":"Upload an image or use this device\'s camera to capture an image","noMatchingDiagnoses":"No diagnoses found matching","note":"Note","noVisitNoteToDisplay":"No visit note to display","primaryDiagnosis":"Primary diagnosis","primaryDiagnosisInputPlaceholder":"Choose a primary diagnosis","primaryDiagnosisRequired":"Choose at least one primary diagnosis","retry":"Retry","saveAndClose":"Save and close","saving":"Saving","searchForPrimaryDiagnosis":"Search for a primary diagnosis","searchForSecondaryDiagnosis":"Search for a secondary diagnosis","secondaryDiagnosis":"Secondary diagnosis","secondaryDiagnosisInputPlaceholder":"Choose a secondary diagnosis","seeAll":"See all","stickyNote":"Sticky note","stickyNoteCreated":"Sticky note created","stickyNoteDeleted":"Sticky note deleted","stickyNoteDeletedSuccessfully":"The sticky note was deleted successfully","stickyNoteUpdated":"Sticky note updated","visitDate":"Visit date","visitNote":"Visit note","visitNoteNowVisible":"It is now visible on the Encounters page","visitNotes":"Visit notes","visitNoteSaved":"Visit note saved","visitNoteSaveError":"Error saving visit note","visitNoteWorkspaceTitle":"Visit Note"}')}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"5503.js","sources":["webpack://@openmrs/esm-patient-notes-app/json|/home/adra-fs-08/Desktop/OpenMrs-frontends/openmrs-esm-patient-chart/packages/esm-patient-notes-app/translations/ne.json"],"names":["JSON"],"mappings":"wJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,uwE"}
package/dist/556.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["556"],{10439(e){e.exports=JSON.parse('{"add":"Add","addImage":"Add image","addVisitNote":"Add a visit note","clinicalNoteLabel":"Write your notes","clinicalNotePlaceholder":"Write any notes here","confirmDeleteStickyNote":"Confirm delete sticky note","confirmDeleteStickyNoteMessage":"Are you sure you want to delete this sticky note?","date":"Date","deleteStickyNote":"Delete sticky note","deleting":"Deleting","diagnoses":"Diagnoses","discard":"Discard","editStickyNote":"Edit sticky note","emptyDiagnosisText":"No diagnosis selected — Enter a diagnosis below","enterNotePlaceholder":"Enter your sticky note here...","enterPrimaryDiagnoses":"Enter Primary diagnoses","enterSecondaryDiagnoses":"Enter Secondary diagnoses","error":"Error","errorDeletingStickyNote":"Error deleting sticky note","errorDeletingStickyNoteMessage":"An error occurred while deleting the sticky note","errorFetchingConcepts":"There was a problem fetching concepts","errorLoadingStickyNote":"Couldn\'t load sticky note.","errorSavingStickyNote":"Error saving sticky note","errorTransformingDiagnoses":"Error transforming diagnoses","image":"Image","imageRemoved":"Image removed","imageUploadHelperText":"Upload an image or use this device\'s camera to capture an image","noMatchingDiagnoses":"No diagnoses found matching","note":"Note","noVisitNoteToDisplay":"No visit note to display","primaryDiagnosis":"Primary diagnosis","primaryDiagnosisInputPlaceholder":"Choose a primary diagnosis","primaryDiagnosisRequired":"Choose at least one primary diagnosis","retry":"Retry","saveAndClose":"Save and close","saving":"Saving","searchForPrimaryDiagnosis":"Search for a primary diagnosis","searchForSecondaryDiagnosis":"Search for a secondary diagnosis","secondaryDiagnosis":"Secondary diagnosis","secondaryDiagnosisInputPlaceholder":"Choose a secondary diagnosis","seeAll":"See all","stickyNote":"Sticky note","stickyNoteCreated":"Sticky note created","stickyNoteDeleted":"Sticky note deleted","stickyNoteDeletedSuccessfully":"The sticky note was deleted successfully","stickyNoteUpdated":"Sticky note updated","visitDate":"Visit date","visitNote":"Visit note","visitNoteNowVisible":"It is now visible on the Encounters page","visitNotes":"Visit notes","visitNoteSaved":"Visit note saved","visitNoteSaveError":"Error saving visit note","visitNoteWorkspaceTitle":"Visit Note"}')}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"556.js","sources":["webpack://@openmrs/esm-patient-notes-app/json|/home/adra-fs-08/Desktop/OpenMrs-frontends/openmrs-esm-patient-chart/packages/esm-patient-notes-app/translations/zh_TW.json"],"names":["JSON"],"mappings":"uJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,uwE"}
package/dist/5644.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["5644"],{99879(e){e.exports=JSON.parse('{"add":"添加","addImage":"添加图像","addVisitNote":"添加就诊记录","clinicalNoteLabel":"撰写您的记录","clinicalNotePlaceholder":"在这里记录任何内容","confirmDeleteStickyNote":"确认删除便签","confirmDeleteStickyNoteMessage":"确定要删除此便签吗?","date":"日期","deleteStickyNote":"删除便签","deleting":"删除中","diagnoses":"诊断","discard":"放弃","editStickyNote":"编辑便签","emptyDiagnosisText":"未选择诊断 — 请在下方输入诊断","enterNotePlaceholder":"在此输入记录","enterPrimaryDiagnoses":"输入主要诊断","enterSecondaryDiagnoses":"输入次要诊断","error":"错误","errorDeletingStickyNote":"删除便签时出错","errorDeletingStickyNoteMessage":"无法删除便签,请稍后重试","errorFetchingConcepts":"获取概念时出现问题","errorLoadingStickyNote":"加载便签时出错","errorSavingStickyNote":"保存便签时出错","errorTransformingDiagnoses":"转换诊断时出错","image":"图像","imageRemoved":"图像已移除","imageUploadHelperText":"上传一张图像或使用此设备的摄像头拍摄一张图像","noMatchingDiagnoses":"未找到匹配的诊断","note":"记录","noVisitNoteToDisplay":"没有可显示的就诊记录","primaryDiagnosis":"主要诊断","primaryDiagnosisInputPlaceholder":"选择一个主要诊断","primaryDiagnosisRequired":"选择至少一个主要诊断","retry":"重试","saveAndClose":"保存并关闭","saving":"保存中","searchForPrimaryDiagnosis":"搜索主要诊断","searchForSecondaryDiagnosis":"搜索次要诊断","secondaryDiagnosis":"次要诊断","secondaryDiagnosisInputPlaceholder":"选择一个次要诊断","seeAll":"查看全部","stickyNote":"便签","stickyNoteCreated":"便签已创建","stickyNoteDeleted":"便签已删除","stickyNoteDeletedSuccessfully":"便签删除成功","stickyNoteUpdated":"便签已更新","visitDate":"就诊日期","visitNote":"就诊记录","visitNoteNowVisible":"现在在问诊页面上可见","visitNotes":"就诊记录","visitNoteSaved":"就诊记录已保存","visitNoteSaveError":"保存就诊记录时出现错误","visitNoteWorkspaceTitle":"就诊记录"}')}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"5644.js","sources":["webpack://@openmrs/esm-patient-notes-app/json|/home/adra-fs-08/Desktop/OpenMrs-frontends/openmrs-esm-patient-chart/packages/esm-patient-notes-app/translations/zh_CN.json"],"names":["JSON"],"mappings":"wJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,q/C"}
package/dist/5697.js ADDED
@@ -0,0 +1 @@
1
+ (globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["5697"],{23464(t){t.exports=function(){"use strict";var t="millisecond",e="second",n="minute",r="hour",s="week",i="month",a="quarter",u="year",o="date",c="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,d=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},$="en",l={};l[$]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}};var y="$isDayjsObject",m=function(t){return t instanceof g||!(!t||!t[y])},M=function t(e,n,r){var s;if(!e)return $;if("string"==typeof e){var i=e.toLowerCase();l[i]&&(s=i),n&&(l[i]=n,s=i);var a=e.split("-");if(!s&&a.length>1)return t(a[0])}else{var u=e.name;l[u]=e,s=u}return!r&&s&&($=s),s||!r&&$},p=function(t,e){if(m(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new g(n)},v={s:d,z:function(t){var e=-t.utcOffset(),n=Math.abs(e);return(e<=0?"+":"-")+d(Math.floor(n/60),2,"0")+":"+d(n%60,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),s=e.clone().add(r,i),a=n-s<0,u=e.clone().add(r+(a?-1:1),i);return+(-(r+(n-s)/(a?s-u:u-s))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(c){return({M:i,y:u,w:s,d:"day",D:o,h:r,m:n,s:e,ms:t,Q:a})[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};v.l=M,v.i=m,v.w=function(t,e){return p(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var g=function(){function d(t){this.$L=M(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[y]=!0}var $=d.prototype;return $.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(v.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(h);if(r){var s=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],s,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],s,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(e)}(t),this.init()},$.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},$.$utils=function(){return v},$.isValid=function(){return this.$d.toString()!==c},$.isSame=function(t,e){var n=p(t);return this.startOf(e)<=n&&n<=this.endOf(e)},$.isAfter=function(t,e){return p(t)<this.startOf(e)},$.isBefore=function(t,e){return this.endOf(e)<p(t)},$.$g=function(t,e,n){return v.u(t)?this[e]:this.set(n,t)},$.unix=function(){return Math.floor(this.valueOf()/1e3)},$.valueOf=function(){return this.$d.getTime()},$.startOf=function(t,a){var c=this,h=!!v.u(a)||a,f=v.p(t),d=function(t,e){var n=v.w(c.$u?Date.UTC(c.$y,e,t):new Date(c.$y,e,t),c);return h?n:n.endOf("day")},$=function(t,e){return v.w(c.toDate()[t].apply(c.toDate("s"),(h?[0,0,0,0]:[23,59,59,999]).slice(e)),c)},l=this.$W,y=this.$M,m=this.$D,M="set"+(this.$u?"UTC":"");switch(f){case u:return h?d(1,0):d(31,11);case i:return h?d(1,y):d(0,y+1);case s:var p=this.$locale().weekStart||0,g=(l<p?l+7:l)-p;return d(h?m-g:m+(6-g),y);case"day":case o:return $(M+"Hours",0);case r:return $(M+"Minutes",1);case n:return $(M+"Seconds",2);case e:return $(M+"Milliseconds",3);default:return this.clone()}},$.endOf=function(t){return this.startOf(t,!1)},$.$set=function(s,a){var c,h=v.p(s),f="set"+(this.$u?"UTC":""),d=((c={}).day=f+"Date",c[o]=f+"Date",c[i]=f+"Month",c[u]=f+"FullYear",c[r]=f+"Hours",c[n]=f+"Minutes",c[e]=f+"Seconds",c[t]=f+"Milliseconds",c)[h],$="day"===h?this.$D+(a-this.$W):a;if(h===i||h===u){var l=this.clone().set(o,1);l.$d[d]($),l.init(),this.$d=l.set(o,Math.min(this.$D,l.daysInMonth())).$d}else d&&this.$d[d]($);return this.init(),this},$.set=function(t,e){return this.clone().$set(t,e)},$.get=function(t){return this[v.p(t)]()},$.add=function(t,a){var o,c=this;t=Number(t);var h=v.p(a),f=function(e){var n=p(c);return v.w(n.date(n.date()+Math.round(e*t)),c)};if(h===i)return this.set(i,this.$M+t);if(h===u)return this.set(u,this.$y+t);if("day"===h)return f(1);if(h===s)return f(7);var d=((o={})[n]=6e4,o[r]=36e5,o[e]=1e3,o)[h]||1,$=this.$d.getTime()+t*d;return v.w($,this)},$.subtract=function(t,e){return this.add(-1*t,e)},$.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||c;var r=t||"YYYY-MM-DDTHH:mm:ssZ",s=v.z(this),i=this.$H,a=this.$m,u=this.$M,o=n.weekdays,h=n.months,d=n.meridiem,$=function(t,n,s,i){return t&&(t[n]||t(e,r))||s[n].slice(0,i)},l=function(t){return v.s(i%12||12,t,"0")},y=d||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(f,function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return v.s(e.$y,4,"0");case"M":return u+1;case"MM":return v.s(u+1,2,"0");case"MMM":return $(n.monthsShort,u,h,3);case"MMMM":return $(h,u);case"D":return e.$D;case"DD":return v.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return $(n.weekdaysMin,e.$W,o,2);case"ddd":return $(n.weekdaysShort,e.$W,o,3);case"dddd":return o[e.$W];case"H":return String(i);case"HH":return v.s(i,2,"0");case"h":return l(1);case"hh":return l(2);case"a":return y(i,a,!0);case"A":return y(i,a,!1);case"m":return String(a);case"mm":return v.s(a,2,"0");case"s":return String(e.$s);case"ss":return v.s(e.$s,2,"0");case"SSS":return v.s(e.$ms,3,"0");case"Z":return s}return null}(t)||s.replace(":","")})},$.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},$.diff=function(t,o,c){var h,f=this,d=v.p(o),$=p(t),l=($.utcOffset()-this.utcOffset())*6e4,y=this-$,m=function(){return v.m(f,$)};switch(d){case u:h=m()/12;break;case i:h=m();break;case a:h=m()/3;break;case s:h=(y-l)/6048e5;break;case"day":h=(y-l)/864e5;break;case r:h=y/36e5;break;case n:h=y/6e4;break;case e:h=y/1e3;break;default:h=y}return c?h:v.a(h)},$.daysInMonth=function(){return this.endOf(i).$D},$.$locale=function(){return l[this.$L]},$.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=M(t,e,!0);return r&&(n.$L=r),n},$.clone=function(){return v.w(this.$d,this)},$.toDate=function(){return new Date(this.valueOf())},$.toJSON=function(){return this.isValid()?this.toISOString():null},$.toISOString=function(){return this.$d.toISOString()},$.toString=function(){return this.$d.toUTCString()},d}(),D=g.prototype;return p.prototype=D,[["$ms",t],["$s",e],["$m",n],["$H",r],["$W","day"],["$M",i],["$y",u],["$D",o]].forEach(function(t){D[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),p.extend=function(t,e){return t.$i||(t(e,g,p),t.$i=!0),p},p.locale=M,p.isDayjs=m,p.unix=function(t){return p(1e3*t)},p.en=l[$],p.Ls=l,p.p={},p}()}}]);