@ohif/app 3.8.0-beta.54 → 3.8.0-beta.56

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 (51) hide show
  1. package/dist/{223.bundle.d4ac6ef2cfe47a9c4afc.js → 109.bundle.b4fee2a22b622839baf5.js} +50 -50
  2. package/dist/{471.bundle.eeb78105b59e688832a6.js → 121.bundle.8a4747e7280f7493f07f.js} +18 -18
  3. package/dist/{19.bundle.99b3819a5b7a6bd9394c.js → 155.bundle.c29eb80f89869abce330.js} +89 -89
  4. package/dist/{687.bundle.a6ee04b2e5fd5e5445b6.js → 164.bundle.db387d19f75dd737b9bd.js} +4 -4
  5. package/dist/17dd54813d5acc10bf8f.wasm +0 -0
  6. package/dist/{506.bundle.e243d2ef94ad3925c403.js → 188.bundle.dbe34be7a01e1d2eb815.js} +11 -11
  7. package/dist/{199.bundle.fdd939db52f25dc92071.js → 250.bundle.d0649631d09c928a102b.js} +43 -43
  8. package/dist/{965.bundle.67f3b1a05b5cbe521d62.js → 270.bundle.24c2dca618804cbc5933.js} +56 -56
  9. package/dist/{95.bundle.2236101be3cc36b322e8.js → 290.bundle.f14fb0cfd84a817704b6.js} +149 -35
  10. package/dist/{451.bundle.311cd3be9916e08450e9.js → 295.bundle.195776f4d6400701840b.js} +19 -20
  11. package/dist/{125.bundle.df666cb677e5a8982157.js → 297.bundle.81d63bb0b66d63df6d86.js} +4 -4
  12. package/dist/{613.bundle.9c0ad8fbe2c130862f6c.js → 317.bundle.43b405981747b1da99e1.js} +9 -9
  13. package/dist/{483.bundle.75d178137b66ccdbc9b0.js → 339.bundle.9dd2a6cfee0c8e78e08b.js} +66 -66
  14. package/dist/342.bundle.9cba26ae269724f08311.js +51866 -0
  15. package/dist/39.bundle.40deb7b1a56a61b60064.js +135203 -0
  16. package/dist/{466.bundle.93759a09e651f7b3c995.js → 50.bundle.c3cbd58149efffb8fe8d.js} +49 -49
  17. package/dist/{886.bundle.94a4536167d0f8cae1ae.js → 530.bundle.8784084927e0f61b058d.js} +23 -23
  18. package/dist/{250.bundle.577da106dd763c7bf9d0.js → 544.bundle.1502ae8187957cc5d7a5.js} +23 -23
  19. package/dist/{170.bundle.f343198e07760a7ead7d.js → 559.bundle.27406a40a15f23e9cbe0.js} +63 -63
  20. package/dist/{410.bundle.a348d8825d915c77d550.js → 594.bundle.47486e52801b56aef392.js} +11 -11
  21. package/dist/{661.bundle.949c984fe2f9f753b65c.js → 644.bundle.1e77691d2eeb96a423b0.js} +4 -4
  22. package/dist/{185.bundle.ff56990135b9136734cf.js → 68.bundle.ba70fc52febdf39a8a7a.js} +48 -48
  23. package/dist/{738.bundle.a68b638a4281ede90e1f.js → 704.bundle.99451fa50ffb2168489c.js} +195 -191
  24. package/dist/{359.bundle.ef640f0cee0493868d9d.js → 724.bundle.c7d66fb37bf5e9e3a2ef.js} +11 -11
  25. package/dist/{831.bundle.127a3064e8844d6d2c82.js → 726.bundle.2bdb443d1b5620d74e6e.js} +512 -512
  26. package/dist/{530.bundle.f904325ef4195d69ac0e.js → 835.bundle.4c0eaa2c1a427ee41817.js} +28 -28
  27. package/dist/{822.bundle.8b745e28bc9eb9afbc61.js → 862.bundle.5357c0d8b2fe9971a082.js} +18 -18
  28. package/dist/{181.bundle.aff453c348111303ceac.js → 889.bundle.d8fae421d8bfce626cf6.js} +36 -41
  29. package/dist/{281.bundle.fae344af5b015f837f25.js → 905.bundle.07e293bf89007e53ebfc.js} +9 -9
  30. package/dist/{814.bundle.0ec180d5b229f4e6406f.js → 907.bundle.ded7947e96dd1c71340a.js} +8 -8
  31. package/dist/{417.bundle.5c66801d23d0e98c00e6.js → 931.bundle.d270a1fda9a2836c3cc5.js} +25 -25
  32. package/dist/{686.bundle.62c827fe4f0d054c164e.js → 939.bundle.84ee0b844023d924a22b.js} +4 -4
  33. package/dist/{12.bundle.f8e4685ed24432735e1b.js → 961.bundle.527fd9c4c03417a323b6.js} +8 -8
  34. package/dist/{290.bundle.83733eacedfae557e8cf.js → 963.bundle.5d3306618aebb63887f5.js} +430 -200
  35. package/dist/{app.bundle.e97dc9a2b1087531aa22.js → app.bundle.72246bf7d821f3e37004.js} +184373 -170579
  36. package/dist/app.bundle.css +1 -1
  37. package/dist/cornerstoneDICOMImageLoader.min.js +1 -1
  38. package/dist/cornerstoneDICOMImageLoader.min.js.map +1 -1
  39. package/dist/{dicom-microscopy-viewer.bundle.a7d5060eead13771e784.js → dicom-microscopy-viewer.bundle.d3a56dc9f62df5e11019.js} +3 -3
  40. package/dist/index.html +1 -1
  41. package/dist/polySeg.bundle.63a3d7bee3e0ec0651df.js +249 -0
  42. package/dist/sw.js +1 -1
  43. package/package.json +22 -19
  44. package/dist/202.bundle.495cba6bbee744cf8f72.js +0 -18239
  45. package/dist/23.bundle.9d989522a6e4fdcb9c72.js +0 -900
  46. /package/dist/{19.css → 155.css} +0 -0
  47. /package/dist/{579.css → 481.css} +0 -0
  48. /package/dist/{466.css → 50.css} +0 -0
  49. /package/dist/{250.css → 544.css} +0 -0
  50. /package/dist/{181.css → 889.css} +0 -0
  51. /package/dist/{290.css → 963.css} +0 -0
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
- (globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[738],{
2
+ (globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[704],{
3
3
 
4
- /***/ 78738:
4
+ /***/ 49704:
5
5
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6
6
 
7
7
  // ESM COMPAT FLAG
@@ -30,11 +30,11 @@ __webpack_require__.d(utils_namespaceObject, {
30
30
  });
31
31
 
32
32
  // EXTERNAL MODULE: ../../../node_modules/dicomweb-client/build/dicomweb-client.es.js
33
- var dicomweb_client_es = __webpack_require__(97604);
34
- // EXTERNAL MODULE: ../../core/src/index.ts + 65 modules
35
- var src = __webpack_require__(71771);
33
+ var dicomweb_client_es = __webpack_require__(36922);
34
+ // EXTERNAL MODULE: ../../core/src/index.ts + 66 modules
35
+ var src = __webpack_require__(14283);
36
36
  // EXTERNAL MODULE: ../../core/src/utils/sortStudy.ts
37
- var sortStudy = __webpack_require__(62971);
37
+ var sortStudy = __webpack_require__(45476);
38
38
  ;// CONCATENATED MODULE: ../../../extensions/default/src/DicomWebDataSource/qido.js
39
39
  /**
40
40
  * QIDO - Query based on ID for DICOM Objects
@@ -125,7 +125,7 @@ function processSeriesResults(qidoSeries) {
125
125
  description: getString(qidoSeries['0008103E'])
126
126
  }));
127
127
  }
128
- (0,sortStudy/* sortStudySeries */.IO)(series);
128
+ (0,sortStudy/* sortStudySeries */.LM)(series);
129
129
  return series;
130
130
  }
131
131
 
@@ -378,7 +378,7 @@ function getImageId({
378
378
  }
379
379
  }
380
380
  // EXTERNAL MODULE: ../../../node_modules/dcmjs/build/dcmjs.es.js
381
- var dcmjs_es = __webpack_require__(67540);
381
+ var dcmjs_es = __webpack_require__(31426);
382
382
  ;// CONCATENATED MODULE: ../../../extensions/default/src/DicomWebDataSource/wado/retrieveMetadataLoader.js
383
383
  /**
384
384
  * Class to define inheritance of load retrieve strategy.
@@ -630,9 +630,9 @@ class RetrieveMetadataLoaderAsync extends RetrieveMetadataLoader {
630
630
  const sortFunction = this.sortFunction;
631
631
  const {
632
632
  naturalizeDataset
633
- } = dcmjs_es["default"].data.DicomMetaDictionary;
633
+ } = dcmjs_es/* default.data */.Ay.data.DicomMetaDictionary;
634
634
  const naturalized = result.map(naturalizeDataset);
635
- return (0,sortStudy/* sortStudySeries */.IO)(naturalized, sortCriteria, sortFunction);
635
+ return (0,sortStudy/* sortStudySeries */.LM)(naturalized, sortCriteria, sortFunction);
636
636
  }
637
637
  async load(preLoadData) {
638
638
  const {
@@ -814,7 +814,7 @@ function deleteStudyMetadataPromise(StudyInstanceUID) {
814
814
  * by manually implementing a query option.
815
815
  */
816
816
 
817
- class StaticWadoClient extends dicomweb_client_es.api.DICOMwebClient {
817
+ class StaticWadoClient extends dicomweb_client_es/* api */.FH.DICOMwebClient {
818
818
  constructor(qidoConfig) {
819
819
  super(qidoConfig);
820
820
  this.staticWado = qidoConfig.staticWado;
@@ -1115,7 +1115,7 @@ function fixBulkDataURI(value, instance, dicomWebConfig) {
1115
1115
  const {
1116
1116
  DicomMetaDictionary,
1117
1117
  DicomDict
1118
- } = dcmjs_es["default"].data;
1118
+ } = dcmjs_es/* default.data */.Ay.data;
1119
1119
  const {
1120
1120
  naturalizeDataset,
1121
1121
  denaturalizeDataset
@@ -1196,20 +1196,20 @@ function createDicomWebApi(dicomWebConfig, servicesManager) {
1196
1196
  staticWado: dicomWebConfig.staticWado,
1197
1197
  singlepart: dicomWebConfig.singlepart,
1198
1198
  headers: userAuthenticationService.getAuthorizationHeader(),
1199
- errorInterceptor: src/* errorHandler */.Po.getHTTPErrorHandler()
1199
+ errorInterceptor: src/* errorHandler */.r_.getHTTPErrorHandler()
1200
1200
  };
1201
1201
  wadoConfig = {
1202
1202
  url: dicomWebConfig.wadoRoot,
1203
1203
  staticWado: dicomWebConfig.staticWado,
1204
1204
  singlepart: dicomWebConfig.singlepart,
1205
1205
  headers: userAuthenticationService.getAuthorizationHeader(),
1206
- errorInterceptor: src/* errorHandler */.Po.getHTTPErrorHandler()
1206
+ errorInterceptor: src/* errorHandler */.r_.getHTTPErrorHandler()
1207
1207
  };
1208
1208
 
1209
1209
  // TODO -> Two clients sucks, but its better than 1000.
1210
1210
  // TODO -> We'll need to merge auth later.
1211
- qidoDicomWebClient = dicomWebConfig.staticWado ? new StaticWadoClient(qidoConfig) : new dicomweb_client_es.api.DICOMwebClient(qidoConfig);
1212
- wadoDicomWebClient = dicomWebConfig.staticWado ? new StaticWadoClient(wadoConfig) : new dicomweb_client_es.api.DICOMwebClient(wadoConfig);
1211
+ qidoDicomWebClient = dicomWebConfig.staticWado ? new StaticWadoClient(qidoConfig) : new dicomweb_client_es/* api */.FH.DICOMwebClient(qidoConfig);
1212
+ wadoDicomWebClient = dicomWebConfig.staticWado ? new StaticWadoClient(wadoConfig) : new dicomweb_client_es/* api */.FH.DICOMwebClient(wadoConfig);
1213
1213
  },
1214
1214
  query: {
1215
1215
  studies: {
@@ -1561,7 +1561,7 @@ function createDicomWebApi(dicomWebConfig, servicesManager) {
1561
1561
  if (dicomWebConfig.supportsReject) {
1562
1562
  implementation.reject = dcm4cheeReject(dicomWebConfig.wadoRoot);
1563
1563
  }
1564
- return src/* IWebApiDataSource */.Is.create(implementation);
1564
+ return src/* IWebApiDataSource */.pt.create(implementation);
1565
1565
  }
1566
1566
 
1567
1567
  ;// CONCATENATED MODULE: ../../../extensions/default/src/DicomJSONDataSource/index.js
@@ -1569,7 +1569,7 @@ function createDicomWebApi(dicomWebConfig, servicesManager) {
1569
1569
 
1570
1570
 
1571
1571
 
1572
- const DicomJSONDataSource_metadataProvider = src["default"].classes.MetadataProvider;
1572
+ const DicomJSONDataSource_metadataProvider = src/* default.classes */.Ay.classes.MetadataProvider;
1573
1573
  const mappings = {
1574
1574
  studyInstanceUid: 'StudyInstanceUID',
1575
1575
  patientId: 'PatientID'
@@ -1596,7 +1596,7 @@ function wrapSequences(obj) {
1596
1596
  acc[key] = obj[key];
1597
1597
  }
1598
1598
  if (key.endsWith('Sequence')) {
1599
- acc[key] = src["default"].utils.addAccessors(acc[key]);
1599
+ acc[key] = src/* default.utils */.Ay.utils.addAccessors(acc[key]);
1600
1600
  }
1601
1601
  return acc;
1602
1602
  }, Array.isArray(obj) ? [] : {});
@@ -1834,14 +1834,14 @@ function createDicomJSONApi(dicomJsonConfig) {
1834
1834
  return _store.studyInstanceUIDMap.get(url);
1835
1835
  }
1836
1836
  };
1837
- return src/* IWebApiDataSource */.Is.create(implementation);
1837
+ return src/* IWebApiDataSource */.pt.create(implementation);
1838
1838
  }
1839
1839
 
1840
1840
  ;// CONCATENATED MODULE: ../../../extensions/default/src/DicomLocalDataSource/index.js
1841
1841
 
1842
1842
 
1843
1843
 
1844
- const DicomLocalDataSource_metadataProvider = src["default"].classes.MetadataProvider;
1844
+ const DicomLocalDataSource_metadataProvider = src/* default.classes */.Ay.classes.MetadataProvider;
1845
1845
  const {
1846
1846
  EVENTS
1847
1847
  } = src.DicomMetadataStore;
@@ -2013,7 +2013,7 @@ function createDicomLocalApi(dicomLocalConfig) {
2013
2013
  },
2014
2014
  store: {
2015
2015
  dicom: naturalizedReport => {
2016
- const reportBlob = dcmjs_es["default"].data.datasetToBlob(naturalizedReport);
2016
+ const reportBlob = dcmjs_es/* default.data */.Ay.data.datasetToBlob(naturalizedReport);
2017
2017
 
2018
2018
  //Create a URL for the binary.
2019
2019
  var objectUrl = URL.createObjectURL(reportBlob);
@@ -2088,7 +2088,7 @@ function createDicomLocalApi(dicomLocalConfig) {
2088
2088
  return isStudyInCache ? StudyInstanceUIDsAsArray : [];
2089
2089
  }
2090
2090
  };
2091
- return src/* IWebApiDataSource */.Is.create(implementation);
2091
+ return src/* IWebApiDataSource */.pt.create(implementation);
2092
2092
  }
2093
2093
 
2094
2094
  ;// CONCATENATED MODULE: ../../../extensions/default/src/DicomWebProxyDataSource/index.js
@@ -2167,11 +2167,11 @@ function createDicomWebProxyApi(dicomWebProxyConfig, servicesManager) {
2167
2167
  return studyInstanceUIDs;
2168
2168
  }
2169
2169
  };
2170
- return src/* IWebApiDataSource */.Is.create(implementation);
2170
+ return src/* IWebApiDataSource */.pt.create(implementation);
2171
2171
  }
2172
2172
 
2173
2173
  // EXTERNAL MODULE: ../../../node_modules/lodash/lodash.js
2174
- var lodash = __webpack_require__(44379);
2174
+ var lodash = __webpack_require__(5517);
2175
2175
  ;// CONCATENATED MODULE: ../../../extensions/default/src/MergeDataSource/index.ts
2176
2176
 
2177
2177
 
@@ -2221,7 +2221,9 @@ const callForAllDataSourcesAsync = async ({
2221
2221
  const defs = Object.values(extensionManager.dataSourceDefs);
2222
2222
  const defaultDataSourceDef = defs.find(def => def.sourceName === defaultDataSourceName);
2223
2223
  const dataSourceDefs = defs.filter(def => def.sourceName !== defaultDataSourceName);
2224
- dataSourceDefs.unshift(defaultDataSourceDef);
2224
+ if (defaultDataSourceDef) {
2225
+ dataSourceDefs.unshift(defaultDataSourceDef);
2226
+ }
2225
2227
  const promises = [];
2226
2228
  const sourceNames = [];
2227
2229
  for (const dataSourceDef of dataSourceDefs) {
@@ -2269,7 +2271,9 @@ const callForAllDataSources = ({
2269
2271
  const defs = Object.values(extensionManager.dataSourceDefs);
2270
2272
  const defaultDataSourceDef = defs.find(def => def.sourceName === defaultDataSourceName);
2271
2273
  const dataSourceDefs = defs.filter(def => def.sourceName !== defaultDataSourceName);
2272
- dataSourceDefs.unshift(defaultDataSourceDef);
2274
+ if (defaultDataSourceDef) {
2275
+ dataSourceDefs.unshift(defaultDataSourceDef);
2276
+ }
2273
2277
  const mergedData = [];
2274
2278
  for (const dataSourceDef of dataSourceDefs) {
2275
2279
  const {
@@ -2310,7 +2314,7 @@ const callForDefaultDataSource = ({
2310
2314
  * Calls the data source specified by the RetrieveAETitle of the given display set.
2311
2315
  * @typedef {Object} CallByRetrieveAETitleOptions
2312
2316
  * @property {string} path - The path of the method to call on the data source.
2313
- * @property {unknown[]} args - The arguments to pass to the method.
2317
+ * @property {any[]} args - The arguments to pass to the method.
2314
2318
  * @property {string} defaultDataSourceName - The name of the default data source.
2315
2319
  * @property {ExtensionManager} extensionManager - The extension manager.
2316
2320
  */
@@ -2434,7 +2438,7 @@ function createMergeDataSourceApi(mergeConfig, servicesManager, extensionManager
2434
2438
  defaultDataSourceName
2435
2439
  })
2436
2440
  };
2437
- return src/* IWebApiDataSource */.Is.create(implementation);
2441
+ return src/* IWebApiDataSource */.pt.create(implementation);
2438
2442
  }
2439
2443
 
2440
2444
  ;// CONCATENATED MODULE: ../../../extensions/default/src/getDataSourcesModule.js
@@ -2476,24 +2480,24 @@ function getDataSourcesModule() {
2476
2480
  }
2477
2481
  /* harmony default export */ const src_getDataSourcesModule = (getDataSourcesModule);
2478
2482
  // EXTERNAL MODULE: ../../../node_modules/react/index.js
2479
- var react = __webpack_require__(43001);
2483
+ var react = __webpack_require__(41766);
2480
2484
  // EXTERNAL MODULE: ../../../node_modules/prop-types/index.js
2481
- var prop_types = __webpack_require__(3827);
2485
+ var prop_types = __webpack_require__(11374);
2482
2486
  var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
2483
2487
  // EXTERNAL MODULE: ../../ui/src/index.js + 487 modules
2484
- var ui_src = __webpack_require__(18414);
2488
+ var ui_src = __webpack_require__(55395);
2485
2489
  // EXTERNAL MODULE: ./state/index.js + 1 modules
2486
- var state = __webpack_require__(62657);
2490
+ var state = __webpack_require__(15575);
2487
2491
  // EXTERNAL MODULE: ../node_modules/react-router-dom/dist/index.js
2488
- var dist = __webpack_require__(62474);
2492
+ var dist = __webpack_require__(37396);
2489
2493
  // EXTERNAL MODULE: ../../../node_modules/react-i18next/dist/es/index.js + 15 modules
2490
- var es = __webpack_require__(69190);
2494
+ var es = __webpack_require__(80619);
2491
2495
  // EXTERNAL MODULE: ../node_modules/react-router/dist/index.js
2492
- var react_router_dist = __webpack_require__(85066);
2496
+ var react_router_dist = __webpack_require__(10971);
2493
2497
  // EXTERNAL MODULE: ../../i18n/src/index.js + 148 modules
2494
- var i18n_src = __webpack_require__(68311);
2498
+ var i18n_src = __webpack_require__(69536);
2495
2499
  // EXTERNAL MODULE: ../../../node_modules/classnames/index.js
2496
- var classnames = __webpack_require__(33901);
2500
+ var classnames = __webpack_require__(61466);
2497
2501
  var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
2498
2502
  ;// CONCATENATED MODULE: ../../../extensions/default/src/Toolbar/Toolbar.tsx
2499
2503
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
@@ -2506,7 +2510,7 @@ function Toolbar({
2506
2510
  const {
2507
2511
  toolbarService
2508
2512
  } = servicesManager.services;
2509
- const [viewportGrid, viewportGridService] = (0,ui_src/* useViewportGrid */.O_)();
2513
+ const [viewportGrid, viewportGridService] = (0,ui_src/* useViewportGrid */.ih)();
2510
2514
  const [toolbarButtons, setToolbarButtons] = (0,react.useState)([]);
2511
2515
  (0,react.useEffect)(() => {
2512
2516
  const updateToolbar = () => {
@@ -2558,15 +2562,15 @@ const {
2558
2562
  availableLanguages,
2559
2563
  defaultLanguage,
2560
2564
  currentLanguage
2561
- } = i18n_src["default"];
2565
+ } = i18n_src/* default */.A;
2562
2566
  function ViewerHeader({
2563
2567
  hotkeysManager,
2564
2568
  extensionManager,
2565
2569
  servicesManager
2566
2570
  }) {
2567
- const [appConfig] = (0,state/* useAppConfig */.M)();
2568
- const navigate = (0,dist/* useNavigate */.s0)();
2569
- const location = (0,react_router_dist/* useLocation */.TH)();
2571
+ const [appConfig] = (0,state/* useAppConfig */.r)();
2572
+ const navigate = (0,dist/* useNavigate */.Zp)();
2573
+ const location = (0,react_router_dist/* useLocation */.zy)();
2570
2574
  const onClickReturnButton = () => {
2571
2575
  const {
2572
2576
  pathname
@@ -2590,22 +2594,22 @@ function ViewerHeader({
2590
2594
  };
2591
2595
  const {
2592
2596
  t
2593
- } = (0,es/* useTranslation */.$G)();
2597
+ } = (0,es/* useTranslation */.Bd)();
2594
2598
  const {
2595
2599
  show,
2596
2600
  hide
2597
- } = (0,ui_src/* useModal */.dd)();
2601
+ } = (0,ui_src/* useModal */.hS)();
2598
2602
  const {
2599
2603
  hotkeyDefinitions,
2600
2604
  hotkeyDefaults
2601
2605
  } = hotkeysManager;
2602
- const versionNumber = "3.8.0-beta.54";
2603
- const commitHash = "0eac386a31a5d6965536360aa65a44769c1a5740";
2606
+ const versionNumber = "3.8.0-beta.56";
2607
+ const commitHash = "21e8a2bd0b7cc72f90a31e472d285d761be15d30";
2604
2608
  const menuOptions = [{
2605
2609
  title: t('Header:About'),
2606
2610
  icon: 'info',
2607
2611
  onClick: () => show({
2608
- content: ui_src/* AboutModal */.tk,
2612
+ content: ui_src/* AboutModal */.VT,
2609
2613
  title: t('AboutModal:About OHIF Viewer'),
2610
2614
  contentProps: {
2611
2615
  versionNumber,
@@ -2617,7 +2621,7 @@ function ViewerHeader({
2617
2621
  icon: 'settings',
2618
2622
  onClick: () => show({
2619
2623
  title: t('UserPreferencesModal:User preferences'),
2620
- content: ui_src/* UserPreferences */.i1,
2624
+ content: ui_src/* UserPreferences */.im,
2621
2625
  contentProps: {
2622
2626
  hotkeyDefaults: hotkeysManager.getValidHotkeyDefinitions(hotkeyDefaults),
2623
2627
  hotkeyDefinitions,
@@ -2625,8 +2629,8 @@ function ViewerHeader({
2625
2629
  availableLanguages,
2626
2630
  defaultLanguage,
2627
2631
  onCancel: () => {
2628
- src/* hotkeys */.dD.stopRecord();
2629
- src/* hotkeys */.dD.unpause();
2632
+ src/* hotkeys */.ot.stopRecord();
2633
+ src/* hotkeys */.ot.unpause();
2630
2634
  hide();
2631
2635
  },
2632
2636
  onSubmit: ({
@@ -2634,13 +2638,13 @@ function ViewerHeader({
2634
2638
  language
2635
2639
  }) => {
2636
2640
  if (language.value !== currentLanguage().value) {
2637
- i18n_src["default"].changeLanguage(language.value);
2641
+ i18n_src/* default */.A.changeLanguage(language.value);
2638
2642
  }
2639
2643
  hotkeysManager.setHotkeys(hotkeyDefinitions);
2640
2644
  hide();
2641
2645
  },
2642
2646
  onReset: () => hotkeysManager.restoreDefaultBindings(),
2643
- hotkeysModule: src/* hotkeys */.dD
2647
+ hotkeysModule: src/* hotkeys */.ot
2644
2648
  }
2645
2649
  })
2646
2650
  }];
@@ -2653,12 +2657,12 @@ function ViewerHeader({
2653
2657
  }
2654
2658
  });
2655
2659
  }
2656
- return /*#__PURE__*/react.createElement(ui_src/* Header */.h4, {
2660
+ return /*#__PURE__*/react.createElement(ui_src/* Header */.Y9, {
2657
2661
  menuOptions: menuOptions,
2658
2662
  isReturnEnabled: !!appConfig.showStudyList,
2659
2663
  onClickReturnButton: onClickReturnButton,
2660
2664
  WhiteLabeling: appConfig.whiteLabeling
2661
- }, /*#__PURE__*/react.createElement(ui_src/* ErrorBoundary */.SV, {
2665
+ }, /*#__PURE__*/react.createElement(ui_src/* ErrorBoundary */.tH, {
2662
2666
  context: "Primary Toolbar"
2663
2667
  }, /*#__PURE__*/react.createElement("div", {
2664
2668
  className: "relative flex justify-center"
@@ -2699,7 +2703,7 @@ const SidePanelWithServices = ({
2699
2703
  };
2700
2704
  }
2701
2705
  }, [tabs, hasBeenOpened, panelService]);
2702
- return /*#__PURE__*/react.createElement(ui_src/* SidePanel */.hs, {
2706
+ return /*#__PURE__*/react.createElement(ui_src/* SidePanel */.wv, {
2703
2707
  side: side,
2704
2708
  className: className,
2705
2709
  activeTabIndex: activeTabIndex,
@@ -2733,7 +2737,7 @@ function ViewerLayout({
2733
2737
  leftPanelDefaultClosed = false,
2734
2738
  rightPanelDefaultClosed = false
2735
2739
  }) {
2736
- const [appConfig] = (0,state/* useAppConfig */.M)();
2740
+ const [appConfig] = (0,state/* useAppConfig */.r)();
2737
2741
  const {
2738
2742
  hangingProtocolService
2739
2743
  } = servicesManager.services;
@@ -2785,7 +2789,7 @@ function ViewerLayout({
2785
2789
  (0,react.useEffect)(() => {
2786
2790
  const {
2787
2791
  unsubscribe
2788
- } = hangingProtocolService.subscribe(src/* HangingProtocolService */.hy.EVENTS.PROTOCOL_CHANGED,
2792
+ } = hangingProtocolService.subscribe(src/* HangingProtocolService */.Qe.EVENTS.PROTOCOL_CHANGED,
2789
2793
  // Todo: right now to set the loading indicator to false, we need to wait for the
2790
2794
  // hangingProtocolService to finish applying the viewport matching to each viewport,
2791
2795
  // however, this might not be the only approach to set the loading indicator to false. we need to explore this further.
@@ -2817,9 +2821,9 @@ function ViewerLayout({
2817
2821
  style: {
2818
2822
  height: 'calc(100vh - 52px'
2819
2823
  }
2820
- }, /*#__PURE__*/react.createElement(react.Fragment, null, showLoadingIndicator && /*#__PURE__*/react.createElement(ui_src/* LoadingIndicatorProgress */.LE, {
2824
+ }, /*#__PURE__*/react.createElement(react.Fragment, null, showLoadingIndicator && /*#__PURE__*/react.createElement(ui_src/* LoadingIndicatorProgress */.Jx, {
2821
2825
  className: "h-full w-full bg-black"
2822
- }), leftPanelComponents.length ? /*#__PURE__*/react.createElement(ui_src/* ErrorBoundary */.SV, {
2826
+ }), leftPanelComponents.length ? /*#__PURE__*/react.createElement(ui_src/* ErrorBoundary */.tH, {
2823
2827
  context: "Left Panel"
2824
2828
  }, /*#__PURE__*/react.createElement(Components_SidePanelWithServices, {
2825
2829
  side: "left",
@@ -2830,13 +2834,13 @@ function ViewerLayout({
2830
2834
  className: "flex h-full flex-1 flex-col"
2831
2835
  }, /*#__PURE__*/react.createElement("div", {
2832
2836
  className: "relative flex h-full flex-1 items-center justify-center overflow-hidden bg-black"
2833
- }, /*#__PURE__*/react.createElement(ui_src/* ErrorBoundary */.SV, {
2837
+ }, /*#__PURE__*/react.createElement(ui_src/* ErrorBoundary */.tH, {
2834
2838
  context: "Grid"
2835
2839
  }, /*#__PURE__*/react.createElement(ViewportGridComp, {
2836
2840
  servicesManager: servicesManager,
2837
2841
  viewportComponents: viewportComponents,
2838
2842
  commandsManager: commandsManager
2839
- })))), rightPanelComponents.length ? /*#__PURE__*/react.createElement(ui_src/* ErrorBoundary */.SV, {
2843
+ })))), rightPanelComponents.length ? /*#__PURE__*/react.createElement(ui_src/* ErrorBoundary */.tH, {
2840
2844
  context: "Right Panel"
2841
2845
  }, /*#__PURE__*/react.createElement(Components_SidePanelWithServices, {
2842
2846
  side: "right",
@@ -2850,8 +2854,8 @@ ViewerLayout.propTypes = {
2850
2854
  extensionManager: prop_types_default().shape({
2851
2855
  getModuleEntry: (prop_types_default()).func.isRequired
2852
2856
  }).isRequired,
2853
- commandsManager: prop_types_default().instanceOf(src/* CommandsManager */.HQ),
2854
- servicesManager: prop_types_default().instanceOf(src/* ServicesManager */.Xw),
2857
+ commandsManager: prop_types_default().instanceOf(src/* CommandsManager */.Sp),
2858
+ servicesManager: prop_types_default().instanceOf(src/* ServicesManager */.CS),
2855
2859
  // From modes
2856
2860
  leftPanels: (prop_types_default()).array,
2857
2861
  rightPanels: (prop_types_default()).array,
@@ -2921,18 +2925,18 @@ function PanelStudyBrowser({
2921
2925
  displaySetService,
2922
2926
  uiNotificationService
2923
2927
  } = servicesManager.services;
2924
- const navigate = (0,dist/* useNavigate */.s0)();
2928
+ const navigate = (0,dist/* useNavigate */.Zp)();
2925
2929
 
2926
2930
  // Normally you nest the components so the tree isn't so deep, and the data
2927
2931
  // doesn't have to have such an intense shape. This works well enough for now.
2928
2932
  // Tabs --> Studies --> DisplaySets --> Thumbnails
2929
2933
  const {
2930
2934
  StudyInstanceUIDs
2931
- } = (0,ui_src/* useImageViewer */.zG)();
2935
+ } = (0,ui_src/* useImageViewer */.Bz)();
2932
2936
  const [{
2933
2937
  activeViewportId,
2934
2938
  viewports
2935
- }, viewportGridService] = (0,ui_src/* useViewportGrid */.O_)();
2939
+ }, viewportGridService] = (0,ui_src/* useViewportGrid */.ih)();
2936
2940
  const [activeTabName, setActiveTabName] = (0,react.useState)('primary');
2937
2941
  const [expandedStudyInstanceUIDs, setExpandedStudyInstanceUIDs] = (0,react.useState)([...StudyInstanceUIDs]);
2938
2942
  const [studyDisplayList, setStudyDisplayList] = (0,react.useState)([]);
@@ -3098,7 +3102,7 @@ function PanelStudyBrowser({
3098
3102
  }
3099
3103
  }
3100
3104
  const activeDisplaySetInstanceUIDs = viewports.get(activeViewportId)?.displaySetInstanceUIDs;
3101
- return /*#__PURE__*/react.createElement(ui_src/* StudyBrowser */.eX, {
3105
+ return /*#__PURE__*/react.createElement(ui_src/* StudyBrowser */.M4, {
3102
3106
  tabs: tabs,
3103
3107
  servicesManager: servicesManager,
3104
3108
  activeTabName: activeTabName,
@@ -3339,14 +3343,14 @@ function ActionButtons({
3339
3343
  }) {
3340
3344
  const {
3341
3345
  t
3342
- } = (0,es/* useTranslation */.$G)('MeasurementTable');
3343
- return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(ui_src/* LegacyButtonGroup */.HO, {
3346
+ } = (0,es/* useTranslation */.Bd)('MeasurementTable');
3347
+ return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(ui_src/* LegacyButtonGroup */.xA, {
3344
3348
  color: "black",
3345
3349
  size: "inherit"
3346
- }, /*#__PURE__*/react.createElement(ui_src/* LegacyButton */.mN, {
3350
+ }, /*#__PURE__*/react.createElement(ui_src/* LegacyButton */._H, {
3347
3351
  className: "px-2 py-2 text-base",
3348
3352
  onClick: onExportClick
3349
- }, t('Export CSV')), /*#__PURE__*/react.createElement(ui_src/* LegacyButton */.mN, {
3353
+ }, t('Export CSV')), /*#__PURE__*/react.createElement(ui_src/* LegacyButton */._H, {
3350
3354
  className: "px-2 py-2 text-base",
3351
3355
  onClick: onCreateReportClick
3352
3356
  }, t('Create Report'))));
@@ -3361,7 +3365,7 @@ ActionButtons.defaultProps = {
3361
3365
  };
3362
3366
  /* harmony default export */ const Panels_ActionButtons = (ActionButtons);
3363
3367
  // EXTERNAL MODULE: ../../../node_modules/lodash.debounce/index.js
3364
- var lodash_debounce = __webpack_require__(8324);
3368
+ var lodash_debounce = __webpack_require__(14771);
3365
3369
  var lodash_debounce_default = /*#__PURE__*/__webpack_require__.n(lodash_debounce);
3366
3370
  ;// CONCATENATED MODULE: ../../../extensions/default/src/Panels/createReportDialogPrompt.tsx
3367
3371
 
@@ -3431,7 +3435,7 @@ function CreateReportDialogPrompt(uiDialogService, {
3431
3435
  dialogId = uiDialogService.create({
3432
3436
  centralize: true,
3433
3437
  isDraggable: false,
3434
- content: ui_src/* Dialog */.Vq,
3438
+ content: ui_src/* Dialog */.lG,
3435
3439
  useLastPosition: false,
3436
3440
  showOverlay: true,
3437
3441
  contentProps: {
@@ -3445,11 +3449,11 @@ function CreateReportDialogPrompt(uiDialogService, {
3445
3449
  actions: [{
3446
3450
  id: 'cancel',
3447
3451
  text: 'Cancel',
3448
- type: ui_src/* ButtonEnums.type */.LZ.dt.secondary
3452
+ type: ui_src/* ButtonEnums.type */.Ny.NW.secondary
3449
3453
  }, {
3450
3454
  id: 'save',
3451
3455
  text: 'Save',
3452
- type: ui_src/* ButtonEnums.type */.LZ.dt.primary
3456
+ type: ui_src/* ButtonEnums.type */.Ny.NW.primary
3453
3457
  }],
3454
3458
  // TODO: Should be on button press...
3455
3459
  onSubmit: _handleFormSubmit,
@@ -3477,7 +3481,7 @@ function CreateReportDialogPrompt(uiDialogService, {
3477
3481
  };
3478
3482
  return /*#__PURE__*/react.createElement(react.Fragment, null, dataSourcesOpts.length > 1 && window.config?.allowMultiSelectExport && /*#__PURE__*/react.createElement("div", null, /*#__PURE__*/react.createElement("label", {
3479
3483
  className: "text-[14px] leading-[1.2] text-white"
3480
- }, "Data Source"), /*#__PURE__*/react.createElement(ui_src/* Select */.Ph, {
3484
+ }, "Data Source"), /*#__PURE__*/react.createElement(ui_src/* Select */.l6, {
3481
3485
  closeMenuOnSelect: true,
3482
3486
  className: "border-primary-main mt-2 bg-black",
3483
3487
  options: dataSourcesOpts,
@@ -3492,7 +3496,7 @@ function CreateReportDialogPrompt(uiDialogService, {
3492
3496
  isClearable: false
3493
3497
  })), /*#__PURE__*/react.createElement("div", {
3494
3498
  className: "mt-3"
3495
- }, /*#__PURE__*/react.createElement(ui_src/* Input */.II, {
3499
+ }, /*#__PURE__*/react.createElement(ui_src/* Input */.pd, {
3496
3500
  autoFocus: true,
3497
3501
  label: "Enter the report name",
3498
3502
  labelClassName: "text-white text-[14px] leading-[1.2]",
@@ -3642,8 +3646,8 @@ function PanelMeasurementTable({
3642
3646
  }) {
3643
3647
  const {
3644
3648
  t
3645
- } = (0,es/* useTranslation */.$G)('MeasurementTable');
3646
- const [viewportGrid, viewportGridService] = (0,ui_src/* useViewportGrid */.O_)();
3649
+ } = (0,es/* useTranslation */.Bd)('MeasurementTable');
3650
+ const [viewportGrid, viewportGridService] = (0,ui_src/* useViewportGrid */.ih)();
3647
3651
  const {
3648
3652
  activeViewportId,
3649
3653
  viewports
@@ -3769,7 +3773,7 @@ function PanelMeasurementTable({
3769
3773
  centralize: true,
3770
3774
  isDraggable: false,
3771
3775
  showOverlay: true,
3772
- content: ui_src/* Dialog */.Vq,
3776
+ content: ui_src/* Dialog */.lG,
3773
3777
  contentProps: {
3774
3778
  title: 'Annotation',
3775
3779
  noCloseButton: true,
@@ -3797,7 +3801,7 @@ function PanelMeasurementTable({
3797
3801
  });
3798
3802
  }
3799
3803
  };
3800
- return /*#__PURE__*/react.createElement(ui_src/* Input */.II, {
3804
+ return /*#__PURE__*/react.createElement(ui_src/* Input */.pd, {
3801
3805
  label: "Enter your annotation",
3802
3806
  labelClassName: "text-white text-[14px] leading-[1.2]",
3803
3807
  autoFocus: true,
@@ -3812,11 +3816,11 @@ function PanelMeasurementTable({
3812
3816
  actions: [{
3813
3817
  id: 'cancel',
3814
3818
  text: 'Cancel',
3815
- type: ui_src/* ButtonEnums.type */.LZ.dt.secondary
3819
+ type: ui_src/* ButtonEnums.type */.Ny.NW.secondary
3816
3820
  }, {
3817
3821
  id: 'save',
3818
3822
  text: 'Save',
3819
- type: ui_src/* ButtonEnums.type */.LZ.dt.primary
3823
+ type: ui_src/* ButtonEnums.type */.Ny.NW.primary
3820
3824
  }],
3821
3825
  onSubmit: onSubmitHandler
3822
3826
  }
@@ -3837,7 +3841,7 @@ function PanelMeasurementTable({
3837
3841
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
3838
3842
  className: "ohif-scrollbar overflow-y-auto overflow-x-hidden",
3839
3843
  "data-cy": 'measurements-panel'
3840
- }, /*#__PURE__*/react.createElement(ui_src/* MeasurementTable */.wt, {
3844
+ }, /*#__PURE__*/react.createElement(ui_src/* MeasurementTable */.V, {
3841
3845
  title: t("Measurements"),
3842
3846
  servicesManager: servicesManager,
3843
3847
  data: displayMeasurements,
@@ -3852,7 +3856,7 @@ function PanelMeasurementTable({
3852
3856
  })));
3853
3857
  }
3854
3858
  PanelMeasurementTable.propTypes = {
3855
- servicesManager: prop_types_default().instanceOf(src/* ServicesManager */.Xw).isRequired
3859
+ servicesManager: prop_types_default().instanceOf(src/* ServicesManager */.CS).isRequired
3856
3860
  };
3857
3861
  function _getMappedMeasurements(measurementService) {
3858
3862
  const measurements = measurementService.getMeasurements();
@@ -3910,7 +3914,7 @@ function _mapMeasurementToDisplay(measurement, index, types) {
3910
3914
 
3911
3915
 
3912
3916
  // EXTERNAL MODULE: ../../../node_modules/i18next/dist/esm/i18next.js
3913
- var i18next = __webpack_require__(73577);
3917
+ var i18next = __webpack_require__(92344);
3914
3918
  ;// CONCATENATED MODULE: ../../../extensions/default/src/getPanelModule.tsx
3915
3919
 
3916
3920
 
@@ -3937,7 +3941,7 @@ function getPanelModule({
3937
3941
  name: 'seriesList',
3938
3942
  iconName: 'tab-studies',
3939
3943
  iconLabel: 'Studies',
3940
- label: i18next/* default */.Z.t('SidePanel:Studies'),
3944
+ label: i18next/* default */.A.t('SidePanel:Studies'),
3941
3945
  component: Panels_WrappedPanelStudyBrowser.bind(null, {
3942
3946
  commandsManager,
3943
3947
  extensionManager,
@@ -3947,28 +3951,28 @@ function getPanelModule({
3947
3951
  name: 'measure',
3948
3952
  iconName: 'tab-linear',
3949
3953
  iconLabel: 'Measure',
3950
- label: i18next/* default */.Z.t('SidePanel:Measurements'),
3951
- secondaryLabel: i18next/* default */.Z.t('SidePanel:Measurements'),
3954
+ label: i18next/* default */.A.t('SidePanel:Measurements'),
3955
+ secondaryLabel: i18next/* default */.A.t('SidePanel:Measurements'),
3952
3956
  component: wrappedMeasurementPanel
3953
3957
  }];
3954
3958
  }
3955
3959
  /* harmony default export */ const src_getPanelModule = (getPanelModule);
3956
3960
  // EXTERNAL MODULE: ../../core/src/utils/isImage.js
3957
- var isImage = __webpack_require__(11835);
3961
+ var isImage = __webpack_require__(8094);
3958
3962
  // EXTERNAL MODULE: ../../core/src/utils/sopClassDictionary.js
3959
- var sopClassDictionary = __webpack_require__(24369);
3963
+ var sopClassDictionary = __webpack_require__(48085);
3960
3964
  // EXTERNAL MODULE: ../../core/src/classes/ImageSet.ts
3961
- var ImageSet = __webpack_require__(13950);
3965
+ var ImageSet = __webpack_require__(14169);
3962
3966
  // EXTERNAL MODULE: ../../core/src/utils/isDisplaySetReconstructable.js
3963
- var isDisplaySetReconstructable = __webpack_require__(89359);
3967
+ var isDisplaySetReconstructable = __webpack_require__(13835);
3964
3968
  ;// CONCATENATED MODULE: ../../../extensions/default/package.json
3965
- const package_namespaceObject = JSON.parse('{"u2":"@ohif/extension-default"}');
3969
+ const package_namespaceObject = /*#__PURE__*/JSON.parse('{"UU":"@ohif/extension-default"}');
3966
3970
  ;// CONCATENATED MODULE: ../../../extensions/default/src/id.js
3967
3971
 
3968
- const id = package_namespaceObject.u2;
3972
+ const id = package_namespaceObject.UU;
3969
3973
 
3970
3974
  // EXTERNAL MODULE: ../../core/src/utils/sortInstancesByPosition.ts
3971
- var sortInstancesByPosition = __webpack_require__(87425);
3975
+ var sortInstancesByPosition = __webpack_require__(44563);
3972
3976
  ;// CONCATENATED MODULE: ../../../extensions/default/src/utils/validations/checkMultiframe.ts
3973
3977
 
3974
3978
 
@@ -3979,18 +3983,18 @@ var sortInstancesByPosition = __webpack_require__(87425);
3979
3983
  * @param {*} warnings
3980
3984
  */
3981
3985
  function checkMultiFrame(multiFrameInstance, messages) {
3982
- if (!(0,isDisplaySetReconstructable/* hasPixelMeasurements */.hu)(multiFrameInstance)) {
3983
- messages.addMessage(src/* DisplaySetMessage */.Lt.CODES.MULTIFRAME_NO_PIXEL_MEASUREMENTS);
3986
+ if (!(0,isDisplaySetReconstructable/* hasPixelMeasurements */.Yt)(multiFrameInstance)) {
3987
+ messages.addMessage(src/* DisplaySetMessage */.Ob.CODES.MULTIFRAME_NO_PIXEL_MEASUREMENTS);
3984
3988
  }
3985
- if (!(0,isDisplaySetReconstructable/* hasOrientation */.sb)(multiFrameInstance)) {
3986
- messages.addMessage(src/* DisplaySetMessage */.Lt.CODES.MULTIFRAME_NO_ORIENTATION);
3989
+ if (!(0,isDisplaySetReconstructable/* hasOrientation */.VX)(multiFrameInstance)) {
3990
+ messages.addMessage(src/* DisplaySetMessage */.Ob.CODES.MULTIFRAME_NO_ORIENTATION);
3987
3991
  }
3988
- if (!(0,isDisplaySetReconstructable/* hasPosition */.kN)(multiFrameInstance)) {
3989
- messages.addMessage(src/* DisplaySetMessage */.Lt.CODES.MULTIFRAME_NO_POSITION_INFORMATION);
3992
+ if (!(0,isDisplaySetReconstructable/* hasPosition */.sL)(multiFrameInstance)) {
3993
+ messages.addMessage(src/* DisplaySetMessage */.Ob.CODES.MULTIFRAME_NO_POSITION_INFORMATION);
3990
3994
  }
3991
3995
  }
3992
3996
  // EXTERNAL MODULE: ../../core/src/utils/toNumber.js
3993
- var toNumber = __webpack_require__(94972);
3997
+ var toNumber = __webpack_require__(58099);
3994
3998
  ;// CONCATENATED MODULE: ../../../extensions/default/src/utils/validations/areAllImageDimensionsEqual.ts
3995
3999
 
3996
4000
 
@@ -4004,8 +4008,8 @@ function areAllImageDimensionsEqual(instances) {
4004
4008
  return false;
4005
4009
  }
4006
4010
  const firstImage = instances[0];
4007
- const firstImageRows = (0,toNumber/* default */.Z)(firstImage.Rows);
4008
- const firstImageColumns = (0,toNumber/* default */.Z)(firstImage.Columns);
4011
+ const firstImageRows = (0,toNumber/* default */.A)(firstImage.Rows);
4012
+ const firstImageColumns = (0,toNumber/* default */.A)(firstImage.Columns);
4009
4013
  for (let i = 1; i < instances.length; i++) {
4010
4014
  const instance = instances[i];
4011
4015
  const {
@@ -4031,7 +4035,7 @@ function areAllImageComponentsEqual(instances) {
4031
4035
  return false;
4032
4036
  }
4033
4037
  const firstImage = instances[0];
4034
- const firstImageSamplesPerPixel = (0,toNumber/* default */.Z)(firstImage.SamplesPerPixel);
4038
+ const firstImageSamplesPerPixel = (0,toNumber/* default */.A)(firstImage.SamplesPerPixel);
4035
4039
  for (let i = 1; i < instances.length; i++) {
4036
4040
  const instance = instances[i];
4037
4041
  const {
@@ -4057,18 +4061,18 @@ function areAllImageOrientationsEqual(instances) {
4057
4061
  return false;
4058
4062
  }
4059
4063
  const firstImage = instances[0];
4060
- const firstImageOrientationPatient = (0,toNumber/* default */.Z)(firstImage.ImageOrientationPatient);
4064
+ const firstImageOrientationPatient = (0,toNumber/* default */.A)(firstImage.ImageOrientationPatient);
4061
4065
  for (let i = 1; i < instances.length; i++) {
4062
4066
  const instance = instances[i];
4063
- const imageOrientationPatient = (0,toNumber/* default */.Z)(instance.ImageOrientationPatient);
4064
- if (!(0,isDisplaySetReconstructable/* _isSameOrientation */.NB)(imageOrientationPatient, firstImageOrientationPatient)) {
4067
+ const imageOrientationPatient = (0,toNumber/* default */.A)(instance.ImageOrientationPatient);
4068
+ if (!(0,isDisplaySetReconstructable/* _isSameOrientation */.sW)(imageOrientationPatient, firstImageOrientationPatient)) {
4065
4069
  return false;
4066
4070
  }
4067
4071
  }
4068
4072
  return true;
4069
4073
  }
4070
- // EXTERNAL MODULE: ../../../node_modules/gl-matrix/esm/index.js + 10 modules
4071
- var esm = __webpack_require__(45451);
4074
+ // EXTERNAL MODULE: ../../../node_modules/gl-matrix/esm/index.js
4075
+ var esm = __webpack_require__(84822);
4072
4076
  ;// CONCATENATED MODULE: ../../../extensions/default/src/utils/calculateScanAxisNormal.ts
4073
4077
 
4074
4078
 
@@ -4078,9 +4082,9 @@ var esm = __webpack_require__(45451);
4078
4082
  * @returns
4079
4083
  */
4080
4084
  function calculateScanAxisNormal(imageOrientation) {
4081
- const rowCosineVec = esm/* vec3.fromValues */.R3.fromValues(imageOrientation[0], imageOrientation[1], imageOrientation[2]);
4082
- const colCosineVec = esm/* vec3.fromValues */.R3.fromValues(imageOrientation[3], imageOrientation[4], imageOrientation[5]);
4083
- return esm/* vec3.cross */.R3.cross(esm/* vec3.create */.R3.create(), rowCosineVec, colCosineVec);
4085
+ const rowCosineVec = esm/* vec3.fromValues */.eR.fromValues(imageOrientation[0], imageOrientation[1], imageOrientation[2]);
4086
+ const colCosineVec = esm/* vec3.fromValues */.eR.fromValues(imageOrientation[3], imageOrientation[4], imageOrientation[5]);
4087
+ return esm/* vec3.cross */.eR.cross(esm/* vec3.create */.eR.create(), rowCosineVec, colCosineVec);
4084
4088
  }
4085
4089
  ;// CONCATENATED MODULE: ../../../extensions/default/src/utils/validations/areAllImagePositionsEqual.ts
4086
4090
 
@@ -4099,8 +4103,8 @@ function calculateScanAxisNormal(imageOrientation) {
4099
4103
  function _checkSeriesPositionShift(previousPosition, actualPosition, scanAxisNormal, averageSpacingBetweenFrames) {
4100
4104
  // predicted position should be the previous position added by the multiplication
4101
4105
  // of the scanAxisNormal and the average spacing between frames
4102
- const predictedPosition = esm/* vec3.scaleAndAdd */.R3.scaleAndAdd(esm/* vec3.create */.R3.create(), previousPosition, scanAxisNormal, averageSpacingBetweenFrames);
4103
- return esm/* vec3.distance */.R3.distance(actualPosition, predictedPosition) > averageSpacingBetweenFrames;
4106
+ const predictedPosition = esm/* vec3.scaleAndAdd */.eR.scaleAndAdd(esm/* vec3.create */.eR.create(), previousPosition, scanAxisNormal, averageSpacingBetweenFrames);
4107
+ return esm/* vec3.distance */.eR.distance(actualPosition, predictedPosition) > averageSpacingBetweenFrames;
4104
4108
  }
4105
4109
 
4106
4110
  /**
@@ -4112,18 +4116,18 @@ function areAllImagePositionsEqual(instances) {
4112
4116
  if (!instances?.length) {
4113
4117
  return false;
4114
4118
  }
4115
- const firstImageOrientationPatient = (0,toNumber/* default */.Z)(instances[0].ImageOrientationPatient);
4119
+ const firstImageOrientationPatient = (0,toNumber/* default */.A)(instances[0].ImageOrientationPatient);
4116
4120
  if (!firstImageOrientationPatient) {
4117
4121
  return false;
4118
4122
  }
4119
4123
  const scanAxisNormal = calculateScanAxisNormal(firstImageOrientationPatient);
4120
- const firstImagePositionPatient = (0,toNumber/* default */.Z)(instances[0].ImagePositionPatient);
4121
- const lastIpp = (0,toNumber/* default */.Z)(instances[instances.length - 1].ImagePositionPatient);
4122
- const averageSpacingBetweenFrames = (0,isDisplaySetReconstructable/* _getPerpendicularDistance */.Xn)(firstImagePositionPatient, lastIpp) / (instances.length - 1);
4124
+ const firstImagePositionPatient = (0,toNumber/* default */.A)(instances[0].ImagePositionPatient);
4125
+ const lastIpp = (0,toNumber/* default */.A)(instances[instances.length - 1].ImagePositionPatient);
4126
+ const averageSpacingBetweenFrames = (0,isDisplaySetReconstructable/* _getPerpendicularDistance */.jj)(firstImagePositionPatient, lastIpp) / (instances.length - 1);
4123
4127
  let previousImagePositionPatient = firstImagePositionPatient;
4124
4128
  for (let i = 1; i < instances.length; i++) {
4125
4129
  const instance = instances[i];
4126
- const imagePositionPatient = (0,toNumber/* default */.Z)(instance.ImagePositionPatient);
4130
+ const imagePositionPatient = (0,toNumber/* default */.A)(instance.ImagePositionPatient);
4127
4131
  if (_checkSeriesPositionShift(previousImagePositionPatient, imagePositionPatient, scanAxisNormal, averageSpacingBetweenFrames)) {
4128
4132
  return false;
4129
4133
  }
@@ -4144,29 +4148,29 @@ function areAllImageSpacingEqual(instances, messages) {
4144
4148
  if (!instances?.length) {
4145
4149
  return;
4146
4150
  }
4147
- const firstImagePositionPatient = (0,toNumber/* default */.Z)(instances[0].ImagePositionPatient);
4151
+ const firstImagePositionPatient = (0,toNumber/* default */.A)(instances[0].ImagePositionPatient);
4148
4152
  if (!firstImagePositionPatient) {
4149
4153
  return;
4150
4154
  }
4151
- const lastIpp = (0,toNumber/* default */.Z)(instances[instances.length - 1].ImagePositionPatient);
4152
- const averageSpacingBetweenFrames = (0,isDisplaySetReconstructable/* _getPerpendicularDistance */.Xn)(firstImagePositionPatient, lastIpp) / (instances.length - 1);
4155
+ const lastIpp = (0,toNumber/* default */.A)(instances[instances.length - 1].ImagePositionPatient);
4156
+ const averageSpacingBetweenFrames = (0,isDisplaySetReconstructable/* _getPerpendicularDistance */.jj)(firstImagePositionPatient, lastIpp) / (instances.length - 1);
4153
4157
  let previousImagePositionPatient = firstImagePositionPatient;
4154
4158
  const issuesFound = [];
4155
4159
  for (let i = 1; i < instances.length; i++) {
4156
4160
  const instance = instances[i];
4157
- const imagePositionPatient = (0,toNumber/* default */.Z)(instance.ImagePositionPatient);
4158
- const spacingBetweenFrames = (0,isDisplaySetReconstructable/* _getPerpendicularDistance */.Xn)(imagePositionPatient, previousImagePositionPatient);
4159
- const spacingIssue = (0,isDisplaySetReconstructable/* _getSpacingIssue */.bg)(spacingBetweenFrames, averageSpacingBetweenFrames);
4161
+ const imagePositionPatient = (0,toNumber/* default */.A)(instance.ImagePositionPatient);
4162
+ const spacingBetweenFrames = (0,isDisplaySetReconstructable/* _getPerpendicularDistance */.jj)(imagePositionPatient, previousImagePositionPatient);
4163
+ const spacingIssue = (0,isDisplaySetReconstructable/* _getSpacingIssue */.Op)(spacingBetweenFrames, averageSpacingBetweenFrames);
4160
4164
  if (spacingIssue) {
4161
4165
  const issue = spacingIssue.issue;
4162
4166
 
4163
4167
  // avoid multiple warning of the same thing
4164
4168
  if (!issuesFound.includes(issue)) {
4165
4169
  issuesFound.push(issue);
4166
- if (issue === isDisplaySetReconstructable/* reconstructionIssues */.e1.MISSING_FRAMES) {
4167
- messages.addMessage(src/* DisplaySetMessage */.Lt.CODES.MISSING_FRAMES);
4168
- } else if (issue === isDisplaySetReconstructable/* reconstructionIssues */.e1.IRREGULAR_SPACING) {
4169
- messages.addMessage(src/* DisplaySetMessage */.Lt.CODES.IRREGULAR_SPACING);
4170
+ if (issue === isDisplaySetReconstructable/* reconstructionIssues */.JG.MISSING_FRAMES) {
4171
+ messages.addMessage(src/* DisplaySetMessage */.Ob.CODES.MISSING_FRAMES);
4172
+ } else if (issue === isDisplaySetReconstructable/* reconstructionIssues */.JG.IRREGULAR_SPACING) {
4173
+ messages.addMessage(src/* DisplaySetMessage */.Ob.CODES.IRREGULAR_SPACING);
4170
4174
  }
4171
4175
  }
4172
4176
  // we just want to find issues not how many
@@ -4193,16 +4197,16 @@ function areAllImageSpacingEqual(instances, messages) {
4193
4197
  function checkSingleFrames(instances, messages) {
4194
4198
  if (instances.length > 2) {
4195
4199
  if (!areAllImageDimensionsEqual(instances)) {
4196
- messages.addMessage(src/* DisplaySetMessage */.Lt.CODES.INCONSISTENT_DIMENSIONS);
4200
+ messages.addMessage(src/* DisplaySetMessage */.Ob.CODES.INCONSISTENT_DIMENSIONS);
4197
4201
  }
4198
4202
  if (!areAllImageComponentsEqual(instances)) {
4199
- messages.addMessage(src/* DisplaySetMessage */.Lt.CODES.INCONSISTENT_COMPONENTS);
4203
+ messages.addMessage(src/* DisplaySetMessage */.Ob.CODES.INCONSISTENT_COMPONENTS);
4200
4204
  }
4201
4205
  if (!areAllImageOrientationsEqual(instances)) {
4202
- messages.addMessage(src/* DisplaySetMessage */.Lt.CODES.INCONSISTENT_ORIENTATIONS);
4206
+ messages.addMessage(src/* DisplaySetMessage */.Ob.CODES.INCONSISTENT_ORIENTATIONS);
4203
4207
  }
4204
4208
  if (!areAllImagePositionsEqual(instances)) {
4205
- messages.addMessage(src/* DisplaySetMessage */.Lt.CODES.INCONSISTENT_POSITION_INFORMATION);
4209
+ messages.addMessage(src/* DisplaySetMessage */.Ob.CODES.INCONSISTENT_POSITION_INFORMATION);
4206
4210
  }
4207
4211
  areAllImageSpacingEqual(instances, messages);
4208
4212
  }
@@ -4219,9 +4223,9 @@ function checkSingleFrames(instances, messages) {
4219
4223
  * @param {Object[]} instances An array of `OHIFInstanceMetadata` objects.
4220
4224
  */
4221
4225
  function getDisplaySetMessages(instances, isReconstructable) {
4222
- const messages = new src/* DisplaySetMessageList */.iK();
4226
+ const messages = new src/* DisplaySetMessageList */.WZ();
4223
4227
  if (!instances.length) {
4224
- messages.addMessage(src/* DisplaySetMessage */.Lt.CODES.NO_VALID_INSTANCES);
4228
+ messages.addMessage(src/* DisplaySetMessage */.Ob.CODES.NO_VALID_INSTANCES);
4225
4229
  return;
4226
4230
  }
4227
4231
  const firstInstance = instances[0];
@@ -4234,18 +4238,18 @@ function getDisplaySetMessages(instances, isReconstructable) {
4234
4238
  if (ImageType?.includes('LOCALIZER')) {
4235
4239
  return messages;
4236
4240
  }
4237
- if (!isDisplaySetReconstructable/* constructableModalities */.M6.includes(Modality)) {
4241
+ if (!isDisplaySetReconstructable/* constructableModalities */.Hf.includes(Modality)) {
4238
4242
  return messages;
4239
4243
  }
4240
4244
  const isMultiframe = NumberOfFrames > 1;
4241
4245
  // Can't reconstruct if all instances don't have the ImagePositionPatient.
4242
4246
  if (!isMultiframe && !instances.every(instance => instance.ImagePositionPatient)) {
4243
- messages.addMessage(src/* DisplaySetMessage */.Lt.CODES.NO_POSITION_INFORMATION);
4247
+ messages.addMessage(src/* DisplaySetMessage */.Ob.CODES.NO_POSITION_INFORMATION);
4244
4248
  }
4245
- const sortedInstances = (0,sortInstancesByPosition/* default */.Z)(instances);
4249
+ const sortedInstances = (0,sortInstancesByPosition/* default */.A)(instances);
4246
4250
  isMultiframe ? checkMultiFrame(sortedInstances[0], messages) : checkSingleFrames(sortedInstances, messages);
4247
4251
  if (!isReconstructable) {
4248
- messages.addMessage(src/* DisplaySetMessage */.Lt.CODES.NOT_RECONSTRUCTABLE);
4252
+ messages.addMessage(src/* DisplaySetMessage */.Ob.CODES.NOT_RECONSTRUCTABLE);
4249
4253
  }
4250
4254
  return messages;
4251
4255
  }
@@ -4256,9 +4260,9 @@ function getDisplaySetMessages(instances, isReconstructable) {
4256
4260
  * Default handler for a instance list with an unsupported sopClassUID
4257
4261
  */
4258
4262
  function getDisplaySetsFromUnsupportedSeries(instances) {
4259
- const imageSet = new ImageSet/* default */.Z(instances);
4260
- const messages = new src/* DisplaySetMessageList */.iK();
4261
- messages.addMessage(src/* DisplaySetMessage */.Lt.CODES.UNSUPPORTED_DISPLAYSET);
4263
+ const imageSet = new ImageSet/* default */.A(instances);
4264
+ const messages = new src/* DisplaySetMessageList */.WZ();
4265
+ messages.addMessage(src/* DisplaySetMessage */.Ob.CODES.UNSUPPORTED_DISPLAYSET);
4262
4266
  const instance = instances[0];
4263
4267
  imageSet.setAttributes({
4264
4268
  displaySetInstanceUID: imageSet.uid,
@@ -4294,11 +4298,11 @@ const isMultiFrame = instance => {
4294
4298
  };
4295
4299
  const makeDisplaySet = instances => {
4296
4300
  const instance = instances[0];
4297
- const imageSet = new ImageSet/* default */.Z(instances);
4301
+ const imageSet = new ImageSet/* default */.A(instances);
4298
4302
  const {
4299
4303
  value: isReconstructable,
4300
4304
  averageSpacingBetweenFrames
4301
- } = (0,isDisplaySetReconstructable/* default */.ZP)(instances);
4305
+ } = (0,isDisplaySetReconstructable/* default */.Ay)(instances);
4302
4306
  // set appropriate attributes to image set...
4303
4307
  const messages = getDisplaySetMessages(instances, isReconstructable);
4304
4308
  imageSet.setAttributes({
@@ -4383,7 +4387,7 @@ function getDisplaySetsFromSeries(instances) {
4383
4387
  const stackableInstances = [];
4384
4388
  instances.forEach(instance => {
4385
4389
  // All imaging modalities must have a valid value for sopClassUid (x00080016) or rows (x00280010)
4386
- if (!(0,isImage/* isImage */.O)(instance.SOPClassUID) && !instance.Rows) {
4390
+ if (!(0,isImage/* isImage */.w)(instance.SOPClassUID) && !instance.Rows) {
4387
4391
  return;
4388
4392
  }
4389
4393
  let displaySet;
@@ -4419,7 +4423,7 @@ function getDisplaySetsFromSeries(instances) {
4419
4423
  }
4420
4424
  return displaySets;
4421
4425
  }
4422
- const sopClassUids = [sopClassDictionary/* default */.Z.ComputedRadiographyImageStorage, sopClassDictionary/* default */.Z.DigitalXRayImageStorageForPresentation, sopClassDictionary/* default */.Z.DigitalXRayImageStorageForProcessing, sopClassDictionary/* default */.Z.DigitalMammographyXRayImageStorageForPresentation, sopClassDictionary/* default */.Z.DigitalMammographyXRayImageStorageForProcessing, sopClassDictionary/* default */.Z.DigitalIntraOralXRayImageStorageForPresentation, sopClassDictionary/* default */.Z.DigitalIntraOralXRayImageStorageForProcessing, sopClassDictionary/* default */.Z.CTImageStorage, sopClassDictionary/* default */.Z.EnhancedCTImageStorage, sopClassDictionary/* default */.Z.LegacyConvertedEnhancedCTImageStorage, sopClassDictionary/* default */.Z.UltrasoundMultiframeImageStorage, sopClassDictionary/* default */.Z.MRImageStorage, sopClassDictionary/* default */.Z.EnhancedMRImageStorage, sopClassDictionary/* default */.Z.EnhancedMRColorImageStorage, sopClassDictionary/* default */.Z.LegacyConvertedEnhancedMRImageStorage, sopClassDictionary/* default */.Z.UltrasoundImageStorage, sopClassDictionary/* default */.Z.UltrasoundImageStorageRET, sopClassDictionary/* default */.Z.SecondaryCaptureImageStorage, sopClassDictionary/* default */.Z.MultiframeSingleBitSecondaryCaptureImageStorage, sopClassDictionary/* default */.Z.MultiframeGrayscaleByteSecondaryCaptureImageStorage, sopClassDictionary/* default */.Z.MultiframeGrayscaleWordSecondaryCaptureImageStorage, sopClassDictionary/* default */.Z.MultiframeTrueColorSecondaryCaptureImageStorage, sopClassDictionary/* default */.Z.XRayAngiographicImageStorage, sopClassDictionary/* default */.Z.EnhancedXAImageStorage, sopClassDictionary/* default */.Z.XRayRadiofluoroscopicImageStorage, sopClassDictionary/* default */.Z.EnhancedXRFImageStorage, sopClassDictionary/* default */.Z.XRay3DAngiographicImageStorage, sopClassDictionary/* default */.Z.XRay3DCraniofacialImageStorage, sopClassDictionary/* default */.Z.BreastTomosynthesisImageStorage, sopClassDictionary/* default */.Z.BreastProjectionXRayImageStorageForPresentation, sopClassDictionary/* default */.Z.BreastProjectionXRayImageStorageForProcessing, sopClassDictionary/* default */.Z.IntravascularOpticalCoherenceTomographyImageStorageForPresentation, sopClassDictionary/* default */.Z.IntravascularOpticalCoherenceTomographyImageStorageForProcessing, sopClassDictionary/* default */.Z.NuclearMedicineImageStorage, sopClassDictionary/* default */.Z.VLEndoscopicImageStorage, sopClassDictionary/* default */.Z.VideoEndoscopicImageStorage, sopClassDictionary/* default */.Z.VLMicroscopicImageStorage, sopClassDictionary/* default */.Z.VideoMicroscopicImageStorage, sopClassDictionary/* default */.Z.VLSlideCoordinatesMicroscopicImageStorage, sopClassDictionary/* default */.Z.VLPhotographicImageStorage, sopClassDictionary/* default */.Z.VideoPhotographicImageStorage, sopClassDictionary/* default */.Z.OphthalmicPhotography8BitImageStorage, sopClassDictionary/* default */.Z.OphthalmicPhotography16BitImageStorage, sopClassDictionary/* default */.Z.OphthalmicTomographyImageStorage, sopClassDictionary/* default */.Z.VLWholeSlideMicroscopyImageStorage, sopClassDictionary/* default */.Z.PositronEmissionTomographyImageStorage, sopClassDictionary/* default */.Z.EnhancedPETImageStorage, sopClassDictionary/* default */.Z.LegacyConvertedEnhancedPETImageStorage, sopClassDictionary/* default */.Z.RTImageStorage, sopClassDictionary/* default */.Z.EnhancedUSVolumeStorage];
4426
+ const sopClassUids = [sopClassDictionary/* default */.A.ComputedRadiographyImageStorage, sopClassDictionary/* default */.A.DigitalXRayImageStorageForPresentation, sopClassDictionary/* default */.A.DigitalXRayImageStorageForProcessing, sopClassDictionary/* default */.A.DigitalMammographyXRayImageStorageForPresentation, sopClassDictionary/* default */.A.DigitalMammographyXRayImageStorageForProcessing, sopClassDictionary/* default */.A.DigitalIntraOralXRayImageStorageForPresentation, sopClassDictionary/* default */.A.DigitalIntraOralXRayImageStorageForProcessing, sopClassDictionary/* default */.A.CTImageStorage, sopClassDictionary/* default */.A.EnhancedCTImageStorage, sopClassDictionary/* default */.A.LegacyConvertedEnhancedCTImageStorage, sopClassDictionary/* default */.A.UltrasoundMultiframeImageStorage, sopClassDictionary/* default */.A.MRImageStorage, sopClassDictionary/* default */.A.EnhancedMRImageStorage, sopClassDictionary/* default */.A.EnhancedMRColorImageStorage, sopClassDictionary/* default */.A.LegacyConvertedEnhancedMRImageStorage, sopClassDictionary/* default */.A.UltrasoundImageStorage, sopClassDictionary/* default */.A.UltrasoundImageStorageRET, sopClassDictionary/* default */.A.SecondaryCaptureImageStorage, sopClassDictionary/* default */.A.MultiframeSingleBitSecondaryCaptureImageStorage, sopClassDictionary/* default */.A.MultiframeGrayscaleByteSecondaryCaptureImageStorage, sopClassDictionary/* default */.A.MultiframeGrayscaleWordSecondaryCaptureImageStorage, sopClassDictionary/* default */.A.MultiframeTrueColorSecondaryCaptureImageStorage, sopClassDictionary/* default */.A.XRayAngiographicImageStorage, sopClassDictionary/* default */.A.EnhancedXAImageStorage, sopClassDictionary/* default */.A.XRayRadiofluoroscopicImageStorage, sopClassDictionary/* default */.A.EnhancedXRFImageStorage, sopClassDictionary/* default */.A.XRay3DAngiographicImageStorage, sopClassDictionary/* default */.A.XRay3DCraniofacialImageStorage, sopClassDictionary/* default */.A.BreastTomosynthesisImageStorage, sopClassDictionary/* default */.A.BreastProjectionXRayImageStorageForPresentation, sopClassDictionary/* default */.A.BreastProjectionXRayImageStorageForProcessing, sopClassDictionary/* default */.A.IntravascularOpticalCoherenceTomographyImageStorageForPresentation, sopClassDictionary/* default */.A.IntravascularOpticalCoherenceTomographyImageStorageForProcessing, sopClassDictionary/* default */.A.NuclearMedicineImageStorage, sopClassDictionary/* default */.A.VLEndoscopicImageStorage, sopClassDictionary/* default */.A.VideoEndoscopicImageStorage, sopClassDictionary/* default */.A.VLMicroscopicImageStorage, sopClassDictionary/* default */.A.VideoMicroscopicImageStorage, sopClassDictionary/* default */.A.VLSlideCoordinatesMicroscopicImageStorage, sopClassDictionary/* default */.A.VLPhotographicImageStorage, sopClassDictionary/* default */.A.VideoPhotographicImageStorage, sopClassDictionary/* default */.A.OphthalmicPhotography8BitImageStorage, sopClassDictionary/* default */.A.OphthalmicPhotography16BitImageStorage, sopClassDictionary/* default */.A.OphthalmicTomographyImageStorage, sopClassDictionary/* default */.A.VLWholeSlideMicroscopyImageStorage, sopClassDictionary/* default */.A.PositronEmissionTomographyImageStorage, sopClassDictionary/* default */.A.EnhancedPETImageStorage, sopClassDictionary/* default */.A.LegacyConvertedEnhancedPETImageStorage, sopClassDictionary/* default */.A.RTImageStorage, sopClassDictionary/* default */.A.EnhancedUSVolumeStorage];
4423
4427
  function getSopClassHandlerModule() {
4424
4428
  return [{
4425
4429
  name: sopClassHandlerName,
@@ -4488,8 +4492,8 @@ function LayoutSelector({
4488
4492
  };
4489
4493
  }, [isOpen]);
4490
4494
  const onInteractionHandler = () => setIsOpen(!isOpen);
4491
- const DropdownContent = isOpen ? ui_src/* LayoutSelector */.OF : null;
4492
- return /*#__PURE__*/react.createElement(ui_src/* ToolbarButton */.hA, {
4495
+ const DropdownContent = isOpen ? ui_src/* LayoutSelector */.sG : null;
4496
+ return /*#__PURE__*/react.createElement(ui_src/* ToolbarButton */.IB, {
4493
4497
  id: "Layout",
4494
4498
  label: "Grid Layout",
4495
4499
  icon: "tool-layout",
@@ -4509,7 +4513,7 @@ LayoutSelector.propTypes = {
4509
4513
  rows: (prop_types_default()).number,
4510
4514
  columns: (prop_types_default()).number,
4511
4515
  onLayoutChange: (prop_types_default()).func,
4512
- servicesManager: prop_types_default().instanceOf(src/* ServicesManager */.Xw)
4516
+ servicesManager: prop_types_default().instanceOf(src/* ServicesManager */.CS)
4513
4517
  };
4514
4518
  LayoutSelector.defaultProps = {
4515
4519
  rows: 3,
@@ -4581,7 +4585,7 @@ function ToolbarSplitButtonWithServices({
4581
4585
  } = buttonsState;
4582
4586
  const isPrimaryToggle = state.primary.type === 'toggle';
4583
4587
  const isPrimaryActive = state.primary.type === 'tool' && primaryToolId === state.primary.id || isPrimaryToggle && toggles[state.primary.id] === true;
4584
- const PrimaryButtonComponent = toolbarService?.getButtonComponentForUIType(state.primary.uiType) ?? ui_src/* ToolbarButton */.hA;
4588
+ const PrimaryButtonComponent = toolbarService?.getButtonComponentForUIType(state.primary.uiType) ?? ui_src/* ToolbarButton */.IB;
4585
4589
  (0,react.useEffect)(() => {
4586
4590
  const {
4587
4591
  unsubscribe
@@ -4618,7 +4622,7 @@ function ToolbarSplitButtonWithServices({
4618
4622
  className: classnames_default()('hover:bg-primary-dark flex h-8 w-full flex-row items-center p-3', 'whitespace-pre text-base', isActive && 'bg-primary-dark', isActive ? 'text-[#348CFD]' : 'text-common-bright hover:bg-primary-dark hover:text-primary-light')
4619
4623
  }, icon && /*#__PURE__*/react.createElement("span", {
4620
4624
  className: "mr-4"
4621
- }, /*#__PURE__*/react.createElement(ui_src/* Icon */.JO, {
4625
+ }, /*#__PURE__*/react.createElement(ui_src/* Icon */.In, {
4622
4626
  name: icon,
4623
4627
  className: "h-5 w-5"
4624
4628
  })), /*#__PURE__*/react.createElement("span", {
@@ -4626,7 +4630,7 @@ function ToolbarSplitButtonWithServices({
4626
4630
  }, t(label)));
4627
4631
  };
4628
4632
  const listItemRenderer = renderer || DefaultListItemRenderer;
4629
- return /*#__PURE__*/react.createElement(ui_src/* SplitButton */.aW, {
4633
+ return /*#__PURE__*/react.createElement(ui_src/* SplitButton */.fk, {
4630
4634
  isRadio: isRadio,
4631
4635
  isAction: isAction,
4632
4636
  primary: state.primary,
@@ -4715,7 +4719,7 @@ function ToolbarButtonWithServices({
4715
4719
  unsubscribe();
4716
4720
  };
4717
4721
  }, [toolbarService]);
4718
- return /*#__PURE__*/react.createElement(ui_src/* ToolbarButton */.hA, ToolbarButtonWithServices_extends({
4722
+ return /*#__PURE__*/react.createElement(ui_src/* ToolbarButton */.IB, ToolbarButtonWithServices_extends({
4719
4723
  commands: commands,
4720
4724
  id: id,
4721
4725
  type: type,
@@ -4946,9 +4950,9 @@ function adaptItem(item, subProps) {
4946
4950
  return newItem;
4947
4951
  }
4948
4952
  // EXTERNAL MODULE: ../../ui/src/components/ContextMenu/ContextMenu.tsx
4949
- var ContextMenu = __webpack_require__(5638);
4950
- // EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/index.js + 454 modules
4951
- var dist_esm = __webpack_require__(76634);
4953
+ var ContextMenu = __webpack_require__(59852);
4954
+ // EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/index.js
4955
+ var dist_esm = __webpack_require__(39371);
4952
4956
  ;// CONCATENATED MODULE: ../../../extensions/default/src/CustomizableContextMenu/ContextMenuController.tsx
4953
4957
  var _class;
4954
4958
 
@@ -5020,7 +5024,7 @@ class ContextMenuController {
5020
5024
  preventCutOf: true,
5021
5025
  defaultPosition: ContextMenuController._getDefaultPosition(defaultPointsPosition, event?.detail, viewportElement),
5022
5026
  event,
5023
- content: ContextMenu/* default */.Z,
5027
+ content: ContextMenu/* default */.A,
5024
5028
  // This naming is part of the uiDialogService convention
5025
5029
  // Clicking outside simply closes the dialog box.
5026
5030
  onClickOutside: () => this.services.uiDialogService.dismiss({
@@ -5165,10 +5169,10 @@ const defaultContextMenu = {
5165
5169
 
5166
5170
 
5167
5171
  // EXTERNAL MODULE: ../../../node_modules/moment/moment.js
5168
- var moment = __webpack_require__(71271);
5172
+ var moment = __webpack_require__(8291);
5169
5173
  var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
5170
5174
  // EXTERNAL MODULE: ../../../node_modules/react-window/dist/index.esm.js
5171
- var index_esm = __webpack_require__(94614);
5175
+ var index_esm = __webpack_require__(6943);
5172
5176
  ;// CONCATENATED MODULE: ../../../extensions/default/src/DicomTagBrowser/DicomTagTable.tsx
5173
5177
 
5174
5178
 
@@ -5341,7 +5345,7 @@ function DicomTagTable({
5341
5345
  style: {
5342
5346
  height: '32rem'
5343
5347
  }
5344
- }, isHeaderRendered() && /*#__PURE__*/react.createElement(index_esm/* VariableSizeList */.S_, {
5348
+ }, isHeaderRendered() && /*#__PURE__*/react.createElement(index_esm/* VariableSizeList */._m, {
5345
5349
  ref: listRef,
5346
5350
  height: 500,
5347
5351
  itemCount: rows.length,
@@ -5368,7 +5372,7 @@ const {
5368
5372
  } = src.classes;
5369
5373
  const {
5370
5374
  DicomMetaDictionary: DicomTagBrowser_DicomMetaDictionary
5371
- } = dcmjs_es["default"].data;
5375
+ } = dcmjs_es/* default.data */.Ay.data;
5372
5376
  const {
5373
5377
  nameMap
5374
5378
  } = DicomTagBrowser_DicomMetaDictionary;
@@ -5458,12 +5462,12 @@ const DicomTagBrowser = ({
5458
5462
  className: "mb-6 flex flex-row items-center pl-1"
5459
5463
  }, /*#__PURE__*/react.createElement("div", {
5460
5464
  className: "flex w-1/2 flex-row items-center"
5461
- }, /*#__PURE__*/react.createElement(ui_src/* Typography */.ZT, {
5465
+ }, /*#__PURE__*/react.createElement(ui_src/* Typography */.o5, {
5462
5466
  variant: "subtitle",
5463
5467
  className: "mr-4"
5464
5468
  }, "Series"), /*#__PURE__*/react.createElement("div", {
5465
5469
  className: "mr-8 grow"
5466
- }, /*#__PURE__*/react.createElement(ui_src/* Select */.Ph, {
5470
+ }, /*#__PURE__*/react.createElement(ui_src/* Select */.l6, {
5467
5471
  id: "display-set-selector",
5468
5472
  isClearable: false,
5469
5473
  onChange: onSelectChange,
@@ -5472,12 +5476,12 @@ const DicomTagBrowser = ({
5472
5476
  className: "text-white"
5473
5477
  }))), /*#__PURE__*/react.createElement("div", {
5474
5478
  className: "flex w-1/2 flex-row items-center"
5475
- }, showInstanceList && /*#__PURE__*/react.createElement(ui_src/* Typography */.ZT, {
5479
+ }, showInstanceList && /*#__PURE__*/react.createElement(ui_src/* Typography */.o5, {
5476
5480
  variant: "subtitle",
5477
5481
  className: "mr-4"
5478
5482
  }, "Instance Number"), showInstanceList && /*#__PURE__*/react.createElement("div", {
5479
5483
  className: "grow"
5480
- }, /*#__PURE__*/react.createElement(ui_src/* InputRange */.OX, {
5484
+ }, /*#__PURE__*/react.createElement(ui_src/* InputRange */.Qr, {
5481
5485
  value: instanceNumber,
5482
5486
  key: selectedDisplaySetInstanceUID,
5483
5487
  onChange: value => {
@@ -5493,7 +5497,7 @@ const DicomTagBrowser = ({
5493
5497
  className: "h-1 w-full bg-black"
5494
5498
  }), /*#__PURE__*/react.createElement("div", {
5495
5499
  className: "my-3 flex w-1/2 flex-row"
5496
- }, /*#__PURE__*/react.createElement(ui_src/* InputFilterText */.Xe, {
5500
+ }, /*#__PURE__*/react.createElement(ui_src/* InputFilterText */.Cv, {
5497
5501
  className: "mr-8 block w-full",
5498
5502
  placeholder: "Search metadata...",
5499
5503
  onDebounceChange: setFilterValue
@@ -5517,7 +5521,7 @@ function getFormattedRowsFromTags(tags, metadata) {
5517
5521
  } else {
5518
5522
  if (tagInfo.vr === 'xs') {
5519
5523
  try {
5520
- const tag = dcmjs_es["default"].data.Tag.fromPString(tagInfo.tag).toCleanString();
5524
+ const tag = dcmjs_es/* default.data */.Ay.data.Tag.fromPString(tagInfo.tag).toCleanString();
5521
5525
  const originalTagInfo = metadata[tag];
5522
5526
  tagInfo.vr = originalTagInfo.vr;
5523
5527
  } catch (error) {
@@ -5828,7 +5832,7 @@ const findViewportsByPosition = (state, {
5828
5832
  };
5829
5833
  /* harmony default export */ const src_findViewportsByPosition = (findViewportsByPosition);
5830
5834
  // EXTERNAL MODULE: ./index.js + 33 modules
5831
- var index = __webpack_require__(59754);
5835
+ var index = __webpack_require__(45573);
5832
5836
  ;// CONCATENATED MODULE: ../../../extensions/default/src/commandsModule.ts
5833
5837
 
5834
5838
 
@@ -6294,7 +6298,7 @@ const commandsModule = ({
6294
6298
  * for `replace` is false
6295
6299
  */
6296
6300
  navigateHistory(historyArgs) {
6297
- index/* history */.m.navigate(historyArgs.to, historyArgs.options);
6301
+ index/* history */.b.navigate(historyArgs.to, historyArgs.options);
6298
6302
  },
6299
6303
  openDICOMTagViewer() {
6300
6304
  const {
@@ -6979,8 +6983,8 @@ function getHangingProtocolModule() {
6979
6983
 
6980
6984
 
6981
6985
  function DataSourceSelector() {
6982
- const [appConfig] = (0,state/* useAppConfig */.M)();
6983
- const navigate = (0,dist/* useNavigate */.s0)();
6986
+ const [appConfig] = (0,state/* useAppConfig */.r)();
6987
+ const navigate = (0,dist/* useNavigate */.Zp)();
6984
6988
 
6985
6989
  // This is frowned upon, but the raw config is needed here to provide
6986
6990
  // the selector
@@ -7004,8 +7008,8 @@ function DataSourceSelector() {
7004
7008
  key: ds.sourceName
7005
7009
  }, /*#__PURE__*/react.createElement("h1", {
7006
7010
  className: "text-white"
7007
- }, ds.configuration?.friendlyName || ds.friendlyName), /*#__PURE__*/react.createElement(ui_src/* Button */.zx, {
7008
- type: ui_src/* ButtonEnums.type */.LZ.dt.primary,
7011
+ }, ds.configuration?.friendlyName || ds.friendlyName), /*#__PURE__*/react.createElement(ui_src/* Button */.$n, {
7012
+ type: ui_src/* ButtonEnums.type */.Ny.NW.primary,
7009
7013
  className: classnames_default()('ml-2'),
7010
7014
  onClick: () => {
7011
7015
  navigate({
@@ -7028,7 +7032,7 @@ function ItemListComponent({
7028
7032
  }) {
7029
7033
  const {
7030
7034
  t
7031
- } = (0,es/* useTranslation */.$G)('DataSourceConfiguration');
7035
+ } = (0,es/* useTranslation */.Bd)('DataSourceConfiguration');
7032
7036
  const [filterValue, setFilterValue] = (0,react.useState)('');
7033
7037
  (0,react.useEffect)(() => {
7034
7038
  setFilterValue('');
@@ -7039,18 +7043,18 @@ function ItemListComponent({
7039
7043
  className: "flex items-center justify-between"
7040
7044
  }, /*#__PURE__*/react.createElement("div", {
7041
7045
  className: "text-primary-light text-[20px]"
7042
- }, t(`Select ${itemLabel}`)), /*#__PURE__*/react.createElement(ui_src/* InputFilterText */.Xe, {
7046
+ }, t(`Select ${itemLabel}`)), /*#__PURE__*/react.createElement(ui_src/* InputFilterText */.Cv, {
7043
7047
  className: "max-w-[40%] grow",
7044
7048
  value: filterValue,
7045
7049
  onDebounceChange: setFilterValue,
7046
7050
  placeholder: t(`Search ${itemLabel} list`)
7047
7051
  })), /*#__PURE__*/react.createElement("div", {
7048
7052
  className: "relative flex min-h-[1px] grow flex-col bg-black text-[14px]"
7049
- }, itemList == null ? /*#__PURE__*/react.createElement(ui_src/* LoadingIndicatorProgress */.LE, {
7053
+ }, itemList == null ? /*#__PURE__*/react.createElement(ui_src/* LoadingIndicatorProgress */.Jx, {
7050
7054
  className: 'h-full w-full'
7051
7055
  }) : itemList.length === 0 ? /*#__PURE__*/react.createElement("div", {
7052
7056
  className: "text-primary-light flex h-full flex-col items-center justify-center px-6 py-4"
7053
- }, /*#__PURE__*/react.createElement(ui_src/* Icon */.JO, {
7057
+ }, /*#__PURE__*/react.createElement(ui_src/* Icon */.In, {
7054
7058
  name: "magnifier",
7055
7059
  className: "mb-4"
7056
7060
  }), /*#__PURE__*/react.createElement("span", null, t(`No ${itemLabel} available`))) : /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
@@ -7062,10 +7066,10 @@ function ItemListComponent({
7062
7066
  return /*#__PURE__*/react.createElement("div", {
7063
7067
  className: classnames_default()('hover:text-primary-light hover:bg-primary-dark group mx-2 flex items-center justify-between px-6 py-2', border),
7064
7068
  key: item.id
7065
- }, /*#__PURE__*/react.createElement("div", null, item.name), /*#__PURE__*/react.createElement(ui_src/* Button */.zx, {
7069
+ }, /*#__PURE__*/react.createElement("div", null, item.name), /*#__PURE__*/react.createElement(ui_src/* Button */.$n, {
7066
7070
  onClick: () => onItemClicked(item),
7067
7071
  className: "invisible group-hover:visible",
7068
- endIcon: /*#__PURE__*/react.createElement(ui_src/* Icon */.JO, {
7072
+ endIcon: /*#__PURE__*/react.createElement(ui_src/* Icon */.In, {
7069
7073
  name: "arrow-left"
7070
7074
  })
7071
7075
  }, t('Select')));
@@ -7086,7 +7090,7 @@ function DataSourceConfigurationModalComponent({
7086
7090
  }) {
7087
7091
  const {
7088
7092
  t
7089
- } = (0,es/* useTranslation */.$G)('DataSourceConfiguration');
7093
+ } = (0,es/* useTranslation */.Bd)('DataSourceConfiguration');
7090
7094
  const [itemList, setItemList] = (0,react.useState)();
7091
7095
  const [selectedItems, setSelectedItems] = (0,react.useState)(configuredItems);
7092
7096
  const [errorMessage, setErrorMessage] = (0,react.useState)();
@@ -7160,9 +7164,9 @@ function DataSourceConfigurationModalComponent({
7160
7164
  } : undefined
7161
7165
  }, /*#__PURE__*/react.createElement("div", {
7162
7166
  className: "text- flex items-center gap-2"
7163
- }, itemLabelIndex < selectedItems.length ? /*#__PURE__*/react.createElement(ui_src/* Icon */.JO, {
7167
+ }, itemLabelIndex < selectedItems.length ? /*#__PURE__*/react.createElement(ui_src/* Icon */.In, {
7164
7168
  name: "status-tracked"
7165
- }) : /*#__PURE__*/react.createElement(ui_src/* Icon */.JO, {
7169
+ }) : /*#__PURE__*/react.createElement(ui_src/* Icon */.In, {
7166
7170
  name: "status-untracked"
7167
7171
  }), /*#__PURE__*/react.createElement("div", {
7168
7172
  className: classnames_default()(NO_WRAP_ELLIPSIS_CLASS_NAMES)
@@ -7196,11 +7200,11 @@ function DataSourceConfigurationComponent({
7196
7200
  }) {
7197
7201
  const {
7198
7202
  t
7199
- } = (0,es/* useTranslation */.$G)('DataSourceConfiguration');
7203
+ } = (0,es/* useTranslation */.Bd)('DataSourceConfiguration');
7200
7204
  const {
7201
7205
  show,
7202
7206
  hide
7203
- } = (0,ui_src/* useModal */.dd)();
7207
+ } = (0,ui_src/* useModal */.hS)();
7204
7208
  const {
7205
7209
  customizationService
7206
7210
  } = servicesManager.services;
@@ -7259,7 +7263,7 @@ function DataSourceConfigurationComponent({
7259
7263
  }, [configurationAPI, configuredItems, showConfigurationModal]);
7260
7264
  return configuredItems ? /*#__PURE__*/react.createElement("div", {
7261
7265
  className: "text-aqua-pale flex items-center overflow-hidden"
7262
- }, /*#__PURE__*/react.createElement(ui_src/* Icon */.JO, {
7266
+ }, /*#__PURE__*/react.createElement(ui_src/* Icon */.In, {
7263
7267
  name: "settings",
7264
7268
  className: "mr-2.5 h-3.5 w-3.5 shrink-0 cursor-pointer",
7265
7269
  onClick: showConfigurationModal
@@ -7588,10 +7592,10 @@ function getCustomizationModule({
7588
7592
  }];
7589
7593
  }
7590
7594
  // EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/calculate-suv/dist/calculate-suv.esm.js
7591
- var calculate_suv_esm = __webpack_require__(15747);
7595
+ var calculate_suv_esm = __webpack_require__(79717);
7592
7596
  ;// CONCATENATED MODULE: ../../../extensions/default/src/getPTImageIdInstanceMetadata.ts
7593
7597
 
7594
- const getPTImageIdInstanceMetadata_metadataProvider = src["default"].classes.MetadataProvider;
7598
+ const getPTImageIdInstanceMetadata_metadataProvider = src/* default.classes */.Ay.classes.MetadataProvider;
7595
7599
  function getPTImageIdInstanceMetadata(imageId) {
7596
7600
  const dicomMetaData = getPTImageIdInstanceMetadata_metadataProvider.get('instance', imageId);
7597
7601
  if (!dicomMetaData) {
@@ -7745,7 +7749,7 @@ const handlePETImageMetadata = ({
7745
7749
  if (!instanceMetadataArray.length) {
7746
7750
  return;
7747
7751
  }
7748
- const suvScalingFactors = (0,calculate_suv_esm/* calculateSUVScalingFactors */.d)(instanceMetadataArray);
7752
+ const suvScalingFactors = (0,calculate_suv_esm/* calculateSUVScalingFactors */.C)(instanceMetadataArray);
7749
7753
  instanceMetadataArray.forEach((instanceMetadata, index) => {
7750
7754
  init_metadataProvider.addCustomMetadata(imageIds[index], 'scalingModule', suvScalingFactors[index]);
7751
7755
  });