jbrowse-plugin-graphgenomeviewer 7.7.0 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/README.md +1 -1
  2. package/dist/chunks/{AddTrackWorkflow-NLSZYK56.js → AddTrackWorkflow-KT6Z6PSW.js} +2 -2
  3. package/dist/chunks/{ChooseSamplesDialog-JRN4YLBY.js → ChooseSamplesDialog-YUH6SVEZ.js} +2 -2
  4. package/dist/chunks/{ChooseWalksDialog-SM326TOX.js → ChooseWalksDialog-2QJKRASB.js} +2 -2
  5. package/dist/chunks/{GbzBaseSyntenyAdapter-HT275FAA.js → GbzBaseSyntenyAdapter-NPEXW3Z3.js} +2 -2
  6. package/dist/chunks/{GbzBaseSyntenyAdapter-HT275FAA.js.map → GbzBaseSyntenyAdapter-NPEXW3Z3.js.map} +1 -1
  7. package/dist/chunks/GraphGenomeView-5LYF6LMA.js +10 -0
  8. package/dist/chunks/{GraphGenomeView-NBLEWVY2.js.map → GraphGenomeView-5LYF6LMA.js.map} +1 -1
  9. package/dist/chunks/{GraphTrackSettingsDialog-63UGAGAC.js → GraphTrackSettingsDialog-T5YKMIPH.js} +2 -2
  10. package/dist/chunks/{GraphTrackSettingsDialog-63UGAGAC.js.map → GraphTrackSettingsDialog-T5YKMIPH.js.map} +1 -1
  11. package/dist/chunks/{HighlightColorDialog-MY4MWVCJ.js → HighlightColorDialog-UGAQFACU.js} +2 -2
  12. package/dist/chunks/LinearGraphDisplay-YTSXFZED.js +2 -0
  13. package/dist/chunks/{LinearGraphDisplay-3LMAWRNR.js.map → LinearGraphDisplay-YTSXFZED.js.map} +2 -2
  14. package/dist/chunks/{MinigraphBubbleAdapter-YMI75DAV.js → MinigraphBubbleAdapter-D57ZFMKV.js} +2 -2
  15. package/dist/chunks/{RgfaTabixAdapter-AFNTSA6Y.js → RgfaTabixAdapter-HN2NLJJW.js} +2 -2
  16. package/dist/chunks/{TrackWarningsDialog-CPAYIP6K.js → TrackWarningsDialog-4YDIV2FN.js} +2 -2
  17. package/dist/chunks/{TrackWarningsDialog-CPAYIP6K.js.map → TrackWarningsDialog-4YDIV2FN.js.map} +1 -1
  18. package/dist/chunks/{WalkFormsAdapter-ZPE2JQJU.js → WalkFormsAdapter-ESCQSNEJ.js} +2 -2
  19. package/dist/chunks/{WalkTabixSyntenyAdapter-EOD4RQVU.js → WalkTabixSyntenyAdapter-62PJZBRP.js} +2 -2
  20. package/dist/chunks/chunk-26SCNTI3.js +2 -0
  21. package/dist/chunks/chunk-26SCNTI3.js.map +7 -0
  22. package/dist/chunks/{chunk-EV54SYM7.js → chunk-2VKDQF54.js} +2 -2
  23. package/dist/chunks/{chunk-EV54SYM7.js.map → chunk-2VKDQF54.js.map} +1 -1
  24. package/dist/chunks/chunk-3VGXCEMQ.js +2 -0
  25. package/dist/chunks/{chunk-7WIBGKBU.js.map → chunk-3VGXCEMQ.js.map} +3 -3
  26. package/dist/chunks/chunk-3WG3GF2A.js +2 -0
  27. package/dist/chunks/{chunk-NDRLCGPC.js.map → chunk-3WG3GF2A.js.map} +3 -3
  28. package/dist/chunks/{chunk-LIRBZOBX.js → chunk-56YYNIV3.js} +2 -2
  29. package/dist/chunks/{chunk-LIRBZOBX.js.map → chunk-56YYNIV3.js.map} +1 -1
  30. package/dist/chunks/{chunk-UGCNPRKC.js → chunk-5Z4VIKXZ.js} +2 -2
  31. package/dist/chunks/chunk-5Z4VIKXZ.js.map +7 -0
  32. package/dist/chunks/{chunk-DDAG445J.js → chunk-A4YQH3PN.js} +3 -3
  33. package/dist/chunks/chunk-A4YQH3PN.js.map +7 -0
  34. package/dist/chunks/chunk-AH5UWTAV.js +2 -0
  35. package/dist/chunks/{chunk-TYV6UXJA.js.map → chunk-AH5UWTAV.js.map} +2 -2
  36. package/dist/chunks/chunk-AZ3YVI3P.js +2 -0
  37. package/dist/chunks/{chunk-Q5H6ETNZ.js → chunk-DKUKQR3S.js} +3 -3
  38. package/dist/chunks/chunk-DKUKQR3S.js.map +7 -0
  39. package/dist/chunks/chunk-H53NTUCD.js +4 -0
  40. package/dist/chunks/chunk-H53NTUCD.js.map +7 -0
  41. package/dist/chunks/{chunk-TENPGIPX.js → chunk-J5RMHLFJ.js} +1 -1
  42. package/dist/chunks/chunk-J5RMHLFJ.js.map +7 -0
  43. package/dist/chunks/{chunk-22A3MS5J.js → chunk-JSWEU5QG.js} +1 -1
  44. package/dist/chunks/{chunk-22A3MS5J.js.map → chunk-JSWEU5QG.js.map} +1 -1
  45. package/dist/chunks/{chunk-2QRCU675.js → chunk-JYTZO52E.js} +2 -2
  46. package/dist/chunks/{chunk-4AXLBI6M.js → chunk-KQ6JJDJC.js} +2 -2
  47. package/dist/chunks/{chunk-4AXLBI6M.js.map → chunk-KQ6JJDJC.js.map} +1 -1
  48. package/dist/chunks/{chunk-DFZ6G452.js → chunk-KUT6FNKO.js} +4 -4
  49. package/dist/chunks/{chunk-DFZ6G452.js.map → chunk-KUT6FNKO.js.map} +3 -3
  50. package/dist/chunks/{chunk-IFIZMFS6.js → chunk-LJAPKX5Y.js} +2 -2
  51. package/dist/chunks/{chunk-IFIZMFS6.js.map → chunk-LJAPKX5Y.js.map} +1 -1
  52. package/dist/chunks/{chunk-IBWORBGY.js → chunk-LR45N54F.js} +2 -2
  53. package/dist/chunks/{chunk-SXQ6222I.js → chunk-NE3OW4WX.js} +2 -2
  54. package/dist/chunks/{chunk-ODQSCM3F.js → chunk-ON465L7Z.js} +1 -1
  55. package/dist/chunks/{chunk-ODQSCM3F.js.map → chunk-ON465L7Z.js.map} +1 -1
  56. package/dist/chunks/{chunk-T4R3ZVEM.js → chunk-OTBDKJEA.js} +1 -1
  57. package/dist/chunks/{chunk-T4R3ZVEM.js.map → chunk-OTBDKJEA.js.map} +1 -1
  58. package/dist/chunks/{chunk-KY6GXBXU.js → chunk-QGLMVXGX.js} +2 -2
  59. package/dist/chunks/{chunk-KY6GXBXU.js.map → chunk-QGLMVXGX.js.map} +1 -1
  60. package/dist/chunks/{chunk-JRJHXLGP.js → chunk-ROZPEXN4.js} +2 -2
  61. package/dist/chunks/chunk-ROZPEXN4.js.map +7 -0
  62. package/dist/chunks/{chunk-3Y2G43HK.js → chunk-SD7WGQ6Y.js} +3 -3
  63. package/dist/chunks/chunk-SD7WGQ6Y.js.map +7 -0
  64. package/dist/chunks/{chunk-E7S7PGEZ.js → chunk-SVLBMU6I.js} +2 -2
  65. package/dist/chunks/{chunk-E7S7PGEZ.js.map → chunk-SVLBMU6I.js.map} +1 -1
  66. package/dist/chunks/{chunk-DSSZIADV.js → chunk-VCYF5E2N.js} +1 -1
  67. package/dist/chunks/{chunk-DSSZIADV.js.map → chunk-VCYF5E2N.js.map} +1 -1
  68. package/dist/chunks/{chunk-GK5YETAZ.js → chunk-YXN7J6LG.js} +2 -2
  69. package/dist/chunks/{chunk-GK5YETAZ.js.map → chunk-YXN7J6LG.js.map} +1 -1
  70. package/dist/chunks/{chunk-PT3WV5ED.js → chunk-ZKCMVSD4.js} +2 -2
  71. package/dist/chunks/{chunk-PT3WV5ED.js.map → chunk-ZKCMVSD4.js.map} +1 -1
  72. package/dist/chunks/executeDiagonalize-MDMQAC5Z.js +2 -0
  73. package/dist/chunks/executeDiagonalize-MDMQAC5Z.js.map +7 -0
  74. package/dist/chunks/renderSvg-3KAQCRFY.js +2 -0
  75. package/dist/chunks/renderSvg-3KAQCRFY.js.map +7 -0
  76. package/dist/jbrowse-plugin-graphgenomeviewer.esm.js +5 -5
  77. package/dist/jbrowse-plugin-graphgenomeviewer.esm.js.map +4 -4
  78. package/package.json +11 -11
  79. package/src/GraphAddTrackWorkflow/buildTrackConfig.test.ts +3 -1
  80. package/src/GraphAddTrackWorkflow/buildTrackConfig.ts +5 -1
  81. package/src/GraphGenomeView/model.test.ts +5 -5
  82. package/src/GraphGenomeView/pane/fitViews.ts +5 -5
  83. package/src/GraphGenomeView/pane/graphViews.ts +12 -12
  84. package/src/GraphGenomeView/pane/launchActions.ts +7 -1
  85. package/src/GraphGenomeView/pane/loadActions.ts +2 -2
  86. package/src/GraphGenomeView/pane/settingActions.ts +1 -1
  87. package/src/GraphGenomeView/tubeMapPanels.test.ts +1 -1
  88. package/src/GraphGenomeView/tubeMapPanels.ts +6 -6
  89. package/src/GraphGenomeView/viewModel.ts +2 -2
  90. package/src/GraphGenomeView/walkRowGroups.test.ts +8 -4
  91. package/src/GraphGenomeView/walkRowGroups.ts +8 -6
  92. package/src/LinearGraphDisplay/LinearGraphDisplay.test.ts +1 -1
  93. package/src/LinearGraphDisplay/components/GraphStatusChrome.tsx +4 -8
  94. package/src/LinearGraphDisplay/configSchema.ts +1 -1
  95. package/src/graphTrackConfig.ts +14 -8
  96. package/src/launchFromGraph/launchFromGraph.ts +11 -11
  97. package/src/launchFromGraph/syntenyTracks.test.ts +6 -26
  98. package/src/launchFromGraph/syntenyTracks.ts +20 -17
  99. package/src/panSNAliases/trackAdapterConfig.ts +4 -7
  100. package/src/version.ts +1 -1
  101. package/dist/chunks/GraphGenomeView-NBLEWVY2.js +0 -10
  102. package/dist/chunks/LinearGraphDisplay-3LMAWRNR.js +0 -2
  103. package/dist/chunks/chunk-3Y2G43HK.js.map +0 -7
  104. package/dist/chunks/chunk-7WIBGKBU.js +0 -2
  105. package/dist/chunks/chunk-AK3UZI6J.js +0 -4
  106. package/dist/chunks/chunk-AK3UZI6J.js.map +0 -7
  107. package/dist/chunks/chunk-DDAG445J.js.map +0 -7
  108. package/dist/chunks/chunk-JRJHXLGP.js.map +0 -7
  109. package/dist/chunks/chunk-NDRLCGPC.js +0 -2
  110. package/dist/chunks/chunk-O6HXOTJN.js +0 -2
  111. package/dist/chunks/chunk-O6HXOTJN.js.map +0 -7
  112. package/dist/chunks/chunk-Q5H6ETNZ.js.map +0 -7
  113. package/dist/chunks/chunk-TENPGIPX.js.map +0 -7
  114. package/dist/chunks/chunk-TUECGSVJ.js +0 -2
  115. package/dist/chunks/chunk-TYV6UXJA.js +0 -2
  116. package/dist/chunks/chunk-UGCNPRKC.js.map +0 -7
  117. package/dist/chunks/executeDiagonalize-SGJDSTYC.js +0 -2
  118. package/dist/chunks/executeDiagonalize-SGJDSTYC.js.map +0 -7
  119. package/dist/chunks/renderSvg-WMFKXKFZ.js +0 -2
  120. package/dist/chunks/renderSvg-WMFKXKFZ.js.map +0 -7
  121. /package/dist/chunks/{AddTrackWorkflow-NLSZYK56.js.map → AddTrackWorkflow-KT6Z6PSW.js.map} +0 -0
  122. /package/dist/chunks/{ChooseSamplesDialog-JRN4YLBY.js.map → ChooseSamplesDialog-YUH6SVEZ.js.map} +0 -0
  123. /package/dist/chunks/{ChooseWalksDialog-SM326TOX.js.map → ChooseWalksDialog-2QJKRASB.js.map} +0 -0
  124. /package/dist/chunks/{HighlightColorDialog-MY4MWVCJ.js.map → HighlightColorDialog-UGAQFACU.js.map} +0 -0
  125. /package/dist/chunks/{MinigraphBubbleAdapter-YMI75DAV.js.map → MinigraphBubbleAdapter-D57ZFMKV.js.map} +0 -0
  126. /package/dist/chunks/{RgfaTabixAdapter-AFNTSA6Y.js.map → RgfaTabixAdapter-HN2NLJJW.js.map} +0 -0
  127. /package/dist/chunks/{WalkFormsAdapter-ZPE2JQJU.js.map → WalkFormsAdapter-ESCQSNEJ.js.map} +0 -0
  128. /package/dist/chunks/{WalkTabixSyntenyAdapter-EOD4RQVU.js.map → WalkTabixSyntenyAdapter-62PJZBRP.js.map} +0 -0
  129. /package/dist/chunks/{chunk-TUECGSVJ.js.map → chunk-AZ3YVI3P.js.map} +0 -0
  130. /package/dist/chunks/{chunk-2QRCU675.js.map → chunk-JYTZO52E.js.map} +0 -0
  131. /package/dist/chunks/{chunk-IBWORBGY.js.map → chunk-LR45N54F.js.map} +0 -0
  132. /package/dist/chunks/{chunk-SXQ6222I.js.map → chunk-NE3OW4WX.js.map} +0 -0
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["host:@jbrowse/core/util"],
4
- "sourcesContent": ["const host = JBrowseExports[\"@jbrowse/core/util\"]\nconst read = name =>\n host != null && name in Object(host)\n ? host[name]\n : Object.assign(\n function () {\n throw new Error(\n \"This JBrowse does not provide '\" + name + \"' from '\" + \"@jbrowse/core/util\" + \"' to plugins: GraphGenomeView was built for a different JBrowse version, so update the plugin or JBrowse\",\n )\n },\n { jbrowseHostMissing: name },\n )\nexport const AuthNeededError = /* @__PURE__ */ read(\"AuthNeededError\")\nexport const BEZIER_CONNECTOR_MAX_REACH_PX = /* @__PURE__ */ read(\"BEZIER_CONNECTOR_MAX_REACH_PX\")\nexport const CUBIC_APEX_RATIO = /* @__PURE__ */ read(\"CUBIC_APEX_RATIO\")\nexport const ENCODED_PREFIX = /* @__PURE__ */ read(\"ENCODED_PREFIX\")\nexport const IUPAC_MOTIF_REGEX = /* @__PURE__ */ read(\"IUPAC_MOTIF_REGEX\")\nexport const IntervalTree = /* @__PURE__ */ read(\"IntervalTree\")\nexport const JSON_PREFIX = /* @__PURE__ */ read(\"JSON_PREFIX\")\nexport const MAX_GLOB_REGIONS = /* @__PURE__ */ read(\"MAX_GLOB_REGIONS\")\nexport const MAX_ZOOM_RATE_PER_MS = /* @__PURE__ */ read(\"MAX_ZOOM_RATE_PER_MS\")\nexport const MORPH_DURATION_MS = /* @__PURE__ */ read(\"MORPH_DURATION_MS\")\nexport const SCROLL_ZOOM_FACTOR_DIVISOR = /* @__PURE__ */ read(\"SCROLL_ZOOM_FACTOR_DIVISOR\")\nexport const SHARE_PREFIX = /* @__PURE__ */ read(\"SHARE_PREFIX\")\nexport const SimpleFeature = /* @__PURE__ */ read(\"SimpleFeature\")\nexport const UNKNOWN = /* @__PURE__ */ read(\"UNKNOWN\")\nexport const UNSUPPORTED = /* @__PURE__ */ read(\"UNSUPPORTED\")\nexport const UnknownRefNameError = /* @__PURE__ */ read(\"UnknownRefNameError\")\nexport const ZOOM_ACTIVE_WINDOW_MS = /* @__PURE__ */ read(\"ZOOM_ACTIVE_WINDOW_MS\")\nexport const accumulateScroll = /* @__PURE__ */ read(\"accumulateScroll\")\nexport const adapterConfigFromSpec = /* @__PURE__ */ read(\"adapterConfigFromSpec\")\nexport const adapterNeedsAddTrackComponent = /* @__PURE__ */ read(\"adapterNeedsAddTrackComponent\")\nexport const addAdapterGuesser = /* @__PURE__ */ read(\"addAdapterGuesser\")\nexport const addAddTrackComponent = /* @__PURE__ */ read(\"addAddTrackComponent\")\nexport const addAndShowTrack = /* @__PURE__ */ read(\"addAndShowTrack\")\nexport const addOrReplaceView = /* @__PURE__ */ read(\"addOrReplaceView\")\nexport const addTrackFromWidget = /* @__PURE__ */ read(\"addTrackFromWidget\")\nexport const addTrackTypeGuesser = /* @__PURE__ */ read(\"addTrackTypeGuesser\")\nexport const aesDecrypt = /* @__PURE__ */ read(\"aesDecrypt\")\nexport const aesEncrypt = /* @__PURE__ */ read(\"aesEncrypt\")\nexport const animationAllowed = /* @__PURE__ */ read(\"animationAllowed\")\nexport const applyOrderWithin = /* @__PURE__ */ read(\"applyOrderWithin\")\nexport const applyZoomAccum = /* @__PURE__ */ read(\"applyZoomAccum\")\nexport const assembleLocString = /* @__PURE__ */ read(\"assembleLocString\")\nexport const assembleLocStringRaw = /* @__PURE__ */ read(\"assembleLocStringRaw\")\nexport const assembleLocStrings = /* @__PURE__ */ read(\"assembleLocStrings\")\nexport const avg = /* @__PURE__ */ read(\"avg\")\nexport const b64PadSuffix = /* @__PURE__ */ read(\"b64PadSuffix\")\nexport const bezierConnectorPath = /* @__PURE__ */ read(\"bezierConnectorPath\")\nexport const bpSpanPx = /* @__PURE__ */ read(\"bpSpanPx\")\nexport const bpToPx = /* @__PURE__ */ read(\"bpToPx\")\nexport const bytesForRegions = /* @__PURE__ */ read(\"bytesForRegions\")\nexport const calculateRedispatchRange = /* @__PURE__ */ read(\"calculateRedispatchRange\")\nexport const canReplaceView = /* @__PURE__ */ read(\"canReplaceView\")\nexport const canonicalizeViewRefName = /* @__PURE__ */ read(\"canonicalizeViewRefName\")\nexport const capitalizeFirst = /* @__PURE__ */ read(\"capitalizeFirst\")\nexport const checkAbortSignal = /* @__PURE__ */ read(\"checkAbortSignal\")\nexport const clamp = /* @__PURE__ */ read(\"clamp\")\nexport const clampToContig = /* @__PURE__ */ read(\"clampToContig\")\nexport const clampToListedContig = /* @__PURE__ */ read(\"clampToListedContig\")\nexport const clearFileFromCache = /* @__PURE__ */ read(\"clearFileFromCache\")\nexport const cmpStr = /* @__PURE__ */ read(\"cmpStr\")\nexport const coarseStripHTML = /* @__PURE__ */ read(\"coarseStripHTML\")\nexport const codonTable = /* @__PURE__ */ read(\"codonTable\")\nexport const compareLocStrings = /* @__PURE__ */ read(\"compareLocStrings\")\nexport const compareLocs = /* @__PURE__ */ read(\"compareLocs\")\nexport const complement = /* @__PURE__ */ read(\"complement\")\nexport const complementTable = /* @__PURE__ */ read(\"complementTable\")\nexport const containerDisplaysAssembly = /* @__PURE__ */ read(\"containerDisplaysAssembly\")\nexport const createAbortBreakpoint = /* @__PURE__ */ read(\"createAbortBreakpoint\")\nexport const createAbortRotation = /* @__PURE__ */ read(\"createAbortRotation\")\nexport const createProgressReporter = /* @__PURE__ */ read(\"createProgressReporter\")\nexport const createScrollLatch = /* @__PURE__ */ read(\"createScrollLatch\")\nexport const createSharedSetup = /* @__PURE__ */ read(\"createSharedSetup\")\nexport const createStatusChannel = /* @__PURE__ */ read(\"createStatusChannel\")\nexport const createStatusFanOut = /* @__PURE__ */ read(\"createStatusFanOut\")\nexport const createStatusWindow = /* @__PURE__ */ read(\"createStatusWindow\")\nexport const dedupe = /* @__PURE__ */ read(\"dedupe\")\nexport const defaultCodonTable = /* @__PURE__ */ read(\"defaultCodonTable\")\nexport const defaultStarts = /* @__PURE__ */ read(\"defaultStarts\")\nexport const diagonalizeRegions = /* @__PURE__ */ read(\"diagonalizeRegions\")\nexport const diffTrackConfig = /* @__PURE__ */ read(\"diffTrackConfig\")\nexport const doesIntersect2 = /* @__PURE__ */ read(\"doesIntersect2\")\nexport const downloadPhase = /* @__PURE__ */ read(\"downloadPhase\")\nexport const downloadStatus = /* @__PURE__ */ read(\"downloadStatus\")\nexport const drawImageOntoCanvasContext = /* @__PURE__ */ read(\"drawImageOntoCanvasContext\")\nexport const easeInOutCubic = /* @__PURE__ */ read(\"easeInOutCubic\")\nexport const encodeSessionParam = /* @__PURE__ */ read(\"encodeSessionParam\")\nexport const ensureFileHandleReady = /* @__PURE__ */ read(\"ensureFileHandleReady\")\nexport const expandLooseTrackConfig = /* @__PURE__ */ read(\"expandLooseTrackConfig\")\nexport const featureSpanPx = /* @__PURE__ */ read(\"featureSpanPx\")\nexport const fetchAndMaybeUnzip = /* @__PURE__ */ read(\"fetchAndMaybeUnzip\")\nexport const fetchAndMaybeUnzipText = /* @__PURE__ */ read(\"fetchAndMaybeUnzipText\")\nexport const fetchJson = /* @__PURE__ */ read(\"fetchJson\")\nexport const fileToLocation = /* @__PURE__ */ read(\"fileToLocation\")\nexport const findFileHandleIds = /* @__PURE__ */ read(\"findFileHandleIds\")\nexport const findParentThat = /* @__PURE__ */ read(\"findParentThat\")\nexport const findParentThatIs = /* @__PURE__ */ read(\"findParentThatIs\")\nexport const finishAddTrack = /* @__PURE__ */ read(\"finishAddTrack\")\nexport const flattenTrackConfigDelta = /* @__PURE__ */ read(\"flattenTrackConfigDelta\")\nexport const formatBytes = /* @__PURE__ */ read(\"formatBytes\")\nexport const formatRelativeTime = /* @__PURE__ */ read(\"formatRelativeTime\")\nexport const fromUrlSafeB64 = /* @__PURE__ */ read(\"fromUrlSafeB64\")\nexport const gatherOverlaps = /* @__PURE__ */ read(\"gatherOverlaps\")\nexport const generateCodonTable = /* @__PURE__ */ read(\"generateCodonTable\")\nexport const generateUnknownTrackConf = /* @__PURE__ */ read(\"generateUnknownTrackConf\")\nexport const generateUnsupportedTrackConf = /* @__PURE__ */ read(\"generateUnsupportedTrackConf\")\nexport const getAssemblyHost = /* @__PURE__ */ read(\"getAssemblyHost\")\nexport const getBlob = /* @__PURE__ */ read(\"getBlob\")\nexport const getBlobMap = /* @__PURE__ */ read(\"getBlobMap\")\nexport const getBpDisplayStr = /* @__PURE__ */ read(\"getBpDisplayStr\")\nexport const getConfAssemblyNames = /* @__PURE__ */ read(\"getConfAssemblyNames\")\nexport const getContainingDisplay = /* @__PURE__ */ read(\"getContainingDisplay\")\nexport const getContainingTrack = /* @__PURE__ */ read(\"getContainingTrack\")\nexport const getContainingView = /* @__PURE__ */ read(\"getContainingView\")\nexport const getDialogHost = /* @__PURE__ */ read(\"getDialogHost\")\nexport const getDisplayStr = /* @__PURE__ */ read(\"getDisplayStr\")\nexport const getEnv = /* @__PURE__ */ read(\"getEnv\")\nexport const getFileFromCache = /* @__PURE__ */ read(\"getFileFromCache\")\nexport const getFileHandle = /* @__PURE__ */ read(\"getFileHandle\")\nexport const getFileName = /* @__PURE__ */ read(\"getFileName\")\nexport const getFillProps = /* @__PURE__ */ read(\"getFillProps\")\nexport const getFrame = /* @__PURE__ */ read(\"getFrame\")\nexport const getLocationUri = /* @__PURE__ */ read(\"getLocationUri\")\nexport const getNotificationSink = /* @__PURE__ */ read(\"getNotificationSink\")\nexport const getNumberGrouping = /* @__PURE__ */ read(\"getNumberGrouping\")\nexport const getPaletteHost = /* @__PURE__ */ read(\"getPaletteHost\")\nexport const getPluginUpdate = /* @__PURE__ */ read(\"getPluginUpdate\")\nexport const getRenderingServices = /* @__PURE__ */ read(\"getRenderingServices\")\nexport const getRpcHost = /* @__PURE__ */ read(\"getRpcHost\")\nexport const getRpcSessionId = /* @__PURE__ */ read(\"getRpcSessionId\")\nexport const getSession = /* @__PURE__ */ read(\"getSession\")\nexport const getSessionServices = /* @__PURE__ */ read(\"getSessionServices\")\nexport const getStr = /* @__PURE__ */ read(\"getStr\")\nexport const getStrokeProps = /* @__PURE__ */ read(\"getStrokeProps\")\nexport const getTickDisplayStr = /* @__PURE__ */ read(\"getTickDisplayStr\")\nexport const getTrackAssemblyNames = /* @__PURE__ */ read(\"getTrackAssemblyNames\")\nexport const getTrackName = /* @__PURE__ */ read(\"getTrackName\")\nexport const getZoomNormalizer = /* @__PURE__ */ read(\"getZoomNormalizer\")\nexport const groupBy = /* @__PURE__ */ read(\"groupBy\")\nexport const guessAdapter = /* @__PURE__ */ read(\"guessAdapter\")\nexport const guessTrackConf = /* @__PURE__ */ read(\"guessTrackConf\")\nexport const guessTrackType = /* @__PURE__ */ read(\"guessTrackType\")\nexport const handleFetchError = /* @__PURE__ */ read(\"handleFetchError\")\nexport const hasFileHandlesInCache = /* @__PURE__ */ read(\"hasFileHandlesInCache\")\nexport const hashCode = /* @__PURE__ */ read(\"hashCode\")\nexport const hideTrackGeneric = /* @__PURE__ */ read(\"hideTrackGeneric\")\nexport const indexedDBAvailable = /* @__PURE__ */ read(\"indexedDBAvailable\")\nexport const installablePlugins = /* @__PURE__ */ read(\"installablePlugins\")\nexport const installedVersionFromUrl = /* @__PURE__ */ read(\"installedVersionFromUrl\")\nexport const intersection2 = /* @__PURE__ */ read(\"intersection2\")\nexport const isAbortException = /* @__PURE__ */ read(\"isAbortException\")\nexport const isAbstractMenuManager = /* @__PURE__ */ read(\"isAbstractMenuManager\")\nexport const isActivelyZooming = /* @__PURE__ */ read(\"isActivelyZooming\")\nexport const isAppRootModel = /* @__PURE__ */ read(\"isAppRootModel\")\nexport const isAuthNeededException = /* @__PURE__ */ read(\"isAuthNeededException\")\nexport const isBlobLocation = /* @__PURE__ */ read(\"isBlobLocation\")\nexport const isDataCurrent = /* @__PURE__ */ read(\"isDataCurrent\")\nexport const isDisplayModel = /* @__PURE__ */ read(\"isDisplayModel\")\nexport const isElectron = /* @__PURE__ */ read(\"isElectron\")\nexport const isFeature = /* @__PURE__ */ read(\"isFeature\")\nexport const isFileHandleLocation = /* @__PURE__ */ read(\"isFileHandleLocation\")\nexport const isFileSystemAccessSupported = /* @__PURE__ */ read(\"isFileSystemAccessSupported\")\nexport const isGeneLikeType = /* @__PURE__ */ read(\"isGeneLikeType\")\nexport const isGzip = /* @__PURE__ */ read(\"isGzip\")\nexport const isLocalPathLocation = /* @__PURE__ */ read(\"isLocalPathLocation\")\nexport const isLooseTrackConfig = /* @__PURE__ */ read(\"isLooseTrackConfig\")\nexport const isNode = /* @__PURE__ */ read(\"isNode\")\nexport const isObject = /* @__PURE__ */ read(\"isObject\")\nexport const isPalindromic = /* @__PURE__ */ read(\"isPalindromic\")\nexport const isPluginInstalled = /* @__PURE__ */ read(\"isPluginInstalled\")\nexport const isRootModelWithInternetAccounts = /* @__PURE__ */ read(\"isRootModelWithInternetAccounts\")\nexport const isRpcResult = /* @__PURE__ */ read(\"isRpcResult\")\nexport const isSelectionContainer = /* @__PURE__ */ read(\"isSelectionContainer\")\nexport const isSequenceMatchType = /* @__PURE__ */ read(\"isSequenceMatchType\")\nexport const isSessionModel = /* @__PURE__ */ read(\"isSessionModel\")\nexport const isSessionModelWithConfigEditing = /* @__PURE__ */ read(\"isSessionModelWithConfigEditing\")\nexport const isSessionModelWithConnectionEditing = /* @__PURE__ */ read(\"isSessionModelWithConnectionEditing\")\nexport const isSessionModelWithConnections = /* @__PURE__ */ read(\"isSessionModelWithConnections\")\nexport const isSessionModelWithWidgets = /* @__PURE__ */ read(\"isSessionModelWithWidgets\")\nexport const isSessionServices = /* @__PURE__ */ read(\"isSessionServices\")\nexport const isSessionWithAddAssembly = /* @__PURE__ */ read(\"isSessionWithAddAssembly\")\nexport const isSessionWithAddSessionTrack = /* @__PURE__ */ read(\"isSessionWithAddSessionTrack\")\nexport const isSessionWithAddTracks = /* @__PURE__ */ read(\"isSessionWithAddTracks\")\nexport const isSessionWithDeleteTrackConf = /* @__PURE__ */ read(\"isSessionWithDeleteTrackConf\")\nexport const isSessionWithMultipleViews = /* @__PURE__ */ read(\"isSessionWithMultipleViews\")\nexport const isSessionWithPermanentPlugins = /* @__PURE__ */ read(\"isSessionWithPermanentPlugins\")\nexport const isSessionWithPublishTrackConf = /* @__PURE__ */ read(\"isSessionWithPublishTrackConf\")\nexport const isSessionWithSessionPlugins = /* @__PURE__ */ read(\"isSessionWithSessionPlugins\")\nexport const isSessionWithSessionTracks = /* @__PURE__ */ read(\"isSessionWithSessionTracks\")\nexport const isSessionWithShareURL = /* @__PURE__ */ read(\"isSessionWithShareURL\")\nexport const isSessionWithViewReplacement = /* @__PURE__ */ read(\"isSessionWithViewReplacement\")\nexport const isSupportedIndexingAdapter = /* @__PURE__ */ read(\"isSupportedIndexingAdapter\")\nexport const isTrackModel = /* @__PURE__ */ read(\"isTrackModel\")\nexport const isTrackViewModel = /* @__PURE__ */ read(\"isTrackViewModel\")\nexport const isUriLocation = /* @__PURE__ */ read(\"isUriLocation\")\nexport const isValidTag = /* @__PURE__ */ read(\"isValidTag\")\nexport const isViewContainer = /* @__PURE__ */ read(\"isViewContainer\")\nexport const isViewModel = /* @__PURE__ */ read(\"isViewModel\")\nexport const isWebWorker = /* @__PURE__ */ read(\"isWebWorker\")\nexport const iupacToRegex = /* @__PURE__ */ read(\"iupacToRegex\")\nexport const launchOrReplaceView = /* @__PURE__ */ read(\"launchOrReplaceView\")\nexport const linkify = /* @__PURE__ */ read(\"linkify\")\nexport const locStringsToRegions = /* @__PURE__ */ read(\"locStringsToRegions\")\nexport const localStorageAvailable = /* @__PURE__ */ read(\"localStorageAvailable\")\nexport const localStorageGetBoolean = /* @__PURE__ */ read(\"localStorageGetBoolean\")\nexport const localStorageGetItem = /* @__PURE__ */ read(\"localStorageGetItem\")\nexport const localStorageGetJSON = /* @__PURE__ */ read(\"localStorageGetJSON\")\nexport const localStorageGetNumber = /* @__PURE__ */ read(\"localStorageGetNumber\")\nexport const localStorageGetStringArray = /* @__PURE__ */ read(\"localStorageGetStringArray\")\nexport const localStorageRemoveItem = /* @__PURE__ */ read(\"localStorageRemoveItem\")\nexport const localStorageSetBoolean = /* @__PURE__ */ read(\"localStorageSetBoolean\")\nexport const localStorageSetItem = /* @__PURE__ */ read(\"localStorageSetItem\")\nexport const localStorageSetJSON = /* @__PURE__ */ read(\"localStorageSetJSON\")\nexport const localStorageSetNumber = /* @__PURE__ */ read(\"localStorageSetNumber\")\nexport const makeAbortError = /* @__PURE__ */ read(\"makeAbortError\")\nexport const makeIndex = /* @__PURE__ */ read(\"makeIndex\")\nexport const makeIndexType = /* @__PURE__ */ read(\"makeIndexType\")\nexport const makeTrackId = /* @__PURE__ */ read(\"makeTrackId\")\nexport const matchRefNames = /* @__PURE__ */ read(\"matchRefNames\")\nexport const matchTrackId = /* @__PURE__ */ read(\"matchTrackId\")\nexport const max = /* @__PURE__ */ read(\"max\")\nexport const maxFinite = /* @__PURE__ */ read(\"maxFinite\")\nexport const measureGridWidth = /* @__PURE__ */ read(\"measureGridWidth\")\nexport const measureText = /* @__PURE__ */ read(\"measureText\")\nexport const measuredFont = /* @__PURE__ */ read(\"measuredFont\")\nexport const mergeIntervals = /* @__PURE__ */ read(\"mergeIntervals\")\nexport const mergeTrackConfig = /* @__PURE__ */ read(\"mergeTrackConfig\")\nexport const min = /* @__PURE__ */ read(\"min\")\nexport const minmax = /* @__PURE__ */ read(\"minmax\")\nexport const morphClockMs = /* @__PURE__ */ read(\"morphClockMs\")\nexport const namesTemporaryAssembly = /* @__PURE__ */ read(\"namesTemporaryAssembly\")\nexport const normalizeWheelDelta = /* @__PURE__ */ read(\"normalizeWheelDelta\")\nexport const notEmpty = /* @__PURE__ */ read(\"notEmpty\")\nexport const notifyFeatureDetailsMiss = /* @__PURE__ */ read(\"notifyFeatureDetailsMiss\")\nexport const notifyLocalStorageKey = /* @__PURE__ */ read(\"notifyLocalStorageKey\")\nexport const objectHash = /* @__PURE__ */ read(\"objectHash\")\nexport const openFeatureWidget = /* @__PURE__ */ read(\"openFeatureWidget\")\nexport const parseBpString = /* @__PURE__ */ read(\"parseBpString\")\nexport const parseLocString = /* @__PURE__ */ read(\"parseLocString\")\nexport const parseLocStringOneBased = /* @__PURE__ */ read(\"parseLocStringOneBased\")\nexport const parseMotifList = /* @__PURE__ */ read(\"parseMotifList\")\nexport const parseRegionNames = /* @__PURE__ */ read(\"parseRegionNames\")\nexport const pluralize = /* @__PURE__ */ read(\"pluralize\")\nexport const polarToCartesian = /* @__PURE__ */ read(\"polarToCartesian\")\nexport const progressLabel = /* @__PURE__ */ read(\"progressLabel\")\nexport const rIC = /* @__PURE__ */ read(\"rIC\")\nexport const radToDeg = /* @__PURE__ */ read(\"radToDeg\")\nexport const readSessionFromDynamo = /* @__PURE__ */ read(\"readSessionFromDynamo\")\nexport const reducePrecision = /* @__PURE__ */ read(\"reducePrecision\")\nexport const renameComparativeRegions = /* @__PURE__ */ read(\"renameComparativeRegions\")\nexport const renameRegionIfNeeded = /* @__PURE__ */ read(\"renameRegionIfNeeded\")\nexport const renameRegionsIfNeeded = /* @__PURE__ */ read(\"renameRegionsIfNeeded\")\nexport const reorder = /* @__PURE__ */ read(\"reorder\")\nexport const reorderWithin = /* @__PURE__ */ read(\"reorderWithin\")\nexport const resolveNamedRegions = /* @__PURE__ */ read(\"resolveNamedRegions\")\nexport const resolvePlugin = /* @__PURE__ */ read(\"resolvePlugin\")\nexport const resolveSelectedIds = /* @__PURE__ */ read(\"resolveSelectedIds\")\nexport const resolveStorePluginRefs = /* @__PURE__ */ read(\"resolveStorePluginRefs\")\nexport const resolveStoreRefs = /* @__PURE__ */ read(\"resolveStoreRefs\")\nexport const resolveUri = /* @__PURE__ */ read(\"resolveUri\")\nexport const restoreFileHandles = /* @__PURE__ */ read(\"restoreFileHandles\")\nexport const restoreFileHandlesFromSnapshot = /* @__PURE__ */ read(\"restoreFileHandlesFromSnapshot\")\nexport const revcom = /* @__PURE__ */ read(\"revcom\")\nexport const reverse = /* @__PURE__ */ read(\"reverse\")\nexport const reverseComplementIupac = /* @__PURE__ */ read(\"reverseComplementIupac\")\nexport const revlist = /* @__PURE__ */ read(\"revlist\")\nexport const saveAs = /* @__PURE__ */ read(\"saveAs\")\nexport const saveSvgAsImage = /* @__PURE__ */ read(\"saveSvgAsImage\")\nexport const scheduleDetachedDestroy = /* @__PURE__ */ read(\"scheduleDetachedDestroy\")\nexport const selectNamedRegions = /* @__PURE__ */ read(\"selectNamedRegions\")\nexport const sessionStorageAvailable = /* @__PURE__ */ read(\"sessionStorageAvailable\")\nexport const sessionStorageGetItem = /* @__PURE__ */ read(\"sessionStorageGetItem\")\nexport const sessionStorageRemoveItem = /* @__PURE__ */ read(\"sessionStorageRemoveItem\")\nexport const sessionStorageSetItem = /* @__PURE__ */ read(\"sessionStorageSetItem\")\nexport const setBlobMap = /* @__PURE__ */ read(\"setBlobMap\")\nexport const setFileInCache = /* @__PURE__ */ read(\"setFileInCache\")\nexport const setNumberGrouping = /* @__PURE__ */ read(\"setNumberGrouping\")\nexport const sha256 = /* @__PURE__ */ read(\"sha256\")\nexport const sha256Base64 = /* @__PURE__ */ read(\"sha256Base64\")\nexport const sha256Base64Url = /* @__PURE__ */ read(\"sha256Base64Url\")\nexport const shareEndpoint = /* @__PURE__ */ read(\"shareEndpoint\")\nexport const shorten = /* @__PURE__ */ read(\"shorten\")\nexport const shorten2 = /* @__PURE__ */ read(\"shorten2\")\nexport const showTrackGeneric = /* @__PURE__ */ read(\"showTrackGeneric\")\nexport const springAnimate = /* @__PURE__ */ read(\"springAnimate\")\nexport const statusFraction = /* @__PURE__ */ read(\"statusFraction\")\nexport const statusMessageText = /* @__PURE__ */ read(\"statusMessageText\")\nexport const statusProgressLabel = /* @__PURE__ */ read(\"statusProgressLabel\")\nexport const statusReading = /* @__PURE__ */ read(\"statusReading\")\nexport const statusSource = /* @__PURE__ */ read(\"statusSource\")\nexport const stitch = /* @__PURE__ */ read(\"stitch\")\nexport const storeBlobLocation = /* @__PURE__ */ read(\"storeBlobLocation\")\nexport const storeFileHandle = /* @__PURE__ */ read(\"storeFileHandle\")\nexport const storeFileHandleLocation = /* @__PURE__ */ read(\"storeFileHandleLocation\")\nexport const stringify = /* @__PURE__ */ read(\"stringify\")\nexport const stripAlpha = /* @__PURE__ */ read(\"stripAlpha\")\nexport const stripFileExtension = /* @__PURE__ */ read(\"stripFileExtension\")\nexport const stripTrackIds = /* @__PURE__ */ read(\"stripTrackIds\")\nexport const subscribeToLocalStorageKey = /* @__PURE__ */ read(\"subscribeToLocalStorageKey\")\nexport const sum = /* @__PURE__ */ read(\"sum\")\nexport const svgHtmlToPngBlob = /* @__PURE__ */ read(\"svgHtmlToPngBlob\")\nexport const tagRegex = /* @__PURE__ */ read(\"tagRegex\")\nexport const testAdapter = /* @__PURE__ */ read(\"testAdapter\")\nexport const throttleStatusEmits = /* @__PURE__ */ read(\"throttleStatusEmits\")\nexport const toBase64 = /* @__PURE__ */ read(\"toBase64\")\nexport const toBase64Url = /* @__PURE__ */ read(\"toBase64Url\")\nexport const toLocale = /* @__PURE__ */ read(\"toLocale\")\nexport const toUrlSafeB64 = /* @__PURE__ */ read(\"toUrlSafeB64\")\nexport const toggleTrackGeneric = /* @__PURE__ */ read(\"toggleTrackGeneric\")\nexport const truncateMiddle = /* @__PURE__ */ read(\"truncateMiddle\")\nexport const updateStatus = /* @__PURE__ */ read(\"updateStatus\")\nexport const useCreateOnce = /* @__PURE__ */ read(\"useCreateOnce\")\nexport const useDebounce = /* @__PURE__ */ read(\"useDebounce\")\nexport const useFinalUnmount = /* @__PURE__ */ read(\"useFinalUnmount\")\nexport const useLocalStorage = /* @__PURE__ */ read(\"useLocalStorage\")\nexport const useWidthSetter = /* @__PURE__ */ read(\"useWidthSetter\")\nexport const verifyPermission = /* @__PURE__ */ read(\"verifyPermission\")\nexport const wheelFrameElapsedMs = /* @__PURE__ */ read(\"wheelFrameElapsedMs\")\nexport const wheelZoomAccum = /* @__PURE__ */ read(\"wheelZoomAccum\")\nexport const withAbortCheck = /* @__PURE__ */ read(\"withAbortCheck\")\nexport const withFeatureDetails = /* @__PURE__ */ read(\"withFeatureDetails\")\nexport const withProgress = /* @__PURE__ */ read(\"withProgress\")\nexport default host && host.__esModule ? host.default : host"],
5
- "mappings": "AAAA,IAAMA,EAAO,eAAe,oBAAoB,EAC1CC,EAAOC,GACXF,GAAQ,MAAQE,KAAQ,OAAOF,CAAI,EAC/BA,EAAKE,CAAI,EACT,OAAO,OACL,UAAY,CACV,MAAM,IAAI,MACR,kCAAoCA,EAAO,oIAC7C,CACF,EACA,CAAE,mBAAoBA,CAAK,CAC7B,EAaC,IAAMC,EAAgCC,EAAK,eAAe,EAY1D,IAAMC,EAAqCC,EAAK,oBAAoB,EAuCpE,IAAMC,EAAqCC,EAAK,oBAAoB,EAEpE,IAAMC,EAAyBC,EAAK,QAAQ,EAiC5C,IAAMC,EAAkCC,EAAK,iBAAiB,EAG9D,IAAMC,EAAqCC,EAAK,oBAAoB,EAC9DC,EAAoCD,EAAK,mBAAmB,EAGlE,IAAME,EAAyBC,EAAK,QAAQ,EAa5C,IAAMC,EAAkCC,EAAK,iBAAiB,EACxDC,EAA6BD,EAAK,YAAY,EAqBpD,IAAME,EAAwCC,EAAK,uBAAuB,EA2B1E,IAAMC,EAA4CC,EAAK,2BAA2B,EAuClF,IAAMC,EAA8BC,EAAK,aAAa,EAqEtD,IAAMC,EAAoCC,EAAK,mBAAmB,EAwBlE,IAAMC,EAA+BC,EAAK,cAAc,EAY/D,IAAOC,EAAQC,GAAQA,EAAK,WAAaA,EAAK,QAAUA",
6
- "names": ["host", "read", "name", "SimpleFeature", "read", "addTrackFromWidget", "read", "createStatusFanOut", "read", "dedupe", "read", "getBpDisplayStr", "read", "getContainingTrack", "read", "getContainingView", "getEnv", "read", "getRpcSessionId", "read", "getSession", "isAbstractMenuManager", "read", "isSessionModelWithWidgets", "read", "makeTrackId", "read", "statusMessageText", "read", "updateStatus", "read", "util_default", "host"]
7
- }
@@ -1,2 +0,0 @@
1
- import{l as o}from"./chunk-GK5YETAZ.js";function u(a,r,e){return e?{...a,walkRowRuns:o(a,r)}:a}export{u as a};
2
- //# sourceMappingURL=chunk-TUECGSVJ.js.map
@@ -1,2 +0,0 @@
1
- import{b as c}from"./chunk-7WIBGKBU.js";import{a as o,b,c as w,g as r,h as f,i as l}from"./chunk-IKJZPPOA.js";import{a as L}from"./chunk-OGQ6OQDN.js";var M=5e3;function A(e){return typeof e=="string"&&/^[\w+-][\w.+-]*$/.test(e)}function h(e){return e==null}function I(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function T(e){return I(e)&&A(e.prefix)&&typeof e.foldBelowBp=="number"&&Number.isFinite(e.foldBelowBp)&&e.foldBelowBp>0}function E(e){let n;try{n=JSON.parse(e)}catch{return}if(!I(n)||n.schema!==1)return;let{reference:i,tier:t,index:a,contig:s,bubbles:p,alleles:d}=n;if((h(i)||typeof i=="string"&&i.trim()!=="")&&(h(t)||T(t))&&[a,s,p,d].every(S=>h(S)||A(S)))return{...typeof i=="string"?{reference:i.trim()}:{},...T(t)?{tier:{prefix:t.prefix,foldBelowBp:t.foldBelowBp}}:{}}}function m(e,n){return l(e,i=>i.replace(/[^/\\]*$/,n))}function R(e){return f(e)&&r(e).endsWith(o)}function x(e,n){return l(e,i=>`${i.slice(0,-o.length)}${n}`)}function z(e){return R(e)?x(e,".graph.json"):void 0}async function $(e,n){let i=z(e);if(i)try{let t=await L(i,n).readFile({encoding:"utf8",signal:AbortSignal.timeout(M)});return E(t)}catch{return}}var O={RgfaTabixAdapter:"rGFA segments (tabix BED pair)",RgfaTabixWalks:"Haplotype walks (.walks.bed.gz)",GbzBaseSyntenyAdapter:"GBZ database (.gbz.db)",MinigraphBubbleAdapter:"Minigraph bubbles (tabix BED)"},v={RgfaTabixAdapter:"Path to segments BED (.segs.bed.gz from gfa-to-tabix; the .links.bed.gz, its index and any .graph.json are read beside it)",RgfaTabixWalks:"Path to a walk file (<prefix>.<sample>.walks.bed.gz from gfa-to-tabix --walks, for the sample this assembly is)",GbzBaseSyntenyAdapter:"Path to the .gbz.db written by gbz-base construct",MinigraphBubbleAdapter:"Path to bubbles BED (.bed.gz from gfatools bubble)"},y="Path to tabix index (optional; the sibling .tbi is assumed, a .csi is recognised by name)",J={RgfaTabixAdapter:y,RgfaTabixWalks:y,GbzBaseSyntenyAdapter:"Path to the haplotype index (optional; graph.haplotype-index.db beside the database is assumed)",MinigraphBubbleAdapter:y};function g(e,n){return l(e,i=>i+n)}function N(e){if(!r(e).endsWith(o))throw new Error(`Expected a segments BED ending in ${o}, got ${r(e)}`);return x(e,".links.bed.gz")}function F(e,n){return n?{location:n,indexType:c(r(n),"CSI","TBI")}:{location:g(e,".tbi"),indexType:"TBI"}}function B(e,n){return n!==void 0&&c(r(n),"CSI","TBI")==="CSI"?{location:g(e,".csi"),indexType:"CSI"}:{location:g(e,".tbi"),indexType:"TBI"}}function k(e,n){let i=n.trim();return i&&e?{assemblyNameToPanSN:{[e]:i}}:{}}function P(e,n,i){if(!i)return{};let t=m(e,`${i.prefix}${o}`),a=m(e,`${i.prefix}.links.bed.gz`);return{coarse:{foldBelowBp:i.foldBelowBp,segmentsLocation:t,segmentsIndex:B(t,n),linksLocation:a,linksIndex:B(a,n)}}}function G(e,n,i){let t=i===e?void 0:i;return k(e,n.trim()||t||"")}function C(e){return e?{readsLocation:e,...r(e).endsWith(".gz")&&f(e)?{readsIndex:{location:g(e,".tbi")}}:{}}:{}}function K(e){return e.split(/[\s,]+/).filter(n=>n!=="")}function _({choice:e,loc:n,indexLoc:i,readsLoc:t,manifest:a,assembly:s,sample:p,haplotypes:d=[]}){if(e==="RgfaTabixWalks"){if(!r(n).endsWith(b))throw new Error(`Expected a walk file ending in ${b}, got ${r(n)}`);return{type:"RgfaTabixAdapter",walksLocation:n,walksIndex:F(n,i),...G(s,p,w(n)),...d.length>0?{defaultHaplotypes:d}:{}}}if(e==="GbzBaseSyntenyAdapter")return{type:"GbzBaseSyntenyAdapter",gbzDbLocation:n,...i?{haplotypeIndexLocation:i}:{},...C(t),...k(s,p)};if(e==="MinigraphBubbleAdapter")return{type:"MinigraphBubbleAdapter",bubblesLocation:n,index:F(n,i),...k(s,p)};let u=N(n);return{type:"RgfaTabixAdapter",segmentsLocation:n,segmentsIndex:F(n,i),linksLocation:u,linksIndex:B(u,i),...G(s,p,a?.reference),...P(n,i,a?.tier)}}function Z(e){let{choice:n,assembly:i,trackId:t,name:a}=e;return{type:n==="MinigraphBubbleAdapter"?"FeatureTrack":"GraphTrack",trackId:t,name:a,assemblyNames:[i],adapter:_(e),...n==="RgfaTabixAdapter"||n==="RgfaTabixWalks"?{displayDefaults:{showLabels:"none"}}:{}}}export{R as a,$ as b,O as c,v as d,J as e,K as f,_ as g,Z as h};
2
- //# sourceMappingURL=chunk-TYV6UXJA.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["host:@jbrowse/core/ui", "host:@mui/material"],
4
- "sourcesContent": ["const host = JBrowseExports[\"@jbrowse/core/ui\"]\nconst read = name =>\n host != null && name in Object(host)\n ? host[name]\n : Object.assign(\n function () {\n throw new Error(\n \"This JBrowse does not provide '\" + name + \"' from '\" + \"@jbrowse/core/ui\" + \"' to plugins: GraphGenomeView was built for a different JBrowse version, so update the plugin or JBrowse\",\n )\n },\n { jbrowseHostMissing: name },\n )\nexport const ActionLink = /* @__PURE__ */ read(\"ActionLink\")\nexport const AssemblySelector = /* @__PURE__ */ read(\"AssemblySelector\")\nexport const BaseExportSvgDialog = /* @__PURE__ */ read(\"BaseExportSvgDialog\")\nexport const BaseTooltip = /* @__PURE__ */ read(\"BaseTooltip\")\nexport const CONTEXT_MENU_Z_INDEX = /* @__PURE__ */ read(\"CONTEXT_MENU_Z_INDEX\")\nexport const CascadingMenu = /* @__PURE__ */ read(\"CascadingMenu\")\nexport const CascadingMenuButton = /* @__PURE__ */ read(\"CascadingMenuButton\")\nexport const ConfirmDialog = /* @__PURE__ */ read(\"ConfirmDialog\")\nexport const ContextMenu = /* @__PURE__ */ read(\"ContextMenu\")\nexport const CopyToClipboardButton = /* @__PURE__ */ read(\"CopyToClipboardButton\")\nexport const Crosshairs = /* @__PURE__ */ read(\"Crosshairs\")\nexport const Dialog = /* @__PURE__ */ read(\"Dialog\")\nexport const EditableTypography = /* @__PURE__ */ read(\"EditableTypography\")\nexport const ErrorBanner = /* @__PURE__ */ read(\"ErrorBanner\")\nexport const ErrorBar = /* @__PURE__ */ read(\"ErrorBar\")\nexport const ErrorMessage = /* @__PURE__ */ read(\"ErrorMessage\")\nexport const ErrorOverlay = /* @__PURE__ */ read(\"ErrorOverlay\")\nexport const ExportSvgDialog = /* @__PURE__ */ read(\"ExportSvgDialog\")\nexport const ExternalLink = /* @__PURE__ */ read(\"ExternalLink\")\nexport const FatalErrorDialog = /* @__PURE__ */ read(\"FatalErrorDialog\")\nexport const FileDropZone = /* @__PURE__ */ read(\"FileDropZone\")\nexport const FileSelector = /* @__PURE__ */ read(\"FileSelector\")\nexport const GpuFallbackButton = /* @__PURE__ */ read(\"GpuFallbackButton\")\nexport const INLINE_MENU_ROW_WIDTH = /* @__PURE__ */ read(\"INLINE_MENU_ROW_WIDTH\")\nexport const InfoDialog = /* @__PURE__ */ read(\"InfoDialog\")\nexport const JexlFilterDialog = /* @__PURE__ */ read(\"JexlFilterDialog\")\nexport const LAUNCH_LABEL = /* @__PURE__ */ read(\"LAUNCH_LABEL\")\nexport const LEGEND_ROW_HEIGHT = /* @__PURE__ */ read(\"LEGEND_ROW_HEIGHT\")\nexport const LEGEND_SVG_GUTTER_WIDTH = /* @__PURE__ */ read(\"LEGEND_SVG_GUTTER_WIDTH\")\nexport const LEGEND_SWATCH = /* @__PURE__ */ read(\"LEGEND_SWATCH\")\nexport const LabeledCheckbox = /* @__PURE__ */ read(\"LabeledCheckbox\")\nexport const LegendSwatchGlyph = /* @__PURE__ */ read(\"LegendSwatchGlyph\")\nexport const LoadingEllipses = /* @__PURE__ */ read(\"LoadingEllipses\")\nexport const LoadingOverlay = /* @__PURE__ */ read(\"LoadingOverlay\")\nexport const LoadingProgress = /* @__PURE__ */ read(\"LoadingProgress\")\nexport const LogoFull = /* @__PURE__ */ read(\"LogoFull\")\nexport const Logomark = /* @__PURE__ */ read(\"Logomark\")\nexport const MAX_LEGEND_ITEMS = /* @__PURE__ */ read(\"MAX_LEGEND_ITEMS\")\nexport const Menu = /* @__PURE__ */ read(\"Menu\")\nexport const MonospaceTextField = /* @__PURE__ */ read(\"MonospaceTextField\")\nexport const NumberTextField = /* @__PURE__ */ read(\"NumberTextField\")\nexport const PluggableComponent = /* @__PURE__ */ read(\"PluggableComponent\")\nexport const PluggableComponents = /* @__PURE__ */ read(\"PluggableComponents\")\nexport const PluggableElements = /* @__PURE__ */ read(\"PluggableElements\")\nexport const PrerenderedCanvas = /* @__PURE__ */ read(\"PrerenderedCanvas\")\nexport const ProgressChip = /* @__PURE__ */ read(\"ProgressChip\")\nexport const RefNameAutocomplete = /* @__PURE__ */ read(\"RefNameAutocomplete\")\nexport const RefNameAutocompleteEndAdornment = /* @__PURE__ */ read(\"RefNameAutocompleteEndAdornment\")\nexport const ReplaceCurrentViewButton = /* @__PURE__ */ read(\"ReplaceCurrentViewButton\")\nexport const ResetToDefaultButton = /* @__PURE__ */ read(\"ResetToDefaultButton\")\nexport const ResizeHandle = /* @__PURE__ */ read(\"ResizeHandle\")\nexport const SanitizedHTML = /* @__PURE__ */ read(\"SanitizedHTML\")\nexport const ScrollChrome = /* @__PURE__ */ read(\"ScrollChrome\")\nexport const ScrollEdgeShadow = /* @__PURE__ */ read(\"ScrollEdgeShadow\")\nexport const SettingsChangesTable = /* @__PURE__ */ read(\"SettingsChangesTable\")\nexport const ShareLinkField = /* @__PURE__ */ read(\"ShareLinkField\")\nexport const SingleSlider = /* @__PURE__ */ read(\"SingleSlider\")\nexport const SliderTooltip = /* @__PURE__ */ read(\"SliderTooltip\")\nexport const StatusProgressBar = /* @__PURE__ */ read(\"StatusProgressBar\")\nexport const SubmitDialog = /* @__PURE__ */ read(\"SubmitDialog\")\nexport const SubmitForm = /* @__PURE__ */ read(\"SubmitForm\")\nexport const SvgColorLegend = /* @__PURE__ */ read(\"SvgColorLegend\")\nexport const TOOLTIP_Z_INDEX = /* @__PURE__ */ read(\"TOOLTIP_Z_INDEX\")\nexport const TagTextField = /* @__PURE__ */ read(\"TagTextField\")\nexport const VIEW_HEADER_HEIGHT = /* @__PURE__ */ read(\"VIEW_HEADER_HEIGHT\")\nexport const VerticalScrollbar = /* @__PURE__ */ read(\"VerticalScrollbar\")\nexport const ViewLoadingScreen = /* @__PURE__ */ read(\"ViewLoadingScreen\")\nexport const addExtensionElement = /* @__PURE__ */ read(\"addExtensionElement\")\nexport const adornmentReservePx = /* @__PURE__ */ read(\"adornmentReservePx\")\nexport const checkboxItem = /* @__PURE__ */ read(\"checkboxItem\")\nexport const colorFwdStrand = /* @__PURE__ */ read(\"colorFwdStrand\")\nexport const colorInterchrom = /* @__PURE__ */ read(\"colorInterchrom\")\nexport const colorLongInsert = /* @__PURE__ */ read(\"colorLongInsert\")\nexport const colorLongreadInv = /* @__PURE__ */ read(\"colorLongreadInv\")\nexport const colorPairLL = /* @__PURE__ */ read(\"colorPairLL\")\nexport const colorPairLR = /* @__PURE__ */ read(\"colorPairLR\")\nexport const colorPairLRDark = /* @__PURE__ */ read(\"colorPairLRDark\")\nexport const colorPairRL = /* @__PURE__ */ read(\"colorPairRL\")\nexport const colorPairRR = /* @__PURE__ */ read(\"colorPairRR\")\nexport const colorRevStrand = /* @__PURE__ */ read(\"colorRevStrand\")\nexport const colorScaleIsEmpty = /* @__PURE__ */ read(\"colorScaleIsEmpty\")\nexport const colorShortInsert = /* @__PURE__ */ read(\"colorShortInsert\")\nexport const colorSplitReadInversion = /* @__PURE__ */ read(\"colorSplitReadInversion\")\nexport const colorSupplementary = /* @__PURE__ */ read(\"colorSupplementary\")\nexport const colorUnmappedMate = /* @__PURE__ */ read(\"colorUnmappedMate\")\nexport const colorUnmappedMateDark = /* @__PURE__ */ read(\"colorUnmappedMateDark\")\nexport const createJBrowseBaseTheme = /* @__PURE__ */ read(\"createJBrowseBaseTheme\")\nexport const createJBrowseTheme = /* @__PURE__ */ read(\"createJBrowseTheme\")\nexport const createJBrowseThemeFromArgs = /* @__PURE__ */ read(\"createJBrowseThemeFromArgs\")\nexport const defaultThemes = /* @__PURE__ */ read(\"defaultThemes\")\nexport const getInputWidth = /* @__PURE__ */ read(\"getInputWidth\")\nexport const hoverBoxStyle = /* @__PURE__ */ read(\"hoverBoxStyle\")\nexport const launchTargetsMenuItem = /* @__PURE__ */ read(\"launchTargetsMenuItem\")\nexport const legendEntries = /* @__PURE__ */ read(\"legendEntries\")\nexport const legendIsReadable = /* @__PURE__ */ read(\"legendIsReadable\")\nexport const legendSpecOf = /* @__PURE__ */ read(\"legendSpecOf\")\nexport const legendSwatches = /* @__PURE__ */ read(\"legendSwatches\")\nexport const makeSizeMenu = /* @__PURE__ */ read(\"makeSizeMenu\")\nexport const makeSizeSubMenu = /* @__PURE__ */ read(\"makeSizeSubMenu\")\nexport const matchesTrackSelector = /* @__PURE__ */ read(\"matchesTrackSelector\")\nexport const measureLegendText = /* @__PURE__ */ read(\"measureLegendText\")\nexport const methylated5hmC = /* @__PURE__ */ read(\"methylated5hmC\")\nexport const methylated5mC = /* @__PURE__ */ read(\"methylated5mC\")\nexport const nonEmptyLegendSections = /* @__PURE__ */ read(\"nonEmptyLegendSections\")\nexport const pushIntoSubMenu = /* @__PURE__ */ read(\"pushIntoSubMenu\")\nexport const pushLaunchViewMenuItem = /* @__PURE__ */ read(\"pushLaunchViewMenuItem\")\nexport const radioItems = /* @__PURE__ */ read(\"radioItems\")\nexport const replaceViewAction = /* @__PURE__ */ read(\"replaceViewAction\")\nexport const resolveSubMenu = /* @__PURE__ */ read(\"resolveSubMenu\")\nexport const sliderScale = /* @__PURE__ */ read(\"sliderScale\")\nexport const staysOpenOnClick = /* @__PURE__ */ read(\"staysOpenOnClick\")\nexport const tagColorPalette = /* @__PURE__ */ read(\"tagColorPalette\")\nexport const unmethylated5mC = /* @__PURE__ */ read(\"unmethylated5mC\")\nexport const useAssemblySelection = /* @__PURE__ */ read(\"useAssemblySelection\")\nexport const useCopyToClipboard = /* @__PURE__ */ read(\"useCopyToClipboard\")\nexport const useExportSvgPreference = /* @__PURE__ */ read(\"useExportSvgPreference\")\nexport const useMouseState = /* @__PURE__ */ read(\"useMouseState\")\nexport const useMouseTracking = /* @__PURE__ */ read(\"useMouseTracking\")\nexport const useRecentLocations = /* @__PURE__ */ read(\"useRecentLocations\")\nexport const wrapComponent = /* @__PURE__ */ read(\"wrapComponent\")\nexport default host && host.__esModule ? host.default : host", "const host = JBrowseExports[\"@mui/material\"]\nconst read = name =>\n host != null && name in Object(host)\n ? host[name]\n : Object.assign(\n function () {\n throw new Error(\n \"This JBrowse does not provide '\" + name + \"' from '\" + \"@mui/material\" + \"' to plugins: GraphGenomeView was built for a different JBrowse version, so update the plugin or JBrowse\",\n )\n },\n { jbrowseHostMissing: name },\n )\nexport const Accordion = /* @__PURE__ */ read(\"Accordion\")\nexport const AccordionActions = /* @__PURE__ */ read(\"AccordionActions\")\nexport const AccordionDetails = /* @__PURE__ */ read(\"AccordionDetails\")\nexport const AccordionSummary = /* @__PURE__ */ read(\"AccordionSummary\")\nexport const Alert = /* @__PURE__ */ read(\"Alert\")\nexport const AlertTitle = /* @__PURE__ */ read(\"AlertTitle\")\nexport const Autocomplete = /* @__PURE__ */ read(\"Autocomplete\")\nexport const Avatar = /* @__PURE__ */ read(\"Avatar\")\nexport const AvatarGroup = /* @__PURE__ */ read(\"AvatarGroup\")\nexport const Backdrop = /* @__PURE__ */ read(\"Backdrop\")\nexport const Badge = /* @__PURE__ */ read(\"Badge\")\nexport const Box = /* @__PURE__ */ read(\"Box\")\nexport const Breadcrumbs = /* @__PURE__ */ read(\"Breadcrumbs\")\nexport const Button = /* @__PURE__ */ read(\"Button\")\nexport const ButtonGroup = /* @__PURE__ */ read(\"ButtonGroup\")\nexport const Card = /* @__PURE__ */ read(\"Card\")\nexport const CardActionArea = /* @__PURE__ */ read(\"CardActionArea\")\nexport const CardActions = /* @__PURE__ */ read(\"CardActions\")\nexport const CardContent = /* @__PURE__ */ read(\"CardContent\")\nexport const CardHeader = /* @__PURE__ */ read(\"CardHeader\")\nexport const CardMedia = /* @__PURE__ */ read(\"CardMedia\")\nexport const Checkbox = /* @__PURE__ */ read(\"Checkbox\")\nexport const Chip = /* @__PURE__ */ read(\"Chip\")\nexport const CircularProgress = /* @__PURE__ */ read(\"CircularProgress\")\nexport const ClickAwayListener = /* @__PURE__ */ read(\"ClickAwayListener\")\nexport const Collapse = /* @__PURE__ */ read(\"Collapse\")\nexport const Container = /* @__PURE__ */ read(\"Container\")\nexport const Dialog = /* @__PURE__ */ read(\"Dialog\")\nexport const DialogActions = /* @__PURE__ */ read(\"DialogActions\")\nexport const DialogContent = /* @__PURE__ */ read(\"DialogContent\")\nexport const DialogContentText = /* @__PURE__ */ read(\"DialogContentText\")\nexport const DialogTitle = /* @__PURE__ */ read(\"DialogTitle\")\nexport const Divider = /* @__PURE__ */ read(\"Divider\")\nexport const Drawer = /* @__PURE__ */ read(\"Drawer\")\nexport const Fab = /* @__PURE__ */ read(\"Fab\")\nexport const Fade = /* @__PURE__ */ read(\"Fade\")\nexport const FilledInput = /* @__PURE__ */ read(\"FilledInput\")\nexport const FormControl = /* @__PURE__ */ read(\"FormControl\")\nexport const FormControlLabel = /* @__PURE__ */ read(\"FormControlLabel\")\nexport const FormGroup = /* @__PURE__ */ read(\"FormGroup\")\nexport const FormHelperText = /* @__PURE__ */ read(\"FormHelperText\")\nexport const FormLabel = /* @__PURE__ */ read(\"FormLabel\")\nexport const Grid = /* @__PURE__ */ read(\"Grid\")\nexport const Grid2 = /* @__PURE__ */ read(\"Grid2\")\nexport const Grow = /* @__PURE__ */ read(\"Grow\")\nexport const Icon = /* @__PURE__ */ read(\"Icon\")\nexport const IconButton = /* @__PURE__ */ read(\"IconButton\")\nexport const Input = /* @__PURE__ */ read(\"Input\")\nexport const InputAdornment = /* @__PURE__ */ read(\"InputAdornment\")\nexport const InputBase = /* @__PURE__ */ read(\"InputBase\")\nexport const InputLabel = /* @__PURE__ */ read(\"InputLabel\")\nexport const LinearProgress = /* @__PURE__ */ read(\"LinearProgress\")\nexport const Link = /* @__PURE__ */ read(\"Link\")\nexport const List = /* @__PURE__ */ read(\"List\")\nexport const ListItem = /* @__PURE__ */ read(\"ListItem\")\nexport const ListItemAvatar = /* @__PURE__ */ read(\"ListItemAvatar\")\nexport const ListItemButton = /* @__PURE__ */ read(\"ListItemButton\")\nexport const ListItemIcon = /* @__PURE__ */ read(\"ListItemIcon\")\nexport const ListItemSecondaryAction = /* @__PURE__ */ read(\"ListItemSecondaryAction\")\nexport const ListItemText = /* @__PURE__ */ read(\"ListItemText\")\nexport const ListSubheader = /* @__PURE__ */ read(\"ListSubheader\")\nexport const Menu = /* @__PURE__ */ read(\"Menu\")\nexport const MenuItem = /* @__PURE__ */ read(\"MenuItem\")\nexport const MenuList = /* @__PURE__ */ read(\"MenuList\")\nexport const Modal = /* @__PURE__ */ read(\"Modal\")\nexport const NativeSelect = /* @__PURE__ */ read(\"NativeSelect\")\nexport const OutlinedInput = /* @__PURE__ */ read(\"OutlinedInput\")\nexport const Pagination = /* @__PURE__ */ read(\"Pagination\")\nexport const PaginationItem = /* @__PURE__ */ read(\"PaginationItem\")\nexport const Paper = /* @__PURE__ */ read(\"Paper\")\nexport const Popover = /* @__PURE__ */ read(\"Popover\")\nexport const Popper = /* @__PURE__ */ read(\"Popper\")\nexport const Portal = /* @__PURE__ */ read(\"Portal\")\nexport const Radio = /* @__PURE__ */ read(\"Radio\")\nexport const RadioGroup = /* @__PURE__ */ read(\"RadioGroup\")\nexport const Rating = /* @__PURE__ */ read(\"Rating\")\nexport const ScopedCssBaseline = /* @__PURE__ */ read(\"ScopedCssBaseline\")\nexport const Select = /* @__PURE__ */ read(\"Select\")\nexport const Skeleton = /* @__PURE__ */ read(\"Skeleton\")\nexport const Slider = /* @__PURE__ */ read(\"Slider\")\nexport const Snackbar = /* @__PURE__ */ read(\"Snackbar\")\nexport const SnackbarContent = /* @__PURE__ */ read(\"SnackbarContent\")\nexport const SpeedDial = /* @__PURE__ */ read(\"SpeedDial\")\nexport const SpeedDialAction = /* @__PURE__ */ read(\"SpeedDialAction\")\nexport const SpeedDialIcon = /* @__PURE__ */ read(\"SpeedDialIcon\")\nexport const Stack = /* @__PURE__ */ read(\"Stack\")\nexport const Step = /* @__PURE__ */ read(\"Step\")\nexport const StepButton = /* @__PURE__ */ read(\"StepButton\")\nexport const StepConnector = /* @__PURE__ */ read(\"StepConnector\")\nexport const StepIcon = /* @__PURE__ */ read(\"StepIcon\")\nexport const StepLabel = /* @__PURE__ */ read(\"StepLabel\")\nexport const Stepper = /* @__PURE__ */ read(\"Stepper\")\nexport const SvgIcon = /* @__PURE__ */ read(\"SvgIcon\")\nexport const Switch = /* @__PURE__ */ read(\"Switch\")\nexport const Tab = /* @__PURE__ */ read(\"Tab\")\nexport const Table = /* @__PURE__ */ read(\"Table\")\nexport const TableBody = /* @__PURE__ */ read(\"TableBody\")\nexport const TableCell = /* @__PURE__ */ read(\"TableCell\")\nexport const TableContainer = /* @__PURE__ */ read(\"TableContainer\")\nexport const TableFooter = /* @__PURE__ */ read(\"TableFooter\")\nexport const TableHead = /* @__PURE__ */ read(\"TableHead\")\nexport const TablePagination = /* @__PURE__ */ read(\"TablePagination\")\nexport const TableRow = /* @__PURE__ */ read(\"TableRow\")\nexport const TableSortLabel = /* @__PURE__ */ read(\"TableSortLabel\")\nexport const Tabs = /* @__PURE__ */ read(\"Tabs\")\nexport const TextField = /* @__PURE__ */ read(\"TextField\")\nexport const TextareaAutosize = /* @__PURE__ */ read(\"TextareaAutosize\")\nexport const ThemeProvider = /* @__PURE__ */ read(\"ThemeProvider\")\nexport const ToggleButton = /* @__PURE__ */ read(\"ToggleButton\")\nexport const ToggleButtonGroup = /* @__PURE__ */ read(\"ToggleButtonGroup\")\nexport const Toolbar = /* @__PURE__ */ read(\"Toolbar\")\nexport const Tooltip = /* @__PURE__ */ read(\"Tooltip\")\nexport const Typography = /* @__PURE__ */ read(\"Typography\")\nexport const alpha = /* @__PURE__ */ read(\"alpha\")\nexport const createTheme = /* @__PURE__ */ read(\"createTheme\")\nexport const useTheme = /* @__PURE__ */ read(\"useTheme\")\nexport default host && host.__esModule ? host.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AKlD,IAAMC,EAA6BC,EAAK,YAAY,EAIpD,IAAMC,EAA6BC,EAAK,YAAY,EAC9CC,EAAiCD,EAAK,gBAAgB,EAQ5D,IAAME,EAA+BC,EAAK,cAAc,EAGxD,IAAMC,EAA2BC,EAAK,UAAU,EAOhD,IAAMC,EAAwBC,EAAK,OAAO,EAI1C,IAAMC,EAAwBC,EAAK,OAAO,EACpCC,EAA6BD,EAAK,YAAY,EAGpD,IAAME,EAAyBC,EAAK,QAAQ,EAgB5C,IAAMC,EAAyBC,EAAK,QAAQ,EAY5C,IAAMC,EAA4BC,EAAK,WAAW,EAMlD,IAAMC,EAA0BC,EAAK,SAAS,EACxCC,EAA6BD,EAAK,YAAY,EAC9CE,EAAwBF,EAAK,OAAO,EAGjD,IAAOG,EAAQC,GAAQA,EAAK,WAAaA,EAAK,QAAUA",
6
- "names": ["host", "read", "name", "AssemblySelector", "read", "CascadingMenuButton", "read", "ContextMenu", "read", "Dialog", "read", "ErrorBanner", "read", "ErrorMessage", "read", "FileSelector", "read", "InfoDialog", "read", "LAUNCH_LABEL", "read", "LoadingEllipses", "read", "LoadingOverlay", "pushLaunchViewMenuItem", "read", "ui_default", "host", "host", "read", "name", "Alert", "read", "Autocomplete", "read", "Button", "read", "Checkbox", "read", "DialogActions", "read", "DialogContent", "FormControl", "read", "FormControlLabel", "FormLabel", "read", "IconButton", "read", "InputLabel", "read", "LinearProgress", "ListItemText", "read", "MenuItem", "read", "Paper", "read", "Radio", "read", "RadioGroup", "Select", "read", "Switch", "read", "TextField", "read", "Tooltip", "read", "Typography", "alpha", "material_default", "host"]
7
- }
@@ -1,2 +0,0 @@
1
- import{a as l}from"./chunk-T4R3ZVEM.js";import{d}from"./chunk-TENPGIPX.js";var o=JBrowseExports["@jbrowse/core/data_adapters/getFeatureAdapter"],R=e=>o!=null&&e in Object(o)?o[e]:Object.assign(function(){throw new Error("This JBrowse does not provide '"+e+"' from '@jbrowse/core/data_adapters/getFeatureAdapter' to plugins: GraphGenomeView was built for a different JBrowse version, so update the plugin or JBrowse")},{jbrowseHostMissing:e});var u=R("getFeatureAdapterOrThrow"),v=o&&o.__esModule?o.default:o;var t=JBrowseExports["@jbrowse/core/util/aborting"],_=e=>t!=null&&e in Object(t)?t[e]:Object.assign(function(){throw new Error("This JBrowse does not provide '"+e+"' from '@jbrowse/core/util/aborting' to plugins: GraphGenomeView was built for a different JBrowse version, so update the plugin or JBrowse")},{jbrowseHostMissing:e}),w=_("checkAbortSignal");var T=t&&t.__esModule?t.default:t;var r=JBrowseExports["@jbrowse/core/util/diagonalizeRegions"],z=e=>r!=null&&e in Object(r)?r[e]:Object.assign(function(){throw new Error("This JBrowse does not provide '"+e+"' from '@jbrowse/core/util/diagonalizeRegions' to plugins: GraphGenomeView was built for a different JBrowse version, so update the plugin or JBrowse")},{jbrowseHostMissing:e}),f=z("diagonalizeRegions"),y=r&&r.__esModule?r.default:r;async function P(e,{sessionId:s,adapters:i,referenceRegions:h,currentRegions:g,bpPerPx:b,signal:a,statusCallback:n}){if(!s)throw new Error("must pass a unique session id");w(a);let m=g[0]?.assemblyName;n?.("Downloading alignments");let p=[];for(let[x,{adapterConfig:j,fetchRegions:B,refRefNameMap:E,queryRefNameMap:J}]of i.entries()){let F=await u({pluginManager:e,sessionId:s,adapterConfig:j}),O={sessionId:s,signal:a,bpPerPx:b,statusCallback:n,targetAssemblyName:m},M=d(await F.getFeaturesInMultipleRegionsArray(B,O),c=>c.id());n?.(i.length>1?`Processing alignments (${x+1}/${i.length})`:"Processing alignments");for(let c of l(M,{refRefNameMap:E,queryRefNameMap:J}))p.push(c)}if(p.length===0)return null;let A=await f(p,h,g,{signal:a,statusCallback:n});return n?.("Diagonalization complete!"),A}export{P as executeDiagonalize};
2
- //# sourceMappingURL=executeDiagonalize-SGJDSTYC.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["host:@jbrowse/core/data_adapters/getFeatureAdapter", "host:@jbrowse/core/util/aborting", "host:@jbrowse/core/util/diagonalizeRegions", "../../node_modules/.pnpm/@jbrowse+synteny-core@5.0.0-beta.11_@emotion+react@11.14.0_@types+react@19.3.0_react@19_6b83ce7782285603d64e48e3d7c0913c/node_modules/@jbrowse/synteny-core/esm/executeDiagonalize.js"],
4
- "sourcesContent": ["const host = JBrowseExports[\"@jbrowse/core/data_adapters/getFeatureAdapter\"]\nconst read = name =>\n host != null && name in Object(host)\n ? host[name]\n : Object.assign(\n function () {\n throw new Error(\n \"This JBrowse does not provide '\" + name + \"' from '\" + \"@jbrowse/core/data_adapters/getFeatureAdapter\" + \"' to plugins: GraphGenomeView was built for a different JBrowse version, so update the plugin or JBrowse\",\n )\n },\n { jbrowseHostMissing: name },\n )\nexport const getFeatureAdapter = /* @__PURE__ */ read(\"getFeatureAdapter\")\nexport const getFeatureAdapterOrThrow = /* @__PURE__ */ read(\"getFeatureAdapterOrThrow\")\nexport default host && host.__esModule ? host.default : host", "const host = JBrowseExports[\"@jbrowse/core/util/aborting\"]\nconst read = name =>\n host != null && name in Object(host)\n ? host[name]\n : Object.assign(\n function () {\n throw new Error(\n \"This JBrowse does not provide '\" + name + \"' from '\" + \"@jbrowse/core/util/aborting\" + \"' to plugins: GraphGenomeView was built for a different JBrowse version, so update the plugin or JBrowse\",\n )\n },\n { jbrowseHostMissing: name },\n )\nexport const checkAbortSignal = /* @__PURE__ */ read(\"checkAbortSignal\")\nexport const createAbortBreakpoint = /* @__PURE__ */ read(\"createAbortBreakpoint\")\nexport const handleFetchError = /* @__PURE__ */ read(\"handleFetchError\")\nexport const isAbortException = /* @__PURE__ */ read(\"isAbortException\")\nexport const makeAbortError = /* @__PURE__ */ read(\"makeAbortError\")\nexport const withAbortCheck = /* @__PURE__ */ read(\"withAbortCheck\")\nexport default host && host.__esModule ? host.default : host", "const host = JBrowseExports[\"@jbrowse/core/util/diagonalizeRegions\"]\nconst read = name =>\n host != null && name in Object(host)\n ? host[name]\n : Object.assign(\n function () {\n throw new Error(\n \"This JBrowse does not provide '\" + name + \"' from '\" + \"@jbrowse/core/util/diagonalizeRegions\" + \"' to plugins: GraphGenomeView was built for a different JBrowse version, so update the plugin or JBrowse\",\n )\n },\n { jbrowseHostMissing: name },\n )\nexport const diagonalizeRegions = /* @__PURE__ */ read(\"diagonalizeRegions\")\nexport default host && host.__esModule ? host.default : host", "import { getFeatureAdapterOrThrow } from '@jbrowse/core/data_adapters/getFeatureAdapter';\nimport { dedupe } from '@jbrowse/core/util';\nimport { checkAbortSignal } from '@jbrowse/core/util/aborting';\nimport { diagonalizeRegions } from '@jbrowse/core/util/diagonalizeRegions';\nimport { extractAlignmentData } from './extractAlignmentData.js';\n/**\n * Fetch a pair of axes' alignments and run the shared `diagonalizeRegions` off\n * the main thread. Shared by the linear-synteny and dotplot diagonalize RPCs \u2014\n * a dotplot is the single-LEVEL case of a stacked synteny view, not the\n * single-adapter one \u2014 so the two can't drift. They previously did: the\n * dotplot caller reached one display deep and diagonalized against a single\n * track's alignments, and before that only the synteny copy forwarded\n * `targetAssemblyName`, so a dotplot on a multi-genome track diagonalized\n * against the wrong pair's alignments.\n *\n * Returns null when the pair has no alignments to reorder, rather than\n * throwing, so an empty pair reads as \"nothing to do\" and an init-time\n * auto-diagonalize still resolves instead of stalling.\n */\nexport async function executeDiagonalize(pluginManager, { sessionId, adapters, referenceRegions, currentRegions, bpPerPx, signal, statusCallback, }) {\n if (!sessionId) {\n throw new Error('must pass a unique session id');\n }\n checkAbortSignal(signal);\n // Which of its N-1 pairs a multi-genome adapter (MCScanBlocksAdapter,\n // MultiGenomePAFAdapter) should return: the assembly being reordered. Derived\n // rather than taken as an argument \u2014 it is exactly currentRegions' assembly,\n // so a caller could only ever pass the same value or a wrong one. Forgetting\n // to pass it is what made the dotplot diagonalize against the wrong band\n // while the synteny view worked.\n const targetAssemblyName = currentRegions[0]?.assemblyName;\n // The getFeatures call upgrades \"Downloading alignments\" to a determinate\n // download/parse bar while it runs. Still fetched sequentially: the adapters\n // are typically the same file at different perspectives, so serial fetching\n // keeps peak worker memory to one adapter's records rather than all of them.\n statusCallback?.('Downloading alignments');\n const alignments = [];\n for (const [adapterIndex, { adapterConfig, fetchRegions, refRefNameMap, queryRefNameMap },] of adapters.entries()) {\n const dataAdapter = await getFeatureAdapterOrThrow({\n pluginManager,\n sessionId,\n adapterConfig,\n });\n const fetchOpts = {\n sessionId,\n signal,\n bpPerPx,\n statusCallback,\n targetAssemblyName,\n };\n const feats = dedupe(await dataAdapter.getFeaturesInMultipleRegionsArray(fetchRegions, fetchOpts), f => f.id());\n // Labelled because it is a distinct pass over hundreds of thousands of\n // features; without it the bar sat on the fetch's last percentage. Numbered\n // when there are several adapters, so a multi-track level doesn't look like\n // it is repeating the same step.\n statusCallback?.(adapters.length > 1\n ? `Processing alignments (${adapterIndex + 1}/${adapters.length})`\n : 'Processing alignments');\n // append element-by-element, not `push(...arr)`: whole-genome synteny\n // yields hundreds of thousands of alignments, and spreading that many\n // args overflows the call stack (\"Maximum call stack size exceeded\")\n for (const a of extractAlignmentData(feats, {\n refRefNameMap,\n queryRefNameMap,\n })) {\n alignments.push(a);\n }\n }\n if (alignments.length === 0) {\n return null;\n }\n // The algorithm labels and ticks its own two phases from here, so it reports\n // a live percentage rather than one message held for its whole run.\n const result = await diagonalizeRegions(alignments, referenceRegions, currentRegions, { signal, statusCallback });\n statusCallback?.('Diagonalization complete!');\n return result;\n}\n"],
5
- "mappings": "2EAAA,IAAMA,EAAO,eAAe,+CAA+C,EACrEC,EAAOC,GACXF,GAAQ,MAAQE,KAAQ,OAAOF,CAAI,EAC/BA,EAAKE,CAAI,EACT,OAAO,OACL,UAAY,CACV,MAAM,IAAI,MACR,kCAAoCA,EAAO,+JAC7C,CACF,EACA,CAAE,mBAAoBA,CAAK,CAC7B,EAEC,IAAMC,EAA2CC,EAAK,0BAA0B,EAChFC,EAAQC,GAAQA,EAAK,WAAaA,EAAK,QAAUA,ECdxD,IAAMC,EAAO,eAAe,6BAA6B,EACnDC,EAAOC,GACXF,GAAQ,MAAQE,K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AAS,EAC7B,0BAA0BS,EAAe,CAAC,IAAIT,EAAS,MAAM,IAC7D,uBAAuB,EAI7B,QAAWoB,KAAKC,EAAqBJ,EAAO,CACxC,cAAAL,EACA,gBAAAC,CACJ,CAAC,EACGL,EAAW,KAAKY,CAAC,CAEzB,CACA,GAAIZ,EAAW,SAAW,EACtB,OAAO,KAIX,IAAMc,EAAS,MAAMC,EAAmBf,EAAYP,EAAkBC,EAAgB,CAAE,OAAAE,EAAQ,eAAAC,CAAe,CAAC,EAChH,OAAAA,IAAiB,2BAA2B,EACrCiB,CACX",
6
- "names": ["host", "read", "name", "getFeatureAdapterOrThrow", "read", "getFeatureAdapter_default", "host", "host", "read", "name", "checkAbortSignal", "aborting_default", "host", "host", "read", "name", "diagonalizeRegions", "diagonalizeRegions_default", "executeDiagonalize", "pluginManager", "sessionId", "adapters", "referenceRegions", "currentRegions", "bpPerPx", "signal", "statusCallback", "checkAbortSignal", "targetAssemblyName", "alignments", "adapterIndex", "adapterConfig", "fetchRegions", "refRefNameMap", "queryRefNameMap", "dataAdapter", "getFeatureAdapterOrThrow", "fetchOpts", "feats", "dedupe", "f", "a", "extractAlignmentData", "result", "diagonalizeRegions"]
7
- }
@@ -1,2 +0,0 @@
1
- import{d as B,g as C,i as $,j as O,k as j,l as W,n as X,p as H,q as A,s as z,u as F}from"./chunk-DFZ6G452.js";import{Db as M,Fb as E,Nb as R,q as S,r as L}from"./chunk-3Y2G43HK.js";import"./chunk-4AXLBI6M.js";import"./chunk-22A3MS5J.js";import{o as P}from"./chunk-EV54SYM7.js";import"./chunk-DSSZIADV.js";import"./chunk-PT3WV5ED.js";import"./chunk-GK5YETAZ.js";import"./chunk-LIRBZOBX.js";import"./chunk-ODQSCM3F.js";import"./chunk-IKJZPPOA.js";import"./chunk-NDRLCGPC.js";import"./chunk-YU7T5WOQ.js";import{a as v,b as e,c as f}from"./chunk-JMBDTNUR.js";var m=JBrowseExports["@jbrowse/display-kit/renderDisplaySvg"],U=t=>m!=null&&t in Object(m)?m[t]:Object.assign(function(){throw new Error("This JBrowse does not provide '"+t+"' from '@jbrowse/display-kit/renderDisplaySvg' to plugins: GraphGenomeView was built for a different JBrowse version, so update the plugin or JBrowse")},{jbrowseHostMissing:t});var Y=U("renderDisplaySvg");var ot=m&&m.__esModule?m.default:m;var w=JBrowseExports["@jbrowse/core/util/paintLayer"],Z=t=>w!=null&&t in Object(w)?w[t]:Object.assign(function(){throw new Error("This JBrowse does not provide '"+t+"' from '@jbrowse/core/util/paintLayer' to plugins: GraphGenomeView was built for a different JBrowse version, so update the plugin or JBrowse")},{jbrowseHostMissing:t}),G=Z("PaintLayer"),lt=w&&w.__esModule?w.default:w;var k={fontFamily:"sans-serif",fontSize:11},x=16,q=2,J=t=>t;function N({model:t,lift:n,drawPaths:o,width:r,height:a,rasterize:i}){let p=t.buildDrawing(n,o);if(!p)return null;let c=i?q:1,d=i?void 0:M(r,a),h=d?.canvas??document.createElement("canvas");d||(h.width=Math.round(r*c),h.height=Math.round(a*c));let{scaleX:u,scaleY:y,translateX:l,translateY:s}=t.screenTransform,g=new E(h);return g.uploadGeometry(p.batch),g.updateTransform({scaleX:u*c,scaleY:y*c,translateX:l*c,translateY:s*c,dpr:c}),g.render([0,0,0,0]),d?e("svg",{width:r,height:a,overflow:"hidden",children:e("g",{dangerouslySetInnerHTML:{__html:d.markup()}})}):e("image",{width:r,height:a,href:h.toDataURL("image/png")})}function D(t,n){if(!t.swatch)return{key:t.key,width:t.label.length*P,height:x,draw:i=>e("text",{...k,x:i,y:0,fill:"#666",children:t.label},t.key)};let o=t.swatch,r=C(o),a=(t.strong??"")+t.label;return{key:t.key,width:Math.max(r+5+a.length*P,(t.under?.length??0)*P),height:t.under?x*2:x,draw:i=>f("g",{...k,children:[e(W,{swatch:o,x:i,id:n}),f("text",{x:i+r+5,y:0,children:[t.strong?e("tspan",{fontWeight:"bold",children:t.strong}):null,t.label]}),t.under?e("text",{x:i,y:x,children:t.under}):null]},t.key)}}function Q({model:t,idPrefix:n}){let o=j(t).map(({testid:l,rows:s})=>s.map((g,b)=>D(g,`${n}-${l}-${b}`)));if(o.length===0)return null;let r=6,a=o.flat(),i=a.reduce((l,s)=>Math.max(l,s.width),-1/0)+r*2,p=a.reduce((l,s)=>l+s.height,0)+o.length*r,d=t.paneWidth-R-i+r,h=R+t.referenceStripZonePx,u=[],y=h+12-r/2;for(let l of o){y+=r;for(let s of l)u.push({row:s,y}),y+=s.height}return f("g",{"data-testid":"graph-svg-keys",children:[e("rect",{x:d-r,y:h,width:i,height:p,rx:3,fill:"#fff",fillOpacity:.82}),u.map(({row:l,y:s})=>e("g",{transform:`translate(0 ${s})`,children:l.draw(d)},l.key))]})}function K({x:t,y:n,text:o,fontSize:r,anchor:a,bold:i}){let p=o.length*r*.56+6,c=a==="middle"?t-p/2:t-3;return f(v,{children:[e("rect",{x:c,y:n-r*.65,width:p,height:r*1.3,rx:3,fill:"#fff",fillOpacity:.8}),e("text",{x:t,y:n+r*.35,textAnchor:a,fontSize:r,fontWeight:i?600:void 0,fill:"#18181c",children:o})]})}function tt({model:t}){return e("g",{fontFamily:k.fontFamily,children:t.overlayLabels.sizes.map(({key:n,text:o,x:r,y:a,kind:i,leader:p})=>f("g",{children:[p?e("line",{x1:p.arcX,y1:p.arcY,x2:p.labelX,y2:p.labelY,stroke:"#18181c"}):null,e(K,{x:r,y:a,text:o,fontSize:10,anchor:"middle",bold:i==="deletion"})]},n))})}function et({model:t}){return e("g",{fontFamily:k.fontFamily,children:t.visibleRowLabels.map(({label:n,y:o,top:r})=>e(K,{x:10,y:r,text:n,fontSize:11,anchor:"start"},o))})}function rt({model:t,rasterize:n,idPrefix:o}){let r=t.facetPanels,a=t.facetGrid,i=t.facetPlacement;if(!r||!a||!i)return null;let{columns:p,width:c,height:d}=a,h=a.total+S+14,u=O(t).map((l,s)=>D(l,`${o}-facet-key-${s}`)),y=u.map((l,s)=>u.slice(0,s).reduce((g,b)=>g+b.width+14,6));return f(v,{children:[e("g",{transform:`translate(0 ${h})`,children:u.map((l,s)=>l.draw(y[s]))}),r.map((l,s)=>{let g=i.cells[s],b=g%p*(c+S),I=Math.floor(g/p)*(L+d+S),_=l.walks[0],V=D($(t,_),`${o}-facet-${s}`);return f("g",{transform:`translate(${b} ${I})`,children:[e("g",{transform:`translate(0 ${x-2})`,children:V.draw(6)}),e("g",{transform:`translate(0 ${L})`,children:e(N,{model:t,lift:l,drawPaths:!1,width:c,height:d,rasterize:n})})]},_.name)})]})}function T({model:t,rasterize:n=!1,idPrefix:o}){let r=t.paneWidth,a=t.canvasHeight,i=!!t.layoutResult?.tubeMap,p={rasterizeLayers:n};return f("g",{"data-testid":"graph-pane-svg",children:[t.facetPanels?e(rt,{model:t,rasterize:n,idPrefix:o}):i?e(G,{width:r,height:a,opts:p,paint:c=>{z(J(c),t,{highlightNode:null})}}):e(N,{model:t,lift:t.drawnHighlight,drawPaths:t.effectiveDrawPaths,width:r,height:a,rasterize:n}),t.facetPanels?null:f(v,{children:[e(B,{model:t}),e(X,{model:t}),e(tt,{model:t}),e(H,{model:t}),e(F,{model:t,vector:!0}),e(et,{model:t})]}),t.referenceStripShown?e(G,{width:r,height:a,opts:p,paint:c=>{A(J(c),t,{lit:void 0,dpr:1})}}):null,t.facetPanels?null:e(Q,{model:t,idPrefix:o})]})}function nt({model:t,opts:n}){return e(T,{model:t,rasterize:!!n?.rasterizeLayers,idPrefix:`graph-${t.id}`})}function Gt(t,n){return Y(t,n,nt)}export{Gt as renderGraphTrackSvg};
2
- //# sourceMappingURL=renderSvg-WMFKXKFZ.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["host:@jbrowse/display-kit/renderDisplaySvg", "host:@jbrowse/core/util/paintLayer", "../../src/GraphGenomeView/components/PaneSvg.tsx", "../../src/LinearGraphDisplay/renderSvg.tsx"],
4
- "sourcesContent": ["const host = JBrowseExports[\"@jbrowse/display-kit/renderDisplaySvg\"]\nconst read = name =>\n host != null && name in Object(host)\n ? host[name]\n : Object.assign(\n function () {\n throw new Error(\n \"This JBrowse does not provide '\" + name + \"' from '\" + \"@jbrowse/display-kit/renderDisplaySvg\" + \"' to plugins: GraphGenomeView was built for a different JBrowse version, so update the plugin or JBrowse\",\n )\n },\n { jbrowseHostMissing: name },\n )\nexport const SvgLegend = /* @__PURE__ */ read(\"SvgLegend\")\nexport const SvgPinnedHighlight = /* @__PURE__ */ read(\"SvgPinnedHighlight\")\nexport const SvgYAxis = /* @__PURE__ */ read(\"SvgYAxis\")\nexport const exportsTooLargeNote = /* @__PURE__ */ read(\"exportsTooLargeNote\")\nexport const renderDisplaySvg = /* @__PURE__ */ read(\"renderDisplaySvg\")\nexport const svgSidebarWidthOf = /* @__PURE__ */ read(\"svgSidebarWidthOf\")\nexport default host && host.__esModule ? host.default : host", "const host = JBrowseExports[\"@jbrowse/core/util/paintLayer\"]\nconst read = name =>\n host != null && name in Object(host)\n ? host[name]\n : Object.assign(\n function () {\n throw new Error(\n \"This JBrowse does not provide '\" + name + \"' from '\" + \"@jbrowse/core/util/paintLayer\" + \"' to plugins: GraphGenomeView was built for a different JBrowse version, so update the plugin or JBrowse\",\n )\n },\n { jbrowseHostMissing: name },\n )\nexport const PaintLayer = /* @__PURE__ */ read(\"PaintLayer\")\nexport default host && host.__esModule ? host.default : host", "import { FACET_GAP_PX, FACET_TITLE_PX } from '@jbrowse/bandage-core/facetGrid'\nimport { LEGEND_INSET_PX } from '@jbrowse/bandage-core/labelLayout'\nimport { LABEL_CHAR_PX } from '@jbrowse/bandage-core/overlayLabels'\nimport { Canvas2DRenderer } from '@jbrowse/bandage-core/renderer/Canvas2DRenderer'\nimport { svgCanvas } from '@jbrowse/bandage-core/renderer/svgCanvas'\nimport { PaintLayer } from '@jbrowse/core/util/paintLayer'\n\nimport BubbleHalos from './BubbleHalos'\nimport GenePins from './GenePins'\nimport LabelLayer from './LabelLayer'\nimport { SvgSwatch } from './LegendSwatch'\nimport { paintReferenceStrip } from './ReferenceStripOverlay'\nimport { paintTubeMap } from './TubeMapOverlay'\nimport WalkRowsOverlay from './WalkRowsOverlay'\nimport {\n facetKeyRows,\n legendSections,\n swatchWidth,\n walkKeyRow,\n} from '../legendSections'\n\nimport type { LegendRow } from '../legendSections'\nimport type { GraphPaneModel } from '../model'\nimport type { WalkLift } from '@jbrowse/bandage-core/walkHighlight'\nimport type { Ctx2D } from '@jbrowse/core/util/paintLayer'\n\nconst FONT = { fontFamily: 'sans-serif', fontSize: 11 }\nconst ROW_PX = 16\nconst RASTER_SCALE = 2\n\nconst asCanvasCtx = (ctx: Ctx2D) => ctx as CanvasRenderingContext2D\n\n// The drawing's nodes and edges through the pane's own transform, so the\n// export lines up with the linear view's ruler wherever the screen does\nfunction Body({\n model,\n lift,\n drawPaths,\n width,\n height,\n rasterize,\n}: {\n model: GraphPaneModel\n lift: WalkLift | undefined\n drawPaths: boolean\n width: number\n height: number\n rasterize: boolean\n}) {\n const built = model.buildDrawing(lift, drawPaths)\n if (!built) {\n return null\n }\n const k = rasterize ? RASTER_SCALE : 1\n const vector = rasterize ? undefined : svgCanvas(width, height)\n const canvas = vector?.canvas ?? document.createElement('canvas')\n if (!vector) {\n canvas.width = Math.round(width * k)\n canvas.height = Math.round(height * k)\n }\n const { scaleX, scaleY, translateX, translateY } = model.screenTransform\n const renderer = new Canvas2DRenderer(canvas)\n renderer.uploadGeometry(built.batch)\n renderer.updateTransform({\n scaleX: scaleX * k,\n scaleY: scaleY * k,\n translateX: translateX * k,\n translateY: translateY * k,\n dpr: k,\n })\n renderer.render([0, 0, 0, 0])\n return vector ? (\n <svg width={width} height={height} overflow=\"hidden\">\n <g dangerouslySetInnerHTML={{ __html: vector.markup() }} />\n </svg>\n ) : (\n <image width={width} height={height} href={canvas.toDataURL('image/png')} />\n )\n}\n\ninterface KeyRow {\n key: string\n width: number\n height: number\n draw: (left: number) => React.ReactNode\n}\n\n// A legend row as the screen lays it out: its swatch, then its words, the\n// line under it if any; a note is grey words alone\nfunction svgRow(row: LegendRow, id: string): KeyRow {\n if (!row.swatch) {\n return {\n key: row.key,\n width: row.label.length * LABEL_CHAR_PX,\n height: ROW_PX,\n draw: left => (\n <text key={row.key} {...FONT} x={left} y={0} fill=\"#666\">\n {row.label}\n </text>\n ),\n }\n }\n const swatch = row.swatch\n const sw = swatchWidth(swatch)\n const words = (row.strong ?? '') + row.label\n return {\n key: row.key,\n width: Math.max(\n sw + 5 + words.length * LABEL_CHAR_PX,\n (row.under?.length ?? 0) * LABEL_CHAR_PX,\n ),\n height: row.under ? ROW_PX * 2 : ROW_PX,\n draw: left => (\n <g key={row.key} {...FONT}>\n <SvgSwatch swatch={swatch} x={left} id={id} />\n <text x={left + sw + 5} y={0}>\n {row.strong ? <tspan fontWeight=\"bold\">{row.strong}</tspan> : null}\n {row.label}\n </text>\n {row.under ? (\n <text x={left} y={ROW_PX}>\n {row.under}\n </text>\n ) : null}\n </g>\n ),\n }\n}\n\n// The screen's legend panel, section by section\nfunction Keys({\n model,\n idPrefix,\n}: {\n model: GraphPaneModel\n idPrefix: string\n}) {\n const sections = legendSections(model).map(({ testid, rows }) =>\n rows.map((row, i) => svgRow(row, `${idPrefix}-${testid}-${i}`)),\n )\n if (sections.length === 0) {\n return null\n }\n const pad = 6\n const rows = sections.flat()\n const boxWidth =\n rows.reduce((max, r) => Math.max(max, r.width), -Infinity) + pad * 2\n const boxHeight =\n rows.reduce((sum, r) => sum + r.height, 0) + sections.length * pad\n const right = model.paneWidth - LEGEND_INSET_PX\n const left = right - boxWidth + pad\n const top = LEGEND_INSET_PX + model.referenceStripZonePx\n const placed: { row: KeyRow; y: number }[] = []\n let y = top + 12 - pad / 2\n for (const section of sections) {\n y += pad\n for (const row of section) {\n placed.push({ row, y })\n y += row.height\n }\n }\n return (\n <g data-testid=\"graph-svg-keys\">\n <rect\n x={left - pad}\n y={top}\n width={boxWidth}\n height={boxHeight}\n rx={3}\n fill=\"#fff\"\n fillOpacity={0.82}\n />\n {placed.map(({ row, y }) => (\n <g key={row.key} transform={`translate(0 ${y})`}>\n {row.draw(left)}\n </g>\n ))}\n </g>\n )\n}\n\n// Words on a pale rounded backing, as the screen's labels sit\nfunction Chip({\n x,\n y,\n text,\n fontSize,\n anchor,\n bold,\n}: {\n x: number\n y: number\n text: string\n fontSize: number\n anchor: 'start' | 'middle'\n bold?: boolean\n}) {\n const w = text.length * fontSize * 0.56 + 6\n const left = anchor === 'middle' ? x - w / 2 : x - 3\n return (\n <>\n <rect\n x={left}\n y={y - fontSize * 0.65}\n width={w}\n height={fontSize * 1.3}\n rx={3}\n fill=\"#fff\"\n fillOpacity={0.8}\n />\n <text\n x={x}\n y={y + fontSize * 0.35}\n textAnchor={anchor}\n fontSize={fontSize}\n fontWeight={bold ? 600 : undefined}\n fill=\"#18181c\"\n >\n {text}\n </text>\n </>\n )\n}\n\n// The node and deletion lengths written on the drawing, with their leaders\nfunction SizeLabels({ model }: { model: GraphPaneModel }) {\n return (\n <g fontFamily={FONT.fontFamily}>\n {model.overlayLabels.sizes.map(({ key, text, x, y, kind, leader }) => (\n <g key={key}>\n {leader ? (\n <line\n x1={leader.arcX}\n y1={leader.arcY}\n x2={leader.labelX}\n y2={leader.labelY}\n stroke=\"#18181c\"\n />\n ) : null}\n <Chip\n x={x}\n y={y}\n text={text}\n fontSize={10}\n anchor=\"middle\"\n bold={kind === 'deletion'}\n />\n </g>\n ))}\n </g>\n )\n}\n\nfunction RowLabels({ model }: { model: GraphPaneModel }) {\n return (\n <g fontFamily={FONT.fontFamily}>\n {model.visibleRowLabels.map(({ label, y, top }) => (\n <Chip\n key={y}\n x={10}\n y={top}\n text={label}\n fontSize={11}\n anchor=\"start\"\n />\n ))}\n </g>\n )\n}\n\n// Each lifted walk in a panel of its own, its key as the panel's title\nfunction Facets({\n model,\n rasterize,\n idPrefix,\n}: {\n model: GraphPaneModel\n rasterize: boolean\n idPrefix: string\n}) {\n const panels = model.facetPanels\n const grid = model.facetGrid\n const place = model.facetPlacement\n if (!panels || !grid || !place) {\n return null\n }\n const { columns, width, height } = grid\n const keyY = grid.total + FACET_GAP_PX + 14\n const key = facetKeyRows(model).map((row, i) =>\n svgRow(row, `${idPrefix}-facet-key-${i}`),\n )\n const keyX = key.map((_, i) =>\n key.slice(0, i).reduce((x, row) => x + row.width + 14, 6),\n )\n return (\n <>\n <g transform={`translate(0 ${keyY})`}>\n {key.map((row, i) => row.draw(keyX[i]!))}\n </g>\n {panels.map((lift, i) => {\n const cell = place.cells[i]!\n const x = (cell % columns) * (width + FACET_GAP_PX)\n const y =\n Math.floor(cell / columns) * (FACET_TITLE_PX + height + FACET_GAP_PX)\n const walk = lift.walks[0]!\n const title = svgRow(walkKeyRow(model, walk), `${idPrefix}-facet-${i}`)\n return (\n <g key={walk.name} transform={`translate(${x} ${y})`}>\n <g transform={`translate(0 ${ROW_PX - 2})`}>{title.draw(6)}</g>\n <g transform={`translate(0 ${FACET_TITLE_PX})`}>\n <Body\n model={model}\n lift={lift}\n drawPaths={false}\n width={width}\n height={height}\n rasterize={rasterize}\n />\n </g>\n </g>\n )\n })}\n </>\n )\n}\n\n// The pane as the screen draws it, for the linear view's SVG export: the\n// canvas's ink, the tube map and reference strip painters, and the SVG\n// overlays the screen mounts over them. Hover and selection are left out.\nexport default function PaneSvg({\n model,\n rasterize = false,\n idPrefix,\n}: {\n model: GraphPaneModel\n rasterize?: boolean\n idPrefix: string\n}) {\n const width = model.paneWidth\n const height = model.canvasHeight\n const tubeMap = !!model.layoutResult?.tubeMap\n const opts = { rasterizeLayers: rasterize }\n return (\n <g data-testid=\"graph-pane-svg\">\n {model.facetPanels ? (\n <Facets model={model} rasterize={rasterize} idPrefix={idPrefix} />\n ) : tubeMap ? (\n <PaintLayer\n width={width}\n height={height}\n opts={opts}\n paint={ctx => {\n paintTubeMap(asCanvasCtx(ctx), model, { highlightNode: null })\n }}\n />\n ) : (\n <Body\n model={model}\n lift={model.drawnHighlight}\n drawPaths={model.effectiveDrawPaths}\n width={width}\n height={height}\n rasterize={rasterize}\n />\n )}\n {/* in the screen's stacking order, bottom first */}\n {model.facetPanels ? null : (\n <>\n <BubbleHalos model={model} />\n <GenePins model={model} />\n <SizeLabels model={model} />\n <LabelLayer model={model} />\n <WalkRowsOverlay model={model} vector />\n <RowLabels model={model} />\n </>\n )}\n {model.referenceStripShown ? (\n <PaintLayer\n width={width}\n height={height}\n opts={opts}\n paint={ctx => {\n paintReferenceStrip(asCanvasCtx(ctx), model, {\n lit: undefined,\n dpr: 1,\n })\n }}\n />\n ) : null}\n {model.facetPanels ? null : <Keys model={model} idPrefix={idPrefix} />}\n </g>\n )\n}\n", "import { renderDisplaySvg } from '@jbrowse/display-kit/renderDisplaySvg'\n\nimport PaneSvg from '../GraphGenomeView/components/PaneSvg'\n\nimport type { LinearGraphDisplayModel } from './model'\nimport type { LgvSvgBodyProps } from '@jbrowse/display-kit/renderDisplaySvg'\nimport type { ExportSvgDisplayOptions } from '@jbrowse/display-kit/types'\n\nfunction GraphTrackSvgBody({\n model,\n opts,\n}: LgvSvgBodyProps<LinearGraphDisplayModel>) {\n return (\n <PaneSvg\n model={model}\n rasterize={!!opts?.rasterizeLayers}\n idPrefix={`graph-${model.id}`}\n />\n )\n}\n\nexport function renderGraphTrackSvg(\n model: LinearGraphDisplayModel,\n opts?: ExportSvgDisplayOptions,\n) {\n return renderDisplaySvg(model, opts, GraphTrackSvgBody)\n}\n"],
5
- "mappings": "2iBAAA,IAAMA,EAAO,eAAe,uCAAuC,EAC7DC,EAAOC,GACXF,GAAQ,MAAQE,KAAQ,OAAOF,CAAI,EAC/BA,EAAKE,CAAI,EACT,OAAO,OACL,UAAY,CACV,MAAM,IAAI,MACR,kCAAoCA,EAAO,uJAC7C,CACF,EACA,CAAE,mBAAoBA,CAAK,CAC7B,EAKC,IAAMC,EAAmCC,EAAK,kBAAkB,EAEvE,IAAOC,GAAQC,GAAQA,EAAK,WAAaA,EAAK,QAAUA,EClBxD,IAAMC,EAAO,eAAe,+BAA+B,EACrDC,EAAOC,GACXF,GAAQ,MAAQE,KAAQ,O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AAiB,CACxD",
6
- "names": ["host", "read", "name", "renderDisplaySvg", "read", "renderDisplaySvg_default", "host", "host", "read", "name", "PaintLayer", "paintLayer_default", "FONT", "ROW_PX", "RASTER_SCALE", "asCanvasCtx", "ctx", "Body", "model", "lift", "drawPaths", "width", "height", "rasterize", "built", "k", "vector", "svgCanvas", "canvas", "scaleX", "scaleY", "translateX", "translateY", "renderer", "Canvas2DRenderer", "jsx", "svgRow", "row", "id", "LABEL_CHAR_PX", "left", "swatch", "sw", "swatchWidth", "words", "jsxs", "SvgSwatch", "Keys", "idPrefix", "sections", "legendSections", "testid", "rows", "i", "pad", "boxWidth", "max", "r", "boxHeight", "sum", "LEGEND_INSET_PX", "top", "placed", "section", "y", "Chip", "x", "text", "fontSize", "anchor", "bold", "w", "Fragment", "SizeLabels", "key", "kind", "leader", "RowLabels", "label", "Facets", "panels", "grid", "place", "columns", "keyY", "FACET_GAP_PX", "facetKeyRows", "keyX", "_", "cell", "FACET_TITLE_PX", "walk", "title", "walkKeyRow", "PaneSvg", "tubeMap", "opts", "PaintLayer", "paintTubeMap", "BubbleHalos_default", "GenePins_default", "LabelLayer_default", "WalkRowsOverlay_default", "paintReferenceStrip", "GraphTrackSvgBody", "model", "opts", "jsx", "PaneSvg", "renderGraphTrackSvg", "renderDisplaySvg"]
7
- }