@openmrs/esm-offline-tools-app 6.3.1-pre.2961 → 6.3.1-pre.2986

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 (144) hide show
  1. package/.turbo/turbo-build.log +27 -30
  2. package/dist/1119.js +1 -0
  3. package/dist/1185.js +1 -0
  4. package/dist/1185.js.map +1 -0
  5. package/dist/1197.js +1 -0
  6. package/dist/2146.js +1 -0
  7. package/dist/2500.js +1 -0
  8. package/dist/2500.js.map +1 -0
  9. package/dist/2690.js +1 -0
  10. package/dist/3099.js +1 -0
  11. package/dist/3389.js +2 -0
  12. package/dist/3389.js.LICENSE.txt +14 -0
  13. package/dist/3389.js.map +1 -0
  14. package/dist/3584.js +1 -0
  15. package/dist/4055.js +1 -0
  16. package/dist/4132.js +1 -0
  17. package/dist/4300.js +1 -0
  18. package/dist/4335.js +1 -0
  19. package/dist/4618.js +1 -0
  20. package/dist/4652.js +1 -0
  21. package/dist/4760.js +2 -0
  22. package/dist/4760.js.LICENSE.txt +14 -0
  23. package/dist/4760.js.map +1 -0
  24. package/dist/4944.js +1 -0
  25. package/dist/5173.js +1 -0
  26. package/dist/5241.js +1 -0
  27. package/dist/5442.js +1 -0
  28. package/dist/5623.js +2 -0
  29. package/dist/5623.js.map +1 -0
  30. package/dist/5661.js +1 -0
  31. package/dist/5770.js +2 -0
  32. package/dist/5770.js.map +1 -0
  33. package/dist/6022.js +1 -0
  34. package/dist/6248.js +1 -0
  35. package/dist/6248.js.map +1 -0
  36. package/dist/6252.js +1 -0
  37. package/dist/6252.js.map +1 -0
  38. package/dist/6326.js +2 -0
  39. package/dist/{2735.js.map → 6326.js.map} +1 -1
  40. package/dist/6408.js +2 -0
  41. package/dist/6408.js.map +1 -0
  42. package/dist/6468.js +1 -0
  43. package/dist/6679.js +1 -0
  44. package/dist/6711.js +1 -0
  45. package/dist/6711.js.map +1 -0
  46. package/dist/6840.js +1 -0
  47. package/dist/6859.js +1 -0
  48. package/dist/7097.js +1 -0
  49. package/dist/7159.js +1 -0
  50. package/dist/{2628.js → 723.js} +1 -1
  51. package/dist/7617.js +1 -0
  52. package/dist/7704.js +2 -0
  53. package/dist/7704.js.map +1 -0
  54. package/dist/{1901.js → 795.js} +1 -1
  55. package/dist/8163.js +1 -0
  56. package/dist/8349.js +1 -0
  57. package/dist/8618.js +1 -0
  58. package/dist/{2016.js → 890.js} +1 -1
  59. package/dist/9214.js +1 -0
  60. package/dist/9391.js +1 -0
  61. package/dist/9391.js.map +1 -0
  62. package/dist/{5711.js → 9538.js} +1 -1
  63. package/dist/9569.js +1 -0
  64. package/dist/9825.js +2 -0
  65. package/dist/9825.js.map +1 -0
  66. package/dist/{3574.js → 986.js} +1 -1
  67. package/dist/9879.js +1 -0
  68. package/dist/9895.js +1 -0
  69. package/dist/9900.js +1 -0
  70. package/dist/9913.js +1 -0
  71. package/dist/main.js +1 -1
  72. package/dist/main.js.map +1 -1
  73. package/dist/openmrs-esm-offline-tools-app.js +1 -1
  74. package/dist/openmrs-esm-offline-tools-app.js.buildmanifest.json +450 -283
  75. package/dist/openmrs-esm-offline-tools-app.js.map +1 -1
  76. package/dist/routes.json +1 -1
  77. package/package.json +6 -6
  78. package/src/components/confirmation.modal.tsx +1 -0
  79. package/src/declarations.d.ts +2 -0
  80. package/src/offline-actions/offline-actions-table.component.tsx +2 -2
  81. package/src/offline-actions/synchronizing-notification.tsx +19 -25
  82. package/src/offline-patients/offline-patient-table.component.tsx +2 -2
  83. package/translations/en_US.json +57 -0
  84. package/translations/ka.json +57 -0
  85. package/dist/1644.js +0 -1
  86. package/dist/2088.js +0 -2
  87. package/dist/2088.js.map +0 -1
  88. package/dist/236.js +0 -1
  89. package/dist/2735.js +0 -2
  90. package/dist/2757.js +0 -1
  91. package/dist/2788.js +0 -2
  92. package/dist/2788.js.map +0 -1
  93. package/dist/3652.js +0 -1
  94. package/dist/42.js +0 -2
  95. package/dist/42.js.map +0 -1
  96. package/dist/4254.js +0 -2
  97. package/dist/4254.js.map +0 -1
  98. package/dist/4272.js +0 -1
  99. package/dist/4378.js +0 -1
  100. package/dist/4460.js +0 -1
  101. package/dist/4645.js +0 -1
  102. package/dist/4645.js.map +0 -1
  103. package/dist/4705.js +0 -1
  104. package/dist/4889.js +0 -2
  105. package/dist/4889.js.LICENSE.txt +0 -7
  106. package/dist/4889.js.map +0 -1
  107. package/dist/5060.js +0 -1
  108. package/dist/5240.js +0 -1
  109. package/dist/5336.js +0 -1
  110. package/dist/539.js +0 -1
  111. package/dist/5673.js +0 -1
  112. package/dist/5723.js +0 -1
  113. package/dist/5737.js +0 -1
  114. package/dist/5833.js +0 -1
  115. package/dist/5962.js +0 -1
  116. package/dist/6497.js +0 -1
  117. package/dist/6566.js +0 -1
  118. package/dist/6727.js +0 -1
  119. package/dist/7063.js +0 -2
  120. package/dist/7063.js.map +0 -1
  121. package/dist/744.js +0 -1
  122. package/dist/7807.js +0 -1
  123. package/dist/7859.js +0 -1
  124. package/dist/7859.js.map +0 -1
  125. package/dist/7998.js +0 -1
  126. package/dist/8197.js +0 -1
  127. package/dist/8271.js +0 -1
  128. package/dist/8319.js +0 -1
  129. package/dist/8323.js +0 -1
  130. package/dist/8657.js +0 -1
  131. package/dist/8657.js.map +0 -1
  132. package/dist/8765.js +0 -1
  133. package/dist/8788.js +0 -1
  134. package/dist/899.js +0 -1
  135. package/dist/9261.js +0 -1
  136. package/dist/9579.js +0 -1
  137. package/dist/9818.js +0 -1
  138. package/dist/9818.js.map +0 -1
  139. /package/dist/{2788.js.LICENSE.txt → 5623.js.LICENSE.txt} +0 -0
  140. /package/dist/{42.js.LICENSE.txt → 5770.js.LICENSE.txt} +0 -0
  141. /package/dist/{2735.js.LICENSE.txt → 6326.js.LICENSE.txt} +0 -0
  142. /package/dist/{7063.js.LICENSE.txt → 6408.js.LICENSE.txt} +0 -0
  143. /package/dist/{2088.js.LICENSE.txt → 7704.js.LICENSE.txt} +0 -0
  144. /package/dist/{4254.js.LICENSE.txt → 9825.js.LICENSE.txt} +0 -0
package/dist/8197.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_offline_tools_app=globalThis.webpackChunk_openmrs_esm_offline_tools_app||[]).push([[8197],{8197:e=>{e.exports=JSON.parse('{"emptyStateText":"There are no {{displayText}} to display","home":"Home","homeHeader":"Offline home","homeOverviewCardOfflineActionsFailedToUpload":"Failed to upload","homeOverviewCardOfflineActionsHeader":"Offline Actions","homeOverviewCardOfflineActionsPendingUpload":"Pending upload","homeOverviewCardPatientsDownloaded":"Downloaded","homeOverviewCardPatientsHeader":"Patients","homeOverviewCardPatientsNewlyRegistered":"Newly registered","homeOverviewCardView":"View","offlineActions":"Offline Actions","offlineActionsDeleteConfirmationModalCancel":"Cancel","offlineActionsDeleteConfirmationModalConfirm":"Delete forever","offlineActionsDeleteConfirmationModalContent":"Are you sure that you want to delete all selected offline actions? This cannot be undone!","offlineActionsDeleteConfirmationModalTitle":"Delete offline actions","offlineActionsHeader":"Offline Actions","offlineActionsNoActionsEmptyStateContent":"All offline actions have been uploaded successfully,\\nand merged with the online patient records.","offlineActionsNoActionsEmptyStateImageAlt":"No Pending Actions Image","offlineActionsNoActionsEmptyStateTitle":"No actions pending upload","offlineActionsTableAction":"Action","offlineActionsTableCreatedOn":"Date & Time","offlineActionsTableDeleteActions_one":"Delete action","offlineActionsTableDeleteActions_other":"Delete {{count}} actions","offlineActionsTableError":"Error","offlineActionsTablePatient":"Patient","offlineActionsUpdateOfflinePatients":"Update offline patients","offlinePatients":"Offline patients","offlinePatients_lower":"offline patients","offlinePatientsHeader":"Offline patients","offlinePatientsTableDeleteConfirmationModalCancel":"Cancel","offlinePatientsTableDeleteConfirmationModalConfirm":"Remove patients","offlinePatientsTableDeleteConfirmationModalContent":"Are you sure that you want to remove all selected patients from the offline list? Their charts will no longer be available in offline mode and any newly registered patient will be permanently deleted.","offlinePatientsTableDeleteConfirmationModalTitle":"Remove offline patients","offlinePatientsTableHeaderAge":"Age","offlinePatientsTableHeaderGender":"Gender","offlinePatientsTableHeaderLastUpdated":"Last updated","offlinePatientsTableHeaderName":"Name","offlinePatientsTableLastUpdatedDownloading":"Downloading...","offlinePatientsTableLastUpdatedError":"error","offlinePatientsTableLastUpdatedErrors":"errors","offlinePatientsTableLastUpdatedNotYetSynchronized":"Not synchronized","offlinePatientsTableLastUpdatedOutdatedData":"Outdated data","offlinePatientsTableNameNewlyRegistered":"New","offlinePatientsTableRemoveFromOfflineList":"Remove from list","offlinePatientsTableSearchLabel":"Search this list","offlinePatientsTableSearchPlaceholder":"Search this list","offlinePatientsTableTitle":"Offline patients","offlinePatientsTableUpdatePatient":"Update patient","offlinePatientsTableUpdatePatients":"Update patients","offlinePatientSyncDetailsDownloadedHeader":"Downloaded to this device","offlinePatientSyncDetailsFailedHeader":"There was an error downloading the following items","offlinePatientSyncDetailsFallbackErrorMessage":"Unknown error.","offlinePatientSyncDetailsHeader":"Offline patient details","offlineReady":"Offline Ready","offlineToolsAppMenuLink":"Offline tools"}')}}]);
package/dist/8271.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_offline_tools_app=globalThis.webpackChunk_openmrs_esm_offline_tools_app||[]).push([[8271],{8271:e=>{e.exports=JSON.parse('{"emptyStateText":"没有{{displayText}}可显示","home":"首页","homeHeader":"离线首页","homeOverviewCardOfflineActionsFailedToUpload":"上传失败","homeOverviewCardOfflineActionsHeader":"离线操作","homeOverviewCardOfflineActionsPendingUpload":"等待上传","homeOverviewCardPatientsDownloaded":"下载完成","homeOverviewCardPatientsHeader":"患者","homeOverviewCardPatientsNewlyRegistered":"新注册的","homeOverviewCardView":"查看","offlineActions":"离线操作","offlineActionsDeleteConfirmationModalCancel":"取消","offlineActionsDeleteConfirmationModalConfirm":"永久删除","offlineActionsDeleteConfirmationModalContent":"你确定要删除所有选择的离线操作吗?这将无法撤销!","offlineActionsDeleteConfirmationModalTitle":"删除离线操作","offlineActionsHeader":"离线操作","offlineActionsNoActionsEmptyStateContent":"所有离线操作已成功上传,并与在线患者记录合并。","offlineActionsNoActionsEmptyStateImageAlt":"没有待处理的图像","offlineActionsNoActionsEmptyStateTitle":"没有待上传的操作","offlineActionsTableAction":"操作","offlineActionsTableCreatedOn":"日期/时间","offlineActionsTableDeleteActions_one":"删除操作","offlineActionsTableDeleteActions_other":"删除{{count}}个操作","offlineActionsTableError":"错误","offlineActionsTablePatient":"患者","offlineActionsUpdateOfflinePatients":"更新离线患者","offlinePatients":"离线患者","offlinePatients_lower":"离线患者","offlinePatientsHeader":"离线患者","offlinePatientsTableDeleteConfirmationModalCancel":"取消","offlinePatientsTableDeleteConfirmationModalConfirm":"删除患者","offlinePatientsTableDeleteConfirmationModalContent":"您确定要从离线列表中删除所有选择的患者吗?他们的病历将不再在离线模式下可用,并且任何新注册的患者将被永久删除。","offlinePatientsTableDeleteConfirmationModalTitle":"删除离线患者","offlinePatientsTableHeaderAge":"年龄","offlinePatientsTableHeaderGender":"性别","offlinePatientsTableHeaderLastUpdated":"最后更新","offlinePatientsTableHeaderName":"名称","offlinePatientsTableLastUpdatedDownloading":"下载中...","offlinePatientsTableLastUpdatedError":"错误","offlinePatientsTableLastUpdatedErrors":"错误","offlinePatientsTableLastUpdatedNotYetSynchronized":"未同步","offlinePatientsTableLastUpdatedOutdatedData":"过时的数据","offlinePatientsTableNameNewlyRegistered":"新建","offlinePatientsTableRemoveFromOfflineList":"从列表中删除","offlinePatientsTableSearchLabel":"搜索此列表","offlinePatientsTableSearchPlaceholder":"搜索此列表","offlinePatientsTableTitle":"离线患者","offlinePatientsTableUpdatePatient":"更新患者","offlinePatientsTableUpdatePatients":"更新患者","offlinePatientSyncDetailsDownloadedHeader":"下载到此设备","offlinePatientSyncDetailsFailedHeader":"以下项目下载时出现错误","offlinePatientSyncDetailsFallbackErrorMessage":"未知错误。","offlinePatientSyncDetailsHeader":"离线患者详细信息","offlineReady":"离线就绪","offlineToolsAppMenuLink":"离线工具"}')}}]);
package/dist/8319.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_offline_tools_app=globalThis.webpackChunk_openmrs_esm_offline_tools_app||[]).push([[8319],{8319:e=>{e.exports=JSON.parse('{"emptyStateText":"No hay {{displayText}} para mostrar","home":"Inicio","homeHeader":"Inicio sin internet","homeOverviewCardOfflineActionsFailedToUpload":"Error al cargar","homeOverviewCardOfflineActionsHeader":"Acciones sin internet","homeOverviewCardOfflineActionsPendingUpload":"Pendiente de carga","homeOverviewCardPatientsDownloaded":"Descargados","homeOverviewCardPatientsHeader":"Pacientes","homeOverviewCardPatientsNewlyRegistered":"Recientemente registrado","homeOverviewCardView":"Ver","offlineActions":"Acciones sin Internet","offlineActionsDeleteConfirmationModalCancel":"Cancelar","offlineActionsDeleteConfirmationModalConfirm":"Eliminar para siempre","offlineActionsDeleteConfirmationModalContent":"¿Está seguro de que desea eliminar todas las acciones sin internet seleccionadas? ¡Esto no se puede deshacer!","offlineActionsDeleteConfirmationModalTitle":"Eliminar acciones sin internet","offlineActionsHeader":"Acciones sin Internet","offlineActionsNoActionsEmptyStateContent":"Todas las acciones sin internet se han cargado correctamente\\ny se han fusionado con los registros de pacientes en línea.","offlineActionsNoActionsEmptyStateImageAlt":"No hay imagen de acciones pendientes","offlineActionsNoActionsEmptyStateTitle":"No hay acciones pendientes de carga","offlineActionsTableAction":"Acción","offlineActionsTableCreatedOn":"Fecha y Hora","offlineActionsTableDeleteActions_one":"Eliminar acción","offlineActionsTableDeleteActions_other":"Eliminar {{count}} acciones","offlineActionsTableError":"Error","offlineActionsTablePatient":"Paciente","offlineActionsUpdateOfflinePatients":"Actualizar pacientes sin internet","offlinePatients":"Pacientes sin internet","offlinePatients_lower":"pacientes sin internet","offlinePatientsHeader":"Pacientes sin internet","offlinePatientsTableDeleteConfirmationModalCancel":"Cancelar","offlinePatientsTableDeleteConfirmationModalConfirm":"Quitar pacientes","offlinePatientsTableDeleteConfirmationModalContent":"¿Está seguro de que desea quitar todos los pacientes seleccionados de la lista sin internet? Sus historias clínicas ya no estarán disponibles en modo sin internet y cualquier paciente registrado recién será eliminado permanentemente.","offlinePatientsTableDeleteConfirmationModalTitle":"Quitar pacientes sin internet","offlinePatientsTableHeaderAge":"Edad","offlinePatientsTableHeaderGender":"Género","offlinePatientsTableHeaderLastUpdated":"Última actualización","offlinePatientsTableHeaderName":"Nombre","offlinePatientsTableLastUpdatedDownloading":"Descargando...","offlinePatientsTableLastUpdatedError":"error","offlinePatientsTableLastUpdatedErrors":"errores","offlinePatientsTableLastUpdatedNotYetSynchronized":"No sincronizado","offlinePatientsTableLastUpdatedOutdatedData":"Datos desactualizados","offlinePatientsTableNameNewlyRegistered":"Nuevo","offlinePatientsTableRemoveFromOfflineList":"Quitar de la lista","offlinePatientsTableSearchLabel":"Buscar en esta lista","offlinePatientsTableSearchPlaceholder":"Buscar en esta lista","offlinePatientsTableTitle":"Pacientes sin internet","offlinePatientsTableUpdatePatient":"Actualizar paciente","offlinePatientsTableUpdatePatients":"Actualizar pacientes","offlinePatientSyncDetailsDownloadedHeader":"Descargado en este dispositivo","offlinePatientSyncDetailsFailedHeader":"Hubo un error al descargar los siguientes elementos","offlinePatientSyncDetailsFallbackErrorMessage":"Error desconocido.","offlinePatientSyncDetailsHeader":"Detalles de pacientes sin internet","offlineReady":"Listo Sin Internet","offlineToolsAppMenuLink":"Herramientas sin internet"}')}}]);
package/dist/8323.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_offline_tools_app=globalThis.webpackChunk_openmrs_esm_offline_tools_app||[]).push([[8323],{8323:e=>{e.exports=JSON.parse('{"emptyStateText":"There are no {{displayText}} to display","home":"Home","homeHeader":"Offline home","homeOverviewCardOfflineActionsFailedToUpload":"Failed to upload","homeOverviewCardOfflineActionsHeader":"Offline Actions","homeOverviewCardOfflineActionsPendingUpload":"Pending upload","homeOverviewCardPatientsDownloaded":"Downloaded","homeOverviewCardPatientsHeader":"Patients","homeOverviewCardPatientsNewlyRegistered":"Newly registered","homeOverviewCardView":"View","offlineActions":"Offline Actions","offlineActionsDeleteConfirmationModalCancel":"Cancel","offlineActionsDeleteConfirmationModalConfirm":"Delete forever","offlineActionsDeleteConfirmationModalContent":"Are you sure that you want to delete all selected offline actions? This cannot be undone!","offlineActionsDeleteConfirmationModalTitle":"Delete offline actions","offlineActionsHeader":"Offline Actions","offlineActionsNoActionsEmptyStateContent":"All offline actions have been uploaded successfully,\\nand merged with the online patient records.","offlineActionsNoActionsEmptyStateImageAlt":"No Pending Actions Image","offlineActionsNoActionsEmptyStateTitle":"No actions pending upload","offlineActionsTableAction":"Action","offlineActionsTableCreatedOn":"Date & Time","offlineActionsTableDeleteActions_one":"Delete action","offlineActionsTableDeleteActions_other":"Delete {{count}} actions","offlineActionsTableError":"Error","offlineActionsTablePatient":"Patient","offlineActionsUpdateOfflinePatients":"Update offline patients","offlinePatients":"Offline patients","offlinePatients_lower":"offline patients","offlinePatientsHeader":"Offline patients","offlinePatientsTableDeleteConfirmationModalCancel":"Cancel","offlinePatientsTableDeleteConfirmationModalConfirm":"Remove patients","offlinePatientsTableDeleteConfirmationModalContent":"Are you sure that you want to remove all selected patients from the offline list? Their charts will no longer be available in offline mode and any newly registered patient will be permanently deleted.","offlinePatientsTableDeleteConfirmationModalTitle":"Remove offline patients","offlinePatientsTableHeaderAge":"Age","offlinePatientsTableHeaderGender":"Gender","offlinePatientsTableHeaderLastUpdated":"Last updated","offlinePatientsTableHeaderName":"Name","offlinePatientsTableLastUpdatedDownloading":"Downloading...","offlinePatientsTableLastUpdatedError":"error","offlinePatientsTableLastUpdatedErrors":"errors","offlinePatientsTableLastUpdatedNotYetSynchronized":"Not synchronized","offlinePatientsTableLastUpdatedOutdatedData":"Outdated data","offlinePatientsTableNameNewlyRegistered":"New","offlinePatientsTableRemoveFromOfflineList":"Remove from list","offlinePatientsTableSearchLabel":"Search this list","offlinePatientsTableSearchPlaceholder":"Search this list","offlinePatientsTableTitle":"Offline patients","offlinePatientsTableUpdatePatient":"Update patient","offlinePatientsTableUpdatePatients":"Update patients","offlinePatientSyncDetailsDownloadedHeader":"Downloaded to this device","offlinePatientSyncDetailsFailedHeader":"There was an error downloading the following items","offlinePatientSyncDetailsFallbackErrorMessage":"Unknown error.","offlinePatientSyncDetailsHeader":"Offline patient details","offlineReady":"Offline Ready","offlineToolsAppMenuLink":"Offline tools"}')}}]);
package/dist/8657.js DELETED
@@ -1 +0,0 @@
1
- (globalThis.webpackChunk_openmrs_esm_offline_tools_app=globalThis.webpackChunk_openmrs_esm_offline_tools_app||[]).push([[8657],{8657:(e,t,n)=>{"use strict";n.r(t),n.d(t,{I18nContext:()=>k,I18nextProvider:()=>le,Trans:()=>Y,Translation:()=>ue,composeInitialProps:()=>T,date:()=>me,getDefaults:()=>I,getI18n:()=>D,getInitialProps:()=>A,initReactI18next:()=>R,number:()=>ve,plural:()=>be,select:()=>he,selectOrdinal:()=>Oe,setDefaults:()=>N,setI18n:()=>C,time:()=>ye,useSSR:()=>fe,useTranslation:()=>re,withSSR:()=>ge,withTranslation:()=>ce});var r=n(6017);function o(e,t){if(null==e)return{};var n,o,i=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var i=n(6655),a=n(7169),c=n(5776),s=n(1432),u=n.n(s),l=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function f(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(u()[n[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("--\x3e");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var o=new RegExp(l),i=null;null!==(i=o.exec(e));)if(i[0].trim())if(i[1]){var a=i[1].trim(),c=[a,""];a.indexOf("=")>-1&&(c=a.split("=")),t.attrs[c[0]]=c[1],o.lastIndex--}else i[2]&&(t.attrs[i[2]]=i[3].trim().substring(1,i[3].length-1));return t}var p=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,d=/^\s*$/,g=Object.create(null);function m(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(m,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var y={parse:function(e,t){t||(t={}),t.components||(t.components=g);var n,r=[],o=[],i=-1,a=!1;if(0!==e.indexOf("<")){var c=e.indexOf("<");r.push({type:"text",content:-1===c?e:e.substring(0,c)})}return e.replace(p,(function(c,s){if(a){if(c!=="</"+n.name+">")return;a=!1}var u,l="/"!==c.charAt(1),p=c.startsWith("\x3c!--"),g=s+c.length,m=e.charAt(g);if(p){var y=f(c);return i<0?(r.push(y),r):((u=o[i]).children.push(y),r)}if(l&&(i++,"tag"===(n=f(c)).type&&t.components[n.name]&&(n.type="component",a=!0),n.voidElement||a||!m||"<"===m||n.children.push({type:"text",content:e.slice(g,e.indexOf("<",g))}),0===i&&r.push(n),(u=o[i-1])&&u.children.push(n),o[i]=n),(!l||n.voidElement)&&(i>-1&&(n.voidElement||n.name===c.slice(2,-1))&&(i--,n=-1===i?r:o[i]),!a&&"<"!==m&&m)){u=-1===i?r:o[i].children;var v=e.indexOf("<",g),h=e.slice(g,-1===v?void 0:v);d.test(h)&&(h=" "),(v>-1&&i+u.length>=0||" "!==h)&&u.push({type:"text",content:h})}})),r},stringify:function(e){return e.reduce((function(e,t){return e+m("",t)}),"")}};const v=y;var h=n(8821),b=n(5169),O=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,j={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},w=function(e){return j[e]};function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E,S={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:function(e){return e.replace(O,w)}},k=(0,c.createContext)();function N(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};S=x(x({},S),e)}function I(){return S}var Z=function(){function e(){(0,h.Z)(this,e),this.usedNamespaces={}}return(0,b.Z)(e,[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach((function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function C(e){E=e}function D(){return E}var R={type:"3rdParty",init:function(e){N(e.options.react),C(e)}};function T(e){return function(t){return new Promise((function(n){var r=A();e.getInitialProps?e.getInitialProps(t).then((function(e){n(x(x({},e),r))})):n(r)}))}}function A(){var e=D(),t=e.reportNamespaces?e.reportNamespaces.getUsedNamespaces():[],n={},r={};return e.languages.forEach((function(n){r[n]={},t.forEach((function(t){r[n][t]=e.getResourceBundle(n,t)||{}}))})),n.initialI18nStore=r,n.initialLanguage=e.language,n}function L(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"string"==typeof n[0]&&(n[0]="react-i18next:: ".concat(n[0])),(e=console).warn.apply(e,n)}}var z={};function B(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&z[t[0]]||("string"==typeof t[0]&&(z[t[0]]=new Date),L.apply(void 0,t))}function _(e,t,n){e.loadNamespaces(t,(function(){e.isInitialized?n():e.on("initialized",(function t(){setTimeout((function(){e.off("initialized",t)}),0),n()}))}))}function U(e){return e.displayName||e.name||("string"==typeof e&&e.length>0?e:"Unknown")}var F=["format"],H=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function K(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function W(e,t){if(!e)return!1;var n=e.props?e.props.children:e.children;return t?n.length>0:!!n}function M(e){return e?e.props?e.props.children:e.children:[]}function $(e){return Array.isArray(e)?e:[e]}function q(e,t){if(!e)return"";var n="",r=$(e),a=t.transSupportBasicHtmlNodes&&t.transKeepBasicHtmlNodesFor?t.transKeepBasicHtmlNodesFor:[];return r.forEach((function(e,r){if("string"==typeof e)n+="".concat(e);else if((0,c.isValidElement)(e)){var s=Object.keys(e.props).length,u=a.indexOf(e.type)>-1,l=e.props.children;if(!l&&u&&0===s)n+="<".concat(e.type,"/>");else if(l||u&&0===s)if(e.props.i18nIsDynamicList)n+="<".concat(r,"></").concat(r,">");else if(u&&1===s&&"string"==typeof l)n+="<".concat(e.type,">").concat(l,"</").concat(e.type,">");else{var f=q(l,t);n+="<".concat(r,">").concat(f,"</").concat(r,">")}else n+="<".concat(r,"></").concat(r,">")}else if(null===e)L("Trans: the passed in value is invalid - seems you passed in a null child.");else if("object"===(0,i.Z)(e)){var p=e.format,d=o(e,F),g=Object.keys(d);if(1===g.length){var m=p?"".concat(g[0],", ").concat(p):g[0];n+="{{".concat(m,"}}")}else L("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",e)}else L("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",e)})),n}function Y(e){var t=e.children,n=e.count,r=e.parent,a=e.i18nKey,s=e.context,u=e.tOptions,l=void 0===u?{}:u,f=e.values,p=e.defaults,d=e.components,g=e.ns,m=e.i18n,y=e.t,h=e.shouldUnescape,b=o(e,H),O=(0,c.useContext)(k)||{},j=O.i18n,w=O.defaultNS,P=m||j||D();if(!P)return B("You will need to pass in an i18next instance by using i18nextReactModule"),t;var x=y||P.t.bind(P)||function(e){return e};s&&(l.context=s);var E=V(V({},I()),P.options&&P.options.react),S=g||x.ns||w||P.options&&P.options.defaultNS;S="string"==typeof S?[S]:S||["translation"];var N=p||q(t,E)||E.transEmptyNodeValue||a,Z=E.hashTransKey,C=a||(Z?Z(N):N),R=f?l.interpolation:{interpolation:V(V({},l.interpolation),{},{prefix:"#$?",suffix:"?$#"})},T=V(V(V(V({},l),{},{count:n},f),R),{},{defaultValue:N,ns:S}),A=function(e,t,n,r,o,a){if(""===t)return[];var s=r.transKeepBasicHtmlNodesFor||[],u=t&&new RegExp(s.join("|")).test(t);if(!e&&!u)return[t];var l={};!function e(t){$(t).forEach((function(t){"string"!=typeof t&&(W(t)?e(M(t)):"object"!==(0,i.Z)(t)||(0,c.isValidElement)(t)||Object.assign(l,t))}))}(e);var f=v.parse("<0>".concat(t,"</0>")),p=V(V({},l),o);function d(e,t,n){var r=M(e),o=m(r,t.children,n);return function(e){return"[object Array]"===Object.prototype.toString.call(e)&&e.every((function(e){return(0,c.isValidElement)(e)}))}(r)&&0===o.length?r:o}function g(e,t,n,r,o){e.dummy&&(e.children=t),n.push((0,c.cloneElement)(e,V(V({},e.props),{},{key:r}),o?void 0:t))}function m(t,o,l){var f=$(t);return $(o).reduce((function(t,o,y){var v,h,b,O=o.children&&o.children[0]&&o.children[0].content&&n.services.interpolator.interpolate(o.children[0].content,p,n.language);if("tag"===o.type){var j=f[parseInt(o.name,10)];!j&&1===l.length&&l[0][o.name]&&(j=l[0][o.name]),j||(j={});var w=0!==Object.keys(o.attrs).length?(v={props:o.attrs},(b=V({},h=j)).props=Object.assign(v.props,h.props),b):j,P=(0,c.isValidElement)(w),x=P&&W(o,!0)&&!o.voidElement,E=u&&"object"===(0,i.Z)(w)&&w.dummy&&!P,S="object"===(0,i.Z)(e)&&null!==e&&Object.hasOwnProperty.call(e,o.name);if("string"==typeof w){var k=n.services.interpolator.interpolate(w,p,n.language);t.push(k)}else if(W(w)||x)g(w,d(w,o,l),t,y);else if(E){var N=m(f,o.children,l);t.push((0,c.cloneElement)(w,V(V({},w.props),{},{key:y}),N))}else if(Number.isNaN(parseFloat(o.name)))if(S)g(w,d(w,o,l),t,y,o.voidElement);else if(r.transSupportBasicHtmlNodes&&s.indexOf(o.name)>-1)if(o.voidElement)t.push((0,c.createElement)(o.name,{key:"".concat(o.name,"-").concat(y)}));else{var I=m(f,o.children,l);t.push((0,c.createElement)(o.name,{key:"".concat(o.name,"-").concat(y)},I))}else if(o.voidElement)t.push("<".concat(o.name," />"));else{var Z=m(f,o.children,l);t.push("<".concat(o.name,">").concat(Z,"</").concat(o.name,">"))}else if("object"!==(0,i.Z)(w)||P)1===o.children.length&&O?t.push((0,c.cloneElement)(w,V(V({},w.props),{},{key:y}),O)):t.push((0,c.cloneElement)(w,V(V({},w.props),{},{key:y})));else{var C=o.children[0]?O:null;C&&t.push(C)}}else if("text"===o.type){var D=r.transWrapTextNodes,R=a?r.unescape(n.services.interpolator.interpolate(o.content,p,n.language)):n.services.interpolator.interpolate(o.content,p,n.language);D?t.push((0,c.createElement)(D,{key:"".concat(o.name,"-").concat(y)},R)):t.push(R)}return t}),[])}return M(m([{dummy:!0,children:e||[]}],f,$(e||[]))[0])}(d||t,C?x(C,T):N,P,E,T,h),L=void 0!==r?r:E.defaultTransParent;return L?(0,c.createElement)(L,b,A):A}var J=n(7325),G=n(2538),Q=n(9656);function X(e,t){return(0,J.Z)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(e,t)||(0,G.Z)(e,t)||(0,Q.Z)()}function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ne=function(e,t){var n=(0,c.useRef)();return(0,c.useEffect)((function(){n.current=t?n.current:e}),[e,t]),n.current};function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.i18n,r=(0,c.useContext)(k)||{},o=r.i18n,i=r.defaultNS,a=n||o||D();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new Z),!a){B("You will need to pass in an i18next instance by using initReactI18next");var s=function(e){return Array.isArray(e)?e[e.length-1]:e},u=[s,{},!1];return u.t=s,u.i18n={},u.ready=!1,u}a.options.react&&void 0!==a.options.react.wait&&B("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var l=te(te(te({},I()),a.options.react),t),f=l.useSuspense,p=l.keyPrefix,d=e||i||a.options&&a.options.defaultNS;d="string"==typeof d?[d]:d||["translation"],a.reportNamespaces.addUsedNamespaces&&a.reportNamespaces.addUsedNamespaces(d);var g=(a.isInitialized||a.initializedStoreOnce)&&d.every((function(e){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{precheck:function(t,r){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.languages[0],o=!!t.options&&t.options.fallbackLng,i=t.languages[t.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e)||!t.hasResourceBundle(r,e)&&t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages)&&(!a(r,e)||o&&!a(i,e)))}(e,t,n):(B("i18n.languages were undefined or empty",t.languages),!0)}(e,a,l)}));function m(){return a.getFixedT(null,"fallback"===l.nsMode?d:d[0],p)}var y=X((0,c.useState)(m),2),v=y[0],h=y[1],b=d.join(),O=ne(b),j=(0,c.useRef)(!0);(0,c.useEffect)((function(){var e=l.bindI18n,t=l.bindI18nStore;function n(){j.current&&h(m)}return j.current=!0,g||f||_(a,d,(function(){j.current&&h(m)})),g&&O&&O!==b&&j.current&&h(m),e&&a&&a.on(e,n),t&&a&&a.store.on(t,n),function(){j.current=!1,e&&a&&e.split(" ").forEach((function(e){return a.off(e,n)})),t&&a&&t.split(" ").forEach((function(e){return a.store.off(e,n)}))}}),[a,b]);var w=(0,c.useRef)(!0);(0,c.useEffect)((function(){j.current&&!w.current&&h(m),w.current=!1}),[a,p]);var P=[v,a,g];if(P.t=v,P.i18n=a,P.ready=g,g)return P;if(!g&&!f)return P;throw new Promise((function(e){_(a,d,(function(){e()}))}))}var oe=["forwardedRef"];function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ce(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){function r(r){var i=r.forwardedRef,a=o(r,oe),s=X(re(e,ae(ae({},a),{},{keyPrefix:t.keyPrefix})),3),u=s[0],l=s[1],f=s[2],p=ae(ae({},a),{},{t:u,i18n:l,tReady:f});return t.withRef&&i?p.ref=i:!t.withRef&&i&&(p.forwardedRef=i),(0,c.createElement)(n,p)}return r.displayName="withI18nextTranslation(".concat(U(n),")"),r.WrappedComponent=n,t.withRef?(0,c.forwardRef)((function(e,t){return(0,c.createElement)(r,Object.assign({},e,{forwardedRef:t}))})):r}}var se=["ns","children"];function ue(e){var t=e.ns,n=e.children,r=X(re(t,o(e,se)),3),i=r[0],a=r[1],c=r[2];return n(i,{i18n:a,lng:a.language},c)}function le(e){var t=e.i18n,n=e.defaultNS,r=e.children,o=(0,c.useMemo)((function(){return{i18n:t,defaultNS:n}}),[t,n]);return(0,c.createElement)(k.Provider,{value:o},r)}function fe(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).i18n,r=((0,c.useContext)(k)||{}).i18n,o=n||r||D();o.options&&o.options.isClone||(e&&!o.initializedStoreOnce&&(o.services.resourceStore.data=e,o.options.ns=Object.values(e).reduce((function(e,t){return Object.keys(t).forEach((function(t){e.indexOf(t)<0&&e.push(t)})),e}),o.options.ns),o.initializedStoreOnce=!0,o.isInitialized=!0),t&&!o.initializedLanguageOnce&&(o.changeLanguage(t),o.initializedLanguageOnce=!0))}var pe=["initialI18nStore","initialLanguage"];function de(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ge(){return function(e){function t(t){var n=t.initialI18nStore,r=t.initialLanguage,i=o(t,pe);return fe(n,r),(0,c.createElement)(e,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?de(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):de(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},i))}return t.getInitialProps=T(e),t.displayName="withI18nextSSR(".concat(U(e),")"),t.WrappedComponent=e,t}}var me=function(){return""},ye=function(){return""},ve=function(){return""},he=function(){return""},be=function(){return""},Oe=function(){return""}},1432:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},7325:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:()=>r})},8821:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:()=>r})},5169:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(5198);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(0,r.Z)(o.key),o)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},7169:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(5198);function o(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},9656:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:()=>r})},6017:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}n.d(t,{Z:()=>r})},5198:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(6655);function o(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.Z)(t)?t:t+""}},6655:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>r})},2538:(e,t,n)=>{"use strict";function r(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 o(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}n.d(t,{Z:()=>o})}}]);
package/dist/8657.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"8657.js","mappings":"0iBACA,SAASA,EAAyBC,EAAGC,GACnC,GAAI,MAAQD,EAAG,MAAO,CAAC,EACvB,IAAIE,EACFC,EACAC,GAAI,EAAAC,EAAA,GAA6BL,EAAGC,GACtC,GAAIK,OAAOC,sBAAuB,CAChC,IAAIC,EAAIF,OAAOC,sBAAsBP,GACrC,IAAKG,EAAI,EAAGA,EAAIK,EAAEC,OAAQN,IAAKD,EAAIM,EAAEL,IAAK,IAAMF,EAAES,QAAQR,IAAM,CAAC,EAAES,qBAAqBC,KAAKZ,EAAGE,KAAOE,EAAEF,GAAKF,EAAEE,GAClH,CACA,OAAOE,CACT,C,qDCXiCH,EAAE,qDAAqD,SAASO,EAAEA,GAAG,IAAIL,EAAE,CAACU,KAAK,MAAMC,KAAK,GAAGC,aAAY,EAAGC,MAAM,CAAC,EAAEC,SAAS,IAAIb,EAAEI,EAAEU,MAAM,uBAAuB,GAAGd,IAAID,EAAEW,KAAKV,EAAE,IAAI,IAAEA,EAAE,KAAK,MAAMI,EAAEW,OAAOX,EAAEC,OAAO,MAAMN,EAAEY,aAAY,GAAIZ,EAAEW,KAAKM,WAAW,QAAQ,CAAC,IAAIC,EAAEb,EAAEE,QAAQ,UAAU,MAAM,CAACG,KAAK,UAAUS,SAAS,IAAID,EAAEb,EAAEe,MAAM,EAAEF,GAAG,GAAG,CAAC,IAAI,IAAIG,EAAE,IAAIC,OAAOxB,GAAGy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KA,EAAIrB,EAAEM,UAAYe,EAAIrB,EAAEM,QACtC,IAAK,IAAIT,EAAI,EAAGQ,EAAIuH,MAAMvG,GAAIxB,EAAIwB,EAAGxB,IAAKQ,EAAER,GAAKG,EAAEH,GACnD,OAAOQ,CACT,CCHA,SAAS+U,EAA4BpV,EAAGqB,GACtC,GAAIrB,EAAG,CACL,GAAI,iBAAmBA,EAAG,OAAO,EAAiBA,EAAGqB,GACrD,IAAIvB,EAAI,CAAC,EAAEkN,SAASvM,KAAKT,GAAGoB,MAAM,GAAI,GACtC,MAAO,WAAatB,GAAKE,EAAEkV,cAAgBpV,EAAIE,EAAEkV,YAAYvU,MAAO,QAAUb,GAAK,QAAUA,EAAI8H,MAAMyN,KAAKrV,GAAK,cAAgBF,GAAK,2CAA2CiD,KAAKjD,GAAK,EAAiBE,EAAGqB,QAAK,CACtN,CACF,C","sources":["webpack://@openmrs/esm-offline-tools-app/../../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/html-parse-stringify/dist/html-parse-stringify.module.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/react-i18next/dist/es/unescape.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/react-i18next/dist/es/context.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/react-i18next/dist/es/utils.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/react-i18next/dist/es/Trans.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/react-i18next/dist/es/useTranslation.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/react-i18next/dist/es/withTranslation.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/react-i18next/dist/es/Translation.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/react-i18next/dist/es/I18nextProvider.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/react-i18next/dist/es/useSSR.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/react-i18next/dist/es/withSSR.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/react-i18next/dist/es/index.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/void-elements/index.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/@babel/runtime/helpers/esm/createClass.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/@babel/runtime/helpers/esm/typeof.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","webpack://@openmrs/esm-offline-tools-app/../../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"names":["_objectWithoutProperties","e","t","o","r","i","objectWithoutPropertiesLoose","Object","getOwnPropertySymbols","n","length","indexOf","propertyIsEnumerable","call","type","name","voidElement","attrs","children","match","charAt","startsWith","s","comment","slice","a","RegExp","c","exec","trim","l","split","lastIndex","substring","create","content","push","join","reduce","parse","components","m","u","replace","f","h","p","d","v","x","g","test","stringify","matchHtmlEntity","htmlEntities","unescapeHtmlEntity","ownKeys","object","enumerableOnly","keys","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","apply","_objectSpread","target","arguments","source","forEach","key","getOwnPropertyDescriptors","defineProperties","defineProperty","i18nInstance","defaultOptions","bindI18n","bindI18nStore","transEmptyNodeValue","transSupportBasicHtmlNodes","transWrapTextNodes","transKeepBasicHtmlNodesFor","useSuspense","unescape","text","I18nContext","createContext","setDefaults","options","undefined","getDefaults","ReportNamespaces","this","usedNamespaces","value","namespaces","_this","ns","setI18n","instance","getI18n","initReactI18next","init","react","composeInitialProps","ForComponent","ctx","Promise","resolve","i18nInitialProps","getInitialProps","then","componentsInitialProps","i18n","reportNamespaces","getUsedNamespaces","ret","initialI18nStore","languages","getResourceBundle","initialLanguage","language","warn","console","_console","_len","args","Array","_key","concat","alreadyWarned","warnOnce","_len2","_key2","Date","loadNamespaces","cb","isInitialized","on","initialized","setTimeout","off","getDisplayName","Component","displayName","_excluded","_excluded2","hasChildren","node","checkLength","base","props","getChildren","getAsArray","data","isArray","nodesToString","i18nOptions","stringNode","childrenArray","keepArray","child","childIndex","isValidElement","childPropsCount","shouldKeepChild","childChildren","i18nIsDynamicList","format","clone","Trans","_ref","count","parent","i18nKey","context","_ref$tOptions","tOptions","values","defaults","i18nFromProps","tFromProps","shouldUnescape","additionalProps","_ref2","useContext","i18nFromContext","defaultNSFromContext","defaultNS","bind","k","reactI18nextOptions","defaultValue","hashTransKey","interpolationOverride","interpolation","prefix","suffix","combinedTOpts","targetString","emptyChildrenButNeedsHandling","getData","childs","assign","ast","opts","renderInner","rootReactNode","mappedChildren","mapAST","prototype","toString","every","hasValidReactChildren","pushTranslatedJSX","inner","mem","isVoid","dummy","cloneElement","reactNode","astNode","reactNodes","newTarget","translationContent","services","interpolator","interpolate","tmp","parseInt","isElement","isValidTranslationWithChildren","isEmptyTransWithHTML","isKnownComponent","hasOwnProperty","_inner","Number","isNaN","parseFloat","createElement","_inner3","_inner4","wrapTextNodes","_content","renderNodes","useAsParent","defaultTransParent","_slicedToArray","arrayWithHoles","Symbol","iterator","next","done","unsupportedIterableToArray","nonIterableRest","usePrevious","ignore","ref","useRef","useEffect","current","useTranslation","notReadyT","retNotReady","ready","wait","keyPrefix","addUsedNamespaces","initializedStoreOnce","ignoreJSONStructure","hasLoadedNamespace","precheck","loadNotPending","backendConnector","backend","isLanguageChangingTo","lng","fallbackLng","lastLng","toLowerCase","loadState","state","hasResourceBundle","resources","partialBundledLanguages","oldI18nextHasLoadedNamespace","getT","getFixedT","nsMode","_useState2","useState","setT","joinedNS","previousJoinedNS","isMounted","boundReset","store","isInitial","withTranslation","WrappedComponent","I18nextWithTranslation","forwardedRef","rest","_useTranslation2","passDownProps","tReady","withRef","forwardRef","Translation","I18nextProvider","useMemo","Provider","useSSR","isClone","resourceStore","lngResources","initializedLanguageOnce","changeLanguage","withSSR","I18nextWithSSR","date","time","number","plural","selectOrdinal","module","exports","_arrayWithHoles","_classCallCheck","TypeError","_defineProperties","configurable","writable","_createClass","_defineProperty","_nonIterableRest","_objectWithoutPropertiesLoose","toPropertyKey","toPrimitive","String","_typeof","constructor","_arrayLikeToArray","_unsupportedIterableToArray","from"],"sourceRoot":""}
package/dist/8765.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_offline_tools_app=globalThis.webpackChunk_openmrs_esm_offline_tools_app||[]).push([[8765],{8765:e=>{e.exports=JSON.parse('{"emptyStateText":"There are no {{displayText}} to display","home":"Home","homeHeader":"Offline home","homeOverviewCardOfflineActionsFailedToUpload":"Failed to upload","homeOverviewCardOfflineActionsHeader":"Offline Actions","homeOverviewCardOfflineActionsPendingUpload":"Pending upload","homeOverviewCardPatientsDownloaded":"Downloaded","homeOverviewCardPatientsHeader":"Patients","homeOverviewCardPatientsNewlyRegistered":"Newly registered","homeOverviewCardView":"View","offlineActions":"Offline Actions","offlineActionsDeleteConfirmationModalCancel":"Cancel","offlineActionsDeleteConfirmationModalConfirm":"Delete forever","offlineActionsDeleteConfirmationModalContent":"Are you sure that you want to delete all selected offline actions? This cannot be undone!","offlineActionsDeleteConfirmationModalTitle":"Delete offline actions","offlineActionsHeader":"Offline Actions","offlineActionsNoActionsEmptyStateContent":"All offline actions have been uploaded successfully,\\nand merged with the online patient records.","offlineActionsNoActionsEmptyStateImageAlt":"No Pending Actions Image","offlineActionsNoActionsEmptyStateTitle":"No actions pending upload","offlineActionsTableAction":"Action","offlineActionsTableCreatedOn":"Date & Time","offlineActionsTableDeleteActions_one":"Delete action","offlineActionsTableDeleteActions_other":"Delete {{count}} actions","offlineActionsTableError":"Error","offlineActionsTablePatient":"Patient","offlineActionsUpdateOfflinePatients":"Update offline patients","offlinePatients":"Offline patients","offlinePatients_lower":"offline patients","offlinePatientsHeader":"Offline patients","offlinePatientsTableDeleteConfirmationModalCancel":"Cancel","offlinePatientsTableDeleteConfirmationModalConfirm":"Remove patients","offlinePatientsTableDeleteConfirmationModalContent":"Are you sure that you want to remove all selected patients from the offline list? Their charts will no longer be available in offline mode and any newly registered patient will be permanently deleted.","offlinePatientsTableDeleteConfirmationModalTitle":"Remove offline patients","offlinePatientsTableHeaderAge":"Age","offlinePatientsTableHeaderGender":"Gender","offlinePatientsTableHeaderLastUpdated":"Last updated","offlinePatientsTableHeaderName":"Name","offlinePatientsTableLastUpdatedDownloading":"Downloading...","offlinePatientsTableLastUpdatedError":"error","offlinePatientsTableLastUpdatedErrors":"errors","offlinePatientsTableLastUpdatedNotYetSynchronized":"Not synchronized","offlinePatientsTableLastUpdatedOutdatedData":"Outdated data","offlinePatientsTableNameNewlyRegistered":"New","offlinePatientsTableRemoveFromOfflineList":"Remove from list","offlinePatientsTableSearchLabel":"Search this list","offlinePatientsTableSearchPlaceholder":"Search this list","offlinePatientsTableTitle":"Offline patients","offlinePatientsTableUpdatePatient":"Update patient","offlinePatientsTableUpdatePatients":"Update patients","offlinePatientSyncDetailsDownloadedHeader":"Downloaded to this device","offlinePatientSyncDetailsFailedHeader":"There was an error downloading the following items","offlinePatientSyncDetailsFallbackErrorMessage":"Unknown error.","offlinePatientSyncDetailsHeader":"Offline patient details","offlineReady":"Offline Ready","offlineToolsAppMenuLink":"Offline tools"}')}}]);
package/dist/8788.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_offline_tools_app=globalThis.webpackChunk_openmrs_esm_offline_tools_app||[]).push([[8788],{8788:e=>{e.exports=JSON.parse('{"emptyStateText":"There are no {{displayText}} to display","home":"Home","homeHeader":"Offline home","homeOverviewCardOfflineActionsFailedToUpload":"Failed to upload","homeOverviewCardOfflineActionsHeader":"Offline actions","homeOverviewCardOfflineActionsPendingUpload":"Pending upload","homeOverviewCardPatientsDownloaded":"Downloaded","homeOverviewCardPatientsHeader":"Patients","homeOverviewCardPatientsNewlyRegistered":"Newly registered","homeOverviewCardView":"View","offlineActions":"Offline actions","offlineActionsDeleteConfirmationModalCancel":"Cancel","offlineActionsDeleteConfirmationModalConfirm":"Delete forever","offlineActionsDeleteConfirmationModalContent":"Are you sure that you want to delete all selected offline actions? This cannot be undone!","offlineActionsDeleteConfirmationModalTitle":"Delete offline actions","offlineActionsHeader":"Offline actions","offlineActionsNoActionsEmptyStateContent":"All offline actions have been uploaded successfully,\\nand merged with the online patient records.","offlineActionsNoActionsEmptyStateImageAlt":"No Pending Actions Image","offlineActionsNoActionsEmptyStateTitle":"No actions pending upload","offlineActionsTableAction":"Action","offlineActionsTableCreatedOn":"Date & Time","offlineActionsTableDeleteActions_one":"Delete action","offlineActionsTableDeleteActions_other":"Delete {{count}} actions","offlineActionsTableError":"Error","offlineActionsTablePatient":"Patient","offlineActionsUpdateOfflinePatients":"Update offline patients","offlinePatients":"Offline patients","offlinePatients_lower":"offline patients","offlinePatientsHeader":"Offline patients","offlinePatientsTableDeleteConfirmationModalCancel":"Cancel","offlinePatientsTableDeleteConfirmationModalConfirm":"Remove patients","offlinePatientsTableDeleteConfirmationModalContent":"Are you sure that you want to remove all selected patients from the offline list? Their charts will no longer be available in offline mode and any newly registered patient will be permanently deleted.","offlinePatientsTableDeleteConfirmationModalTitle":"Remove offline patients","offlinePatientsTableHeaderAge":"Age","offlinePatientsTableHeaderGender":"Gender","offlinePatientsTableHeaderLastUpdated":"Last updated","offlinePatientsTableHeaderName":"Name","offlinePatientsTableLastUpdatedDownloading":"Downloading...","offlinePatientsTableLastUpdatedError":"error","offlinePatientsTableLastUpdatedErrors":"errors","offlinePatientsTableLastUpdatedNotYetSynchronized":"Not synchronized","offlinePatientsTableLastUpdatedOutdatedData":"Outdated data","offlinePatientsTableNameNewlyRegistered":"New","offlinePatientsTableRemoveFromOfflineList":"Remove from list","offlinePatientsTableSearchLabel":"Search this list","offlinePatientsTableSearchPlaceholder":"Search this list","offlinePatientsTableTitle":"Offline patients","offlinePatientsTableUpdatePatient":"Update patient","offlinePatientsTableUpdatePatients":"Update patients","offlinePatientSyncDetailsDownloadedHeader":"Downloaded to this device","offlinePatientSyncDetailsFailedHeader":"There was an error downloading the following items","offlinePatientSyncDetailsFallbackErrorMessage":"Unknown error.","offlinePatientSyncDetailsHeader":"Offline patient details","offlineReady":"Offline Ready","offlineToolsAppMenuLink":"Offline tools"}')}}]);
package/dist/899.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_offline_tools_app=globalThis.webpackChunk_openmrs_esm_offline_tools_app||[]).push([[899],{899:e=>{e.exports=JSON.parse('{"emptyStateText":"There are no {{displayText}} to display","home":"Home","homeHeader":"Offline home","homeOverviewCardOfflineActionsFailedToUpload":"Failed to upload","homeOverviewCardOfflineActionsHeader":"Offline Actions","homeOverviewCardOfflineActionsPendingUpload":"Pending upload","homeOverviewCardPatientsDownloaded":"Downloaded","homeOverviewCardPatientsHeader":"Patients","homeOverviewCardPatientsNewlyRegistered":"Newly registered","homeOverviewCardView":"View","offlineActions":"Offline Actions","offlineActionsDeleteConfirmationModalCancel":"Cancel","offlineActionsDeleteConfirmationModalConfirm":"Delete forever","offlineActionsDeleteConfirmationModalContent":"Are you sure that you want to delete all selected offline actions? This cannot be undone!","offlineActionsDeleteConfirmationModalTitle":"Delete offline actions","offlineActionsHeader":"Offline Actions","offlineActionsNoActionsEmptyStateContent":"All offline actions have been uploaded successfully,\\nand merged with the online patient records.","offlineActionsNoActionsEmptyStateImageAlt":"No Pending Actions Image","offlineActionsNoActionsEmptyStateTitle":"No actions pending upload","offlineActionsTableAction":"Action","offlineActionsTableCreatedOn":"Date & Time","offlineActionsTableDeleteActions_one":"Delete action","offlineActionsTableDeleteActions_other":"Delete {{count}} actions","offlineActionsTableError":"Error","offlineActionsTablePatient":"Patient","offlineActionsUpdateOfflinePatients":"Update offline patients","offlinePatients":"Offline patients","offlinePatients_lower":"offline patients","offlinePatientsHeader":"Offline patients","offlinePatientsTableDeleteConfirmationModalCancel":"Cancel","offlinePatientsTableDeleteConfirmationModalConfirm":"Remove patients","offlinePatientsTableDeleteConfirmationModalContent":"Are you sure that you want to remove all selected patients from the offline list? Their charts will no longer be available in offline mode and any newly registered patient will be permanently deleted.","offlinePatientsTableDeleteConfirmationModalTitle":"Remove offline patients","offlinePatientsTableHeaderAge":"Age","offlinePatientsTableHeaderGender":"Gender","offlinePatientsTableHeaderLastUpdated":"Last updated","offlinePatientsTableHeaderName":"Name","offlinePatientsTableLastUpdatedDownloading":"Downloading...","offlinePatientsTableLastUpdatedError":"error","offlinePatientsTableLastUpdatedErrors":"errors","offlinePatientsTableLastUpdatedNotYetSynchronized":"Not synchronized","offlinePatientsTableLastUpdatedOutdatedData":"Outdated data","offlinePatientsTableNameNewlyRegistered":"New","offlinePatientsTableRemoveFromOfflineList":"Remove from list","offlinePatientsTableSearchLabel":"Search this list","offlinePatientsTableSearchPlaceholder":"Search this list","offlinePatientsTableTitle":"Offline patients","offlinePatientsTableUpdatePatient":"Update patient","offlinePatientsTableUpdatePatients":"Update patients","offlinePatientSyncDetailsDownloadedHeader":"Downloaded to this device","offlinePatientSyncDetailsFailedHeader":"There was an error downloading the following items","offlinePatientSyncDetailsFallbackErrorMessage":"Unknown error.","offlinePatientSyncDetailsHeader":"Offline patient details","offlineReady":"Offline Ready","offlineToolsAppMenuLink":"Offline tools"}')}}]);
package/dist/9261.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_offline_tools_app=globalThis.webpackChunk_openmrs_esm_offline_tools_app||[]).push([[9261],{9261:e=>{e.exports=JSON.parse('{"emptyStateText":"There are no {{displayText}} to display","home":"Home","homeHeader":"Offline home","homeOverviewCardOfflineActionsFailedToUpload":"Failed to upload","homeOverviewCardOfflineActionsHeader":"Offline Actions","homeOverviewCardOfflineActionsPendingUpload":"Pending upload","homeOverviewCardPatientsDownloaded":"Downloaded","homeOverviewCardPatientsHeader":"Patients","homeOverviewCardPatientsNewlyRegistered":"Newly registered","homeOverviewCardView":"View","offlineActions":"Offline Actions","offlineActionsDeleteConfirmationModalCancel":"Cancel","offlineActionsDeleteConfirmationModalConfirm":"Delete forever","offlineActionsDeleteConfirmationModalContent":"Are you sure that you want to delete all selected offline actions? This cannot be undone!","offlineActionsDeleteConfirmationModalTitle":"Delete offline actions","offlineActionsHeader":"Offline Actions","offlineActionsNoActionsEmptyStateContent":"All offline actions have been uploaded successfully,\\nand merged with the online patient records.","offlineActionsNoActionsEmptyStateImageAlt":"No Pending Actions Image","offlineActionsNoActionsEmptyStateTitle":"No actions pending upload","offlineActionsTableAction":"Action","offlineActionsTableCreatedOn":"Date & Time","offlineActionsTableDeleteActions_one":"Delete action","offlineActionsTableDeleteActions_other":"Delete {{count}} actions","offlineActionsTableError":"Error","offlineActionsTablePatient":"Patient","offlineActionsUpdateOfflinePatients":"Update offline patients","offlinePatients":"Offline patients","offlinePatients_lower":"offline patients","offlinePatientsHeader":"Offline patients","offlinePatientsTableDeleteConfirmationModalCancel":"Cancel","offlinePatientsTableDeleteConfirmationModalConfirm":"Remove patients","offlinePatientsTableDeleteConfirmationModalContent":"Are you sure that you want to remove all selected patients from the offline list? Their charts will no longer be available in offline mode and any newly registered patient will be permanently deleted.","offlinePatientsTableDeleteConfirmationModalTitle":"Remove offline patients","offlinePatientsTableHeaderAge":"Age","offlinePatientsTableHeaderGender":"Gender","offlinePatientsTableHeaderLastUpdated":"Last updated","offlinePatientsTableHeaderName":"Name","offlinePatientsTableLastUpdatedDownloading":"Downloading...","offlinePatientsTableLastUpdatedError":"error","offlinePatientsTableLastUpdatedErrors":"errors","offlinePatientsTableLastUpdatedNotYetSynchronized":"Not synchronized","offlinePatientsTableLastUpdatedOutdatedData":"Outdated data","offlinePatientsTableNameNewlyRegistered":"New","offlinePatientsTableRemoveFromOfflineList":"Remove from list","offlinePatientsTableSearchLabel":"Search this list","offlinePatientsTableSearchPlaceholder":"Search this list","offlinePatientsTableTitle":"Offline patients","offlinePatientsTableUpdatePatient":"Update patient","offlinePatientsTableUpdatePatients":"Update patients","offlinePatientSyncDetailsDownloadedHeader":"Downloaded to this device","offlinePatientSyncDetailsFailedHeader":"There was an error downloading the following items","offlinePatientSyncDetailsFallbackErrorMessage":"Unknown error.","offlinePatientSyncDetailsHeader":"Offline patient details","offlineReady":"Offline Ready","offlineToolsAppMenuLink":"Offline tools"}')}}]);
package/dist/9579.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_offline_tools_app=globalThis.webpackChunk_openmrs_esm_offline_tools_app||[]).push([[9579],{9579:e=>{e.exports=JSON.parse('{"emptyStateText":"There are no {{displayText}} to display","home":"Home","homeHeader":"Offline home","homeOverviewCardOfflineActionsFailedToUpload":"Failed to upload","homeOverviewCardOfflineActionsHeader":"Offline Actions","homeOverviewCardOfflineActionsPendingUpload":"Pending upload","homeOverviewCardPatientsDownloaded":"Downloaded","homeOverviewCardPatientsHeader":"Patients","homeOverviewCardPatientsNewlyRegistered":"Newly registered","homeOverviewCardView":"View","offlineActions":"Offline Actions","offlineActionsDeleteConfirmationModalCancel":"Cancel","offlineActionsDeleteConfirmationModalConfirm":"Delete forever","offlineActionsDeleteConfirmationModalContent":"Are you sure that you want to delete all selected offline actions? This cannot be undone!","offlineActionsDeleteConfirmationModalTitle":"Delete offline actions","offlineActionsHeader":"Offline Actions","offlineActionsNoActionsEmptyStateContent":"All offline actions have been uploaded successfully,\\nand merged with the online patient records.","offlineActionsNoActionsEmptyStateImageAlt":"No Pending Actions Image","offlineActionsNoActionsEmptyStateTitle":"No actions pending upload","offlineActionsTableAction":"Action","offlineActionsTableCreatedOn":"Date & Time","offlineActionsTableDeleteActions_one":"Delete action","offlineActionsTableDeleteActions_other":"Delete {{count}} actions","offlineActionsTableError":"Error","offlineActionsTablePatient":"Patient","offlineActionsUpdateOfflinePatients":"Update offline patients","offlinePatients":"Offline patients","offlinePatients_lower":"offline patients","offlinePatientsHeader":"Offline patients","offlinePatientsTableDeleteConfirmationModalCancel":"Cancel","offlinePatientsTableDeleteConfirmationModalConfirm":"Remove patients","offlinePatientsTableDeleteConfirmationModalContent":"Are you sure that you want to remove all selected patients from the offline list? Their charts will no longer be available in offline mode and any newly registered patient will be permanently deleted.","offlinePatientsTableDeleteConfirmationModalTitle":"Remove offline patients","offlinePatientsTableHeaderAge":"Age","offlinePatientsTableHeaderGender":"Gender","offlinePatientsTableHeaderLastUpdated":"Last updated","offlinePatientsTableHeaderName":"Name","offlinePatientsTableLastUpdatedDownloading":"Downloading...","offlinePatientsTableLastUpdatedError":"error","offlinePatientsTableLastUpdatedErrors":"errors","offlinePatientsTableLastUpdatedNotYetSynchronized":"Not synchronized","offlinePatientsTableLastUpdatedOutdatedData":"Outdated data","offlinePatientsTableNameNewlyRegistered":"New","offlinePatientsTableRemoveFromOfflineList":"Remove from list","offlinePatientsTableSearchLabel":"Search this list","offlinePatientsTableSearchPlaceholder":"Search this list","offlinePatientsTableTitle":"Offline patients","offlinePatientsTableUpdatePatient":"Update patient","offlinePatientsTableUpdatePatients":"Update patients","offlinePatientSyncDetailsDownloadedHeader":"Downloaded to this device","offlinePatientSyncDetailsFailedHeader":"There was an error downloading the following items","offlinePatientSyncDetailsFallbackErrorMessage":"Unknown error.","offlinePatientSyncDetailsHeader":"Offline patient details","offlineReady":"Offline Ready","offlineToolsAppMenuLink":"Offline tools"}')}}]);
package/dist/9818.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_offline_tools_app=globalThis.webpackChunk_openmrs_esm_offline_tools_app||[]).push([[9818],{7325:(t,e,n)=>{function r(t){if(Array.isArray(t))return t}n.d(e,{Z:()=>r})},8821:(t,e,n)=>{function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,{Z:()=>r})},5169:(t,e,n)=>{n.d(e,{Z:()=>i});var r=n(5198);function o(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(0,r.Z)(o.key),o)}}function i(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}},7169:(t,e,n)=>{n.d(e,{Z:()=>o});var r=n(5198);function o(t,e,n){return(e=(0,r.Z)(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},9656:(t,e,n)=>{function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(e,{Z:()=>r})},5901:(t,e,n)=>{function r(t,e){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},r(t,e)}n.d(e,{Z:()=>r})},5198:(t,e,n)=>{n.d(e,{Z:()=>o});var r=n(6655);function o(t){var e=function(t,e){if("object"!=(0,r.Z)(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,"string");if("object"!=(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==(0,r.Z)(e)?e:e+""}},6655:(t,e,n)=>{function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}n.d(e,{Z:()=>r})},2538:(t,e,n)=>{function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function o(t,e){if(t){if("string"==typeof t)return r(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}n.d(e,{Z:()=>o})},8610:(t,e,n)=>{n.d(e,{ZP:()=>lt});var r=n(6655),o=n(8821),i=n(5169);function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var s=n(5901);function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&(0,s.Z)(t,e)}function c(t,e){if(e&&("object"==(0,r.Z)(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return a(t)}function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},l(t)}var f=n(7169),p=n(7325),h=n(2538),g=n(9656);function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function v(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){(0,f.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var m={type:"logger",log:function(t){this.output("log",t)},warn:function(t){this.output("warn",t)},error:function(t){this.output("error",t)},output:function(t,e){console&&console[t]&&console[t].apply(console,e)}},y=new(function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.Z)(this,t),this.init(e,n)}return(0,i.Z)(t,[{key:"init",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=e.prefix||"i18next:",this.logger=t||m,this.options=e,this.debug=e.debug}},{key:"setDebug",value:function(t){this.debug=t}},{key:"log",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"log","",!0)}},{key:"warn",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"warn","",!0)}},{key:"error",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"error","")}},{key:"deprecate",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(t,e,n,r){return r&&!this.debug?null:("string"==typeof t[0]&&(t[0]="".concat(n).concat(this.prefix," ").concat(t[0])),this.logger[e](t))}},{key:"create",value:function(e){return new t(this.logger,v(v({},{prefix:"".concat(this.prefix,":").concat(e,":")}),this.options))}},{key:"clone",value:function(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new t(this.logger,e)}}]),t}()),b=function(){function t(){(0,o.Z)(this,t),this.observers={}}return(0,i.Z)(t,[{key:"on",value:function(t,e){var n=this;return t.split(" ").forEach((function(t){n.observers[t]=n.observers[t]||[],n.observers[t].push(e)})),this}},{key:"off",value:function(t,e){this.observers[t]&&(e?this.observers[t]=this.observers[t].filter((function(t){return t!==e})):delete this.observers[t])}},{key:"emit",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];this.observers[t]&&[].concat(this.observers[t]).forEach((function(t){t.apply(void 0,n)})),this.observers["*"]&&[].concat(this.observers["*"]).forEach((function(e){e.apply(e,[t].concat(n))}))}}]),t}();function w(){var t,e,n=new Promise((function(n,r){t=n,e=r}));return n.resolve=t,n.reject=e,n}function O(t){return null==t?"":""+t}function k(t,e,n){function r(t){return t&&t.indexOf("###")>-1?t.replace(/###/g,"."):t}function o(){return!t||"string"==typeof t}for(var i="string"!=typeof e?[].concat(e):e.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!t[a]&&n&&(t[a]=new n),t=Object.prototype.hasOwnProperty.call(t,a)?t[a]:{}}return o()?{}:{obj:t,k:r(i.shift())}}function P(t,e,n){var r=k(t,e,Object);r.obj[r.k]=n}function S(t,e){var n=k(t,e),r=n.obj,o=n.k;if(r)return r[o]}function x(t,e,n){var r=S(t,n);return void 0!==r?r:S(e,n)}function j(t,e,n){for(var r in e)"__proto__"!==r&&"constructor"!==r&&(r in t?"string"==typeof t[r]||t[r]instanceof String||"string"==typeof e[r]||e[r]instanceof String?n&&(t[r]=e[r]):j(t[r],e[r],n):t[r]=e[r]);return t}function E(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var L={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function N(t){return"string"==typeof t?t.replace(/[&<>"'\/]/g,(function(t){return L[t]})):t}var R="undefined"!=typeof window&&window.navigator&&void 0===window.navigator.userAgentData&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,T=[" ",",","?","!",";"];function C(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function A(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?C(Object(n),!0).forEach((function(e){(0,f.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function D(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(t){if(t[e])return t[e];for(var r=e.split(n),o=t,i=0;i<r.length;++i){if(!o)return;if("string"==typeof o[r[i]]&&i+1<r.length)return;if(void 0===o[r[i]]){for(var a=2,s=r.slice(i,i+a).join(n),u=o[s];void 0===u&&r.length>i+a;)a++,u=o[s=r.slice(i,i+a).join(n)];if(void 0===u)return;if(null===u)return null;if(e.endsWith(s)){if("string"==typeof u)return u;if(s&&"string"==typeof u[s])return u[s]}var c=r.slice(i+a).join(n);return c?D(u,c,n):void 0}o=o[r[i]]}return o}}var I=function(t){u(s,t);var e,n,r=(e=s,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,r=l(e);if(n){var o=l(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return c(this,t)});function s(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return(0,o.Z)(this,s),e=r.call(this),R&&b.call(a(e)),e.data=t||{},e.options=n,void 0===e.options.keySeparator&&(e.options.keySeparator="."),void 0===e.options.ignoreJSONStructure&&(e.options.ignoreJSONStructure=!0),e}return(0,i.Z)(s,[{key:"addNamespaces",value:function(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}},{key:"removeNamespaces",value:function(t){var e=this.options.ns.indexOf(t);e>-1&&this.options.ns.splice(e,1)}},{key:"getResource",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[t,e];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(o?n.split(o):n)),t.indexOf(".")>-1&&(a=t.split("."));var s=S(this.data,a);return s||!i||"string"!=typeof n?s:D(this.data&&this.data[t]&&this.data[t][e],n,o)}},{key:"addResource",value:function(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=this.options.keySeparator;void 0===i&&(i=".");var a=[t,e];n&&(a=a.concat(i?n.split(i):n)),t.indexOf(".")>-1&&(r=e,e=(a=t.split("."))[1]),this.addNamespaces(e),P(this.data,a,r),o.silent||this.emit("added",t,e,n,r)}},{key:"addResources",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in n)"string"!=typeof n[o]&&"[object Array]"!==Object.prototype.toString.apply(n[o])||this.addResource(t,e,o,n[o],{silent:!0});r.silent||this.emit("added",t,e,n)}},{key:"addResourceBundle",value:function(t,e,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[t,e];t.indexOf(".")>-1&&(r=n,n=e,e=(a=t.split("."))[1]),this.addNamespaces(e);var s=S(this.data,a)||{};r?j(s,n,o):s=A(A({},s),n),P(this.data,a,s),i.silent||this.emit("added",t,e,n)}},{key:"removeResourceBundle",value:function(t,e){this.hasResourceBundle(t,e)&&delete this.data[t][e],this.removeNamespaces(e),this.emit("removed",t,e)}},{key:"hasResourceBundle",value:function(t,e){return void 0!==this.getResource(t,e)}},{key:"getResourceBundle",value:function(t,e){return e||(e=this.options.defaultNS),"v1"===this.options.compatibilityAPI?A(A({},{}),this.getResource(t,e)):this.getResource(t,e)}},{key:"getDataByLanguage",value:function(t){return this.data[t]}},{key:"hasLanguageSomeTranslations",value:function(t){var e=this.getDataByLanguage(t);return!!(e&&Object.keys(e)||[]).find((function(t){return e[t]&&Object.keys(e[t]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),s}(b),U={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,e,n,r,o){var i=this;return t.forEach((function(t){i.processors[t]&&(e=i.processors[t].process(e,n,r,o))})),e}};function _(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function F(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_(Object(n),!0).forEach((function(e){(0,f.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var M={},Z=function(t){u(f,t);var e,n,s=(e=f,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,r=l(e);if(n){var o=l(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return c(this,t)});function f(t){var e,n,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,o.Z)(this,f),e=s.call(this),R&&b.call(a(e)),n=t,r=a(e),["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((function(t){n[t]&&(r[t]=n[t])})),e.options=i,void 0===e.options.keySeparator&&(e.options.keySeparator="."),e.logger=y.create("translator"),e}return(0,i.Z)(f,[{key:"changeLanguage",value:function(t){t&&(this.language=t)}},{key:"exists",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==t)return!1;var n=this.resolve(t,e);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(t,e){var n=void 0!==e.nsSeparator?e.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==e.keySeparator?e.keySeparator:this.options.keySeparator,o=e.ns||this.options.defaultNS||[],i=n&&t.indexOf(n)>-1,a=!(this.options.userDefinedKeySeparator||e.keySeparator||this.options.userDefinedNsSeparator||e.nsSeparator||function(t,e,n){e=e||"",n=n||"";var r=T.filter((function(t){return e.indexOf(t)<0&&n.indexOf(t)<0}));if(0===r.length)return!0;var o=new RegExp("(".concat(r.map((function(t){return"?"===t?"\\?":t})).join("|"),")")),i=!o.test(t);if(!i){var a=t.indexOf(n);a>0&&!o.test(t.substring(0,a))&&(i=!0)}return i}(t,n,r));if(i&&!a){var s=t.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:t,namespaces:o};var u=t.split(n);(n!==r||n===r&&this.options.ns.indexOf(u[0])>-1)&&(o=u.shift()),t=u.join(r)}return"string"==typeof o&&(o=[o]),{key:t,namespaces:o}}},{key:"translate",value:function(t,e,n){var o=this;if("object"!==(0,r.Z)(e)&&this.options.overloadTranslationOptionHandler&&(e=this.options.overloadTranslationOptionHandler(arguments)),e||(e={}),null==t)return"";Array.isArray(t)||(t=[String(t)]);var i=void 0!==e.returnDetails?e.returnDetails:this.options.returnDetails,a=void 0!==e.keySeparator?e.keySeparator:this.options.keySeparator,s=this.extractFromKey(t[t.length-1],e),u=s.key,c=s.namespaces,l=c[c.length-1],p=e.lng||this.language,h=e.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(p&&"cimode"===p.toLowerCase()){if(h){var g=e.nsSeparator||this.options.nsSeparator;return i?(d.res="".concat(l).concat(g).concat(u),d):"".concat(l).concat(g).concat(u)}return i?(d.res=u,d):u}var d=this.resolve(t,e),v=d&&d.res,m=d&&d.usedKey||u,y=d&&d.exactUsedKey||u,b=Object.prototype.toString.apply(v),w=void 0!==e.joinArrays?e.joinArrays:this.options.joinArrays,O=!this.i18nFormat||this.i18nFormat.handleAsObject;if(O&&v&&"string"!=typeof v&&"boolean"!=typeof v&&"number"!=typeof v&&["[object Number]","[object Function]","[object RegExp]"].indexOf(b)<0&&("string"!=typeof w||"[object Array]"!==b)){if(!e.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var k=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,v,F(F({},e),{},{ns:c})):"key '".concat(u," (").concat(this.language,")' returned an object instead of string.");return i?(d.res=k,d):k}if(a){var P="[object Array]"===b,S=P?[]:{},x=P?y:m;for(var j in v)if(Object.prototype.hasOwnProperty.call(v,j)){var E="".concat(x).concat(a).concat(j);S[j]=this.translate(E,F(F({},e),{joinArrays:!1,ns:c})),S[j]===E&&(S[j]=v[j])}v=S}}else if(O&&"string"==typeof w&&"[object Array]"===b)(v=v.join(w))&&(v=this.extendTranslation(v,t,e,n));else{var L=!1,N=!1,R=void 0!==e.count&&"string"!=typeof e.count,T=f.hasDefaultValue(e),C=R?this.pluralResolver.getSuffix(p,e.count,e):"",A=e["defaultValue".concat(C)]||e.defaultValue;!this.isValidLookup(v)&&T&&(L=!0,v=A),this.isValidLookup(v)||(N=!0,v=u);var D=(e.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&N?void 0:v,I=T&&A!==v&&this.options.updateMissing;if(N||L||I){if(this.logger.log(I?"updateKey":"missingKey",p,l,u,I?A:v),a){var U=this.resolve(u,F(F({},e),{},{keySeparator:!1}));U&&U.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var _=[],M=this.languageUtils.getFallbackCodes(this.options.fallbackLng,e.lng||this.language);if("fallback"===this.options.saveMissingTo&&M&&M[0])for(var Z=0;Z<M.length;Z++)_.push(M[Z]);else"all"===this.options.saveMissingTo?_=this.languageUtils.toResolveHierarchy(e.lng||this.language):_.push(e.lng||this.language);var V=function(t,n,r){var i=T&&r!==v?r:D;o.options.missingKeyHandler?o.options.missingKeyHandler(t,l,n,i,I,e):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(t,l,n,i,I,e),o.emit("missingKey",t,l,n,v)};this.options.saveMissing&&(this.options.saveMissingPlurals&&R?_.forEach((function(t){o.pluralResolver.getSuffixes(t,e).forEach((function(n){V([t],u+n,e["defaultValue".concat(n)]||A)}))})):V(_,u,A))}v=this.extendTranslation(v,t,e,d,n),N&&v===u&&this.options.appendNamespaceToMissingKey&&(v="".concat(l,":").concat(u)),(N||L)&&this.options.parseMissingKeyHandler&&(v="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(l,":").concat(u):u,L?v:void 0):this.options.parseMissingKeyHandler(v))}return i?(d.res=v,d):v}},{key:"extendTranslation",value:function(t,e,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,F(F({},this.options.interpolation.defaultVariables),n),r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(F(F({},n),{interpolation:F(F({},this.options.interpolation),n.interpolation)}));var a,s="string"==typeof t&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){var u=t.match(this.interpolator.nestingRegexp);a=u&&u.length}var c=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(c=F(F({},this.options.interpolation.defaultVariables),c)),t=this.interpolator.interpolate(t,c,n.lng||this.language,n),s){var l=t.match(this.interpolator.nestingRegexp);a<(l&&l.length)&&(n.nest=!1)}!1!==n.nest&&(t=this.interpolator.nest(t,(function(){for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];return o&&o[0]===r[0]&&!n.context?(i.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(e[0])),null):i.translate.apply(i,r.concat([e]))}),n)),n.interpolation&&this.interpolator.reset()}var f=n.postProcess||this.options.postProcess,p="string"==typeof f?[f]:f;return null!=t&&p&&p.length&&!1!==n.applyPostProcessor&&(t=U.handle(p,t,e,this.options&&this.options.postProcessPassResolved?F({i18nResolved:r},n):n,this)),t}},{key:"resolve",value:function(t){var e,n,r,o,i,a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof t&&(t=[t]),t.forEach((function(t){if(!a.isValidLookup(e)){var u=a.extractFromKey(t,s),c=u.key;n=c;var l=u.namespaces;a.options.fallbackNS&&(l=l.concat(a.options.fallbackNS));var f=void 0!==s.count&&"string"!=typeof s.count,p=f&&!s.ordinal&&0===s.count&&a.pluralResolver.shouldUseIntlApi(),h=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,g=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);l.forEach((function(t){a.isValidLookup(e)||(i=t,!M["".concat(g[0],"-").concat(t)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(i)&&(M["".concat(g[0],"-").concat(t)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(g.join(", "),'" won\'t get resolved as namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),g.forEach((function(n){if(!a.isValidLookup(e)){o=n;var i,u=[c];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(u,c,n,t,s);else{var l;f&&(l=a.pluralResolver.getSuffix(n,s.count,s));var g="".concat(a.options.pluralSeparator,"zero");if(f&&(u.push(c+l),p&&u.push(c+g)),h){var d="".concat(c).concat(a.options.contextSeparator).concat(s.context);u.push(d),f&&(u.push(d+l),p&&u.push(d+g))}}for(;i=u.pop();)a.isValidLookup(e)||(r=i,e=a.getResource(n,t,i,s))}})))}))}})),{res:e,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}},{key:"isValidLookup",value:function(t){return!(void 0===t||!this.options.returnNull&&null===t||!this.options.returnEmptyString&&""===t)}},{key:"getResource",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,e,n,r):this.resourceStore.getResource(t,e,n,r)}}],[{key:"hasDefaultValue",value:function(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&"defaultValue"===e.substring(0,12)&&void 0!==t[e])return!0;return!1}}]),f}(b);function V(t){return t.charAt(0).toUpperCase()+t.slice(1)}var B=function(){function t(e){(0,o.Z)(this,t),this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=y.create("languageUtils")}return(0,i.Z)(t,[{key:"getScriptPartFromCode",value:function(t){if(!t||t.indexOf("-")<0)return null;var e=t.split("-");return 2===e.length?null:(e.pop(),"x"===e[e.length-1].toLowerCase()?null:this.formatLanguageCode(e.join("-")))}},{key:"getLanguagePartFromCode",value:function(t){if(!t||t.indexOf("-")<0)return t;var e=t.split("-");return this.formatLanguageCode(e[0])}},{key:"formatLanguageCode",value:function(t){if("string"==typeof t&&t.indexOf("-")>-1){var e=["hans","hant","latn","cyrl","cans","mong","arab"],n=t.split("-");return this.options.lowerCaseLng?n=n.map((function(t){return t.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),e.indexOf(n[1].toLowerCase())>-1&&(n[1]=V(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),e.indexOf(n[1].toLowerCase())>-1&&(n[1]=V(n[1].toLowerCase())),e.indexOf(n[2].toLowerCase())>-1&&(n[2]=V(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}},{key:"isSupportedCode",value:function(t){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}},{key:"getBestMatchFromCodes",value:function(t){var e,n=this;return t?(t.forEach((function(t){if(!e){var r=n.formatLanguageCode(t);n.options.supportedLngs&&!n.isSupportedCode(r)||(e=r)}})),!e&&this.options.supportedLngs&&t.forEach((function(t){if(!e){var r=n.getLanguagePartFromCode(t);if(n.isSupportedCode(r))return e=r;e=n.options.supportedLngs.find((function(t){if(0===t.indexOf(r))return t}))}})),e||(e=this.getFallbackCodes(this.options.fallbackLng)[0]),e):null}},{key:"getFallbackCodes",value:function(t,e){if(!t)return[];if("function"==typeof t&&(t=t(e)),"string"==typeof t&&(t=[t]),"[object Array]"===Object.prototype.toString.apply(t))return t;if(!e)return t.default||[];var n=t[e];return n||(n=t[this.getScriptPartFromCode(e)]),n||(n=t[this.formatLanguageCode(e)]),n||(n=t[this.getLanguagePartFromCode(e)]),n||(n=t.default),n||[]}},{key:"toResolveHierarchy",value:function(t,e){var n=this,r=this.getFallbackCodes(e||this.options.fallbackLng||[],t),o=[],i=function(t){t&&(n.isSupportedCode(t)?o.push(t):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(t)))};return"string"==typeof t&&t.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(t)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(t)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(t))):"string"==typeof t&&i(this.formatLanguageCode(t)),r.forEach((function(t){o.indexOf(t)<0&&i(n.formatLanguageCode(t))})),o}}]),t}(),$=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],K={1:function(t){return Number(t>1)},2:function(t){return Number(1!=t)},3:function(t){return 0},4:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},5:function(t){return Number(0==t?0:1==t?1:2==t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5)},6:function(t){return Number(1==t?0:t>=2&&t<=4?1:2)},7:function(t){return Number(1==t?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},8:function(t){return Number(1==t?0:2==t?1:8!=t&&11!=t?2:3)},9:function(t){return Number(t>=2)},10:function(t){return Number(1==t?0:2==t?1:t<7?2:t<11?3:4)},11:function(t){return Number(1==t||11==t?0:2==t||12==t?1:t>2&&t<20?2:3)},12:function(t){return Number(t%10!=1||t%100==11)},13:function(t){return Number(0!==t)},14:function(t){return Number(1==t?0:2==t?1:3==t?2:3)},15:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2)},16:function(t){return Number(t%10==1&&t%100!=11?0:0!==t?1:2)},17:function(t){return Number(1==t||t%10==1&&t%100!=11?0:1)},18:function(t){return Number(0==t?0:1==t?1:2)},19:function(t){return Number(1==t?0:0==t||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3)},20:function(t){return Number(1==t?0:0==t||t%100>0&&t%100<20?1:2)},21:function(t){return Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0)},22:function(t){return Number(1==t?0:2==t?1:(t<0||t>10)&&t%10==0?2:3)}},H=["v1","v2","v3"],J={zero:0,one:1,two:2,few:3,many:4,other:5},W=function(){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.Z)(this,t),this.languageUtils=e,this.options=r,this.logger=y.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(n={},$.forEach((function(t){t.lngs.forEach((function(e){n[e]={numbers:t.nr,plurals:K[t.fc]}}))})),n)}return(0,i.Z)(t,[{key:"addRule",value:function(t,e){this.rules[t]=e}},{key:"getRule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(t,{type:e.ordinal?"ordinal":"cardinal"})}catch(t){return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}},{key:"needsPlural",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(t,e);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(t,n).map((function(t){return"".concat(e).concat(t)}))}},{key:"getSuffixes",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(t,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((function(t,e){return J[t]-J[e]})).map((function(t){return"".concat(e.options.prepend).concat(t)})):r.numbers.map((function(r){return e.getSuffix(t,r,n)})):[]}},{key:"getSuffix",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(t,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(e)):this.getSuffixRetroCompatible(r,e):(this.logger.warn("no plural rule found for: ".concat(t)),"")}},{key:"getSuffixRetroCompatible",value:function(t,e){var n=this,r=t.noAbs?t.plurals(e):t.plurals(Math.abs(e)),o=t.numbers[r];this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[0]&&(2===o?o="plural":1===o&&(o=""));var i=function(){return n.options.prepend&&o.toString()?n.options.prepend+o.toString():o.toString()};return"v1"===this.options.compatibilityJSON?1===o?"":"number"==typeof o?"_plural_".concat(o.toString()):i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[0]?i():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!H.includes(this.options.compatibilityJSON)}}]),t}();function z(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function G(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?z(Object(n),!0).forEach((function(e){(0,f.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var q=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,o.Z)(this,t),this.logger=y.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||function(t){return t},this.init(e)}return(0,i.Z)(t,[{key:"init",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});var e=t.interpolation;this.escape=void 0!==e.escape?e.escape:N,this.escapeValue=void 0===e.escapeValue||e.escapeValue,this.useRawValueToEscape=void 0!==e.useRawValueToEscape&&e.useRawValueToEscape,this.prefix=e.prefix?E(e.prefix):e.prefixEscaped||"{{",this.suffix=e.suffix?E(e.suffix):e.suffixEscaped||"}}",this.formatSeparator=e.formatSeparator?e.formatSeparator:e.formatSeparator||",",this.unescapePrefix=e.unescapeSuffix?"":e.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":e.unescapeSuffix||"",this.nestingPrefix=e.nestingPrefix?E(e.nestingPrefix):e.nestingPrefixEscaped||E("$t("),this.nestingSuffix=e.nestingSuffix?E(e.nestingSuffix):e.nestingSuffixEscaped||E(")"),this.nestingOptionsSeparator=e.nestingOptionsSeparator?e.nestingOptionsSeparator:e.nestingOptionsSeparator||",",this.maxReplaces=e.maxReplaces?e.maxReplaces:1e3,this.alwaysFormat=void 0!==e.alwaysFormat&&e.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var t="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(t,"g");var e="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(e,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(t,e,n,r){var o,i,a,s=this,u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(t){return t.replace(/\$/g,"$$$$")}var l=function(t){if(t.indexOf(s.formatSeparator)<0){var o=x(e,u,t);return s.alwaysFormat?s.format(o,void 0,n,G(G(G({},r),e),{},{interpolationkey:t})):o}var i=t.split(s.formatSeparator),a=i.shift().trim(),c=i.join(s.formatSeparator).trim();return s.format(x(e,u,a),c,n,G(G(G({},r),e),{},{interpolationkey:a}))};this.resetRegExp();var f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,p=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(t){return c(t)}},{regex:this.regexp,safeValue:function(t){return s.escapeValue?c(s.escape(t)):c(t)}}].forEach((function(e){for(a=0;o=e.regex.exec(t);){var n=o[1].trim();if(void 0===(i=l(n)))if("function"==typeof f){var u=f(t,o,r);i="string"==typeof u?u:""}else if(r&&r.hasOwnProperty(n))i="";else{if(p){i=o[0];continue}s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(t)),i=""}else"string"==typeof i||s.useRawValueToEscape||(i=O(i));var c=e.safeValue(i);if(t=t.replace(o[0],c),p?(e.regex.lastIndex+=i.length,e.regex.lastIndex-=o[0].length):e.regex.lastIndex=0,++a>=s.maxReplaces)break}})),t}},{key:"nest",value:function(t,e){var n,r,o=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=G({},i);function s(t,e){var n=this.nestingOptionsSeparator;if(t.indexOf(n)<0)return t;var r=t.split(new RegExp("".concat(n,"[ ]*{"))),o="{".concat(r[1]);t=r[0];var i=(o=this.interpolate(o,a)).match(/'/g),s=o.match(/"/g);(i&&i.length%2==0&&!s||s.length%2!=0)&&(o=o.replace(/'/g,'"'));try{a=JSON.parse(o),e&&(a=G(G({},e),a))}catch(e){return this.logger.warn("failed parsing options string in nesting for key ".concat(t),e),"".concat(t).concat(n).concat(o)}return delete a.defaultValue,t}for(a.applyPostProcessor=!1,delete a.defaultValue;n=this.nestingRegexp.exec(t);){var u=[],c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var l=n[1].split(this.formatSeparator).map((function(t){return t.trim()}));n[1]=l.shift(),u=l,c=!0}if((r=e(s.call(this,n[1].trim(),a),a))&&n[0]===t&&"string"!=typeof r)return r;"string"!=typeof r&&(r=O(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(t)),r=""),c&&(r=u.reduce((function(t,e){return o.format(t,e,i.lng,G(G({},i),{},{interpolationkey:n[1].trim()}))}),r.trim())),t=t.replace(n[0],r),this.regexp.lastIndex=0}return t}}]),t}();function Y(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Q(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Y(Object(n),!0).forEach((function(e){(0,f.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function X(t){var e={};return function(n,r,o){var i=r+JSON.stringify(o),a=e[i];return a||(a=t(r,o),e[i]=a),a(n)}}var tt=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,o.Z)(this,t),this.logger=y.create("formatter"),this.options=e,this.formats={number:X((function(t,e){var n=new Intl.NumberFormat(t,e);return function(t){return n.format(t)}})),currency:X((function(t,e){var n=new Intl.NumberFormat(t,Q(Q({},e),{},{style:"currency"}));return function(t){return n.format(t)}})),datetime:X((function(t,e){var n=new Intl.DateTimeFormat(t,Q({},e));return function(t){return n.format(t)}})),relativetime:X((function(t,e){var n=new Intl.RelativeTimeFormat(t,Q({},e));return function(t){return n.format(t,e.range||"day")}})),list:X((function(t,e){var n=new Intl.ListFormat(t,Q({},e));return function(t){return n.format(t)}}))},this.init(e)}return(0,i.Z)(t,[{key:"init",value:function(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=e.formatSeparator?e.formatSeparator:e.formatSeparator||","}},{key:"add",value:function(t,e){this.formats[t.toLowerCase().trim()]=e}},{key:"addCached",value:function(t,e){this.formats[t.toLowerCase().trim()]=X(e)}},{key:"format",value:function(t,e,n,r){var o=this;return e.split(this.formatSeparator).reduce((function(t,e){var i=function(t){var e=t.toLowerCase().trim(),n={};if(t.indexOf("(")>-1){var r=t.split("(");e=r[0].toLowerCase().trim();var o=r[1].substring(0,r[1].length-1);"currency"===e&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):"relativetime"===e&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach((function(t){if(t){var e=(i=t.split(":"),(0,p.Z)(i)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(i)||(0,h.Z)(i)||(0,g.Z)()),r=e[0],o=e.slice(1).join(":").trim().replace(/^'+|'+$/g,"");n[r.trim()]||(n[r.trim()]=o),"false"===o&&(n[r.trim()]=!1),"true"===o&&(n[r.trim()]=!0),isNaN(o)||(n[r.trim()]=parseInt(o,10))}var i}))}return{formatName:e,formatOptions:n}}(e),a=i.formatName,s=i.formatOptions;if(o.formats[a]){var u=t;try{var c=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},l=c.locale||c.lng||r.locale||r.lng||n;u=o.formats[a](t,l,Q(Q(Q({},s),r),c))}catch(t){o.logger.warn(t)}return u}return o.logger.warn("there was no format function for ".concat(a)),t}),t)}}]),t}();function et(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function nt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?et(Object(n),!0).forEach((function(e){(0,f.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):et(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var rt=function(t){u(s,t);var e,n,r=(e=s,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,r=l(e);if(n){var o=l(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return c(this,t)});function s(t,e,n){var i,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return(0,o.Z)(this,s),i=r.call(this),R&&b.call(a(i)),i.backend=t,i.store=e,i.services=n,i.languageUtils=n.languageUtils,i.options=u,i.logger=y.create("backendConnector"),i.waitingReads=[],i.maxParallelReads=u.maxParallelReads||10,i.readingCalls=0,i.maxRetries=u.maxRetries>=0?u.maxRetries:5,i.retryTimeout=u.retryTimeout>=1?u.retryTimeout:350,i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(n,u.backend,u),i}return(0,i.Z)(s,[{key:"queueLoad",value:function(t,e,n,r){var o=this,i={},a={},s={},u={};return t.forEach((function(t){var r=!0;e.forEach((function(e){var s="".concat(t,"|").concat(e);!n.reload&&o.store.hasResourceBundle(t,e)?o.state[s]=2:o.state[s]<0||(1===o.state[s]?void 0===a[s]&&(a[s]=!0):(o.state[s]=1,r=!1,void 0===a[s]&&(a[s]=!0),void 0===i[s]&&(i[s]=!0),void 0===u[e]&&(u[e]=!0)))})),r||(s[t]=!0)})),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(u)}}},{key:"loaded",value:function(t,e,n){var r=t.split("|"),o=r[0],i=r[1];e&&this.emit("failedLoading",o,i,e),n&&this.store.addResourceBundle(o,i,n),this.state[t]=e?-1:2;var a={};this.queue.forEach((function(n){var r,s,u,c,l;r=n.loaded,s=i,(c=(u=k(r,[o],Object)).obj)[l=u.k]=c[l]||[],c[l].push(s),function(t,e){void 0!==t.pending[e]&&(delete t.pending[e],t.pendingCount--)}(n,t),e&&n.errors.push(e),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((function(t){a[t]||(a[t]={});var e=n.loaded[t];e.length&&e.forEach((function(e){void 0===a[t][e]&&(a[t][e]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((function(t){return!t.done}))}},{key:"read",value:function(t,e,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;return t.length?this.readingCalls>=this.maxParallelReads?void this.waitingReads.push({lng:t,ns:e,fcName:n,tried:o,wait:i,callback:a}):(this.readingCalls++,this.backend[n](t,e,(function(s,u){if(r.readingCalls--,r.waitingReads.length>0){var c=r.waitingReads.shift();r.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}s&&u&&o<r.maxRetries?setTimeout((function(){r.read.call(r,t,e,n,o+1,2*i,a)}),i):a(s,u)}))):a(null,{})}},{key:"prepareLoading",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"==typeof t&&(t=this.languageUtils.toResolveHierarchy(t)),"string"==typeof e&&(e=[e]);var i=this.queueLoad(t,e,r,o);if(!i.toLoad.length)return i.pending.length||o(),null;i.toLoad.forEach((function(t){n.loadOne(t)}))}},{key:"load",value:function(t,e,n){this.prepareLoading(t,e,{},n)}},{key:"reload",value:function(t,e,n){this.prepareLoading(t,e,{reload:!0},n)}},{key:"loadOne",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=t.split("|"),o=r[0],i=r[1];this.read(o,i,"read",void 0,void 0,(function(r,a){r&&e.logger.warn("".concat(n,"loading namespace ").concat(i," for language ").concat(o," failed"),r),!r&&a&&e.logger.log("".concat(n,"loaded namespace ").concat(i," for language ").concat(o),a),e.loaded(t,r,a)}))}},{key:"saveMissing",value:function(t,e,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(e)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(e,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(t,e,n,r,null,nt(nt({},i),{},{isUpdate:o})),t&&t[0]&&this.store.addResource(t[0],e,n,r))}}]),s}(b);function ot(t){return"string"==typeof t.ns&&(t.ns=[t.ns]),"string"==typeof t.fallbackLng&&(t.fallbackLng=[t.fallbackLng]),"string"==typeof t.fallbackNS&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs&&t.supportedLngs.indexOf("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),t}function it(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function at(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?it(Object(n),!0).forEach((function(e){(0,f.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):it(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function st(){}var ut=function(t){u(f,t);var e,n,s=(e=f,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,r=l(e);if(n){var o=l(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return c(this,t)});function f(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if((0,o.Z)(this,f),t=s.call(this),R&&b.call(a(t)),t.options=ot(n),t.services={},t.logger=y,t.modules={external:[]},e=a(t),Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((function(t){"function"==typeof e[t]&&(e[t]=e[t].bind(e))})),r&&!t.isInitialized&&!n.isClone){if(!t.options.initImmediate)return t.init(n,r),c(t,a(t));setTimeout((function(){t.init(n,r)}),0)}return t}return(0,i.Z)(f,[{key:"init",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof e&&(n=e,e={}),!e.defaultNS&&!1!==e.defaultNS&&e.ns&&("string"==typeof e.ns?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));var o={debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var e={};if("object"===(0,r.Z)(t[1])&&(e=t[1]),"string"==typeof t[1]&&(e.defaultValue=t[1]),"string"==typeof t[2]&&(e.tDescription=t[2]),"object"===(0,r.Z)(t[2])||"object"===(0,r.Z)(t[3])){var n=t[3]||t[2];Object.keys(n).forEach((function(t){e[t]=n[t]}))}return e},interpolation:{escapeValue:!0,format:function(t,e,n,r){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}};function i(t){return t?"function"==typeof t?new t:t:null}if(this.options=at(at(at({},o),this.options),ot(e)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=at(at({},o.interpolation),this.options.interpolation)),void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator),!this.options.isClone){var a;this.modules.logger?y.init(i(this.modules.logger),this.options):y.init(null,this.options),this.modules.formatter?a=this.modules.formatter:"undefined"!=typeof Intl&&(a=tt);var s=new B(this.options);this.store=new I(this.options.resources,this.options);var u=this.services;u.logger=y,u.resourceStore=this.store,u.languageUtils=s,u.pluralResolver=new W(s,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!a||this.options.interpolation.format&&this.options.interpolation.format!==o.interpolation.format||(u.formatter=i(a),u.formatter.init(u,this.options),this.options.interpolation.format=u.formatter.format.bind(u.formatter)),u.interpolator=new q(this.options),u.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},u.backendConnector=new rt(i(this.modules.backend),u.resourceStore,u,this.options),u.backendConnector.on("*",(function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t.emit.apply(t,[e].concat(r))})),this.modules.languageDetector&&(u.languageDetector=i(this.modules.languageDetector),u.languageDetector.init(u,this.options.detection,this.options)),this.modules.i18nFormat&&(u.i18nFormat=i(this.modules.i18nFormat),u.i18nFormat.init&&u.i18nFormat.init(this)),this.translator=new Z(this.services,this.options),this.translator.on("*",(function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t.emit.apply(t,[e].concat(r))})),this.modules.external.forEach((function(e){e.init&&e.init(t)}))}if(this.format=this.options.interpolation.format,n||(n=st),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var c=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);c.length>0&&"dev"!==c[0]&&(this.options.lng=c[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((function(e){t[e]=function(){var n;return(n=t.store)[e].apply(n,arguments)}})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((function(e){t[e]=function(){var n;return(n=t.store)[e].apply(n,arguments),t}}));var l=w(),f=function(){var e=function(e,r){t.isInitialized&&!t.initializedStoreOnce&&t.logger.warn("init: i18next is already initialized. You should call init just once!"),t.isInitialized=!0,t.options.isClone||t.logger.log("initialized",t.options),t.emit("initialized",t.options),l.resolve(r),n(e,r)};if(t.languages&&"v1"!==t.options.compatibilityAPI&&!t.isInitialized)return e(null,t.t.bind(t));t.changeLanguage(t.options.lng,e)};return this.options.resources||!this.options.initImmediate?f():setTimeout(f,0),l}},{key:"loadResources",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:st,r="string"==typeof t?t:this.language;if("function"==typeof t&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase())return n();var o=[],i=function(t){t&&e.services.languageUtils.toResolveHierarchy(t).forEach((function(t){o.indexOf(t)<0&&o.push(t)}))};r?i(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((function(t){return i(t)})),this.options.preload&&this.options.preload.forEach((function(t){return i(t)})),this.services.backendConnector.load(o,this.options.ns,(function(t){t||e.resolvedLanguage||!e.language||e.setResolvedLanguage(e.language),n(t)}))}else n(null)}},{key:"reloadResources",value:function(t,e,n){var r=w();return t||(t=this.languages),e||(e=this.options.ns),n||(n=st),this.services.backendConnector.reload(t,e,(function(t){r.resolve(),n(t)})),r}},{key:"use",value:function(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===t.type&&(this.modules.backend=t),("logger"===t.type||t.log&&t.warn&&t.error)&&(this.modules.logger=t),"languageDetector"===t.type&&(this.modules.languageDetector=t),"i18nFormat"===t.type&&(this.modules.i18nFormat=t),"postProcessor"===t.type&&U.addPostProcessor(t),"formatter"===t.type&&(this.modules.formatter=t),"3rdParty"===t.type&&this.modules.external.push(t),this}},{key:"setResolvedLanguage",value:function(t){if(t&&this.languages&&!(["cimode","dev"].indexOf(t)>-1))for(var e=0;e<this.languages.length;e++){var n=this.languages[e];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(t,e){var n=this;this.isLanguageChangingTo=t;var r=w();this.emit("languageChanging",t);var o=function(t){n.language=t,n.languages=n.services.languageUtils.toResolveHierarchy(t),n.resolvedLanguage=void 0,n.setResolvedLanguage(t)},i=function(i){t||i||!n.services.languageDetector||(i=[]);var a="string"==typeof i?i:n.services.languageUtils.getBestMatchFromCodes(i);a&&(n.language||o(a),n.translator.language||n.translator.changeLanguage(a),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(a)),n.loadResources(a,(function(t){!function(t,i){i?(o(i),n.translator.changeLanguage(i),n.isLanguageChangingTo=void 0,n.emit("languageChanged",i),n.logger.log("languageChanged",i)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),e&&e(t,(function(){return n.t.apply(n,arguments)}))}(t,a)}))};return t||!this.services.languageDetector||this.services.languageDetector.async?!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(i):i(t):i(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(t,e,n){var o=this,i=function t(e,i){var a;if("object"!==(0,r.Z)(i)){for(var s=arguments.length,u=new Array(s>2?s-2:0),c=2;c<s;c++)u[c-2]=arguments[c];a=o.options.overloadTranslationOptionHandler([e,i].concat(u))}else a=at({},i);a.lng=a.lng||t.lng,a.lngs=a.lngs||t.lngs,a.ns=a.ns||t.ns,a.keyPrefix=a.keyPrefix||n||t.keyPrefix;var l=o.options.keySeparator||".",f=a.keyPrefix?"".concat(a.keyPrefix).concat(l).concat(e):e;return o.t(f,a)};return"string"==typeof t?i.lng=t:i.lngs=t,i.ns=e,i.keyPrefix=n,i}},{key:"t",value:function(){var t;return this.translator&&(t=this.translator).translate.apply(t,arguments)}},{key:"exists",value:function(){var t;return this.translator&&(t=this.translator).exists.apply(t,arguments)}},{key:"setDefaultNamespace",value:function(t){this.options.defaultNS=t}},{key:"hasLoadedNamespace",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],o=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(t,n){var r=e.services.backendConnector.state["".concat(t,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,a);if(void 0!==s)return s}return!(!this.hasResourceBundle(r,t)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!a(r,t)||o&&!a(i,t)))}},{key:"loadNamespaces",value:function(t,e){var n=this,r=w();return this.options.ns?("string"==typeof t&&(t=[t]),t.forEach((function(t){n.options.ns.indexOf(t)<0&&n.options.ns.push(t)})),this.loadResources((function(t){r.resolve(),e&&e(t)})),r):(e&&e(),Promise.resolve())}},{key:"loadLanguages",value:function(t,e){var n=w();"string"==typeof t&&(t=[t]);var r=this.options.preload||[],o=t.filter((function(t){return r.indexOf(t)<0}));return o.length?(this.options.preload=r.concat(o),this.loadResources((function(t){n.resolve(),e&&e(t)})),n):(e&&e(),Promise.resolve())}},{key:"dir",value:function(t){return t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),t?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}},{key:"cloneInstance",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:st,r=at(at(at({},this.options),e),{isClone:!0}),o=new f(r);return void 0===e.debug&&void 0===e.prefix||(o.logger=o.logger.clone(e)),["store","services","language"].forEach((function(e){o[e]=t[e]})),o.services=at({},this.services),o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o.translator=new Z(o.services,o.options),o.translator.on("*",(function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];o.emit.apply(o,[t].concat(n))})),o.init(r,n),o.translator.options=o.options,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),f}(b);(0,f.Z)(ut,"createInstance",(function(){return new ut(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}));var ct=ut.createInstance();ct.createInstance=ut.createInstance,ct.createInstance,ct.init,ct.loadResources,ct.reloadResources,ct.use,ct.changeLanguage,ct.getFixedT,ct.t,ct.exists,ct.setDefaultNamespace,ct.hasLoadedNamespace,ct.loadNamespaces,ct.loadLanguages;const lt=ct},2619:(t,e,n)=>{n.d(e,{d6:()=>xt,rs:()=>Tt});var r=Object.freeze({__proto__:null,get start(){return Mt},get ensureJQuerySupport(){return ht},get setBootstrapMaxTime(){return W},get setMountMaxTime(){return z},get setUnmountMaxTime(){return G},get setUnloadMaxTime(){return q},get registerApplication(){return xt},get unregisterApplication(){return Et},get getMountedApps(){return Ot},get getAppStatus(){return Pt},get unloadApplication(){return Lt},get checkActivityFunctions(){return jt},get getAppNames(){return kt},get pathToActiveWhen(){return Tt},get navigateToUrl(){return rt},get patchHistoryApi(){return lt},get triggerAppChange(){return It},get addErrorHandler(){return u},get removeErrorHandler(){return c},get mountRootParcel(){return B},get NOT_LOADED(){return p},get LOADING_SOURCE_CODE(){return h},get NOT_BOOTSTRAPPED(){return g},get BOOTSTRAPPING(){return d},get NOT_MOUNTED(){return v},get MOUNTING(){return m},get UPDATING(){return b},get LOAD_ERROR(){return k},get MOUNTED(){return y},get UNLOADING(){return O},get UNMOUNTING(){return w},get SKIP_BECAUSE_BROKEN(){return P}}),o=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{}).CustomEvent,i=function(){try{var t=new o("cat",{detail:{foo:"bar"}});return"cat"===t.type&&"bar"===t.detail.foo}catch(t){}return!1}()?o:"undefined"!=typeof document&&"function"==typeof document.createEvent?function(t,e){var n=document.createEvent("CustomEvent");return e?n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail):n.initCustomEvent(t,!1,!1,void 0),n}:function(t,e){var n=document.createEventObject();return n.type=t,e?(n.bubbles=Boolean(e.bubbles),n.cancelable=Boolean(e.cancelable),n.detail=e.detail):(n.bubbles=!1,n.cancelable=!1,n.detail=void 0),n};let a=[];function s(t,e,n){const r=f(t,e,n);a.length?a.forEach((t=>t(r))):setTimeout((()=>{throw r}))}function u(t){if("function"!=typeof t)throw Error(l(28,!1));a.push(t)}function c(t){if("function"!=typeof t)throw Error(l(29,!1));let e=!1;return a=a.filter((n=>{const r=n===t;return e=e||r,!r})),e}function l(t,e,...n){return`single-spa minified message #${t}: ${e?e+" ":""}See https://single-spa.js.org/error/?code=${t}${n.length?`&arg=${n.join("&arg=")}`:""}`}function f(t,e,n){const r=`${L(e)} '${j(e)}' died in status ${e.status}: `;let o;if(t instanceof Error){try{t.message=r+t.message}catch(t){}o=t}else{console.warn(l(30,!1,e.status,j(e)));try{o=Error(r+JSON.stringify(t))}catch(e){o=t}}return o.appOrParcelName=j(e),e.status=n,o}const p="NOT_LOADED",h="LOADING_SOURCE_CODE",g="NOT_BOOTSTRAPPED",d="BOOTSTRAPPING",v="NOT_MOUNTED",m="MOUNTING",y="MOUNTED",b="UPDATING",w="UNMOUNTING",O="UNLOADING",k="LOAD_ERROR",P="SKIP_BECAUSE_BROKEN";function S(t){return t.status===y}function x(t){try{return t.activeWhen(window.location)}catch(e){return s(e,t,P),!1}}function j(t){return t.name}function E(t){return Boolean(t.unmountThisParcel)}function L(t){return E(t)?"parcel":"application"}function N(){for(let t=arguments.length-1;t>0;t--)for(let e in arguments[t])"__proto__"!==e&&(arguments[t-1][e]=arguments[t][e]);return arguments[0]}function R(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return t[n];return null}function T(t){return t&&("function"==typeof t||(e=t,Array.isArray(e)&&!R(e,(t=>"function"!=typeof t))));var e}function C(t,e){let n=t[e]||[];n=Array.isArray(n)?n:[n],0===n.length&&(n=[()=>Promise.resolve()]);const r=L(t),o=j(t);return function(t){return n.reduce(((n,i,a)=>n.then((()=>{const n=i(t);return A(n)?n:Promise.reject(l(15,!1,r,o,e,a))}))),Promise.resolve())}}function A(t){return t&&"function"==typeof t.then&&"function"==typeof t.catch}let D=[];function I(t,e){return Promise.resolve().then((()=>t.status!==g?t:(t.status=d,t.bootstrap?Y(t,"bootstrap").then(n).catch((n=>{if(e)throw f(n,t,P);return s(n,t,P),t})):Promise.resolve().then(n))));function n(){return t.status=v,t}}function U(t,e){return Promise.resolve().then((()=>{if(t.status!==y)return t;t.status=w;const n=Object.keys(t.parcels).map((e=>t.parcels[e].unmountThisParcel()));return Promise.all(n).then(r,(n=>r().then((()=>{const r=Error(n.message);if(e)throw f(r,t,P);s(r,t,P)})))).then((()=>t));function r(){return Y(t,"unmount").then((()=>{t.status=v}),(n=>{if(e)throw f(n,t,P);s(n,t,P)}))}}))}let _=!1,F=!1;function M(t,e){return Promise.resolve().then((()=>t.status!==v?t:(_||(window.dispatchEvent(new i("single-spa:before-first-mount")),_=!0),t.status=m,Y(t,"mount").then((()=>(t.status=y,F||(window.dispatchEvent(new i("single-spa:first-mount")),F=!0),t))).catch((n=>{return t.status=y,U(t,!0).then(r,r);function r(){if(e)throw f(n,t,P);return s(n,t,P),t}})))))}let Z=0;const V={parcels:{}};function B(){return $.apply(V,arguments)}function $(t,e){const n=this;if(!t||"object"!=typeof t&&"function"!=typeof t)throw Error(l(2,!1));if(t.name&&"string"!=typeof t.name)throw Error(l(3,!1,typeof t.name));const r=Z++;let o=t.name||`parcel-${r}`;if("object"!=typeof e)throw Error(l(4,!1,o,typeof e));if(!e.domElement)throw Error(l(5,!1,o));const i="function"==typeof t,a=i?t:()=>Promise.resolve(t),s={id:r,parcels:{},status:i?h:g,customProps:e,parentName:j(n),unmountThisParcel:()=>d.then((()=>{if(s.status!==y)throw Error(l(6,!1,o,s.status));return U(s,!0)})).then((t=>(s.parentName&&delete n.parcels[s.id],t))).then((t=>(m(t),t))).catch((t=>{throw s.status=P,w(t),t}))};let u;n.parcels[r]=s;let c=a();if(!c||"function"!=typeof c.then)throw Error(l(7,!1));c=c.then((t=>{if(!t)throw Error(l(8,!1));if(o=t.name||`parcel-${r}`,Object.prototype.hasOwnProperty.call(t,"bootstrap")&&!T(t.bootstrap))throw Error(l(9,!1,o));if(!T(t.mount))throw Error(l(10,!1,o));if(!T(t.unmount))throw Error(l(11,!1,o));if(t.update&&!T(t.update))throw Error(l(12,!1,o));const e=C(t,"bootstrap"),n=C(t,"mount"),i=C(t,"unmount");s.status=g,s.name=o,s.bootstrap=e,s.mount=n,s.unmount=i,s.timeouts=Q(t.timeouts),t.update&&(s.update=C(t,"update"),u.update=function(t){return s.customProps=t,K((e=s,Promise.resolve().then((()=>{if(e.status!==y)throw Error(l(32,!1,j(e)));return e.status=b,Y(e,"update").then((()=>(e.status=y,e))).catch((t=>{throw f(t,e,P)}))}))));var e})}));const p=c.then((()=>I(s,!0))),d=p.then((()=>M(s,!0)));let m,w;const O=new Promise(((t,e)=>{m=t,w=e}));return u={mount:()=>K(Promise.resolve().then((()=>{if(s.status!==v)throw Error(l(13,!1,o,s.status));return n.parcels[r]=s,M(s)}))),unmount:()=>K(s.unmountThisParcel()),getStatus:()=>s.status,loadPromise:K(c),bootstrapPromise:K(p),mountPromise:K(d),unmountPromise:K(O)},u}function K(t){return t.then((()=>null))}function H(t){const e=j(t);let n="function"==typeof t.customProps?t.customProps(e,window.location):t.customProps;("object"!=typeof n||null===n||Array.isArray(n))&&(n={},console.warn(l(40,!1),e,n));const o=N({},n,{name:e,mountParcel:$.bind(t),singleSpa:r});return E(t)&&(o.unmountSelf=t.unmountThisParcel),o}const J={bootstrap:{millis:4e3,dieOnTimeout:!1,warningMillis:1e3},mount:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},unmount:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},unload:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},update:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3}};function W(t,e,n){if("number"!=typeof t||t<=0)throw Error(l(16,!1));J.bootstrap={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function z(t,e,n){if("number"!=typeof t||t<=0)throw Error(l(17,!1));J.mount={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function G(t,e,n){if("number"!=typeof t||t<=0)throw Error(l(18,!1));J.unmount={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function q(t,e,n){if("number"!=typeof t||t<=0)throw Error(l(19,!1));J.unload={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function Y(t,e){const n=t.timeouts[e],r=n.warningMillis,o=L(t);return new Promise(((i,a)=>{let s=!1,u=!1;t[e](H(t)).then((t=>{s=!0,i(t)})).catch((t=>{s=!0,a(t)})),setTimeout((()=>f(1)),r),setTimeout((()=>f(!0)),n.millis);const c=l(31,!1,e,o,j(t),n.millis);function f(t){if(!s)if(!0===t)u=!0,n.dieOnTimeout?a(Error(c)):console.error(c);else if(!u){const e=t,o=e*r;console.warn(c),o+r<n.millis&&setTimeout((()=>f(e+1)),r)}}}))}function Q(t){const e={};for(let n in J)e[n]=N({},J[n],t&&t[n]||{});return e}function X(t){return Promise.resolve().then((()=>{if(t.loadPromise)return t.loadPromise;if(t.status!==p&&t.status!==k)return t;let e,n;return t.status=h,t.loadPromise=Promise.resolve().then((()=>{const r=t.loadApp(H(t));if(!A(r))throw n=!0,Error(l(33,!1,j(t)));return r.then((n=>{let r;t.loadErrorTime=null,e=n,"object"!=typeof e&&(r=34),Object.prototype.hasOwnProperty.call(e,"bootstrap")&&!T(e.bootstrap)&&(r=35),T(e.mount)||(r=36),T(e.unmount)||(r=37);const o=L(e);if(r){let n;try{n=JSON.stringify(e)}catch(t){}return console.error(l(r,!1,o,j(t),n),e),s(void 0,t,P),t}return e.devtools&&e.devtools.overlays&&(t.devtools.overlays=N({},t.devtools.overlays,e.devtools.overlays)),t.status=g,t.bootstrap=C(e,"bootstrap"),t.mount=C(e,"mount"),t.unmount=C(e,"unmount"),t.unload=C(e,"unload"),t.timeouts=Q(e.timeouts),delete t.loadPromise,t}))})).catch((e=>{let r;return delete t.loadPromise,n?r=P:(r=k,t.loadErrorTime=(new Date).getTime()),s(e,t,r),t}))}))}const tt="undefined"!=typeof window,et={hashchange:[],popstate:[]},nt=["hashchange","popstate"];function rt(t){let e;if("string"==typeof t)e=t;else if(this&&this.href)e=this.href;else{if(!(t&&t.currentTarget&&t.currentTarget.href&&t.preventDefault))throw Error(l(14,!1));e=t.currentTarget.href,t.preventDefault()}const n=ft(window.location.href),r=ft(e);0===e.indexOf("#")?window.location.hash=r.hash:n.host!==r.host&&r.host?window.location.href=e:r.pathname===n.pathname&&r.search===n.search?window.location.hash=r.hash:window.history.pushState(null,null,e)}function ot(t){if(t){const e=t[0].type;nt.indexOf(e)>=0&&et[e].forEach((e=>{try{e.apply(this,t)}catch(t){setTimeout((()=>{throw t}))}}))}}let it;function at(){Ut([],arguments)}function st(t,e){return function(){const n=window.location.href,r=t.apply(this,arguments),o=window.location.href;return it&&n===o||window.dispatchEvent(function(t,e){let n;try{n=new PopStateEvent("popstate",{state:t})}catch(e){n=document.createEvent("PopStateEvent"),n.initPopStateEvent("popstate",!1,!1,t)}return n.singleSpa=!0,n.singleSpaTrigger=e,n}(window.history.state,e)),r}}let ut=null,ct=!1;function lt(t){if(ct)throw Error(l(43,!1));it=!t||!t.hasOwnProperty("urlRerouteOnly")||t.urlRerouteOnly,ct=!0,ut=window.history.replaceState,window.addEventListener("hashchange",at),window.addEventListener("popstate",at);const e=window.addEventListener,n=window.removeEventListener;window.addEventListener=function(t,n){if(!("function"==typeof n&&nt.indexOf(t)>=0)||R(et[t],(t=>t===n)))return e.apply(this,arguments);et[t].push(n)},window.removeEventListener=function(t,e){return"function"==typeof e&&nt.indexOf(t)>=0&&(et[t]=et[t].filter((t=>t!==e))),n.apply(this,arguments)},window.history.pushState=st(window.history.pushState,"pushState"),window.history.replaceState=st(ut,"replaceState")}function ft(t){const e=document.createElement("a");return e.href=t,e}tt&&(window.singleSpaNavigate?console.warn(l(41,!1)):window.singleSpaNavigate=rt);let pt=!1;function ht(t=window.jQuery){if(t||window.$&&window.$.fn&&window.$.fn.jquery&&(t=window.$),t&&!pt){const e=t.fn.on,n=t.fn.off;t.fn.on=function(t,n){return gt.call(this,e,window.addEventListener,t,n,arguments)},t.fn.off=function(t,e){return gt.call(this,n,window.removeEventListener,t,e,arguments)},pt=!0}}function gt(t,e,n,r,o){return"string"!=typeof n?t.apply(this,o):(n.split(/\s+/).forEach((t=>{nt.indexOf(t)>=0&&(e(t,r),n=n.replace(t,""))})),""===n.trim()?this:t.apply(this,o))}const dt={};function vt(t){return Promise.resolve().then((()=>{const e=dt[j(t)];if(!e)return t;if(t.status===p)return mt(t,e),t;if(t.status===O)return e.promise.then((()=>t));if(t.status!==v&&t.status!==k)return t;const n=t.status===k?Promise.resolve():Y(t,"unload");return t.status=O,n.then((()=>(mt(t,e),t))).catch((n=>(function(t,e,n){delete dt[j(t)],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,s(n,t,P),e.reject(n)}(t,e,n),t)))}))}function mt(t,e){delete dt[j(t)],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,t.status=p,e.resolve()}function yt(t,e,n,r){dt[j(t)]={app:t,resolve:n,reject:r},Object.defineProperty(dt[j(t)],"promise",{get:e})}function bt(t){return dt[t]}const wt=[];function Ot(){return wt.filter(S).map(j)}function kt(){return wt.map(j)}function Pt(t){const e=R(wt,(e=>j(e)===t));return e?e.status:null}let St=!1;function xt(t,e,n,r){const o=function(t,e,n,r){const o={name:null,loadApp:null,activeWhen:null,customProps:null};return"object"==typeof t?(function(t){if(Array.isArray(t)||null===t)throw Error(l(39,!1));const e=["name","app","activeWhen","customProps"],n=Object.keys(t).reduce(((t,n)=>e.indexOf(n)>=0?t:t.concat(n)),[]);if(0!==n.length)throw Error(l(38,!1,e.join(", "),n.join(", ")));if("string"!=typeof t.name||0===t.name.length)throw Error(l(20,!1));if("object"!=typeof t.app&&"function"!=typeof t.app)throw Error(l(20,!1));const r=t=>"string"==typeof t||"function"==typeof t;if(!(r(t.activeWhen)||Array.isArray(t.activeWhen)&&t.activeWhen.every(r)))throw Error(l(24,!1));if(!Rt(t.customProps))throw Error(l(22,!1))}(t),o.name=t.name,o.loadApp=t.app,o.activeWhen=t.activeWhen,o.customProps=t.customProps):(function(t,e,n,r){if("string"!=typeof t||0===t.length)throw Error(l(20,!1));if(!e)throw Error(l(23,!1));if("function"!=typeof n)throw Error(l(24,!1));if(!Rt(r))throw Error(l(22,!1))}(t,e,n,r),o.name=t,o.loadApp=e,o.activeWhen=n,o.customProps=r),o.loadApp="function"!=typeof(i=o.loadApp)?()=>Promise.resolve(i):i,o.customProps=function(t){return t||{}}(o.customProps),o.activeWhen=function(t){let e=Array.isArray(t)?t:[t];return e=e.map((t=>"function"==typeof t?t:Tt(t))),t=>e.some((e=>e(t)))}(o.activeWhen),o;var i}(t,e,n,r);if(Zt()||St||(St=!0,setTimeout((()=>{Zt()||console.warn(l(1,!1))}),5e3)),-1!==kt().indexOf(o.name))throw Error(l(21,!1,o.name));wt.push(N({loadErrorTime:null,status:p,parcels:{},devtools:{overlays:{options:{},selectors:[]}}},o)),tt&&(ht(),Ut())}function jt(t=window.location){return wt.filter((e=>e.activeWhen(t))).map(j)}function Et(t){if(0===wt.filter((e=>j(e)===t)).length)throw Error(l(25,!1,t));return(tt?Lt(t,{waitForUnmount:!1}):Promise.resolve()).then((()=>{const e=wt.map(j).indexOf(t);wt.splice(e,1)}))}function Lt(t,e={waitForUnmount:!1}){if("string"!=typeof t)throw Error(l(26,!1));const n=R(wt,(e=>j(e)===t));if(!n)throw Error(l(27,!1,t));const r=bt(j(n));if(e&&e.waitForUnmount){if(r)return r.promise;{const t=new Promise(((e,r)=>{yt(n,(()=>t),e,r)}));return t}}{let t;return r?(t=r.promise,Nt(n,r.resolve,r.reject)):t=new Promise(((e,r)=>{yt(n,(()=>t),e,r),Nt(n,e,r)})),t}}function Nt(t,e,n){Promise.resolve().then((()=>{if(R(jt(),(e=>e===j(t))))return It()})).then((()=>U(t).then(vt).then((()=>{e(),setTimeout((()=>{Ut()}))})))).catch(n)}function Rt(t){return!t||"function"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)}function Tt(t,e){const n=function(t,e){let n=0,r=!1,o="^";"/"!==t[0]&&(t="/"+t);for(let e=0;e<t.length;e++){const n=t[e];(!r&&":"===n||r&&"/"===n)&&i(e)}return i(t.length),new RegExp(o,"i");function i(i){const a=t.slice(n,i).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");if(o+=r?"[^/]+/?":a,i===t.length)if(r)e&&(o+="$");else{const t=e?"":".*";o="/"===o.charAt(o.length-1)?`${o}${t}$`:`${o}(/${t})?(#.*)?$`}r=!r,n=i}}(t,e);return t=>{let e=t.origin;e||(e=`${t.protocol}//${t.host}`);const r=t.href.replace(e,"").replace(t.search,"").split("?")[0];return n.test(r)}}let Ct=!1,At=[],Dt=tt&&window.location.href;function It(){return Ut()}function Ut(t=[],e,n=!1){if(Ct)return new Promise(((t,n)=>{At.push({resolve:t,reject:n,eventArguments:e})}));const{appsToUnload:r,appsToUnmount:o,appsToLoad:a,appsToMount:s}=function(){const t=[],e=[],n=[],r=[],o=(new Date).getTime();return wt.forEach((i=>{const a=i.status!==P&&x(i);switch(i.status){case k:a&&o-i.loadErrorTime>=200&&n.push(i);break;case p:case h:a&&n.push(i);break;case g:case v:!a&&bt(j(i))?t.push(i):a&&r.push(i);break;case y:a||e.push(i)}})),{appsToUnload:t,appsToUnmount:e,appsToLoad:n,appsToMount:r}}();let u,c=[],f=Dt,d=Dt=window.location.href;return Zt()?(Ct=!0,u=r.concat(a,o,s),Promise.resolve().then((()=>(S(0===u.length?"before-no-app-change":"before-app-change",O(!0)),S("before-routing-event",O(!0,{cancelNavigation:m})),Promise.all(c).then((n=>{if(n.some((t=>t)))return ut.call(window.history,history.state,"",f.substring(location.origin.length)),Dt=location.href,Ct=!1,Ut(t,e,!0);const i=r.map(vt),u=o.map(U).map((t=>t.then(vt))).concat(i),c=Promise.all(u);c.then((()=>{S("before-mount-routing-event",O(!0))}),(t=>{throw t}));const l=a.map((t=>X(t).then((t=>_t(t,c))))),p=s.filter((t=>a.indexOf(t)<0)).map((t=>_t(t,c)));return c.catch((t=>{throw w(),t})).then((()=>(w(),Promise.all(l.concat(p)).catch((e=>{throw t.forEach((t=>t.reject(e))),e})).then(b).then((()=>{}),(t=>{throw t})))))})))))):(u=a,Promise.resolve().then((()=>{const t=a.map(X);return Promise.all(t).then(w).then((()=>[])).catch((t=>{throw w(),t})).finally((()=>{}))})));function m(t=!0){const e="function"==typeof(null==t?void 0:t.then)?t:Promise.resolve(t);c.push(e.catch((t=>(console.warn(Error(l(42,!1))),console.warn(t),!1))))}function b(){const e=Ot();t.forEach((t=>t.resolve(e)));try{S(0===u.length?"no-app-change":"app-change",O()),S("routing-event",O())}catch(t){setTimeout((()=>{throw t}))}if(Ct=!1,At.length>0){const t=At;At=[],Ut(t)}return e}function w(){n||(t.forEach((t=>{ot(t.eventArguments)})),ot(e))}function O(t=!1,n){const i={},c={[y]:[],[v]:[],[p]:[],[P]:[]};t?(a.concat(s).forEach(((t,e)=>{h(t,y)})),r.forEach((t=>{h(t,p)})),o.forEach((t=>{h(t,v)}))):u.forEach((t=>{h(t)}));const l={detail:{newAppStatuses:i,appsByNewStatus:c,totalAppChanges:u.length,originalEvent:null==e?void 0:e[0],oldUrl:f,newUrl:d}};return n&&N(l.detail,n),l;function h(t,e){const n=j(t);e=e||Pt(n),i[n]=e,(c[e]=c[e]||[]).push(n)}}function S(t,e){n||window.dispatchEvent(new i(`single-spa:${t}`,e))}}function _t(t,e){return x(t)?I(t).then((t=>e.then((()=>x(t)?M(t):t)))):e.then((()=>t))}let Ft=!1;function Mt(t){Ft=!0,tt&&(lt(t),Ut())}function Zt(){return Ft}var Vt={getRawAppData:function(){return[...wt]},reroute:Ut,NOT_LOADED:p,toLoadPromise:X,toBootstrapPromise:I,unregisterApplication:Et,getProfilerData:function(){return D}};tt&&window.__SINGLE_SPA_DEVTOOLS__&&(window.__SINGLE_SPA_DEVTOOLS__.exposedMethods=Vt)}}]);