@ynput/ayon-frontend-shared 0.2.45 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (385) hide show
  1. package/dist/DetailsPanel.cjs.js +1 -1
  2. package/dist/DetailsPanel.es.js +72 -65
  3. package/dist/DetailsPanel.es.js.map +1 -1
  4. package/dist/ProjectTreeTable.cjs.js +1 -1
  5. package/dist/ProjectTreeTable.es.js +104 -102
  6. package/dist/Slicer.cjs.js +1 -1
  7. package/dist/Slicer.es.js +113 -4
  8. package/dist/Slicer.es.js.map +1 -1
  9. package/dist/Views.cjs.js.map +1 -1
  10. package/dist/Views.es.js.map +1 -1
  11. package/dist/_virtual/index.cjs10.js +1 -1
  12. package/dist/_virtual/index.cjs11.js +1 -1
  13. package/dist/_virtual/index.cjs12.js +1 -1
  14. package/dist/_virtual/index.es10.js +3 -3
  15. package/dist/_virtual/index.es11.js +5 -5
  16. package/dist/_virtual/index.es12.js +5 -5
  17. package/dist/components.cjs.js +1 -1
  18. package/dist/components.es.js +141 -139
  19. package/dist/components.es.js.map +1 -1
  20. package/dist/index.cjs.js +1 -1
  21. package/dist/index.es.js +61 -54
  22. package/dist/index.es.js.map +1 -1
  23. package/dist/node_modules/@reduxjs/toolkit/dist/query/rtk-query.modern.cjs.js +5 -5
  24. package/dist/node_modules/@reduxjs/toolkit/dist/query/rtk-query.modern.cjs.js.map +1 -1
  25. package/dist/node_modules/@reduxjs/toolkit/dist/query/rtk-query.modern.es.js +313 -305
  26. package/dist/node_modules/@reduxjs/toolkit/dist/query/rtk-query.modern.es.js.map +1 -1
  27. package/dist/node_modules/rehype/node_modules/unified/lib/index.cjs.js +1 -1
  28. package/dist/node_modules/rehype/node_modules/unified/lib/index.es.js +2 -2
  29. package/dist/node_modules/rehype/node_modules/vfile/lib/index.cjs.js +1 -1
  30. package/dist/node_modules/rehype/node_modules/vfile/lib/index.es.js +1 -1
  31. package/dist/node_modules/rehype-parse/lib/index.cjs.js +1 -1
  32. package/dist/node_modules/rehype-parse/lib/index.es.js +1 -1
  33. package/dist/shared/src/api/queries/views/updateViews.cjs.js +1 -1
  34. package/dist/shared/src/api/queries/views/updateViews.cjs.js.map +1 -1
  35. package/dist/shared/src/api/queries/views/updateViews.es.js +1 -1
  36. package/dist/shared/src/api/queries/views/updateViews.es.js.map +1 -1
  37. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.cjs.js +1 -1
  38. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.cjs.js.map +1 -1
  39. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.es.js +57 -50
  40. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.es.js.map +1 -1
  41. package/dist/shared/src/components/LinksManager/AddNewLinks.cjs.js +1 -1
  42. package/dist/shared/src/components/LinksManager/AddNewLinks.cjs.js.map +1 -1
  43. package/dist/shared/src/components/LinksManager/AddNewLinks.es.js +45 -38
  44. package/dist/shared/src/components/LinksManager/AddNewLinks.es.js.map +1 -1
  45. package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.cjs.js +1 -1
  46. package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.cjs.js.map +1 -1
  47. package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.es.js +47 -40
  48. package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.es.js.map +1 -1
  49. package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js +1 -1
  50. package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js.map +1 -1
  51. package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js +49 -42
  52. package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js.map +1 -1
  53. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js +1 -1
  54. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js.map +1 -1
  55. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js +44 -37
  56. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js.map +1 -1
  57. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js +1 -1
  58. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js.map +1 -1
  59. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js +48 -41
  60. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js.map +1 -1
  61. package/dist/shared/src/components/RemotePage/RemotePageWrapper.cjs.js +2 -0
  62. package/dist/shared/src/components/RemotePage/RemotePageWrapper.cjs.js.map +1 -0
  63. package/dist/shared/src/components/RemotePage/RemotePageWrapper.es.js +279 -0
  64. package/dist/shared/src/components/RemotePage/RemotePageWrapper.es.js.map +1 -0
  65. package/dist/shared/src/components/RenameForm/RenameForm.cjs.js +1 -1
  66. package/dist/shared/src/components/RenameForm/RenameForm.cjs.js.map +1 -1
  67. package/dist/shared/src/components/RenameForm/RenameForm.es.js +48 -41
  68. package/dist/shared/src/components/RenameForm/RenameForm.es.js.map +1 -1
  69. package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js +1 -1
  70. package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js.map +1 -1
  71. package/dist/shared/src/components/ReviewablesList/ReviewablesList.es.js +64 -57
  72. package/dist/shared/src/components/ReviewablesList/ReviewablesList.es.js.map +1 -1
  73. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js +1 -1
  74. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js.map +1 -1
  75. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.es.js +54 -47
  76. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.es.js.map +1 -1
  77. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js +1 -1
  78. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js.map +1 -1
  79. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js +53 -46
  80. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js.map +1 -1
  81. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js +1 -1
  82. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js.map +1 -1
  83. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js +52 -45
  84. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js.map +1 -1
  85. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js +2 -2
  86. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js.map +1 -1
  87. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.es.js +56 -49
  88. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.es.js.map +1 -1
  89. package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js +1 -1
  90. package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js.map +1 -1
  91. package/dist/shared/src/containers/Actions/ActionConfigDialog.es.js +53 -46
  92. package/dist/shared/src/containers/Actions/ActionConfigDialog.es.js.map +1 -1
  93. package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js +1 -1
  94. package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js.map +1 -1
  95. package/dist/shared/src/containers/Actions/InteractiveActionDialog.es.js +54 -47
  96. package/dist/shared/src/containers/Actions/InteractiveActionDialog.es.js.map +1 -1
  97. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js +1 -1
  98. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js.map +1 -1
  99. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js +70 -63
  100. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js.map +1 -1
  101. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.cjs.js +1 -1
  102. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.cjs.js.map +1 -1
  103. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.es.js +49 -42
  104. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.es.js.map +1 -1
  105. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.cjs.js +1 -1
  106. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.cjs.js.map +1 -1
  107. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.es.js +68 -61
  108. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.es.js.map +1 -1
  109. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js +1 -1
  110. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js.map +1 -1
  111. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js +93 -86
  112. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js.map +1 -1
  113. package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.cjs.js +1 -1
  114. package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.cjs.js.map +1 -1
  115. package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.es.js +47 -40
  116. package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.es.js.map +1 -1
  117. package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.cjs.js +1 -1
  118. package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.cjs.js.map +1 -1
  119. package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.es.js +46 -43
  120. package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.es.js.map +1 -1
  121. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.cjs.js +1 -1
  122. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.cjs.js.map +1 -1
  123. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.es.js +49 -46
  124. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.es.js.map +1 -1
  125. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.cjs.js +1 -1
  126. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.cjs.js.map +1 -1
  127. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.es.js +49 -46
  128. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.es.js.map +1 -1
  129. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.cjs.js +1 -1
  130. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.cjs.js.map +1 -1
  131. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.es.js +49 -46
  132. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.es.js.map +1 -1
  133. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.cjs.js +1 -1
  134. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.cjs.js.map +1 -1
  135. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.es.js +50 -42
  136. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.es.js.map +1 -1
  137. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityCommentMenu.cjs.js +1 -1
  138. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityCommentMenu.cjs.js.map +1 -1
  139. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityCommentMenu.es.js +55 -48
  140. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityCommentMenu.es.js.map +1 -1
  141. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.cjs.js +2 -2
  142. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.cjs.js.map +1 -1
  143. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.es.js +70 -63
  144. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.es.js.map +1 -1
  145. package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.cjs.js +1 -1
  146. package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.cjs.js.map +1 -1
  147. package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.es.js +47 -40
  148. package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.es.js.map +1 -1
  149. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js +1 -1
  150. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js.map +1 -1
  151. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js +468 -448
  152. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js.map +1 -1
  153. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js +1 -1
  154. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js.map +1 -1
  155. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js +96 -89
  156. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js.map +1 -1
  157. package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.cjs.js +1 -1
  158. package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.cjs.js.map +1 -1
  159. package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.es.js +47 -40
  160. package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.es.js.map +1 -1
  161. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js +1 -1
  162. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js.map +1 -1
  163. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.es.js +57 -50
  164. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.es.js.map +1 -1
  165. package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.cjs.js +1 -1
  166. package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.cjs.js.map +1 -1
  167. package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.es.js +54 -47
  168. package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.es.js.map +1 -1
  169. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableContext.cjs.js.map +1 -1
  170. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableContext.es.js.map +1 -1
  171. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableProvider.cjs.js +1 -1
  172. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableProvider.cjs.js.map +1 -1
  173. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableProvider.es.js +63 -68
  174. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableProvider.es.js.map +1 -1
  175. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.cjs.js +1 -1
  176. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.cjs.js.map +1 -1
  177. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.es.js +49 -41
  178. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.es.js.map +1 -1
  179. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.cjs.js +1 -1
  180. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.cjs.js.map +1 -1
  181. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.es.js +51 -44
  182. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.es.js.map +1 -1
  183. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.cjs.js +1 -1
  184. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.cjs.js.map +1 -1
  185. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.es.js +48 -41
  186. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.es.js.map +1 -1
  187. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.cjs.js +1 -1
  188. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.cjs.js.map +1 -1
  189. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.es.js +55 -48
  190. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.es.js.map +1 -1
  191. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.cjs.js +1 -1
  192. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.cjs.js.map +1 -1
  193. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.es.js +54 -47
  194. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.es.js.map +1 -1
  195. package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.cjs.js +1 -1
  196. package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.cjs.js.map +1 -1
  197. package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.es.js +51 -44
  198. package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.es.js.map +1 -1
  199. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.cjs.js +1 -1
  200. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.cjs.js.map +1 -1
  201. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.es.js +51 -44
  202. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.es.js.map +1 -1
  203. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGroupBySettings.cjs.js +1 -1
  204. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGroupBySettings.cjs.js.map +1 -1
  205. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGroupBySettings.es.js +51 -44
  206. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGroupBySettings.es.js.map +1 -1
  207. package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.cjs.js +1 -1
  208. package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.cjs.js.map +1 -1
  209. package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.es.js +54 -47
  210. package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.es.js.map +1 -1
  211. package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.cjs.js +1 -1
  212. package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.cjs.js.map +1 -1
  213. package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.es.js +46 -39
  214. package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.es.js.map +1 -1
  215. package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.cjs.js +1 -1
  216. package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.cjs.js.map +1 -1
  217. package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.es.js +46 -39
  218. package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.es.js.map +1 -1
  219. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js +1 -1
  220. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js.map +1 -1
  221. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.es.js +48 -41
  222. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.es.js.map +1 -1
  223. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.cjs.js +1 -1
  224. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.cjs.js.map +1 -1
  225. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.es.js +62 -55
  226. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.es.js.map +1 -1
  227. package/dist/shared/src/containers/ProjectTreeTable/utils/restrictedEntity.cjs.js +1 -1
  228. package/dist/shared/src/containers/ProjectTreeTable/utils/restrictedEntity.cjs.js.map +1 -1
  229. package/dist/shared/src/containers/ProjectTreeTable/utils/restrictedEntity.es.js +11 -6
  230. package/dist/shared/src/containers/ProjectTreeTable/utils/restrictedEntity.es.js.map +1 -1
  231. package/dist/shared/src/containers/ProjectTreeTable/widgets/BooleanWidget.cjs.js +2 -2
  232. package/dist/shared/src/containers/ProjectTreeTable/widgets/BooleanWidget.cjs.js.map +1 -1
  233. package/dist/shared/src/containers/ProjectTreeTable/widgets/BooleanWidget.es.js +16 -13
  234. package/dist/shared/src/containers/ProjectTreeTable/widgets/BooleanWidget.es.js.map +1 -1
  235. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.cjs.js +2 -2
  236. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.cjs.js.map +1 -1
  237. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.es.js +342 -116
  238. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.es.js.map +1 -1
  239. package/dist/shared/src/containers/ProjectTreeTable/widgets/DateWidgetInput.cjs.js +2 -2
  240. package/dist/shared/src/containers/ProjectTreeTable/widgets/DateWidgetInput.cjs.js.map +1 -1
  241. package/dist/shared/src/containers/ProjectTreeTable/widgets/DateWidgetInput.es.js +47 -40
  242. package/dist/shared/src/containers/ProjectTreeTable/widgets/DateWidgetInput.es.js.map +1 -1
  243. package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumWidget.cjs.js +2 -2
  244. package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumWidget.cjs.js.map +1 -1
  245. package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumWidget.es.js +7 -7
  246. package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumWidget.es.js.map +1 -1
  247. package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.cjs.js +1 -1
  248. package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.cjs.js.map +1 -1
  249. package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.es.js +69 -62
  250. package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.es.js.map +1 -1
  251. package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.cjs.js +1 -1
  252. package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.cjs.js.map +1 -1
  253. package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.es.js +51 -44
  254. package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.es.js.map +1 -1
  255. package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidgetInput.cjs.js +2 -2
  256. package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidgetInput.cjs.js.map +1 -1
  257. package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidgetInput.es.js +29 -33
  258. package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidgetInput.es.js.map +1 -1
  259. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js +1 -1
  260. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js.map +1 -1
  261. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.es.js +118 -111
  262. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.es.js.map +1 -1
  263. package/dist/shared/src/containers/SimpleTable/SimpleTable.cjs.js +1 -1
  264. package/dist/shared/src/containers/SimpleTable/SimpleTable.cjs.js.map +1 -1
  265. package/dist/shared/src/containers/SimpleTable/SimpleTable.es.js +49 -46
  266. package/dist/shared/src/containers/SimpleTable/SimpleTable.es.js.map +1 -1
  267. package/dist/shared/src/containers/Slicer/components/Slicer.cjs.js +2 -0
  268. package/dist/shared/src/containers/Slicer/components/Slicer.cjs.js.map +1 -0
  269. package/dist/shared/src/containers/Slicer/components/Slicer.es.js +82 -0
  270. package/dist/shared/src/containers/Slicer/components/Slicer.es.js.map +1 -0
  271. package/dist/shared/src/containers/Slicer/components/SlicerDropdownFallback.cjs.js +27 -0
  272. package/dist/shared/src/containers/Slicer/components/SlicerDropdownFallback.cjs.js.map +1 -0
  273. package/dist/shared/src/containers/Slicer/components/SlicerDropdownFallback.es.js +71 -0
  274. package/dist/shared/src/containers/Slicer/components/SlicerDropdownFallback.es.js.map +1 -0
  275. package/dist/shared/src/containers/Slicer/components/SlicerSearch.cjs.js +10 -0
  276. package/dist/shared/src/containers/Slicer/components/SlicerSearch.cjs.js.map +1 -0
  277. package/dist/shared/src/containers/Slicer/components/SlicerSearch.es.js +294 -0
  278. package/dist/shared/src/containers/Slicer/components/SlicerSearch.es.js.map +1 -0
  279. package/dist/shared/src/containers/Slicer/context/SlicerContext.cjs.js +2 -0
  280. package/dist/shared/src/containers/Slicer/context/SlicerContext.cjs.js.map +1 -0
  281. package/dist/shared/src/containers/Slicer/context/SlicerContext.es.js +215 -0
  282. package/dist/shared/src/containers/Slicer/context/SlicerContext.es.js.map +1 -0
  283. package/dist/shared/src/containers/Slicer/hooks/useFiltersWithHierarchy.cjs.js.map +1 -0
  284. package/dist/shared/src/containers/Slicer/hooks/useFiltersWithHierarchy.es.js.map +1 -0
  285. package/dist/shared/src/containers/Slicer/hooks/useProjectAnatomySlices.cjs.js +2 -0
  286. package/dist/shared/src/containers/Slicer/hooks/useProjectAnatomySlices.cjs.js.map +1 -0
  287. package/dist/shared/src/containers/Slicer/hooks/useProjectAnatomySlices.es.js +25 -0
  288. package/dist/shared/src/containers/Slicer/hooks/useProjectAnatomySlices.es.js.map +1 -0
  289. package/dist/shared/src/containers/Slicer/hooks/useSlicerAttributesData.cjs.js +2 -0
  290. package/dist/shared/src/containers/Slicer/hooks/useSlicerAttributesData.cjs.js.map +1 -0
  291. package/dist/shared/src/containers/Slicer/hooks/useSlicerAttributesData.es.js +28 -0
  292. package/dist/shared/src/containers/Slicer/hooks/useSlicerAttributesData.es.js.map +1 -0
  293. package/dist/shared/src/containers/Slicer/hooks/useTableDataBySlice.cjs.js +2 -0
  294. package/dist/shared/src/containers/Slicer/hooks/useTableDataBySlice.cjs.js.map +1 -0
  295. package/dist/shared/src/containers/Slicer/hooks/useTableDataBySlice.es.js +304 -0
  296. package/dist/shared/src/containers/Slicer/hooks/useTableDataBySlice.es.js.map +1 -0
  297. package/dist/shared/src/containers/Slicer/hooks/useUsersTable.cjs.js +2 -0
  298. package/dist/shared/src/containers/Slicer/hooks/useUsersTable.cjs.js.map +1 -0
  299. package/dist/shared/src/containers/Slicer/hooks/useUsersTable.es.js +99 -0
  300. package/dist/shared/src/containers/Slicer/hooks/useUsersTable.es.js.map +1 -0
  301. package/dist/shared/src/containers/Slicer/util/createFilterFromSlicer.cjs.js.map +1 -0
  302. package/dist/shared/src/containers/Slicer/util/createFilterFromSlicer.es.js.map +1 -0
  303. package/dist/shared/src/containers/Views/ViewsMenuContainer/BaseViewsTags.cjs.js +1 -1
  304. package/dist/shared/src/containers/Views/ViewsMenuContainer/BaseViewsTags.cjs.js.map +1 -1
  305. package/dist/shared/src/containers/Views/ViewsMenuContainer/BaseViewsTags.es.js +95 -88
  306. package/dist/shared/src/containers/Views/ViewsMenuContainer/BaseViewsTags.es.js.map +1 -1
  307. package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.cjs.js +2 -2
  308. package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.cjs.js.map +1 -1
  309. package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.es.js +32 -31
  310. package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.es.js.map +1 -1
  311. package/dist/shared/src/containers/Views/context/ViewsContext.cjs.js +1 -1
  312. package/dist/shared/src/containers/Views/context/ViewsContext.cjs.js.map +1 -1
  313. package/dist/shared/src/containers/Views/context/ViewsContext.es.js +125 -121
  314. package/dist/shared/src/containers/Views/context/ViewsContext.es.js.map +1 -1
  315. package/dist/shared/src/containers/Views/hooks/pages/useOverviewViewSettings.cjs.js +1 -1
  316. package/dist/shared/src/containers/Views/hooks/pages/useOverviewViewSettings.cjs.js.map +1 -1
  317. package/dist/shared/src/containers/Views/hooks/pages/useOverviewViewSettings.es.js +47 -49
  318. package/dist/shared/src/containers/Views/hooks/pages/useOverviewViewSettings.es.js.map +1 -1
  319. package/dist/shared/src/containers/Views/utils/viewUpdateHelper.cjs.js +1 -1
  320. package/dist/shared/src/containers/Views/utils/viewUpdateHelper.cjs.js.map +1 -1
  321. package/dist/shared/src/containers/Views/utils/viewUpdateHelper.es.js +6 -5
  322. package/dist/shared/src/containers/Views/utils/viewUpdateHelper.es.js.map +1 -1
  323. package/dist/shared/src/context/AddonContext.cjs.js.map +1 -1
  324. package/dist/shared/src/context/AddonContext.es.js.map +1 -1
  325. package/dist/shared/src/context/AddonProjectContext.cjs.js.map +1 -1
  326. package/dist/shared/src/context/AddonProjectContext.es.js.map +1 -1
  327. package/dist/shared/src/context/WebsocketContext.cjs.js +1 -1
  328. package/dist/shared/src/context/WebsocketContext.cjs.js.map +1 -1
  329. package/dist/shared/src/context/WebsocketContext.es.js +51 -44
  330. package/dist/shared/src/context/WebsocketContext.es.js.map +1 -1
  331. package/dist/shared/src/hooks/useGroupByRemoteModules.cjs.js.map +1 -1
  332. package/dist/shared/src/hooks/useGroupByRemoteModules.es.js.map +1 -1
  333. package/dist/shared/src/hooks/useLoadModules.cjs.js +1 -1
  334. package/dist/shared/src/hooks/useLoadModules.cjs.js.map +1 -1
  335. package/dist/shared/src/hooks/useLoadModules.es.js +7 -7
  336. package/dist/shared/src/hooks/useLoadModules.es.js.map +1 -1
  337. package/dist/shared/src/util/columnConfigConverter.cjs.js +1 -1
  338. package/dist/shared/src/util/columnConfigConverter.cjs.js.map +1 -1
  339. package/dist/shared/src/util/columnConfigConverter.es.js +69 -46
  340. package/dist/shared/src/util/columnConfigConverter.es.js.map +1 -1
  341. package/dist/shared/src/util/getGroupByDataType.cjs.js +1 -1
  342. package/dist/shared/src/util/getGroupByDataType.cjs.js.map +1 -1
  343. package/dist/shared/src/util/getGroupByDataType.es.js +4 -4
  344. package/dist/shared/src/util/getGroupByDataType.es.js.map +1 -1
  345. package/dist/types/api/queries/activities/getActivities.d.ts +1 -1
  346. package/dist/types/api/queries/entityLists/getLists.d.ts +183 -183
  347. package/dist/types/api/queries/links/getLinks.d.ts +1 -1
  348. package/dist/types/api/queries/overview/getOverview.d.ts +1 -1
  349. package/dist/types/api/queries/versions/getVersionsProducts.d.ts +2 -2
  350. package/dist/types/components/RemotePage/RemotePageWrapper.d.ts +28 -0
  351. package/dist/types/components/RemotePage/index.d.ts +1 -0
  352. package/dist/types/components/index.d.ts +31 -30
  353. package/dist/types/containers/ProjectTreeTable/context/ProjectTableContext.d.ts +0 -2
  354. package/dist/types/containers/ProjectTreeTable/context/ProjectTableProvider.d.ts +1 -4
  355. package/dist/types/containers/ProjectTreeTable/utils/restrictedEntity.d.ts +3 -3
  356. package/dist/types/containers/Slicer/components/Slicer.d.ts +9 -0
  357. package/dist/types/containers/Slicer/components/SlicerDropdownFallback.d.ts +7 -0
  358. package/dist/types/containers/Slicer/components/SlicerSearch.d.ts +6 -0
  359. package/dist/types/containers/Slicer/context/SlicerContext.d.ts +48 -0
  360. package/dist/types/containers/Slicer/hooks/index.d.ts +5 -0
  361. package/dist/types/containers/Slicer/{useFiltersWithHierarchy.d.ts → hooks/useFiltersWithHierarchy.d.ts} +1 -1
  362. package/dist/types/containers/Slicer/hooks/useProjectAnatomySlices.d.ts +51 -0
  363. package/dist/types/containers/Slicer/hooks/useSlicerAttributesData.d.ts +7 -0
  364. package/dist/types/containers/Slicer/hooks/useTableDataBySlice.d.ts +8 -0
  365. package/dist/types/containers/Slicer/hooks/useUsersTable.d.ts +10 -0
  366. package/dist/types/containers/Slicer/index.d.ts +4 -2
  367. package/dist/types/containers/Slicer/types.d.ts +35 -0
  368. package/dist/types/containers/Slicer/{createFilterFromSlicer.d.ts → util/createFilterFromSlicer.d.ts} +2 -2
  369. package/dist/types/containers/Slicer/util/index.d.ts +1 -0
  370. package/dist/types/containers/Views/ViewsMenuContainer/BaseViewsTags.d.ts +4 -1
  371. package/dist/types/containers/Views/hooks/pages/useOverviewViewSettings.d.ts +7 -1
  372. package/dist/types/containers/Views/index.d.ts +1 -1
  373. package/dist/types/containers/Views/utils/viewUpdateHelper.d.ts +1 -1
  374. package/dist/types/context/AddonContext.d.ts +10 -2
  375. package/dist/types/context/AddonProjectContext.d.ts +7 -12
  376. package/dist/types/hooks/useGroupByRemoteModules.d.ts +2 -1
  377. package/package.json +1 -1
  378. package/dist/shared/src/containers/Slicer/createFilterFromSlicer.cjs.js.map +0 -1
  379. package/dist/shared/src/containers/Slicer/createFilterFromSlicer.es.js.map +0 -1
  380. package/dist/shared/src/containers/Slicer/useFiltersWithHierarchy.cjs.js.map +0 -1
  381. package/dist/shared/src/containers/Slicer/useFiltersWithHierarchy.es.js.map +0 -1
  382. /package/dist/shared/src/containers/Slicer/{useFiltersWithHierarchy.cjs.js → hooks/useFiltersWithHierarchy.cjs.js} +0 -0
  383. /package/dist/shared/src/containers/Slicer/{useFiltersWithHierarchy.es.js → hooks/useFiltersWithHierarchy.es.js} +0 -0
  384. /package/dist/shared/src/containers/Slicer/{createFilterFromSlicer.cjs.js → util/createFilterFromSlicer.cjs.js} +0 -0
  385. /package/dist/shared/src/containers/Slicer/{createFilterFromSlicer.es.js → util/createFilterFromSlicer.es.js} +0 -0
@@ -1,6 +1,6 @@
1
- import { isPlainObject as ge, nanoid as at, formatProdErrorMessage as Re, createAction as ue, createSelector as At, createNextState as Ce, createAsyncThunk as Ke, createSlice as ae, prepareAutoBatched as le, isAnyOf as Ee, isFulfilled as ie, isRejectedWithValue as Fe, combineReducers as It, SHOULD_AUTOBATCH as ct, isAllOf as Te, isRejected as _e, isPending as ut, isAction as Tt, isAsyncThunkAction as Ve } from "@reduxjs/toolkit";
2
- import { enablePatches as Qt, applyPatches as Be, isDraftable as Nt, produceWithPatches as lt, current as Dt, isDraft as dt, original as qt } from "../../../../immer/dist/immer.es.js";
3
- import { SchemaError as Mt } from "../../../../@standard-schema/utils/dist/index.es.js";
1
+ import { isPlainObject as ge, nanoid as at, formatProdErrorMessage as Ee, createAction as ue, createSelector as At, createNextState as Ce, createAsyncThunk as Ke, createSlice as ae, prepareAutoBatched as le, isAnyOf as Re, isFulfilled as ie, isRejectedWithValue as Fe, combineReducers as It, SHOULD_AUTOBATCH as ct, isAllOf as Te, isRejected as xe, isPending as ut, isAction as Tt, isAsyncThunkAction as Ve } from "@reduxjs/toolkit";
2
+ import { enablePatches as Qt, applyPatches as Be, isDraftable as Nt, produceWithPatches as lt, current as Dt, isDraft as dt, original as Mt } from "../../../../immer/dist/immer.es.js";
3
+ import { SchemaError as qt } from "../../../../@standard-schema/utils/dist/index.es.js";
4
4
  import { weakMapMemoize as Le } from "../../../../reselect/dist/reselect.es.js";
5
5
  var Ot = /* @__PURE__ */ ((e) => (e.uninitialized = "uninitialized", e.pending = "pending", e.fulfilled = "fulfilled", e.rejected = "rejected", e))(Ot || {}), X = "uninitialized", Ne = "pending", fe = "fulfilled", pe = "rejected";
6
6
  function We(e) {
@@ -32,17 +32,17 @@ function Ct(e) {
32
32
  function Ft() {
33
33
  return typeof document > "u" ? !0 : document.visibilityState !== "hidden";
34
34
  }
35
- function xe(e) {
35
+ function _e(e) {
36
36
  return e != null;
37
37
  }
38
38
  function ze(e) {
39
- return [...e?.values() ?? []].filter(xe);
39
+ return [...e?.values() ?? []].filter(_e);
40
40
  }
41
- function _t() {
41
+ function xt() {
42
42
  return typeof navigator > "u" || navigator.onLine === void 0 ? !0 : navigator.onLine;
43
43
  }
44
- var xt = (e) => e.replace(/\/$/, ""), kt = (e) => e.replace(/^\//, "");
45
- function jt(e, i) {
44
+ var _t = (e) => e.replace(/\/$/, ""), jt = (e) => e.replace(/^\//, "");
45
+ function kt(e, i) {
46
46
  if (!e)
47
47
  return i;
48
48
  if (!i)
@@ -50,14 +50,22 @@ function jt(e, i) {
50
50
  if (Ct(i))
51
51
  return i;
52
52
  const c = e.endsWith("/") || !i.startsWith("?") ? "/" : "";
53
- return e = xt(e), i = kt(i), `${e}${c}${i}`;
53
+ return e = _t(e), i = jt(i), `${e}${c}${i}`;
54
54
  }
55
55
  function Pe(e, i, c) {
56
56
  return e.has(i) ? e.get(i) : e.set(i, c(i)).get(i);
57
57
  }
58
- var qe = () => /* @__PURE__ */ new Map(), $t = (e) => {
58
+ var Me = () => /* @__PURE__ */ new Map(), $t = (e) => {
59
59
  const i = new AbortController();
60
- return setTimeout(() => i.abort(new DOMException("", "TimeoutError")), e), i.signal;
60
+ return setTimeout(() => {
61
+ const c = "signal timed out", y = "TimeoutError";
62
+ i.abort(
63
+ // some environments (React Native, Node) don't have DOMException
64
+ typeof DOMException < "u" ? new DOMException(c, y) : Object.assign(new Error(c), {
65
+ name: y
66
+ })
67
+ );
68
+ }, e), i.signal;
61
69
  }, Ut = (...e) => {
62
70
  for (const c of e) if (c.aborted) return AbortSignal.abort(c.reason);
63
71
  const i = new AbortController();
@@ -93,11 +101,11 @@ function mn({
93
101
  timeout: Q,
94
102
  responseHandler: O,
95
103
  validateStatus: w,
96
- ...q
104
+ ...M
97
105
  } = {}) {
98
106
  return typeof fetch > "u" && c === Je && console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."), async (b, A, D) => {
99
107
  const {
100
- getState: E,
108
+ getState: R,
101
109
  extra: u,
102
110
  endpoint: S,
103
111
  forced: T,
@@ -105,8 +113,8 @@ function mn({
105
113
  } = A;
106
114
  let d, {
107
115
  url: r,
108
- headers: h = new Headers(q.headers),
109
- params: R = void 0,
116
+ headers: h = new Headers(M.headers),
117
+ params: E = void 0,
110
118
  responseHandler: p = O ?? "json",
111
119
  validateStatus: l = w ?? Kt,
112
120
  timeout: s = Q,
@@ -114,12 +122,12 @@ function mn({
114
122
  } = typeof b == "string" ? {
115
123
  url: b
116
124
  } : b, n = {
117
- ...q,
125
+ ...M,
118
126
  signal: s ? Ut(A.signal, $t(s)) : A.signal,
119
127
  ...t
120
128
  };
121
129
  h = new Headers(Ye(h)), n.headers = await i(h, {
122
- getState: E,
130
+ getState: R,
123
131
  arg: b,
124
132
  extra: u,
125
133
  endpoint: S,
@@ -128,11 +136,11 @@ function mn({
128
136
  extraOptions: D
129
137
  }) || h;
130
138
  const o = Bt(n.body);
131
- if (n.body != null && !o && typeof n.body != "string" && n.headers.delete("content-type"), !n.headers.has("content-type") && o && n.headers.set("content-type", P), o && g(n.headers) && (n.body = JSON.stringify(n.body, m)), n.headers.has("accept") || (p === "json" ? n.headers.set("accept", "application/json") : p === "text" && n.headers.set("accept", "text/plain, text/html, */*")), R) {
132
- const F = ~r.indexOf("?") ? "&" : "?", U = y ? y(R) : new URLSearchParams(Ye(R));
139
+ if (n.body != null && !o && typeof n.body != "string" && n.headers.delete("content-type"), !n.headers.has("content-type") && o && n.headers.set("content-type", P), o && g(n.headers) && (n.body = JSON.stringify(n.body, m)), n.headers.has("accept") || (p === "json" ? n.headers.set("accept", "application/json") : p === "text" && n.headers.set("accept", "text/plain, text/html, */*")), E) {
140
+ const F = ~r.indexOf("?") ? "&" : "?", U = y ? y(E) : new URLSearchParams(Ye(E));
133
141
  r += F + U;
134
142
  }
135
- r = jt(e, r);
143
+ r = kt(e, r);
136
144
  const f = new Request(r, n);
137
145
  d = {
138
146
  request: new Request(r, n)
@@ -143,14 +151,14 @@ function mn({
143
151
  } catch (F) {
144
152
  return {
145
153
  error: {
146
- status: F instanceof DOMException && F.name === "TimeoutError" ? "TIMEOUT_ERROR" : "FETCH_ERROR",
154
+ status: (F instanceof Error || typeof DOMException < "u" && F instanceof DOMException) && F.name === "TimeoutError" ? "TIMEOUT_ERROR" : "FETCH_ERROR",
147
155
  error: String(F)
148
156
  },
149
157
  meta: d
150
158
  };
151
159
  }
152
- const x = N.clone();
153
- d.response = x;
160
+ const _ = N.clone();
161
+ d.response = _;
154
162
  let C, I = "";
155
163
  try {
156
164
  let F;
@@ -158,7 +166,7 @@ function mn({
158
166
  v(N, p).then((U) => C = U, (U) => F = U),
159
167
  // see https://github.com/node-fetch/node-fetch/issues/665#issuecomment-538995182
160
168
  // we *have* to "use up" both streams at the same time or they will stop running in node-fetch scenarios
161
- x.text().then((U) => I = U, () => {
169
+ _.text().then((U) => I = U, () => {
162
170
  })
163
171
  ]), F) throw F;
164
172
  } catch (F) {
@@ -197,7 +205,7 @@ var Ge = class {
197
205
  constructor(e, i = void 0) {
198
206
  this.value = e, this.meta = i;
199
207
  }
200
- }, Ae = "__rtkq/", Lt = "online", Wt = "offline", pt = "focused", ke = /* @__PURE__ */ ue(`${Ae}${pt}`), gt = /* @__PURE__ */ ue(`${Ae}un${pt}`), je = /* @__PURE__ */ ue(`${Ae}${Lt}`), ht = /* @__PURE__ */ ue(`${Ae}${Wt}`), me = "query", yt = "mutation", mt = "infinitequery";
208
+ }, Ae = "__rtkq/", Lt = "online", Wt = "offline", pt = "focused", je = /* @__PURE__ */ ue(`${Ae}${pt}`), gt = /* @__PURE__ */ ue(`${Ae}un${pt}`), ke = /* @__PURE__ */ ue(`${Ae}${Lt}`), ht = /* @__PURE__ */ ue(`${Ae}${Wt}`), me = "query", yt = "mutation", mt = "infinitequery";
201
209
  function Ie(e) {
202
210
  return e.type === me;
203
211
  }
@@ -212,7 +220,7 @@ function we(e) {
212
220
  }
213
221
  function $e(e, i, c, y, g, P) {
214
222
  const m = zt(e) ? e(i, c, y, g) : e;
215
- return m ? De(m, xe, (Q) => P(vt(Q))) : [];
223
+ return m ? De(m, _e, (Q) => P(vt(Q))) : [];
216
224
  }
217
225
  function zt(e) {
218
226
  return typeof e == "function";
@@ -225,7 +233,7 @@ function vt(e) {
225
233
  function Jt(e, i) {
226
234
  return e.catch(i);
227
235
  }
228
- var ce = (e, i) => e.endpointDefinitions[i], he = Symbol("forceQueryFn"), Me = (e) => typeof e[he] == "function";
236
+ var ce = (e, i) => e.endpointDefinitions[i], he = Symbol("forceQueryFn"), qe = (e) => typeof e[he] == "function";
229
237
  function Yt({
230
238
  serializeQueryArgs: e,
231
239
  queryThunk: i,
@@ -237,7 +245,7 @@ function Yt({
237
245
  }) {
238
246
  const Q = (r) => m(r)?.runningQueries, O = (r) => m(r)?.runningMutations, {
239
247
  unsubscribeQueryResult: w,
240
- removeMutationResult: q,
248
+ removeMutationResult: M,
241
249
  updateSubscriptionOptions: v
242
250
  } = g.internalActions;
243
251
  return {
@@ -247,25 +255,25 @@ function Yt({
247
255
  getRunningQueryThunk: b,
248
256
  getRunningMutationThunk: A,
249
257
  getRunningQueriesThunk: D,
250
- getRunningMutationsThunk: E
258
+ getRunningMutationsThunk: R
251
259
  };
252
260
  function b(r, h) {
253
- return (R) => {
261
+ return (E) => {
254
262
  const p = ce(P, r), l = e({
255
263
  queryArgs: h,
256
264
  endpointDefinition: p,
257
265
  endpointName: r
258
266
  });
259
- return Q(R)?.get(l);
267
+ return Q(E)?.get(l);
260
268
  };
261
269
  }
262
270
  function A(r, h) {
263
- return (R) => O(R)?.get(h);
271
+ return (E) => O(E)?.get(h);
264
272
  }
265
273
  function D() {
266
274
  return (r) => ze(Q(r));
267
275
  }
268
- function E() {
276
+ function R() {
269
277
  return (r) => ze(O(r));
270
278
  }
271
279
  function u(r) {
@@ -273,24 +281,24 @@ function Yt({
273
281
  if (u.triggered) return;
274
282
  const h = r(g.internalActions.internal_getRTKQSubscriptions());
275
283
  if (u.triggered = !0, typeof h != "object" || typeof h?.type == "string")
276
- throw new Error(process.env.NODE_ENV === "production" ? Re(34) : `Warning: Middleware for RTK-Query API at reducerPath "${g.reducerPath}" has not been added to the store.
284
+ throw new Error(process.env.NODE_ENV === "production" ? Ee(34) : `Warning: Middleware for RTK-Query API at reducerPath "${g.reducerPath}" has not been added to the store.
277
285
  You must add the middleware for RTK-Query to function correctly!`);
278
286
  }
279
287
  }
280
288
  function S(r, h) {
281
- const R = (p, {
289
+ const E = (p, {
282
290
  subscribe: l = !0,
283
291
  forceRefetch: s,
284
292
  subscriptionOptions: t,
285
293
  [he]: n,
286
294
  ...o
287
- } = {}) => (f, M) => {
295
+ } = {}) => (f, q) => {
288
296
  const N = e({
289
297
  queryArgs: p,
290
298
  endpointDefinition: h,
291
299
  endpointName: r
292
300
  });
293
- let x;
301
+ let _;
294
302
  const C = {
295
303
  ...o,
296
304
  type: me,
@@ -303,28 +311,28 @@ You must add the middleware for RTK-Query to function correctly!`);
303
311
  [he]: n
304
312
  };
305
313
  if (Ie(h))
306
- x = i(C);
314
+ _ = i(C);
307
315
  else {
308
316
  const {
309
- direction: j,
317
+ direction: k,
310
318
  initialPageParam: $,
311
- refetchCachedPages: _
319
+ refetchCachedPages: x
312
320
  } = o;
313
- x = c({
321
+ _ = c({
314
322
  ...C,
315
323
  // Supply these even if undefined. This helps with a field existence
316
324
  // check over in `buildSlice.ts`
317
- direction: j,
325
+ direction: k,
318
326
  initialPageParam: $,
319
- refetchCachedPages: _
327
+ refetchCachedPages: x
320
328
  });
321
329
  }
322
- const I = g.endpoints[r].select(p), F = f(x), U = I(M());
330
+ const I = g.endpoints[r].select(p), F = f(_), U = I(q());
323
331
  u(f);
324
332
  const {
325
333
  requestId: L,
326
334
  abort: J
327
- } = F, K = U.requestId !== L, B = Q(f)?.get(N), V = () => I(M()), k = Object.assign(n ? (
335
+ } = F, K = U.requestId !== L, B = Q(f)?.get(N), V = () => I(q()), j = Object.assign(n ? (
328
336
  // a query has been forced (upsertQueryData)
329
337
  // -> we want to resolve it once data has been written with the data that will be written
330
338
  F.then(V)
@@ -343,15 +351,15 @@ You must add the middleware for RTK-Query to function correctly!`);
343
351
  queryCacheKey: N,
344
352
  abort: J,
345
353
  async unwrap() {
346
- const j = await k;
347
- if (j.isError)
348
- throw j.error;
349
- return j.data;
354
+ const k = await j;
355
+ if (k.isError)
356
+ throw k.error;
357
+ return k.data;
350
358
  },
351
- refetch: (j) => f(R(p, {
359
+ refetch: (k) => f(E(p, {
352
360
  subscribe: !1,
353
361
  forceRefetch: !0,
354
- ...j
362
+ ...k
355
363
  })),
356
364
  unsubscribe() {
357
365
  l && f(w({
@@ -359,24 +367,24 @@ You must add the middleware for RTK-Query to function correctly!`);
359
367
  requestId: L
360
368
  }));
361
369
  },
362
- updateSubscriptionOptions(j) {
363
- k.subscriptionOptions = j, f(v({
370
+ updateSubscriptionOptions(k) {
371
+ j.subscriptionOptions = k, f(v({
364
372
  endpointName: r,
365
373
  requestId: L,
366
374
  queryCacheKey: N,
367
- options: j
375
+ options: k
368
376
  }));
369
377
  }
370
378
  });
371
379
  if (!B && !K && !n) {
372
- const j = Q(f);
373
- j.set(N, k), k.then(() => {
374
- j.delete(N);
380
+ const k = Q(f);
381
+ k.set(N, j), j.then(() => {
382
+ k.delete(N);
375
383
  });
376
384
  }
377
- return k;
385
+ return j;
378
386
  };
379
- return R;
387
+ return E;
380
388
  }
381
389
  function T(r, h) {
382
390
  return S(r, h);
@@ -386,27 +394,27 @@ You must add the middleware for RTK-Query to function correctly!`);
386
394
  }
387
395
  function d(r) {
388
396
  return (h, {
389
- track: R = !0,
397
+ track: E = !0,
390
398
  fixedCacheKey: p
391
399
  } = {}) => (l, s) => {
392
400
  const t = y({
393
401
  type: "mutation",
394
402
  endpointName: r,
395
403
  originalArgs: h,
396
- track: R,
404
+ track: E,
397
405
  fixedCacheKey: p
398
406
  }), n = l(t);
399
407
  u(l);
400
408
  const {
401
409
  requestId: o,
402
410
  abort: f,
403
- unwrap: M
411
+ unwrap: q
404
412
  } = n, N = Jt(n.unwrap().then((F) => ({
405
413
  data: F
406
414
  })), (F) => ({
407
415
  error: F
408
- })), x = () => {
409
- l(q({
416
+ })), _ = () => {
417
+ l(M({
410
418
  requestId: o,
411
419
  fixedCacheKey: p
412
420
  }));
@@ -414,8 +422,8 @@ You must add the middleware for RTK-Query to function correctly!`);
414
422
  arg: n.arg,
415
423
  requestId: o,
416
424
  abort: f,
417
- unwrap: M,
418
- reset: x
425
+ unwrap: q,
426
+ reset: _
419
427
  }), I = O(l);
420
428
  return I.set(o, C), C.then(() => {
421
429
  I.delete(o);
@@ -425,7 +433,7 @@ You must add the middleware for RTK-Query to function correctly!`);
425
433
  };
426
434
  }
427
435
  }
428
- var bt = class extends Mt {
436
+ var bt = class extends qt {
429
437
  constructor(e, i, c, y) {
430
438
  super(e), this.value = i, this.schemaName = c, this._bqMeta = y;
431
439
  }
@@ -457,13 +465,13 @@ function Gt({
457
465
  catchSchemaFailure: O,
458
466
  skipSchemaValidation: w
459
467
  }) {
460
- const q = (t, n, o, f) => (M, N) => {
461
- const x = c[t], C = y({
468
+ const M = (t, n, o, f) => (q, N) => {
469
+ const _ = c[t], C = y({
462
470
  queryArgs: n,
463
- endpointDefinition: x,
471
+ endpointDefinition: _,
464
472
  endpointName: t
465
473
  });
466
- if (M(g.internalActions.queryResultPatched({
474
+ if (q(g.internalActions.queryResultPatched({
467
475
  queryCacheKey: C,
468
476
  patches: o
469
477
  })), !f)
@@ -471,8 +479,8 @@ function Gt({
471
479
  const I = g.endpoints[t].select(n)(
472
480
  // Work around TS 4.1 mismatch
473
481
  N()
474
- ), F = $e(x.providesTags, I.data, void 0, n, {}, P);
475
- M(g.internalActions.updateProvidedBy([{
482
+ ), F = $e(_.providesTags, I.data, void 0, n, {}, P);
483
+ q(g.internalActions.updateProvidedBy([{
476
484
  queryCacheKey: C,
477
485
  providedTags: F
478
486
  }]));
@@ -485,14 +493,14 @@ function Gt({
485
493
  const f = [...t, n];
486
494
  return o && f.length > o ? f.slice(1) : f;
487
495
  }
488
- const A = (t, n, o, f = !0) => (M, N) => {
496
+ const A = (t, n, o, f = !0) => (q, N) => {
489
497
  const C = g.endpoints[t].select(n)(
490
498
  // Work around TS 4.1 mismatch
491
499
  N()
492
500
  ), I = {
493
501
  patches: [],
494
502
  inversePatches: [],
495
- undo: () => M(g.util.patchQueryData(t, n, I.inversePatches, f))
503
+ undo: () => q(g.util.patchQueryData(t, n, I.inversePatches, f))
496
504
  };
497
505
  if (C.status === X)
498
506
  return I;
@@ -511,20 +519,20 @@ function Gt({
511
519
  path: [],
512
520
  value: C.data
513
521
  });
514
- return I.patches.length === 0 || M(g.util.patchQueryData(t, n, I.patches, f)), I;
522
+ return I.patches.length === 0 || q(g.util.patchQueryData(t, n, I.patches, f)), I;
515
523
  }, D = (t, n, o) => (f) => f(g.endpoints[t].initiate(n, {
516
524
  subscribe: !1,
517
525
  forceRefetch: !0,
518
526
  [he]: () => ({
519
527
  data: o
520
528
  })
521
- })), E = (t, n) => t.query && t[n] ? t[n] : Xe, u = async (t, {
529
+ })), R = (t, n) => t.query && t[n] ? t[n] : Xe, u = async (t, {
522
530
  signal: n,
523
531
  abort: o,
524
532
  rejectWithValue: f,
525
- fulfillWithValue: M,
533
+ fulfillWithValue: q,
526
534
  dispatch: N,
527
- getState: x,
535
+ getState: _,
528
536
  extra: C
529
537
  }) => {
530
538
  const I = c[t.endpointName], {
@@ -537,33 +545,33 @@ function Gt({
537
545
  signal: n,
538
546
  abort: o,
539
547
  dispatch: N,
540
- getState: x,
548
+ getState: _,
541
549
  extra: C,
542
550
  endpoint: t.endpointName,
543
551
  type: t.type,
544
- forced: L ? S(t, x()) : void 0,
552
+ forced: L ? S(t, _()) : void 0,
545
553
  queryCacheKey: L ? t.queryCacheKey : void 0
546
554
  }, B = L ? t[he] : void 0;
547
555
  let V;
548
- const k = async ($, _, Z, W) => {
549
- if (_ == null && $.pages.length)
556
+ const j = async ($, x, Z, W) => {
557
+ if (x == null && $.pages.length)
550
558
  return Promise.resolve({
551
559
  data: $
552
560
  });
553
561
  const se = {
554
562
  queryArg: t.originalArgs,
555
- pageParam: _
556
- }, Y = await j(se), oe = W ? v : b;
563
+ pageParam: x
564
+ }, Y = await k(se), oe = W ? v : b;
557
565
  return {
558
566
  data: {
559
567
  pages: oe($.pages, Y.data, Z),
560
- pageParams: oe($.pageParams, _, Z)
568
+ pageParams: oe($.pageParams, x, Z)
561
569
  },
562
570
  meta: Y.meta
563
571
  };
564
572
  };
565
- async function j($) {
566
- let _;
573
+ async function k($) {
574
+ let x;
567
575
  const {
568
576
  extraOptions: Z,
569
577
  argSchema: W,
@@ -576,19 +584,19 @@ function Gt({
576
584
  "argSchema",
577
585
  {}
578
586
  // we don't have a meta yet, so we can't pass it
579
- )), B ? _ = B() : I.query ? (J = E(I, "transformResponse"), _ = await i(I.query($), K, Z)) : _ = await I.queryFn($, K, Z, (H) => i(H, K, Z)), typeof process < "u" && process.env.NODE_ENV === "development") {
587
+ )), B ? x = B() : I.query ? (J = R(I, "transformResponse"), x = await i(I.query($), K, Z)) : x = await I.queryFn($, K, Z, (H) => i(H, K, Z)), typeof process < "u" && process.env.NODE_ENV === "development") {
580
588
  const H = I.query ? "`baseQuery`" : "`queryFn`";
581
589
  let z;
582
- if (!_)
590
+ if (!x)
583
591
  z = `${H} did not return anything.`;
584
- else if (typeof _ != "object")
592
+ else if (typeof x != "object")
585
593
  z = `${H} did not return an object.`;
586
- else if (_.error && _.data)
594
+ else if (x.error && x.data)
587
595
  z = `${H} returned an object containing both \`error\` and \`result\`.`;
588
- else if (_.error === void 0 && _.data === void 0)
596
+ else if (x.error === void 0 && x.data === void 0)
589
597
  z = `${H} returned an object containing neither a valid \`error\` and \`result\`. At least one of them should not be \`undefined\``;
590
598
  else
591
- for (const te of Object.keys(_))
599
+ for (const te of Object.keys(x))
592
600
  if (te !== "error" && te !== "data" && te !== "meta") {
593
601
  z = `The object returned by ${H} has the unknown property ${te}.`;
594
602
  break;
@@ -596,16 +604,16 @@ function Gt({
596
604
  z && console.error(`Error encountered handling the endpoint ${t.endpointName}.
597
605
  ${z}
598
606
  It needs to return an object with either the shape \`{ data: <value> }\` or \`{ error: <value> }\` that may contain an optional \`meta\` property.
599
- Object returned was:`, _);
607
+ Object returned was:`, x);
600
608
  }
601
- if (_.error) throw new Ge(_.error, _.meta);
609
+ if (x.error) throw new Ge(x.error, x.meta);
602
610
  let {
603
611
  data: oe
604
- } = _;
605
- se && !ne(U, "rawResponse") && (oe = await re(se, _.data, "rawResponseSchema", _.meta));
606
- let ee = await J(oe, _.meta, $);
607
- return Y && !ne(U, "response") && (ee = await re(Y, ee, "responseSchema", _.meta)), {
608
- ..._,
612
+ } = x;
613
+ se && !ne(U, "rawResponse") && (oe = await re(se, x.data, "rawResponseSchema", x.meta));
614
+ let ee = await J(oe, x.meta, $);
615
+ return Y && !ne(U, "response") && (ee = await re(Y, ee, "responseSchema", x.meta)), {
616
+ ...x,
609
617
  data: ee
610
618
  };
611
619
  }
@@ -613,55 +621,55 @@ function Gt({
613
621
  const {
614
622
  infiniteQueryOptions: $
615
623
  } = I, {
616
- maxPages: _ = 1 / 0
624
+ maxPages: x = 1 / 0
617
625
  } = $, Z = t.refetchCachedPages ?? $.refetchCachedPages ?? !0;
618
626
  let W;
619
627
  const se = {
620
628
  pages: [],
621
629
  pageParams: []
622
- }, Y = m.selectQueryEntry(x(), t.queryCacheKey)?.data, ee = /* arg.forceRefetch */ S(t, x()) && !t.direction || !Y ? se : Y;
630
+ }, Y = m.selectQueryEntry(_(), t.queryCacheKey)?.data, ee = /* arg.forceRefetch */ S(t, _()) && !t.direction || !Y ? se : Y;
623
631
  if ("direction" in t && t.direction && ee.pages.length) {
624
632
  const H = t.direction === "backward", te = (H ? St : Oe)($, ee, t.originalArgs);
625
- W = await k(ee, te, _, H);
633
+ W = await j(ee, te, x, H);
626
634
  } else {
627
635
  const {
628
636
  initialPageParam: H = $.initialPageParam
629
637
  } = t, z = Y?.pageParams ?? [], te = z[0] ?? H, Pt = z.length;
630
- if (W = await k(ee, te, _), B && (W = {
638
+ if (W = await j(ee, te, x), B && (W = {
631
639
  data: W.data.pages[0]
632
640
  }), Z)
633
641
  for (let Ue = 1; Ue < Pt; Ue++) {
634
642
  const wt = Oe($, W.data, t.originalArgs);
635
- W = await k(W.data, wt, _);
643
+ W = await j(W.data, wt, x);
636
644
  }
637
645
  }
638
646
  V = W;
639
647
  } else
640
- V = await j(t.originalArgs);
641
- return F && !ne(U, "meta") && V.meta && (V.meta = await re(F, V.meta, "metaSchema", V.meta)), M(V.data, de({
648
+ V = await k(t.originalArgs);
649
+ return F && !ne(U, "meta") && V.meta && (V.meta = await re(F, V.meta, "metaSchema", V.meta)), q(V.data, de({
642
650
  fulfilledTimeStamp: Date.now(),
643
651
  baseQueryMeta: V.meta
644
652
  }));
645
653
  } catch (J) {
646
654
  let K = J;
647
655
  if (K instanceof Ge) {
648
- let B = E(I, "transformErrorResponse");
656
+ let B = R(I, "transformErrorResponse");
649
657
  const {
650
658
  rawErrorResponseSchema: V,
651
- errorResponseSchema: k
659
+ errorResponseSchema: j
652
660
  } = I;
653
661
  let {
654
- value: j,
662
+ value: k,
655
663
  meta: $
656
664
  } = K;
657
665
  try {
658
- V && !ne(U, "rawErrorResponse") && (j = await re(V, j, "rawErrorResponseSchema", $)), F && !ne(U, "meta") && ($ = await re(F, $, "metaSchema", $));
659
- let _ = await B(j, $, t.originalArgs);
660
- return k && !ne(U, "errorResponse") && (_ = await re(k, _, "errorResponseSchema", $)), f(_, de({
666
+ V && !ne(U, "rawErrorResponse") && (k = await re(V, k, "rawErrorResponseSchema", $)), F && !ne(U, "meta") && ($ = await re(F, $, "metaSchema", $));
667
+ let x = await B(k, $, t.originalArgs);
668
+ return j && !ne(U, "errorResponse") && (x = await re(j, x, "errorResponseSchema", $)), f(x, de({
661
669
  baseQueryMeta: $
662
670
  }));
663
- } catch (_) {
664
- K = _;
671
+ } catch (x) {
672
+ K = x;
665
673
  }
666
674
  }
667
675
  try {
@@ -689,8 +697,8 @@ In the case of an unhandled error, no tags will be "provided" or "invalidated".`
689
697
  }
690
698
  };
691
699
  function S(t, n) {
692
- const o = m.selectQueryEntry(n, t.queryCacheKey), f = m.selectConfig(n).refetchOnMountOrArgChange, M = o?.fulfilledTimeStamp, N = t.forceRefetch ?? (t.subscribe && f);
693
- return N ? N === !0 || (Number(/* @__PURE__ */ new Date()) - Number(M)) / 1e3 >= N : !1;
700
+ const o = m.selectQueryEntry(n, t.queryCacheKey), f = m.selectConfig(n).refetchOnMountOrArgChange, q = o?.fulfilledTimeStamp, N = t.forceRefetch ?? (t.subscribe && f);
701
+ return N ? N === !0 || (Number(/* @__PURE__ */ new Date()) - Number(q)) / 1e3 >= N : !1;
694
702
  }
695
703
  const T = () => Ke(`${e}/executeQuery`, u, {
696
704
  getPendingMeta({
@@ -707,11 +715,11 @@ In the case of an unhandled error, no tags will be "provided" or "invalidated".`
707
715
  condition(n, {
708
716
  getState: o
709
717
  }) {
710
- const f = o(), M = m.selectQueryEntry(f, n.queryCacheKey), N = M?.fulfilledTimeStamp, x = n.originalArgs, C = M?.originalArgs, I = c[n.endpointName], F = n.direction;
711
- return Me(n) ? !0 : M?.status === "pending" ? !1 : S(n, f) || Ie(I) && I?.forceRefetch?.({
712
- currentArg: x,
718
+ const f = o(), q = m.selectQueryEntry(f, n.queryCacheKey), N = q?.fulfilledTimeStamp, _ = n.originalArgs, C = q?.originalArgs, I = c[n.endpointName], F = n.direction;
719
+ return qe(n) ? !0 : q?.status === "pending" ? !1 : S(n, f) || Ie(I) && I?.forceRefetch?.({
720
+ currentArg: _,
713
721
  previousArg: C,
714
- endpointState: M,
722
+ endpointState: q,
715
723
  state: f
716
724
  }) ? !0 : !(N && !F);
717
725
  },
@@ -722,23 +730,23 @@ In the case of an unhandled error, no tags will be "provided" or "invalidated".`
722
730
  startedTimeStamp: Date.now()
723
731
  });
724
732
  }
725
- }), h = (t) => "force" in t, R = (t) => "ifOlderThan" in t, p = (t, n, o = {}) => (f, M) => {
726
- const N = h(o) && o.force, x = R(o) && o.ifOlderThan, C = (F = !0) => {
733
+ }), h = (t) => "force" in t, E = (t) => "ifOlderThan" in t, p = (t, n, o = {}) => (f, q) => {
734
+ const N = h(o) && o.force, _ = E(o) && o.ifOlderThan, C = (F = !0) => {
727
735
  const U = {
728
736
  forceRefetch: F,
729
737
  subscribe: !1
730
738
  };
731
739
  return g.endpoints[t].initiate(n, U);
732
- }, I = g.endpoints[t].select(n)(M());
740
+ }, I = g.endpoints[t].select(n)(q());
733
741
  if (N)
734
742
  f(C());
735
- else if (x) {
743
+ else if (_) {
736
744
  const F = I?.fulfilledTimeStamp;
737
745
  if (!F) {
738
746
  f(C());
739
747
  return;
740
748
  }
741
- (Number(/* @__PURE__ */ new Date()) - Number(new Date(F))) / 1e3 >= x && f(C());
749
+ (Number(/* @__PURE__ */ new Date()) - Number(new Date(F))) / 1e3 >= _ && f(C());
742
750
  } else
743
751
  f(C(!1));
744
752
  };
@@ -749,7 +757,7 @@ In the case of an unhandled error, no tags will be "provided" or "invalidated".`
749
757
  return {
750
758
  matchPending: Te(ut(t), l(n)),
751
759
  matchFulfilled: Te(ie(t), l(n)),
752
- matchRejected: Te(_e(t), l(n))
760
+ matchRejected: Te(xe(t), l(n))
753
761
  };
754
762
  }
755
763
  return {
@@ -759,7 +767,7 @@ In the case of an unhandled error, no tags will be "provided" or "invalidated".`
759
767
  prefetch: p,
760
768
  updateQueryData: A,
761
769
  upsertQueryData: D,
762
- patchQueryData: q,
770
+ patchQueryData: M,
763
771
  buildMatchThunkActions: s
764
772
  };
765
773
  }
@@ -776,7 +784,7 @@ function St(e, {
776
784
  }, y) {
777
785
  return e.getPreviousPageParam?.(i[0], i, c[0], c, y);
778
786
  }
779
- function Rt(e, i, c, y) {
787
+ function Et(e, i, c, y) {
780
788
  return $e(c[e.meta.arg.endpointName][i], ie(e) ? e.payload : void 0, Fe(e) ? e.payload : void 0, e.meta.arg.originalArgs, "baseQueryMeta" in e.meta ? e.meta.baseQueryMeta : void 0, y);
781
789
  }
782
790
  function Ze(e) {
@@ -808,7 +816,7 @@ function Xt({
808
816
  assertTagType: O,
809
817
  config: w
810
818
  }) {
811
- const q = ue(`${e}/resetApiState`);
819
+ const M = ue(`${e}/resetApiState`);
812
820
  function v(l, s, t, n) {
813
821
  l[s.queryCacheKey] ??= {
814
822
  status: X,
@@ -834,22 +842,22 @@ function Xt({
834
842
  if (o.status = fe, f)
835
843
  if (o.data !== void 0) {
836
844
  const {
837
- fulfilledTimeStamp: M,
845
+ fulfilledTimeStamp: q,
838
846
  arg: N,
839
- baseQueryMeta: x,
847
+ baseQueryMeta: _,
840
848
  requestId: C
841
849
  } = s;
842
850
  let I = Ce(o.data, (F) => f(F, t, {
843
851
  arg: N.originalArgs,
844
- baseQueryMeta: x,
845
- fulfilledTimeStamp: M,
852
+ baseQueryMeta: _,
853
+ fulfilledTimeStamp: q,
846
854
  requestId: C
847
855
  }));
848
856
  o.data = I;
849
857
  } else
850
858
  o.data = t;
851
859
  else
852
- o.data = g[s.arg.endpointName].structuralSharing ?? !0 ? ft(dt(o.data) ? qt(o.data) : o.data, t) : t;
860
+ o.data = g[s.arg.endpointName].structuralSharing ?? !0 ? ft(dt(o.data) ? Mt(o.data) : o.data, t) : t;
853
861
  delete o.error, o.fulfilledTimeStamp = s.fulfilledTimeStamp;
854
862
  });
855
863
  }
@@ -897,7 +905,7 @@ function Xt({
897
905
  const {
898
906
  endpointName: o,
899
907
  arg: f,
900
- value: M
908
+ value: q
901
909
  } = n, N = g[o];
902
910
  return {
903
911
  queryDescription: {
@@ -910,7 +918,7 @@ function Xt({
910
918
  endpointName: o
911
919
  })
912
920
  },
913
- value: M
921
+ value: q
914
922
  };
915
923
  }),
916
924
  meta: {
@@ -941,13 +949,13 @@ function Xt({
941
949
  arg: n
942
950
  }
943
951
  }) => {
944
- const o = Me(n);
952
+ const o = qe(n);
945
953
  v(s, n, o, t);
946
954
  }).addCase(i.fulfilled, (s, {
947
955
  meta: t,
948
956
  payload: n
949
957
  }) => {
950
- const o = Me(t.arg);
958
+ const o = qe(t.arg);
951
959
  b(s, t, n, o);
952
960
  }).addCase(i.rejected, (s, {
953
961
  meta: {
@@ -956,12 +964,12 @@ function Xt({
956
964
  requestId: o
957
965
  },
958
966
  error: f,
959
- payload: M
967
+ payload: q
960
968
  }) => {
961
969
  be(s, n.queryCacheKey, (N) => {
962
970
  if (!t) {
963
971
  if (N.requestId !== o) return;
964
- N.status = pe, N.error = M ?? f;
972
+ N.status = pe, N.error = q ?? f;
965
973
  }
966
974
  });
967
975
  }).addMatcher(Q, (s, t) => {
@@ -1027,12 +1035,12 @@ function Xt({
1027
1035
  o !== f?.requestId && (s[o] = f);
1028
1036
  });
1029
1037
  }
1030
- }), E = {
1038
+ }), R = {
1031
1039
  tags: {},
1032
1040
  keys: {}
1033
1041
  }, u = ae({
1034
1042
  name: `${e}/invalidation`,
1035
- initialState: E,
1043
+ initialState: R,
1036
1044
  reducers: {
1037
1045
  updateProvidedBy: {
1038
1046
  reducer(l, s) {
@@ -1045,8 +1053,8 @@ function Xt({
1045
1053
  type: o,
1046
1054
  id: f
1047
1055
  } of n) {
1048
- const M = (l.tags[o] ??= {})[f || "__internal_without_id"] ??= [];
1049
- M.includes(t) || M.push(t);
1056
+ const q = (l.tags[o] ??= {})[f || "__internal_without_id"] ??= [];
1057
+ q.includes(t) || q.push(t);
1050
1058
  }
1051
1059
  l.keys[t] = n;
1052
1060
  }
@@ -1066,12 +1074,12 @@ function Xt({
1066
1074
  provided: n
1067
1075
  } = m(t);
1068
1076
  for (const [o, f] of Object.entries(n.tags ?? {}))
1069
- for (const [M, N] of Object.entries(f)) {
1070
- const x = (s.tags[o] ??= {})[M || "__internal_without_id"] ??= [];
1077
+ for (const [q, N] of Object.entries(f)) {
1078
+ const _ = (s.tags[o] ??= {})[q || "__internal_without_id"] ??= [];
1071
1079
  for (const C of N)
1072
- x.includes(C) || x.push(C), s.keys[C] = n.keys[C];
1080
+ _.includes(C) || _.push(C), s.keys[C] = n.keys[C];
1073
1081
  }
1074
- }).addMatcher(Ee(ie(i), Fe(i)), (s, t) => {
1082
+ }).addMatcher(Re(ie(i), Fe(i)), (s, t) => {
1075
1083
  T(s, [t]);
1076
1084
  }).addMatcher(A.actions.cacheEntriesUpserted.match, (s, t) => {
1077
1085
  const n = t.payload.map(({
@@ -1093,14 +1101,14 @@ function Xt({
1093
1101
  function S(l, s) {
1094
1102
  const t = Ze(l.keys[s] ?? []);
1095
1103
  for (const n of t) {
1096
- const o = n.type, f = n.id ?? "__internal_without_id", M = l.tags[o]?.[f];
1097
- M && (l.tags[o][f] = Ze(M).filter((N) => N !== s));
1104
+ const o = n.type, f = n.id ?? "__internal_without_id", q = l.tags[o]?.[f];
1105
+ q && (l.tags[o][f] = Ze(q).filter((N) => N !== s));
1098
1106
  }
1099
1107
  delete l.keys[s];
1100
1108
  }
1101
1109
  function T(l, s) {
1102
1110
  const t = s.map((n) => {
1103
- const o = Rt(n, "providesTags", g, O), {
1111
+ const o = Et(n, "providesTags", g, O), {
1104
1112
  queryCacheKey: f
1105
1113
  } = n.meta.arg;
1106
1114
  return {
@@ -1135,7 +1143,7 @@ function Xt({
1135
1143
  }), r = ae({
1136
1144
  name: `${e}/config`,
1137
1145
  initialState: {
1138
- online: _t(),
1146
+ online: xt(),
1139
1147
  focused: Ft(),
1140
1148
  middlewareRegistered: !1,
1141
1149
  ...w
@@ -1148,11 +1156,11 @@ function Xt({
1148
1156
  }
1149
1157
  },
1150
1158
  extraReducers: (l) => {
1151
- l.addCase(je, (s) => {
1159
+ l.addCase(ke, (s) => {
1152
1160
  s.online = !0;
1153
1161
  }).addCase(ht, (s) => {
1154
1162
  s.online = !1;
1155
- }).addCase(ke, (s) => {
1163
+ }).addCase(je, (s) => {
1156
1164
  s.focused = !0;
1157
1165
  }).addCase(gt, (s) => {
1158
1166
  s.focused = !1;
@@ -1166,24 +1174,24 @@ function Xt({
1166
1174
  provided: u.reducer,
1167
1175
  subscriptions: d.reducer,
1168
1176
  config: r.reducer
1169
- }), R = (l, s) => h(q.match(s) ? void 0 : l, s), p = {
1177
+ }), E = (l, s) => h(M.match(s) ? void 0 : l, s), p = {
1170
1178
  ...r.actions,
1171
1179
  ...A.actions,
1172
1180
  ...a.actions,
1173
1181
  ...d.actions,
1174
1182
  ...D.actions,
1175
1183
  ...u.actions,
1176
- resetApiState: q
1184
+ resetApiState: M
1177
1185
  };
1178
1186
  return {
1179
- reducer: R,
1187
+ reducer: E,
1180
1188
  actions: p
1181
1189
  };
1182
1190
  }
1183
- var Qe = /* @__PURE__ */ Symbol.for("RTKQ/skipToken"), Et = {
1191
+ var Qe = /* @__PURE__ */ Symbol.for("RTKQ/skipToken"), Rt = {
1184
1192
  status: X
1185
- }, tt = /* @__PURE__ */ Ce(Et, () => {
1186
- }), nt = /* @__PURE__ */ Ce(Et, () => {
1193
+ }, tt = /* @__PURE__ */ Ce(Rt, () => {
1194
+ }), nt = /* @__PURE__ */ Ce(Rt, () => {
1187
1195
  });
1188
1196
  function Zt({
1189
1197
  serializeQueryArgs: e,
@@ -1195,13 +1203,13 @@ function Zt({
1195
1203
  buildQuerySelector: b,
1196
1204
  buildInfiniteQuerySelector: A,
1197
1205
  buildMutationSelector: D,
1198
- selectInvalidatedBy: E,
1206
+ selectInvalidatedBy: R,
1199
1207
  selectCachedArgsForQuery: u,
1200
1208
  selectApiState: m,
1201
1209
  selectQueries: Q,
1202
1210
  selectMutations: w,
1203
1211
  selectQueryEntry: O,
1204
- selectConfig: q
1212
+ selectConfig: M
1205
1213
  };
1206
1214
  function P(a) {
1207
1215
  return {
@@ -1226,19 +1234,19 @@ function Zt({
1226
1234
  function w(a) {
1227
1235
  return m(a)?.mutations;
1228
1236
  }
1229
- function q(a) {
1237
+ function M(a) {
1230
1238
  return m(a)?.config;
1231
1239
  }
1232
1240
  function v(a, d, r) {
1233
1241
  return (h) => {
1234
1242
  if (h === Qe)
1235
1243
  return c(y, r);
1236
- const R = e({
1244
+ const E = e({
1237
1245
  queryArgs: h,
1238
1246
  endpointDefinition: d,
1239
1247
  endpointName: a
1240
1248
  });
1241
- return c((l) => O(l, R) ?? tt, r);
1249
+ return c((l) => O(l, E) ?? tt, r);
1242
1250
  };
1243
1251
  }
1244
1252
  function b(a, d) {
@@ -1248,10 +1256,10 @@ function Zt({
1248
1256
  const {
1249
1257
  infiniteQueryOptions: r
1250
1258
  } = d;
1251
- function h(R) {
1259
+ function h(E) {
1252
1260
  const p = {
1253
- ...R,
1254
- ...We(R.status)
1261
+ ...E,
1262
+ ...We(E.status)
1255
1263
  }, {
1256
1264
  isLoading: l,
1257
1265
  isError: s,
@@ -1272,12 +1280,12 @@ function Zt({
1272
1280
  function D() {
1273
1281
  return (a) => {
1274
1282
  let d;
1275
- return typeof a == "object" ? d = ye(a) ?? Qe : d = a, c(d === Qe ? g : (R) => m(R)?.mutations?.[d] ?? nt, P);
1283
+ return typeof a == "object" ? d = ye(a) ?? Qe : d = a, c(d === Qe ? g : (E) => m(E)?.mutations?.[d] ?? nt, P);
1276
1284
  };
1277
1285
  }
1278
- function E(a, d) {
1279
- const r = a[i], h = /* @__PURE__ */ new Set(), R = De(d, xe, vt);
1280
- for (const p of R) {
1286
+ function R(a, d) {
1287
+ const r = a[i], h = /* @__PURE__ */ new Set(), E = De(d, _e, vt);
1288
+ for (const p of E) {
1281
1289
  const l = r.provided.tags[p.type];
1282
1290
  if (!l)
1283
1291
  continue;
@@ -1340,18 +1348,18 @@ function en(...e) {
1340
1348
  ...c,
1341
1349
  extractRehydrationInfo: y,
1342
1350
  serializeQueryArgs(w) {
1343
- let q = it;
1351
+ let M = it;
1344
1352
  if ("serializeQueryArgs" in w.endpointDefinition) {
1345
1353
  const v = w.endpointDefinition.serializeQueryArgs;
1346
- q = (b) => {
1354
+ M = (b) => {
1347
1355
  const A = v(b);
1348
1356
  return typeof A == "string" ? A : it({
1349
1357
  ...b,
1350
1358
  queryArgs: A
1351
1359
  });
1352
1360
  };
1353
- } else c.serializeQueryArgs && (q = c.serializeQueryArgs);
1354
- return q(w);
1361
+ } else c.serializeQueryArgs && (M = c.serializeQueryArgs);
1362
+ return M(w);
1355
1363
  },
1356
1364
  tagTypes: [...c.tagTypes || []]
1357
1365
  }, P = {
@@ -1366,19 +1374,19 @@ function en(...e) {
1366
1374
  injectEndpoints: O,
1367
1375
  enhanceEndpoints({
1368
1376
  addTagTypes: w,
1369
- endpoints: q
1377
+ endpoints: M
1370
1378
  }) {
1371
1379
  if (w)
1372
1380
  for (const v of w)
1373
1381
  g.tagTypes.includes(v) || g.tagTypes.push(v);
1374
- if (q)
1375
- for (const [v, b] of Object.entries(q))
1382
+ if (M)
1383
+ for (const [v, b] of Object.entries(M))
1376
1384
  typeof b == "function" ? b(ce(P, v)) : Object.assign(ce(P, v) || {}, b);
1377
1385
  return m;
1378
1386
  }
1379
1387
  }, Q = e.map((w) => w.init(m, g, P));
1380
1388
  function O(w) {
1381
- const q = w.endpoints({
1389
+ const M = w.endpoints({
1382
1390
  query: (v) => ({
1383
1391
  ...v,
1384
1392
  type: me
@@ -1392,10 +1400,10 @@ function en(...e) {
1392
1400
  type: mt
1393
1401
  })
1394
1402
  });
1395
- for (const [v, b] of Object.entries(q)) {
1403
+ for (const [v, b] of Object.entries(M)) {
1396
1404
  if (w.overrideExisting !== !0 && v in P.endpointDefinitions) {
1397
1405
  if (w.overrideExisting === "throw")
1398
- throw new Error(process.env.NODE_ENV === "production" ? Re(39) : `called \`injectEndpoints\` to override already-existing endpointName ${v} without specifying \`overrideExisting: true\``);
1406
+ throw new Error(process.env.NODE_ENV === "production" ? Ee(39) : `called \`injectEndpoints\` to override already-existing endpointName ${v} without specifying \`overrideExisting: true\``);
1399
1407
  typeof process < "u" && process.env.NODE_ENV === "development" && console.error(`called \`injectEndpoints\` to override already-existing endpointName ${v} without specifying \`overrideExisting: true\``);
1400
1408
  continue;
1401
1409
  }
@@ -1404,13 +1412,13 @@ function en(...e) {
1404
1412
  infiniteQueryOptions: A
1405
1413
  } = b, {
1406
1414
  maxPages: D,
1407
- getPreviousPageParam: E
1415
+ getPreviousPageParam: R
1408
1416
  } = A;
1409
1417
  if (typeof D == "number") {
1410
1418
  if (D < 1)
1411
- throw new Error(process.env.NODE_ENV === "production" ? Re(40) : `maxPages for endpoint '${v}' must be a number greater than 0`);
1412
- if (typeof E != "function")
1413
- throw new Error(process.env.NODE_ENV === "production" ? Re(41) : `getPreviousPageParam for endpoint '${v}' must be a function if maxPages is used`);
1419
+ throw new Error(process.env.NODE_ENV === "production" ? Ee(40) : `maxPages for endpoint '${v}' must be a number greater than 0`);
1420
+ if (typeof R != "function")
1421
+ throw new Error(process.env.NODE_ENV === "production" ? Ee(41) : `getPreviousPageParam for endpoint '${v}' must be a function if maxPages is used`);
1414
1422
  }
1415
1423
  }
1416
1424
  P.endpointDefinitions[v] = b;
@@ -1438,31 +1446,31 @@ var tn = ({
1438
1446
  const {
1439
1447
  updateSubscriptionOptions: Q,
1440
1448
  unsubscribeQueryResult: O
1441
- } = e.internalActions, w = (E, u) => {
1449
+ } = e.internalActions, w = (R, u) => {
1442
1450
  if (Q.match(u)) {
1443
1451
  const {
1444
1452
  queryCacheKey: T,
1445
1453
  requestId: a,
1446
1454
  options: d
1447
- } = u.payload, r = E.get(T);
1455
+ } = u.payload, r = R.get(T);
1448
1456
  return r?.has(a) && r.set(a, d), !0;
1449
1457
  }
1450
1458
  if (O.match(u)) {
1451
1459
  const {
1452
1460
  queryCacheKey: T,
1453
1461
  requestId: a
1454
- } = u.payload, d = E.get(T);
1462
+ } = u.payload, d = R.get(T);
1455
1463
  return d && d.delete(a), !0;
1456
1464
  }
1457
1465
  if (e.internalActions.removeQueryResult.match(u))
1458
- return E.delete(u.payload.queryCacheKey), !0;
1466
+ return R.delete(u.payload.queryCacheKey), !0;
1459
1467
  if (i.pending.match(u)) {
1460
1468
  const {
1461
1469
  meta: {
1462
1470
  arg: T,
1463
1471
  requestId: a
1464
1472
  }
1465
- } = u, d = Pe(E, T.queryCacheKey, qe);
1473
+ } = u, d = Pe(R, T.queryCacheKey, Me);
1466
1474
  return T.subscribe && d.set(a, T.subscriptionOptions ?? d.get(a) ?? {}), !0;
1467
1475
  }
1468
1476
  let S = !1;
@@ -1475,34 +1483,34 @@ var tn = ({
1475
1483
  }
1476
1484
  } = u;
1477
1485
  if (T && a.subscribe) {
1478
- const r = Pe(E, a.queryCacheKey, qe);
1486
+ const r = Pe(R, a.queryCacheKey, Me);
1479
1487
  r.set(d, a.subscriptionOptions ?? r.get(d) ?? {}), S = !0;
1480
1488
  }
1481
1489
  }
1482
1490
  return S;
1483
- }, q = () => c.currentSubscriptions, A = {
1484
- getSubscriptions: q,
1485
- getSubscriptionCount: (E) => q().get(E)?.size ?? 0,
1486
- isRequestSubscribed: (E, u) => !!q()?.get(E)?.get(u)
1491
+ }, M = () => c.currentSubscriptions, A = {
1492
+ getSubscriptions: M,
1493
+ getSubscriptionCount: (R) => M().get(R)?.size ?? 0,
1494
+ isRequestSubscribed: (R, u) => !!M()?.get(R)?.get(u)
1487
1495
  };
1488
- function D(E) {
1489
- return JSON.parse(JSON.stringify(Object.fromEntries([...E].map(([u, S]) => [u, Object.fromEntries(S)]))));
1496
+ function D(R) {
1497
+ return JSON.parse(JSON.stringify(Object.fromEntries([...R].map(([u, S]) => [u, Object.fromEntries(S)]))));
1490
1498
  }
1491
- return (E, u) => {
1492
- if (P || (P = D(c.currentSubscriptions)), e.util.resetApiState.match(E))
1499
+ return (R, u) => {
1500
+ if (P || (P = D(c.currentSubscriptions)), e.util.resetApiState.match(R))
1493
1501
  return P = {}, c.currentSubscriptions.clear(), m = null, [!0, !1];
1494
- if (e.internalActions.internal_getRTKQSubscriptions.match(E))
1502
+ if (e.internalActions.internal_getRTKQSubscriptions.match(R))
1495
1503
  return [!1, A];
1496
- const S = w(c.currentSubscriptions, E);
1504
+ const S = w(c.currentSubscriptions, R);
1497
1505
  let T = !0;
1498
- if (process.env.NODE_ENV === "test" && typeof E.type == "string" && E.type === `${e.reducerPath}/getPolling`)
1506
+ if (process.env.NODE_ENV === "test" && typeof R.type == "string" && R.type === `${e.reducerPath}/getPolling`)
1499
1507
  return [!1, c.currentPolls];
1500
1508
  if (S) {
1501
1509
  m || (m = setTimeout(() => {
1502
1510
  const r = D(c.currentSubscriptions), [, h] = lt(P, () => r);
1503
1511
  u.next(e.internalActions.subscriptionsUpdated(h)), P = r, m = null;
1504
1512
  }, 500));
1505
- const a = typeof E.type == "string" && !!E.type.startsWith(g), d = i.rejected.match(E) && E.meta.condition && !!E.meta.arg.subscribe;
1513
+ const a = typeof R.type == "string" && !!R.type.startsWith(g), d = i.rejected.match(R) && R.meta.condition && !!R.meta.arg.subscribe;
1506
1514
  T = !a && !d;
1507
1515
  }
1508
1516
  return [T, !1];
@@ -1522,49 +1530,49 @@ var tn = ({
1522
1530
  }) => {
1523
1531
  const {
1524
1532
  removeQueryResult: w,
1525
- unsubscribeQueryResult: q,
1533
+ unsubscribeQueryResult: M,
1526
1534
  cacheEntriesUpserted: v
1527
- } = i.internalActions, b = Ee(q.match, c.fulfilled, c.rejected, v.match);
1535
+ } = i.internalActions, b = Re(M.match, c.fulfilled, c.rejected, v.match);
1528
1536
  function A(a) {
1529
1537
  const d = g.currentSubscriptions.get(a);
1530
1538
  return d ? d.size > 0 : !1;
1531
1539
  }
1532
1540
  const D = {};
1533
- function E(a) {
1541
+ function R(a) {
1534
1542
  for (const d of a.values())
1535
1543
  d?.abort?.();
1536
1544
  }
1537
1545
  const u = (a, d) => {
1538
1546
  const r = d.getState(), h = m(r);
1539
1547
  if (b(a)) {
1540
- let R;
1548
+ let E;
1541
1549
  if (v.match(a))
1542
- R = a.payload.map((p) => p.queryDescription.queryCacheKey);
1550
+ E = a.payload.map((p) => p.queryDescription.queryCacheKey);
1543
1551
  else {
1544
1552
  const {
1545
1553
  queryCacheKey: p
1546
- } = q.match(a) ? a.payload : a.meta.arg;
1547
- R = [p];
1554
+ } = M.match(a) ? a.payload : a.meta.arg;
1555
+ E = [p];
1548
1556
  }
1549
- S(R, d, h);
1557
+ S(E, d, h);
1550
1558
  }
1551
1559
  if (i.util.resetApiState.match(a)) {
1552
- for (const [R, p] of Object.entries(D))
1553
- p && clearTimeout(p), delete D[R];
1554
- E(g.runningQueries), E(g.runningMutations);
1560
+ for (const [E, p] of Object.entries(D))
1561
+ p && clearTimeout(p), delete D[E];
1562
+ R(g.runningQueries), R(g.runningMutations);
1555
1563
  }
1556
1564
  if (y.hasRehydrationInfo(a)) {
1557
1565
  const {
1558
- queries: R
1566
+ queries: E
1559
1567
  } = y.extractRehydrationInfo(a);
1560
- S(Object.keys(R), d, h);
1568
+ S(Object.keys(E), d, h);
1561
1569
  }
1562
1570
  };
1563
1571
  function S(a, d, r) {
1564
1572
  const h = d.getState();
1565
- for (const R of a) {
1566
- const p = P(h, R);
1567
- p?.endpointName && T(R, p.endpointName, d, r);
1573
+ for (const E of a) {
1574
+ const p = P(h, E);
1575
+ p?.endpointName && T(E, p.endpointName, d, r);
1568
1576
  }
1569
1577
  }
1570
1578
  function T(a, d, r, h) {
@@ -1598,16 +1606,16 @@ var tn = ({
1598
1606
  selectApiState: Q
1599
1607
  }
1600
1608
  }) => {
1601
- const O = Ve(y), w = Ve(g), q = ie(y, g), v = {}, {
1609
+ const O = Ve(y), w = Ve(g), M = ie(y, g), v = {}, {
1602
1610
  removeQueryResult: b,
1603
1611
  removeMutationResult: A,
1604
1612
  cacheEntriesUpserted: D
1605
1613
  } = e.internalActions;
1606
- function E(r, h, R) {
1614
+ function R(r, h, E) {
1607
1615
  const p = v[r];
1608
1616
  p?.valueResolved && (p.valueResolved({
1609
1617
  data: h,
1610
- meta: R
1618
+ meta: E
1611
1619
  }), delete p.valueResolved);
1612
1620
  }
1613
1621
  function u(r) {
@@ -1617,18 +1625,18 @@ var tn = ({
1617
1625
  function S(r) {
1618
1626
  const {
1619
1627
  arg: h,
1620
- requestId: R
1628
+ requestId: E
1621
1629
  } = r.meta, {
1622
1630
  endpointName: p,
1623
1631
  originalArgs: l
1624
1632
  } = h;
1625
- return [p, l, R];
1633
+ return [p, l, E];
1626
1634
  }
1627
- const T = (r, h, R) => {
1635
+ const T = (r, h, E) => {
1628
1636
  const p = a(r);
1629
1637
  function l(s, t, n, o) {
1630
- const f = m(R, t), M = m(h.getState(), t);
1631
- !f && M && d(s, o, t, h, n);
1638
+ const f = m(E, t), q = m(h.getState(), t);
1639
+ !f && q && d(s, o, t, h, n);
1632
1640
  }
1633
1641
  if (y.pending.match(r)) {
1634
1642
  const [s, t, n] = S(r);
@@ -1643,15 +1651,15 @@ var tn = ({
1643
1651
  originalArgs: o,
1644
1652
  queryCacheKey: f
1645
1653
  } = s;
1646
- l(n, f, r.meta.requestId, o), E(f, t, {});
1654
+ l(n, f, r.meta.requestId, o), R(f, t, {});
1647
1655
  }
1648
1656
  else if (g.pending.match(r)) {
1649
1657
  if (h.getState()[i].mutations[p]) {
1650
1658
  const [t, n, o] = S(r);
1651
1659
  d(t, n, p, h, o);
1652
1660
  }
1653
- } else if (q(r))
1654
- E(p, r.payload, r.meta.baseQueryMeta);
1661
+ } else if (M(r))
1662
+ R(p, r.payload, r.meta.baseQueryMeta);
1655
1663
  else if (b.match(r) || A.match(r))
1656
1664
  u(p);
1657
1665
  else if (e.util.resetApiState.match(r))
@@ -1661,7 +1669,7 @@ var tn = ({
1661
1669
  function a(r) {
1662
1670
  return O(r) ? r.meta.arg.queryCacheKey : w(r) ? r.meta.arg.fixedCacheKey ?? r.meta.requestId : b.match(r) ? r.payload.queryCacheKey : A.match(r) ? ye(r.payload) : "";
1663
1671
  }
1664
- function d(r, h, R, p, l) {
1672
+ function d(r, h, E, p, l) {
1665
1673
  const s = ce(c, r), t = s?.onCacheEntryAdded;
1666
1674
  if (!t) return;
1667
1675
  const n = {}, o = new Promise((I) => {
@@ -1672,16 +1680,16 @@ var tn = ({
1672
1680
  throw st;
1673
1681
  })]);
1674
1682
  f.catch(() => {
1675
- }), v[R] = n;
1676
- const M = e.endpoints[r].select(we(s) ? h : R), N = p.dispatch((I, F, U) => U), x = {
1683
+ }), v[E] = n;
1684
+ const q = e.endpoints[r].select(we(s) ? h : E), N = p.dispatch((I, F, U) => U), _ = {
1677
1685
  ...p,
1678
- getCacheEntry: () => M(p.getState()),
1686
+ getCacheEntry: () => q(p.getState()),
1679
1687
  requestId: l,
1680
1688
  extra: N,
1681
1689
  updateCachedData: we(s) ? (I) => p.dispatch(e.util.updateQueryData(r, h, I)) : void 0,
1682
1690
  cacheDataLoaded: f,
1683
1691
  cacheEntryRemoved: o
1684
- }, C = t(h, x);
1692
+ }, C = t(h, _);
1685
1693
  Promise.resolve(C).catch((I) => {
1686
1694
  if (I !== st)
1687
1695
  throw I;
@@ -1713,27 +1721,27 @@ If you have multiple apis, you *have* to specify the reducerPath option when usi
1713
1721
  }) => {
1714
1722
  const {
1715
1723
  removeQueryResult: w
1716
- } = P.internalActions, q = Ee(ie(y), Fe(y)), v = Ee(ie(g, y), _e(g, y));
1724
+ } = P.internalActions, M = Re(ie(y), Fe(y)), v = Re(ie(g, y), xe(g, y));
1717
1725
  let b = [], A = 0;
1718
1726
  const D = (S, T) => {
1719
- (g.pending.match(S) || y.pending.match(S)) && A++, v(S) && (A = Math.max(0, A - 1)), q(S) ? u(Rt(S, "invalidatesTags", c, m), T) : v(S) ? u([], T) : P.util.invalidateTags.match(S) && u($e(S.payload, void 0, void 0, void 0, void 0, m), T);
1727
+ (g.pending.match(S) || y.pending.match(S)) && A++, v(S) && (A = Math.max(0, A - 1)), M(S) ? u(Et(S, "invalidatesTags", c, m), T) : v(S) ? u([], T) : P.util.invalidateTags.match(S) && u($e(S.payload, void 0, void 0, void 0, void 0, m), T);
1720
1728
  };
1721
- function E() {
1729
+ function R() {
1722
1730
  return A > 0;
1723
1731
  }
1724
1732
  function u(S, T) {
1725
1733
  const a = T.getState(), d = a[e];
1726
- if (b.push(...S), d.config.invalidationBehavior === "delayed" && E())
1734
+ if (b.push(...S), d.config.invalidationBehavior === "delayed" && R())
1727
1735
  return;
1728
1736
  const r = b;
1729
1737
  if (b = [], r.length === 0) return;
1730
1738
  const h = P.util.selectInvalidatedBy(a, r);
1731
1739
  i.batch(() => {
1732
- const R = Array.from(h.values());
1740
+ const E = Array.from(h.values());
1733
1741
  for (const {
1734
1742
  queryCacheKey: p
1735
- } of R) {
1736
- const l = d.queries[p], s = Pe(O.currentSubscriptions, p, qe);
1743
+ } of E) {
1744
+ const l = d.queries[p], s = Pe(O.currentSubscriptions, p, Me);
1737
1745
  l && (s.size === 0 ? T.dispatch(w({
1738
1746
  queryCacheKey: p
1739
1747
  })) : l.status !== X && T.dispatch(Q(l)));
@@ -1754,9 +1762,9 @@ If you have multiple apis, you *have* to specify the reducerPath option when usi
1754
1762
  } = g, Q = /* @__PURE__ */ new Set();
1755
1763
  let O = null;
1756
1764
  const w = (u, S) => {
1757
- (c.internalActions.updateSubscriptionOptions.match(u) || c.internalActions.unsubscribeQueryResult.match(u)) && q(u.payload.queryCacheKey, S), (i.pending.match(u) || i.rejected.match(u) && u.meta.condition) && q(u.meta.arg.queryCacheKey, S), (i.fulfilled.match(u) || i.rejected.match(u) && !u.meta.condition) && v(u.meta.arg, S), c.util.resetApiState.match(u) && (D(), O && (clearTimeout(O), O = null), Q.clear());
1765
+ (c.internalActions.updateSubscriptionOptions.match(u) || c.internalActions.unsubscribeQueryResult.match(u)) && M(u.payload.queryCacheKey, S), (i.pending.match(u) || i.rejected.match(u) && u.meta.condition) && M(u.meta.arg.queryCacheKey, S), (i.fulfilled.match(u) || i.rejected.match(u) && !u.meta.condition) && v(u.meta.arg, S), c.util.resetApiState.match(u) && (D(), O && (clearTimeout(O), O = null), Q.clear());
1758
1766
  };
1759
- function q(u, S) {
1767
+ function M(u, S) {
1760
1768
  Q.add(u), O || (O = setTimeout(() => {
1761
1769
  for (const T of Q)
1762
1770
  b({
@@ -1773,10 +1781,10 @@ If you have multiple apis, you *have* to specify the reducerPath option when usi
1773
1781
  const {
1774
1782
  lowestPollingInterval: r,
1775
1783
  skipPollingIfUnfocused: h
1776
- } = E(d);
1784
+ } = R(d);
1777
1785
  if (!Number.isFinite(r)) return;
1778
- const R = P.get(u);
1779
- R?.timeout && (clearTimeout(R.timeout), R.timeout = void 0);
1786
+ const E = P.get(u);
1787
+ E?.timeout && (clearTimeout(E.timeout), E.timeout = void 0);
1780
1788
  const p = Date.now() + r;
1781
1789
  P.set(u, {
1782
1790
  nextPollTimestamp: p,
@@ -1796,7 +1804,7 @@ If you have multiple apis, you *have* to specify the reducerPath option when usi
1796
1804
  return;
1797
1805
  const {
1798
1806
  lowestPollingInterval: r
1799
- } = E(d);
1807
+ } = R(d);
1800
1808
  if (process.env.NODE_ENV === "test") {
1801
1809
  const p = P.pollUpdateCounters ??= {};
1802
1810
  p[u] ??= 0, p[u]++;
@@ -1805,8 +1813,8 @@ If you have multiple apis, you *have* to specify the reducerPath option when usi
1805
1813
  A(u);
1806
1814
  return;
1807
1815
  }
1808
- const h = P.get(u), R = Date.now() + r;
1809
- (!h || R < h.nextPollTimestamp) && v({
1816
+ const h = P.get(u), E = Date.now() + r;
1817
+ (!h || E < h.nextPollTimestamp) && v({
1810
1818
  queryCacheKey: u
1811
1819
  }, S);
1812
1820
  }
@@ -1818,7 +1826,7 @@ If you have multiple apis, you *have* to specify the reducerPath option when usi
1818
1826
  for (const u of P.keys())
1819
1827
  A(u);
1820
1828
  }
1821
- function E(u = /* @__PURE__ */ new Map()) {
1829
+ function R(u = /* @__PURE__ */ new Map()) {
1822
1830
  let S = !1, T = Number.POSITIVE_INFINITY;
1823
1831
  for (const a of u.values())
1824
1832
  a.pollingInterval && (T = Math.min(a.pollingInterval, T), S = a.skipPollingIfUnfocused || S);
@@ -1834,8 +1842,8 @@ If you have multiple apis, you *have* to specify the reducerPath option when usi
1834
1842
  queryThunk: c,
1835
1843
  mutationThunk: y
1836
1844
  }) => {
1837
- const g = ut(c, y), P = _e(c, y), m = ie(c, y), Q = {};
1838
- return (w, q) => {
1845
+ const g = ut(c, y), P = xe(c, y), m = ie(c, y), Q = {};
1846
+ return (w, M) => {
1839
1847
  if (g(w)) {
1840
1848
  const {
1841
1849
  requestId: v,
@@ -1843,22 +1851,22 @@ If you have multiple apis, you *have* to specify the reducerPath option when usi
1843
1851
  endpointName: b,
1844
1852
  originalArgs: A
1845
1853
  }
1846
- } = w.meta, D = ce(i, b), E = D?.onQueryStarted;
1847
- if (E) {
1854
+ } = w.meta, D = ce(i, b), R = D?.onQueryStarted;
1855
+ if (R) {
1848
1856
  const u = {}, S = new Promise((r, h) => {
1849
1857
  u.resolve = r, u.reject = h;
1850
1858
  });
1851
1859
  S.catch(() => {
1852
1860
  }), Q[v] = u;
1853
- const T = e.endpoints[b].select(we(D) ? A : v), a = q.dispatch((r, h, R) => R), d = {
1854
- ...q,
1855
- getCacheEntry: () => T(q.getState()),
1861
+ const T = e.endpoints[b].select(we(D) ? A : v), a = M.dispatch((r, h, E) => E), d = {
1862
+ ...M,
1863
+ getCacheEntry: () => T(M.getState()),
1856
1864
  requestId: v,
1857
1865
  extra: a,
1858
- updateCachedData: we(D) ? (r) => q.dispatch(e.util.updateQueryData(b, A, r)) : void 0,
1866
+ updateCachedData: we(D) ? (r) => M.dispatch(e.util.updateQueryData(b, A, r)) : void 0,
1859
1867
  queryFulfilled: S
1860
1868
  };
1861
- E(A, d);
1869
+ R(A, d);
1862
1870
  }
1863
1871
  } else if (m(w)) {
1864
1872
  const {
@@ -1892,16 +1900,16 @@ If you have multiple apis, you *have* to specify the reducerPath option when usi
1892
1900
  const {
1893
1901
  removeQueryResult: P
1894
1902
  } = c.internalActions, m = (O, w) => {
1895
- ke.match(O) && Q(w, "refetchOnFocus"), je.match(O) && Q(w, "refetchOnReconnect");
1903
+ je.match(O) && Q(w, "refetchOnFocus"), ke.match(O) && Q(w, "refetchOnReconnect");
1896
1904
  };
1897
1905
  function Q(O, w) {
1898
- const q = O.getState()[e], v = q.queries, b = g.currentSubscriptions;
1906
+ const M = O.getState()[e], v = M.queries, b = g.currentSubscriptions;
1899
1907
  i.batch(() => {
1900
1908
  for (const A of b.keys()) {
1901
- const D = v[A], E = b.get(A);
1902
- if (!E || !D) continue;
1903
- const u = [...E.values()];
1904
- (u.some((T) => T[w] === !0) || u.every((T) => T[w] === void 0) && q.config[w]) && (E.size === 0 ? O.dispatch(P({
1909
+ const D = v[A], R = b.get(A);
1910
+ if (!R || !D) continue;
1911
+ const u = [...R.values()];
1912
+ (u.some((T) => T[w] === !0) || u.every((T) => T[w] === void 0) && M.config[w]) && (R.size === 0 ? O.dispatch(P({
1905
1913
  queryCacheKey: A
1906
1914
  })) : D.status !== X && O.dispatch(y(D)));
1907
1915
  }
@@ -1924,13 +1932,13 @@ function dn(e) {
1924
1932
  return {
1925
1933
  middleware: (b) => {
1926
1934
  let A = !1;
1927
- const D = P(b.dispatch), E = {
1935
+ const D = P(b.dispatch), R = {
1928
1936
  ...e,
1929
1937
  internalState: D,
1930
1938
  refetchQuery: v,
1931
1939
  isThisApiSliceAction: O,
1932
1940
  mwApi: b
1933
- }, u = w.map((a) => a(E)), S = tn(E), T = ln(E);
1941
+ }, u = w.map((a) => a(R)), S = tn(R), T = ln(R);
1934
1942
  return (a) => (d) => {
1935
1943
  if (!Tt(d))
1936
1944
  return a(d);
@@ -1938,9 +1946,9 @@ function dn(e) {
1938
1946
  const r = {
1939
1947
  ...b,
1940
1948
  next: a
1941
- }, h = b.getState(), [R, p] = S(d, r, h);
1949
+ }, h = b.getState(), [E, p] = S(d, r, h);
1942
1950
  let l;
1943
- if (R ? l = a(d) : l = p, b.getState()[i] && (T(d, r, h), O(d) || g.hasRehydrationInfo(d)))
1951
+ if (E ? l = a(d) : l = p, b.getState()[i] && (T(d, r, h), O(d) || g.hasRehydrationInfo(d)))
1944
1952
  for (const s of u)
1945
1953
  s(d, r, h);
1946
1954
  return l;
@@ -1968,20 +1976,20 @@ var ot = /* @__PURE__ */ Symbol(), fn = ({
1968
1976
  refetchOnMountOrArgChange: Q,
1969
1977
  refetchOnFocus: O,
1970
1978
  refetchOnReconnect: w,
1971
- invalidationBehavior: q,
1979
+ invalidationBehavior: M,
1972
1980
  onSchemaFailure: v,
1973
1981
  catchSchemaFailure: b,
1974
1982
  skipSchemaValidation: A
1975
1983
  }, D) {
1976
1984
  Qt();
1977
- const E = (k) => (typeof process < "u" && process.env.NODE_ENV === "development" && (y.includes(k.type) || console.error(`Tag type '${k.type}' was used, but not specified in \`tagTypes\`!`)), k);
1985
+ const R = (j) => (typeof process < "u" && process.env.NODE_ENV === "development" && (y.includes(j.type) || console.error(`Tag type '${j.type}' was used, but not specified in \`tagTypes\`!`)), j);
1978
1986
  Object.assign(i, {
1979
1987
  reducerPath: g,
1980
1988
  endpoints: {},
1981
1989
  internalActions: {
1982
- onOnline: je,
1990
+ onOnline: ke,
1983
1991
  onOffline: ht,
1984
- onFocus: ke,
1992
+ onFocus: je,
1985
1993
  onFocusLost: gt
1986
1994
  },
1987
1995
  util: {}
@@ -2003,7 +2011,7 @@ var ot = /* @__PURE__ */ Symbol(), fn = ({
2003
2011
  });
2004
2012
  const {
2005
2013
  queryThunk: h,
2006
- infiniteQueryThunk: R,
2014
+ infiniteQueryThunk: E,
2007
2015
  mutationThunk: p,
2008
2016
  patchQueryData: l,
2009
2017
  updateQueryData: s,
@@ -2016,28 +2024,28 @@ var ot = /* @__PURE__ */ Symbol(), fn = ({
2016
2024
  context: D,
2017
2025
  api: i,
2018
2026
  serializeQueryArgs: P,
2019
- assertTagType: E,
2027
+ assertTagType: R,
2020
2028
  selectors: u,
2021
2029
  onSchemaFailure: v,
2022
2030
  catchSchemaFailure: b,
2023
2031
  skipSchemaValidation: A
2024
2032
  }), {
2025
2033
  reducer: f,
2026
- actions: M
2034
+ actions: q
2027
2035
  } = Xt({
2028
2036
  context: D,
2029
2037
  queryThunk: h,
2030
2038
  mutationThunk: p,
2031
2039
  serializeQueryArgs: P,
2032
2040
  reducerPath: g,
2033
- assertTagType: E,
2041
+ assertTagType: R,
2034
2042
  config: {
2035
2043
  refetchOnFocus: O,
2036
2044
  refetchOnReconnect: w,
2037
2045
  refetchOnMountOrArgChange: Q,
2038
2046
  keepUnusedDataFor: m,
2039
2047
  reducerPath: g,
2040
- invalidationBehavior: q
2048
+ invalidationBehavior: M
2041
2049
  }
2042
2050
  });
2043
2051
  G(i.util, {
@@ -2045,10 +2053,10 @@ var ot = /* @__PURE__ */ Symbol(), fn = ({
2045
2053
  updateQueryData: s,
2046
2054
  upsertQueryData: t,
2047
2055
  prefetch: n,
2048
- resetApiState: M.resetApiState,
2049
- upsertQueryEntries: M.cacheEntriesUpserted
2050
- }), G(i.internalActions, M);
2051
- const N = /* @__PURE__ */ new WeakMap(), x = (k) => Pe(N, k, () => ({
2056
+ resetApiState: q.resetApiState,
2057
+ upsertQueryEntries: q.cacheEntriesUpserted
2058
+ }), G(i.internalActions, q);
2059
+ const N = /* @__PURE__ */ new WeakMap(), _ = (j) => Pe(N, j, () => ({
2052
2060
  currentSubscriptions: /* @__PURE__ */ new Map(),
2053
2061
  currentPolls: /* @__PURE__ */ new Map(),
2054
2062
  runningQueries: /* @__PURE__ */ new Map(),
@@ -2064,11 +2072,11 @@ var ot = /* @__PURE__ */ Symbol(), fn = ({
2064
2072
  } = Yt({
2065
2073
  queryThunk: h,
2066
2074
  mutationThunk: p,
2067
- infiniteQueryThunk: R,
2075
+ infiniteQueryThunk: E,
2068
2076
  api: i,
2069
2077
  serializeQueryArgs: P,
2070
2078
  context: D,
2071
- getInternalState: x
2079
+ getInternalState: _
2072
2080
  });
2073
2081
  G(i.util, {
2074
2082
  getRunningMutationThunk: U,
@@ -2084,33 +2092,33 @@ var ot = /* @__PURE__ */ Symbol(), fn = ({
2084
2092
  context: D,
2085
2093
  queryThunk: h,
2086
2094
  mutationThunk: p,
2087
- infiniteQueryThunk: R,
2095
+ infiniteQueryThunk: E,
2088
2096
  api: i,
2089
- assertTagType: E,
2097
+ assertTagType: R,
2090
2098
  selectors: u,
2091
2099
  getRunningQueryThunk: K,
2092
- getInternalState: x
2100
+ getInternalState: _
2093
2101
  });
2094
2102
  return G(i.util, V), G(i, {
2095
2103
  reducer: f,
2096
2104
  middleware: B
2097
2105
  }), {
2098
2106
  name: ot,
2099
- injectEndpoint(k, j) {
2100
- const $ = i, _ = $.endpoints[k] ??= {};
2101
- Ie(j) && G(_, {
2102
- name: k,
2103
- select: a(k, j),
2104
- initiate: C(k, j)
2105
- }, o(h, k)), Ht(j) && G(_, {
2106
- name: k,
2107
+ injectEndpoint(j, k) {
2108
+ const $ = i, x = $.endpoints[j] ??= {};
2109
+ Ie(k) && G(x, {
2110
+ name: j,
2111
+ select: a(j, k),
2112
+ initiate: C(j, k)
2113
+ }, o(h, j)), Ht(k) && G(x, {
2114
+ name: j,
2107
2115
  select: r(),
2108
- initiate: F(k)
2109
- }, o(p, k)), ve(j) && G(_, {
2110
- name: k,
2111
- select: d(k, j),
2112
- initiate: I(k, j)
2113
- }, o(h, k));
2116
+ initiate: F(j)
2117
+ }, o(p, j)), ve(k) && G(x, {
2118
+ name: j,
2119
+ select: d(j, k),
2120
+ initiate: I(j, k)
2121
+ }, o(h, j));
2114
2122
  }
2115
2123
  };
2116
2124
  }