@corva/ui 3.75.0-13 → 3.75.0-14

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 (203) hide show
  1. package/cjs-bundle/components/AddComment/Popover.js +1 -1
  2. package/cjs-bundle/components/AddComment/Popover.js.map +1 -1
  3. package/cjs-bundle/components/AddComment/components/Content.js +1 -1
  4. package/cjs-bundle/components/AddComment/components/Content.js.map +1 -1
  5. package/cjs-bundle/components/BICOffsetPickerDialog/components/Map/Map.js +1 -1
  6. package/cjs-bundle/components/BICOffsetPickerDialog/components/Map/Map.js.map +1 -1
  7. package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
  8. package/cjs-bundle/components/BICOffsetPickerDialog/index.js.map +1 -1
  9. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  10. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  11. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
  12. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  13. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  14. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  15. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
  16. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js.map +1 -1
  17. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  18. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  19. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  20. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  21. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  22. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  23. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  24. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  25. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  26. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  27. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  28. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  29. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  30. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  31. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  32. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  33. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  34. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  35. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  36. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  37. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  38. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  39. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  40. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  41. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  42. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  43. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  44. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  45. package/cjs-bundle/components/OffsetWellMap/OffsetWellMap.js +1 -1
  46. package/cjs-bundle/components/OffsetWellMap/OffsetWellMap.js.map +1 -1
  47. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  48. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  49. package/cjs-bundle/components/OffsetWellPickerV2/components/Map/Map.js +1 -1
  50. package/cjs-bundle/components/OffsetWellPickerV2/components/Map/Map.js.map +1 -1
  51. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  52. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  53. package/cjs-bundle/components/OffsetWellPickerV2/effects/index.js +1 -1
  54. package/cjs-bundle/components/OffsetWellPickerV2/effects/index.js.map +1 -1
  55. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js +1 -1
  56. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js.map +1 -1
  57. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  58. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  59. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js +1 -1
  60. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js.map +1 -1
  61. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  62. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  63. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  64. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  65. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  66. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  67. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  68. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  69. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  70. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  71. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  72. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  73. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
  74. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js.map +1 -1
  75. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js +1 -1
  76. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js.map +1 -1
  77. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js +1 -1
  78. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js.map +1 -1
  79. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.js +1 -1
  80. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.js.map +1 -1
  81. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
  82. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
  83. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js +1 -1
  84. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js.map +1 -1
  85. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.js +1 -1
  86. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.js.map +1 -1
  87. package/cjs-bundle/components/OffsetWellPickerV5/utils/getCoordinatedWells.js +1 -1
  88. package/cjs-bundle/components/OffsetWellPickerV5/utils/getCoordinatedWells.js.map +1 -1
  89. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
  90. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  91. package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  92. package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js.map +1 -1
  93. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/hooks/usePadsByRadius.js +1 -1
  94. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/hooks/usePadsByRadius.js.map +1 -1
  95. package/components/AddComment/Popover.js +1 -1
  96. package/components/AddComment/Popover.js.map +1 -1
  97. package/components/AddComment/components/Content.js +1 -1
  98. package/components/AddComment/components/Content.js.map +1 -1
  99. package/components/BICOffsetPickerDialog/components/Map/Map.d.ts.map +1 -1
  100. package/components/BICOffsetPickerDialog/components/Map/Map.js +1 -1
  101. package/components/BICOffsetPickerDialog/components/Map/Map.js.map +1 -1
  102. package/components/BICOffsetPickerDialog/index.js +1 -1
  103. package/components/BICOffsetPickerDialog/index.js.map +1 -1
  104. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  105. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  106. package/components/Casing/CasingTableV2/components/Component.js +1 -1
  107. package/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  108. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  109. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  110. package/components/DocumentViewer/DocumentViewer.js +1 -1
  111. package/components/DocumentViewer/DocumentViewer.js.map +1 -1
  112. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  113. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  114. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  115. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  116. package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  117. package/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  118. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  119. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  120. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  121. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  122. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  123. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  124. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  125. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  126. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  127. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  128. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  129. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  130. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  131. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  132. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  133. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  134. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  135. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  136. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  137. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  138. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  139. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  140. package/components/OffsetWellMap/OffsetWellMap.d.ts.map +1 -1
  141. package/components/OffsetWellMap/OffsetWellMap.js +1 -1
  142. package/components/OffsetWellMap/OffsetWellMap.js.map +1 -1
  143. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  144. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  145. package/components/OffsetWellPickerV2/components/Map/Map.d.ts.map +1 -1
  146. package/components/OffsetWellPickerV2/components/Map/Map.js +1 -1
  147. package/components/OffsetWellPickerV2/components/Map/Map.js.map +1 -1
  148. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  149. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  150. package/components/OffsetWellPickerV2/effects/index.d.ts.map +1 -1
  151. package/components/OffsetWellPickerV2/effects/index.js +1 -1
  152. package/components/OffsetWellPickerV2/effects/index.js.map +1 -1
  153. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.d.ts.map +1 -1
  154. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js +1 -1
  155. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js.map +1 -1
  156. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  157. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  158. package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.d.ts.map +1 -1
  159. package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js +1 -1
  160. package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js.map +1 -1
  161. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  162. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  163. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  164. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  165. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  166. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  167. package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  168. package/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  169. package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  170. package/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  171. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  172. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  173. package/components/OffsetWellPickerV4/effects/useAdvancedWells.d.ts.map +1 -1
  174. package/components/OffsetWellPickerV4/utils/index.d.ts.map +1 -1
  175. package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
  176. package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js.map +1 -1
  177. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js +1 -1
  178. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js.map +1 -1
  179. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js +1 -1
  180. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js.map +1 -1
  181. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.d.ts.map +1 -1
  182. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.js +1 -1
  183. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.js.map +1 -1
  184. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
  185. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
  186. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js +1 -1
  187. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js.map +1 -1
  188. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.d.ts.map +1 -1
  189. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.js +1 -1
  190. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.js.map +1 -1
  191. package/components/OffsetWellPickerV5/utils/getCoordinatedWells.d.ts.map +1 -1
  192. package/components/OffsetWellPickerV5/utils/getCoordinatedWells.js +1 -1
  193. package/components/OffsetWellPickerV5/utils/getCoordinatedWells.js.map +1 -1
  194. package/components/PadOffsetsPicker/StagesSelector.js +1 -1
  195. package/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  196. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  197. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js.map +1 -1
  198. package/componentsV2/CompletionsOffsetWellPicker/hooks/usePadsByRadius.d.ts.map +1 -1
  199. package/componentsV2/CompletionsOffsetWellPicker/hooks/usePadsByRadius.js +1 -1
  200. package/componentsV2/CompletionsOffsetWellPicker/hooks/usePadsByRadius.js.map +1 -1
  201. package/mcp-server/server.mjs +4 -4
  202. package/package.json +1 -1
  203. package/tsconfig.tsbuildinfo +1 -1
@@ -1,2 +1,2 @@
1
- import e from"@babel/runtime/helpers/defineProperty";import{useMemo as t,useCallback as o}from"react";import s from"classnames";import{uniqBy as i}from"lodash";import{AppHeader as n}from"../AppHeader/AppHeader.js";import{PickerModalActions as r}from"../PickerModalActions/PickerModalActions.js";import{MapColumn as p}from"../MapColumn/MapColumn.js";import{TableSection as m}from"../TableSection/TableSection.js";import{useElementSize as c}from"../../hooks/useElementSize.js";import a from"../../OffsetWellPickerV5.module.css.js";import"@material-ui/core/Snackbar";import"../../../Notifications/Toast.js";import"../../../Notifications/Notifications.scss.js";import{jsx as l,jsxs as d,Fragment as j}from"react/jsx-runtime";import{NotificationsContainer as u}from"../../../Notifications/NotificationsContainer.js";import C from"../../../../styles/typography/index.js";import"../../../../styles/counter/counter.module.scss.js";import"../../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider.js";import"../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"@babel/runtime/helpers/objectWithoutProperties";import"@material-ui/core";import"../../../Modal/CorvaModal.scss.js";import"@icon-park/react/es/all";import"../../../../icons/IconParkProvider.js";import"../../../../icons/customIcons/icons/AddMessage.js";import"../../../../icons/customIcons/icons/DragOne.js";import"../../../../icons/customIcons/icons/Attention.js";import"../../../../icons/customIcons/icons/Collapse.js";import"../../../../icons/customIcons/icons/Dashboard.js";import"../../../../icons/customIcons/icons/Expand.js";import"../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../icons/customIcons/icons/Search.js";import"../../../../icons/customIcons/icons/SearchOne.js";import"../../../../icons/customIcons/icons/Wellhub.js";import"../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../icons/customIcons/icons/Checkbox.js";import"../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../icons/customIcons/icons/Radio.js";import"../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../icons/customIcons/icons/InfoRounded.js";import"../../../../icons/customIcons/icons/FlameFilled.js";import"../../../../icons/customIcons/icons/MoreApp.js";import"../../../../icons/customIcons/icons/Pad.js";import"../../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../../icons/customIcons/icons/FracFleet.js";import"../../../../icons/customIcons/icons/Global.js";import"../../../../icons/customIcons/icons/Program.js";import"../../../../icons/customIcons/icons/Rig.js";import"../../../../icons/customIcons/icons/Well.js";import"../../../../icons/customIcons/icons/Gap.js";import"../../../../icons/customIcons/icons/Pin.js";import"../../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../../icons/customIcons/icons/AttentionFilled.js";import"../../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../../icons/customIcons/icons/Archive.js";import"../../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../../icons/customIcons/icons/Unarchive.js";import"../../../../icons/customIcons/icons/Archived.js";import"../../../../icons/customIcons/icons/InterventionUnit.js";import"../../../../icons/customIcons/icons/CloudDelete.js";import"../../../../icons/customIcons/icons/Lasso.js";import"../../../../icons/customIcons/icons/Radius.js";import"../../../../icons/customIcons/icons/ErrorOps.js";import"../../../../icons/customIcons/icons/DataTypeOps.js";import"../../../../icons/customIcons/icons/FalsePositiveOps.js";import"../../../../icons/customIcons/icons/CalibrationOps.js";import"../../../../icons/customIcons/icons/CriticalOps.js";import"../../../../icons/customIcons/icons/Company.js";import"../../../../icons/customIcons/icons/ArchiveOne.js";import"../../../../icons/customIcons/icons/ParseBotFusion.js";import"../../../../icons/customIcons/icons/Connect.js";import"../../../../icons/customIcons/icons/PuzzleOne.js";import"../../../../icons/customIcons/icons/Feed.js";import"../../../../icons/customIcons/icons/Prompt.js";import"../../../../icons/customIcons/icons/Companies.js";import"../../../../icons/customIcons/icons/ClipboardAi.js";import"../../../../icons/customIcons/icons/Key.js";import"../../../../icons/customIcons/icons/AtSignCrossed.js";import"../../../../icons/customIcons/icons/MappingManual.js";import"../../../../icons/customIcons/icons/Mapping.js";import"../../../../icons/customIcons/icons/Metrics.js";import"../../../../icons/customIcons/icons/Drops.js";import"../../../../icons/customIcons/icons/ClipboardSearch.js";import"../../../../icons/customIcons/icons/Template.js";import"../../../../icons/customIcons/icons/ClipboardMetrics.js";import"../../../../icons/customIcons/icons/ClipboardBuilder.js";import"../../../../icons/customIcons/icons/UnitConversion.js";import"../../../../icons/customIcons/icons/NPT.js";import"../../../../icons/customIcons/icons/GuidedFrac.js";import"../../../../utils/mobileDetect.js";import"../../../IconButton/index.js";import"../../../../constants/goals.js";import"../../../../constants/segment.js";import"../../../../constants/alerts.js";import"../../../../constants/apps.js";import"../../../../constants/drillstring.js";import"../../../../constants/completion.js";import"../../../../constants/appPackages.js";import"../../../../constants/notifications.js";import"../../../../constants/feed.js";import"../../../../constants/bha.js";import"../../../../constants/corvaCompanyId.js";import"../../../GradientManager/configuration/constants.js";import"@babel/runtime/helpers/slicedToArray";import"uuid";import"../../../IconMenu/index.js";import"../../../StyledMenuItem/index.js";import"../../../AppIcon/AppIcon.js";import"../../../DevCenter/AppHeader/AppHeader.js";import"../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"../../../DevCenter/AppContext.js";import"../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"query-string";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../utils/index.js";import"@material-ui/icons";import"../../../EmptyState/EmptyState.js";import"../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/styles.js";import"@material-ui/pickers";import"@date-io/moment";import"moment";import"../../../../config/theme/index.js";import"../../../../hocs/withAssetEditorLockHOC.js";import"../../../ErrorBoundary/ErrorBoundary.js";import"../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../Button/components/Button/index.js";import"moment-timezone";import"../../../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../../../Button/components/LiveButton/styles.js";import"../../../AssetEditorV2/index.js";import"../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../ConfirmationDialog.js";import"immutable";import"../../../../permissions/PermissionsContext.js";import"../../../../permissions/constants/index.js";import"../../../../permissions/withPermissionsHOC.js";import"../../../../clients/jsonApi/index.js";import"../../../../permissions/ProvidePermissions.js";import"../../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.constants.js";import"../../../Annotations/components/AnnotationsList/index.js";import"../../../Annotations/components/LastAnnotation/index.js";import"../../../Annotations/AnnotationsContext.js";import"../../../../componentsV2/AppContainer/AppContainer.js";import"../../../../componentsV2/AppContainer/AppContainer.constants.js";import"../../../../componentsV2/Text/Text.js";import"../../../../componentsV2/Header/Header.scss.js";import"../../../../componentsV2/Tooltip/Tooltip.scss.js";import"../../../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../../componentsV2/AppHeader/AppHeader.constants.js";import"../../../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../../../componentsV2/Chip/Chip.js";import"../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../../../componentsV2/AppHeader/AppAssets/utils.js";import"../../../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../../../PadModeSelect/PadModeSelect.js";import"../../../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../../../constants/streamSourceType.js";import"../../../../componentsV2/PadModeSelect/PadModeSelect.js";import"../../../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../../../componentsV2/utils.js";import"../../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"../../../../componentsV2/Button/Button.js";import"../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../../../componentsV2/Popover/Popover.js";import"@babel/runtime/helpers/toConsumableArray";import"../../../../componentsV2/Accordion/Accordion.scss.js";import"../../../../componentsV2/ButtonIcon/ButtonIcon.js";import"../../../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../../../componentsV2/Menu/Menu.js";import{Modal as I}from"../../../../componentsV2/Modal/Modal.js";import"../../../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../../../utils/getSingleAsset.js";import"../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../../../componentsV2/TextInput/TextInput.js";import"../../../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../../../clients/subscriptions/constants.js";import"querystring";import"uuid/v1";import"../../../../clients/subscriptions.v1.js";import"../../../../clients/subscriptions/subscriptions-client.factory.js";import"jsona";import"../../../../utils/env.js";import"../../../StatusBadge/constants.js";import"lodash/set";import"lodash/get";import"lodash/unset";import"../../../../clients/api/apiCore.js";import"../../../../clients/constants.js";import"../../../../clients/sso/auth0.js";import"../../../../clients/sso/oauth2.js";import"../../../../clients/api/rateLimiter.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../../../componentsV2/AppSettings/AppSettings.js";import"../../../../componentsV2/AppSettings/AppSettings.constants.js";import"../../../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../../../componentsV2/AppHeader/AppHeader.scss.js";import"../../../../componentsV2/EmptyState/EmptyState.scss.js";import"../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/components/ChooseAssetButton.js";import"../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.scss.js";import"../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";import"../../../../componentsV2/Grid/Grid.js";import"../../../../componentsV2/Grid/Cell.js";import"../../../../componentsV2/PopoverPanel/PopoverPanel.js";import"../../../../componentsV2/Radio/Radio.js";import"../../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../../../componentsV2/Checkbox/Checkbox.js";import"../../../../componentsV2/TextInputNext/TextInputNext.js";import"../../../../componentsV2/TextArea/TextArea.js";import"../../../../componentsV2/Label/Label.js";import"../../../../componentsV2/TextLink/TextLink.js";import"../../../../componentsV2/ChipAlert/ChipAlert.js";import"../../../../componentsV2/Avatar/Avatar.js";import"../../../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../../../componentsV2/Paper/Paper.js";import"../../../../componentsV2/ModalWindow/ModalWindow.js";import"../../../../componentsV2/Hint/Hint.scss.js";import"../../../../componentsV2/Counter/Counter.js";import"../../../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../../../componentsV2/TemplatesControl/TemplatesControl.js";import"zustand";import"../../../../componentsV2/TemplatesControl/utils.js";import"../../../../componentsV2/TemplatesControl/icons/folder/index.js";import"../../../../componentsV2/TemplatesControl/Store/utils.js";import"../../../../componentsV2/TemplatesControl/types.js";import"../../../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../../../componentsV2/Switch/Switch.js";import"../../../../componentsV2/Tabs/Tabs.js";import"../../../../componentsV2/FileIcon/FileIcon.js";import"../../../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../../../componentsV2/FilesLoader/FilesLoader.scss.js";import"file-extension";import"image-extensions";import"video-extensions";import"../../../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../../../componentsV2/Skeleton/Skeleton.scss.js";import"../../../../utils/main.js";import"../../../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../../../componentsV2/Stepper/Step/Step.scss.js";import"../../../../componentsV2/Stepper/Stepper.scss.js";import"../../../../componentsV2/ButtonLive/ButtonLive.js";import"../../../../componentsV2/ButtonText/ButtonText.js";import"../../../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../../../componentsV2/BadgeComment/BadgeComment.js";import"../../../../componentsV2/AppFooter/AppFooter.js";import"../../../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../../../componentsV2/ChartAxisExtreme/ChartAxisExtreme.scss.js";import"highcharts";import"../../../../componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js";import"../../../../componentsV2/Autocomplete/Autocomplete.js";import"../../../../componentsV2/Select/Select.js";import"../../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../../componentsV2/DatePicker/DatePicker.js";import"../../../../componentsV2/DragHandle/DragHandle.js";import"../../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../../../componentsV2/Slider/constants.js";import"../../../../componentsV2/Slider/components/SliderThumb.js";import"../../../../componentsV2/Slider/Slider.scss.js";import"../../../../componentsV2/SliderAdvanced/SliderAdvanced.js";import"react-color";import"../../../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../../../componentsV2/ColorPicker/ColorPicker.scss.js";import"../../../../componentsV2/ChartHelper/ChartHelper.scss.js";import"../../../../componentsV2/Hotkey/Hotkey.js";import"@tanstack/react-query";import"../../../../componentsV2/InterventionEventSelector/useInterventionUnitEvents.js";import"../../../../componentsV2/InterventionEventSelector/InterventionEventSelector.scss.js";import"../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.css.js";import"../../../Icons/AnnotationIcon.js";import"../../../HelpCenter/HelpCenterIcon.js";import"../../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/RestoreAppSizeButton.css.js";import"../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.scss.js";import"../../../Toaster/Toaster.js";import"../../../DevCenter/NavigationBar/NavigationBar.js";import"../../../DevCenter/SideBar/SideBar.js";import"../../../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../../AssetEditor/index.js";import A from"../../../LoadingIndicator/LoadingIndicator.js";import"../../../Typography.js";import"../../../RealTimeValuesSidebar/RealTimeSidebar.js";import"../../../CollapsableSidebar.js";import"../../../DateTimePicker/index.js";import"../../../DatePicker/index.js";import"../../../SlateFormattedText/SlateFormattedText.js";import"../../../SlateFormattedText/RenderElements.js";import"slate";import"../../../ParameterCharts/ParameterCharts.js";import"../../../ParameterCharts/AddEditTrack.js";import"../../../ChartActionsList/ChartActionsList.js";import"../../../CopyToClipboard/CopyToClipboard.js";import"../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../AssetEditor/SingleAssetEditor.js";import"../../../SettingEditors/ColorEditor/style.css.js";import"../../../SettingEditors/DropdownEditor/index.js";import"../../../SwitchControl/index.js";import"../../../ColorPicker/ColorPicker.js";import"../../../Chart/components/ChartButton.js";import"../../../Chart/components/ChartButtons.js";import"../../../Chart/components/ChartWrapper.js";import"../../../Chart/components/AxisDropdown.js";import"../../../Chart/components/ChartSelect.js";import"../../../Chart/ChartWrapperContext.js";import"../../../Chart/effects/useChartModifier.js";import"../../../Chart/components/buttons/HideAxesButton.js";import"../../../Chart/components/buttons/ChartTypeButton.js";import"../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../TruncatedText/index.js";import"../../../MiddleTruncatedText/MiddleTruncatedText.js";import"../../../RangeSlider/constants.js";import"../../../RangeSlider/Input.css.js";import"../../../RangeSlider/RangeSlider.css.js";import"../../../AdvancedSlider/AdvancedSlider.js";import"../../../Breadcrumbs/index.js";import"../../../VirtualizedTable/index.js";import"../../../EmptyView/EmptyView.js";import"../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../ContextMenuItem/index.js";import"../../../FolderMenuItem/index.js";import"../../../EditableItem/EditableItem/index.js";import"../../../EditableItem/EditableItemWithBadge/index.js";import"../../../Checkbox/index.js";import"../../../FolderMenuItemWithLinks/index.js";import"../../../TextField/index.js";import"../../../Chip/index.js";import"../../../Counter/index.js";import"../../../AnchorsList/AnchorsList.js";import"../../../Select/index.js";import"../../../Select/SelectFilterBy.js";import"../../../CustomSelect/index.js";import"../../../Tabs/Tabs.js";import"../../../Tabs/Tab.js";import"../../../ResizableTable/ResizableTable.js";import"../../../GradientPicker/GradientPicker.js";import"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";import"../../../GradientManager/GradientPreview/GradientPreview.js";import"../../../GradientManager/GradientSelect.scss.js";import"../../../GradientManager/GradientManager.styles.js";import"../../../Drillstring/BHASchematic.js";import"../../../Drillstring/BHATable/index.js";import"../../../Drillstring/BHAComponentIcon.js";import"../../../Drillstring/BHAComponentDetail/index.js";import"../../../Drillstring/BHATileIcon.js";import"../../../Drillstring/BHATile/BHATile.js";import"../../../Drillstring/BHAList/BHAList.js";import"../../../Drillstring/BHAComponentsTable/BHAComponentsTable.js";import"../../../Casing/CasingTable/index.js";import"../../../Casing/CasingComponentIcon.js";import"../../../Casing/CasingTileIcon.js";import"../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../Casing/CasingTile/CasingTile.js";import"../../../WellSummary/WellSummaryItemLabel.js";import"../../../WellSummary/WellSummaryItemTitle.js";import"../../../WellSummary/WellSummaryItemValue.js";import"../../../WellSummary/ActivitySummaryChart.js";import"../../../WellSummary/FracWirelineTimeChart.js";import"../../../BICOffsetPickerDialog/index.js";import"../../../OffsetWellButton/OffsetWellButton.js";import"../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../OffsetWellPickerV3/index.js";import"../../../OffsetWellChips/Chip.js";import"../../../OffsetWellChips/ChipsContainer.js";import"../OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js";import"../../../OffsetWellMap/OffsetWellMap.js";import"../../../TextLink/index.js";import"../../../Avatar/index.js";import"../../../Template/TemplatePopover/index.js";import"../../../Template/TemplateSharingDialog/index.js";import"../../../MenuItem/index.js";import"../../../MiddleTruncate/MiddleTruncate.js";import"../../../PinnableFilters/PinnableFilters.js";import"../../../HeaderLayout/HeaderLayout.js";import"../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../PadOffsetsPicker/StagesSelector.js";import"../../../PadOffsetsPickerV2/PadOffsetsPickerV2.js";import"../../../Table/TableToolbar/TableToolbar.js";import"../../../Table/TableContainer/TableContainer.js";import"../../../Table/TableCell/TableCell.js";import"../../../Table/TablePagination/TablePagination.js";import"../../../Table/TablePaginationActions/TablePaginationActions.js";import"../../../Tooltip/ScrollableTooltip.js";import"../../../PriceInput/PriceInput.js";import"../../../LabelsCounter/LabelsCounter.js";import"../../../Stepper/Stepper.js";import"../../../Stepper/Step/Step.js";import"../../../Stepper/StepsWrapper.js";import"../../../Comment/CommentIcon/index.js";import"../../../FilesLoader/FilesLoader.js";import"../../../../componentsV2/FileIcon/icons/ArchiveFileIcon.js";import"../../../../componentsV2/FileIcon/icons/CSVFileIcon.js";import"../../../../componentsV2/FileIcon/icons/DocFileIcon.js";import"../../../../componentsV2/FileIcon/icons/EDMFileIcon.js";import"../../../../componentsV2/FileIcon/icons/ExcelFileIcon.js";import"../../../../componentsV2/FileIcon/icons/ImageFileIcon.js";import"../../../../componentsV2/FileIcon/icons/JsonFileIcon.js";import"../../../../componentsV2/FileIcon/icons/LasFileIcon.js";import"../../../../componentsV2/FileIcon/icons/OtherFileIcon.js";import"../../../../componentsV2/FileIcon/icons/PdfFileIcon.js";import"../../../../componentsV2/FileIcon/icons/PowerPointFileIcon.js";import"../../../../componentsV2/FileIcon/icons/TxtFileIcon.js";import"../../../../componentsV2/FileIcon/icons/UnknownFileIcon.js";import"../../../../componentsV2/FileIcon/icons/VideoFileIcon.js";import"../../../../componentsV2/FileIcon/icons/XmlFileIcon.js";import"../../../SearchInput/index.js";import"../../../FeedItem/FeedItem.js";import"../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../PostInput/PostInput.js";import"../../../KeyboardDateTimePicker.js";import"../../../AddComment/Popover.js";import"../../../AddComment/Popup.js";import"../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../StageDesignVActual/ComparisonHeader.js";import"../../../StageDesignVActual/ComparisonRow.js";import"../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../EmbeddedApp/EmbeddedApp.js";import"../../../Autocomplete/Autocomplete.js";import"../../../DocumentViewer/DocumentViewer.js";import"../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../Search/Search.js";import"../../../Search/components/Listbox.js";import"../../../Search/components/Paper.js";import"../../../Search/components/RecentSearches.js";import"../../../Search/components/Groups.js";import"../../../Search/components/SelectAllListItem.js";import"../../../StatusBadge/index.js";import"../../../Attachment/index.js";import"../../../EmojiIconButton.js";import"../../../FileUploadIconButton.js";import"../../../FilePreview/index.js";import"../../../FailedFileUploading.js";import"../../../UserMention/index.js";import"../../../CommentsInfo/index.js";import"../../../CommentInput/index.js";import"../../../Comment/index.js";import"../../../CommentLoader.js";import"../../../AssetNameLabel/AssetStatusBadge.js";import"../../../AssetEditorV2/components/PrimaryAssetSelect.js";import"../../../AssetEditorV2/components/SecondaryAssetSelect.js";import"../../../AssetEditorV2/components/SelectItem.js";import"../../../AssetEditorV2/components/MultipleAssetsToggle.js";import"../../../AssetEditorV2/components/PrimaryAssetSelectV2.js";import"../../../EChartsWrapper/EChartsWrapper.js";import"../../../AssetsMultipleSelector/AssetsMultipleSelector.js";import"@material-ui/icons/Close";import"@material-ui/icons/GetApp";import"../../../GoogleDocsViewer/index.js";import"../../../NewDocumentViewer/effects/useFileContent.js";import"../../../NewDocumentViewer/styles.js";import"../../../FilesLoaderV2/styles.js";import"../../../FilesDropzone/styles.js";import"../../../FilesProcessor/styles.js";import"../../../Hint/styles.js";import"@babel/runtime/helpers/taggedTemplateLiteral";import"fparser";import"../../../Formula/useFormulaStyles.js";import"../../../Formula/RootXIcon.js";import"../../../Formula/FormulaTextEditor.js";import"../../../Formula/CloseSuggestion.js";import"../../../Formula/SuggestionsMenu.js";import"../../../CommentCard/CommentCard.js";import"@material-ui/icons/AlternateEmail";import"../../../AttachFileButton/AttachFileButton.scss.js";import"../../../CommentInputNext/CommentInputNext.js";import"../../../UserMention/utils/index.js";import"react-s3-uploader/s3upload";import"../../../CommentComposer/CommentMetaLine.scss.js";import"../../../CommentComposer/ChatChannelSelector.scss.js";import"../../../CommentComposer/ShareToChatRow.scss.js";import"../../../CommentComposer/CommentComposer.scss.js";import"../../../AttachmentPreview/AttachmentPreview.js";import"../../../AttachmentPreview/AttachmentImage.js";import"../../../AttachmentPreview/AttachmentPreview.scss.js";import"../../../CommentPin/CommentPin.js";import"../../../FeedCard/FeedCard.js";import"../../../FeedItemCard/FeedItemCard.js";import"../../../NewCommentCursor/NewCommentCursor.js";import"../../../LinkedText/LinkedText.js";import"../../../FeedItem/feedItemTypes/AlertFeedItem.js";import"../../../FeedItem/feedItemTypes/PostFeedItem.js";import"../../../FeedItem/feedItemTypes/GeosteeringFeedItem.js";import"../../../FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.js";import"../../../FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.js";import"../../../FeedItem/feedItemTypes/DrillingDailyCostFeedItem.js";import"../../../FeedItem/feedItemTypes/DocumentFeedItem.js";import"../../../FeedItem/feedItemTypes/DrillerMemoFeedItem.js";import"../../../FeedItem/feedItemTypes/NptFeedItem.js";import"../../../FeedItem/feedItemTypes/SurveyStationFeedItem/index.js";import"../../../FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js";import"../../../FeedItem/feedItemTypes/TracesMemoFeedItem.js";import"../../../FeedItem/feedItemTypes/DepthCommentFeedItem.js";import"../../../FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.js";import"../../../FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.js";import"../../../FeedItem/feedItemTypes/CompletionDailyCostFeedItem.js";import"../../../FeedItem/feedItemTypes/CompletionDocumentFeedItem.js";import"../../../FeedItem/feedItemTypes/CompletionNptFeedItem.js";import"../../../FeedItem/feedItemTypes/StageOverviewFeedItem/index.js";import"../../../FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js";import"../../../FeedItem/feedItemTypes/WellPlanFeedItem/index.js";import"../../../FeedItem/feedItemTypes/FluidReportFeedItem.js";import"../../../FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js";import"../../../FeedItem/feedItemTypes/DvDCommentFeedItem.js";import"../../../FeedItem/feedItemTypes/PCCommentFeedItem.js";import"../../../FeedItem/feedItemTypes/HookloadCommentFeedItem.js";import"../../../FeedItem/feedItemTypes/NptLessonsCommentFeedItem.js";import"../../../FeedItem/feedItemTypes/GenericDataCommentFeedItem.js";var S=C,h=function(C){var h,V=C.open,f=C.isMobile,g=C.isViewOnly,v=C.isMapHidden,T=C.isFilterExpanded,F=C.isHScrollMoved,D=C.isLoading,P=C.isTableFullLoading,b=C.isResetVisible,x=C.isOffsetSourceKnown,y=C.hasOffsetSource,B=C.hasSavedHandpicked,W=C.isSynced,L=C.isLimitedOffsetWells,k=C.isWellSectionColumnVisible,M=C.isAllWellsSelected,E=C.indeterminate,O=C.isXtoProvider,H=C.hasValidAssetId,w=C.syncedOffsetLabel,R=C.savedOffsetLabel,N=C.resetTooltipLabel,G=C.maxOffsetWellNumber,q=C.subjectWell,z=C.subjectWellId,U=C.selectedWells,K=C.selectedWellIds,Z=C.selectedWellsCount,X=C.selectedWellSection,J=C.filteredWells,Q=C.wellsToDisplay,Y=C.sortedWells,$=C.tableWells,_=C.tableRowsCount,ee=C.wellSections,te=C.metricsKeys,oe=C.setMetricsKeys,se=C.columnsWithDict,ie=C.taScores,ne=C.filterOptions,re=C.loadingWellIds,pe=C.loadingAssetIds,me=C.filters,ce=C.currentSelectionZone,ae=C.activeWellId,le=C.sortBy,de=C.setSortBy,je=C.sortDirection,ue=C.setSortDirection,Ce=C.shouldRecenter,Ie=C.wells,Ae=C.handleCancel,Se=C.handleSave,he=C.handleReset,Ve=C.handleChangeOffsetWell,fe=C.handleBatchSelectWells,ge=C.handleChangeAllOffsetWells,ve=C.handleSelectionZoneConfirm,Te=C.handleChangeWellSection,Fe=C.handleAddRemoveAssets,De=C.handleScroll,Pe=C.setActiveWellId,be=C.setShouldRecenter,xe=C.setIsAdvancedSearchHidden,ye=C.wellsMapRef,Be=C.contentRef,We=C.rightColumnRef,Le=C.containerRef,ke=C.isAnimatingRef,Me=c(),Ee=Me.ref,Oe=Me.width,He=t((function(){return Ie?i(Ie,"id").length:0}),[Ie]),we=o((function(e){oe(e)}),[oe]);return l(I,{open:!!V,onClose:Ae,size:"fullscreen",className:a.modalDialog,title:l(n,{totalCount:He,filteredCount:null!==(h=null==J?void 0:J.length)&&void 0!==h?h:0,selectedCount:Z,maxOffsetWellNumber:G,isXtoProvider:O,metricsKeys:te,onChangeMetricsKeys:we}),actions:!g&&l(r,{isLoading:D,isResetVisible:b,isOffsetSourceKnown:x,hasOffsetSource:y,isSynced:W,isMobile:f,hasValidAssetId:H,syncedOffsetLabel:w,resetTooltipLabel:N,selectedWellsCount:Z,handleCancel:Ae,handleSave:Se,handleReset:he}),children:d("div",{className:s(a.offsetWellDialog),children:[l(u,{}),D?l(A,{}):d("div",{className:s(a.contentWrapper,e({},a.contentBlocked,P)),children:[d("div",{className:a.columnsContainer,ref:Ee,children:[l(p,{isMapHidden:v,open:V,subjectWell:q,selectedWells:U,wellsToDisplay:Q,handleChangeOffsetWell:Ve,handleBatchSelectWells:fe,activeWellId:ae,currentSelectionZone:ce,handleSelectionZoneConfirm:ve,shouldRecenter:Ce,setShouldRecenter:be,wellsMapRef:ye,containerWidth:Oe}),l(m,{isMobile:f,isViewOnly:g,isFilterExpanded:T,isHScrollMoved:F,isTableFullLoading:P,isLimitedOffsetWells:L,isWellSectionColumnVisible:k,isAllWellsSelected:M,indeterminate:E,subjectWellId:z,selectedWellIds:K,selectedWellSection:X,sortedWells:Y,tableWells:$,tableRowsCount:_,wellSections:ee,metricsKeys:te,setMetricsKeys:oe,columnsWithDict:se,taScores:ie,filterOptions:ne,loadingWellIds:re,loadingAssetIds:pe,filters:me,sortBy:le,setSortBy:de,sortDirection:je,setSortDirection:ue,maxOffsetWellNumber:G,handleChangeOffsetWell:Ve,handleChangeAllOffsetWells:ge,handleChangeWellSection:Te,handleAddRemoveAssets:Fe,handleScroll:De,setActiveWellId:Pe,setIsAdvancedSearchHidden:xe,wellsMapRef:ye,contentRef:Be,rightColumnRef:We,containerRef:Le,isAnimatingRef:ke})]}),g&&H&&y&&x&&l("div",{className:a.viewOnlyInfoContainer,children:d(j,B?{children:[l("span",{className:s(S.regular12,S.colors.t6),children:"Last saved offsets from "}),l("span",{className:s(S.medium12,S.colors.t6),children:R.endsWith(".")?R.slice(0,-1):R}),l("span",{className:s(S.regular12,S.colors.t6),children:" with manual picks."})]}:{children:[l("span",{className:s(S.regular12,S.colors.t6),children:"The offset list is being automatically populated by "}),l("span",{className:s(S.medium12,S.colors.t6),children:R})]})})]})]})})};export{h as OffsetWellPickerContent};
1
+ import e from"@babel/runtime/helpers/defineProperty";import{useMemo as o,useCallback as t}from"react";import s from"classnames";import{uniqBy as i}from"lodash";import{AppHeader as n}from"../AppHeader/AppHeader.js";import{PickerModalActions as r}from"../PickerModalActions/PickerModalActions.js";import{MapColumn as p}from"../MapColumn/MapColumn.js";import{TableSection as m}from"../TableSection/TableSection.js";import{useElementSize as c}from"../../hooks/useElementSize.js";import a from"../../OffsetWellPickerV5.module.css.js";import"@material-ui/core/Snackbar";import"../../../Notifications/Toast.js";import"../../../Notifications/Notifications.scss.js";import{jsx as l,jsxs as d,Fragment as j}from"react/jsx-runtime";import{NotificationsContainer as u}from"../../../Notifications/NotificationsContainer.js";import C from"../../../../styles/typography/index.js";import"../../../../styles/counter/counter.module.scss.js";import"../../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider.js";import"../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"@babel/runtime/helpers/objectWithoutProperties";import"@material-ui/core";import"../../../Modal/CorvaModal.scss.js";import"@icon-park/react/es/all";import"../../../../icons/IconParkProvider.js";import"../../../../icons/customIcons/icons/AddMessage.js";import"../../../../icons/customIcons/icons/DragOne.js";import"../../../../icons/customIcons/icons/Attention.js";import"../../../../icons/customIcons/icons/Collapse.js";import"../../../../icons/customIcons/icons/Dashboard.js";import"../../../../icons/customIcons/icons/Expand.js";import"../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../icons/customIcons/icons/Search.js";import"../../../../icons/customIcons/icons/SearchOne.js";import"../../../../icons/customIcons/icons/Wellhub.js";import"../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../icons/customIcons/icons/Checkbox.js";import"../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../icons/customIcons/icons/Radio.js";import"../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../icons/customIcons/icons/InfoRounded.js";import"../../../../icons/customIcons/icons/FlameFilled.js";import"../../../../icons/customIcons/icons/MoreApp.js";import"../../../../icons/customIcons/icons/Pad.js";import"../../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../../icons/customIcons/icons/FracFleet.js";import"../../../../icons/customIcons/icons/Global.js";import"../../../../icons/customIcons/icons/Program.js";import"../../../../icons/customIcons/icons/Rig.js";import"../../../../icons/customIcons/icons/Well.js";import"../../../../icons/customIcons/icons/Gap.js";import"../../../../icons/customIcons/icons/Pin.js";import"../../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../../icons/customIcons/icons/AttentionFilled.js";import"../../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../../icons/customIcons/icons/Archive.js";import"../../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../../icons/customIcons/icons/Unarchive.js";import"../../../../icons/customIcons/icons/Archived.js";import"../../../../icons/customIcons/icons/InterventionUnit.js";import"../../../../icons/customIcons/icons/CloudDelete.js";import"../../../../icons/customIcons/icons/Lasso.js";import"../../../../icons/customIcons/icons/Radius.js";import"../../../../icons/customIcons/icons/ErrorOps.js";import"../../../../icons/customIcons/icons/DataTypeOps.js";import"../../../../icons/customIcons/icons/FalsePositiveOps.js";import"../../../../icons/customIcons/icons/CalibrationOps.js";import"../../../../icons/customIcons/icons/CriticalOps.js";import"../../../../icons/customIcons/icons/Company.js";import"../../../../icons/customIcons/icons/ArchiveOne.js";import"../../../../icons/customIcons/icons/ParseBotFusion.js";import"../../../../icons/customIcons/icons/Connect.js";import"../../../../icons/customIcons/icons/PuzzleOne.js";import"../../../../icons/customIcons/icons/Feed.js";import"../../../../icons/customIcons/icons/Prompt.js";import"../../../../icons/customIcons/icons/Companies.js";import"../../../../icons/customIcons/icons/ClipboardAi.js";import"../../../../icons/customIcons/icons/Key.js";import"../../../../icons/customIcons/icons/AtSignCrossed.js";import"../../../../icons/customIcons/icons/MappingManual.js";import"../../../../icons/customIcons/icons/Mapping.js";import"../../../../icons/customIcons/icons/Metrics.js";import"../../../../icons/customIcons/icons/Drops.js";import"../../../../icons/customIcons/icons/ClipboardSearch.js";import"../../../../icons/customIcons/icons/Template.js";import"../../../../icons/customIcons/icons/ClipboardMetrics.js";import"../../../../icons/customIcons/icons/ClipboardBuilder.js";import"../../../../icons/customIcons/icons/UnitConversion.js";import"../../../../icons/customIcons/icons/NPT.js";import"../../../../icons/customIcons/icons/GuidedFrac.js";import"../../../../utils/mobileDetect.js";import"../../../IconButton/index.js";import"../../../../constants/goals.js";import"../../../../constants/segment.js";import"../../../../constants/alerts.js";import"../../../../constants/apps.js";import"../../../../constants/drillstring.js";import"../../../../constants/completion.js";import"../../../../constants/appPackages.js";import"../../../../constants/notifications.js";import"../../../../constants/feed.js";import"../../../../constants/bha.js";import"../../../../constants/corvaCompanyId.js";import"../../../GradientManager/configuration/constants.js";import"@babel/runtime/helpers/slicedToArray";import"uuid";import"../../../IconMenu/index.js";import"../../../StyledMenuItem/index.js";import"../../../AppIcon/AppIcon.js";import"../../../DevCenter/AppHeader/AppHeader.js";import"../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"../../../DevCenter/AppContext.js";import"../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"query-string";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../utils/index.js";import"@material-ui/icons";import"../../../EmptyState/EmptyState.js";import"../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/styles.js";import"@material-ui/pickers";import"@date-io/moment";import"moment";import"../../../../config/theme/index.js";import"../../../../hocs/withAssetEditorLockHOC.js";import"../../../ErrorBoundary/ErrorBoundary.js";import"../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../Button/components/Button/index.js";import"moment-timezone";import"../../../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../../../Button/components/LiveButton/styles.js";import"../../../AssetEditorV2/index.js";import"../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../ConfirmationDialog.js";import"immutable";import"../../../../permissions/PermissionsContext.js";import"../../../../permissions/constants/index.js";import"../../../../permissions/withPermissionsHOC.js";import"../../../../clients/jsonApi/index.js";import"../../../../permissions/ProvidePermissions.js";import"../../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.constants.js";import"../../../Annotations/components/AnnotationsList/index.js";import"../../../Annotations/components/LastAnnotation/index.js";import"../../../Annotations/AnnotationsContext.js";import"../../../../componentsV2/AppContainer/AppContainer.js";import"../../../../componentsV2/AppContainer/AppContainer.constants.js";import"../../../../componentsV2/Text/Text.js";import"../../../../componentsV2/Header/Header.scss.js";import"../../../../componentsV2/Tooltip/Tooltip.scss.js";import"../../../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../../componentsV2/AppHeader/AppHeader.constants.js";import"../../../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../../../componentsV2/Chip/Chip.js";import"../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../../../componentsV2/AppHeader/AppAssets/utils.js";import"../../../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../../../PadModeSelect/PadModeSelect.js";import"../../../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../../../constants/streamSourceType.js";import"../../../../componentsV2/PadModeSelect/PadModeSelect.js";import"../../../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../../../componentsV2/utils.js";import"../../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"../../../../componentsV2/Button/Button.js";import"../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../../../componentsV2/Popover/Popover.js";import"@babel/runtime/helpers/toConsumableArray";import"../../../../componentsV2/Accordion/Accordion.scss.js";import"../../../../componentsV2/ButtonIcon/ButtonIcon.js";import"../../../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../../../componentsV2/Menu/Menu.js";import{Modal as I}from"../../../../componentsV2/Modal/Modal.js";import"../../../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../../../utils/getSingleAsset.js";import"../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../../../componentsV2/TextInput/TextInput.js";import"../../../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../../../clients/subscriptions/constants.js";import"querystring";import"uuid/v1";import"../../../../clients/subscriptions.v1.js";import"../../../../clients/subscriptions/subscriptions-client.factory.js";import"jsona";import"../../../../utils/env.js";import"../../../StatusBadge/constants.js";import"lodash/set";import"lodash/get";import"lodash/unset";import"../../../../clients/api/apiCore.js";import"../../../../clients/constants.js";import"../../../../clients/sso/auth0.js";import"../../../../clients/sso/oauth2.js";import"../../../../clients/api/rateLimiter.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../../../componentsV2/AppSettings/AppSettings.js";import"../../../../componentsV2/AppSettings/AppSettings.constants.js";import"../../../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../../../componentsV2/AppHeader/AppHeader.scss.js";import"../../../../componentsV2/EmptyState/EmptyState.scss.js";import"../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/components/ChooseAssetButton.js";import"../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.scss.js";import"../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";import"../../../../componentsV2/Grid/Grid.js";import"../../../../componentsV2/Grid/Cell.js";import"../../../../componentsV2/PopoverPanel/PopoverPanel.js";import"../../../../componentsV2/Radio/Radio.js";import"../../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../../../componentsV2/Checkbox/Checkbox.js";import"../../../../componentsV2/TextInputNext/TextInputNext.js";import"../../../../componentsV2/TextArea/TextArea.js";import"../../../../componentsV2/Label/Label.js";import"../../../../componentsV2/TextLink/TextLink.js";import"../../../../componentsV2/ChipAlert/ChipAlert.js";import"../../../../componentsV2/Avatar/Avatar.js";import"../../../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../../../componentsV2/Paper/Paper.js";import"../../../../componentsV2/ModalWindow/ModalWindow.js";import"../../../../componentsV2/Hint/Hint.scss.js";import"../../../../componentsV2/Counter/Counter.js";import"../../../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../../../componentsV2/TemplatesControl/TemplatesControl.js";import"zustand";import"../../../../componentsV2/TemplatesControl/utils.js";import"../../../../componentsV2/TemplatesControl/icons/folder/index.js";import"../../../../componentsV2/TemplatesControl/Store/utils.js";import"../../../../componentsV2/TemplatesControl/types.js";import"../../../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../../../componentsV2/Switch/Switch.js";import"../../../../componentsV2/Tabs/Tabs.js";import"../../../../componentsV2/FileIcon/FileIcon.js";import"../../../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../../../componentsV2/FilesLoader/FilesLoader.scss.js";import"file-extension";import"image-extensions";import"video-extensions";import"../../../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../../../componentsV2/Skeleton/Skeleton.scss.js";import"../../../../utils/main.js";import"../../../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../../../componentsV2/Stepper/Step/Step.scss.js";import"../../../../componentsV2/Stepper/Stepper.scss.js";import"../../../../componentsV2/ButtonLive/ButtonLive.js";import"../../../../componentsV2/ButtonText/ButtonText.js";import"../../../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../../../componentsV2/BadgeComment/BadgeComment.js";import"../../../../componentsV2/AppFooter/AppFooter.js";import"../../../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../../../componentsV2/ChartAxisExtreme/ChartAxisExtreme.scss.js";import"highcharts";import"../../../../componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js";import"../../../../componentsV2/Autocomplete/Autocomplete.js";import"../../../../componentsV2/Select/Select.js";import"../../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../../componentsV2/DatePicker/DatePicker.js";import"../../../../componentsV2/DragHandle/DragHandle.js";import"../../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../../../componentsV2/Slider/constants.js";import"../../../../componentsV2/Slider/components/SliderThumb.js";import"../../../../componentsV2/Slider/Slider.scss.js";import"../../../../componentsV2/SliderAdvanced/SliderAdvanced.js";import"react-color";import"../../../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../../../componentsV2/ColorPicker/ColorPicker.scss.js";import"../../../../componentsV2/ChartHelper/ChartHelper.scss.js";import"../../../../componentsV2/Hotkey/Hotkey.js";import"@tanstack/react-query";import"../../../../componentsV2/InterventionEventSelector/useInterventionUnitEvents.js";import"../../../../componentsV2/InterventionEventSelector/InterventionEventSelector.scss.js";import"../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.css.js";import"../../../Icons/AnnotationIcon.js";import"../../../HelpCenter/HelpCenterIcon.js";import"../../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/RestoreAppSizeButton.css.js";import"../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.scss.js";import"../../../Toaster/Toaster.js";import"../../../DevCenter/NavigationBar/NavigationBar.js";import"../../../DevCenter/SideBar/SideBar.js";import"../../../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../../AssetEditor/index.js";import A from"../../../LoadingIndicator/LoadingIndicator.js";import"../../../Typography.js";import"../../../RealTimeValuesSidebar/RealTimeSidebar.js";import"../../../CollapsableSidebar.js";import"../../../DateTimePicker/index.js";import"../../../DatePicker/index.js";import"../../../SlateFormattedText/SlateFormattedText.js";import"../../../SlateFormattedText/RenderElements.js";import"slate";import"../../../ParameterCharts/ParameterCharts.js";import"../../../ParameterCharts/AddEditTrack.js";import"../../../ChartActionsList/ChartActionsList.js";import"../../../CopyToClipboard/CopyToClipboard.js";import"../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../AssetEditor/SingleAssetEditor.js";import"../../../SettingEditors/ColorEditor/style.css.js";import"../../../SettingEditors/DropdownEditor/index.js";import"../../../SwitchControl/index.js";import"../../../ColorPicker/ColorPicker.js";import"../../../Chart/components/ChartButton.js";import"../../../Chart/components/ChartButtons.js";import"../../../Chart/components/ChartWrapper.js";import"../../../Chart/components/AxisDropdown.js";import"../../../Chart/components/ChartSelect.js";import"../../../Chart/ChartWrapperContext.js";import"../../../Chart/effects/useChartModifier.js";import"../../../Chart/components/buttons/HideAxesButton.js";import"../../../Chart/components/buttons/ChartTypeButton.js";import"../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../TruncatedText/index.js";import"../../../MiddleTruncatedText/MiddleTruncatedText.js";import"../../../RangeSlider/constants.js";import"../../../RangeSlider/Input.css.js";import"../../../RangeSlider/RangeSlider.css.js";import"../../../AdvancedSlider/AdvancedSlider.js";import"../../../Breadcrumbs/index.js";import"../../../VirtualizedTable/index.js";import"../../../EmptyView/EmptyView.js";import"../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../ContextMenuItem/index.js";import"../../../FolderMenuItem/index.js";import"../../../EditableItem/EditableItem/index.js";import"../../../EditableItem/EditableItemWithBadge/index.js";import"../../../Checkbox/index.js";import"../../../FolderMenuItemWithLinks/index.js";import"../../../TextField/index.js";import"../../../Chip/index.js";import"../../../Counter/index.js";import"../../../AnchorsList/AnchorsList.js";import"../../../Select/index.js";import"../../../Select/SelectFilterBy.js";import"../../../CustomSelect/index.js";import"../../../Tabs/Tabs.js";import"../../../Tabs/Tab.js";import"../../../ResizableTable/ResizableTable.js";import"../../../GradientPicker/GradientPicker.js";import"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";import"../../../GradientManager/GradientPreview/GradientPreview.js";import"../../../GradientManager/GradientSelect.scss.js";import"../../../GradientManager/GradientManager.styles.js";import"../../../Drillstring/BHASchematic.js";import"../../../Drillstring/BHATable/index.js";import"../../../Drillstring/BHAComponentIcon.js";import"../../../Drillstring/BHAComponentDetail/index.js";import"../../../Drillstring/BHATileIcon.js";import"../../../Drillstring/BHATile/BHATile.js";import"../../../Drillstring/BHAList/BHAList.js";import"../../../Drillstring/BHAComponentsTable/BHAComponentsTable.js";import"../../../Casing/CasingTable/index.js";import"../../../Casing/CasingComponentIcon.js";import"../../../Casing/CasingTileIcon.js";import"../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../Casing/CasingTile/CasingTile.js";import"../../../WellSummary/WellSummaryItemLabel.js";import"../../../WellSummary/WellSummaryItemTitle.js";import"../../../WellSummary/WellSummaryItemValue.js";import"../../../WellSummary/ActivitySummaryChart.js";import"../../../WellSummary/FracWirelineTimeChart.js";import"../../../BICOffsetPickerDialog/index.js";import"../../../OffsetWellButton/OffsetWellButton.js";import"../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../OffsetWellPickerV3/index.js";import"../../../OffsetWellChips/Chip.js";import"../../../OffsetWellChips/ChipsContainer.js";import"../OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js";import"mapbox-gl/dist/mapbox-gl.css";import"@material-ui/icons/Info";import"@material-ui/icons/Block";import"../../../OffsetWellMap/WellTooltip.module.css.js";import"../../../OffsetWellMap/OffsetWellMap.module.css.js";import"../../../../config/mapboxGl/index.js";import"../../../../config/mapbox/index.js";import"react-dom";import"../../../TextLink/index.js";import"../../../Avatar/index.js";import"../../../Template/TemplatePopover/index.js";import"../../../Template/TemplateSharingDialog/index.js";import"../../../MenuItem/index.js";import"../../../MiddleTruncate/MiddleTruncate.js";import"../../../PinnableFilters/PinnableFilters.js";import"../../../HeaderLayout/HeaderLayout.js";import"../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../PadOffsetsPicker/StagesSelector.js";import"../../../PadOffsetsPickerV2/PadOffsetsPickerV2.js";import"../../../Table/TableToolbar/TableToolbar.js";import"../../../Table/TableContainer/TableContainer.js";import"../../../Table/TableCell/TableCell.js";import"../../../Table/TablePagination/TablePagination.js";import"../../../Table/TablePaginationActions/TablePaginationActions.js";import"../../../Tooltip/ScrollableTooltip.js";import"../../../PriceInput/PriceInput.js";import"../../../LabelsCounter/LabelsCounter.js";import"../../../Stepper/Stepper.js";import"../../../Stepper/Step/Step.js";import"../../../Stepper/StepsWrapper.js";import"../../../Comment/CommentIcon/index.js";import"../../../FilesLoader/FilesLoader.js";import"../../../../componentsV2/FileIcon/icons/ArchiveFileIcon.js";import"../../../../componentsV2/FileIcon/icons/CSVFileIcon.js";import"../../../../componentsV2/FileIcon/icons/DocFileIcon.js";import"../../../../componentsV2/FileIcon/icons/EDMFileIcon.js";import"../../../../componentsV2/FileIcon/icons/ExcelFileIcon.js";import"../../../../componentsV2/FileIcon/icons/ImageFileIcon.js";import"../../../../componentsV2/FileIcon/icons/JsonFileIcon.js";import"../../../../componentsV2/FileIcon/icons/LasFileIcon.js";import"../../../../componentsV2/FileIcon/icons/OtherFileIcon.js";import"../../../../componentsV2/FileIcon/icons/PdfFileIcon.js";import"../../../../componentsV2/FileIcon/icons/PowerPointFileIcon.js";import"../../../../componentsV2/FileIcon/icons/TxtFileIcon.js";import"../../../../componentsV2/FileIcon/icons/UnknownFileIcon.js";import"../../../../componentsV2/FileIcon/icons/VideoFileIcon.js";import"../../../../componentsV2/FileIcon/icons/XmlFileIcon.js";import"../../../SearchInput/index.js";import"../../../FeedItem/FeedItem.js";import"../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../PostInput/PostInput.js";import"../../../KeyboardDateTimePicker.js";import"../../../AddComment/Popover.js";import"../../../AddComment/Popup.js";import"../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../StageDesignVActual/ComparisonHeader.js";import"../../../StageDesignVActual/ComparisonRow.js";import"../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../EmbeddedApp/EmbeddedApp.js";import"../../../Autocomplete/Autocomplete.js";import"../../../DocumentViewer/DocumentViewer.js";import"../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../Search/Search.js";import"../../../Search/components/Listbox.js";import"../../../Search/components/Paper.js";import"../../../Search/components/RecentSearches.js";import"../../../Search/components/Groups.js";import"../../../Search/components/SelectAllListItem.js";import"../../../StatusBadge/index.js";import"../../../Attachment/index.js";import"../../../EmojiIconButton.js";import"../../../FileUploadIconButton.js";import"../../../FilePreview/index.js";import"../../../FailedFileUploading.js";import"../../../UserMention/index.js";import"../../../CommentsInfo/index.js";import"../../../CommentInput/index.js";import"../../../Comment/index.js";import"../../../CommentLoader.js";import"../../../AssetNameLabel/AssetStatusBadge.js";import"../../../AssetEditorV2/components/PrimaryAssetSelect.js";import"../../../AssetEditorV2/components/SecondaryAssetSelect.js";import"../../../AssetEditorV2/components/SelectItem.js";import"../../../AssetEditorV2/components/MultipleAssetsToggle.js";import"../../../AssetEditorV2/components/PrimaryAssetSelectV2.js";import"../../../EChartsWrapper/EChartsWrapper.js";import"../../../AssetsMultipleSelector/AssetsMultipleSelector.js";import"@material-ui/icons/Close";import"@material-ui/icons/GetApp";import"../../../GoogleDocsViewer/index.js";import"../../../NewDocumentViewer/effects/useFileContent.js";import"../../../NewDocumentViewer/styles.js";import"../../../FilesLoaderV2/styles.js";import"../../../FilesDropzone/styles.js";import"../../../FilesProcessor/styles.js";import"../../../Hint/styles.js";import"@babel/runtime/helpers/taggedTemplateLiteral";import"fparser";import"../../../Formula/useFormulaStyles.js";import"../../../Formula/RootXIcon.js";import"../../../Formula/FormulaTextEditor.js";import"../../../Formula/CloseSuggestion.js";import"../../../Formula/SuggestionsMenu.js";import"../../../CommentCard/CommentCard.js";import"@material-ui/icons/AlternateEmail";import"../../../AttachFileButton/AttachFileButton.scss.js";import"../../../CommentInputNext/CommentInputNext.js";import"../../../UserMention/utils/index.js";import"react-s3-uploader/s3upload";import"../../../CommentComposer/CommentMetaLine.scss.js";import"../../../CommentComposer/ChatChannelSelector.scss.js";import"../../../CommentComposer/ShareToChatRow.scss.js";import"../../../CommentComposer/CommentComposer.scss.js";import"../../../AttachmentPreview/AttachmentPreview.js";import"../../../AttachmentPreview/AttachmentImage.js";import"../../../AttachmentPreview/AttachmentPreview.scss.js";import"../../../CommentPin/CommentPin.js";import"../../../FeedCard/FeedCard.js";import"../../../FeedItemCard/FeedItemCard.js";import"../../../NewCommentCursor/NewCommentCursor.js";import"../../../LinkedText/LinkedText.js";import"../../../FeedItem/feedItemTypes/AlertFeedItem.js";import"../../../FeedItem/feedItemTypes/PostFeedItem.js";import"../../../FeedItem/feedItemTypes/GeosteeringFeedItem.js";import"../../../FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.js";import"../../../FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.js";import"../../../FeedItem/feedItemTypes/DrillingDailyCostFeedItem.js";import"../../../FeedItem/feedItemTypes/DocumentFeedItem.js";import"../../../FeedItem/feedItemTypes/DrillerMemoFeedItem.js";import"../../../FeedItem/feedItemTypes/NptFeedItem.js";import"../../../FeedItem/feedItemTypes/SurveyStationFeedItem/index.js";import"../../../FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js";import"../../../FeedItem/feedItemTypes/TracesMemoFeedItem.js";import"../../../FeedItem/feedItemTypes/DepthCommentFeedItem.js";import"../../../FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.js";import"../../../FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.js";import"../../../FeedItem/feedItemTypes/CompletionDailyCostFeedItem.js";import"../../../FeedItem/feedItemTypes/CompletionDocumentFeedItem.js";import"../../../FeedItem/feedItemTypes/CompletionNptFeedItem.js";import"../../../FeedItem/feedItemTypes/StageOverviewFeedItem/index.js";import"../../../FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js";import"../../../FeedItem/feedItemTypes/WellPlanFeedItem/index.js";import"../../../FeedItem/feedItemTypes/FluidReportFeedItem.js";import"../../../FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js";import"../../../FeedItem/feedItemTypes/DvDCommentFeedItem.js";import"../../../FeedItem/feedItemTypes/PCCommentFeedItem.js";import"../../../FeedItem/feedItemTypes/HookloadCommentFeedItem.js";import"../../../FeedItem/feedItemTypes/NptLessonsCommentFeedItem.js";import"../../../FeedItem/feedItemTypes/GenericDataCommentFeedItem.js";var S=C,h=function(C){var h,V=C.open,f=C.isMobile,g=C.isViewOnly,v=C.isMapHidden,T=C.isFilterExpanded,F=C.isHScrollMoved,D=C.isLoading,b=C.isTableFullLoading,P=C.isResetVisible,x=C.isOffsetSourceKnown,y=C.hasOffsetSource,B=C.hasSavedHandpicked,W=C.isSynced,k=C.isLimitedOffsetWells,L=C.isWellSectionColumnVisible,M=C.isAllWellsSelected,E=C.indeterminate,O=C.isXtoProvider,H=C.hasValidAssetId,w=C.syncedOffsetLabel,R=C.savedOffsetLabel,N=C.resetTooltipLabel,G=C.maxOffsetWellNumber,q=C.subjectWell,z=C.subjectWellId,U=C.selectedWells,K=C.selectedWellIds,Z=C.selectedWellsCount,X=C.selectedWellSection,J=C.filteredWells,Q=C.wellsToDisplay,Y=C.sortedWells,$=C.tableWells,_=C.tableRowsCount,ee=C.wellSections,oe=C.metricsKeys,te=C.setMetricsKeys,se=C.columnsWithDict,ie=C.taScores,ne=C.filterOptions,re=C.loadingWellIds,pe=C.loadingAssetIds,me=C.filters,ce=C.currentSelectionZone,ae=C.activeWellId,le=C.sortBy,de=C.setSortBy,je=C.sortDirection,ue=C.setSortDirection,Ce=C.shouldRecenter,Ie=C.wells,Ae=C.handleCancel,Se=C.handleSave,he=C.handleReset,Ve=C.handleChangeOffsetWell,fe=C.handleBatchSelectWells,ge=C.handleChangeAllOffsetWells,ve=C.handleSelectionZoneConfirm,Te=C.handleChangeWellSection,Fe=C.handleAddRemoveAssets,De=C.handleScroll,be=C.setActiveWellId,Pe=C.setShouldRecenter,xe=C.setIsAdvancedSearchHidden,ye=C.wellsMapRef,Be=C.contentRef,We=C.rightColumnRef,ke=C.containerRef,Le=C.isAnimatingRef,Me=c(),Ee=Me.ref,Oe=Me.width,He=o((function(){return Ie?i(Ie,"id").length:0}),[Ie]),we=t((function(e){te(e)}),[te]);return l(I,{open:!!V,onClose:Ae,size:"fullscreen",className:a.modalDialog,title:l(n,{totalCount:He,filteredCount:null!==(h=null==J?void 0:J.length)&&void 0!==h?h:0,selectedCount:Z,maxOffsetWellNumber:G,isXtoProvider:O,metricsKeys:oe,onChangeMetricsKeys:we}),actions:!g&&l(r,{isLoading:D,isResetVisible:P,isOffsetSourceKnown:x,hasOffsetSource:y,isSynced:W,isMobile:f,hasValidAssetId:H,syncedOffsetLabel:w,resetTooltipLabel:N,selectedWellsCount:Z,handleCancel:Ae,handleSave:Se,handleReset:he}),children:d("div",{className:s(a.offsetWellDialog),children:[l(u,{}),D?l(A,{}):d("div",{className:s(a.contentWrapper,e({},a.contentBlocked,b)),children:[d("div",{className:a.columnsContainer,ref:Ee,children:[l(p,{isMapHidden:v,open:V,subjectWell:q,selectedWells:U,wellsToDisplay:Q,handleChangeOffsetWell:Ve,handleBatchSelectWells:fe,activeWellId:ae,currentSelectionZone:ce,handleSelectionZoneConfirm:ve,shouldRecenter:Ce,setShouldRecenter:Pe,wellsMapRef:ye,containerWidth:Oe}),l(m,{isMobile:f,isViewOnly:g,isFilterExpanded:T,isHScrollMoved:F,isTableFullLoading:b,isLimitedOffsetWells:k,isWellSectionColumnVisible:L,isAllWellsSelected:M,indeterminate:E,subjectWellId:z,selectedWellIds:K,selectedWellSection:X,sortedWells:Y,tableWells:$,tableRowsCount:_,wellSections:ee,metricsKeys:oe,setMetricsKeys:te,columnsWithDict:se,taScores:ie,filterOptions:ne,loadingWellIds:re,loadingAssetIds:pe,filters:me,sortBy:le,setSortBy:de,sortDirection:je,setSortDirection:ue,maxOffsetWellNumber:G,handleChangeOffsetWell:Ve,handleChangeAllOffsetWells:ge,handleChangeWellSection:Te,handleAddRemoveAssets:Fe,handleScroll:De,setActiveWellId:be,setIsAdvancedSearchHidden:xe,wellsMapRef:ye,contentRef:Be,rightColumnRef:We,containerRef:ke,isAnimatingRef:Le})]}),g&&H&&y&&x&&l("div",{className:a.viewOnlyInfoContainer,children:d(j,B?{children:[l("span",{className:s(S.regular12,S.colors.t6),children:"Last saved offsets from "}),l("span",{className:s(S.medium12,S.colors.t6),children:R.endsWith(".")?R.slice(0,-1):R}),l("span",{className:s(S.regular12,S.colors.t6),children:" with manual picks."})]}:{children:[l("span",{className:s(S.regular12,S.colors.t6),children:"The offset list is being automatically populated by "}),l("span",{className:s(S.medium12,S.colors.t6),children:R})]})})]})]})})};export{h as OffsetWellPickerContent};
2
2
  //# sourceMappingURL=OffsetWellPickerContent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OffsetWellPickerContent.js","sources":["../../../../../src/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.tsx"],"sourcesContent":["import { useCallback, useMemo } from 'react';\nimport classNames from 'classnames';\nimport { uniqBy } from 'lodash';\n\nimport { AppHeader } from '../AppHeader';\nimport { PickerModalActions } from '../PickerModalActions';\nimport { MapColumn } from '../MapColumn';\nimport { TableSection } from '../TableSection';\nimport { useElementSize } from '../../hooks/useElementSize';\n\nimport type { OffsetWellPickerContentProps } from './OffsetWellPickerContent.types';\n\nimport styles from '../../OffsetWellPickerV5.module.css';\n\nimport { NotificationsContainer } from '~/components/Notifications';\nimport { typography as typographyBase } from '~/styles';\nimport { LoadingIndicator } from '~/components';\nimport { Modal } from '~/componentsV2';\n\nconst typography = typographyBase as Record<string, string> & typeof typographyBase;\n\nexport const OffsetWellPickerContent = ({\n open,\n isMobile,\n isViewOnly,\n isMapHidden,\n isFilterExpanded,\n isHScrollMoved,\n isLoading,\n isTableFullLoading,\n isResetVisible,\n isOffsetSourceKnown,\n hasOffsetSource,\n hasSavedHandpicked,\n isSynced,\n isLimitedOffsetWells,\n isWellSectionColumnVisible,\n isAllWellsSelected,\n indeterminate,\n isXtoProvider,\n hasValidAssetId,\n syncedOffsetLabel,\n savedOffsetLabel,\n resetTooltipLabel,\n maxOffsetWellNumber,\n subjectWell,\n subjectWellId,\n selectedWells,\n selectedWellIds,\n selectedWellsCount,\n selectedWellSection,\n filteredWells,\n wellsToDisplay,\n sortedWells,\n tableWells,\n tableRowsCount,\n wellSections,\n metricsKeys,\n setMetricsKeys,\n columnsWithDict,\n taScores,\n filterOptions,\n loadingWellIds,\n loadingAssetIds,\n filters,\n currentSelectionZone,\n activeWellId,\n sortBy,\n setSortBy,\n sortDirection,\n setSortDirection,\n shouldRecenter,\n wells,\n handleCancel,\n handleSave,\n handleReset,\n handleChangeOffsetWell,\n handleBatchSelectWells,\n handleChangeAllOffsetWells,\n handleSelectionZoneConfirm,\n handleChangeWellSection,\n handleAddRemoveAssets,\n handleScroll,\n setActiveWellId,\n setShouldRecenter,\n setIsAdvancedSearchHidden,\n wellsMapRef,\n contentRef,\n rightColumnRef,\n containerRef,\n isAnimatingRef,\n}: OffsetWellPickerContentProps) => {\n const { ref: columnsContainerRef, width: containerWidth } = useElementSize();\n\n const uniqueWellsCount = useMemo(() => {\n if (!wells) return 0;\n return uniqBy(wells, 'id').length;\n }, [wells]);\n\n const handleChangeMetricsKeys = useCallback(\n (newMetricsKeys: string[]) => {\n setMetricsKeys(newMetricsKeys);\n },\n [setMetricsKeys]\n );\n\n return (\n <Modal\n open={!!open}\n onClose={handleCancel}\n size=\"fullscreen\"\n className={styles.modalDialog}\n title={\n <AppHeader\n totalCount={uniqueWellsCount}\n filteredCount={filteredWells?.length ?? 0}\n selectedCount={selectedWellsCount}\n maxOffsetWellNumber={maxOffsetWellNumber}\n isXtoProvider={isXtoProvider}\n metricsKeys={metricsKeys}\n onChangeMetricsKeys={handleChangeMetricsKeys}\n />\n }\n actions={\n !isViewOnly && (\n <PickerModalActions\n isLoading={isLoading}\n isResetVisible={isResetVisible}\n isOffsetSourceKnown={isOffsetSourceKnown}\n hasOffsetSource={hasOffsetSource}\n isSynced={isSynced}\n isMobile={isMobile}\n hasValidAssetId={hasValidAssetId}\n syncedOffsetLabel={syncedOffsetLabel}\n resetTooltipLabel={resetTooltipLabel}\n selectedWellsCount={selectedWellsCount}\n handleCancel={handleCancel}\n handleSave={handleSave}\n handleReset={handleReset}\n />\n )\n }\n >\n <div className={classNames(styles.offsetWellDialog)}>\n <NotificationsContainer />\n {!isLoading ? (\n <div\n className={classNames(styles.contentWrapper, {\n [styles.contentBlocked]: isTableFullLoading,\n })}\n >\n <div className={styles.columnsContainer} ref={columnsContainerRef}>\n <MapColumn\n isMapHidden={isMapHidden}\n open={open}\n subjectWell={subjectWell}\n selectedWells={selectedWells}\n wellsToDisplay={wellsToDisplay}\n handleChangeOffsetWell={handleChangeOffsetWell}\n handleBatchSelectWells={handleBatchSelectWells}\n activeWellId={activeWellId}\n currentSelectionZone={currentSelectionZone}\n handleSelectionZoneConfirm={handleSelectionZoneConfirm}\n shouldRecenter={shouldRecenter}\n setShouldRecenter={setShouldRecenter}\n wellsMapRef={wellsMapRef}\n containerWidth={containerWidth}\n />\n <TableSection\n isMobile={isMobile}\n isViewOnly={isViewOnly}\n isFilterExpanded={isFilterExpanded}\n isHScrollMoved={isHScrollMoved}\n isTableFullLoading={isTableFullLoading}\n isLimitedOffsetWells={isLimitedOffsetWells}\n isWellSectionColumnVisible={isWellSectionColumnVisible}\n isAllWellsSelected={isAllWellsSelected}\n indeterminate={indeterminate}\n subjectWellId={subjectWellId}\n selectedWellIds={selectedWellIds}\n selectedWellSection={selectedWellSection}\n sortedWells={sortedWells}\n tableWells={tableWells}\n tableRowsCount={tableRowsCount}\n wellSections={wellSections}\n metricsKeys={metricsKeys}\n setMetricsKeys={setMetricsKeys}\n columnsWithDict={columnsWithDict}\n taScores={taScores}\n filterOptions={filterOptions}\n loadingWellIds={loadingWellIds}\n loadingAssetIds={loadingAssetIds}\n filters={filters}\n sortBy={sortBy}\n setSortBy={setSortBy}\n sortDirection={sortDirection}\n setSortDirection={setSortDirection}\n maxOffsetWellNumber={maxOffsetWellNumber}\n handleChangeOffsetWell={\n handleChangeOffsetWell as (well: { id: number }, checked: boolean) => void\n }\n handleChangeAllOffsetWells={handleChangeAllOffsetWells}\n handleChangeWellSection={handleChangeWellSection}\n handleAddRemoveAssets={handleAddRemoveAssets}\n handleScroll={handleScroll}\n setActiveWellId={setActiveWellId}\n setIsAdvancedSearchHidden={setIsAdvancedSearchHidden}\n wellsMapRef={wellsMapRef}\n contentRef={contentRef}\n rightColumnRef={rightColumnRef}\n containerRef={containerRef}\n isAnimatingRef={isAnimatingRef}\n />\n </div>\n {isViewOnly && hasValidAssetId && hasOffsetSource && isOffsetSourceKnown && (\n <div className={styles.viewOnlyInfoContainer}>\n {hasSavedHandpicked ? (\n <>\n <span className={classNames(typography.regular12, typography.colors.t6)}>\n Last saved offsets from&nbsp;\n </span>\n <span className={classNames(typography.medium12, typography.colors.t6)}>\n {savedOffsetLabel.endsWith('.')\n ? savedOffsetLabel.slice(0, -1)\n : savedOffsetLabel}\n </span>\n <span className={classNames(typography.regular12, typography.colors.t6)}>\n &nbsp;with manual picks.\n </span>\n </>\n ) : (\n <>\n <span className={classNames(typography.regular12, typography.colors.t6)}>\n The offset list is being automatically populated by&nbsp;\n </span>\n <span className={classNames(typography.medium12, typography.colors.t6)}>\n {savedOffsetLabel}\n </span>\n </>\n )}\n </div>\n )}\n </div>\n ) : (\n <LoadingIndicator />\n )}\n </div>\n </Modal>\n );\n};\n"],"names":["typography","typographyBase","OffsetWellPickerContent","_ref","_filteredWells$length","open","isMobile","isViewOnly","isMapHidden","isFilterExpanded","isHScrollMoved","isLoading","isTableFullLoading","isResetVisible","isOffsetSourceKnown","hasOffsetSource","hasSavedHandpicked","isSynced","isLimitedOffsetWells","isWellSectionColumnVisible","isAllWellsSelected","indeterminate","isXtoProvider","hasValidAssetId","syncedOffsetLabel","savedOffsetLabel","resetTooltipLabel","maxOffsetWellNumber","subjectWell","subjectWellId","selectedWells","selectedWellIds","selectedWellsCount","selectedWellSection","filteredWells","wellsToDisplay","sortedWells","tableWells","tableRowsCount","wellSections","metricsKeys","setMetricsKeys","columnsWithDict","taScores","filterOptions","loadingWellIds","loadingAssetIds","filters","currentSelectionZone","activeWellId","sortBy","setSortBy","sortDirection","setSortDirection","shouldRecenter","wells","handleCancel","handleSave","handleReset","handleChangeOffsetWell","handleBatchSelectWells","handleChangeAllOffsetWells","handleSelectionZoneConfirm","handleChangeWellSection","handleAddRemoveAssets","handleScroll","setActiveWellId","setShouldRecenter","setIsAdvancedSearchHidden","wellsMapRef","contentRef","rightColumnRef","containerRef","isAnimatingRef","_useElementSize","useElementSize","columnsContainerRef","ref","containerWidth","width","uniqueWellsCount","useMemo","uniqBy","length","handleChangeMetricsKeys","useCallback","newMetricsKeys","_jsx","Modal","onClose","size","className","styles","modalDialog","title","AppHeader","totalCount","filteredCount","selectedCount","onChangeMetricsKeys","actions","PickerModalActions","children","_jsxs","classNames","offsetWellDialog","NotificationsContainer","LoadingIndicator","contentWrapper","contentBlocked","columnsContainer","MapColumn","TableSection","viewOnlyInfoContainer","_Fragment","regular12","colors","t6","medium12","endsWith","slice"],"mappings":"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"}
1
+ {"version":3,"file":"OffsetWellPickerContent.js","sources":["../../../../../src/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.tsx"],"sourcesContent":["import { useCallback, useMemo } from 'react';\nimport classNames from 'classnames';\nimport { uniqBy } from 'lodash';\n\nimport { AppHeader } from '../AppHeader';\nimport { PickerModalActions } from '../PickerModalActions';\nimport { MapColumn } from '../MapColumn';\nimport { TableSection } from '../TableSection';\nimport { useElementSize } from '../../hooks/useElementSize';\n\nimport type { OffsetWellPickerContentProps } from './OffsetWellPickerContent.types';\n\nimport styles from '../../OffsetWellPickerV5.module.css';\n\nimport { NotificationsContainer } from '~/components/Notifications';\nimport { typography as typographyBase } from '~/styles';\nimport { LoadingIndicator } from '~/components';\nimport { Modal } from '~/componentsV2';\n\nconst typography = typographyBase as Record<string, string> & typeof typographyBase;\n\nexport const OffsetWellPickerContent = ({\n open,\n isMobile,\n isViewOnly,\n isMapHidden,\n isFilterExpanded,\n isHScrollMoved,\n isLoading,\n isTableFullLoading,\n isResetVisible,\n isOffsetSourceKnown,\n hasOffsetSource,\n hasSavedHandpicked,\n isSynced,\n isLimitedOffsetWells,\n isWellSectionColumnVisible,\n isAllWellsSelected,\n indeterminate,\n isXtoProvider,\n hasValidAssetId,\n syncedOffsetLabel,\n savedOffsetLabel,\n resetTooltipLabel,\n maxOffsetWellNumber,\n subjectWell,\n subjectWellId,\n selectedWells,\n selectedWellIds,\n selectedWellsCount,\n selectedWellSection,\n filteredWells,\n wellsToDisplay,\n sortedWells,\n tableWells,\n tableRowsCount,\n wellSections,\n metricsKeys,\n setMetricsKeys,\n columnsWithDict,\n taScores,\n filterOptions,\n loadingWellIds,\n loadingAssetIds,\n filters,\n currentSelectionZone,\n activeWellId,\n sortBy,\n setSortBy,\n sortDirection,\n setSortDirection,\n shouldRecenter,\n wells,\n handleCancel,\n handleSave,\n handleReset,\n handleChangeOffsetWell,\n handleBatchSelectWells,\n handleChangeAllOffsetWells,\n handleSelectionZoneConfirm,\n handleChangeWellSection,\n handleAddRemoveAssets,\n handleScroll,\n setActiveWellId,\n setShouldRecenter,\n setIsAdvancedSearchHidden,\n wellsMapRef,\n contentRef,\n rightColumnRef,\n containerRef,\n isAnimatingRef,\n}: OffsetWellPickerContentProps) => {\n const { ref: columnsContainerRef, width: containerWidth } = useElementSize();\n\n const uniqueWellsCount = useMemo(() => {\n if (!wells) return 0;\n return uniqBy(wells, 'id').length;\n }, [wells]);\n\n const handleChangeMetricsKeys = useCallback(\n (newMetricsKeys: string[]) => {\n setMetricsKeys(newMetricsKeys);\n },\n [setMetricsKeys]\n );\n\n return (\n <Modal\n open={!!open}\n onClose={handleCancel}\n size=\"fullscreen\"\n className={styles.modalDialog}\n title={\n <AppHeader\n totalCount={uniqueWellsCount}\n filteredCount={filteredWells?.length ?? 0}\n selectedCount={selectedWellsCount}\n maxOffsetWellNumber={maxOffsetWellNumber}\n isXtoProvider={isXtoProvider}\n metricsKeys={metricsKeys}\n onChangeMetricsKeys={handleChangeMetricsKeys}\n />\n }\n actions={\n !isViewOnly && (\n <PickerModalActions\n isLoading={isLoading}\n isResetVisible={isResetVisible}\n isOffsetSourceKnown={isOffsetSourceKnown}\n hasOffsetSource={hasOffsetSource}\n isSynced={isSynced}\n isMobile={isMobile}\n hasValidAssetId={hasValidAssetId}\n syncedOffsetLabel={syncedOffsetLabel}\n resetTooltipLabel={resetTooltipLabel}\n selectedWellsCount={selectedWellsCount}\n handleCancel={handleCancel}\n handleSave={handleSave}\n handleReset={handleReset}\n />\n )\n }\n >\n <div className={classNames(styles.offsetWellDialog)}>\n <NotificationsContainer />\n {!isLoading ? (\n <div\n className={classNames(styles.contentWrapper, {\n [styles.contentBlocked]: isTableFullLoading,\n })}\n >\n <div className={styles.columnsContainer} ref={columnsContainerRef}>\n <MapColumn\n isMapHidden={isMapHidden}\n open={open}\n subjectWell={subjectWell}\n selectedWells={selectedWells}\n wellsToDisplay={wellsToDisplay}\n handleChangeOffsetWell={handleChangeOffsetWell}\n handleBatchSelectWells={handleBatchSelectWells}\n activeWellId={activeWellId}\n currentSelectionZone={currentSelectionZone}\n handleSelectionZoneConfirm={handleSelectionZoneConfirm}\n shouldRecenter={shouldRecenter}\n setShouldRecenter={setShouldRecenter}\n wellsMapRef={wellsMapRef}\n containerWidth={containerWidth}\n />\n <TableSection\n isMobile={isMobile}\n isViewOnly={isViewOnly}\n isFilterExpanded={isFilterExpanded}\n isHScrollMoved={isHScrollMoved}\n isTableFullLoading={isTableFullLoading}\n isLimitedOffsetWells={isLimitedOffsetWells}\n isWellSectionColumnVisible={isWellSectionColumnVisible}\n isAllWellsSelected={isAllWellsSelected}\n indeterminate={indeterminate}\n subjectWellId={subjectWellId}\n selectedWellIds={selectedWellIds}\n selectedWellSection={selectedWellSection}\n sortedWells={sortedWells}\n tableWells={tableWells}\n tableRowsCount={tableRowsCount}\n wellSections={wellSections}\n metricsKeys={metricsKeys}\n setMetricsKeys={setMetricsKeys}\n columnsWithDict={columnsWithDict}\n taScores={taScores}\n filterOptions={filterOptions}\n loadingWellIds={loadingWellIds}\n loadingAssetIds={loadingAssetIds}\n filters={filters}\n sortBy={sortBy}\n setSortBy={setSortBy}\n sortDirection={sortDirection}\n setSortDirection={setSortDirection}\n maxOffsetWellNumber={maxOffsetWellNumber}\n handleChangeOffsetWell={\n handleChangeOffsetWell as (well: { id: number }, checked: boolean) => void\n }\n handleChangeAllOffsetWells={handleChangeAllOffsetWells}\n handleChangeWellSection={handleChangeWellSection}\n handleAddRemoveAssets={handleAddRemoveAssets}\n handleScroll={handleScroll}\n setActiveWellId={setActiveWellId}\n setIsAdvancedSearchHidden={setIsAdvancedSearchHidden}\n wellsMapRef={wellsMapRef}\n contentRef={contentRef}\n rightColumnRef={rightColumnRef}\n containerRef={containerRef}\n isAnimatingRef={isAnimatingRef}\n />\n </div>\n {isViewOnly && hasValidAssetId && hasOffsetSource && isOffsetSourceKnown && (\n <div className={styles.viewOnlyInfoContainer}>\n {hasSavedHandpicked ? (\n <>\n <span className={classNames(typography.regular12, typography.colors.t6)}>\n Last saved offsets from&nbsp;\n </span>\n <span className={classNames(typography.medium12, typography.colors.t6)}>\n {savedOffsetLabel.endsWith('.')\n ? savedOffsetLabel.slice(0, -1)\n : savedOffsetLabel}\n </span>\n <span className={classNames(typography.regular12, typography.colors.t6)}>\n &nbsp;with manual picks.\n </span>\n </>\n ) : (\n <>\n <span className={classNames(typography.regular12, typography.colors.t6)}>\n The offset list is being automatically populated by&nbsp;\n </span>\n <span className={classNames(typography.medium12, typography.colors.t6)}>\n {savedOffsetLabel}\n </span>\n </>\n )}\n </div>\n )}\n </div>\n ) : (\n <LoadingIndicator />\n )}\n </div>\n </Modal>\n );\n};\n"],"names":["typography","typographyBase","OffsetWellPickerContent","_ref","_filteredWells$length","open","isMobile","isViewOnly","isMapHidden","isFilterExpanded","isHScrollMoved","isLoading","isTableFullLoading","isResetVisible","isOffsetSourceKnown","hasOffsetSource","hasSavedHandpicked","isSynced","isLimitedOffsetWells","isWellSectionColumnVisible","isAllWellsSelected","indeterminate","isXtoProvider","hasValidAssetId","syncedOffsetLabel","savedOffsetLabel","resetTooltipLabel","maxOffsetWellNumber","subjectWell","subjectWellId","selectedWells","selectedWellIds","selectedWellsCount","selectedWellSection","filteredWells","wellsToDisplay","sortedWells","tableWells","tableRowsCount","wellSections","metricsKeys","setMetricsKeys","columnsWithDict","taScores","filterOptions","loadingWellIds","loadingAssetIds","filters","currentSelectionZone","activeWellId","sortBy","setSortBy","sortDirection","setSortDirection","shouldRecenter","wells","handleCancel","handleSave","handleReset","handleChangeOffsetWell","handleBatchSelectWells","handleChangeAllOffsetWells","handleSelectionZoneConfirm","handleChangeWellSection","handleAddRemoveAssets","handleScroll","setActiveWellId","setShouldRecenter","setIsAdvancedSearchHidden","wellsMapRef","contentRef","rightColumnRef","containerRef","isAnimatingRef","_useElementSize","useElementSize","columnsContainerRef","ref","containerWidth","width","uniqueWellsCount","useMemo","uniqBy","length","handleChangeMetricsKeys","useCallback","newMetricsKeys","_jsx","Modal","onClose","size","className","styles","modalDialog","title","AppHeader","totalCount","filteredCount","selectedCount","onChangeMetricsKeys","actions","PickerModalActions","children","_jsxs","classNames","offsetWellDialog","NotificationsContainer","LoadingIndicator","contentWrapper","contentBlocked","columnsContainer","MapColumn","TableSection","viewOnlyInfoContainer","_Fragment","regular12","colors","t6","medium12","endsWith","slice"],"mappings":"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"}
@@ -1,2 +1,2 @@
1
- import{useMemo as t}from"react";import{usePickerPropsStore as o}from"../../../../stores/picker-props-store/usePickerPropsStore.js";import{CompanySafeguardContext as s}from"../../../../stores/company-safeguard/CompanySafeguardContext.js";import"@babel/runtime/helpers/toConsumableArray";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/helpers/slicedToArray";import"@babel/runtime/regenerator";import"lodash";import"uuid";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../../../../../clients/jsonApi/index.js";import"../../../../../../clients/subscriptions/constants.js";import"../../../../../../clients/subscriptions.v1.js";import"../../../../../../clients/subscriptions/subscriptions-client.factory.js";import"../../../../../../clients/api/apiCore.js";import"../../../../../../clients/constants.js";import"../../../../../../clients/sso/auth0.js";import"../../../../../../clients/sso/oauth2.js";import"../../../../../../clients/api/rateLimiter.js";import"../../../../constants.js";import"../../../../api/shared/dataFormatter.js";import"zustand";import"../../../../stores/picker-props-store/PickerPropsStoreContext.js";import"@babel/runtime/helpers/objectWithoutProperties";import"../../../../viewport/ViewportProvider.js";import"../../../../viewport/ViewportContext.js";import{jsx as r}from"react/jsx-runtime";import"querystring";import"uuid/v1";import"immutable";import"query-string";import"../../../../../../constants/goals.js";import"../../../../../../constants/segment.js";import"../../../../../../constants/alerts.js";import"../../../../../../constants/apps.js";import"../../../../../../constants/drillstring.js";import"../../../../../../constants/completion.js";import"../../../../../../constants/appPackages.js";import"../../../../../../constants/notifications.js";import"../../../../../../constants/feed.js";import"../../../../../../constants/bha.js";import"../../../../../../constants/corvaCompanyId.js";import"../../../../../GradientManager/configuration/constants.js";import"../../../../../../utils/index.js";import"jsona";import"../../../../../../utils/env.js";import"../../../../../StatusBadge/constants.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../../../../../constants/streamSourceType.js";import"../../../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../../../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../../../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../../../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../../../stores/filter-store/FilterStoreContext.js";import"../../../../stores/filter-store/utils/cascade-hierarchies.js";import{useCompanies as e}from"../../../../hooks/useCompanies.js";import"lodash/debounce";import"../../../../stores/viewport-store/ViewportStoreContext.js";import"lz-string";import"@mapbox/tilebelt";import"../../../Map/OffsetWellMap/constants.js";import"lodash/isEqual";import"../../../../stores/viewport-store/ViewportStoreProvider.js";import{useLoadAllWellsCompanySafeguard as i}from"../../../../hooks/useLoadAllWellsCompanySafeguard.js";import"../../../../utils/getCoordinatedWells.js";import"geolib";import"../../../../../../utils/convert.js";import"@babel/runtime/helpers/typeof";import"../../../../stores/idas-resync-store/IdasResyncStoreContext.js";import"../../../../stores/idas-resync-store/IdasResyncStoreProvider.js";import"../../../../hooks/use-well-data-pipeline/useCompanyMetricKey.js";import"../../../../hooks/use-well-data-pipeline/wellTransformations.js";var p=function(p){var n=p.children,a=o((function(t){return t.open})),m=e({open:a}),c=m.canViewCompanies,l=m.canViewCompaniesLoading,d=m.companies,u=i({companies:d,canViewCompanies:c,canViewCompaniesLoading:l}),j=u.isSafeguardReady,C=u.safeguardAppliedCompanyId,g=u.targetCompanyId,f=u.resetSafeguard,h=t((function(){return{companies:d,canViewCompanies:c,isSafeguardReady:j,safeguardAppliedCompanyId:C,targetCompanyId:g,resetSafeguard:f}}),[d,c,j,C,g,f]);return r(s.Provider,{value:h,children:n})};p.displayName="CompanySafeguardWrapper";export{p as CompanySafeguardWrapper};
1
+ import{useMemo as t}from"react";import{usePickerPropsStore as o}from"../../../../stores/picker-props-store/usePickerPropsStore.js";import{CompanySafeguardContext as s}from"../../../../stores/company-safeguard/CompanySafeguardContext.js";import"@babel/runtime/helpers/toConsumableArray";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/helpers/slicedToArray";import"@babel/runtime/regenerator";import"lodash";import"uuid";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../../../../../clients/jsonApi/index.js";import"../../../../../../clients/subscriptions/constants.js";import"../../../../../../clients/subscriptions.v1.js";import"../../../../../../clients/subscriptions/subscriptions-client.factory.js";import"../../../../../../clients/api/apiCore.js";import"../../../../../../clients/constants.js";import"../../../../../../clients/sso/auth0.js";import"../../../../../../clients/sso/oauth2.js";import"../../../../../../clients/api/rateLimiter.js";import"../../../../constants.js";import"../../../../api/shared/dataFormatter.js";import"zustand";import"../../../../stores/picker-props-store/PickerPropsStoreContext.js";import"@babel/runtime/helpers/objectWithoutProperties";import"../../../../viewport/ViewportProvider.js";import"../../../../viewport/ViewportContext.js";import{jsx as r}from"react/jsx-runtime";import"querystring";import"uuid/v1";import"immutable";import"query-string";import"../../../../../../constants/goals.js";import"../../../../../../constants/segment.js";import"../../../../../../constants/alerts.js";import"../../../../../../constants/apps.js";import"../../../../../../constants/drillstring.js";import"../../../../../../constants/completion.js";import"../../../../../../constants/appPackages.js";import"../../../../../../constants/notifications.js";import"../../../../../../constants/feed.js";import"../../../../../../constants/bha.js";import"../../../../../../constants/corvaCompanyId.js";import"../../../../../GradientManager/configuration/constants.js";import"../../../../../../utils/index.js";import"jsona";import"../../../../../../utils/env.js";import"../../../../../StatusBadge/constants.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../../../../../constants/streamSourceType.js";import"../../../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../../../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../../../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../../../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../../../stores/filter-store/FilterStoreContext.js";import"../../../../stores/filter-store/utils/cascade-hierarchies.js";import{useCompanies as e}from"../../../../hooks/useCompanies.js";import"lodash/debounce";import"../../../../stores/viewport-store/ViewportStoreContext.js";import"lz-string";import"@mapbox/tilebelt";import"../../../Map/OffsetWellMap/constants.js";import"lodash/isEqual";import"../../../../stores/viewport-store/ViewportStoreProvider.js";import{useLoadAllWellsCompanySafeguard as i}from"../../../../hooks/useLoadAllWellsCompanySafeguard.js";import"geolib";import"../../../../../../utils/convert.js";import"@babel/runtime/helpers/typeof";import"../../../../stores/idas-resync-store/IdasResyncStoreContext.js";import"../../../../stores/idas-resync-store/IdasResyncStoreProvider.js";import"../../../../hooks/use-well-data-pipeline/useCompanyMetricKey.js";var p=function(p){var n=p.children,a=o((function(t){return t.open})),m=e({open:a}),c=m.canViewCompanies,l=m.canViewCompaniesLoading,d=m.companies,u=i({companies:d,canViewCompanies:c,canViewCompaniesLoading:l}),j=u.isSafeguardReady,C=u.safeguardAppliedCompanyId,g=u.targetCompanyId,f=u.resetSafeguard,y=t((function(){return{companies:d,canViewCompanies:c,isSafeguardReady:j,safeguardAppliedCompanyId:C,targetCompanyId:g,resetSafeguard:f}}),[d,c,j,C,g,f]);return r(s.Provider,{value:y,children:n})};p.displayName="CompanySafeguardWrapper";export{p as CompanySafeguardWrapper};
2
2
  //# sourceMappingURL=CompanySafeguardWrapper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CompanySafeguardWrapper.js","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.tsx"],"sourcesContent":["import { FC, ReactNode, useMemo } from 'react';\n\nimport { usePickerPropsStore } from '../../../../stores/picker-props-store/usePickerPropsStore';\nimport { CompanySafeguardContext } from '../../../../stores/company-safeguard';\nimport { useCompanies, useLoadAllWellsCompanySafeguard } from '../../../../hooks';\n\nexport const CompanySafeguardWrapper: FC<{ children: ReactNode }> = ({ children }) => {\n const open = usePickerPropsStore(state => state.open);\n const { canViewCompanies, canViewCompaniesLoading, companies } = useCompanies({ open });\n const { isSafeguardReady, safeguardAppliedCompanyId, targetCompanyId, resetSafeguard } =\n useLoadAllWellsCompanySafeguard({\n companies,\n canViewCompanies,\n canViewCompaniesLoading,\n });\n\n const contextValue = useMemo(\n () => ({\n companies,\n canViewCompanies,\n isSafeguardReady,\n safeguardAppliedCompanyId,\n targetCompanyId,\n resetSafeguard,\n }),\n [\n companies,\n canViewCompanies,\n isSafeguardReady,\n safeguardAppliedCompanyId,\n targetCompanyId,\n resetSafeguard,\n ]\n );\n\n return (\n <CompanySafeguardContext.Provider value={contextValue}>\n {children}\n </CompanySafeguardContext.Provider>\n );\n};\n\nCompanySafeguardWrapper.displayName = 'CompanySafeguardWrapper';\n"],"names":["CompanySafeguardWrapper","_ref","children","open","usePickerPropsStore","state","_useCompanies","useCompanies","canViewCompanies","canViewCompaniesLoading","companies","_useLoadAllWellsCompa","useLoadAllWellsCompanySafeguard","isSafeguardReady","safeguardAppliedCompanyId","targetCompanyId","resetSafeguard","contextValue","useMemo","_jsx","CompanySafeguardContext","Provider","value","displayName"],"mappings":"ylHAMaA,IAAAA,EAAuD,SAAkBC,GAAA,IAAfC,IAAAA,SAC/DC,EAAOC,GAAoB,SAAAC,GAAK,OAAIA,EAAMF,QAChDG,EAAiEC,EAAa,CAAEJ,KAAAA,IAAxEK,IAAAA,iBAAkBC,IAAAA,wBAAyBC,IAAAA,UACnDC,EACEC,EAAgC,CAC9BF,UAAAA,EACAF,iBAAAA,EACAC,wBAAAA,IAJII,IAAAA,iBAAkBC,IAAAA,0BAA2BC,IAAAA,gBAAiBC,IAAAA,eAOhEC,EAAeC,GACnB,WAAA,MAAO,CACLR,UAAAA,EACAF,iBAAAA,EACAK,iBAAAA,EACAC,0BAAAA,EACAC,gBAAAA,EACAC,eAAAA,EACD,GACD,CACEN,EACAF,EACAK,EACAC,EACAC,EACAC,IAIJ,OACEG,EAACC,EAAwBC,SAAQ,CAACC,MAAOL,EAAaf,SACnDA,GAGP,EAEAF,EAAwBuB,YAAc"}
1
+ {"version":3,"file":"CompanySafeguardWrapper.js","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.tsx"],"sourcesContent":["import { FC, ReactNode, useMemo } from 'react';\n\nimport { usePickerPropsStore } from '../../../../stores/picker-props-store/usePickerPropsStore';\nimport { CompanySafeguardContext } from '../../../../stores/company-safeguard';\nimport { useCompanies, useLoadAllWellsCompanySafeguard } from '../../../../hooks';\n\nexport const CompanySafeguardWrapper: FC<{ children: ReactNode }> = ({ children }) => {\n const open = usePickerPropsStore(state => state.open);\n const { canViewCompanies, canViewCompaniesLoading, companies } = useCompanies({ open });\n const { isSafeguardReady, safeguardAppliedCompanyId, targetCompanyId, resetSafeguard } =\n useLoadAllWellsCompanySafeguard({\n companies,\n canViewCompanies,\n canViewCompaniesLoading,\n });\n\n const contextValue = useMemo(\n () => ({\n companies,\n canViewCompanies,\n isSafeguardReady,\n safeguardAppliedCompanyId,\n targetCompanyId,\n resetSafeguard,\n }),\n [\n companies,\n canViewCompanies,\n isSafeguardReady,\n safeguardAppliedCompanyId,\n targetCompanyId,\n resetSafeguard,\n ]\n );\n\n return (\n <CompanySafeguardContext.Provider value={contextValue}>\n {children}\n </CompanySafeguardContext.Provider>\n );\n};\n\nCompanySafeguardWrapper.displayName = 'CompanySafeguardWrapper';\n"],"names":["CompanySafeguardWrapper","_ref","children","open","usePickerPropsStore","state","_useCompanies","useCompanies","canViewCompanies","canViewCompaniesLoading","companies","_useLoadAllWellsCompa","useLoadAllWellsCompanySafeguard","isSafeguardReady","safeguardAppliedCompanyId","targetCompanyId","resetSafeguard","contextValue","useMemo","_jsx","CompanySafeguardContext","Provider","value","displayName"],"mappings":"g+GAMaA,IAAAA,EAAuD,SAAkBC,GAAA,IAAfC,IAAAA,SAC/DC,EAAOC,GAAoB,SAAAC,GAAK,OAAIA,EAAMF,QAChDG,EAAiEC,EAAa,CAAEJ,KAAAA,IAAxEK,IAAAA,iBAAkBC,IAAAA,wBAAyBC,IAAAA,UACnDC,EACEC,EAAgC,CAC9BF,UAAAA,EACAF,iBAAAA,EACAC,wBAAAA,IAJII,IAAAA,iBAAkBC,IAAAA,0BAA2BC,IAAAA,gBAAiBC,IAAAA,eAOhEC,EAAeC,GACnB,WAAA,MAAO,CACLR,UAAAA,EACAF,iBAAAA,EACAK,iBAAAA,EACAC,0BAAAA,EACAC,gBAAAA,EACAC,eAAAA,EACD,GACD,CACEN,EACAF,EACAK,EACAC,EACAC,EACAC,IAIJ,OACEG,EAACC,EAAwBC,SAAQ,CAACC,MAAOL,EAAaf,SACnDA,GAGP,EAEAF,EAAwBuB,YAAc"}
@@ -1 +1 @@
1
- {"version":3,"file":"wellTransformations.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmB,MAAM,iBAAiB,CAAC;AAM9D,KAAK,UAAU,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC;AAEjC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,oBAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;AAErD,KAAK,YAAY,GAAG;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAC1C,KAAK,eAAe,GAAG,OAAO,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,WAAW,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;AAEhF;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAAI,CAAC,SAAS,UAAU,SACjD,CAAC,EAAE,iBACK,MAAM,GAAG,SAAS,KAChC,CAAC,CAAC,GAAG,YAAY,CAAC,EAsBpB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,GAAI,CAAC,SAAS,UAAU,SAC9C,CAAC,EAAE,gBACI,WAAW,EAAE,GAAG,SAAS,GAAG,IAAI,wBACxB,oBAAoB,GAAG,SAAS,GAAG,IAAI,KAC5D,CAAC,CAAC,GAAG,eAAe,CAAC,EA0BvB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,UAAU,YACvC,CAAC,EAAE,GAAG,IAAI,GAAG,SAAS,iBACjB,MAAM,GAAG,SAAS,GAAG,IAAI,gBAC1B,WAAW,EAAE,GAAG,SAAS,GAAG,IAAI,wBACxB,oBAAoB,GAAG,SAAS,GAAG,IAAI,KAC5D,CAAC,CAAC,GAAG,YAAY,GAAG,eAAe,CAAC,EAAE,GAAG,IAM3C,CAAC"}
1
+ {"version":3,"file":"wellTransformations.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmB,MAAM,iBAAiB,CAAC;AAI9D,KAAK,UAAU,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC;AAEjC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,oBAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;AAErD,KAAK,YAAY,GAAG;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAC1C,KAAK,eAAe,GAAG,OAAO,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,WAAW,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;AAEhF;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAAI,CAAC,SAAS,UAAU,SACjD,CAAC,EAAE,iBACK,MAAM,GAAG,SAAS,KAChC,CAAC,CAAC,GAAG,YAAY,CAAC,EAsBpB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,GAAI,CAAC,SAAS,UAAU,SAC9C,CAAC,EAAE,gBACI,WAAW,EAAE,GAAG,SAAS,GAAG,IAAI,wBACxB,oBAAoB,GAAG,SAAS,GAAG,IAAI,KAC5D,CAAC,CAAC,GAAG,eAAe,CAAC,EA0BvB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,UAAU,YACvC,CAAC,EAAE,GAAG,IAAI,GAAG,SAAS,iBACjB,MAAM,GAAG,SAAS,GAAG,IAAI,gBAC1B,WAAW,EAAE,GAAG,SAAS,GAAG,IAAI,wBACxB,oBAAoB,GAAG,SAAS,GAAG,IAAI,KAC5D,CAAC,CAAC,GAAG,YAAY,GAAG,eAAe,CAAC,EAAE,GAAG,IAM3C,CAAC"}
@@ -1,2 +1,2 @@
1
- import r from"@babel/runtime/helpers/defineProperty";import{ALL_SECTION_KEY as t,ColumnType as e}from"../../constants.js";import{mapbox as n}from"../../../../utils/index.js";function o(r,t){var e=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),e.push.apply(e,n)}return e}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))}))}return t}var c=n.getAssetV2Coordinates,u=n.getDistanceByCoordinates,a=function(r,t){if(!r||!t)return r;var e=r.find((function(r){return r.id===t})),n=e&&c(e,"topHole");return n?r.map((function(r){try{var t=c(r,"topHole");if(t){var e=parseFloat(u(n,t));return i(i({},r),{},{distance:parseFloat(e.toFixed(2))})}return r}catch(t){return r}})):r},f=function(n,o,c){if(!n||!o||!c)return n;var u=o.filter((function(r){return r.value!==t})),a=new Map;return u.forEach((function(r){(c[r.value]||[]).forEach((function(t){var e=a.get(t);e?e.push(r.label):a.set(t,[r.label])}))})),n.map((function(t){var n=a.get(t.id);return n&&n.length>0?i(i({},t),{},r({},e.wellSection,n)):t}))},l=function(r,t,e,n){if(!r)return null;var o=a(r,null!=t?t:void 0);return f(o,e,n)};export{a as addCoordinatesToWells,f as addSectionsToWells,l as transformWells};
1
+ import t from"@babel/runtime/helpers/defineProperty";import{ALL_SECTION_KEY as e,ColumnType as r}from"../../constants.js";import{mapbox as n}from"../../../../utils/index.js";function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?o(Object(n),!0).forEach((function(r){t(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(t,e){if(!t||!e)return t;var r=t.find((function(t){return t.id===e})),o=r&&n.getAssetV2Coordinates(r,"topHole");return o?t.map((function(t){try{var e=n.getAssetV2Coordinates(t,"topHole");if(e){var r=parseFloat(n.getDistanceByCoordinates(o,e));return i(i({},t),{},{distance:parseFloat(r.toFixed(2))})}return t}catch(e){return t}})):t},u=function(n,o,c){if(!n||!o||!c)return n;var u=o.filter((function(t){return t.value!==e})),a=new Map;return u.forEach((function(t){(c[t.value]||[]).forEach((function(e){var r=a.get(e);r?r.push(t.label):a.set(e,[t.label])}))})),n.map((function(e){var n=a.get(e.id);return n&&n.length>0?i(i({},e),{},t({},r.wellSection,n)):e}))},a=function(t,e,r,n){if(!t)return null;var o=c(t,null!=e?e:void 0);return u(o,r,n)};export{c as addCoordinatesToWells,u as addSectionsToWells,a as transformWells};
2
2
  //# sourceMappingURL=wellTransformations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"wellTransformations.js","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.ts"],"sourcesContent":["import { ColumnType, ALL_SECTION_KEY } from '../../constants';\n\nimport { mapbox } from '~/utils';\n\nconst { getAssetV2Coordinates, getDistanceByCoordinates } = mapbox;\n\ntype WellWithId = { id: number };\n\ntype WellSection = {\n value: string;\n label: string;\n};\n\ntype OffsetWellsBySection = Record<string, number[]>;\n\ntype WithDistance = { distance?: number };\ntype WithWellSection = Partial<Record<typeof ColumnType.wellSection, string[]>>;\n\n/**\n * Adds distance coordinates to wells relative to a subject well\n */\nexport const addCoordinatesToWells = <T extends WellWithId>(\n wells: T[],\n subjectWellId: number | undefined\n): (T & WithDistance)[] => {\n if (!wells || !subjectWellId) return wells;\n\n const subjectWell = wells.find(well => well.id === subjectWellId);\n const subjectWellCoord = subjectWell && getAssetV2Coordinates(subjectWell, 'topHole');\n\n if (!subjectWellCoord) {\n return wells;\n }\n\n return wells.map(well => {\n try {\n const coord = getAssetV2Coordinates(well, 'topHole');\n if (coord) {\n const distance = parseFloat(getDistanceByCoordinates(subjectWellCoord, coord));\n return { ...well, distance: parseFloat(distance.toFixed(2)) };\n }\n return well;\n } catch {\n return well;\n }\n });\n};\n\n/**\n * Adds section information to wells based on section membership\n */\nexport const addSectionsToWells = <T extends WellWithId>(\n wells: T[],\n wellSections: WellSection[] | undefined | null,\n offsetWellsBySection: OffsetWellsBySection | undefined | null\n): (T & WithWellSection)[] => {\n if (!wells || !wellSections || !offsetWellsBySection) return wells;\n\n const filteredSections = wellSections.filter(item => item.value !== ALL_SECTION_KEY);\n\n // Pre-build well ID -> section labels Map for O(1) lookups\n const wellToSections = new Map<number, string[]>();\n filteredSections.forEach(section => {\n const wellIds = offsetWellsBySection[section.value] || [];\n wellIds.forEach(wellId => {\n const existing = wellToSections.get(wellId);\n if (existing) {\n existing.push(section.label);\n } else {\n wellToSections.set(wellId, [section.label]);\n }\n });\n });\n\n return wells.map(well => {\n const sectionNames = wellToSections.get(well.id);\n if (sectionNames && sectionNames.length > 0) {\n return { ...well, [ColumnType.wellSection]: sectionNames };\n }\n return well;\n });\n};\n\n/**\n * Transforms wells by adding coordinates and section information in one pass\n */\nexport const transformWells = <T extends WellWithId>(\n rawWells: T[] | null | undefined,\n subjectWellId: number | undefined | null,\n wellSections: WellSection[] | undefined | null,\n offsetWellsBySection: OffsetWellsBySection | undefined | null\n): (T & WithDistance & WithWellSection)[] | null => {\n if (!rawWells) return null;\n\n const wellsWithCoordinates = addCoordinatesToWells(rawWells, subjectWellId ?? undefined);\n\n return addSectionsToWells(wellsWithCoordinates, wellSections, offsetWellsBySection);\n};\n"],"names":["getAssetV2Coordinates","mapbox","getDistanceByCoordinates","addCoordinatesToWells","wells","subjectWellId","subjectWell","find","well","id","subjectWellCoord","map","coord","distance","parseFloat","_objectSpread","toFixed","_unused","addSectionsToWells","wellSections","offsetWellsBySection","filteredSections","filter","item","value","ALL_SECTION_KEY","wellToSections","Map","forEach","section","wellId","existing","get","push","label","set","sectionNames","length","ColumnType","wellSection","transformWells","rawWells","wellsWithCoordinates","undefined"],"mappings":"6uBAIA,IAAQA,EAAoDC,EAApDD,sBAAuBE,EAA6BD,EAA7BC,yBAiBlBC,EAAwB,SACnCC,EACAC,GAEA,IAAKD,IAAUC,EAAe,OAAOD,EAErC,IAAME,EAAcF,EAAMG,MAAK,SAAAC,GAAI,OAAIA,EAAKC,KAAOJ,KAC7CK,EAAmBJ,GAAeN,EAAsBM,EAAa,WAE3E,OAAKI,EAIEN,EAAMO,KAAI,SAAAH,GACf,IACE,IAAMI,EAAQZ,EAAsBQ,EAAM,WAC1C,GAAII,EAAO,CACT,IAAMC,EAAWC,WAAWZ,EAAyBQ,EAAkBE,IACvE,OAAAG,EAAAA,EAAA,CAAA,EAAYP,GAAI,CAAA,EAAA,CAAEK,SAAUC,WAAWD,EAASG,QAAQ,KAC1D,CACA,OAAOR,CAGT,CAFE,MAAMS,GACN,OAAOT,CACT,CACF,IAdSJ,CAeX,EAKac,EAAqB,SAChCd,EACAe,EACAC,GAEA,IAAKhB,IAAUe,IAAiBC,EAAsB,OAAOhB,EAE7D,IAAMiB,EAAmBF,EAAaG,QAAO,SAAAC,GAAI,OAAIA,EAAKC,QAAUC,KAG9DC,EAAiB,IAAIC,IAa3B,OAZAN,EAAiBO,SAAQ,SAAAC,IACPT,EAAqBS,EAAQL,QAAU,IAC/CI,SAAQ,SAAAE,GACd,IAAMC,EAAWL,EAAeM,IAAIF,GAChCC,EACFA,EAASE,KAAKJ,EAAQK,OAEtBR,EAAeS,IAAIL,EAAQ,CAACD,EAAQK,OAExC,GACF,IAEO9B,EAAMO,KAAI,SAAAH,GACf,IAAM4B,EAAeV,EAAeM,IAAIxB,EAAKC,IAC7C,OAAI2B,GAAgBA,EAAaC,OAAS,EACxCtB,EAAAA,EAAA,CAAA,EAAYP,GAAO8B,CAAAA,EAAAA,EAAAA,CAAAA,EAAAA,EAAWC,YAAcH,IAEvC5B,CACT,GACF,EAKagC,EAAiB,SAC5BC,EACApC,EACAc,EACAC,GAEA,IAAKqB,EAAU,OAAO,KAEtB,IAAMC,EAAuBvC,EAAsBsC,EAAUpC,QAAAA,OAAiBsC,GAE9E,OAAOzB,EAAmBwB,EAAsBvB,EAAcC,EAChE"}
1
+ {"version":3,"file":"wellTransformations.js","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.ts"],"sourcesContent":["import { ColumnType, ALL_SECTION_KEY } from '../../constants';\n\nimport { mapbox } from '~/utils';\n\ntype WellWithId = { id: number };\n\ntype WellSection = {\n value: string;\n label: string;\n};\n\ntype OffsetWellsBySection = Record<string, number[]>;\n\ntype WithDistance = { distance?: number };\ntype WithWellSection = Partial<Record<typeof ColumnType.wellSection, string[]>>;\n\n/**\n * Adds distance coordinates to wells relative to a subject well\n */\nexport const addCoordinatesToWells = <T extends WellWithId>(\n wells: T[],\n subjectWellId: number | undefined\n): (T & WithDistance)[] => {\n if (!wells || !subjectWellId) return wells;\n\n const subjectWell = wells.find(well => well.id === subjectWellId);\n const subjectWellCoord = subjectWell && mapbox.getAssetV2Coordinates(subjectWell, 'topHole');\n\n if (!subjectWellCoord) {\n return wells;\n }\n\n return wells.map(well => {\n try {\n const coord = mapbox.getAssetV2Coordinates(well, 'topHole');\n if (coord) {\n const distance = parseFloat(mapbox.getDistanceByCoordinates(subjectWellCoord, coord));\n return { ...well, distance: parseFloat(distance.toFixed(2)) };\n }\n return well;\n } catch {\n return well;\n }\n });\n};\n\n/**\n * Adds section information to wells based on section membership\n */\nexport const addSectionsToWells = <T extends WellWithId>(\n wells: T[],\n wellSections: WellSection[] | undefined | null,\n offsetWellsBySection: OffsetWellsBySection | undefined | null\n): (T & WithWellSection)[] => {\n if (!wells || !wellSections || !offsetWellsBySection) return wells;\n\n const filteredSections = wellSections.filter(item => item.value !== ALL_SECTION_KEY);\n\n // Pre-build well ID -> section labels Map for O(1) lookups\n const wellToSections = new Map<number, string[]>();\n filteredSections.forEach(section => {\n const wellIds = offsetWellsBySection[section.value] || [];\n wellIds.forEach(wellId => {\n const existing = wellToSections.get(wellId);\n if (existing) {\n existing.push(section.label);\n } else {\n wellToSections.set(wellId, [section.label]);\n }\n });\n });\n\n return wells.map(well => {\n const sectionNames = wellToSections.get(well.id);\n if (sectionNames && sectionNames.length > 0) {\n return { ...well, [ColumnType.wellSection]: sectionNames };\n }\n return well;\n });\n};\n\n/**\n * Transforms wells by adding coordinates and section information in one pass\n */\nexport const transformWells = <T extends WellWithId>(\n rawWells: T[] | null | undefined,\n subjectWellId: number | undefined | null,\n wellSections: WellSection[] | undefined | null,\n offsetWellsBySection: OffsetWellsBySection | undefined | null\n): (T & WithDistance & WithWellSection)[] | null => {\n if (!rawWells) return null;\n\n const wellsWithCoordinates = addCoordinatesToWells(rawWells, subjectWellId ?? undefined);\n\n return addSectionsToWells(wellsWithCoordinates, wellSections, offsetWellsBySection);\n};\n"],"names":["addCoordinatesToWells","wells","subjectWellId","subjectWell","find","well","id","subjectWellCoord","mapbox","getAssetV2Coordinates","map","coord","distance","parseFloat","getDistanceByCoordinates","_objectSpread","toFixed","_unused","addSectionsToWells","wellSections","offsetWellsBySection","filteredSections","filter","item","value","ALL_SECTION_KEY","wellToSections","Map","forEach","section","wellId","existing","get","push","label","set","sectionNames","length","ColumnType","wellSection","transformWells","rawWells","wellsWithCoordinates","undefined"],"mappings":"6uBAmBO,IAAMA,EAAwB,SACnCC,EACAC,GAEA,IAAKD,IAAUC,EAAe,OAAOD,EAErC,IAAME,EAAcF,EAAMG,MAAK,SAAAC,GAAI,OAAIA,EAAKC,KAAOJ,KAC7CK,EAAmBJ,GAAeK,EAAOC,sBAAsBN,EAAa,WAElF,OAAKI,EAIEN,EAAMS,KAAI,SAAAL,GACf,IACE,IAAMM,EAAQH,EAAOC,sBAAsBJ,EAAM,WACjD,GAAIM,EAAO,CACT,IAAMC,EAAWC,WAAWL,EAAOM,yBAAyBP,EAAkBI,IAC9E,OAAAI,EAAAA,EAAA,CAAA,EAAYV,GAAI,CAAA,EAAA,CAAEO,SAAUC,WAAWD,EAASI,QAAQ,KAC1D,CACA,OAAOX,CAGT,CAFE,MAAMY,GACN,OAAOZ,CACT,CACF,IAdSJ,CAeX,EAKaiB,EAAqB,SAChCjB,EACAkB,EACAC,GAEA,IAAKnB,IAAUkB,IAAiBC,EAAsB,OAAOnB,EAE7D,IAAMoB,EAAmBF,EAAaG,QAAO,SAAAC,GAAI,OAAIA,EAAKC,QAAUC,KAG9DC,EAAiB,IAAIC,IAa3B,OAZAN,EAAiBO,SAAQ,SAAAC,IACPT,EAAqBS,EAAQL,QAAU,IAC/CI,SAAQ,SAAAE,GACd,IAAMC,EAAWL,EAAeM,IAAIF,GAChCC,EACFA,EAASE,KAAKJ,EAAQK,OAEtBR,EAAeS,IAAIL,EAAQ,CAACD,EAAQK,OAExC,GACF,IAEOjC,EAAMS,KAAI,SAAAL,GACf,IAAM+B,EAAeV,EAAeM,IAAI3B,EAAKC,IAC7C,OAAI8B,GAAgBA,EAAaC,OAAS,EACxCtB,EAAAA,EAAA,CAAA,EAAYV,GAAOiC,CAAAA,EAAAA,EAAAA,CAAAA,EAAAA,EAAWC,YAAcH,IAEvC/B,CACT,GACF,EAKamC,EAAiB,SAC5BC,EACAvC,EACAiB,EACAC,GAEA,IAAKqB,EAAU,OAAO,KAEtB,IAAMC,EAAuB1C,EAAsByC,EAAUvC,QAAAA,OAAiByC,GAE9E,OAAOzB,EAAmBwB,EAAsBvB,EAAcC,EAChE"}
@@ -1 +1 @@
1
- {"version":3,"file":"getCoordinatedWells.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV5/utils/getCoordinatedWells.ts"],"names":[],"mappings":"AAOA,KAAK,eAAe,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AA8BF,eAAO,MAAM,mBAAmB,YACrB,MAAM,EAAE,iBACF,MAAM,KACpB,OAAO,CAAC,eAAe,EAAE,CAwB3B,CAAC"}
1
+ {"version":3,"file":"getCoordinatedWells.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV5/utils/getCoordinatedWells.ts"],"names":[],"mappings":"AAKA,KAAK,eAAe,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AA8BF,eAAO,MAAM,mBAAmB,YACrB,MAAM,EAAE,iBACF,MAAM,KACpB,OAAO,CAAC,eAAe,EAAE,CA0B3B,CAAC"}
@@ -1,2 +1,2 @@
1
- import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/asyncToGenerator";import r from"@babel/runtime/regenerator";import{sortBy as n,get as a}from"lodash";import{getAssets as o}from"../../../clients/jsonApi/index.js";import{mapbox as s}from"../../../utils/index.js";function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?u(Object(n),!0).forEach((function(r){e(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var c=s.getAssetV2Coordinates,p=s.getDistanceByCoordinates,l=function(){var e=t(r.mark((function e(t){var n;return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=null,null==t||!t.length){e.next=11;break}return e.prev=2,e.next=5,o({ids:t,fields:["asset.name","asset.top_hole","asset.settings"]});case 5:n=e.sent,e.next=11;break;case 8:e.prev=8,e.t0=e.catch(2),console.error(e.t0);case 11:return e.abrupt("return",n?n.data.map((function(e){var t;return{id:Number(e.id),name:a(e,"attributes.name"),topHole:null!==(t=a(e,"attributes.top_hole"))&&void 0!==t?t:a(e,"attributes.settings.top_hole")}})):[]);case 12:case"end":return e.stop()}}),e,null,[[2,8]])})));return function(t){return e.apply(this,arguments)}}(),f=function(){var e=t(r.mark((function e(a,o){var s,u,f,b;return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l(a);case 2:if(s=e.sent,u=s.find((function(e){return e.id===o})),f=u&&c(u,"topHole")){e.next=7;break}return e.abrupt("return",s);case 7:return e.next=9,Promise.all(s.map(function(){var e=t(r.mark((function e(t){var n,a;return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c(t,"topHole");case 3:if(!(n=e.sent)){e.next=13;break}return e.t0=parseFloat,e.next=8,p(f,n);case 8:return e.t1=e.sent,a=(0,e.t0)(e.t1),e.abrupt("return",i(i({},t),{},{distance:parseFloat(a.toFixed(2))}));case 13:return e.abrupt("return",t);case 14:e.next=19;break;case 16:return e.prev=16,e.t2=e.catch(0),e.abrupt("return",t);case 19:case"end":return e.stop()}}),e,null,[[0,16]])})));return function(t){return e.apply(this,arguments)}}()));case 9:return b=e.sent,e.abrupt("return",n(b,"distance"));case 11:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}();export{f as getCoordinatedWells};
1
+ import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/asyncToGenerator";import r from"@babel/runtime/regenerator";import{sortBy as n,get as a}from"lodash";import{getAssets as o}from"../../../clients/jsonApi/index.js";import{mapbox as s}from"../../../utils/index.js";function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?u(Object(n),!0).forEach((function(r){e(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var c=function(){var e=t(r.mark((function e(t){var n;return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=null,null==t||!t.length){e.next=11;break}return e.prev=2,e.next=5,o({ids:t,fields:["asset.name","asset.top_hole","asset.settings"]});case 5:n=e.sent,e.next=11;break;case 8:e.prev=8,e.t0=e.catch(2),console.error(e.t0);case 11:return e.abrupt("return",n?n.data.map((function(e){var t;return{id:Number(e.id),name:a(e,"attributes.name"),topHole:null!==(t=a(e,"attributes.top_hole"))&&void 0!==t?t:a(e,"attributes.settings.top_hole")}})):[]);case 12:case"end":return e.stop()}}),e,null,[[2,8]])})));return function(t){return e.apply(this,arguments)}}(),p=function(){var e=t(r.mark((function e(a,o){var u,p,l,f;return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c(a);case 2:if(u=e.sent,p=u.find((function(e){return e.id===o})),l=p&&s.getAssetV2Coordinates(p,"topHole")){e.next=7;break}return e.abrupt("return",u);case 7:return e.next=9,Promise.all(u.map(function(){var e=t(r.mark((function e(t){var n,a;return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,s.getAssetV2Coordinates(t,"topHole");case 3:if(!(n=e.sent)){e.next=13;break}return e.t0=parseFloat,e.next=8,s.getDistanceByCoordinates(l,n);case 8:return e.t1=e.sent,a=(0,e.t0)(e.t1),e.abrupt("return",i(i({},t),{},{distance:parseFloat(a.toFixed(2))}));case 13:return e.abrupt("return",t);case 14:e.next=19;break;case 16:return e.prev=16,e.t2=e.catch(0),e.abrupt("return",t);case 19:case"end":return e.stop()}}),e,null,[[0,16]])})));return function(t){return e.apply(this,arguments)}}()));case 9:return f=e.sent,e.abrupt("return",n(f,"distance"));case 11:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}();export{p as getCoordinatedWells};
2
2
  //# sourceMappingURL=getCoordinatedWells.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getCoordinatedWells.js","sources":["../../../../src/components/OffsetWellPickerV5/utils/getCoordinatedWells.ts"],"sourcesContent":["import { get, sortBy } from 'lodash';\n\nimport { getAssets } from '~/clients/jsonApi';\nimport { mapbox } from '~/utils';\n\nconst { getAssetV2Coordinates, getDistanceByCoordinates } = mapbox;\n\ntype CoordinatedWell = {\n id: number;\n name: string;\n topHole: unknown;\n distance?: number;\n};\n\ntype AssetResponseItem = {\n id: string | number;\n attributes?: Record<string, unknown>;\n};\n\nconst getWells = async (wellIds: number[]): Promise<CoordinatedWell[]> => {\n let response: { data: AssetResponseItem[] } | null = null;\n\n if (wellIds?.length) {\n try {\n response = await getAssets({\n ids: wellIds,\n fields: ['asset.name', 'asset.top_hole', 'asset.settings'],\n });\n } catch (e) {\n console.error(e);\n }\n }\n\n return response\n ? response.data.map((item: AssetResponseItem) => ({\n id: Number(item.id),\n name: get(item, 'attributes.name') as string,\n topHole: get(item, 'attributes.top_hole') ?? get(item, 'attributes.settings.top_hole'),\n }))\n : [];\n};\n\nexport const getCoordinatedWells = async (\n wellIds: number[],\n subjectWellId: number\n): Promise<CoordinatedWell[]> => {\n const wells = await getWells(wellIds);\n const subjectWell = wells.find(well => well.id === subjectWellId);\n const subjectWellCoord = subjectWell && getAssetV2Coordinates(subjectWell, 'topHole');\n if (!subjectWellCoord) {\n return wells;\n }\n\n const coordinatedWells = await Promise.all(\n wells.map(async well => {\n try {\n const coord = await getAssetV2Coordinates(well, 'topHole');\n if (coord) {\n const distance = parseFloat(await getDistanceByCoordinates(subjectWellCoord, coord));\n return { ...well, distance: parseFloat(distance.toFixed(2)) };\n } else {\n return well;\n }\n } catch {\n return well;\n }\n })\n );\n return sortBy(coordinatedWells, 'distance');\n};\n"],"names":["getAssetV2Coordinates","mapbox","getDistanceByCoordinates","getWells","_ref","_asyncToGenerator","_regeneratorRuntime","mark","wellIds","response","wrap","_context","prev","next","length","getAssets","ids","fields","sent","t0","console","error","data","map","item","_get","id","Number","name","get","topHole","stop","_callee","_x","apply","this","arguments","getCoordinatedWells","_ref2","_callee3","subjectWellId","wells","subjectWell","subjectWellCoord","coordinatedWells","_context3","find","well","abrupt","Promise","all","_ref3","coord","distance","_context2","parseFloat","t1","_objectSpread","toFixed","t2","_callee2","_x4","sortBy","_x2","_x3"],"mappings":"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"}
1
+ {"version":3,"file":"getCoordinatedWells.js","sources":["../../../../src/components/OffsetWellPickerV5/utils/getCoordinatedWells.ts"],"sourcesContent":["import { get, sortBy } from 'lodash';\n\nimport { getAssets } from '~/clients/jsonApi';\nimport { mapbox } from '~/utils';\n\ntype CoordinatedWell = {\n id: number;\n name: string;\n topHole: unknown;\n distance?: number;\n};\n\ntype AssetResponseItem = {\n id: string | number;\n attributes?: Record<string, unknown>;\n};\n\nconst getWells = async (wellIds: number[]): Promise<CoordinatedWell[]> => {\n let response: { data: AssetResponseItem[] } | null = null;\n\n if (wellIds?.length) {\n try {\n response = await getAssets({\n ids: wellIds,\n fields: ['asset.name', 'asset.top_hole', 'asset.settings'],\n });\n } catch (e) {\n console.error(e);\n }\n }\n\n return response\n ? response.data.map((item: AssetResponseItem) => ({\n id: Number(item.id),\n name: get(item, 'attributes.name') as string,\n topHole: get(item, 'attributes.top_hole') ?? get(item, 'attributes.settings.top_hole'),\n }))\n : [];\n};\n\nexport const getCoordinatedWells = async (\n wellIds: number[],\n subjectWellId: number\n): Promise<CoordinatedWell[]> => {\n const wells = await getWells(wellIds);\n const subjectWell = wells.find(well => well.id === subjectWellId);\n const subjectWellCoord = subjectWell && mapbox.getAssetV2Coordinates(subjectWell, 'topHole');\n if (!subjectWellCoord) {\n return wells;\n }\n\n const coordinatedWells = await Promise.all(\n wells.map(async well => {\n try {\n const coord = await mapbox.getAssetV2Coordinates(well, 'topHole');\n if (coord) {\n const distance = parseFloat(\n await mapbox.getDistanceByCoordinates(subjectWellCoord, coord)\n );\n return { ...well, distance: parseFloat(distance.toFixed(2)) };\n } else {\n return well;\n }\n } catch {\n return well;\n }\n })\n );\n return sortBy(coordinatedWells, 'distance');\n};\n"],"names":["getWells","_ref","_asyncToGenerator","_regeneratorRuntime","mark","wellIds","response","wrap","_context","prev","next","length","getAssets","ids","fields","sent","t0","console","error","data","map","item","_get","id","Number","name","get","topHole","stop","_callee","_x","apply","this","arguments","getCoordinatedWells","_ref2","_callee3","subjectWellId","wells","subjectWell","subjectWellCoord","coordinatedWells","_context3","find","well","mapbox","getAssetV2Coordinates","abrupt","Promise","all","_ref3","coord","distance","_context2","parseFloat","getDistanceByCoordinates","t1","_objectSpread","toFixed","t2","_callee2","_x4","sortBy","_x2","_x3"],"mappings":"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"}