@techdocs/cli 1.11.0 → 1.11.1-next.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 (88) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/embedded-app/index.html +1 -1
  3. package/dist/embedded-app/index.html.tmpl +1 -1
  4. package/dist/embedded-app/static/123.e2561e2e.chunk.js +2 -0
  5. package/dist/embedded-app/static/123.e2561e2e.chunk.js.map +1 -0
  6. package/dist/embedded-app/static/1659.12995005.chunk.js +2 -0
  7. package/dist/embedded-app/static/1659.12995005.chunk.js.map +1 -0
  8. package/dist/embedded-app/static/1749.88fabbd9.chunk.js +2 -0
  9. package/dist/embedded-app/static/1749.88fabbd9.chunk.js.map +1 -0
  10. package/dist/embedded-app/static/1994.2cfb821f.chunk.js +2 -0
  11. package/dist/embedded-app/static/1994.2cfb821f.chunk.js.map +1 -0
  12. package/dist/embedded-app/static/2295.f9986c48.chunk.js +5 -0
  13. package/dist/embedded-app/static/{2295.affbb231.chunk.js.map → 2295.f9986c48.chunk.js.map} +1 -1
  14. package/dist/embedded-app/static/346.9e02822e.chunk.js +2 -0
  15. package/dist/embedded-app/static/346.9e02822e.chunk.js.map +1 -0
  16. package/dist/embedded-app/static/3554.ca76c89d.chunk.js +2 -0
  17. package/dist/embedded-app/static/3554.ca76c89d.chunk.js.map +1 -0
  18. package/dist/embedded-app/static/4068.1e59fc00.chunk.js +2 -0
  19. package/dist/embedded-app/static/4068.1e59fc00.chunk.js.map +1 -0
  20. package/dist/embedded-app/static/4587.efbce5d5.chunk.js +2 -0
  21. package/dist/embedded-app/static/4587.efbce5d5.chunk.js.map +1 -0
  22. package/dist/embedded-app/static/4648.dfb3c345.chunk.js +2 -0
  23. package/dist/embedded-app/static/4648.dfb3c345.chunk.js.map +1 -0
  24. package/dist/embedded-app/static/6138.987a78a5.chunk.js +2 -0
  25. package/dist/embedded-app/static/6138.987a78a5.chunk.js.map +1 -0
  26. package/dist/embedded-app/static/6765.828c416f.chunk.js +2 -0
  27. package/dist/embedded-app/static/6765.828c416f.chunk.js.map +1 -0
  28. package/dist/embedded-app/static/7203.95d48503.chunk.js +2 -0
  29. package/dist/embedded-app/static/7203.95d48503.chunk.js.map +1 -0
  30. package/dist/embedded-app/static/7856.7856.2ef94f7d.css +2 -0
  31. package/dist/embedded-app/static/7856.7856.2ef94f7d.css.map +1 -0
  32. package/dist/embedded-app/static/7856.a9e5487d.chunk.js +4 -0
  33. package/dist/embedded-app/static/7856.a9e5487d.chunk.js.map +1 -0
  34. package/dist/embedded-app/static/8461.a73655fa.chunk.js +10 -0
  35. package/dist/embedded-app/static/8461.a73655fa.chunk.js.map +1 -0
  36. package/dist/embedded-app/static/{8877.e8bfd14a.chunk.js → 8877.01470f80.chunk.js} +2 -2
  37. package/dist/embedded-app/static/{8877.e8bfd14a.chunk.js.map → 8877.01470f80.chunk.js.map} +1 -1
  38. package/dist/embedded-app/static/9050.cfd5d3db.chunk.js +2 -0
  39. package/dist/embedded-app/static/9050.cfd5d3db.chunk.js.map +1 -0
  40. package/dist/embedded-app/static/9230.1fe8299d.chunk.js +2 -0
  41. package/dist/embedded-app/static/9230.1fe8299d.chunk.js.map +1 -0
  42. package/dist/embedded-app/static/main.1386fe6b.js +523 -0
  43. package/dist/embedded-app/static/main.1386fe6b.js.map +1 -0
  44. package/dist/embedded-app/static/module-remixicon.edbfebd0.js +2 -0
  45. package/dist/embedded-app/static/{module-remixicon.341273f1.js.map → module-remixicon.edbfebd0.js.map} +1 -1
  46. package/dist/embedded-app/static/{runtime.a488003a.js → runtime.e9011c21.js} +2 -2
  47. package/dist/embedded-app/static/runtime.e9011c21.js.map +1 -0
  48. package/dist/embedded-app/static/vendor.4d868e99.js +16 -0
  49. package/dist/embedded-app/static/vendor.4d868e99.js.map +1 -0
  50. package/dist/package.json.cjs.js +1 -1
  51. package/package.json +7 -7
  52. package/dist/embedded-app/static/123.142e539e.chunk.js +0 -2
  53. package/dist/embedded-app/static/123.142e539e.chunk.js.map +0 -1
  54. package/dist/embedded-app/static/1307.f9c6330b.chunk.js +0 -2
  55. package/dist/embedded-app/static/1307.f9c6330b.chunk.js.map +0 -1
  56. package/dist/embedded-app/static/1659.bb488e63.chunk.js +0 -2
  57. package/dist/embedded-app/static/1659.bb488e63.chunk.js.map +0 -1
  58. package/dist/embedded-app/static/1749.5c6d14b3.chunk.js +0 -2
  59. package/dist/embedded-app/static/1749.5c6d14b3.chunk.js.map +0 -1
  60. package/dist/embedded-app/static/1994.d0e9b7f4.chunk.js +0 -2
  61. package/dist/embedded-app/static/1994.d0e9b7f4.chunk.js.map +0 -1
  62. package/dist/embedded-app/static/2295.affbb231.chunk.js +0 -5
  63. package/dist/embedded-app/static/3554.f1e6f062.chunk.js +0 -2
  64. package/dist/embedded-app/static/3554.f1e6f062.chunk.js.map +0 -1
  65. package/dist/embedded-app/static/4089.137c33ab.chunk.js +0 -2
  66. package/dist/embedded-app/static/4089.137c33ab.chunk.js.map +0 -1
  67. package/dist/embedded-app/static/4384.041ffb6f.chunk.js +0 -2
  68. package/dist/embedded-app/static/4384.041ffb6f.chunk.js.map +0 -1
  69. package/dist/embedded-app/static/4587.d64f4b31.chunk.js +0 -2
  70. package/dist/embedded-app/static/4587.d64f4b31.chunk.js.map +0 -1
  71. package/dist/embedded-app/static/4648.b420cd3f.chunk.js +0 -2
  72. package/dist/embedded-app/static/4648.b420cd3f.chunk.js.map +0 -1
  73. package/dist/embedded-app/static/6138.d0e9af8c.chunk.js +0 -2
  74. package/dist/embedded-app/static/6138.d0e9af8c.chunk.js.map +0 -1
  75. package/dist/embedded-app/static/7203.488dadf4.chunk.js +0 -2
  76. package/dist/embedded-app/static/7203.488dadf4.chunk.js.map +0 -1
  77. package/dist/embedded-app/static/8461.dd2f61f9.chunk.js +0 -10
  78. package/dist/embedded-app/static/8461.dd2f61f9.chunk.js.map +0 -1
  79. package/dist/embedded-app/static/9050.50e00dc0.chunk.js +0 -2
  80. package/dist/embedded-app/static/9050.50e00dc0.chunk.js.map +0 -1
  81. package/dist/embedded-app/static/9230.cfa35d54.chunk.js +0 -2
  82. package/dist/embedded-app/static/9230.cfa35d54.chunk.js.map +0 -1
  83. package/dist/embedded-app/static/main.f8fa9bd1.js +0 -523
  84. package/dist/embedded-app/static/main.f8fa9bd1.js.map +0 -1
  85. package/dist/embedded-app/static/module-remixicon.341273f1.js +0 -2
  86. package/dist/embedded-app/static/runtime.a488003a.js.map +0 -1
  87. package/dist/embedded-app/static/vendor.9b873777.js +0 -16
  88. package/dist/embedded-app/static/vendor.9b873777.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/4068.1e59fc00.chunk.js","sources":["webpack://techdocs-cli-embedded-app/../../node_modules/react-aria-components/dist/private/TreeDropTargetDelegate.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-stately/dist/private/grid/GridCollection.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-stately/dist/private/table/TableCollection.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-stately/dist/private/table/useTableColumnResizeState.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-stately/dist/private/table/useTableState.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/grid/utils.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/table/utils.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/ar-AE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/table/intlStrings.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/bg-BG.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/da-DK.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/de-DE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/el-GR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/en-US.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/es-ES.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/et-EE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/fi-FI.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/fr-FR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/he-IL.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/hr-HR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/hu-HU.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/it-IT.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/ja-JP.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/ko-KR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/lt-LT.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/lv-LV.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/nb-NO.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/nl-NL.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/pl-PL.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/pt-BR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/pt-PT.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/ro-RO.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/ru-RU.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/sk-SK.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/sl-SI.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/sr-SP.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/sv-SE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/tr-TR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/uk-UA.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/zh-CN.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/table/zh-TW.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/table/useTableRowGroup.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/grid/useGridCell.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/table/useTableRow.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria-components/dist/private/Table.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-stately/dist/private/grid/useGridState.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/table/useTable.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/grid/useGrid.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/grid/useGridRow.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/table/useTableCell.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-stately/dist/private/layout/TableLayout.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-stately/dist/private/table/TableUtils.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-stately/dist/private/table/TableColumnLayout.mjs"],"sourcesContent":["const $808d92ba0ee34db1$var$X_SWITCH_THRESHOLD = 10;\nconst $808d92ba0ee34db1$var$Y_SWITCH_THRESHOLD = 5;\nclass $808d92ba0ee34db1$export$82c13862611c034e {\n setup(delegate, state, direction) {\n this.delegate = delegate;\n this.state = state;\n this.direction = direction;\n }\n getDropTargetFromPoint(x, y, isValidDropTarget) {\n let baseTarget = this.delegate.getDropTargetFromPoint(x, y, isValidDropTarget);\n if (!baseTarget || baseTarget.type === 'root') return baseTarget;\n return this.resolveDropTarget(baseTarget, x, y, isValidDropTarget);\n }\n resolveDropTarget(target, x, y, isValidDropTarget) {\n let tracking = this.pointerTracking;\n // Calculate movement directions\n let deltaY = y - tracking.lastY;\n let deltaX = x - tracking.lastX;\n let currentYMovement = tracking.yDirection;\n let currentXMovement = tracking.xDirection;\n if (Math.abs(deltaY) > $808d92ba0ee34db1$var$Y_SWITCH_THRESHOLD) {\n currentYMovement = deltaY > 0 ? 'down' : 'up';\n tracking.yDirection = currentYMovement;\n tracking.lastY = y;\n }\n if (Math.abs(deltaX) > $808d92ba0ee34db1$var$X_SWITCH_THRESHOLD) {\n currentXMovement = deltaX > 0 ? 'right' : 'left';\n tracking.xDirection = currentXMovement;\n tracking.lastX = x;\n }\n // Normalize to 'after'\n if (target.dropPosition === 'before') {\n let keyBefore = this.state.collection.getKeyBefore(target.key);\n if (keyBefore != null) {\n let convertedTarget = {\n type: 'item',\n key: keyBefore,\n dropPosition: 'after'\n };\n if (isValidDropTarget(convertedTarget)) target = convertedTarget;\n }\n }\n let potentialTargets = this.getPotentialTargets(target, isValidDropTarget);\n if (potentialTargets.length === 0) return {\n type: 'root'\n };\n let resolvedItemTarget;\n if (potentialTargets.length > 1) resolvedItemTarget = this.selectTarget(potentialTargets, target, x, y, currentYMovement, currentXMovement);\n else {\n resolvedItemTarget = potentialTargets[0];\n // Reset boundary context since we're not in a boundary case\n tracking.boundaryContext = null;\n }\n return resolvedItemTarget;\n }\n // Returns potential targets for an ambiguous drop position (e.g. after the last child of a parent, or after the parent itself)\n // Ordered by level, from innermost to outermost.\n getPotentialTargets(originalTarget, isValidDropTarget) {\n if (originalTarget.dropPosition === 'on') return [\n originalTarget\n ];\n let target = originalTarget;\n let collection = this.state.collection;\n let currentItem = collection.getItem(target.key);\n while(currentItem && currentItem?.type !== 'item' && currentItem.nextKey != null){\n target.key = currentItem.nextKey;\n currentItem = collection.getItem(currentItem.nextKey);\n }\n let potentialTargets = [\n target\n ];\n // If target has children and is expanded, use \"before first child\"\n if (currentItem && currentItem.hasChildNodes && this.state.expandedKeys.has(currentItem.key) && collection.getChildren && target.dropPosition === 'after') {\n // Find the first item child (traverse keys directly instead of using collection.getChildren, which may only include cells).\n let firstChildItemNode = currentItem.firstChildKey != null ? collection.getItem(currentItem.firstChildKey) : null;\n while(firstChildItemNode && firstChildItemNode.type !== 'item')firstChildItemNode = firstChildItemNode.nextKey != null ? collection.getItem(firstChildItemNode.nextKey) : null;\n if (firstChildItemNode?.type === 'item') {\n const beforeFirstChildTarget = {\n type: 'item',\n key: firstChildItemNode.key,\n dropPosition: 'before'\n };\n if (isValidDropTarget(beforeFirstChildTarget)) return [\n beforeFirstChildTarget\n ];\n else return [];\n }\n }\n if (currentItem?.nextKey != null) return [\n originalTarget\n ];\n // Walk up the parent chain to find ancestors that are the last child at their level\n let parentKey = currentItem?.parentKey;\n let ancestorTargets = [];\n while(parentKey){\n let parentItem = collection.getItem(parentKey);\n let nextItem = parentItem?.nextKey ? collection.getItem(parentItem.nextKey) : null;\n let isLastChildAtLevel = !nextItem || nextItem.parentKey !== parentKey;\n if (isLastChildAtLevel) {\n let afterParentTarget = {\n type: 'item',\n key: parentKey,\n dropPosition: 'after'\n };\n if (isValidDropTarget(afterParentTarget)) ancestorTargets.push(afterParentTarget);\n if (nextItem) break;\n }\n parentKey = parentItem?.parentKey;\n }\n if (ancestorTargets.length > 0) potentialTargets.push(...ancestorTargets);\n // Handle converting \"after\" to \"before next\" for non-ambiguous cases\n if (potentialTargets.length === 1) {\n let nextKey = collection.getKeyAfter(target.key);\n let nextNode = nextKey ? collection.getItem(nextKey) : null;\n if (nextKey != null && nextNode && currentItem && nextNode.level != null && currentItem.level != null && nextNode.level > currentItem.level) {\n let beforeTarget = {\n type: 'item',\n key: nextKey,\n dropPosition: 'before'\n };\n if (isValidDropTarget(beforeTarget)) return [\n beforeTarget\n ];\n }\n }\n return potentialTargets.filter(isValidDropTarget);\n }\n selectTarget(potentialTargets, originalTarget, x, y, currentYMovement, currentXMovement) {\n if (potentialTargets.length < 2) return potentialTargets[0];\n let tracking = this.pointerTracking;\n let currentItem = this.state.collection.getItem(originalTarget.key);\n let parentKey = currentItem?.parentKey;\n if (!parentKey) return potentialTargets[0];\n // More than 1 potential target - use Y for initial target, then X for switching levels\n // Initialize boundary context if needed\n if (!tracking.boundaryContext || tracking.boundaryContext.parentKey !== parentKey) {\n // If entering from below, start with outer-most\n let initialTargetIndex = tracking.yDirection === 'up' ? potentialTargets.length - 1 : 0;\n tracking.boundaryContext = {\n parentKey: parentKey,\n preferredTargetIndex: initialTargetIndex,\n lastSwitchY: y,\n lastSwitchX: x\n };\n }\n let boundaryContext = tracking.boundaryContext;\n let distanceFromLastXSwitch = Math.abs(x - boundaryContext.lastSwitchX);\n let distanceFromLastYSwitch = Math.abs(y - boundaryContext.lastSwitchY);\n // Switch between targets based on Y movement\n if (distanceFromLastYSwitch > $808d92ba0ee34db1$var$Y_SWITCH_THRESHOLD && currentYMovement) {\n let currentIndex = boundaryContext.preferredTargetIndex || 0;\n if (currentYMovement === 'down' && currentIndex === 0) // Moving down from inner-most, switch to outer-most\n boundaryContext.preferredTargetIndex = potentialTargets.length - 1;\n else if (currentYMovement === 'up' && currentIndex === potentialTargets.length - 1) // Moving up from outer-most, switch to inner-most\n boundaryContext.preferredTargetIndex = 0;\n // Reset x tracking so that moving diagonally doesn't cause flickering.\n tracking.xDirection = null;\n }\n // X movement controls level selection\n if (distanceFromLastXSwitch > $808d92ba0ee34db1$var$X_SWITCH_THRESHOLD && currentXMovement) {\n let currentTargetIndex = boundaryContext.preferredTargetIndex || 0;\n if (currentXMovement === 'left') {\n if (this.direction === 'ltr') // LTR: left = move to higher level in tree (increase index)\n {\n if (currentTargetIndex < potentialTargets.length - 1) {\n boundaryContext.preferredTargetIndex = currentTargetIndex + 1;\n boundaryContext.lastSwitchX = x;\n }\n } else // RTL: left = move to lower level in tree (decrease index)\n if (currentTargetIndex > 0) {\n boundaryContext.preferredTargetIndex = currentTargetIndex - 1;\n boundaryContext.lastSwitchX = x;\n }\n } else if (currentXMovement === 'right') {\n if (this.direction === 'ltr') // LTR: right = move to lower level in tree (decrease index)\n {\n if (currentTargetIndex > 0) {\n boundaryContext.preferredTargetIndex = currentTargetIndex - 1;\n boundaryContext.lastSwitchX = x;\n }\n } else // RTL: right = move to higher level in tree (increase index)\n if (currentTargetIndex < potentialTargets.length - 1) {\n boundaryContext.preferredTargetIndex = currentTargetIndex + 1;\n boundaryContext.lastSwitchX = x;\n }\n }\n // Reset y tracking so that moving diagonally doesn't cause flickering.\n tracking.yDirection = null;\n }\n let targetIndex = Math.max(0, Math.min(boundaryContext.preferredTargetIndex || 0, potentialTargets.length - 1));\n return potentialTargets[targetIndex];\n }\n constructor(){\n this.delegate = null;\n this.state = null;\n this.direction = 'ltr';\n this.pointerTracking = {\n lastY: 0,\n lastX: 0,\n yDirection: null,\n xDirection: null,\n boundaryContext: null\n };\n }\n}\n\n\nexport {$808d92ba0ee34db1$export$82c13862611c034e as TreeDropTargetDelegate};\n//# sourceMappingURL=TreeDropTargetDelegate.mjs.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ class $22f4441660dfbf05$export$de3fdf6493c353d {\n constructor(opts){\n this.keyMap = new Map();\n this.keyMap = new Map();\n this.columnCount = opts?.columnCount;\n this.rows = [];\n let visit = (node)=>{\n // If the node is the same object as the previous node for the same key,\n // we can skip this node and its children. We always visit columns though,\n // because we depend on order to build the columns array.\n let prevNode = this.keyMap.get(node.key);\n if (opts.visitNode) node = opts.visitNode(node);\n this.keyMap.set(node.key, node);\n let childKeys = new Set();\n let last = null;\n let rowHasCellWithColSpan = false;\n if (node.type === 'item') {\n for (let child of node.childNodes)if (child.props?.colSpan !== undefined) {\n rowHasCellWithColSpan = true;\n break;\n }\n }\n for (let child of node.childNodes){\n if (child.type === 'cell' && rowHasCellWithColSpan) {\n child.colspan = child.props?.colSpan;\n child.colSpan = child.props?.colSpan;\n child.colIndex = !last ? child.index : (last.colIndex ?? last.index) + (last.colSpan ?? 1);\n }\n if (child.type === 'cell' && child.parentKey == null) // if child is a cell parent key isn't already established by the collection, match child node to parent row\n child.parentKey = node.key;\n childKeys.add(child.key);\n if (last) {\n last.nextKey = child.key;\n child.prevKey = last.key;\n } else child.prevKey = null;\n visit(child);\n last = child;\n }\n if (last) last.nextKey = null;\n // Remove deleted nodes and their children from the key map\n if (prevNode) {\n for (let child of prevNode.childNodes)if (!childKeys.has(child.key)) remove(child);\n }\n };\n let remove = (node)=>{\n this.keyMap.delete(node.key);\n for (let child of node.childNodes)if (this.keyMap.get(child.key) === child) remove(child);\n };\n let last = null;\n for (let [i, node] of opts.items.entries()){\n let rowNode = {\n ...node,\n level: node.level ?? 0,\n key: node.key ?? 'row-' + i,\n type: node.type ?? 'row',\n value: node.value ?? null,\n hasChildNodes: true,\n childNodes: [\n ...node.childNodes\n ],\n rendered: node.rendered,\n textValue: node.textValue ?? '',\n index: node.index ?? i\n };\n if (last) {\n last.nextKey = rowNode.key;\n rowNode.prevKey = last.key;\n } else rowNode.prevKey = null;\n this.rows.push(rowNode);\n visit(rowNode);\n last = rowNode;\n }\n if (last) last.nextKey = null;\n }\n *[Symbol.iterator]() {\n yield* [\n ...this.rows\n ];\n }\n get size() {\n return [\n ...this.rows\n ].length;\n }\n getKeys() {\n return this.keyMap.keys();\n }\n getKeyBefore(key) {\n let node = this.keyMap.get(key);\n return node ? node.prevKey ?? null : null;\n }\n getKeyAfter(key) {\n let node = this.keyMap.get(key);\n return node ? node.nextKey ?? null : null;\n }\n getFirstKey() {\n return [\n ...this.rows\n ][0]?.key;\n }\n getLastKey() {\n let rows = [\n ...this.rows\n ];\n return rows[rows.length - 1]?.key;\n }\n getItem(key) {\n return this.keyMap.get(key) ?? null;\n }\n at(idx) {\n const keys = [\n ...this.getKeys()\n ];\n return this.getItem(keys[idx]);\n }\n getChildren(key) {\n let node = this.keyMap.get(key);\n return node?.childNodes || [];\n }\n}\n\n\nexport {$22f4441660dfbf05$export$de3fdf6493c353d as GridCollection};\n//# sourceMappingURL=GridCollection.mjs.map\n","import {getFirstItem as $cd5ea4b915021f1d$export$fbdeaa6a76694f71, getLastItem as $cd5ea4b915021f1d$export$7475b2c64539e4cf} from \"../collections/getChildNodes.mjs\";\nimport {GridCollection as $22f4441660dfbf05$export$de3fdf6493c353d} from \"../grid/GridCollection.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nconst $3b14a8cc70843920$var$ROW_HEADER_COLUMN_KEY = 'row-header-column-' + Math.random().toString(36).slice(2);\nlet $3b14a8cc70843920$var$ROW_HEADER_COLUMN_KEY_DRAG = 'row-header-column-' + Math.random().toString(36).slice(2);\nwhile($3b14a8cc70843920$var$ROW_HEADER_COLUMN_KEY === $3b14a8cc70843920$var$ROW_HEADER_COLUMN_KEY_DRAG)$3b14a8cc70843920$var$ROW_HEADER_COLUMN_KEY_DRAG = 'row-header-column-' + Math.random().toString(36).slice(2);\nfunction $3b14a8cc70843920$export$7c127db850d4e81e(keyMap, columnNodes) {\n if (columnNodes.length === 0) return [];\n let columns = [];\n let seen = new Map();\n for (let column of columnNodes){\n let parentKey = column.parentKey;\n let col = [\n column\n ];\n while(parentKey){\n let parent = keyMap.get(parentKey);\n if (!parent) break;\n // If we've already seen this parent, than it is shared\n // with a previous column. If the current column is taller\n // than the previous column, than we need to shift the parent\n // in the previous column so it's level with the current column.\n if (seen.has(parent)) {\n parent.colSpan ??= 0;\n parent.colSpan++;\n parent.colspan = parent.colSpan;\n let { column: column, index: index } = seen.get(parent);\n if (index > col.length) break;\n for(let i = index; i < col.length; i++)column.splice(i, 0, null);\n // Adjust shifted indices\n for(let i = col.length; i < column.length; i++)// eslint-disable-next-line max-depth\n if (column[i] && seen.has(column[i])) seen.get(column[i]).index = i;\n } else {\n parent.colSpan = 1;\n parent.colspan = 1;\n col.push(parent);\n seen.set(parent, {\n column: col,\n index: col.length - 1\n });\n }\n parentKey = parent.parentKey;\n }\n columns.push(col);\n column.index = columns.length - 1;\n }\n let maxLength = Math.max(...columns.map((c)=>c.length));\n let headerRows = Array(maxLength).fill(0).map(()=>[]);\n // Convert columns into rows.\n let colIndex = 0;\n for (let column of columns){\n let i = maxLength - 1;\n for (let item of column){\n if (item) {\n // Fill the space up until the current column with a placeholder\n let row = headerRows[i];\n let rowLength = row.reduce((p, c)=>p + (c.colSpan ?? 1), 0);\n if (rowLength < colIndex) {\n let placeholder = {\n type: 'placeholder',\n key: 'placeholder-' + item.key,\n colspan: colIndex - rowLength,\n colSpan: colIndex - rowLength,\n index: rowLength,\n value: null,\n rendered: null,\n level: i,\n hasChildNodes: false,\n childNodes: [],\n textValue: ''\n };\n // eslint-disable-next-line max-depth\n if (row.length > 0) {\n row[row.length - 1].nextKey = placeholder.key;\n placeholder.prevKey = row[row.length - 1].key;\n }\n row.push(placeholder);\n }\n if (row.length > 0) {\n row[row.length - 1].nextKey = item.key;\n item.prevKey = row[row.length - 1].key;\n }\n item.level = i;\n item.colIndex = colIndex;\n row.push(item);\n }\n i--;\n }\n colIndex++;\n }\n // Add placeholders at the end of each row that is shorter than the maximum\n let i = 0;\n for (let row of headerRows){\n let rowLength = row.reduce((p, c)=>p + (c.colSpan ?? 1), 0);\n if (rowLength < columnNodes.length) {\n let placeholder = {\n type: 'placeholder',\n key: 'placeholder-' + row[row.length - 1].key,\n colSpan: columnNodes.length - rowLength,\n colspan: columnNodes.length - rowLength,\n index: rowLength,\n value: null,\n rendered: null,\n level: i,\n hasChildNodes: false,\n childNodes: [],\n textValue: '',\n prevKey: row[row.length - 1].key\n };\n row.push(placeholder);\n }\n i++;\n }\n return headerRows.map((childNodes, index)=>{\n let row = {\n type: 'headerrow',\n key: 'headerrow-' + index,\n index: index,\n value: null,\n rendered: null,\n level: 0,\n hasChildNodes: true,\n childNodes: childNodes,\n textValue: ''\n };\n return row;\n });\n}\nclass $3b14a8cc70843920$export$596e1b2e2cf93690 extends (0, $22f4441660dfbf05$export$de3fdf6493c353d) {\n constructor(nodes, prev, opts){\n let rowHeaderColumnKeys = new Set();\n let body = null;\n let columns = [];\n // Add cell for selection checkboxes if needed.\n if (opts?.showSelectionCheckboxes) {\n let rowHeaderColumn = {\n type: 'column',\n key: $3b14a8cc70843920$var$ROW_HEADER_COLUMN_KEY,\n value: null,\n textValue: '',\n level: 0,\n index: opts?.showDragButtons ? 1 : 0,\n hasChildNodes: false,\n rendered: null,\n childNodes: [],\n props: {\n isSelectionCell: true\n }\n };\n columns.unshift(rowHeaderColumn);\n }\n // Add cell for drag buttons if needed.\n if (opts?.showDragButtons) {\n let rowHeaderColumn = {\n type: 'column',\n key: $3b14a8cc70843920$var$ROW_HEADER_COLUMN_KEY_DRAG,\n value: null,\n textValue: '',\n level: 0,\n index: 0,\n hasChildNodes: false,\n rendered: null,\n childNodes: [],\n props: {\n isDragButtonCell: true\n }\n };\n columns.unshift(rowHeaderColumn);\n }\n let rows = [];\n let columnKeyMap = new Map();\n let visit = (node)=>{\n switch(node.type){\n case 'body':\n body = node;\n break;\n case 'column':\n columnKeyMap.set(node.key, node);\n if (!node.hasChildNodes) {\n columns.push(node);\n if (node.props.isRowHeader) rowHeaderColumnKeys.add(node.key);\n }\n break;\n case 'item':\n rows.push(node);\n return; // do not go into childNodes\n }\n for (let child of node.childNodes)visit(child);\n };\n for (let node of nodes)visit(node);\n let headerRows = $3b14a8cc70843920$export$7c127db850d4e81e(columnKeyMap, columns);\n headerRows.forEach((row, i)=>rows.splice(i, 0, row));\n super({\n columnCount: columns.length,\n items: rows,\n visitNode: (node)=>{\n node.column = columns[node.index];\n return node;\n }\n }), this._size = 0;\n this.columns = columns;\n this.rowHeaderColumnKeys = rowHeaderColumnKeys;\n this.body = body;\n this.headerRows = headerRows;\n this._size = [\n ...body.childNodes\n ].length;\n // Default row header column to the first one.\n if (this.rowHeaderColumnKeys.size === 0) {\n let col = this.columns.find((column)=>!column.props?.isDragButtonCell && !column.props?.isSelectionCell);\n if (col) this.rowHeaderColumnKeys.add(col.key);\n }\n }\n *[Symbol.iterator]() {\n yield* this.body.childNodes;\n }\n get size() {\n return this._size;\n }\n getKeys() {\n return this.keyMap.keys();\n }\n getKeyBefore(key) {\n let node = this.keyMap.get(key);\n return node?.prevKey ?? null;\n }\n getKeyAfter(key) {\n let node = this.keyMap.get(key);\n return node?.nextKey ?? null;\n }\n getFirstKey() {\n return (0, $cd5ea4b915021f1d$export$fbdeaa6a76694f71)(this.body.childNodes)?.key ?? null;\n }\n getLastKey() {\n return (0, $cd5ea4b915021f1d$export$7475b2c64539e4cf)(this.body.childNodes)?.key ?? null;\n }\n getItem(key) {\n if (key === this.body.key) return this.body;\n return this.keyMap.get(key) ?? null;\n }\n at(idx) {\n const keys = [\n ...this.getKeys()\n ];\n return this.getItem(keys[idx]);\n }\n getChildren(key) {\n if (key === this.body.key) return this.body.childNodes;\n let node = this.getItem(key);\n if (node?.type === 'item') return [\n ...node.childNodes\n ].filter((n)=>n.type === 'cell');\n return super.getChildren(key);\n }\n getTextValue(key) {\n let row = this.getItem(key);\n if (!row) return '';\n // If the row has a textValue, use that.\n if (row.textValue) return row.textValue;\n // Otherwise combine the text of each of the row header columns.\n let rowHeaderColumnKeys = this.rowHeaderColumnKeys;\n if (rowHeaderColumnKeys) {\n let text = [];\n for (let cell of row.childNodes){\n let column = this.columns[cell.index];\n if (rowHeaderColumnKeys.has(column.key) && cell.textValue) text.push(cell.textValue);\n if (text.length === rowHeaderColumnKeys.size) break;\n }\n return text.join(' ');\n }\n return '';\n }\n}\n\n\nexport {$3b14a8cc70843920$export$7c127db850d4e81e as buildHeaderRows, $3b14a8cc70843920$export$596e1b2e2cf93690 as TableCollection};\n//# sourceMappingURL=TableCollection.mjs.map\n","import {TableColumnLayout as $245263de035f5da5$export$7ff77a162970b30e} from \"./TableColumnLayout.mjs\";\nimport {useState as $iePE6$useState, useMemo as $iePE6$useMemo, useCallback as $iePE6$useCallback} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $f6cebac1c03d2516$export$cb895dcf85db1319(props, state) {\n let { getDefaultWidth: getDefaultWidth, getDefaultMinWidth: getDefaultMinWidth, tableWidth: tableWidth = 0 } = props;\n let [resizingColumn, setResizingColumn] = (0, $iePE6$useState)(null);\n let columnLayout = (0, $iePE6$useMemo)(()=>new (0, $245263de035f5da5$export$7ff77a162970b30e)({\n getDefaultWidth: getDefaultWidth,\n getDefaultMinWidth: getDefaultMinWidth\n }), [\n getDefaultWidth,\n getDefaultMinWidth\n ]);\n let [controlledColumns, uncontrolledColumns] = (0, $iePE6$useMemo)(()=>columnLayout.splitColumnsIntoControlledAndUncontrolled(state.collection.columns), [\n state.collection.columns,\n columnLayout\n ]);\n // uncontrolled column widths\n let [uncontrolledWidths, setUncontrolledWidths] = (0, $iePE6$useState)(()=>columnLayout.getInitialUncontrolledWidths(uncontrolledColumns));\n // Update uncontrolled widths if the columns changed.\n let [lastColumns, setLastColumns] = (0, $iePE6$useState)(state.collection.columns);\n if (state.collection.columns !== lastColumns) {\n if (state.collection.columns.length !== lastColumns.length || state.collection.columns.some((c, i)=>c.key !== lastColumns[i].key)) {\n let newUncontrolledWidths = columnLayout.getInitialUncontrolledWidths(uncontrolledColumns);\n setUncontrolledWidths(newUncontrolledWidths);\n }\n setLastColumns(state.collection.columns);\n }\n // combine columns back into one map that maintains same order as the columns\n let colWidths = (0, $iePE6$useMemo)(()=>columnLayout.recombineColumns(state.collection.columns, uncontrolledWidths, uncontrolledColumns, controlledColumns), [\n state.collection.columns,\n uncontrolledWidths,\n uncontrolledColumns,\n controlledColumns,\n columnLayout\n ]);\n let startResize = (0, $iePE6$useCallback)((key)=>{\n setResizingColumn(key);\n }, [\n setResizingColumn\n ]);\n let updateResizedColumns = (0, $iePE6$useCallback)((key, width)=>{\n let newSizes = columnLayout.resizeColumnWidth(state.collection, uncontrolledWidths, key, width);\n let map = new Map(Array.from(uncontrolledColumns).map(([key])=>[\n key,\n newSizes.get(key)\n ]));\n map.set(key, width);\n setUncontrolledWidths(map);\n return newSizes;\n }, [\n uncontrolledColumns,\n setUncontrolledWidths,\n columnLayout,\n state.collection,\n uncontrolledWidths\n ]);\n let endResize = (0, $iePE6$useCallback)(()=>{\n setResizingColumn(null);\n }, [\n setResizingColumn\n ]);\n let columnWidths = (0, $iePE6$useMemo)(()=>columnLayout.buildColumnWidths(tableWidth, state.collection, colWidths), [\n tableWidth,\n state.collection,\n colWidths,\n columnLayout\n ]);\n return (0, $iePE6$useMemo)(()=>({\n resizingColumn: resizingColumn,\n updateResizedColumns: updateResizedColumns,\n startResize: startResize,\n endResize: endResize,\n getColumnWidth: (key)=>columnLayout.getColumnWidth(key),\n getColumnMinWidth: (key)=>columnLayout.getColumnMinWidth(key),\n getColumnMaxWidth: (key)=>columnLayout.getColumnMaxWidth(key),\n tableState: state,\n columnWidths: columnWidths\n }), [\n columnLayout,\n columnWidths,\n resizingColumn,\n updateResizedColumns,\n startResize,\n endResize,\n state\n ]);\n}\n\n\nexport {$f6cebac1c03d2516$export$cb895dcf85db1319 as useTableColumnResizeState};\n//# sourceMappingURL=useTableColumnResizeState.mjs.map\n","import {useGridState as $183b79a1dd6664c1$export$4007ac09ff9c68ed} from \"../grid/useGridState.mjs\";\nimport {TableCollection as $3b14a8cc70843920$export$596e1b2e2cf93690} from \"./TableCollection.mjs\";\nimport {useCollection as $d03379b88399b8c5$export$6cd28814d92fa9c9} from \"../collections/useCollection.mjs\";\nimport {useControlledState as $3e6197669829fe11$export$40bfa8c7b0832715} from \"../utils/useControlledState.mjs\";\nimport {useState as $5on2X$useState, useMemo as $5on2X$useMemo, useCallback as $5on2X$useCallback} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nconst $178a7f94e1b4b497$var$OPPOSITE_SORT_DIRECTION = {\n ascending: 'descending',\n descending: 'ascending'\n};\nfunction $178a7f94e1b4b497$export$907bcc6c48325fd6(props) {\n let [isKeyboardNavigationDisabled, setKeyboardNavigationDisabled] = (0, $5on2X$useState)(false);\n let { selectionMode: selectionMode = 'none', showSelectionCheckboxes: showSelectionCheckboxes, showDragButtons: showDragButtons, treeColumn: treeColumn = null } = props;\n let context = (0, $5on2X$useMemo)(()=>({\n showSelectionCheckboxes: showSelectionCheckboxes && selectionMode !== 'none',\n showDragButtons: showDragButtons,\n selectionMode: selectionMode,\n columns: []\n }), [\n props.children,\n showSelectionCheckboxes,\n selectionMode,\n showDragButtons\n ]);\n let collection = (0, $d03379b88399b8c5$export$6cd28814d92fa9c9)(props, (0, $5on2X$useCallback)((nodes)=>new (0, $3b14a8cc70843920$export$596e1b2e2cf93690)(nodes, null, context), [\n context\n ]), context);\n let { disabledKeys: disabledKeys, selectionManager: selectionManager } = (0, $183b79a1dd6664c1$export$4007ac09ff9c68ed)({\n ...props,\n collection: collection,\n disabledBehavior: props.disabledBehavior || 'selection'\n });\n let [expandedKeys, setExpandedKeys] = (0, $3e6197669829fe11$export$40bfa8c7b0832715)(props.expandedKeys ? new Set(props.expandedKeys) : undefined, props.defaultExpandedKeys ? new Set(props.defaultExpandedKeys) : new Set(), props.onExpandedChange);\n return {\n collection: collection,\n disabledKeys: disabledKeys,\n selectionManager: selectionManager,\n showSelectionCheckboxes: props.showSelectionCheckboxes || false,\n sortDescriptor: props.sortDescriptor ?? null,\n isKeyboardNavigationDisabled: collection.size === 0 || isKeyboardNavigationDisabled,\n setKeyboardNavigationDisabled: setKeyboardNavigationDisabled,\n sort (columnKey, direction) {\n props.onSortChange?.({\n column: columnKey,\n direction: direction ?? (props.sortDescriptor?.column === columnKey ? $178a7f94e1b4b497$var$OPPOSITE_SORT_DIRECTION[props.sortDescriptor.direction] : 'ascending')\n });\n },\n expandedKeys: expandedKeys,\n toggleKey (key) {\n setExpandedKeys((keys)=>{\n let newKeys = new Set(keys);\n if (newKeys.has(key)) newKeys.delete(key);\n else newKeys.add(key);\n return newKeys;\n });\n },\n treeColumn: treeColumn\n };\n}\nfunction $178a7f94e1b4b497$export$31447e17397b15c2(state, filterFn) {\n let collection = (0, $5on2X$useMemo)(()=>filterFn ? state.collection.filter(filterFn) : state.collection, [\n state.collection,\n filterFn\n ]);\n let selectionManager = state.selectionManager.withCollection(collection);\n // TODO: handle focus key reset? That logic is in useGridState\n return {\n ...state,\n collection: collection,\n selectionManager: selectionManager\n };\n}\n\n\nexport {$178a7f94e1b4b497$export$907bcc6c48325fd6 as useTableState, $178a7f94e1b4b497$export$31447e17397b15c2 as UNSTABLE_useFilteredTableState};\n//# sourceMappingURL=useTableState.mjs.map\n","import {DOMLayoutDelegate as $a83747cc3f035330$export$8f5ed9ff9f511381} from \"../selection/DOMLayoutDelegate.mjs\";\nimport {getChildNodes as $94u1a$getChildNodes, getLastItem as $94u1a$getLastItem, getFirstItem as $94u1a$getFirstItem, getNthItem as $94u1a$getNthItem} from \"react-stately/private/collections/getChildNodes\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nclass $c7bb87e55e1ab755$export$de9feff04fda126e {\n constructor(options){\n this.collection = options.collection;\n this.disabledKeys = options.disabledKeys;\n this.disabledBehavior = options.disabledBehavior || 'all';\n this.direction = options.direction;\n this.collator = options.collator;\n if (!options.layout && !options.ref) throw new Error('Either a layout or a ref must be specified.');\n this.layoutDelegate = options.layoutDelegate || (options.layout ? new $c7bb87e55e1ab755$var$DeprecatedLayoutDelegate(options.layout) : new (0, $a83747cc3f035330$export$8f5ed9ff9f511381)(options.ref));\n this.focusMode = options.focusMode ?? 'row';\n }\n isCell(node) {\n return node.type === 'cell';\n }\n isRow(node) {\n return node.type === 'row' || node.type === 'item';\n }\n isDisabled(item) {\n return this.disabledBehavior === 'all' && (item.props?.isDisabled || this.disabledKeys.has(item.key));\n }\n findPreviousKey(fromKey, pred) {\n let key = fromKey != null ? this.collection.getKeyBefore(fromKey) : this.collection.getLastKey();\n while(key != null){\n let item = this.collection.getItem(key);\n if (!item) return null;\n if (!this.isDisabled(item) && (!pred || pred(item))) return key;\n key = this.collection.getKeyBefore(key);\n }\n return null;\n }\n findNextKey(fromKey, pred) {\n let key = fromKey != null ? this.collection.getKeyAfter(fromKey) : this.collection.getFirstKey();\n while(key != null){\n let item = this.collection.getItem(key);\n if (!item) return null;\n if (!this.isDisabled(item) && (!pred || pred(item))) return key;\n key = this.collection.getKeyAfter(key);\n if (key == null) return null;\n }\n return null;\n }\n getKeyForItemInRowByIndex(key, index = 0) {\n if (index < 0) return null;\n let item = this.collection.getItem(key);\n if (!item) return null;\n let i = 0;\n for (let child of (0, $94u1a$getChildNodes)(item, this.collection)){\n if (child.colSpan && child.colSpan + i > index) return child.key ?? null;\n if (child.colSpan) i = i + child.colSpan - 1;\n if (i === index) return child.key ?? null;\n i++;\n }\n return null;\n }\n getKeyBelow(fromKey) {\n let key = fromKey;\n let startItem = this.collection.getItem(key);\n if (!startItem) return null;\n // If focus was on a cell, start searching from the parent row\n if (this.isCell(startItem)) key = startItem.parentKey ?? null;\n if (key == null) return null;\n // Find the next item\n key = this.findNextKey(key, (item)=>item.type === 'item');\n if (key != null) {\n // If focus was on a cell, focus the cell with the same index in the next row.\n if (this.isCell(startItem)) {\n let startIndex = startItem.colIndex ? startItem.colIndex : startItem.index;\n return this.getKeyForItemInRowByIndex(key, startIndex);\n }\n // Otherwise, focus the next row\n if (this.focusMode === 'row') return key;\n }\n return null;\n }\n getKeyAbove(fromKey) {\n let key = fromKey;\n let startItem = this.collection.getItem(key);\n if (!startItem) return null;\n // If focus is on a cell, start searching from the parent row\n if (this.isCell(startItem)) key = startItem.parentKey ?? null;\n if (key == null) return null;\n // Find the previous item\n key = this.findPreviousKey(key, (item)=>item.type === 'item');\n if (key != null) {\n // If focus was on a cell, focus the cell with the same index in the previous row.\n if (this.isCell(startItem)) {\n let startIndex = startItem.colIndex ? startItem.colIndex : startItem.index;\n return this.getKeyForItemInRowByIndex(key, startIndex);\n }\n // Otherwise, focus the previous row\n if (this.focusMode === 'row') return key;\n }\n return null;\n }\n getKeyRightOf(key) {\n let item = this.collection.getItem(key);\n if (!item) return null;\n // If focus is on a row, focus the first child cell.\n if (this.isRow(item)) {\n let children = (0, $94u1a$getChildNodes)(item, this.collection);\n return (this.direction === 'rtl' ? (0, $94u1a$getLastItem)(children)?.key : (0, $94u1a$getFirstItem)(children)?.key) ?? null;\n }\n // If focus is on a cell, focus the next cell if any,\n // otherwise focus the parent row.\n if (this.isCell(item) && item.parentKey != null) {\n let parent = this.collection.getItem(item.parentKey);\n if (!parent) return null;\n let children = (0, $94u1a$getChildNodes)(parent, this.collection);\n let next = (this.direction === 'rtl' ? (0, $94u1a$getNthItem)(children, item.index - 1) : (0, $94u1a$getNthItem)(children, item.index + 1)) ?? null;\n if (next) return next.key ?? null;\n // focus row only if focusMode is set to row\n if (this.focusMode === 'row') return item.parentKey ?? null;\n return (this.direction === 'rtl' ? this.getFirstKey(key) : this.getLastKey(key)) ?? null;\n }\n return null;\n }\n getKeyLeftOf(key) {\n let item = this.collection.getItem(key);\n if (!item) return null;\n // If focus is on a row, focus the last child cell.\n if (this.isRow(item)) {\n let children = (0, $94u1a$getChildNodes)(item, this.collection);\n return (this.direction === 'rtl' ? (0, $94u1a$getFirstItem)(children)?.key : (0, $94u1a$getLastItem)(children)?.key) ?? null;\n }\n // If focus is on a cell, focus the previous cell if any,\n // otherwise focus the parent row.\n if (this.isCell(item) && item.parentKey != null) {\n let parent = this.collection.getItem(item.parentKey);\n if (!parent) return null;\n let children = (0, $94u1a$getChildNodes)(parent, this.collection);\n let prev = (this.direction === 'rtl' ? (0, $94u1a$getNthItem)(children, item.index + 1) : (0, $94u1a$getNthItem)(children, item.index - 1)) ?? null;\n if (prev) return prev.key ?? null;\n // focus row only if focusMode is set to row\n if (this.focusMode === 'row') return item.parentKey ?? null;\n return (this.direction === 'rtl' ? this.getLastKey(key) : this.getFirstKey(key)) ?? null;\n }\n return null;\n }\n getFirstKey(fromKey, global) {\n let key = fromKey ?? null;\n let item;\n if (key != null) {\n item = this.collection.getItem(key);\n if (!item) return null;\n // If global flag is not set, and a cell is currently focused,\n // move focus to the first cell in the parent row.\n if (this.isCell(item) && !global && item.parentKey != null) {\n let parent = this.collection.getItem(item.parentKey);\n if (!parent) return null;\n return (0, $94u1a$getFirstItem)((0, $94u1a$getChildNodes)(parent, this.collection))?.key ?? null;\n }\n }\n // Find the first row\n key = this.findNextKey(undefined, (item)=>item.type === 'item');\n // If global flag is set (or if focus mode is cell), focus the first cell in the first row.\n if (key != null && (item && this.isCell(item) && global || this.focusMode === 'cell')) {\n let item = this.collection.getItem(key);\n if (!item) return null;\n key = (0, $94u1a$getFirstItem)((0, $94u1a$getChildNodes)(item, this.collection))?.key ?? null;\n }\n // Otherwise, focus the row itself.\n return key;\n }\n getLastKey(fromKey, global) {\n let key = fromKey ?? null;\n let item;\n if (key != null) {\n item = this.collection.getItem(key);\n if (!item) return null;\n // If global flag is not set, and a cell is currently focused,\n // move focus to the last cell in the parent row.\n if (this.isCell(item) && !global && item.parentKey != null) {\n let parent = this.collection.getItem(item.parentKey);\n if (!parent) return null;\n let children = (0, $94u1a$getChildNodes)(parent, this.collection);\n return (0, $94u1a$getLastItem)(children)?.key ?? null;\n }\n }\n // Find the last row\n key = this.findPreviousKey(undefined, (item)=>item.type === 'item');\n // If global flag is set (or if focus mode is cell), focus the last cell in the last row.\n if (key != null && (item && this.isCell(item) && global || this.focusMode === 'cell')) {\n let item = this.collection.getItem(key);\n if (!item) return null;\n let children = (0, $94u1a$getChildNodes)(item, this.collection);\n key = (0, $94u1a$getLastItem)(children)?.key ?? null;\n }\n // Otherwise, focus the row itself.\n return key;\n }\n getKeyPageAbove(fromKey) {\n let key = fromKey;\n let itemRect = this.layoutDelegate.getItemRect(key);\n if (!itemRect) return null;\n let pageY = Math.max(0, itemRect.y + itemRect.height - this.layoutDelegate.getVisibleRect().height);\n while(itemRect && itemRect.y > pageY && key != null){\n key = this.getKeyAbove(key) ?? null;\n if (key == null) break;\n itemRect = this.layoutDelegate.getItemRect(key);\n }\n return key;\n }\n getKeyPageBelow(fromKey) {\n let key = fromKey;\n let itemRect = this.layoutDelegate.getItemRect(key);\n if (!itemRect) return null;\n let pageHeight = this.layoutDelegate.getVisibleRect().height;\n let pageY = Math.min(this.layoutDelegate.getContentSize().height, itemRect.y + pageHeight);\n while(itemRect && itemRect.y + itemRect.height < pageY){\n let nextKey = this.getKeyBelow(key);\n // If nextKey is undefined, we've reached the last row already\n if (nextKey == null) break;\n itemRect = this.layoutDelegate.getItemRect(nextKey);\n key = nextKey;\n }\n return key;\n }\n getKeyForSearch(search, fromKey) {\n let key = fromKey ?? null;\n if (!this.collator) return null;\n let collection = this.collection;\n key = fromKey ?? this.getFirstKey();\n if (key == null) return null;\n // If the starting key is a cell, search from its parent row.\n let startItem = collection.getItem(key);\n if (!startItem) return null;\n if (startItem.type === 'cell') key = startItem.parentKey ?? null;\n let hasWrapped = false;\n while(key != null){\n let item = collection.getItem(key);\n if (!item) return null;\n // check row text value for match\n if (item.textValue) {\n let substring = item.textValue.slice(0, search.length);\n if (this.collator.compare(substring, search) === 0) {\n if (this.isRow(item) && this.focusMode === 'cell') return (0, $94u1a$getFirstItem)((0, $94u1a$getChildNodes)(item, this.collection))?.key ?? null;\n return item.key;\n }\n }\n key = this.findNextKey(key, (item)=>item.type === 'item');\n // Wrap around when reaching the end of the collection\n if (key == null && !hasWrapped) {\n key = this.getFirstKey();\n hasWrapped = true;\n }\n }\n return null;\n }\n}\nclass $c7bb87e55e1ab755$var$DeprecatedLayoutDelegate {\n constructor(layout){\n this.layout = layout;\n }\n getContentSize() {\n return this.layout.getContentSize();\n }\n getItemRect(key) {\n return this.layout.getLayoutInfo(key)?.rect || null;\n }\n getVisibleRect() {\n return this.layout.virtualizer.visibleRect;\n }\n}\n\n\nexport {$c7bb87e55e1ab755$export$de9feff04fda126e as GridKeyboardDelegate};\n//# sourceMappingURL=GridKeyboardDelegate.mjs.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $90a81c508a5c0de1$export$e6235c0d09b995d0 = new WeakMap();\n\n\nexport {$90a81c508a5c0de1$export$e6235c0d09b995d0 as gridMap};\n//# sourceMappingURL=utils.mjs.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $cf56c58f505db99a$export$552312adfd451dab = new WeakMap();\nfunction $cf56c58f505db99a$var$normalizeKey(key) {\n if (typeof key === 'string') return key.replace(/\\s*/g, '');\n return '' + key;\n}\nfunction $cf56c58f505db99a$export$37cd4213f2ad742e(state, columnKey) {\n let gridId = $cf56c58f505db99a$export$552312adfd451dab.get(state);\n if (!gridId) throw new Error('Unknown grid');\n return `${gridId}-${$cf56c58f505db99a$var$normalizeKey(columnKey)}`;\n}\nfunction $cf56c58f505db99a$export$19baff3266315d44(state, rowKey, columnKey) {\n let gridId = $cf56c58f505db99a$export$552312adfd451dab.get(state);\n if (!gridId) throw new Error('Unknown grid');\n return `${gridId}-${$cf56c58f505db99a$var$normalizeKey(rowKey)}-${$cf56c58f505db99a$var$normalizeKey(columnKey)}`;\n}\nfunction $cf56c58f505db99a$export$85069b70317f543(state, rowKey) {\n // A row is labelled by it's row headers.\n return [\n ...state.collection.rowHeaderColumnKeys\n ].map((columnKey)=>$cf56c58f505db99a$export$19baff3266315d44(state, rowKey, columnKey)).join(' ');\n}\n\n\nexport {$cf56c58f505db99a$export$552312adfd451dab as gridIds, $cf56c58f505db99a$export$37cd4213f2ad742e as getColumnHeaderId, $cf56c58f505db99a$export$19baff3266315d44 as getCellId, $cf56c58f505db99a$export$85069b70317f543 as getRowLabelledBy};\n//# sourceMappingURL=utils.mjs.map\n","var $a10cd6e667253061$exports = {};\n$a10cd6e667253061$exports = {\n \"ascending\": `\\u{62A}\\u{635}\\u{627}\\u{639}\\u{62F}\\u{64A}`,\n \"ascendingSort\": (args)=>`\\u{62A}\\u{631}\\u{62A}\\u{64A}\\u{628} \\u{62D}\\u{633}\\u{628} \\u{627}\\u{644}\\u{639}\\u{645}\\u{648}\\u{62F} ${args.columnName} \\u{628}\\u{62A}\\u{631}\\u{62A}\\u{64A}\\u{628} \\u{62A}\\u{635}\\u{627}\\u{639}\\u{62F}\\u{64A}`,\n \"columnSize\": (args)=>`${args.value} \\u{628}\\u{627}\\u{644}\\u{628}\\u{643}\\u{633}\\u{644}`,\n \"descending\": `\\u{62A}\\u{646}\\u{627}\\u{632}\\u{644}\\u{64A}`,\n \"descendingSort\": (args)=>`\\u{62A}\\u{631}\\u{62A}\\u{64A}\\u{628} \\u{62D}\\u{633}\\u{628} \\u{627}\\u{644}\\u{639}\\u{645}\\u{648}\\u{62F} ${args.columnName} \\u{628}\\u{62A}\\u{631}\\u{62A}\\u{64A}\\u{628} \\u{62A}\\u{646}\\u{627}\\u{632}\\u{644}\\u{64A}`,\n \"resizerDescription\": `\\u{627}\\u{636}\\u{63A}\\u{637} \\u{639}\\u{644}\\u{649} \\u{645}\\u{641}\\u{62A}\\u{627}\\u{62D} Enter \\u{644}\\u{628}\\u{62F}\\u{621} \\u{62A}\\u{63A}\\u{64A}\\u{64A}\\u{631} \\u{627}\\u{644}\\u{62D}\\u{62C}\\u{645}`,\n \"select\": `\\u{62A}\\u{62D}\\u{62F}\\u{64A}\\u{62F}`,\n \"selectAll\": `\\u{62A}\\u{62D}\\u{62F}\\u{64A}\\u{62F} \\u{627}\\u{644}\\u{643}\\u{644}`,\n \"sortable\": `\\u{639}\\u{645}\\u{648}\\u{62F} \\u{642}\\u{627}\\u{628}\\u{644} \\u{644}\\u{644}\\u{62A}\\u{631}\\u{62A}\\u{64A}\\u{628}`,\n \"collapse\": `\\u{637}\\u{64A}`,\n \"expand\": `\\u{62A}\\u{645}\\u{62F}\\u{64A}\\u{62F}`\n};\n\n\nexport {$a10cd6e667253061$exports as default};\n//# sourceMappingURL=ar-AE.mjs.map\n","import $kjgIr$intltablearAEmjs from \"../intl/table/ar-AE.mjs\";\nimport $kjgIr$intltablebgBGmjs from \"../intl/table/bg-BG.mjs\";\nimport $kjgIr$intltablecsCZmjs from \"../intl/table/cs-CZ.mjs\";\nimport $kjgIr$intltabledaDKmjs from \"../intl/table/da-DK.mjs\";\nimport $kjgIr$intltabledeDEmjs from \"../intl/table/de-DE.mjs\";\nimport $kjgIr$intltableelGRmjs from \"../intl/table/el-GR.mjs\";\nimport $kjgIr$intltableenUSmjs from \"../intl/table/en-US.mjs\";\nimport $kjgIr$intltableesESmjs from \"../intl/table/es-ES.mjs\";\nimport $kjgIr$intltableetEEmjs from \"../intl/table/et-EE.mjs\";\nimport $kjgIr$intltablefiFImjs from \"../intl/table/fi-FI.mjs\";\nimport $kjgIr$intltablefrFRmjs from \"../intl/table/fr-FR.mjs\";\nimport $kjgIr$intltableheILmjs from \"../intl/table/he-IL.mjs\";\nimport $kjgIr$intltablehrHRmjs from \"../intl/table/hr-HR.mjs\";\nimport $kjgIr$intltablehuHUmjs from \"../intl/table/hu-HU.mjs\";\nimport $kjgIr$intltableitITmjs from \"../intl/table/it-IT.mjs\";\nimport $kjgIr$intltablejaJPmjs from \"../intl/table/ja-JP.mjs\";\nimport $kjgIr$intltablekoKRmjs from \"../intl/table/ko-KR.mjs\";\nimport $kjgIr$intltableltLTmjs from \"../intl/table/lt-LT.mjs\";\nimport $kjgIr$intltablelvLVmjs from \"../intl/table/lv-LV.mjs\";\nimport $kjgIr$intltablenbNOmjs from \"../intl/table/nb-NO.mjs\";\nimport $kjgIr$intltablenlNLmjs from \"../intl/table/nl-NL.mjs\";\nimport $kjgIr$intltableplPLmjs from \"../intl/table/pl-PL.mjs\";\nimport $kjgIr$intltableptBRmjs from \"../intl/table/pt-BR.mjs\";\nimport $kjgIr$intltableptPTmjs from \"../intl/table/pt-PT.mjs\";\nimport $kjgIr$intltableroROmjs from \"../intl/table/ro-RO.mjs\";\nimport $kjgIr$intltableruRUmjs from \"../intl/table/ru-RU.mjs\";\nimport $kjgIr$intltableskSKmjs from \"../intl/table/sk-SK.mjs\";\nimport $kjgIr$intltableslSImjs from \"../intl/table/sl-SI.mjs\";\nimport $kjgIr$intltablesrSPmjs from \"../intl/table/sr-SP.mjs\";\nimport $kjgIr$intltablesvSEmjs from \"../intl/table/sv-SE.mjs\";\nimport $kjgIr$intltabletrTRmjs from \"../intl/table/tr-TR.mjs\";\nimport $kjgIr$intltableukUAmjs from \"../intl/table/uk-UA.mjs\";\nimport $kjgIr$intltablezhCNmjs from \"../intl/table/zh-CN.mjs\";\nimport $kjgIr$intltablezhTWmjs from \"../intl/table/zh-TW.mjs\";\n\nvar $b0fbbc5fdcc6603a$exports = {};\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n$b0fbbc5fdcc6603a$exports = {\n \"ar-AE\": $kjgIr$intltablearAEmjs,\n \"bg-BG\": $kjgIr$intltablebgBGmjs,\n \"cs-CZ\": $kjgIr$intltablecsCZmjs,\n \"da-DK\": $kjgIr$intltabledaDKmjs,\n \"de-DE\": $kjgIr$intltabledeDEmjs,\n \"el-GR\": $kjgIr$intltableelGRmjs,\n \"en-US\": $kjgIr$intltableenUSmjs,\n \"es-ES\": $kjgIr$intltableesESmjs,\n \"et-EE\": $kjgIr$intltableetEEmjs,\n \"fi-FI\": $kjgIr$intltablefiFImjs,\n \"fr-FR\": $kjgIr$intltablefrFRmjs,\n \"he-IL\": $kjgIr$intltableheILmjs,\n \"hr-HR\": $kjgIr$intltablehrHRmjs,\n \"hu-HU\": $kjgIr$intltablehuHUmjs,\n \"it-IT\": $kjgIr$intltableitITmjs,\n \"ja-JP\": $kjgIr$intltablejaJPmjs,\n \"ko-KR\": $kjgIr$intltablekoKRmjs,\n \"lt-LT\": $kjgIr$intltableltLTmjs,\n \"lv-LV\": $kjgIr$intltablelvLVmjs,\n \"nb-NO\": $kjgIr$intltablenbNOmjs,\n \"nl-NL\": $kjgIr$intltablenlNLmjs,\n \"pl-PL\": $kjgIr$intltableplPLmjs,\n \"pt-BR\": $kjgIr$intltableptBRmjs,\n \"pt-PT\": $kjgIr$intltableptPTmjs,\n \"ro-RO\": $kjgIr$intltableroROmjs,\n \"ru-RU\": $kjgIr$intltableruRUmjs,\n \"sk-SK\": $kjgIr$intltableskSKmjs,\n \"sl-SI\": $kjgIr$intltableslSImjs,\n \"sr-SP\": $kjgIr$intltablesrSPmjs,\n \"sv-SE\": $kjgIr$intltablesvSEmjs,\n \"tr-TR\": $kjgIr$intltabletrTRmjs,\n \"uk-UA\": $kjgIr$intltableukUAmjs,\n \"zh-CN\": $kjgIr$intltablezhCNmjs,\n \"zh-TW\": $kjgIr$intltablezhTWmjs\n};\n\n\nexport {$b0fbbc5fdcc6603a$exports as default};\n//# sourceMappingURL=intlStrings.mjs.map\n","var $f833f49c391c486d$exports = {};\n$f833f49c391c486d$exports = {\n \"ascending\": `\\u{432}\\u{44A}\\u{437}\\u{445}\\u{43E}\\u{434}\\u{44F}\\u{449}`,\n \"ascendingSort\": (args)=>`\\u{441}\\u{43E}\\u{440}\\u{442}\\u{438}\\u{440}\\u{430}\\u{43D}\\u{43E} \\u{43F}\\u{43E} \\u{43A}\\u{43E}\\u{43B}\\u{43E}\\u{43D}\\u{430} ${args.columnName} \\u{432}\\u{44A}\\u{432} \\u{432}\\u{44A}\\u{437}\\u{445}\\u{43E}\\u{434}\\u{44F}\\u{449} \\u{440}\\u{435}\\u{434}`,\n \"columnSize\": (args)=>`${args.value} \\u{43F}\\u{438}\\u{43A}\\u{441}\\u{435}\\u{43B}\\u{430}`,\n \"descending\": `\\u{43D}\\u{438}\\u{437}\\u{445}\\u{43E}\\u{434}\\u{44F}\\u{449}`,\n \"descendingSort\": (args)=>`\\u{441}\\u{43E}\\u{440}\\u{442}\\u{438}\\u{440}\\u{430}\\u{43D}\\u{43E} \\u{43F}\\u{43E} \\u{43A}\\u{43E}\\u{43B}\\u{43E}\\u{43D}\\u{430} ${args.columnName} \\u{432} \\u{43D}\\u{438}\\u{437}\\u{445}\\u{43E}\\u{434}\\u{44F}\\u{449} \\u{440}\\u{435}\\u{434}`,\n \"resizerDescription\": `\\u{41D}\\u{430}\\u{442}\\u{438}\\u{441}\\u{43D}\\u{435}\\u{442}\\u{435} \\u{201E}Enter\\u{201C}, \\u{437}\\u{430} \\u{434}\\u{430} \\u{437}\\u{430}\\u{43F}\\u{43E}\\u{447}\\u{43D}\\u{435}\\u{442}\\u{435} \\u{434}\\u{430} \\u{43F}\\u{440}\\u{435}\\u{43E}\\u{440}\\u{430}\\u{437}\\u{43C}\\u{435}\\u{440}\\u{44F}\\u{432}\\u{430}\\u{442}\\u{435}`,\n \"select\": `\\u{418}\\u{437}\\u{431}\\u{435}\\u{440}\\u{435}\\u{442}\\u{435}`,\n \"selectAll\": `\\u{418}\\u{437}\\u{431}\\u{435}\\u{440}\\u{435}\\u{442}\\u{435} \\u{432}\\u{441}\\u{438}\\u{447}\\u{43A}\\u{43E}`,\n \"sortable\": `\\u{441}\\u{43E}\\u{440}\\u{442}\\u{438}\\u{440}\\u{430}\\u{449}\\u{430} \\u{43A}\\u{43E}\\u{43B}\\u{43E}\\u{43D}\\u{430}`,\n \"collapse\": `\\u{421}\\u{432}\\u{438}\\u{432}\\u{430}\\u{43D}\\u{435}`,\n \"expand\": `\\u{420}\\u{430}\\u{437}\\u{448}\\u{438}\\u{440}\\u{44F}\\u{432}\\u{430}\\u{43D}\\u{435}`\n};\n\n\nexport {$f833f49c391c486d$exports as default};\n//# sourceMappingURL=bg-BG.mjs.map\n","var $e1d51bb8289599c0$exports = {};\n$e1d51bb8289599c0$exports = {\n \"ascending\": `vzestupn\\u{11B}`,\n \"ascendingSort\": (args)=>`\\u{159}azeno vzestupn\\u{11B} podle sloupce ${args.columnName}`,\n \"columnSize\": (args)=>`${args.value} pixel\\u{16F}`,\n \"descending\": `sestupn\\u{11B}`,\n \"descendingSort\": (args)=>`\\u{159}azeno sestupn\\u{11B} podle sloupce ${args.columnName}`,\n \"resizerDescription\": `Stisknut\\xedm kl\\xe1vesy Enter za\\u{10D}nete m\\u{11B}nit velikost`,\n \"select\": `Vybrat`,\n \"selectAll\": `Vybrat v\\u{161}e`,\n \"sortable\": `sloupec s mo\\u{17E}nost\\xed \\u{159}azen\\xed`,\n \"collapse\": `Sbalit`,\n \"expand\": `Rozt\\xe1hnout`\n};\n\n\nexport {$e1d51bb8289599c0$exports as default};\n//# sourceMappingURL=cs-CZ.mjs.map\n","var $4969ddadcdabd0a2$exports = {};\n$4969ddadcdabd0a2$exports = {\n \"ascending\": `stigende`,\n \"ascendingSort\": (args)=>`sorteret efter kolonne ${args.columnName} i stigende r\\xe6kkef\\xf8lge`,\n \"columnSize\": (args)=>`${args.value} pixels`,\n \"descending\": `faldende`,\n \"descendingSort\": (args)=>`sorteret efter kolonne ${args.columnName} i faldende r\\xe6kkef\\xf8lge`,\n \"resizerDescription\": `Tryk p\\xe5 Enter for at \\xe6ndre st\\xf8rrelse`,\n \"select\": `V\\xe6lg`,\n \"selectAll\": `V\\xe6lg alle`,\n \"sortable\": `sorterbar kolonne`,\n \"collapse\": `Skjul`,\n \"expand\": `Udvid`\n};\n\n\nexport {$4969ddadcdabd0a2$exports as default};\n//# sourceMappingURL=da-DK.mjs.map\n","var $c364d2816a375361$exports = {};\n$c364d2816a375361$exports = {\n \"ascending\": `aufsteigend`,\n \"ascendingSort\": (args)=>`sortiert nach Spalte ${args.columnName} in aufsteigender Reihenfolge`,\n \"columnSize\": (args)=>`${args.value} Pixel`,\n \"descending\": `absteigend`,\n \"descendingSort\": (args)=>`sortiert nach Spalte ${args.columnName} in absteigender Reihenfolge`,\n \"resizerDescription\": `Eingabetaste zum Starten der Gr\\xf6\\xdfen\\xe4nderung dr\\xfccken`,\n \"select\": `Ausw\\xe4hlen`,\n \"selectAll\": `Alles ausw\\xe4hlen`,\n \"sortable\": `sortierbare Spalte`,\n \"collapse\": `Reduzieren`,\n \"expand\": `Erweitern`\n};\n\n\nexport {$c364d2816a375361$exports as default};\n//# sourceMappingURL=de-DE.mjs.map\n","var $0df507a20cd3de68$exports = {};\n$0df507a20cd3de68$exports = {\n \"ascending\": `\\u{3B1}\\u{3CD}\\u{3BE}\\u{3BF}\\u{3C5}\\u{3C3}\\u{3B1}`,\n \"ascendingSort\": (args)=>`\\u{3B4}\\u{3B9}\\u{3B1}\\u{3BB}\\u{3BF}\\u{3B3}\\u{3AE} \\u{3B1}\\u{3BD}\\u{3AC} \\u{3C3}\\u{3C4}\\u{3AE}\\u{3BB}\\u{3B7} ${args.columnName} \\u{3C3}\\u{3B5} \\u{3B1}\\u{3CD}\\u{3BE}\\u{3BF}\\u{3C5}\\u{3C3}\\u{3B1} \\u{3C3}\\u{3B5}\\u{3B9}\\u{3C1}\\u{3AC}`,\n \"columnSize\": (args)=>`${args.value} pixel`,\n \"descending\": `\\u{3C6}\\u{3B8}\\u{3AF}\\u{3BD}\\u{3BF}\\u{3C5}\\u{3C3}\\u{3B1}`,\n \"descendingSort\": (args)=>`\\u{3B4}\\u{3B9}\\u{3B1}\\u{3BB}\\u{3BF}\\u{3B3}\\u{3AE} \\u{3B1}\\u{3BD}\\u{3AC} \\u{3C3}\\u{3C4}\\u{3AE}\\u{3BB}\\u{3B7} ${args.columnName} \\u{3C3}\\u{3B5} \\u{3C6}\\u{3B8}\\u{3AF}\\u{3BD}\\u{3BF}\\u{3C5}\\u{3C3}\\u{3B1} \\u{3C3}\\u{3B5}\\u{3B9}\\u{3C1}\\u{3AC}`,\n \"resizerDescription\": `\\u{3A0}\\u{3B1}\\u{3C4}\\u{3AE}\\u{3C3}\\u{3C4}\\u{3B5} Enter \\u{3B3}\\u{3B9}\\u{3B1} \\u{3AD}\\u{3BD}\\u{3B1}\\u{3C1}\\u{3BE}\\u{3B7} \\u{3C4}\\u{3B7}\\u{3C2} \\u{3B1}\\u{3BB}\\u{3BB}\\u{3B1}\\u{3B3}\\u{3AE}\\u{3C2} \\u{3BC}\\u{3B5}\\u{3B3}\\u{3AD}\\u{3B8}\\u{3BF}\\u{3C5}\\u{3C2}`,\n \"select\": `\\u{395}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3BF}\\u{3B3}\\u{3AE}`,\n \"selectAll\": `\\u{395}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3BF}\\u{3B3}\\u{3AE} \\u{3CC}\\u{3BB}\\u{3C9}\\u{3BD}`,\n \"sortable\": `\\u{3A3}\\u{3C4}\\u{3AE}\\u{3BB}\\u{3B7} \\u{3B4}\\u{3B9}\\u{3B1}\\u{3BB}\\u{3BF}\\u{3B3}\\u{3AE}\\u{3C2}`,\n \"collapse\": `\\u{3A3}\\u{3CD}\\u{3BC}\\u{3C0}\\u{3C4}\\u{3C5}\\u{3BE}\\u{3B7}`,\n \"expand\": `\\u{391}\\u{3BD}\\u{3AC}\\u{3C0}\\u{3C4}\\u{3C5}\\u{3BE}\\u{3B7}`\n};\n\n\nexport {$0df507a20cd3de68$exports as default};\n//# sourceMappingURL=el-GR.mjs.map\n","var $160d566c570091e8$exports = {};\n$160d566c570091e8$exports = {\n \"select\": `Select`,\n \"selectAll\": `Select All`,\n \"sortable\": `sortable column`,\n \"ascending\": `ascending`,\n \"descending\": `descending`,\n \"ascendingSort\": (args)=>`sorted by column ${args.columnName} in ascending order`,\n \"descendingSort\": (args)=>`sorted by column ${args.columnName} in descending order`,\n \"columnSize\": (args)=>`${args.value} pixels`,\n \"resizerDescription\": `Press Enter to start resizing`,\n \"expand\": `Expand`,\n \"collapse\": `Collapse`\n};\n\n\nexport {$160d566c570091e8$exports as default};\n//# sourceMappingURL=en-US.mjs.map\n","var $d4414c84e6d49dbd$exports = {};\n$d4414c84e6d49dbd$exports = {\n \"ascending\": `ascendente`,\n \"ascendingSort\": (args)=>`ordenado por columna ${args.columnName} en sentido ascendente`,\n \"columnSize\": (args)=>`${args.value} p\\xedxeles`,\n \"descending\": `descendente`,\n \"descendingSort\": (args)=>`ordenado por columna ${args.columnName} en orden descendente`,\n \"resizerDescription\": `Pulse Intro para empezar a redimensionar`,\n \"select\": `Seleccionar`,\n \"selectAll\": `Seleccionar todos`,\n \"sortable\": `columna ordenable`,\n \"collapse\": `Contraer`,\n \"expand\": `Ampliar`\n};\n\n\nexport {$d4414c84e6d49dbd$exports as default};\n//# sourceMappingURL=es-ES.mjs.map\n","var $ec636463074d0694$exports = {};\n$ec636463074d0694$exports = {\n \"ascending\": `t\\xf5usev j\\xe4rjestus`,\n \"ascendingSort\": (args)=>`sorditud veeru j\\xe4rgi ${args.columnName} t\\xf5usvas j\\xe4rjestuses`,\n \"columnSize\": (args)=>`${args.value} pikslit`,\n \"descending\": `laskuv j\\xe4rjestus`,\n \"descendingSort\": (args)=>`sorditud veeru j\\xe4rgi ${args.columnName} laskuvas j\\xe4rjestuses`,\n \"resizerDescription\": `Suuruse muutmise alustamiseks vajutage klahvi Enter`,\n \"select\": `Vali`,\n \"selectAll\": `Vali k\\xf5ik`,\n \"sortable\": `sorditav veerg`,\n \"collapse\": `Ahenda`,\n \"expand\": `Laienda`\n};\n\n\nexport {$ec636463074d0694$exports as default};\n//# sourceMappingURL=et-EE.mjs.map\n","var $b9af5cacb30118d3$exports = {};\n$b9af5cacb30118d3$exports = {\n \"ascending\": `nouseva`,\n \"ascendingSort\": (args)=>`lajiteltu sarakkeen ${args.columnName} mukaan nousevassa j\\xe4rjestyksess\\xe4`,\n \"columnSize\": (args)=>`${args.value} pikseli\\xe4`,\n \"descending\": `laskeva`,\n \"descendingSort\": (args)=>`lajiteltu sarakkeen ${args.columnName} mukaan laskevassa j\\xe4rjestyksess\\xe4`,\n \"resizerDescription\": `Aloita koon muutos painamalla Enter-n\\xe4pp\\xe4int\\xe4`,\n \"select\": `Valitse`,\n \"selectAll\": `Valitse kaikki`,\n \"sortable\": `lajiteltava sarake`,\n \"collapse\": `Pienenn\\xe4`,\n \"expand\": `Laajenna`\n};\n\n\nexport {$b9af5cacb30118d3$exports as default};\n//# sourceMappingURL=fi-FI.mjs.map\n","var $5d623a6b4bfba620$exports = {};\n$5d623a6b4bfba620$exports = {\n \"ascending\": `croissant`,\n \"ascendingSort\": (args)=>`tri\\xe9 en fonction de la colonne\\xa0${args.columnName} par ordre croissant`,\n \"columnSize\": (args)=>`${args.value}\\xa0pixels`,\n \"descending\": `d\\xe9croissant`,\n \"descendingSort\": (args)=>`tri\\xe9 en fonction de la colonne\\xa0${args.columnName} par ordre d\\xe9croissant`,\n \"resizerDescription\": `Appuyez sur Entr\\xe9e pour commencer le redimensionnement.`,\n \"select\": `S\\xe9lectionner`,\n \"selectAll\": `S\\xe9lectionner tout`,\n \"sortable\": `colonne triable`,\n \"collapse\": `R\\xe9duire`,\n \"expand\": `D\\xe9velopper`\n};\n\n\nexport {$5d623a6b4bfba620$exports as default};\n//# sourceMappingURL=fr-FR.mjs.map\n","var $d3538834bc29f0e4$exports = {};\n$d3538834bc29f0e4$exports = {\n \"ascending\": `\\u{5E2}\\u{5D5}\\u{5DC}\\u{5D4}`,\n \"ascendingSort\": (args)=>`\\u{5DE}\\u{5D5}\\u{5D9}\\u{5DF} \\u{5DC}\\u{5E4}\\u{5D9} \\u{5E2}\\u{5DE}\\u{5D5}\\u{5D3}\\u{5D4} ${args.columnName} \\u{5D1}\\u{5E1}\\u{5D3}\\u{5E8} \\u{5E2}\\u{5D5}\\u{5DC}\\u{5D4}`,\n \"columnSize\": (args)=>`${args.value} \\u{5E4}\\u{5D9}\\u{5E7}\\u{5E1}\\u{5DC}\\u{5D9}\\u{5DD}`,\n \"descending\": `\\u{5D9}\\u{5D5}\\u{5E8}\\u{5D3}`,\n \"descendingSort\": (args)=>`\\u{5DE}\\u{5D5}\\u{5D9}\\u{5DF} \\u{5DC}\\u{5E4}\\u{5D9} \\u{5E2}\\u{5DE}\\u{5D5}\\u{5D3}\\u{5D4} ${args.columnName} \\u{5D1}\\u{5E1}\\u{5D3}\\u{5E8} \\u{5D9}\\u{5D5}\\u{5E8}\\u{5D3}`,\n \"resizerDescription\": `\\u{5D4}\\u{5E7}\\u{5E9} Enter \\u{5DB}\\u{5D3}\\u{5D9} \\u{5DC}\\u{5E9}\\u{5E0}\\u{5D5}\\u{5EA} \\u{5D0}\\u{5EA} \\u{5D4}\\u{5D2}\\u{5D5}\\u{5D3}\\u{5DC}`,\n \"select\": `\\u{5D1}\\u{5D7}\\u{5E8}`,\n \"selectAll\": `\\u{5D1}\\u{5D7}\\u{5E8} \\u{5D4}\\u{5DB}\\u{5D5}\\u{5DC}`,\n \"sortable\": `\\u{5E2}\\u{5DE}\\u{5D5}\\u{5D3}\\u{5D4} \\u{5E9}\\u{5E0}\\u{5D9}\\u{5EA}\\u{5DF} \\u{5DC}\\u{5DE}\\u{5D9}\\u{5D9}\\u{5DF}`,\n \"collapse\": `\\u{5DB}\\u{5D5}\\u{5D5}\\u{5E5}`,\n \"expand\": `\\u{5D4}\\u{5E8}\\u{5D7}\\u{5D1}`\n};\n\n\nexport {$d3538834bc29f0e4$exports as default};\n//# sourceMappingURL=he-IL.mjs.map\n","var $ff234028e319d566$exports = {};\n$ff234028e319d566$exports = {\n \"ascending\": `rastu\\u{107}i`,\n \"ascendingSort\": (args)=>`razvrstano po stupcima ${args.columnName} rastu\\u{107}em redoslijedom`,\n \"columnSize\": (args)=>`${args.value} piksela`,\n \"descending\": `padaju\\u{107}i`,\n \"descendingSort\": (args)=>`razvrstano po stupcima ${args.columnName} padaju\\u{107}im redoslijedom`,\n \"resizerDescription\": `Pritisnite Enter da biste zapo\\u{10D}eli promenu veli\\u{10D}ine`,\n \"select\": `Odaberite`,\n \"selectAll\": `Odaberite sve`,\n \"sortable\": `stupac koji se mo\\u{17E}e razvrstati`,\n \"collapse\": `Sa\\u{17E}mi`,\n \"expand\": `Pro\\u{161}iri`\n};\n\n\nexport {$ff234028e319d566$exports as default};\n//# sourceMappingURL=hr-HR.mjs.map\n","var $a460605373fc3c6e$exports = {};\n$a460605373fc3c6e$exports = {\n \"ascending\": `n\\xf6vekv\\u{151}`,\n \"ascendingSort\": (args)=>`rendezve a(z) ${args.columnName} oszlop szerint, n\\xf6vekv\\u{151} sorrendben`,\n \"columnSize\": (args)=>`${args.value} k\\xe9ppont`,\n \"descending\": `cs\\xf6kken\\u{151}`,\n \"descendingSort\": (args)=>`rendezve a(z) ${args.columnName} oszlop szerint, cs\\xf6kken\\u{151} sorrendben`,\n \"resizerDescription\": `Nyomja le az Enter billenty\\u{171}t az \\xe1tm\\xe9retez\\xe9s megkezd\\xe9s\\xe9hez`,\n \"select\": `Kijel\\xf6l\\xe9s`,\n \"selectAll\": `\\xd6sszes kijel\\xf6l\\xe9se`,\n \"sortable\": `rendezend\\u{151} oszlop`,\n \"collapse\": `\\xd6sszecsuk\\xe1s`,\n \"expand\": `Kibont\\xe1s`\n};\n\n\nexport {$a460605373fc3c6e$exports as default};\n//# sourceMappingURL=hu-HU.mjs.map\n","var $08adf0fa2daf2795$exports = {};\n$08adf0fa2daf2795$exports = {\n \"ascending\": `crescente`,\n \"ascendingSort\": (args)=>`in ordine crescente in base alla colonna ${args.columnName}`,\n \"columnSize\": (args)=>`${args.value} pixel`,\n \"descending\": `decrescente`,\n \"descendingSort\": (args)=>`in ordine decrescente in base alla colonna ${args.columnName}`,\n \"resizerDescription\": `Premi Invio per iniziare a ridimensionare`,\n \"select\": `Seleziona`,\n \"selectAll\": `Seleziona tutto`,\n \"sortable\": `colonna ordinabile`,\n \"collapse\": `Comprimi`,\n \"expand\": `Espandi`\n};\n\n\nexport {$08adf0fa2daf2795$exports as default};\n//# sourceMappingURL=it-IT.mjs.map\n","var $f0df77706c7c9d19$exports = {};\n$f0df77706c7c9d19$exports = {\n \"ascending\": `\\u{6607}\\u{9806}`,\n \"ascendingSort\": (args)=>`\\u{5217} ${args.columnName} \\u{3092}\\u{6607}\\u{9806}\\u{3067}\\u{4E26}\\u{3079}\\u{66FF}\\u{3048}`,\n \"columnSize\": (args)=>`${args.value} \\u{30D4}\\u{30AF}\\u{30BB}\\u{30EB}`,\n \"descending\": `\\u{964D}\\u{9806}`,\n \"descendingSort\": (args)=>`\\u{5217} ${args.columnName} \\u{3092}\\u{964D}\\u{9806}\\u{3067}\\u{4E26}\\u{3079}\\u{66FF}\\u{3048}`,\n \"resizerDescription\": `Enter \\u{30AD}\\u{30FC}\\u{3092}\\u{62BC}\\u{3057}\\u{3066}\\u{30B5}\\u{30A4}\\u{30BA}\\u{5909}\\u{66F4}\\u{3092}\\u{958B}\\u{59CB}`,\n \"select\": `\\u{9078}\\u{629E}`,\n \"selectAll\": `\\u{3059}\\u{3079}\\u{3066}\\u{9078}\\u{629E}`,\n \"sortable\": `\\u{4E26}\\u{3079}\\u{66FF}\\u{3048}\\u{53EF}\\u{80FD}\\u{306A}\\u{5217}`,\n \"collapse\": `\\u{6298}\\u{308A}\\u{305F}\\u{305F}\\u{3080}`,\n \"expand\": `\\u{5C55}\\u{958B}`\n};\n\n\nexport {$f0df77706c7c9d19$exports as default};\n//# sourceMappingURL=ja-JP.mjs.map\n","var $e5ac4371cd150188$exports = {};\n$e5ac4371cd150188$exports = {\n \"ascending\": `\\u{C624}\\u{B984}\\u{CC28}\\u{C21C}`,\n \"ascendingSort\": (args)=>`${args.columnName} \\u{C5F4}\\u{C744} \\u{AE30}\\u{C900}\\u{C73C}\\u{B85C} \\u{C624}\\u{B984}\\u{CC28}\\u{C21C}\\u{C73C}\\u{B85C} \\u{C815}\\u{B82C}\\u{B428}`,\n \"columnSize\": (args)=>`${args.value} \\u{D53D}\\u{C140}`,\n \"descending\": `\\u{B0B4}\\u{B9BC}\\u{CC28}\\u{C21C}`,\n \"descendingSort\": (args)=>`${args.columnName} \\u{C5F4}\\u{C744} \\u{AE30}\\u{C900}\\u{C73C}\\u{B85C} \\u{B0B4}\\u{B9BC}\\u{CC28}\\u{C21C}\\u{C73C}\\u{B85C} \\u{C815}\\u{B82C}\\u{B428}`,\n \"resizerDescription\": `\\u{D06C}\\u{AE30} \\u{C870}\\u{C815}\\u{C744} \\u{C2DC}\\u{C791}\\u{D558}\\u{B824}\\u{BA74} Enter\\u{B97C} \\u{B204}\\u{B974}\\u{C138}\\u{C694}.`,\n \"select\": `\\u{C120}\\u{D0DD}`,\n \"selectAll\": `\\u{BAA8}\\u{B450} \\u{C120}\\u{D0DD}`,\n \"sortable\": `\\u{C815}\\u{B82C} \\u{AC00}\\u{B2A5}\\u{D55C} \\u{C5F4}`,\n \"collapse\": `\\u{C811}\\u{AE30}`,\n \"expand\": `\\u{D3BC}\\u{CE58}\\u{AE30}`\n};\n\n\nexport {$e5ac4371cd150188$exports as default};\n//# sourceMappingURL=ko-KR.mjs.map\n","var $f47edc2cbf755d2f$exports = {};\n$f47edc2cbf755d2f$exports = {\n \"ascending\": `did\\u{117}jan\\u{10D}ia tvarka`,\n \"ascendingSort\": (args)=>`surikiuota pagal stulpel\\u{12F} ${args.columnName} did\\u{117}jan\\u{10D}ia tvarka`,\n \"columnSize\": (args)=>`${args.value} piks.`,\n \"descending\": `ma\\u{17E}\\u{117}jan\\u{10D}ia tvarka`,\n \"descendingSort\": (args)=>`surikiuota pagal stulpel\\u{12F} ${args.columnName} ma\\u{17E}\\u{117}jan\\u{10D}ia tvarka`,\n \"resizerDescription\": `Paspauskite \\u{201E}Enter\\u{201C}, kad prad\\u{117}tum\\u{117}te keisti dyd\\u{12F}`,\n \"select\": `Pasirinkti`,\n \"selectAll\": `Pasirinkti visk\\u{105}`,\n \"sortable\": `rikiuojamas stulpelis`,\n \"collapse\": `Sutraukti`,\n \"expand\": `I\\u{161}skleisti`\n};\n\n\nexport {$f47edc2cbf755d2f$exports as default};\n//# sourceMappingURL=lt-LT.mjs.map\n","var $be90ff34dfb20f33$exports = {};\n$be90ff34dfb20f33$exports = {\n \"ascending\": `augo\\u{161}\\u{101} sec\\u{12B}b\\u{101}`,\n \"ascendingSort\": (args)=>`k\\u{101}rtots p\\u{113}c kolonnas ${args.columnName} augo\\u{161}\\u{101} sec\\u{12B}b\\u{101}`,\n \"columnSize\": (args)=>`${args.value} pikse\\u{13C}i`,\n \"descending\": `dilsto\\u{161}\\u{101} sec\\u{12B}b\\u{101}`,\n \"descendingSort\": (args)=>`k\\u{101}rtots p\\u{113}c kolonnas ${args.columnName} dilsto\\u{161}\\u{101} sec\\u{12B}b\\u{101}`,\n \"resizerDescription\": `Nospiediet Enter, lai s\\u{101}ktu izm\\u{113}ru main\\u{12B}\\u{161}anu`,\n \"select\": `Atlas\\u{12B}t`,\n \"selectAll\": `Atlas\\u{12B}t visu`,\n \"sortable\": `k\\u{101}rtojam\\u{101} kolonna`,\n \"collapse\": `Sak\\u{13C}aut`,\n \"expand\": `Izv\\u{113}rst`\n};\n\n\nexport {$be90ff34dfb20f33$exports as default};\n//# sourceMappingURL=lv-LV.mjs.map\n","var $41302606c501089a$exports = {};\n$41302606c501089a$exports = {\n \"ascending\": `stigende`,\n \"ascendingSort\": (args)=>`sortert etter kolonne ${args.columnName} i stigende rekkef\\xf8lge`,\n \"columnSize\": (args)=>`${args.value} piksler`,\n \"descending\": `synkende`,\n \"descendingSort\": (args)=>`sortert etter kolonne ${args.columnName} i synkende rekkef\\xf8lge`,\n \"resizerDescription\": `Trykk p\\xe5 Enter for \\xe5 starte st\\xf8rrelsesendring`,\n \"select\": `Velg`,\n \"selectAll\": `Velg alle`,\n \"sortable\": `kolonne som kan sorteres`,\n \"collapse\": `Skjul`,\n \"expand\": `Utvid`\n};\n\n\nexport {$41302606c501089a$exports as default};\n//# sourceMappingURL=nb-NO.mjs.map\n","var $3a8ceb4ed1945141$exports = {};\n$3a8ceb4ed1945141$exports = {\n \"ascending\": `oplopend`,\n \"ascendingSort\": (args)=>`gesorteerd in oplopende volgorde in kolom ${args.columnName}`,\n \"columnSize\": (args)=>`${args.value} pixels`,\n \"descending\": `aflopend`,\n \"descendingSort\": (args)=>`gesorteerd in aflopende volgorde in kolom ${args.columnName}`,\n \"resizerDescription\": `Druk op Enter om het formaat te wijzigen`,\n \"select\": `Selecteren`,\n \"selectAll\": `Alles selecteren`,\n \"sortable\": `sorteerbare kolom`,\n \"collapse\": `Samenvouwen`,\n \"expand\": `Uitvouwen`\n};\n\n\nexport {$3a8ceb4ed1945141$exports as default};\n//# sourceMappingURL=nl-NL.mjs.map\n","var $ea686931ac732950$exports = {};\n$ea686931ac732950$exports = {\n \"ascending\": `rosn\\u{105}co`,\n \"ascendingSort\": (args)=>`posortowano wed\\u{142}ug kolumny ${args.columnName} w porz\\u{105}dku rosn\\u{105}cym`,\n \"columnSize\": (args)=>`Liczba pikseli: ${args.value}`,\n \"descending\": `malej\\u{105}co`,\n \"descendingSort\": (args)=>`posortowano wed\\u{142}ug kolumny ${args.columnName} w porz\\u{105}dku malej\\u{105}cym`,\n \"resizerDescription\": `Naci\\u{15B}nij Enter, aby rozpocz\\u{105}\\u{107} zmienianie rozmiaru`,\n \"select\": `Zaznacz`,\n \"selectAll\": `Zaznacz wszystko`,\n \"sortable\": `kolumna z mo\\u{17C}liwo\\u{15B}ci\\u{105} sortowania`,\n \"collapse\": `Zwi\\u{144}`,\n \"expand\": `Rozwi\\u{144}`\n};\n\n\nexport {$ea686931ac732950$exports as default};\n//# sourceMappingURL=pl-PL.mjs.map\n","var $0427088f367c2e58$exports = {};\n$0427088f367c2e58$exports = {\n \"ascending\": `crescente`,\n \"ascendingSort\": (args)=>`classificado pela coluna ${args.columnName} em ordem crescente`,\n \"columnSize\": (args)=>`${args.value} pixels`,\n \"descending\": `decrescente`,\n \"descendingSort\": (args)=>`classificado pela coluna ${args.columnName} em ordem decrescente`,\n \"resizerDescription\": `Pressione Enter para come\\xe7ar a redimensionar`,\n \"select\": `Selecionar`,\n \"selectAll\": `Selecionar tudo`,\n \"sortable\": `coluna classific\\xe1vel`,\n \"collapse\": `Recolher`,\n \"expand\": `Expandir`\n};\n\n\nexport {$0427088f367c2e58$exports as default};\n//# sourceMappingURL=pt-BR.mjs.map\n","var $3cc20af1f1f186ed$exports = {};\n$3cc20af1f1f186ed$exports = {\n \"ascending\": `ascendente`,\n \"ascendingSort\": (args)=>`Ordenar por coluna ${args.columnName} em ordem ascendente`,\n \"columnSize\": (args)=>`${args.value} pixels`,\n \"descending\": `descendente`,\n \"descendingSort\": (args)=>`Ordenar por coluna ${args.columnName} em ordem descendente`,\n \"resizerDescription\": `Prima Enter para iniciar o redimensionamento`,\n \"select\": `Selecionar`,\n \"selectAll\": `Selecionar tudo`,\n \"sortable\": `Coluna orden\\xe1vel`,\n \"collapse\": `Colapsar`,\n \"expand\": `Expandir`\n};\n\n\nexport {$3cc20af1f1f186ed$exports as default};\n//# sourceMappingURL=pt-PT.mjs.map\n","var $e965f1ac9c7323c6$exports = {};\n$e965f1ac9c7323c6$exports = {\n \"ascending\": `cresc\\u{103}toare`,\n \"ascendingSort\": (args)=>`sortate dup\\u{103} coloana ${args.columnName} \\xeen ordine cresc\\u{103}toare`,\n \"columnSize\": (args)=>`${args.value} pixeli`,\n \"descending\": `descresc\\u{103}toare`,\n \"descendingSort\": (args)=>`sortate dup\\u{103} coloana ${args.columnName} \\xeen ordine descresc\\u{103}toare`,\n \"resizerDescription\": `Ap\\u{103}sa\\u{21B}i pe Enter pentru a \\xeencepe redimensionarea`,\n \"select\": `Selectare`,\n \"selectAll\": `Selectare total\\u{103}`,\n \"sortable\": `coloan\\u{103} sortabil\\u{103}`,\n \"collapse\": `Restr\\xe2nge\\u{21B}i`,\n \"expand\": `Extinde\\u{21B}i`\n};\n\n\nexport {$e965f1ac9c7323c6$exports as default};\n//# sourceMappingURL=ro-RO.mjs.map\n","var $9ff37df8122f4c31$exports = {};\n$9ff37df8122f4c31$exports = {\n \"ascending\": `\\u{432}\\u{43E}\\u{437}\\u{440}\\u{430}\\u{441}\\u{442}\\u{430}\\u{43D}\\u{438}\\u{435}`,\n \"ascendingSort\": (args)=>`\\u{441}\\u{43E}\\u{440}\\u{442}\\u{438}\\u{440}\\u{43E}\\u{432}\\u{430}\\u{442}\\u{44C} \\u{441}\\u{442}\\u{43E}\\u{43B}\\u{431}\\u{435}\\u{446} ${args.columnName} \\u{432} \\u{43F}\\u{43E}\\u{440}\\u{44F}\\u{434}\\u{43A}\\u{435} \\u{432}\\u{43E}\\u{437}\\u{440}\\u{430}\\u{441}\\u{442}\\u{430}\\u{43D}\\u{438}\\u{44F}`,\n \"columnSize\": (args)=>`${args.value} \\u{43F}\\u{438}\\u{43A}\\u{441}.`,\n \"descending\": `\\u{443}\\u{431}\\u{44B}\\u{432}\\u{430}\\u{43D}\\u{438}\\u{435}`,\n \"descendingSort\": (args)=>`\\u{441}\\u{43E}\\u{440}\\u{442}\\u{438}\\u{440}\\u{43E}\\u{432}\\u{430}\\u{442}\\u{44C} \\u{441}\\u{442}\\u{43E}\\u{43B}\\u{431}\\u{435}\\u{446} ${args.columnName} \\u{432} \\u{43F}\\u{43E}\\u{440}\\u{44F}\\u{434}\\u{43A}\\u{435} \\u{443}\\u{431}\\u{44B}\\u{432}\\u{430}\\u{43D}\\u{438}\\u{44F}`,\n \"resizerDescription\": `\\u{41D}\\u{430}\\u{436}\\u{43C}\\u{438}\\u{442}\\u{435} \\u{43A}\\u{43B}\\u{430}\\u{432}\\u{438}\\u{448}\\u{443} Enter \\u{434}\\u{43B}\\u{44F} \\u{43D}\\u{430}\\u{447}\\u{430}\\u{43B}\\u{430} \\u{438}\\u{437}\\u{43C}\\u{435}\\u{43D}\\u{435}\\u{43D}\\u{438}\\u{44F} \\u{440}\\u{430}\\u{437}\\u{43C}\\u{435}\\u{440}\\u{43E}\\u{432}`,\n \"select\": `\\u{412}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{442}\\u{44C}`,\n \"selectAll\": `\\u{412}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{442}\\u{44C} \\u{432}\\u{441}\\u{435}`,\n \"sortable\": `\\u{441}\\u{43E}\\u{440}\\u{442}\\u{438}\\u{440}\\u{443}\\u{435}\\u{43C}\\u{44B}\\u{439} \\u{441}\\u{442}\\u{43E}\\u{43B}\\u{431}\\u{435}\\u{446}`,\n \"collapse\": `\\u{421}\\u{432}\\u{435}\\u{440}\\u{43D}\\u{443}\\u{442}\\u{44C}`,\n \"expand\": `\\u{420}\\u{430}\\u{437}\\u{432}\\u{435}\\u{440}\\u{43D}\\u{443}\\u{442}\\u{44C}`\n};\n\n\nexport {$9ff37df8122f4c31$exports as default};\n//# sourceMappingURL=ru-RU.mjs.map\n","var $e19dad5c3f0832dd$exports = {};\n$e19dad5c3f0832dd$exports = {\n \"ascending\": `vzostupne`,\n \"ascendingSort\": (args)=>`zoraden\\xe9 zostupne pod\\u{13E}a st\\u{13A}pca ${args.columnName}`,\n \"columnSize\": (args)=>`Po\\u{10D}et pixelov: ${args.value}`,\n \"descending\": `zostupne`,\n \"descendingSort\": (args)=>`zoraden\\xe9 zostupne pod\\u{13E}a st\\u{13A}pca ${args.columnName}`,\n \"resizerDescription\": `Stla\\u{10D}en\\xedm kl\\xe1vesu Enter za\\u{10D}nete zmenu ve\\u{13E}kosti`,\n \"select\": `Vybra\\u{165}`,\n \"selectAll\": `Vybra\\u{165} v\\u{161}etko`,\n \"sortable\": `zoradite\\u{13E}n\\xfd st\\u{13A}pec`,\n \"collapse\": `Zbali\\u{165}`,\n \"expand\": `Rozbali\\u{165}`\n};\n\n\nexport {$e19dad5c3f0832dd$exports as default};\n//# sourceMappingURL=sk-SK.mjs.map\n","var $a034c26f08723019$exports = {};\n$a034c26f08723019$exports = {\n \"ascending\": `nara\\u{161}\\u{10D}ajo\\u{10D}e`,\n \"ascendingSort\": (args)=>`razvr\\u{161}\\u{10D}eno po stolpcu ${args.columnName} v nara\\u{161}\\u{10D}ajo\\u{10D}em vrstnem redu`,\n \"columnSize\": (args)=>`${args.value} slikovnih pik`,\n \"descending\": `padajo\\u{10D}e`,\n \"descendingSort\": (args)=>`razvr\\u{161}\\u{10D}eno po stolpcu ${args.columnName} v padajo\\u{10D}em vrstnem redu`,\n \"resizerDescription\": `Pritisnite tipko Enter da za\\u{10D}nete spreminjati velikost`,\n \"select\": `Izberite`,\n \"selectAll\": `Izberite vse`,\n \"sortable\": `razvrstljivi stolpec`,\n \"collapse\": `Strni`,\n \"expand\": `Raz\\u{161}iri`\n};\n\n\nexport {$a034c26f08723019$exports as default};\n//# sourceMappingURL=sl-SI.mjs.map\n","var $0656e59894541e33$exports = {};\n$0656e59894541e33$exports = {\n \"ascending\": `rastu\\u{107}i`,\n \"ascendingSort\": (args)=>`sortirano po kolonama ${args.columnName} rastu\\u{107}im redosledom`,\n \"columnSize\": (args)=>`${args.value} piksela`,\n \"descending\": `padaju\\u{107}i`,\n \"descendingSort\": (args)=>`sortirano po kolonama ${args.columnName} padaju\\u{107}im redosledom`,\n \"resizerDescription\": `Pritisnite Enter da biste zapo\\u{10D}eli promenu veli\\u{10D}ine`,\n \"select\": `Izaberite`,\n \"selectAll\": `Izaberite sve`,\n \"sortable\": `kolona koja se mo\\u{17E}e sortirati`,\n \"collapse\": ` Skupi`,\n \"expand\": `Pro\\u{161}iri`\n};\n\n\nexport {$0656e59894541e33$exports as default};\n//# sourceMappingURL=sr-SP.mjs.map\n","var $d28c154af217b83d$exports = {};\n$d28c154af217b83d$exports = {\n \"ascending\": `stigande`,\n \"ascendingSort\": (args)=>`sorterat p\\xe5 kolumn ${args.columnName} i stigande ordning`,\n \"columnSize\": (args)=>`${args.value} pixlar`,\n \"descending\": `fallande`,\n \"descendingSort\": (args)=>`sorterat p\\xe5 kolumn ${args.columnName} i fallande ordning`,\n \"resizerDescription\": `Tryck p\\xe5 Retur f\\xf6r att b\\xf6rja \\xe4ndra storlek`,\n \"select\": `Markera`,\n \"selectAll\": `Markera allt`,\n \"sortable\": `sorterbar kolumn`,\n \"collapse\": `D\\xf6lj`,\n \"expand\": `Expandera`\n};\n\n\nexport {$d28c154af217b83d$exports as default};\n//# sourceMappingURL=sv-SE.mjs.map\n","var $7ffc8c16cb887a33$exports = {};\n$7ffc8c16cb887a33$exports = {\n \"ascending\": `artan s\\u{131}rada`,\n \"ascendingSort\": (args)=>`${args.columnName} s\\xfctuna g\\xf6re artan d\\xfczende s\\u{131}rala`,\n \"columnSize\": (args)=>`${args.value} piksel`,\n \"descending\": `azalan s\\u{131}rada`,\n \"descendingSort\": (args)=>`${args.columnName} s\\xfctuna g\\xf6re azalan d\\xfczende s\\u{131}rala`,\n \"resizerDescription\": `Yeniden boyutland\\u{131}rmak i\\xe7in Enter'a bas\\u{131}n`,\n \"select\": `Se\\xe7`,\n \"selectAll\": `T\\xfcm\\xfcn\\xfc Se\\xe7`,\n \"sortable\": `S\\u{131}ralanabilir s\\xfctun`,\n \"collapse\": `Daralt`,\n \"expand\": `Geni\\u{15F}let`\n};\n\n\nexport {$7ffc8c16cb887a33$exports as default};\n//# sourceMappingURL=tr-TR.mjs.map\n","var $408719d7344ddfb6$exports = {};\n$408719d7344ddfb6$exports = {\n \"ascending\": `\\u{432}\\u{438}\\u{441}\\u{445}\\u{456}\\u{434}\\u{43D}\\u{438}\\u{439}`,\n \"ascendingSort\": (args)=>`\\u{432}\\u{456}\\u{434}\\u{441}\\u{43E}\\u{440}\\u{442}\\u{43E}\\u{432}\\u{430}\\u{43D}\\u{43E} \\u{437}\\u{430} \\u{441}\\u{442}\\u{43E}\\u{432}\\u{43F}\\u{446}\\u{435}\\u{43C} ${args.columnName} \\u{443} \\u{432}\\u{438}\\u{441}\\u{445}\\u{456}\\u{434}\\u{43D}\\u{43E}\\u{43C}\\u{443} \\u{43F}\\u{43E}\\u{440}\\u{44F}\\u{434}\\u{43A}\\u{443}`,\n \"columnSize\": (args)=>`${args.value} \\u{43F}\\u{456}\\u{43A}\\u{441}.`,\n \"descending\": `\\u{43D}\\u{438}\\u{437}\\u{445}\\u{456}\\u{434}\\u{43D}\\u{438}\\u{439}`,\n \"descendingSort\": (args)=>`\\u{432}\\u{456}\\u{434}\\u{441}\\u{43E}\\u{440}\\u{442}\\u{43E}\\u{432}\\u{430}\\u{43D}\\u{43E} \\u{437}\\u{430} \\u{441}\\u{442}\\u{43E}\\u{432}\\u{43F}\\u{446}\\u{435}\\u{43C} ${args.columnName} \\u{443} \\u{43D}\\u{438}\\u{437}\\u{445}\\u{456}\\u{434}\\u{43D}\\u{43E}\\u{43C}\\u{443} \\u{43F}\\u{43E}\\u{440}\\u{44F}\\u{434}\\u{43A}\\u{443}`,\n \"resizerDescription\": `\\u{41D}\\u{430}\\u{442}\\u{438}\\u{441}\\u{43D}\\u{456}\\u{442}\\u{44C} Enter, \\u{449}\\u{43E}\\u{431} \\u{43F}\\u{43E}\\u{447}\\u{430}\\u{442}\\u{438} \\u{437}\\u{43C}\\u{456}\\u{43D}\\u{443} \\u{440}\\u{43E}\\u{437}\\u{43C}\\u{456}\\u{440}\\u{443}`,\n \"select\": `\\u{412}\\u{438}\\u{431}\\u{440}\\u{430}\\u{442}\\u{438}`,\n \"selectAll\": `\\u{412}\\u{438}\\u{431}\\u{440}\\u{430}\\u{442}\\u{438} \\u{432}\\u{441}\\u{435}`,\n \"sortable\": `\\u{441}\\u{43E}\\u{440}\\u{442}\\u{443}\\u{432}\\u{430}\\u{43B}\\u{44C}\\u{43D}\\u{438}\\u{439} \\u{441}\\u{442}\\u{43E}\\u{432}\\u{43F}\\u{435}\\u{446}\\u{44C}`,\n \"collapse\": `\\u{417}\\u{433}\\u{43E}\\u{440}\\u{43D}\\u{443}\\u{442}\\u{438}`,\n \"expand\": `\\u{420}\\u{43E}\\u{437}\\u{433}\\u{43E}\\u{440}\\u{43D}\\u{443}\\u{442}\\u{438}`\n};\n\n\nexport {$408719d7344ddfb6$exports as default};\n//# sourceMappingURL=uk-UA.mjs.map\n","var $8138b1e3892af333$exports = {};\n$8138b1e3892af333$exports = {\n \"ascending\": `\\u{5347}\\u{5E8F}`,\n \"ascendingSort\": (args)=>`\\u{6309}\\u{5217} ${args.columnName} \\u{5347}\\u{5E8F}\\u{6392}\\u{5E8F}`,\n \"columnSize\": (args)=>`${args.value} \\u{50CF}\\u{7D20}`,\n \"descending\": `\\u{964D}\\u{5E8F}`,\n \"descendingSort\": (args)=>`\\u{6309}\\u{5217} ${args.columnName} \\u{964D}\\u{5E8F}\\u{6392}\\u{5E8F}`,\n \"resizerDescription\": `\\u{6309}\\u{201C}\\u{8F93}\\u{5165}\\u{201D}\\u{952E}\\u{5F00}\\u{59CB}\\u{8C03}\\u{6574}\\u{5927}\\u{5C0F}\\u{3002}`,\n \"select\": `\\u{9009}\\u{62E9}`,\n \"selectAll\": `\\u{5168}\\u{9009}`,\n \"sortable\": `\\u{53EF}\\u{6392}\\u{5E8F}\\u{7684}\\u{5217}`,\n \"collapse\": `\\u{6298}\\u{53E0}`,\n \"expand\": `\\u{6269}\\u{5C55}`\n};\n\n\nexport {$8138b1e3892af333$exports as default};\n//# sourceMappingURL=zh-CN.mjs.map\n","var $819032430b9f61a9$exports = {};\n$819032430b9f61a9$exports = {\n \"ascending\": `\\u{905E}\\u{589E}`,\n \"ascendingSort\": (args)=>`\\u{5DF2}\\u{4F9D}\\u{64DA}\\u{300C}${args.columnName}\\u{300D}\\u{6B04}\\u{905E}\\u{589E}\\u{6392}\\u{5E8F}`,\n \"columnSize\": (args)=>`${args.value} \\u{50CF}\\u{7D20}`,\n \"descending\": `\\u{905E}\\u{6E1B}`,\n \"descendingSort\": (args)=>`\\u{5DF2}\\u{4F9D}\\u{64DA}\\u{300C}${args.columnName}\\u{300D}\\u{6B04}\\u{905E}\\u{6E1B}\\u{6392}\\u{5E8F}`,\n \"resizerDescription\": `\\u{6309} Enter \\u{9375}\\u{4EE5}\\u{958B}\\u{59CB}\\u{8ABF}\\u{6574}\\u{5927}\\u{5C0F}`,\n \"select\": `\\u{9078}\\u{53D6}`,\n \"selectAll\": `\\u{5168}\\u{9078}`,\n \"sortable\": `\\u{53EF}\\u{6392}\\u{5E8F}\\u{7684}\\u{6B04}`,\n \"collapse\": `\\u{6536}\\u{5408}`,\n \"expand\": `\\u{5C55}\\u{958B}`\n};\n\n\nexport {$819032430b9f61a9$exports as default};\n//# sourceMappingURL=zh-TW.mjs.map\n","import {GridKeyboardDelegate as $c7bb87e55e1ab755$export$de9feff04fda126e} from \"../grid/GridKeyboardDelegate.mjs\";\nimport {getFirstItem as $3P3vF$getFirstItem, getChildNodes as $3P3vF$getChildNodes} from \"react-stately/private/collections/getChildNodes\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nclass $0048eb146240e3fa$export$da43f8f5cb04028d extends (0, $c7bb87e55e1ab755$export$de9feff04fda126e) {\n isCell(node) {\n return node.type === 'cell' || node.type === 'rowheader' || node.type === 'column';\n }\n getKeyBelow(key) {\n let startItem = this.collection.getItem(key);\n if (!startItem) return null;\n // If focus was on a column, then focus the first child column if any,\n // or find the corresponding cell in the first row.\n if (startItem.type === 'column') {\n let child = (0, $3P3vF$getFirstItem)((0, $3P3vF$getChildNodes)(startItem, this.collection));\n if (child) return child.key;\n let firstKey = this.getFirstKey();\n if (firstKey == null) return null;\n let firstItem = this.collection.getItem(firstKey);\n if (!firstItem) return null;\n return super.getKeyForItemInRowByIndex(firstKey, startItem.index);\n }\n return super.getKeyBelow(key);\n }\n getKeyAbove(key) {\n let startItem = this.collection.getItem(key);\n if (!startItem) return null;\n // If focus was on a column, focus the parent column if any\n if (startItem.type === 'column') {\n let parent = startItem.parentKey != null ? this.collection.getItem(startItem.parentKey) : null;\n if (parent && parent.type === 'column') return parent.key;\n return null;\n }\n // only return above row key if not header row\n let superKey = super.getKeyAbove(key);\n let superItem = superKey != null ? this.collection.getItem(superKey) : null;\n if (superItem && superItem.type !== 'headerrow') return superKey;\n // If no item was found, and focus was on a cell, then focus the\n // corresponding column header.\n if (this.isCell(startItem)) return this.collection.columns[startItem.index].key;\n // If focus was on a row, then focus the first column header.\n return this.collection.columns[0].key;\n }\n findNextColumnKey(column) {\n // Search following columns\n let key = this.findNextKey(column.key, (item)=>item.type === 'column');\n if (key != null) return key;\n // Wrap around to the first column\n let row = this.collection.headerRows[column.level];\n for (let item of (0, $3P3vF$getChildNodes)(row, this.collection)){\n if (item.type === 'column') return item.key;\n }\n return null;\n }\n findPreviousColumnKey(column) {\n // Search previous columns\n let key = this.findPreviousKey(column.key, (item)=>item.type === 'column');\n if (key != null) return key;\n // Wrap around to the last column\n let row = this.collection.headerRows[column.level];\n let childNodes = [\n ...(0, $3P3vF$getChildNodes)(row, this.collection)\n ];\n for(let i = childNodes.length - 1; i >= 0; i--){\n let item = childNodes[i];\n if (item.type === 'column') return item.key;\n }\n return null;\n }\n getKeyRightOf(key) {\n let item = this.collection.getItem(key);\n if (!item) return null;\n // If focus was on a column, then focus the next column\n if (item.type === 'column') return this.direction === 'rtl' ? this.findPreviousColumnKey(item) : this.findNextColumnKey(item);\n return super.getKeyRightOf(key);\n }\n getKeyLeftOf(key) {\n let item = this.collection.getItem(key);\n if (!item) return null;\n // If focus was on a column, then focus the previous column\n if (item.type === 'column') return this.direction === 'rtl' ? this.findNextColumnKey(item) : this.findPreviousColumnKey(item);\n return super.getKeyLeftOf(key);\n }\n getKeyForSearch(search, fromKey) {\n if (!this.collator) return null;\n let collection = this.collection;\n let key = fromKey ?? this.getFirstKey();\n if (key == null) return null;\n // If the starting key is a cell, search from its parent row.\n let startItem = collection.getItem(key);\n if (startItem?.type === 'cell') key = startItem.parentKey ?? null;\n let hasWrapped = false;\n while(key != null){\n let item = collection.getItem(key);\n if (!item) return null;\n if (item.textValue) {\n let substring = item.textValue.slice(0, search.length);\n if (this.collator.compare(substring, search) === 0) return item.key;\n }\n // Check each of the row header cells in this row for a match\n for (let cell of (0, $3P3vF$getChildNodes)(item, this.collection)){\n let column = collection.columns[cell.index];\n if (collection.rowHeaderColumnKeys.has(column.key) && cell.textValue) {\n let substring = cell.textValue.slice(0, search.length);\n if (this.collator.compare(substring, search) === 0) {\n // If we started on a cell, end on the matching cell. Otherwise, end on the row.\n let fromItem = fromKey != null ? collection.getItem(fromKey) : startItem;\n return fromItem?.type === 'cell' ? cell.key : item.key;\n }\n }\n }\n key = this.getKeyBelow(key);\n // Wrap around when reaching the end of the collection\n if (key == null && !hasWrapped) {\n key = this.getFirstKey();\n hasWrapped = true;\n }\n }\n return null;\n }\n}\n\n\nexport {$0048eb146240e3fa$export$da43f8f5cb04028d as TableKeyboardDelegate};\n//# sourceMappingURL=TableKeyboardDelegate.mjs.map\n","import {useGridRowGroup as $9364b4956b51a42c$export$d3037f5d3f3e51bf} from \"../grid/useGridRowGroup.mjs\";\n\n/*\n * Copyright 2026 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $a88c5fd7483f9127$export$6fb1613bd7b28198() {\n return (0, $9364b4956b51a42c$export$d3037f5d3f3e51bf)();\n}\n\n\nexport {$a88c5fd7483f9127$export$6fb1613bd7b28198 as useTableRowGroup};\n//# sourceMappingURL=useTableRowGroup.mjs.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ function $9364b4956b51a42c$export$d3037f5d3f3e51bf() {\n return {\n rowGroupProps: {\n role: 'rowgroup'\n }\n };\n}\n\n\nexport {$9364b4956b51a42c$export$d3037f5d3f3e51bf as useGridRowGroup};\n//# sourceMappingURL=useGridRowGroup.mjs.map\n","import {focusSafely as $f192c2f16961cbe0$export$80f3e147d781571c} from \"../interactions/focusSafely.mjs\";\nimport {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29, isFocusWithin as $23f2114a1b82827e$export$b4f377a2b6254582, nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getFocusableTreeWalker as $535772f9d2c1f38d$export$2d6ec8fc375ceafa} from \"../focus/FocusScope.mjs\";\nimport {getScrollParent as $3578607fe3d4b096$export$cfa2225e87938781} from \"../utils/getScrollParent.mjs\";\nimport {gridMap as $90a81c508a5c0de1$export$e6235c0d09b995d0} from \"./utils.mjs\";\nimport {isFocusVisible as $8f5a2122b0992be3$export$b9b3dfddab17db27} from \"../interactions/useFocusVisible.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {scrollIntoViewport as $51a3e22a5186a962$export$c826860796309d1b} from \"../utils/scrollIntoView.mjs\";\nimport {useLocale as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7} from \"../i18n/I18nProvider.mjs\";\nimport {useSelectableItem as $f6ba6936bfd098a0$export$ecf600387e221c37} from \"../selection/useSelectableItem.mjs\";\nimport {useRef as $jAbxn$useRef} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\nfunction $a4d729ad50b8576a$export$c7e10bfc0c59f67c(props, state, ref) {\n let { node: node, isVirtualized: isVirtualized, focusMode: focusMode = 'child', shouldSelectOnPressUp: shouldSelectOnPressUp, onAction: onAction } = props;\n let { direction: direction } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n let { keyboardDelegate: keyboardDelegate, actions: { onCellAction: onCellAction } } = (0, $90a81c508a5c0de1$export$e6235c0d09b995d0).get(state);\n // We need to track the key of the item at the time it was last focused so that we force\n // focus to go to the item when the DOM node is reused for a different item in a virtualizer.\n let keyWhenFocused = (0, $jAbxn$useRef)(null);\n // Handles focusing the cell. If there is a focusable child,\n // it is focused, otherwise the cell itself is focused.\n let focus = ()=>{\n if (ref.current) {\n let treeWalker = (0, $535772f9d2c1f38d$export$2d6ec8fc375ceafa)(ref.current);\n if (focusMode === 'child') {\n // If focus is already on a focusable child within the cell, early return so we don't shift focus\n if ((0, $23f2114a1b82827e$export$b4f377a2b6254582)(ref.current) && ref.current !== (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)()) return;\n let focusable = state.selectionManager.childFocusStrategy === 'last' ? $a4d729ad50b8576a$var$last(treeWalker) : treeWalker.firstChild();\n if (focusable) {\n (0, $f192c2f16961cbe0$export$80f3e147d781571c)(focusable);\n return;\n }\n }\n if (keyWhenFocused.current != null && node.key !== keyWhenFocused.current || !(0, $23f2114a1b82827e$export$b4f377a2b6254582)(ref.current)) (0, $f192c2f16961cbe0$export$80f3e147d781571c)(ref.current);\n }\n };\n let { itemProps: itemProps, isPressed: isPressed } = (0, $f6ba6936bfd098a0$export$ecf600387e221c37)({\n selectionManager: state.selectionManager,\n key: node.key,\n ref: ref,\n isVirtualized: isVirtualized,\n focus: focus,\n shouldSelectOnPressUp: shouldSelectOnPressUp,\n onAction: onCellAction ? ()=>onCellAction(node.key) : onAction,\n isDisabled: state.collection.size === 0\n });\n let onKeyDownCapture = (e)=>{\n let activeElement = (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)();\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e)) || state.isKeyboardNavigationDisabled || !ref.current || !activeElement) return;\n let walker = (0, $535772f9d2c1f38d$export$2d6ec8fc375ceafa)(ref.current);\n walker.currentNode = activeElement;\n switch(e.key){\n case 'ArrowLeft':\n {\n // Find the next focusable element within the cell.\n let focusable = direction === 'rtl' ? walker.nextNode() : walker.previousNode();\n // Don't focus the cell itself if focusMode is \"child\"\n if (focusMode === 'child' && focusable === ref.current) focusable = null;\n e.preventDefault();\n e.stopPropagation();\n if (focusable) {\n (0, $f192c2f16961cbe0$export$80f3e147d781571c)(focusable);\n (0, $51a3e22a5186a962$export$c826860796309d1b)(focusable, {\n containingElement: (0, $3578607fe3d4b096$export$cfa2225e87938781)(ref.current)\n });\n } else {\n // If there is no next focusable child, then move to the next cell to the left of this one.\n // This will be handled by useSelectableCollection. However, if there is no cell to the left\n // of this one, only one column, and the grid doesn't focus rows, then the next key will be the\n // same as this one. In that case we need to handle focusing either the cell or the first/last\n // child, depending on the focus mode.\n let prev = keyboardDelegate.getKeyLeftOf?.(node.key);\n if (prev !== node.key) {\n // We prevent the capturing event from reaching children of the cell, e.g. pickers.\n // We want arrow keys to navigate to the next cell instead. We need to re-dispatch\n // the event from a higher parent so it still bubbles and gets handled by useSelectableCollection.\n ref.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));\n break;\n }\n if (focusMode === 'cell' && direction === 'rtl') {\n (0, $f192c2f16961cbe0$export$80f3e147d781571c)(ref.current);\n (0, $51a3e22a5186a962$export$c826860796309d1b)(ref.current, {\n containingElement: (0, $3578607fe3d4b096$export$cfa2225e87938781)(ref.current)\n });\n } else {\n walker.currentNode = ref.current;\n focusable = direction === 'rtl' ? walker.firstChild() : $a4d729ad50b8576a$var$last(walker);\n if (focusable) {\n (0, $f192c2f16961cbe0$export$80f3e147d781571c)(focusable);\n (0, $51a3e22a5186a962$export$c826860796309d1b)(focusable, {\n containingElement: (0, $3578607fe3d4b096$export$cfa2225e87938781)(ref.current)\n });\n }\n }\n }\n break;\n }\n case 'ArrowRight':\n {\n let focusable = direction === 'rtl' ? walker.previousNode() : walker.nextNode();\n if (focusMode === 'child' && focusable === ref.current) focusable = null;\n e.preventDefault();\n e.stopPropagation();\n if (focusable) {\n (0, $f192c2f16961cbe0$export$80f3e147d781571c)(focusable);\n (0, $51a3e22a5186a962$export$c826860796309d1b)(focusable, {\n containingElement: (0, $3578607fe3d4b096$export$cfa2225e87938781)(ref.current)\n });\n } else {\n let next = keyboardDelegate.getKeyRightOf?.(node.key);\n if (next !== node.key) {\n // We prevent the capturing event from reaching children of the cell, e.g. pickers.\n // We want arrow keys to navigate to the next cell instead. We need to re-dispatch\n // the event from a higher parent so it still bubbles and gets handled by useSelectableCollection.\n ref.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));\n break;\n }\n if (focusMode === 'cell' && direction === 'ltr') {\n (0, $f192c2f16961cbe0$export$80f3e147d781571c)(ref.current);\n (0, $51a3e22a5186a962$export$c826860796309d1b)(ref.current, {\n containingElement: (0, $3578607fe3d4b096$export$cfa2225e87938781)(ref.current)\n });\n } else {\n walker.currentNode = ref.current;\n focusable = direction === 'rtl' ? $a4d729ad50b8576a$var$last(walker) : walker.firstChild();\n if (focusable) {\n (0, $f192c2f16961cbe0$export$80f3e147d781571c)(focusable);\n (0, $51a3e22a5186a962$export$c826860796309d1b)(focusable, {\n containingElement: (0, $3578607fe3d4b096$export$cfa2225e87938781)(ref.current)\n });\n }\n }\n }\n break;\n }\n case 'ArrowUp':\n case 'ArrowDown':\n // Prevent this event from reaching cell children, e.g. menu buttons. We want arrow keys to navigate\n // to the cell above/below instead. We need to re-dispatch the event from a higher parent so it still\n // bubbles and gets handled by useSelectableCollection.\n if (!e.altKey && (0, $23f2114a1b82827e$export$4282f70798064fe0)(ref.current, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) {\n e.stopPropagation();\n e.preventDefault();\n ref.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));\n }\n break;\n }\n };\n // Grid cells can have focusable elements inside them. In this case, focus should\n // be marshalled to that element rather than focusing the cell itself.\n let onFocus = (e)=>{\n keyWhenFocused.current = node.key;\n if ((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) !== ref.current) {\n // useSelectableItem only handles setting the focused key when\n // the focused element is the gridcell itself. We also want to\n // set the focused key when a child element receives focus.\n // If focus is currently visible (e.g. the user is navigating with the keyboard),\n // then skip this. We want to restore focus to the previously focused row/cell\n // in that case since the table should act like a single tab stop.\n if (!(0, $8f5a2122b0992be3$export$b9b3dfddab17db27)()) state.selectionManager.setFocusedKey(node.key);\n return;\n }\n // If the cell itself is focused, wait a frame so that focus finishes propagatating\n // up to the tree, and move focus to a focusable child if possible.\n requestAnimationFrame(()=>{\n if (focusMode === 'child' && (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)() === ref.current) focus();\n });\n };\n let gridCellProps = (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(itemProps, {\n role: 'gridcell',\n onKeyDownCapture: onKeyDownCapture,\n 'aria-colspan': node.colSpan,\n 'aria-colindex': node.colIndex != null ? node.colIndex + 1 : undefined,\n colSpan: isVirtualized ? undefined : node.colSpan,\n onFocus: onFocus\n });\n if (isVirtualized) gridCellProps['aria-colindex'] = (node.colIndex ?? node.index) + 1; // aria-colindex is 1-based\n // When pressing with a pointer and cell selection is not enabled, usePress will be applied to the\n // row rather than the cell. However, when the row is draggable, usePress cannot preventDefault\n // on pointer down, so the browser will try to focus the cell which has a tabIndex applied.\n // To avoid this, remove the tabIndex from the cell briefly on pointer down.\n if (shouldSelectOnPressUp && gridCellProps.tabIndex != null && gridCellProps.onPointerDown == null) gridCellProps.onPointerDown = (e)=>{\n let el = e.currentTarget;\n let tabindex = el.getAttribute('tabindex');\n el.removeAttribute('tabindex');\n requestAnimationFrame(()=>{\n if (tabindex != null) el.setAttribute('tabindex', tabindex);\n });\n };\n return {\n gridCellProps: gridCellProps,\n isPressed: isPressed\n };\n}\nfunction $a4d729ad50b8576a$var$last(walker) {\n let next = null;\n let last = null;\n do {\n last = walker.lastChild();\n if (last) next = last;\n }while (last);\n return next;\n}\n\n\nexport {$a4d729ad50b8576a$export$c7e10bfc0c59f67c as useGridCell};\n//# sourceMappingURL=useGridCell.mjs.map\n","import {getRowLabelledBy as $cf56c58f505db99a$export$85069b70317f543} from \"./utils.mjs\";\nimport {useGridRow as $6b16276e8bbdaf8e$export$96357d5a73f686fa} from \"../grid/useGridRow.mjs\";\nimport $eezcW$intlStringsmjs from \"./intlStrings.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useLabels as $e8ac3c3f5d4bae7f$export$d6875122194c7b44} from \"../utils/useLabels.mjs\";\nimport {useLocale as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7} from \"../i18n/I18nProvider.mjs\";\nimport {useLocalizedStringFormatter as $cf2482eff2eeeec2$export$f12b703ca79dfbb1} from \"../i18n/useLocalizedStringFormatter.mjs\";\nimport {useSyntheticLinkProps as $caaf0dd3060ed57c$export$bdc77b0c0a3a85d6} from \"../utils/openLink.mjs\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\nconst $d5954d038bf91c37$var$EXPANSION_KEYS = {\n expand: {\n ltr: 'ArrowRight',\n rtl: 'ArrowLeft'\n },\n 'collapse': {\n ltr: 'ArrowLeft',\n rtl: 'ArrowRight'\n }\n};\nfunction $d5954d038bf91c37$export$7f2f6ae19e707aa5(props, state, ref) {\n let { node: node, isVirtualized: isVirtualized } = props;\n let { rowProps: rowProps, ...states } = (0, $6b16276e8bbdaf8e$export$96357d5a73f686fa)(props, state, ref);\n let { direction: direction } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n if (isVirtualized && state.treeColumn == null) rowProps['aria-rowindex'] = node.index + 1 + state.collection.headerRows.length; // aria-rowindex is 1 based\n else delete rowProps['aria-rowindex'];\n let isExpanded = state.treeColumn != null && (state.expandedKeys === 'all' || state.expandedKeys.has(node.key));\n let stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($eezcW$intlStringsmjs))), '@react-aria/table');\n let labelProps = (0, $e8ac3c3f5d4bae7f$export$d6875122194c7b44)({\n 'aria-label': isExpanded ? stringFormatter.format('collapse') : stringFormatter.format('expand'),\n 'aria-labelledby': (0, $cf56c58f505db99a$export$85069b70317f543)(state, node.key)\n });\n let treeGridRowProps = {};\n let expandButtonProps = {};\n if (state.treeColumn != null) {\n let treeNode = state.collection.getItem(node.key);\n if (treeNode != null) {\n let lastChild = $d5954d038bf91c37$var$getLastChild(state.collection, node);\n let hasChildRows = treeNode.props?.hasChildRows || treeNode.props?.UNSTABLE_childItems || lastChild?.type !== 'cell';\n let parent = state.collection.getItem(node.parentKey);\n let isParentBody = parent.type === 'tablebody' || parent.type === 'body';\n let lastSibling = $d5954d038bf91c37$var$getLastChild(state.collection, parent);\n while(lastSibling && lastSibling.type !== 'item' && lastSibling.prevKey != null)lastSibling = state.collection.getItem(lastSibling.prevKey);\n treeGridRowProps = {\n onKeyDown: (e)=>{\n if (e.key === $d5954d038bf91c37$var$EXPANSION_KEYS['expand'][direction] && state.selectionManager.focusedKey === treeNode.key && hasChildRows && state.expandedKeys !== 'all' && !state.expandedKeys.has(treeNode.key)) {\n state.toggleKey(treeNode.key);\n e.stopPropagation();\n } else if (e.key === $d5954d038bf91c37$var$EXPANSION_KEYS['collapse'][direction] && state.selectionManager.focusedKey === treeNode.key) {\n if (state.expandedKeys !== 'all') {\n if (hasChildRows && state.expandedKeys.has(treeNode.key)) {\n state.toggleKey(treeNode.key);\n e.stopPropagation();\n } else if (!state.expandedKeys.has(treeNode.key) && treeNode.parentKey && treeNode.level > 0) {\n // Item is a leaf or already collapsed, move focus to parent\n state.selectionManager.setFocusedKey(treeNode.parentKey);\n e.stopPropagation();\n }\n } else if (state.expandedKeys === 'all') {\n state.toggleKey(treeNode.key);\n e.stopPropagation();\n }\n }\n },\n 'aria-expanded': hasChildRows ? state.expandedKeys === 'all' || state.expandedKeys.has(node.key) : undefined,\n 'aria-level': treeNode.level + 1,\n 'aria-posinset': treeNode.index - (isParentBody ? 0 : state.collection.columnCount) + 1,\n 'aria-setsize': lastSibling.index - (isParentBody ? 0 : state.collection.columnCount) + 1\n };\n expandButtonProps = {\n isDisabled: states.isDisabled,\n onPress: ()=>{\n if (!states.isDisabled) {\n state.toggleKey(node.key);\n state.selectionManager.setFocused(true);\n state.selectionManager.setFocusedKey(node.key);\n }\n },\n excludeFromTabOrder: true,\n preventFocusOnPress: true,\n // @ts-ignore\n 'data-react-aria-prevent-focus': true,\n ...labelProps\n };\n }\n }\n let syntheticLinkProps = (0, $caaf0dd3060ed57c$export$bdc77b0c0a3a85d6)(node.props);\n let linkProps = states.hasAction ? syntheticLinkProps : {};\n return {\n rowProps: {\n ...(0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(rowProps, treeGridRowProps, linkProps),\n 'aria-labelledby': (0, $cf56c58f505db99a$export$85069b70317f543)(state, node.key)\n },\n expandButtonProps: expandButtonProps,\n ...states\n };\n}\nfunction $d5954d038bf91c37$var$getLastChild(collection, node) {\n if ('lastChildKey' in node) return node.lastChildKey != null ? collection.getItem(node.lastChildKey) : null;\n else return Array.from(node.childNodes).findLast((item)=>item.parentKey === node.key);\n}\n\n\nexport {$d5954d038bf91c37$export$7f2f6ae19e707aa5 as useTableRow};\n//# sourceMappingURL=useTableRow.mjs.map\n","import {ButtonContext as $7705c033048f6da7$export$24d547caef80ccd1} from \"./Button.mjs\";\nimport {CheckboxContext as $ed8ccb2e23e76301$export$b085522c77523c51} from \"./Checkbox.mjs\";\nimport {DEFAULT_SLOT as $7230ffa83bc0c2cf$export$c62b8e45d58ddad9, dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, Provider as $7230ffa83bc0c2cf$export$2881499e37b75b9a, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, useRenderProps as $7230ffa83bc0c2cf$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {CollectionRendererContext as $263ab7fc0f95ccdb$export$4feb769f8ddf26c5, DefaultCollectionRenderer as $263ab7fc0f95ccdb$export$a164736487e3f0ae} from \"./Collection.mjs\";\nimport {DragAndDropContext as $f9554a667e4f0374$export$d188a835a7bc5783, DropIndicatorContext as $f9554a667e4f0374$export$f55761759794cf55, useDndPersistedKeys as $f9554a667e4f0374$export$d1e8e3fbb7461f6, useRenderDropIndicator as $f9554a667e4f0374$export$971707d8a129a1f7} from \"./DragAndDrop.mjs\";\nimport {FieldInputContext as $4b38b5b75ecc6208$export$698f465ec27e93df, SelectableCollectionContext as $4b38b5b75ecc6208$export$b0d3ecf7112093a7} from \"./Autocomplete.mjs\";\nimport $8WNJc$intlStringsmjs from \"./intlStrings.mjs\";\nimport {SelectionIndicatorContext as $91fe5e721c7f36c1$export$c9549807523555e0} from \"./SelectionIndicator.mjs\";\nimport {SharedElementTransition as $792f28e438b9ad5f$export$758399f318e6385a} from \"./SharedElementTransition.mjs\";\nimport {TreeDropTargetDelegate as $808d92ba0ee34db1$export$82c13862611c034e} from \"./TreeDropTargetDelegate.mjs\";\nimport {TableLayout as $117bf84ed4596724$export$62444c3c724b1b20} from \"./TableLayout.mjs\";\nimport {BaseCollection as $8WNJc$BaseCollection, CollectionNode as $8WNJc$CollectionNode, FilterableNode as $8WNJc$FilterableNode, LoaderNode as $8WNJc$LoaderNode} from \"react-aria/private/collections/BaseCollection\";\nimport {buildHeaderRows as $8WNJc$buildHeaderRows} from \"react-stately/private/table/TableCollection\";\nimport {Collection as $8WNJc$Collection} from \"react-aria/Collection\";\nimport {CollectionBuilder as $8WNJc$CollectionBuilder, createBranchComponent as $8WNJc$createBranchComponent, createLeafComponent as $8WNJc$createLeafComponent} from \"react-aria/CollectionBuilder\";\nimport {filterDOMProps as $8WNJc$filterDOMProps} from \"react-aria/filterDOMProps\";\nimport {FocusScope as $8WNJc$FocusScope} from \"react-aria/FocusScope\";\nimport {inertValue as $8WNJc$inertValue} from \"react-aria/private/utils/inertValue\";\nimport {isScrollable as $8WNJc$isScrollable} from \"react-aria/private/utils/isScrollable\";\nimport {ListKeyboardDelegate as $8WNJc$ListKeyboardDelegate} from \"react-aria/ListKeyboardDelegate\";\nimport {useLoadMoreSentinel as $8WNJc$useLoadMoreSentinel} from \"react-aria/private/utils/useLoadMoreSentinel\";\nimport {mergeProps as $8WNJc$mergeProps} from \"react-aria/mergeProps\";\nimport {mergeRefs as $8WNJc$mergeRefs} from \"react-aria/mergeRefs\";\nimport $8WNJc$react, {createContext as $8WNJc$createContext, forwardRef as $8WNJc$forwardRef, useRef as $8WNJc$useRef, useState as $8WNJc$useState, useMemo as $8WNJc$useMemo, useContext as $8WNJc$useContext, useEffect as $8WNJc$useEffect, useCallback as $8WNJc$useCallback} from \"react\";\nimport $8WNJc$reactdom from \"react-dom\";\nimport {useTableColumnResizeState as $8WNJc$useTableColumnResizeState, useTableState as $8WNJc$useTableState, UNSTABLE_useFilteredTableState as $8WNJc$UNSTABLE_useFilteredTableState} from \"react-stately/useTableState\";\nimport {useCachedChildren as $8WNJc$useCachedChildren} from \"react-aria/private/collections/useCachedChildren\";\nimport {useControlledState as $8WNJc$useControlledState} from \"react-stately/useControlledState\";\nimport {useFocusRing as $8WNJc$useFocusRing} from \"react-aria/useFocusRing\";\nimport {useHover as $8WNJc$useHover} from \"react-aria/useHover\";\nimport {useLayoutEffect as $8WNJc$useLayoutEffect} from \"react-aria/private/utils/useLayoutEffect\";\nimport {useLocale as $8WNJc$useLocale} from \"react-aria/I18nProvider\";\nimport {useLocalizedStringFormatter as $8WNJc$useLocalizedStringFormatter} from \"react-aria/useLocalizedStringFormatter\";\nimport {useMultipleSelectionState as $8WNJc$useMultipleSelectionState} from \"react-stately/useMultipleSelectionState\";\nimport {useObjectRef as $8WNJc$useObjectRef} from \"react-aria/useObjectRef\";\nimport {useResizeObserver as $8WNJc$useResizeObserver} from \"react-aria/private/utils/useResizeObserver\";\nimport {useTable as $8WNJc$useTable, useTableRowGroup as $8WNJc$useTableRowGroup, useTableHeaderRow as $8WNJc$useTableHeaderRow, useTableSelectAllCheckbox as $8WNJc$useTableSelectAllCheckbox, useTableColumnHeader as $8WNJc$useTableColumnHeader, useTableColumnResize as $8WNJc$useTableColumnResize, useTableRow as $8WNJc$useTableRow, useTableSelectionCheckbox as $8WNJc$useTableSelectionCheckbox, useTableCell as $8WNJc$useTableCell} from \"react-aria/useTable\";\nimport {useVisuallyHidden as $8WNJc$useVisuallyHidden} from \"react-aria/VisuallyHidden\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nclass $76d00c5a4edb230a$var$TableCollection extends (0, $8WNJc$BaseCollection) {\n withExpandedKeys(expandedKeys) {\n let collection = this.clone();\n collection.expandedKeys = expandedKeys;\n collection.frozen = this.frozen;\n collection.rows = Array.from(collection.getChildren(collection.body.key));\n return collection;\n }\n addNode(node) {\n super.addNode(node);\n this.columnsDirty ||= node.type === 'column';\n if (node.type === 'tableheader') this.head = node;\n if (node.type === 'tablebody') this.body = node;\n }\n commit(firstKey, lastKey, isSSR = false) {\n this.updateColumns(isSSR);\n this.rows = [];\n for (let row of this.getChildren(this.body.key)){\n let lastChildKey = row.lastChildKey;\n if (lastChildKey != null) {\n let lastCell = this.getItem(lastChildKey);\n while(lastCell && lastCell.type !== 'cell')lastCell = lastCell.prevKey ? this.getItem(lastCell.prevKey) : null;\n if (lastCell) {\n let numberOfCellsInRow = (lastCell.colIndex ?? lastCell.index) + (lastCell.colSpan ?? 1);\n if (numberOfCellsInRow !== this.columns.length && !isSSR) throw new Error(`Cell count must match column count. Found ${numberOfCellsInRow} cells and ${this.columns.length} columns.`);\n }\n }\n this.rows.push(row);\n }\n super.commit(firstKey, lastKey, isSSR);\n }\n updateColumns(isSSR) {\n if (!this.columnsDirty) return;\n this.rowHeaderColumnKeys = new Set();\n this.columns = [];\n let columnKeyMap = new Map();\n let visit = (node)=>{\n switch(node.type){\n case 'column':\n columnKeyMap.set(node.key, node);\n if (!node.hasChildNodes) {\n node.index = this.columns.length;\n this.columns.push(node);\n if (node.props.isRowHeader) this.rowHeaderColumnKeys.add(node.key);\n }\n break;\n }\n for (let child of this.getChildren(node.key))visit(child);\n };\n for (let node of this.getChildren(this.head.key))visit(node);\n this.headerRows = (0, $8WNJc$buildHeaderRows)(columnKeyMap, this.columns);\n this.columnsDirty = false;\n if (this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !isSSR) throw new Error('A table must have at least one Column with the isRowHeader prop set to true');\n }\n get columnCount() {\n return this.columns.length;\n }\n *[Symbol.iterator]() {\n // Wait until the collection is initialized.\n if (this.head.key === -1) return;\n yield this.head;\n yield this.body;\n }\n getFirstKey() {\n return this.body.firstChildKey;\n }\n getLastKey() {\n let key = this.body.lastChildKey;\n if (key == null) return null;\n let node = this.getItem(key);\n while(node?.lastChildKey != null && (node.type !== 'item' || this.expandedKeys.has(node.key)))node = this.getItem(node.lastChildKey);\n return node?.key;\n }\n getKeyAfter(key) {\n let node = this.getItem(key);\n if (node?.type === 'column') return node.nextKey ?? null;\n if (!node) return null;\n // If this is an expanded item, return the first child item if any.\n if (node.type === 'item' && node.firstChildKey != null && this.expandedKeys.has(node.key)) {\n let child = this.getItem(node.firstChildKey);\n while(child){\n if (child.type === 'item') return child.key;\n child = child.nextKey != null ? this.getItem(child.nextKey) : null;\n }\n }\n return super.getKeyAfter(key);\n }\n getKeyBefore(key) {\n let node = this.getItem(key);\n if (node?.type === 'column') return node.prevKey ?? null;\n if (!node) return null;\n let k = null;\n if (node.prevKey != null) {\n node = this.getItem(node.prevKey);\n // Traverse to the deepest expanded child.\n while(node && (node.type !== 'item' || this.expandedKeys.has(node.key)) && node.lastChildKey != null)node = this.getItem(node.lastChildKey);\n k = node?.key ?? null;\n }\n if (k == null) k = node.parentKey;\n if (k != null && this.getItem(k)?.type === 'tablebody') return null;\n return k;\n }\n getChildren(key) {\n if (!this.getItem(key)) for (let row of this.headerRows){\n if (row.key === key) return row.childNodes;\n }\n // Flatten all rows into the body.\n let self = this;\n if (key === this.body.key) return {\n *[Symbol.iterator] () {\n let firstKey = self.getFirstKey();\n let node = firstKey != null ? self.getItem(firstKey) : null;\n while(node){\n yield node;\n let key = self.getKeyAfter(node.key);\n node = key ? self.getItem(key) : null;\n }\n }\n };\n return {\n *[Symbol.iterator] () {\n let parent = self.getItem(key);\n let node = parent?.firstChildKey != null ? self.getItem(parent.firstChildKey) : null;\n while(node){\n yield node;\n node = node.nextKey != null ? self.getItem(node.nextKey) : null;\n // Return only cells as children of rows (nested rows are flattened into the body).\n if (parent?.type === 'item' && node?.type !== 'cell') break;\n }\n }\n };\n }\n clone() {\n let collection = super.clone();\n collection.headerRows = this.headerRows;\n collection.columns = this.columns;\n collection.rows = this.rows;\n collection.rowHeaderColumnKeys = this.rowHeaderColumnKeys;\n collection.head = this.head;\n collection.body = this.body;\n return collection;\n }\n getTextValue(key) {\n let row = this.getItem(key);\n if (!row) return '';\n // If the row has a textValue, use that.\n if (row.textValue) return row.textValue;\n // Otherwise combine the text of each of the row header columns.\n let rowHeaderColumnKeys = this.rowHeaderColumnKeys;\n let text = [];\n for (let cell of this.getChildren(key)){\n let column = this.columns[cell.index];\n if (rowHeaderColumnKeys.has(column.key) && cell.textValue) text.push(cell.textValue);\n if (text.length === rowHeaderColumnKeys.size) break;\n }\n return text.join(' ');\n }\n constructor(...args){\n super(...args), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = new Set(), this.head = new $76d00c5a4edb230a$var$TableHeaderNode(-1), this.body = new $76d00c5a4edb230a$var$TableBodyNode(-2), this.columnsDirty = true, this.expandedKeys = new Set();\n }\n}\nconst $76d00c5a4edb230a$var$ResizableTableContainerContext = /*#__PURE__*/ (0, $8WNJc$createContext)(null);\nconst $76d00c5a4edb230a$export$7063e69b8a954175 = /*#__PURE__*/ (0, $8WNJc$forwardRef)(function ResizableTableContainer(props, ref) {\n let containerRef = (0, $8WNJc$useObjectRef)(ref);\n let tableRef = (0, $8WNJc$useRef)(null);\n let scrollRef = (0, $8WNJc$useRef)(null);\n let [width, setWidth] = (0, $8WNJc$useState)(0);\n (0, $8WNJc$useLayoutEffect)(()=>{\n // Walk up the DOM from the Table to the ResizableTableContainer and stop\n // when we reach the first scrollable element. This is what we'll measure\n // to determine column widths (important due to width of scrollbars).\n // This will usually be the ResizableTableContainer for native tables, and\n // the Table itself for virtualized tables.\n let table = tableRef.current;\n while(table && table !== containerRef.current && !(0, $8WNJc$isScrollable)(table))table = table.parentElement;\n scrollRef.current = table;\n }, [\n containerRef\n ]);\n (0, $8WNJc$useResizeObserver)({\n ref: scrollRef,\n box: 'border-box',\n onResize () {\n setWidth(scrollRef.current?.clientWidth ?? 0);\n }\n });\n (0, $8WNJc$useLayoutEffect)(()=>{\n setWidth(scrollRef.current?.clientWidth ?? 0);\n }, []);\n let ctx = (0, $8WNJc$useMemo)(()=>({\n tableRef: tableRef,\n scrollRef: scrollRef,\n tableWidth: width,\n useTableColumnResizeState: $8WNJc$useTableColumnResizeState,\n onResizeStart: props.onResizeStart,\n onResize: props.onResize,\n onResizeEnd: props.onResizeEnd\n }), [\n tableRef,\n width,\n props.onResizeStart,\n props.onResize,\n props.onResizeEnd\n ]);\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n render: props.render,\n ...(0, $8WNJc$filterDOMProps)(props, {\n global: true\n }),\n ref: containerRef,\n className: props.className || 'react-aria-ResizableTableContainer',\n style: props.style,\n onScroll: props.onScroll\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$ResizableTableContainerContext.Provider, {\n value: ctx\n }, props.children));\n});\nconst $76d00c5a4edb230a$export$93e4b0b2cc49b648 = /*#__PURE__*/ (0, $8WNJc$createContext)(null);\nconst $76d00c5a4edb230a$export$38de1cb0526c21fb = /*#__PURE__*/ (0, $8WNJc$createContext)(null);\nconst $76d00c5a4edb230a$export$a2680a798823803c = /*#__PURE__*/ (0, $8WNJc$createContext)(null);\nconst $76d00c5a4edb230a$export$54ec01a60f47d33d = /*#__PURE__*/ (0, $8WNJc$forwardRef)(function Table(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $76d00c5a4edb230a$export$93e4b0b2cc49b648);\n // Separate selection state so we have access to it from collection components via useTableOptions.\n let selectionState = (0, $8WNJc$useMultipleSelectionState)(props);\n let { selectionBehavior: selectionBehavior, selectionMode: selectionMode, disallowEmptySelection: disallowEmptySelection } = selectionState;\n let hasDragHooks = !!props.dragAndDropHooks?.useDraggableCollectionState;\n let ctx = (0, $8WNJc$useMemo)(()=>({\n selectionBehavior: selectionMode === 'none' ? null : selectionBehavior,\n selectionMode: selectionMode,\n disallowEmptySelection: disallowEmptySelection,\n allowsDragging: hasDragHooks\n }), [\n selectionBehavior,\n selectionMode,\n disallowEmptySelection,\n hasDragHooks\n ]);\n let content = /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableOptionsContext.Provider, {\n value: ctx\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $8WNJc$Collection), props));\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $8WNJc$CollectionBuilder), {\n content: content,\n createCollection: ()=>new $76d00c5a4edb230a$var$TableCollection()\n }, (collection)=>/*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableInner, {\n props: props,\n forwardedRef: ref,\n selectionState: selectionState,\n collection: collection\n }));\n});\nlet $76d00c5a4edb230a$var$TableElementType = /*#__PURE__*/ (0, $8WNJc$forwardRef)(function TableElementType(props, ref) {\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n if (isVirtualized) return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...props,\n ref: ref\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).table, {\n ...props,\n ref: ref\n });\n});\nconst $76d00c5a4edb230a$var$EXPANSION_KEYS = {\n 'expand': {\n ltr: 'ArrowRight',\n rtl: 'ArrowLeft'\n },\n 'collapse': {\n ltr: 'ArrowLeft',\n rtl: 'ArrowRight'\n }\n};\nfunction $76d00c5a4edb230a$var$TableInner({ props: props, forwardedRef: ref, selectionState: selectionState, collection: collection }) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, (0, $4b38b5b75ecc6208$export$b0d3ecf7112093a7));\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let { shouldUseVirtualFocus: shouldUseVirtualFocus, disallowTypeAhead: disallowTypeAhead, filter: filter, ...DOMCollectionProps } = props;\n let tableContainerContext = (0, $8WNJc$useContext)($76d00c5a4edb230a$var$ResizableTableContainerContext);\n ref = (0, $8WNJc$useObjectRef)((0, $8WNJc$useMemo)(()=>(0, $8WNJc$mergeRefs)(ref, tableContainerContext?.tableRef), [\n ref,\n tableContainerContext?.tableRef\n ]));\n let [expandedKeys, setExpandedKeys] = (0, $8WNJc$useControlledState)(props.expandedKeys ? new Set(props.expandedKeys) : undefined, props.defaultExpandedKeys ? new Set(props.defaultExpandedKeys) : new Set(), props.onExpandedChange);\n collection = (0, $8WNJc$useMemo)(()=>collection.withExpandedKeys(expandedKeys), [\n collection,\n expandedKeys\n ]);\n let tableState = (0, $8WNJc$useTableState)({\n ...DOMCollectionProps,\n collection: collection,\n children: undefined,\n UNSAFE_selectionState: selectionState,\n expandedKeys: expandedKeys,\n onExpandedChange: setExpandedKeys\n });\n let filteredState = (0, $8WNJc$UNSTABLE_useFilteredTableState)(tableState, filter);\n let { isVirtualized: isVirtualized, layoutDelegate: layoutDelegate, dropTargetDelegate: ctxDropTargetDelegate, CollectionRoot: CollectionRoot } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n let { dragAndDropHooks: dragAndDropHooks } = props;\n let { gridProps: gridProps } = (0, $8WNJc$useTable)({\n ...DOMCollectionProps,\n layoutDelegate: layoutDelegate,\n isVirtualized: isVirtualized\n }, filteredState, ref);\n let selectionManager = filteredState.selectionManager;\n let hasDragHooks = !!dragAndDropHooks?.useDraggableCollectionState;\n let hasDropHooks = !!dragAndDropHooks?.useDroppableCollectionState;\n let dragHooksProvided = (0, $8WNJc$useRef)(hasDragHooks);\n let dropHooksProvided = (0, $8WNJc$useRef)(hasDropHooks);\n (0, $8WNJc$useEffect)(()=>{\n if (process.env.NODE_ENV === 'production') return;\n if (dragHooksProvided.current !== hasDragHooks) console.warn('Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.');\n if (dropHooksProvided.current !== hasDropHooks) console.warn('Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.');\n }, [\n hasDragHooks,\n hasDropHooks\n ]);\n let dragState = undefined;\n let dropState = undefined;\n let droppableCollection = undefined;\n let isRootDropTarget = false;\n let dragPreview = null;\n let preview = (0, $8WNJc$useRef)(null);\n let { direction: direction } = (0, $8WNJc$useLocale)();\n let [treeDropTargetDelegate] = (0, $8WNJc$useState)(()=>new (0, $808d92ba0ee34db1$export$82c13862611c034e)());\n if (hasDragHooks && dragAndDropHooks) {\n dragState = dragAndDropHooks.useDraggableCollectionState({\n collection: filteredState.collection,\n selectionManager: selectionManager,\n preview: dragAndDropHooks.renderDragPreview ? preview : undefined\n });\n dragAndDropHooks.useDraggableCollection({}, dragState, ref);\n let DragPreview = dragAndDropHooks.DragPreview;\n dragPreview = dragAndDropHooks.renderDragPreview ? /*#__PURE__*/ (0, $8WNJc$react).createElement(DragPreview, {\n ref: preview\n }, dragAndDropHooks.renderDragPreview) : null;\n }\n if (hasDropHooks && dragAndDropHooks) {\n dropState = dragAndDropHooks.useDroppableCollectionState({\n collection: filteredState.collection,\n selectionManager: selectionManager\n });\n let keyboardDelegate = new (0, $8WNJc$ListKeyboardDelegate)({\n collection: filteredState.collection,\n disabledKeys: selectionManager.disabledKeys,\n disabledBehavior: selectionManager.disabledBehavior,\n ref: ref,\n layoutDelegate: layoutDelegate\n });\n let dropTargetDelegate = dragAndDropHooks.dropTargetDelegate || ctxDropTargetDelegate || new dragAndDropHooks.ListDropTargetDelegate(collection.rows, ref);\n treeDropTargetDelegate.setup(dropTargetDelegate, tableState, direction);\n droppableCollection = dragAndDropHooks.useDroppableCollection({\n keyboardDelegate: keyboardDelegate,\n dropTargetDelegate: treeDropTargetDelegate,\n onDropActivate: (e)=>{\n // Expand collapsed item when dragging over. For keyboard, allow collapsing.\n if (e.target.type === 'item') {\n let key = e.target.key;\n let item = tableState.collection.getItem(key);\n let isExpanded = expandedKeys.has(key);\n if (item && item.hasChildNodes && (!isExpanded || dragAndDropHooks?.isVirtualDragging?.())) tableState.toggleKey(key);\n }\n },\n onKeyDown: (e)=>{\n let target = dropState?.target;\n if (target && target.type === 'item' && target.dropPosition === 'on') {\n let item = tableState.collection.getItem(target.key);\n if (e.key === $76d00c5a4edb230a$var$EXPANSION_KEYS['expand'][direction] && item?.hasChildNodes && !tableState.expandedKeys.has(target.key)) tableState.toggleKey(target.key);\n else if (e.key === $76d00c5a4edb230a$var$EXPANSION_KEYS['collapse'][direction] && item?.hasChildNodes && tableState.expandedKeys.has(target.key)) tableState.toggleKey(target.key);\n }\n }\n }, dropState, ref);\n isRootDropTarget = dropState.isDropTarget({\n type: 'root'\n });\n }\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $8WNJc$useFocusRing)();\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n children: undefined,\n defaultClassName: 'react-aria-Table',\n values: {\n isDropTarget: isRootDropTarget,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n state: filteredState\n }\n });\n let isListDraggable = !!(hasDragHooks && !dragState?.isDisabled);\n let style = renderProps.style;\n let layoutState = null;\n if (tableContainerContext) {\n layoutState = tableContainerContext.useTableColumnResizeState({\n tableWidth: tableContainerContext.tableWidth\n }, filteredState);\n if (!isVirtualized) style = {\n ...style,\n tableLayout: 'fixed',\n // due to https://bugzilla.mozilla.org/show_bug.cgi?id=1959353, we can't use \"fit-content\".\n // Causes the table columns to grow to fill the available space in Firefox, ignoring user set column widths\n width: 'min-content'\n };\n }\n let DOMProps = (0, $8WNJc$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n $76d00c5a4edb230a$export$38de1cb0526c21fb,\n filteredState\n ],\n [\n $76d00c5a4edb230a$export$a2680a798823803c,\n layoutState\n ],\n [\n (0, $f9554a667e4f0374$export$d188a835a7bc5783),\n {\n dragAndDropHooks: dragAndDropHooks,\n dragState: dragState,\n dropState: dropState\n }\n ],\n [\n (0, $f9554a667e4f0374$export$f55761759794cf55),\n {\n render: $76d00c5a4edb230a$var$TableDropIndicatorWrapper\n }\n ],\n [\n (0, $4b38b5b75ecc6208$export$b0d3ecf7112093a7),\n null\n ],\n [\n (0, $4b38b5b75ecc6208$export$698f465ec27e93df),\n null\n ]\n ]\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $8WNJc$FocusScope), null, /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableElementType, {\n ...(0, $8WNJc$mergeProps)(DOMProps, renderProps, gridProps, focusProps, droppableCollection?.collectionProps),\n style: style,\n ref: ref,\n slot: props.slot || undefined,\n onScroll: props.onScroll,\n \"data-allows-dragging\": isListDraggable || undefined,\n \"data-drop-target\": isRootDropTarget || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $792f28e438b9ad5f$export$758399f318e6385a), null, /*#__PURE__*/ (0, $8WNJc$react).createElement(CollectionRoot, {\n collection: filteredState.collection,\n scrollRef: tableContainerContext?.scrollRef ?? ref,\n persistedKeys: (0, $f9554a667e4f0374$export$d1e8e3fbb7461f6)(selectionManager, dragAndDropHooks, dropState)\n })))), dragPreview);\n}\nconst $76d00c5a4edb230a$var$TableOptionsContext = /*#__PURE__*/ (0, $8WNJc$createContext)(null);\nfunction $76d00c5a4edb230a$export$fddc468cd8cb4db9() {\n return (0, $8WNJc$useContext)($76d00c5a4edb230a$var$TableOptionsContext);\n}\nclass $76d00c5a4edb230a$var$TableHeaderNode extends (0, $8WNJc$CollectionNode) {\n static{\n this.type = 'tableheader';\n }\n}\nlet $76d00c5a4edb230a$var$THeadElementType = /*#__PURE__*/ (0, $8WNJc$forwardRef)(function THeadElementType(props, ref) {\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n if (isVirtualized) return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...props,\n ref: ref\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).thead, {\n ...props,\n ref: ref\n });\n});\nconst $76d00c5a4edb230a$export$f850895b287ef28e = /*#__PURE__*/ (0, $8WNJc$createBranchComponent)($76d00c5a4edb230a$var$TableHeaderNode, (props, ref)=>{\n let collection = (0, $8WNJc$useContext)($76d00c5a4edb230a$export$38de1cb0526c21fb).collection;\n let headerRows = (0, $8WNJc$useCachedChildren)({\n items: collection.headerRows,\n children: (0, $8WNJc$useCallback)((item)=>{\n switch(item.type){\n case 'headerrow':\n return /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableHeaderRow, {\n item: item\n });\n default:\n throw new Error('Unsupported node type in TableHeader: ' + item.type);\n }\n }, [])\n });\n let { rowGroupProps: rowGroupProps } = (0, $8WNJc$useTableRowGroup)();\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $8WNJc$useHover)({\n onHoverStart: props.onHoverStart,\n onHoverChange: props.onHoverChange,\n onHoverEnd: props.onHoverEnd\n });\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n children: undefined,\n defaultClassName: 'react-aria-TableHeader',\n values: {\n isHovered: isHovered\n }\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$THeadElementType, {\n ...(0, $8WNJc$mergeProps)((0, $8WNJc$filterDOMProps)(props, {\n global: true\n }), rowGroupProps, hoverProps),\n ...renderProps,\n ref: ref,\n \"data-hovered\": isHovered || undefined\n }, headerRows);\n}, (props)=>/*#__PURE__*/ (0, $8WNJc$react).createElement((0, $8WNJc$Collection), {\n dependencies: props.dependencies,\n items: props.columns\n }, props.children));\nlet $76d00c5a4edb230a$var$TableHeaderRowElementType = /*#__PURE__*/ (0, $8WNJc$forwardRef)(function TableHeaderRowElementType(props, ref) {\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n if (isVirtualized) return /*#__PURE__*/ (0, $8WNJc$react).createElement(\"div\", {\n ...props,\n ref: ref\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement(\"tr\", {\n ...props,\n ref: ref\n });\n});\nfunction $76d00c5a4edb230a$var$TableHeaderRow({ item: item }) {\n let ref = (0, $8WNJc$useRef)(null);\n let state = (0, $8WNJc$useContext)($76d00c5a4edb230a$export$38de1cb0526c21fb);\n let { isVirtualized: isVirtualized, CollectionBranch: CollectionBranch } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n let { rowProps: rowProps } = (0, $8WNJc$useTableHeaderRow)({\n node: item,\n isVirtualized: isVirtualized\n }, state, ref);\n let { checkboxProps: checkboxProps } = (0, $8WNJc$useTableSelectAllCheckbox)(state);\n return /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableHeaderRowElementType, {\n ...rowProps,\n ref: ref\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n (0, $ed8ccb2e23e76301$export$b085522c77523c51),\n {\n slots: {\n selection: checkboxProps\n }\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement(CollectionBranch, {\n collection: state.collection,\n parent: item\n })));\n}\nclass $76d00c5a4edb230a$var$TableColumnNode extends (0, $8WNJc$CollectionNode) {\n static{\n this.type = 'column';\n }\n}\nlet $76d00c5a4edb230a$var$ColumnElementType = /*#__PURE__*/ (0, $8WNJc$forwardRef)(function ColumnElementType(props, ref) {\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n if (isVirtualized) return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...props,\n ref: ref\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).th, {\n ...props,\n ref: ref\n });\n});\nconst $76d00c5a4edb230a$export$816b5d811295e6bc = /*#__PURE__*/ (0, $8WNJc$createLeafComponent)($76d00c5a4edb230a$var$TableColumnNode, (props, forwardedRef, column)=>{\n let ref = (0, $8WNJc$useObjectRef)(forwardedRef);\n let state = (0, $8WNJc$useContext)($76d00c5a4edb230a$export$38de1cb0526c21fb);\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n let { columnHeaderProps: columnHeaderProps, isPressed: isPressed } = (0, $8WNJc$useTableColumnHeader)({\n node: column,\n isVirtualized: isVirtualized\n }, state, ref);\n let { isFocused: isFocused, isFocusVisible: isFocusVisible, focusProps: focusProps } = (0, $8WNJc$useFocusRing)();\n let layoutState = (0, $8WNJc$useContext)($76d00c5a4edb230a$export$a2680a798823803c);\n let isResizing = false;\n if (layoutState) isResizing = layoutState.resizingColumn === column.key;\n else if (process.env.NODE_ENV !== 'production') {\n for(let prop in [\n 'width',\n 'defaultWidth',\n 'minWidth',\n 'maxWidth'\n ])if (prop in column.props) console.warn(`The ${prop} prop on a <Column> only applies when a <Table> is wrapped in a <ResizableTableContainer>. If you aren't using column resizing, you can set the width of a column with CSS.`);\n }\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $8WNJc$useHover)({\n isDisabled: !props.allowsSorting\n });\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n id: undefined,\n children: column.rendered,\n defaultClassName: 'react-aria-Column',\n values: {\n isHovered: isHovered,\n isPressed: isPressed,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n allowsSorting: column.props.allowsSorting,\n sortDirection: state.sortDescriptor?.column === column.key ? state.sortDescriptor.direction : undefined,\n isResizing: isResizing,\n startResize: ()=>{\n if (layoutState) {\n layoutState.startResize(column.key);\n state.setKeyboardNavigationDisabled(true);\n } else throw new Error('Wrap your <Table> in a <ResizableTableContainer> to enable column resizing');\n },\n sort: (direction)=>{\n state.sort(column.key, direction);\n }\n }\n });\n let style = renderProps.style;\n if (layoutState) style = {\n ...style,\n width: layoutState.getColumnWidth(column.key)\n };\n let DOMProps = (0, $8WNJc$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$ColumnElementType, {\n ...(0, $8WNJc$mergeProps)(DOMProps, columnHeaderProps, focusProps, hoverProps),\n ...renderProps,\n style: style,\n ref: ref,\n \"data-hovered\": isHovered || undefined,\n \"data-pressed\": isPressed || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-resizing\": isResizing || undefined,\n \"data-allows-sorting\": column.props.allowsSorting || undefined,\n \"data-sort-direction\": state.sortDescriptor?.column === column.key ? state.sortDescriptor.direction : undefined\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n $76d00c5a4edb230a$var$ColumnResizerContext,\n {\n column: column,\n triggerRef: ref\n }\n ],\n [\n (0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5),\n (0, $263ab7fc0f95ccdb$export$a164736487e3f0ae)\n ]\n ]\n }, renderProps.children));\n});\nconst $76d00c5a4edb230a$var$ColumnResizerContext = /*#__PURE__*/ (0, $8WNJc$createContext)(null);\nconst $76d00c5a4edb230a$export$ee689e97a7664bfd = /*#__PURE__*/ (0, $8WNJc$forwardRef)(function ColumnResizer(props, ref) {\n let layoutState = (0, $8WNJc$useContext)($76d00c5a4edb230a$export$a2680a798823803c);\n if (!layoutState) throw new Error('Wrap your <Table> in a <ResizableTableContainer> to enable column resizing');\n let stringFormatter = (0, $8WNJc$useLocalizedStringFormatter)((0, ($parcel$interopDefault($8WNJc$intlStringsmjs))), 'react-aria-components');\n let { onResizeStart: onResizeStart, onResize: onResize, onResizeEnd: onResizeEnd } = (0, $8WNJc$useContext)($76d00c5a4edb230a$var$ResizableTableContainerContext);\n let { column: column, triggerRef: triggerRef } = (0, $8WNJc$useContext)($76d00c5a4edb230a$var$ColumnResizerContext);\n let inputRef = (0, $8WNJc$useRef)(null);\n let { resizerProps: resizerProps, inputProps: inputProps, isResizing: isResizing } = (0, $8WNJc$useTableColumnResize)({\n column: column,\n 'aria-label': props['aria-label'] || stringFormatter.format('tableResizer'),\n onResizeStart: onResizeStart,\n onResize: onResize,\n onResizeEnd: onResizeEnd,\n triggerRef: triggerRef\n }, layoutState, inputRef);\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $8WNJc$useFocusRing)();\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $8WNJc$useHover)(props);\n let isEResizable = layoutState.getColumnMinWidth(column.key) >= layoutState.getColumnWidth(column.key);\n let isWResizable = layoutState.getColumnMaxWidth(column.key) <= layoutState.getColumnWidth(column.key);\n let { direction: direction } = (0, $8WNJc$useLocale)();\n let resizableDirection = 'both';\n if (isEResizable) resizableDirection = direction === 'rtl' ? 'right' : 'left';\n else if (isWResizable) resizableDirection = direction === 'rtl' ? 'left' : 'right';\n else resizableDirection = 'both';\n let objectRef = (0, $8WNJc$useObjectRef)(ref);\n let [cursor, setCursor] = (0, $8WNJc$useState)('');\n (0, $8WNJc$useEffect)(()=>{\n if (!objectRef.current) return;\n let style = window.getComputedStyle(objectRef.current);\n setCursor(style.cursor);\n }, [\n objectRef,\n resizableDirection\n ]);\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-ColumnResizer',\n values: {\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n isResizing: isResizing,\n isHovered: isHovered,\n resizableDirection: resizableDirection\n }\n });\n let [isMouseDown, setMouseDown] = (0, $8WNJc$useState)(false);\n let onPointerDown = (e)=>{\n if (e.pointerType === 'mouse') setMouseDown(true);\n };\n if (!isResizing && isMouseDown) setMouseDown(false);\n let DOMProps = (0, $8WNJc$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ref: objectRef,\n role: \"presentation\",\n ...(0, $8WNJc$mergeProps)(DOMProps, renderProps, resizerProps, {\n onPointerDown: onPointerDown\n }, hoverProps),\n \"data-hovered\": isHovered || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-resizing\": isResizing || undefined,\n \"data-resizable-direction\": resizableDirection\n }, renderProps.children, /*#__PURE__*/ (0, $8WNJc$react).createElement(\"input\", {\n ref: inputRef,\n ...(0, $8WNJc$mergeProps)(inputProps, focusProps)\n }), isResizing && isMouseDown && /*#__PURE__*/ (0, $8WNJc$reactdom).createPortal(/*#__PURE__*/ (0, $8WNJc$react).createElement(\"div\", {\n style: {\n position: 'fixed',\n top: 0,\n left: 0,\n bottom: 0,\n right: 0,\n cursor: cursor\n }\n }), document.body));\n});\nclass $76d00c5a4edb230a$var$TableBodyNode extends (0, $8WNJc$FilterableNode) {\n static{\n this.type = 'tablebody';\n }\n}\nlet $76d00c5a4edb230a$var$TableBodyElementType = /*#__PURE__*/ (0, $8WNJc$forwardRef)(function TableBodyElementType(props, ref) {\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n if (isVirtualized) return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...props,\n ref: ref\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).tbody, {\n ...props,\n ref: ref\n });\n});\nconst $76d00c5a4edb230a$export$76ccd210b9029917 = /*#__PURE__*/ (0, $8WNJc$createBranchComponent)($76d00c5a4edb230a$var$TableBodyNode, (props, ref)=>{\n let state = (0, $8WNJc$useContext)($76d00c5a4edb230a$export$38de1cb0526c21fb);\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n let collection = state.collection;\n let { CollectionBranch: CollectionBranch } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n let { dragAndDropHooks: dragAndDropHooks, dropState: dropState } = (0, $8WNJc$useContext)((0, $f9554a667e4f0374$export$d188a835a7bc5783));\n let isDroppable = !!dragAndDropHooks?.useDroppableCollectionState && !dropState?.isDisabled;\n let isRootDropTarget = isDroppable && !!dropState && (dropState.isDropTarget({\n type: 'root'\n }) ?? false);\n let isEmpty = collection.size === 0;\n let renderValues = {\n isDropTarget: isRootDropTarget,\n isEmpty: isEmpty\n };\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n id: undefined,\n children: undefined,\n defaultClassName: 'react-aria-TableBody',\n values: renderValues\n });\n let emptyState;\n let numColumns = collection.columnCount;\n if (isEmpty && props.renderEmptyState && state) {\n let rowProps = {};\n let rowHeaderProps = {};\n let style = {};\n if (isVirtualized) {\n rowHeaderProps['aria-colspan'] = numColumns;\n style = {\n display: 'contents'\n };\n } else rowHeaderProps['colSpan'] = numColumns;\n emptyState = /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableRowElementType, {\n role: \"row\",\n ...rowProps,\n style: style\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableCellElementType, {\n role: \"rowheader\",\n ...rowHeaderProps,\n style: style\n }, props.renderEmptyState(renderValues)));\n }\n let { rowGroupProps: rowGroupProps } = (0, $8WNJc$useTableRowGroup)();\n let DOMProps = (0, $8WNJc$filterDOMProps)(props, {\n global: true\n });\n // TODO: TableBody doesn't support being the scrollable body of the table yet, to revisit if needed. Would need to\n // call useLoadMore here and walk up the DOM to the nearest scrollable element to set scrollRef\n return /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableBodyElementType, {\n ...(0, $8WNJc$mergeProps)(DOMProps, renderProps, rowGroupProps),\n ref: ref,\n \"data-empty\": isEmpty || undefined\n }, isDroppable && /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$RootDropIndicator, null), /*#__PURE__*/ (0, $8WNJc$react).createElement(CollectionBranch, {\n collection: collection,\n parent: collection.body,\n renderDropIndicator: (0, $f9554a667e4f0374$export$971707d8a129a1f7)(dragAndDropHooks, dropState)\n }), emptyState);\n});\nclass $76d00c5a4edb230a$var$TableRowNode extends (0, $8WNJc$CollectionNode) {\n static{\n this.type = 'item';\n }\n filter(collection, newCollection, filterFn) {\n let cells = collection.getChildren(this.key);\n for (let cell of cells)if (filterFn(cell.textValue, cell)) {\n let clone = this.clone();\n newCollection.addDescendants(clone, collection);\n return clone;\n }\n return null;\n }\n}\nlet $76d00c5a4edb230a$var$TableRowElementType = /*#__PURE__*/ (0, $8WNJc$forwardRef)(function TableRowElementType(props, ref) {\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n if (isVirtualized) return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...props,\n ref: ref\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).tr, {\n ...props,\n ref: ref\n });\n});\nconst $76d00c5a4edb230a$export$b59bdbef9ce70de2 = /*#__PURE__*/ (0, $8WNJc$createBranchComponent)($76d00c5a4edb230a$var$TableRowNode, (props, forwardedRef, item)=>{\n let ref = (0, $8WNJc$useObjectRef)(forwardedRef);\n let state = (0, $8WNJc$useContext)($76d00c5a4edb230a$export$38de1cb0526c21fb);\n let { dragAndDropHooks: dragAndDropHooks, dragState: dragState, dropState: dropState } = (0, $8WNJc$useContext)((0, $f9554a667e4f0374$export$d188a835a7bc5783));\n let { isVirtualized: isVirtualized, CollectionBranch: CollectionBranch } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n let { rowProps: rowProps, expandButtonProps: expandButtonProps, ...states } = (0, $8WNJc$useTableRow)({\n node: item,\n shouldSelectOnPressUp: !!dragState,\n isVirtualized: isVirtualized\n }, state, ref);\n let { isFocused: isFocused, isFocusVisible: isFocusVisible, focusProps: focusProps } = (0, $8WNJc$useFocusRing)();\n let { isFocusVisible: isFocusVisibleWithin, focusProps: focusWithinProps } = (0, $8WNJc$useFocusRing)({\n within: true\n });\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $8WNJc$useHover)({\n isDisabled: !states.allowsSelection && !states.hasAction,\n onHoverStart: props.onHoverStart,\n onHoverChange: props.onHoverChange,\n onHoverEnd: props.onHoverEnd\n });\n let { checkboxProps: checkboxProps } = (0, $8WNJc$useTableSelectionCheckbox)({\n key: item.key\n }, state);\n let draggableItem = undefined;\n if (dragState && dragAndDropHooks) draggableItem = dragAndDropHooks.useDraggableItem({\n key: item.key,\n hasDragButton: true\n }, dragState);\n let dropIndicator = undefined;\n let dropIndicatorRef = (0, $8WNJc$useRef)(null);\n let { visuallyHiddenProps: visuallyHiddenProps } = (0, $8WNJc$useVisuallyHidden)();\n if (dropState && dragAndDropHooks) dropIndicator = dragAndDropHooks.useDropIndicator({\n target: {\n type: 'item',\n key: item.key,\n dropPosition: 'on'\n }\n }, dropState, dropIndicatorRef);\n let dragButtonRef = (0, $8WNJc$useRef)(null);\n (0, $8WNJc$useEffect)(()=>{\n if (dragState && !dragButtonRef.current && process.env.NODE_ENV !== 'production') console.warn('Draggable items in a Table must contain a <Button slot=\"drag\"> element so that keyboard and screen reader users can drag them.');\n // eslint-disable-next-line\n }, []);\n let isDragging = dragState && dragState.isDragging(item.key);\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let { children: _, ...restProps } = props;\n let hasChildItems = props.hasChildItems || state.collection.getItem(item.lastChildKey)?.type !== 'cell';\n let isExpanded = hasChildItems && state.expandedKeys.has(item.key);\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...restProps,\n id: undefined,\n defaultClassName: 'react-aria-Row',\n defaultStyle: {\n // @ts-ignore\n '--table-row-level': item.level + 1\n },\n values: {\n ...states,\n isHovered: isHovered,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n selectionMode: state.selectionManager.selectionMode,\n selectionBehavior: state.selectionManager.selectionBehavior,\n isDragging: isDragging,\n isDropTarget: dropIndicator?.isDropTarget,\n isFocusVisibleWithin: isFocusVisibleWithin,\n id: item.key,\n hasChildItems: hasChildItems,\n isExpanded: isExpanded,\n level: item.level + 1\n }\n });\n let DOMProps = (0, $8WNJc$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n delete DOMProps.onClick;\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $8WNJc$react).Fragment, null, dropIndicator && !dropIndicator.isHidden && /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableRowElementType, {\n role: \"row\",\n style: {\n height: 0\n }\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableCellElementType, {\n role: \"gridcell\",\n colSpan: state.collection.columnCount,\n style: {\n padding: 0\n }\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement(\"div\", {\n role: \"button\",\n ...visuallyHiddenProps,\n ...dropIndicator.dropIndicatorProps,\n ref: dropIndicatorRef\n }))), /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableRowElementType, {\n ...(0, $8WNJc$mergeProps)(DOMProps, renderProps, rowProps, focusProps, hoverProps, draggableItem?.dragProps, focusWithinProps),\n ref: ref,\n \"data-disabled\": states.isDisabled || undefined,\n \"data-selected\": states.isSelected || undefined,\n \"data-hovered\": isHovered || undefined,\n \"data-focused\": states.isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-pressed\": states.isPressed || undefined,\n \"data-dragging\": isDragging || undefined,\n \"data-drop-target\": dropIndicator?.isDropTarget || undefined,\n \"data-selection-mode\": state.selectionManager.selectionMode === 'none' ? undefined : state.selectionManager.selectionMode,\n \"data-focus-visible-within\": isFocusVisibleWithin || undefined,\n \"data-expanded\": isExpanded || undefined,\n \"data-has-child-items\": hasChildItems || undefined,\n \"data-level\": item.level + 1\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n (0, $ed8ccb2e23e76301$export$b085522c77523c51),\n {\n slots: {\n [(0, $7230ffa83bc0c2cf$export$c62b8e45d58ddad9)]: {},\n selection: checkboxProps\n }\n }\n ],\n [\n (0, $7705c033048f6da7$export$24d547caef80ccd1),\n {\n slots: {\n [(0, $7230ffa83bc0c2cf$export$c62b8e45d58ddad9)]: {},\n chevron: expandButtonProps,\n drag: {\n ...draggableItem?.dragButtonProps,\n ref: dragButtonRef,\n style: {\n pointerEvents: 'none'\n }\n }\n }\n }\n ],\n [\n (0, $91fe5e721c7f36c1$export$c9549807523555e0),\n {\n isSelected: states.isSelected\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement(CollectionBranch, {\n collection: state.collection,\n parent: item\n }))));\n}, (props)=>{\n if (props.id == null && typeof props.children === 'function') throw new Error('No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.');\n let dependencies = [\n props.value\n ].concat(props.dependencies);\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $8WNJc$Collection), {\n dependencies: dependencies,\n items: props.columns,\n idScope: props.id\n }, props.children);\n});\nclass $76d00c5a4edb230a$var$TableCellNode extends (0, $8WNJc$CollectionNode) {\n static{\n this.type = 'cell';\n }\n}\nlet $76d00c5a4edb230a$var$TableCellElementType = /*#__PURE__*/ (0, $8WNJc$forwardRef)(function TableCellElementType(props, ref) {\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n if (isVirtualized) return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...props,\n ref: ref\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).td, {\n ...props,\n ref: ref\n });\n});\nconst $76d00c5a4edb230a$export$f6f0c3fe4ec306ea = /*#__PURE__*/ (0, $8WNJc$createLeafComponent)($76d00c5a4edb230a$var$TableCellNode, (props, forwardedRef, cell)=>{\n let ref = (0, $8WNJc$useObjectRef)(forwardedRef);\n let state = (0, $8WNJc$useContext)($76d00c5a4edb230a$export$38de1cb0526c21fb);\n let { dragState: dragState } = (0, $8WNJc$useContext)((0, $f9554a667e4f0374$export$d188a835a7bc5783));\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n cell.column = state.collection.columns[cell.index];\n let { gridCellProps: gridCellProps, isPressed: isPressed } = (0, $8WNJc$useTableCell)({\n node: cell,\n shouldSelectOnPressUp: !!dragState,\n isVirtualized: isVirtualized\n }, state, ref);\n let { isFocused: isFocused, isFocusVisible: isFocusVisible, focusProps: focusProps } = (0, $8WNJc$useFocusRing)();\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $8WNJc$useHover)({});\n let isSelected = cell.parentKey != null ? state.selectionManager.isSelected(cell.parentKey) : false;\n // colIndex is null, when there is so span, falling back to using the index\n let columnIndex = cell.colIndex || cell.index;\n let row = state.collection.getItem(cell.parentKey);\n let hasChildItems = row.props.hasChildItems || state.collection.getItem(row.lastChildKey)?.type !== 'cell';\n let isExpanded = hasChildItems && state.expandedKeys.has(cell.parentKey);\n let isDisabled = state.selectionManager.isDisabled(cell.parentKey);\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n id: undefined,\n defaultClassName: 'react-aria-Cell',\n values: {\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n isPressed: isPressed,\n isHovered: isHovered,\n isSelected: isSelected,\n id: cell.key,\n columnIndex: columnIndex,\n hasChildItems: hasChildItems,\n isExpanded: isExpanded,\n isDisabled: isDisabled,\n level: row.level + 1,\n isTreeColumn: cell.column.key === state.treeColumn\n }\n });\n let DOMProps = (0, $8WNJc$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableCellElementType, {\n ...(0, $8WNJc$mergeProps)(DOMProps, renderProps, gridCellProps, focusProps, hoverProps),\n ref: ref,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-pressed\": isPressed || undefined,\n \"data-selected\": isSelected || undefined,\n \"data-column-index\": columnIndex,\n \"data-expanded\": isExpanded || undefined,\n \"data-has-child-items\": hasChildItems || undefined,\n \"data-level\": row.level + 1,\n \"data-tree-column\": cell.column.key === state.treeColumn || undefined,\n \"data-disabled\": isDisabled || undefined\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5).Provider, {\n value: (0, $263ab7fc0f95ccdb$export$a164736487e3f0ae)\n }, renderProps.children));\n});\nfunction $76d00c5a4edb230a$var$TableDropIndicatorWrapper(props, ref) {\n ref = (0, $8WNJc$useObjectRef)(ref);\n let { dragAndDropHooks: dragAndDropHooks, dropState: dropState } = (0, $8WNJc$useContext)((0, $f9554a667e4f0374$export$d188a835a7bc5783));\n let buttonRef = (0, $8WNJc$useRef)(null);\n let { dropIndicatorProps: dropIndicatorProps, isHidden: isHidden, isDropTarget: isDropTarget } = dragAndDropHooks.useDropIndicator(props, dropState, buttonRef);\n if (isHidden) return null;\n let level = dropState && props.target.type === 'item' ? (dropState.collection.getItem(props.target.key)?.level || 0) + 1 : 1;\n return /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableDropIndicatorForwardRef, {\n ...props,\n dropIndicatorProps: dropIndicatorProps,\n isDropTarget: isDropTarget,\n buttonRef: buttonRef,\n level: level,\n ref: ref\n });\n}\nlet $76d00c5a4edb230a$var$TableDropIndicatorRowElementType = /*#__PURE__*/ (0, $8WNJc$forwardRef)(function TableDropIndicatorRowElementType(props, ref) {\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n if (isVirtualized) return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...props,\n ref: ref\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).tr, {\n ...props,\n ref: ref\n });\n});\nlet $76d00c5a4edb230a$var$TableDropIndicatorTDElementType = /*#__PURE__*/ (0, $8WNJc$forwardRef)(function TableDropIndicatorTDElementType(props, ref) {\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n if (isVirtualized) return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...props,\n ref: ref\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).td, {\n ...props,\n ref: ref\n });\n});\nfunction $76d00c5a4edb230a$var$TableDropIndicator(props, ref) {\n let { dropIndicatorProps: dropIndicatorProps, isDropTarget: isDropTarget, buttonRef: buttonRef, level: level, ...otherProps } = props;\n let state = (0, $8WNJc$useContext)($76d00c5a4edb230a$export$38de1cb0526c21fb);\n let { visuallyHiddenProps: visuallyHiddenProps } = (0, $8WNJc$useVisuallyHidden)();\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...otherProps,\n defaultClassName: 'react-aria-DropIndicator',\n defaultStyle: {\n // @ts-ignore\n '--table-row-level': level + 1\n },\n values: {\n isDropTarget: isDropTarget\n }\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableDropIndicatorRowElementType, {\n ...(0, $8WNJc$filterDOMProps)(props, {\n global: true\n }),\n ...renderProps,\n role: \"row\",\n ref: ref,\n \"data-drop-target\": isDropTarget || undefined,\n \"aria-level\": level\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableDropIndicatorTDElementType, {\n role: \"gridcell\",\n colSpan: state.collection.columnCount,\n style: {\n padding: 0\n }\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement(\"div\", {\n ...visuallyHiddenProps,\n role: \"button\",\n ...dropIndicatorProps,\n ref: buttonRef\n }), renderProps.children));\n}\nconst $76d00c5a4edb230a$var$TableDropIndicatorForwardRef = /*#__PURE__*/ (0, $8WNJc$forwardRef)($76d00c5a4edb230a$var$TableDropIndicator);\nfunction $76d00c5a4edb230a$var$RootDropIndicator() {\n let state = (0, $8WNJc$useContext)($76d00c5a4edb230a$export$38de1cb0526c21fb);\n let { dragAndDropHooks: dragAndDropHooks, dropState: dropState } = (0, $8WNJc$useContext)((0, $f9554a667e4f0374$export$d188a835a7bc5783));\n let ref = (0, $8WNJc$useRef)(null);\n let { dropIndicatorProps: dropIndicatorProps } = dragAndDropHooks.useDropIndicator({\n target: {\n type: 'root'\n }\n }, dropState, ref);\n let isDropTarget = dropState.isDropTarget({\n type: 'root'\n });\n let { visuallyHiddenProps: visuallyHiddenProps } = (0, $8WNJc$useVisuallyHidden)();\n if (!isDropTarget && dropIndicatorProps['aria-hidden']) return null;\n return /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableRowElementType, {\n role: \"row\",\n \"aria-hidden\": dropIndicatorProps['aria-hidden'],\n style: {\n height: 0\n }\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableCellElementType, {\n role: \"gridcell\",\n colSpan: state.collection.columnCount,\n style: {\n padding: 0\n }\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement(\"div\", {\n role: \"button\",\n ...visuallyHiddenProps,\n ...dropIndicatorProps,\n ref: ref\n })));\n}\nconst $76d00c5a4edb230a$export$8f5bea0338ed243c = (0, $8WNJc$createLeafComponent)((0, $8WNJc$LoaderNode), function TableLoadingIndicator(props, ref, item) {\n let state = (0, $8WNJc$useContext)($76d00c5a4edb230a$export$38de1cb0526c21fb);\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n let { isLoading: isLoading, onLoadMore: onLoadMore, scrollOffset: scrollOffset, ...otherProps } = props;\n let numColumns = state.collection.columns.length;\n let sentinelRef = (0, $8WNJc$useRef)(null);\n let memoedLoadMoreProps = (0, $8WNJc$useMemo)(()=>({\n onLoadMore: onLoadMore,\n collection: state?.collection,\n sentinelRef: sentinelRef,\n scrollOffset: scrollOffset\n }), [\n onLoadMore,\n scrollOffset,\n state?.collection\n ]);\n (0, $8WNJc$useLoadMoreSentinel)(memoedLoadMoreProps, sentinelRef);\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...otherProps,\n id: undefined,\n children: item.rendered,\n defaultClassName: 'react-aria-TableLoadingIndicator',\n defaultStyle: {\n // @ts-ignore\n '--table-row-level': item.level + 1\n },\n values: undefined\n });\n let rowProps = {};\n let rowHeaderProps = {};\n let style = {};\n if (isVirtualized) {\n // For now don't include aria-rowindex on loader since they aren't keyboard focusable\n // Arguably shouldn't include them ever since it might be confusing to the user to include the loaders as part of the\n // row count\n rowHeaderProps['aria-colspan'] = numColumns;\n style = {\n display: 'contents'\n };\n } else rowHeaderProps['colSpan'] = numColumns;\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $8WNJc$react).Fragment, null, /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableRowElementType, {\n style: {\n height: 0\n },\n inert: (0, $8WNJc$inertValue)(true)\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableCellElementType, {\n style: {\n padding: 0,\n border: 0\n }\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement(\"div\", {\n \"data-testid\": \"loadMoreSentinel\",\n ref: sentinelRef,\n style: {\n position: 'relative',\n height: 1,\n width: 1\n }\n }))), isLoading && renderProps.children && /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableRowElementType, {\n ...(0, $8WNJc$mergeProps)((0, $8WNJc$filterDOMProps)(props, {\n global: true\n }), rowProps),\n ...renderProps,\n role: \"row\",\n ref: ref,\n \"aria-level\": item.level + 1,\n \"data-level\": item.level + 1\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableCellElementType, {\n role: \"rowheader\",\n ...rowHeaderProps,\n style: style\n }, renderProps.children)));\n});\n\n\nexport {$76d00c5a4edb230a$export$7063e69b8a954175 as ResizableTableContainer, $76d00c5a4edb230a$export$93e4b0b2cc49b648 as TableContext, $76d00c5a4edb230a$export$38de1cb0526c21fb as TableStateContext, $76d00c5a4edb230a$export$a2680a798823803c as TableColumnResizeStateContext, $76d00c5a4edb230a$export$54ec01a60f47d33d as Table, $76d00c5a4edb230a$export$fddc468cd8cb4db9 as useTableOptions, $76d00c5a4edb230a$export$f850895b287ef28e as TableHeader, $76d00c5a4edb230a$export$816b5d811295e6bc as Column, $76d00c5a4edb230a$export$ee689e97a7664bfd as ColumnResizer, $76d00c5a4edb230a$export$76ccd210b9029917 as TableBody, $76d00c5a4edb230a$export$b59bdbef9ce70de2 as Row, $76d00c5a4edb230a$export$f6f0c3fe4ec306ea as Cell, $76d00c5a4edb230a$export$8f5bea0338ed243c as TableLoadMoreItem, $117bf84ed4596724$export$62444c3c724b1b20 as TableLayout};\n//# sourceMappingURL=Table.mjs.map\n","import {getChildNodes as $cd5ea4b915021f1d$export$1005530eda016c13, getFirstItem as $cd5ea4b915021f1d$export$fbdeaa6a76694f71, getLastItem as $cd5ea4b915021f1d$export$7475b2c64539e4cf} from \"../collections/getChildNodes.mjs\";\nimport {useMultipleSelectionState as $60f19cefd567a3e4$export$253fe78d46329472} from \"../selection/useMultipleSelectionState.mjs\";\nimport {SelectionManager as $4a07ac835f260f78$export$6c8a5aaad13c9852} from \"../selection/SelectionManager.mjs\";\nimport {useMemo as $974D5$useMemo, useRef as $974D5$useRef, useEffect as $974D5$useEffect} from \"react\";\n\n\n\n\n\nfunction $183b79a1dd6664c1$export$4007ac09ff9c68ed(props) {\n let { collection: collection, focusMode: focusMode } = props;\n // eslint-disable-next-line react-hooks/rules-of-hooks\n let selectionState = props.UNSAFE_selectionState || (0, $60f19cefd567a3e4$export$253fe78d46329472)(props);\n let disabledKeys = (0, $974D5$useMemo)(()=>props.disabledKeys ? new Set(props.disabledKeys) : new Set(), [\n props.disabledKeys\n ]);\n let setFocusedKey = selectionState.setFocusedKey;\n selectionState.setFocusedKey = (key, child)=>{\n // If focusMode is cell and an item is focused, focus a child cell instead.\n if (focusMode === 'cell' && key != null) {\n let item = collection.getItem(key);\n if (item?.type === 'item') {\n let children = (0, $cd5ea4b915021f1d$export$1005530eda016c13)(item, collection);\n if (child === 'last') key = (0, $cd5ea4b915021f1d$export$7475b2c64539e4cf)(children)?.key ?? null;\n else key = (0, $cd5ea4b915021f1d$export$fbdeaa6a76694f71)(children)?.key ?? null;\n }\n }\n setFocusedKey(key, child);\n };\n let selectionManager = (0, $974D5$useMemo)(()=>new (0, $4a07ac835f260f78$export$6c8a5aaad13c9852)(collection, selectionState), [\n collection,\n selectionState\n ]);\n // Reset focused key if that item is deleted from the collection.\n const cachedCollection = (0, $974D5$useRef)(null);\n (0, $974D5$useEffect)(()=>{\n if (selectionState.focusedKey != null && cachedCollection.current && !collection.getItem(selectionState.focusedKey)) {\n const node = cachedCollection.current.getItem(selectionState.focusedKey);\n const parentNode = node?.parentKey != null && (node.type === 'cell' || node.type === 'rowheader' || node.type === 'column') ? cachedCollection.current.getItem(node.parentKey) : node;\n if (!parentNode) {\n selectionState.setFocusedKey(null);\n return;\n }\n const cachedRows = cachedCollection.current.rows;\n const rows = collection.rows;\n const diff = cachedRows.length - rows.length;\n let index = Math.min(diff > 1 ? Math.max(parentNode.index - diff + 1, 0) : parentNode.index, rows.length - 1);\n let newRow = null;\n while(index >= 0){\n if (!selectionManager.isDisabled(rows[index].key) && rows[index].type !== 'headerrow') {\n newRow = rows[index];\n break;\n }\n // Find next, not disabled row.\n if (index < rows.length - 1) index++;\n else {\n if (index > parentNode.index) index = parentNode.index;\n index--;\n }\n }\n if (newRow) {\n const childNodes = newRow.hasChildNodes ? [\n ...(0, $cd5ea4b915021f1d$export$1005530eda016c13)(newRow, collection)\n ] : [];\n const keyToFocus = newRow.hasChildNodes && parentNode !== node && node && node.index < childNodes.length ? childNodes[node.index].key : newRow.key;\n selectionState.setFocusedKey(keyToFocus);\n } else selectionState.setFocusedKey(null);\n }\n cachedCollection.current = collection;\n }, [\n collection,\n selectionManager,\n selectionState,\n selectionState.focusedKey\n ]);\n return {\n collection: collection,\n disabledKeys: disabledKeys,\n isKeyboardNavigationDisabled: false,\n selectionManager: selectionManager\n };\n}\n\n\nexport {$183b79a1dd6664c1$export$4007ac09ff9c68ed as useGridState};\n//# sourceMappingURL=useGridState.mjs.map\n","import {announce as $a46cf152bb926da5$export$a9b970dcc4ae71a9} from \"../live-announcer/LiveAnnouncer.mjs\";\nimport {useGrid as $e9c0503d101e30f9$export$f6b86a04e5d66d90} from \"../grid/useGrid.mjs\";\nimport {gridIds as $cf56c58f505db99a$export$552312adfd451dab} from \"./utils.mjs\";\nimport $djswP$intlStringsmjs from \"./intlStrings.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {TableKeyboardDelegate as $0048eb146240e3fa$export$da43f8f5cb04028d} from \"./TableKeyboardDelegate.mjs\";\nimport {useCollator as $673d46fce3e5717d$export$a16aca283550c30d} from \"../i18n/useCollator.mjs\";\nimport {useDescription as $121970af65029459$export$f8aeda7b10753fa1} from \"../utils/useDescription.mjs\";\nimport {useId as $390e54f620492c70$export$f680877a34711e37} from \"../utils/useId.mjs\";\nimport {useLocale as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7} from \"../i18n/I18nProvider.mjs\";\nimport {useLocalizedStringFormatter as $cf2482eff2eeeec2$export$f12b703ca79dfbb1} from \"../i18n/useLocalizedStringFormatter.mjs\";\nimport {useUpdateEffect as $3c71b1595a147f24$export$496315a1608d9602} from \"../utils/useUpdateEffect.mjs\";\nimport {useMemo as $djswP$useMemo} from \"react\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\n\n\nfunction $fb95af427cd4e876$export$25bceaac3c7e4dc7(props, state, ref) {\n let { keyboardDelegate: keyboardDelegate, isVirtualized: isVirtualized, layoutDelegate: layoutDelegate, layout: layout } = props;\n // By default, a KeyboardDelegate is provided which uses the DOM to query layout information (e.g. for page up/page down).\n // When virtualized, the layout object will be passed in as a prop and override this.\n let collator = (0, $673d46fce3e5717d$export$a16aca283550c30d)({\n usage: 'search',\n sensitivity: 'base'\n });\n let { direction: direction } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n let disabledBehavior = state.selectionManager.disabledBehavior;\n let delegate = (0, $djswP$useMemo)(()=>keyboardDelegate || new (0, $0048eb146240e3fa$export$da43f8f5cb04028d)({\n collection: state.collection,\n disabledKeys: state.disabledKeys,\n disabledBehavior: disabledBehavior,\n ref: ref,\n direction: direction,\n collator: collator,\n layoutDelegate: layoutDelegate,\n layout: layout\n }), [\n keyboardDelegate,\n state.collection,\n state.disabledKeys,\n disabledBehavior,\n ref,\n direction,\n collator,\n layoutDelegate,\n layout\n ]);\n let id = (0, $390e54f620492c70$export$f680877a34711e37)(props.id);\n (0, $cf56c58f505db99a$export$552312adfd451dab).set(state, id);\n let { gridProps: gridProps } = (0, $e9c0503d101e30f9$export$f6b86a04e5d66d90)({\n ...props,\n id: id,\n keyboardDelegate: delegate\n }, state, ref);\n // Override to include header rows\n if (isVirtualized) gridProps['aria-rowcount'] = state.collection.size + state.collection.headerRows.length;\n if (state.treeColumn != null) gridProps.role = 'treegrid';\n let { column: column, direction: sortDirection } = state.sortDescriptor || {};\n let stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($djswP$intlStringsmjs))), '@react-aria/table');\n let sortDescription = (0, $djswP$useMemo)(()=>{\n let columnName = state.collection.columns.find((c)=>c.key === column)?.textValue ?? '';\n return sortDirection && column ? stringFormatter.format(`${sortDirection}Sort`, {\n columnName: columnName\n }) : undefined;\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n sortDirection,\n column,\n state.collection.columns\n ]);\n let descriptionProps = (0, $121970af65029459$export$f8aeda7b10753fa1)(sortDescription);\n // Only announce after initial render, tabbing to the table will tell you the initial sort info already\n (0, $3c71b1595a147f24$export$496315a1608d9602)(()=>{\n if (sortDescription) (0, $a46cf152bb926da5$export$a9b970dcc4ae71a9)(sortDescription, 'assertive', 500);\n }, [\n sortDescription\n ]);\n return {\n gridProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(gridProps, descriptionProps, {\n // merge sort description with long press information\n 'aria-describedby': [\n descriptionProps['aria-describedby'],\n gridProps['aria-describedby']\n ].filter(Boolean).join(' ')\n })\n };\n}\n\n\nexport {$fb95af427cd4e876$export$25bceaac3c7e4dc7 as useTable};\n//# sourceMappingURL=useTable.mjs.map\n","import {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29, nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {GridKeyboardDelegate as $c7bb87e55e1ab755$export$de9feff04fda126e} from \"./GridKeyboardDelegate.mjs\";\nimport {gridMap as $90a81c508a5c0de1$export$e6235c0d09b995d0} from \"./utils.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useCollator as $673d46fce3e5717d$export$a16aca283550c30d} from \"../i18n/useCollator.mjs\";\nimport {useGridSelectionAnnouncement as $2b2556a8276954c1$export$137e594ef3218a10} from \"./useGridSelectionAnnouncement.mjs\";\nimport {useHasTabbableChild as $bf14c9739fda2eb3$export$eac1895992b9f3d6} from \"../focus/useHasTabbableChild.mjs\";\nimport {useHighlightSelectionDescription as $40ae3c60ef0e2e61$export$be42ebdab07ae4c2} from \"./useHighlightSelectionDescription.mjs\";\nimport {useId as $390e54f620492c70$export$f680877a34711e37} from \"../utils/useId.mjs\";\nimport {useLocale as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7} from \"../i18n/I18nProvider.mjs\";\nimport {useSelectableCollection as $d667c2af82d35a98$export$d6daf82dcd84e87c} from \"../selection/useSelectableCollection.mjs\";\nimport {useMemo as $1jEUe$useMemo, useCallback as $1jEUe$useCallback} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\n\n\nfunction $e9c0503d101e30f9$export$f6b86a04e5d66d90(props, state, ref) {\n let { isVirtualized: isVirtualized, disallowTypeAhead: disallowTypeAhead, keyboardDelegate: keyboardDelegate, focusMode: focusMode, scrollRef: scrollRef, getRowText: getRowText, onRowAction: onRowAction, onCellAction: onCellAction, escapeKeyBehavior: escapeKeyBehavior = 'clearSelection', shouldSelectOnPressUp: shouldSelectOnPressUp } = props;\n let { selectionManager: manager } = state;\n if (!props['aria-label'] && !props['aria-labelledby']) console.warn('An aria-label or aria-labelledby prop is required for accessibility.');\n // By default, a KeyboardDelegate is provided which uses the DOM to query layout information (e.g. for page up/page down).\n // When virtualized, the layout object will be passed in as a prop and override this.\n let collator = (0, $673d46fce3e5717d$export$a16aca283550c30d)({\n usage: 'search',\n sensitivity: 'base'\n });\n let { direction: direction } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n let disabledBehavior = state.selectionManager.disabledBehavior;\n let delegate = (0, $1jEUe$useMemo)(()=>keyboardDelegate || new (0, $c7bb87e55e1ab755$export$de9feff04fda126e)({\n collection: state.collection,\n disabledKeys: state.disabledKeys,\n disabledBehavior: disabledBehavior,\n ref: ref,\n direction: direction,\n collator: collator,\n focusMode: focusMode\n }), [\n keyboardDelegate,\n state.collection,\n state.disabledKeys,\n disabledBehavior,\n ref,\n direction,\n collator,\n focusMode\n ]);\n let { collectionProps: collectionProps } = (0, $d667c2af82d35a98$export$d6daf82dcd84e87c)({\n ref: ref,\n selectionManager: manager,\n keyboardDelegate: delegate,\n isVirtualized: isVirtualized,\n scrollRef: scrollRef,\n disallowTypeAhead: disallowTypeAhead,\n escapeKeyBehavior: escapeKeyBehavior\n });\n let id = (0, $390e54f620492c70$export$f680877a34711e37)(props.id);\n (0, $90a81c508a5c0de1$export$e6235c0d09b995d0).set(state, {\n keyboardDelegate: delegate,\n actions: {\n onRowAction: onRowAction,\n onCellAction: onCellAction\n },\n shouldSelectOnPressUp: shouldSelectOnPressUp\n });\n let descriptionProps = (0, $40ae3c60ef0e2e61$export$be42ebdab07ae4c2)({\n selectionManager: manager,\n hasItemActions: !!(onRowAction || onCellAction)\n });\n let domProps = (0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(props, {\n labelable: true\n });\n let onFocus = (0, $1jEUe$useCallback)((e)=>{\n if (manager.isFocused) {\n // If a focus event bubbled through a portal, reset focus state.\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) manager.setFocused(false);\n return;\n }\n // Focus events can bubble through portals. Ignore these events.\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n manager.setFocused(true);\n }, [\n manager\n ]);\n // Continue to track collection focused state even if keyboard navigation is disabled\n let navDisabledHandlers = (0, $1jEUe$useMemo)(()=>({\n onBlur: collectionProps.onBlur,\n onFocus: onFocus\n }), [\n onFocus,\n collectionProps.onBlur\n ]);\n let hasTabbableChild = (0, $bf14c9739fda2eb3$export$eac1895992b9f3d6)(ref, {\n isDisabled: state.collection.size !== 0\n });\n let gridProps = (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(domProps, {\n role: 'grid',\n id: id,\n 'aria-multiselectable': manager.selectionMode === 'multiple' ? 'true' : undefined\n }, state.isKeyboardNavigationDisabled ? navDisabledHandlers : collectionProps, // If collection is empty, make sure the grid is tabbable unless there is a child tabbable element.\n state.collection.size === 0 && {\n tabIndex: hasTabbableChild ? -1 : 0\n } || undefined, descriptionProps);\n if (isVirtualized) {\n gridProps['aria-rowcount'] = state.collection.size;\n gridProps['aria-colcount'] = state.collection.columnCount;\n }\n (0, $2b2556a8276954c1$export$137e594ef3218a10)({\n getRowText: getRowText\n }, state);\n return {\n gridProps: gridProps\n };\n}\n\n\nexport {$e9c0503d101e30f9$export$f6b86a04e5d66d90 as useGrid};\n//# sourceMappingURL=useGrid.mjs.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ function $b79421b14039b021$export$1b95a7d2d517b841(props, state, ref) {\n let { node: node, isVirtualized: isVirtualized } = props;\n let rowProps = {\n role: 'row'\n };\n if (isVirtualized && state.treeColumn == null) rowProps['aria-rowindex'] = node.index + 1; // aria-rowindex is 1 based\n return {\n rowProps: rowProps\n };\n}\n\n\nexport {$b79421b14039b021$export$1b95a7d2d517b841 as useTableHeaderRow};\n//# sourceMappingURL=useTableHeaderRow.mjs.map\n","import {getRowLabelledBy as $cf56c58f505db99a$export$85069b70317f543} from \"./utils.mjs\";\nimport $f3C2Q$intlStringsmjs from \"./intlStrings.mjs\";\nimport {useGridSelectionCheckbox as $575d7acf5e0b35f6$export$70e2eed1a92976ad} from \"../grid/useGridSelectionCheckbox.mjs\";\nimport {useLocalizedStringFormatter as $cf2482eff2eeeec2$export$f12b703ca79dfbb1} from \"../i18n/useLocalizedStringFormatter.mjs\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nfunction $9f1626ae989538fb$export$16ea7f650bd7c1bb(props, state) {\n let { key: key } = props;\n const { checkboxProps: checkboxProps } = (0, $575d7acf5e0b35f6$export$70e2eed1a92976ad)(props, state);\n return {\n checkboxProps: {\n ...checkboxProps,\n 'aria-labelledby': `${checkboxProps.id} ${(0, $cf56c58f505db99a$export$85069b70317f543)(state, key)}`\n }\n };\n}\nfunction $9f1626ae989538fb$export$1003db6a7e384b99(state) {\n let { isEmpty: isEmpty, isSelectAll: isSelectAll, selectionMode: selectionMode } = state.selectionManager;\n const stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($f3C2Q$intlStringsmjs))), '@react-aria/table');\n return {\n checkboxProps: {\n 'aria-label': stringFormatter.format(selectionMode === 'single' ? 'select' : 'selectAll'),\n isSelected: isSelectAll,\n isDisabled: selectionMode !== 'multiple' || state.collection.size === 0 || state.collection.rows.length === 1 && state.collection.rows[0].type === 'loader',\n isIndeterminate: !isEmpty && !isSelectAll,\n onChange: ()=>state.selectionManager.toggleSelectAll()\n }\n };\n}\n\n\nexport {$9f1626ae989538fb$export$16ea7f650bd7c1bb as useTableSelectionCheckbox, $9f1626ae989538fb$export$1003db6a7e384b99 as useTableSelectAllCheckbox};\n//# sourceMappingURL=useTableSelectionCheckbox.mjs.map\n","import {getColumnHeaderId as $cf56c58f505db99a$export$37cd4213f2ad742e} from \"./utils.mjs\";\nimport $cBFAV$intlStringsmjs from \"./intlStrings.mjs\";\nimport {isAndroid as $2add3ce32c6007eb$export$a11b0059900ceec8} from \"../utils/platform.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useDescription as $121970af65029459$export$f8aeda7b10753fa1} from \"../utils/useDescription.mjs\";\nimport {useFocusable as $d1116acdf220c2da$export$4c014de7c8940b4c} from \"../interactions/useFocusable.mjs\";\nimport {useGridCell as $a4d729ad50b8576a$export$c7e10bfc0c59f67c} from \"../grid/useGridCell.mjs\";\nimport {useLocalizedStringFormatter as $cf2482eff2eeeec2$export$f12b703ca79dfbb1} from \"../i18n/useLocalizedStringFormatter.mjs\";\nimport {usePress as $d27d541f9569d26d$export$45712eceda6fad21} from \"../interactions/usePress.mjs\";\nimport {useEffect as $cBFAV$useEffect} from \"react\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\nfunction $7354db473d14c864$export$9514819a8c81e960(props, state, ref) {\n let { node: node } = props;\n let allowsSorting = node.props.allowsSorting;\n // if there are no focusable children, the column header will focus the cell\n let { gridCellProps: gridCellProps } = (0, $a4d729ad50b8576a$export$c7e10bfc0c59f67c)({\n ...props,\n focusMode: 'child'\n }, state, ref);\n let isSelectionCellDisabled = node.props.isSelectionCell && state.selectionManager.selectionMode === 'single';\n let { pressProps: pressProps, isPressed: isPressed } = (0, $d27d541f9569d26d$export$45712eceda6fad21)({\n isDisabled: !allowsSorting || isSelectionCellDisabled,\n onPress () {\n state.sort(node.key);\n },\n ref: ref\n });\n // Needed to pick up the focusable context, enabling things like Tooltips for example\n let { focusableProps: focusableProps } = (0, $d1116acdf220c2da$export$4c014de7c8940b4c)({}, ref);\n let ariaSort = undefined;\n let isSortedColumn = state.sortDescriptor?.column === node.key;\n let sortDirection = state.sortDescriptor?.direction;\n // aria-sort not supported in Android Talkback\n if (node.props.allowsSorting && !(0, $2add3ce32c6007eb$export$a11b0059900ceec8)()) ariaSort = isSortedColumn ? sortDirection : 'none';\n let stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($cBFAV$intlStringsmjs))), '@react-aria/table');\n let sortDescription;\n if (allowsSorting) {\n sortDescription = `${stringFormatter.format('sortable')}`;\n // Android Talkback doesn't support aria-sort so we add sort order details to the aria-described by here\n if (isSortedColumn && sortDirection && (0, $2add3ce32c6007eb$export$a11b0059900ceec8)()) sortDescription = `${sortDescription}, ${stringFormatter.format(sortDirection)}`;\n }\n let descriptionProps = (0, $121970af65029459$export$f8aeda7b10753fa1)(sortDescription);\n let shouldDisableFocus = state.collection.size === 0;\n (0, $cBFAV$useEffect)(()=>{\n if (shouldDisableFocus && state.selectionManager.focusedKey === node.key) state.selectionManager.setFocusedKey(null);\n }, [\n shouldDisableFocus,\n state.selectionManager,\n node.key\n ]);\n return {\n columnHeaderProps: {\n ...(0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(focusableProps, gridCellProps, pressProps, descriptionProps, // If the table is empty, make all column headers untabbable\n shouldDisableFocus ? {\n tabIndex: -1\n } : null),\n role: 'columnheader',\n id: (0, $cf56c58f505db99a$export$37cd4213f2ad742e)(state, node.key),\n 'aria-colspan': node.colSpan && node.colSpan > 1 ? node.colSpan : undefined,\n 'aria-sort': ariaSort\n },\n isPressed: isPressed\n };\n}\n\n\nexport {$7354db473d14c864$export$9514819a8c81e960 as useTableColumnHeader};\n//# sourceMappingURL=useTableColumnHeader.mjs.map\n","import {chain as $a4e76a5424781910$export$e08e3b67e392101e} from \"../utils/chain.mjs\";\nimport {gridMap as $90a81c508a5c0de1$export$e6235c0d09b995d0} from \"./utils.mjs\";\nimport {useSelectableItem as $f6ba6936bfd098a0$export$ecf600387e221c37} from \"../selection/useSelectableItem.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $6b16276e8bbdaf8e$export$96357d5a73f686fa(props, state, ref) {\n let { node: node, isVirtualized: isVirtualized, shouldSelectOnPressUp: shouldSelectOnPressUp, onAction: onAction } = props;\n let { actions: actions, shouldSelectOnPressUp: gridShouldSelectOnPressUp } = (0, $90a81c508a5c0de1$export$e6235c0d09b995d0).get(state);\n let onRowAction = actions.onRowAction ? ()=>actions.onRowAction?.(node.key) : onAction;\n let { itemProps: itemProps, ...states } = (0, $f6ba6936bfd098a0$export$ecf600387e221c37)({\n selectionManager: state.selectionManager,\n key: node.key,\n ref: ref,\n isVirtualized: isVirtualized,\n shouldSelectOnPressUp: gridShouldSelectOnPressUp || shouldSelectOnPressUp,\n onAction: onRowAction || node?.props?.onAction ? (0, $a4e76a5424781910$export$e08e3b67e392101e)(node?.props?.onAction, onRowAction) : undefined,\n isDisabled: state.collection.size === 0\n });\n let isSelected = state.selectionManager.isSelected(node.key);\n let rowProps = {\n role: 'row',\n 'aria-selected': state.selectionManager.selectionMode !== 'none' ? isSelected : undefined,\n 'aria-disabled': states.isDisabled || undefined,\n ...itemProps\n };\n if (isVirtualized) rowProps['aria-rowindex'] = node.index + 1; // aria-rowindex is 1 based\n return {\n rowProps: rowProps,\n ...states\n };\n}\n\n\nexport {$6b16276e8bbdaf8e$export$96357d5a73f686fa as useGridRow};\n//# sourceMappingURL=useGridRow.mjs.map\n","import $iU8zV$intlStringsmjs from \"./intlStrings.mjs\";\nimport {useId as $390e54f620492c70$export$f680877a34711e37} from \"../utils/useId.mjs\";\nimport {useLocalizedStringFormatter as $cf2482eff2eeeec2$export$f12b703ca79dfbb1} from \"../i18n/useLocalizedStringFormatter.mjs\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n\n\n\nfunction $575d7acf5e0b35f6$export$70e2eed1a92976ad(props, state) {\n let { key: key } = props;\n let manager = state.selectionManager;\n let checkboxId = (0, $390e54f620492c70$export$f680877a34711e37)();\n let isDisabled = !state.selectionManager.canSelectItem(key);\n let isSelected = state.selectionManager.isSelected(key);\n // Checkbox should always toggle selection, regardless of selectionBehavior.\n let onChange = ()=>manager.toggleSelection(key);\n const stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($iU8zV$intlStringsmjs))), '@react-aria/grid');\n return {\n checkboxProps: {\n id: checkboxId,\n 'aria-label': stringFormatter.format('select'),\n isSelected: isSelected,\n isDisabled: isDisabled,\n onChange: onChange\n }\n };\n}\n\n\nexport {$575d7acf5e0b35f6$export$70e2eed1a92976ad as useGridSelectionCheckbox};\n//# sourceMappingURL=useGridSelectionCheckbox.mjs.map\n","import {getCellId as $cf56c58f505db99a$export$19baff3266315d44} from \"./utils.mjs\";\nimport {useGridCell as $a4d729ad50b8576a$export$c7e10bfc0c59f67c} from \"../grid/useGridCell.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $059e6e023d86289a$export$49571c903d73624c(props, state, ref) {\n let { gridCellProps: gridCellProps, isPressed: isPressed } = (0, $a4d729ad50b8576a$export$c7e10bfc0c59f67c)(props, state, ref);\n let columnKey = props.node.column?.key;\n if (columnKey != null && state.collection.rowHeaderColumnKeys.has(columnKey)) {\n gridCellProps.role = 'rowheader';\n gridCellProps.id = (0, $cf56c58f505db99a$export$19baff3266315d44)(state, props.node.parentKey, columnKey);\n }\n return {\n gridCellProps: gridCellProps,\n isPressed: isPressed\n };\n}\n\n\nexport {$059e6e023d86289a$export$49571c903d73624c as useTableCell};\n//# sourceMappingURL=useTableCell.mjs.map\n","import {getChildNodes as $cd5ea4b915021f1d$export$1005530eda016c13, getLastItem as $cd5ea4b915021f1d$export$7475b2c64539e4cf} from \"../collections/getChildNodes.mjs\";\nimport {LayoutInfo as $eb6255cbf080eb7d$export$7e0eeb9da702a085} from \"../virtualizer/LayoutInfo.mjs\";\nimport {ListLayout as $942f06a693c162e2$export$cacbb3924155d68e} from \"./ListLayout.mjs\";\nimport {Rect as $af827553fd3cf456$export$c79fc6492f3af13d} from \"../virtualizer/Rect.mjs\";\nimport {Size as $cc8e610d5d6e3fe4$export$cb6da89c6af1a8ec} from \"../virtualizer/Size.mjs\";\nimport {TableColumnLayout as $245263de035f5da5$export$7ff77a162970b30e} from \"../table/TableColumnLayout.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nconst $024b19c559603d56$var$DEFAULT_ROW_HEIGHT = 48;\nclass $024b19c559603d56$export$62444c3c724b1b20 extends (0, $942f06a693c162e2$export$cacbb3924155d68e) {\n constructor(options){\n super(options), this.lastCollection = null, this.columnWidths = new Map(), this.lastPersistedKeys = null, this.persistedIndices = new Map();\n this.stickyColumnIndices = [];\n }\n // Backward compatibility for subclassing.\n get collection() {\n return this.virtualizer.collection;\n }\n // Preserve the old rowHeight/other \"height\" properties since Table doesn't support a \"horizontal\" orientation\n get rowHeight() {\n return super.rowHeight;\n }\n get estimatedRowHeight() {\n return super.estimatedRowHeight;\n }\n get headingHeight() {\n return super.headingHeight;\n }\n get estimatedHeadingHeight() {\n return super.estimatedHeadingHeight;\n }\n get loaderHeight() {\n return super.loaderHeight;\n }\n columnsChanged(newCollection, oldCollection) {\n return !oldCollection || newCollection.columns !== oldCollection.columns && newCollection.columns.length !== oldCollection.columns.length || newCollection.columns.some((c, i)=>c.key !== oldCollection.columns[i].key || c.props.width !== oldCollection.columns[i].props.width || c.props.minWidth !== oldCollection.columns[i].props.minWidth || c.props.maxWidth !== oldCollection.columns[i].props.maxWidth);\n }\n shouldInvalidateLayoutOptions(newOptions, oldOptions) {\n return newOptions.columnWidths !== oldOptions.columnWidths || super.shouldInvalidateLayoutOptions(newOptions, oldOptions);\n }\n update(invalidationContext) {\n let newCollection = this.virtualizer.collection;\n // If columnWidths were provided via layoutOptions, update those.\n // Otherwise, calculate column widths ourselves.\n if (invalidationContext.layoutOptions?.columnWidths) {\n for (const [key, val] of invalidationContext.layoutOptions.columnWidths)if (this.columnWidths.get(key) !== val) {\n this.columnWidths = invalidationContext.layoutOptions.columnWidths;\n invalidationContext.sizeChanged = true;\n break;\n }\n } else if (invalidationContext.sizeChanged || this.columnsChanged(newCollection, this.lastCollection)) {\n let columnLayout = new (0, $245263de035f5da5$export$7ff77a162970b30e)({});\n this.columnWidths = columnLayout.buildColumnWidths(this.virtualizer.size.width - this.padding * 2, newCollection, new Map());\n invalidationContext.sizeChanged = true;\n }\n super.update(invalidationContext);\n }\n buildCollection() {\n this.stickyColumnIndices = [];\n let collection = this.virtualizer.collection;\n if (collection.head?.key === -1) return [];\n for (let column of collection.columns)// The selection cell and any other sticky columns always need to be visible.\n // In addition, row headers need to be in the DOM for accessibility labeling.\n if (this.isStickyColumn(column) || collection.rowHeaderColumnKeys.has(column.key)) this.stickyColumnIndices.push(column.index);\n let header = this.buildTableHeader();\n this.layoutNodes.set(header.layoutInfo.key, header);\n let body = this.buildBody(header.layoutInfo.rect.maxY + this.gap);\n this.lastPersistedKeys = null;\n body.layoutInfo.rect.width = Math.max(header.layoutInfo.rect.width, body.layoutInfo.rect.width);\n this.contentSize = new (0, $cc8e610d5d6e3fe4$export$cb6da89c6af1a8ec)(body.layoutInfo.rect.width + this.padding * 2, body.layoutInfo.rect.maxY + this.padding);\n return [\n header,\n body\n ];\n }\n buildTableHeader() {\n let collection = this.virtualizer.collection;\n let rect = new (0, $af827553fd3cf456$export$c79fc6492f3af13d)(this.padding, this.padding, 0, 0);\n let layoutInfo = new (0, $eb6255cbf080eb7d$export$7e0eeb9da702a085)('header', collection.head?.key ?? 'header', rect);\n layoutInfo.isSticky = true;\n layoutInfo.zIndex = 1;\n let y = this.padding;\n let width = 0;\n let children = [];\n for (let headerRow of collection.headerRows){\n let layoutNode = this.buildChild(headerRow, this.padding, y, layoutInfo.key);\n layoutNode.layoutInfo.parentKey = layoutInfo.key;\n y = layoutNode.layoutInfo.rect.maxY;\n width = Math.max(width, layoutNode.layoutInfo.rect.width);\n layoutNode.index = children.length;\n children.push(layoutNode);\n }\n rect.width = width;\n rect.height = y - this.padding;\n return {\n layoutInfo: layoutInfo,\n children: children,\n validRect: layoutInfo.rect,\n node: collection.head\n };\n }\n buildHeaderRow(headerRow, x, y) {\n let rect = new (0, $af827553fd3cf456$export$c79fc6492f3af13d)(x, y, 0, 0);\n let row = new (0, $eb6255cbf080eb7d$export$7e0eeb9da702a085)('headerrow', headerRow.key, rect);\n let height = 0;\n let columns = [];\n for (let cell of (0, $cd5ea4b915021f1d$export$1005530eda016c13)(headerRow, this.virtualizer.collection)){\n let layoutNode = this.buildChild(cell, x, y, row.key);\n layoutNode.layoutInfo.parentKey = row.key;\n x = layoutNode.layoutInfo.rect.maxX;\n height = Math.max(height, layoutNode.layoutInfo.rect.height);\n layoutNode.index = columns.length;\n columns.push(layoutNode);\n }\n for (let [i, layout] of columns.entries())layout.layoutInfo.zIndex = columns.length - i + 1;\n this.setChildHeights(columns, height);\n rect.height = height;\n rect.width = x - rect.x;\n return {\n layoutInfo: row,\n children: columns,\n validRect: rect,\n node: headerRow\n };\n }\n setChildHeights(children, height) {\n for (let child of children)if (child.layoutInfo.rect.height !== height) {\n // Need to copy the layout info before we mutate it.\n child.layoutInfo = child.layoutInfo.copy();\n child.layoutInfo.rect.height = height;\n }\n }\n // used to get the column widths when rendering to the DOM\n getRenderedColumnWidth(node) {\n let collection = this.virtualizer.collection;\n let colSpan = node.colSpan ?? 1;\n let colIndex = node.colIndex ?? node.index;\n let width = 0;\n for(let i = colIndex; i < colIndex + colSpan; i++){\n let column = collection.columns[i];\n if (column?.key != null) width += this.columnWidths.get(column.key) ?? 0;\n }\n return width;\n }\n getEstimatedHeight(node, width, height, estimatedHeight) {\n let isEstimated = false;\n // If no explicit height is available, use an estimated height.\n if (height == null) {\n // If a previous version of this layout info exists, reuse its height.\n // Mark as estimated if the size of the overall collection view changed,\n // or the content of the item changed.\n let previousLayoutNode = this.layoutNodes.get(node.key);\n if (previousLayoutNode) {\n height = previousLayoutNode.layoutInfo.rect.height;\n isEstimated = node !== previousLayoutNode.node || width !== previousLayoutNode.layoutInfo.rect.width || previousLayoutNode.layoutInfo.estimatedSize;\n } else {\n height = estimatedHeight ?? $024b19c559603d56$var$DEFAULT_ROW_HEIGHT;\n isEstimated = true;\n }\n }\n return {\n height: height,\n isEstimated: isEstimated\n };\n }\n getEstimatedRowHeight() {\n return this.rowHeight ?? this.estimatedRowHeight ?? $024b19c559603d56$var$DEFAULT_ROW_HEIGHT;\n }\n buildColumn(node, x, y) {\n let width = this.getRenderedColumnWidth(node);\n let { height: height, isEstimated: isEstimated } = this.getEstimatedHeight(node, width, this.headingHeight ?? this.rowHeight, this.estimatedHeadingHeight ?? this.estimatedRowHeight);\n let rect = new (0, $af827553fd3cf456$export$c79fc6492f3af13d)(x, y, width, height);\n let layoutInfo = new (0, $eb6255cbf080eb7d$export$7e0eeb9da702a085)(node.type, node.key, rect);\n layoutInfo.isSticky = this.isStickyColumn(node);\n layoutInfo.zIndex = layoutInfo.isSticky ? 2 : 1;\n layoutInfo.estimatedSize = isEstimated;\n return {\n layoutInfo: layoutInfo,\n children: [],\n validRect: layoutInfo.rect,\n node: node\n };\n }\n // For subclasses.\n // eslint-disable-next-line\n isStickyColumn(node) {\n return false;\n }\n buildBody(y) {\n let collection = this.virtualizer.collection;\n let rect = new (0, $af827553fd3cf456$export$c79fc6492f3af13d)(this.padding, y, 0, 0);\n let layoutInfo = new (0, $eb6255cbf080eb7d$export$7e0eeb9da702a085)('rowgroup', collection.body.key, rect);\n let startY = y;\n let skipped = 0;\n let width = 0;\n let children = [];\n let rowHeight = this.getEstimatedRowHeight() + this.gap;\n let childNodes = (0, $cd5ea4b915021f1d$export$1005530eda016c13)(collection.body, collection);\n for (let node of childNodes){\n // Skip rows before the valid rectangle unless they are already cached.\n if (y + rowHeight < this.requestedRect.y && !this.isValid(node, y)) {\n y += rowHeight;\n skipped++;\n continue;\n }\n let layoutNode = this.buildChild(node, this.padding, y, layoutInfo.key);\n layoutNode.layoutInfo.parentKey = layoutInfo.key;\n layoutNode.index = children.length;\n y = layoutNode.layoutInfo.rect.maxY + this.gap;\n width = Math.max(width, layoutNode.layoutInfo.rect.width);\n children.push(layoutNode);\n if (y > this.requestedRect.maxY) {\n let rowsAfterRect = collection.size - (children.length + skipped);\n let lastNode = (0, $cd5ea4b915021f1d$export$7475b2c64539e4cf)(childNodes);\n // Estimate the remaining height for rows that we don't need to layout right now.\n y += rowsAfterRect * rowHeight;\n // Always add the loader sentinel if present. This assumes the loader is the last row in the body,\n // will need to refactor when handling multi section loading\n if (lastNode?.type === 'loader' && children.at(-1)?.layoutInfo.type !== 'loader') {\n let loader = this.buildChild(lastNode, this.padding, y, layoutInfo.key);\n loader.layoutInfo.parentKey = layoutInfo.key;\n loader.index = collection.size;\n width = Math.max(width, loader.layoutInfo.rect.width);\n children.push(loader);\n y = loader.layoutInfo.rect.maxY;\n }\n break;\n }\n }\n // Make sure that the table body gets a height if empty or performing initial load\n let isEmptyOrLoading = collection?.size === 0;\n if (isEmptyOrLoading) y = this.virtualizer.size.height;\n else y -= this.gap;\n rect.width = width;\n rect.height = y - startY;\n return {\n layoutInfo: layoutInfo,\n children: children,\n validRect: layoutInfo.rect.intersection(this.requestedRect),\n node: collection.body\n };\n }\n buildNode(node, x, y) {\n switch(node.type){\n case 'headerrow':\n return this.buildHeaderRow(node, x, y);\n case 'item':\n return this.buildRow(node, x, y);\n case 'column':\n case 'placeholder':\n return this.buildColumn(node, x, y);\n case 'cell':\n return this.buildCell(node, x, y);\n case 'loader':\n return this.buildLoader(node, x, y);\n default:\n throw new Error('Unknown node type ' + node.type);\n }\n }\n buildRow(node, x, y) {\n let collection = this.virtualizer.collection;\n let rect = new (0, $af827553fd3cf456$export$c79fc6492f3af13d)(x, y, 0, 0);\n let layoutInfo = new (0, $eb6255cbf080eb7d$export$7e0eeb9da702a085)('row', node.key, rect);\n let children = [];\n let height = 0;\n for (let child of (0, $cd5ea4b915021f1d$export$1005530eda016c13)(node, collection))if (child.type === 'cell') {\n if (x > this.requestedRect.maxX) {\n // Adjust existing cached layoutInfo to ensure that it is out of view.\n // This can happen due to column resizing.\n let layoutNode = this.layoutNodes.get(child.key);\n if (layoutNode) {\n layoutNode.layoutInfo.rect.x = x;\n x += layoutNode.layoutInfo.rect.width;\n } else break;\n } else {\n let layoutNode = this.buildChild(child, x, y, layoutInfo.key);\n x = layoutNode.layoutInfo.rect.maxX;\n height = Math.max(height, layoutNode.layoutInfo.rect.height);\n layoutNode.index = children.length;\n children.push(layoutNode);\n }\n }\n this.setChildHeights(children, height);\n rect.width = this.layoutNodes.get(collection.head?.key ?? 'header').layoutInfo.rect.width;\n rect.height = height;\n return {\n layoutInfo: layoutInfo,\n children: children,\n validRect: rect.intersection(this.requestedRect),\n node: node\n };\n }\n buildCell(node, x, y) {\n let width = this.getRenderedColumnWidth(node);\n let { height: height, isEstimated: isEstimated } = this.getEstimatedHeight(node, width, this.rowHeight, this.estimatedRowHeight);\n let rect = new (0, $af827553fd3cf456$export$c79fc6492f3af13d)(x, y, width, height);\n let layoutInfo = new (0, $eb6255cbf080eb7d$export$7e0eeb9da702a085)(node.type, node.key, rect);\n layoutInfo.isSticky = this.isStickyColumn(node);\n layoutInfo.zIndex = layoutInfo.isSticky ? 2 : 1;\n layoutInfo.estimatedSize = isEstimated;\n return {\n layoutInfo: layoutInfo,\n children: [],\n validRect: rect,\n node: node\n };\n }\n getVisibleLayoutInfos(rect) {\n // Adjust rect to keep number of visible rows consistent.\n // (only if height > 1 for getDropTargetFromPoint)\n if (rect.height > 1) {\n let rowHeight = this.getEstimatedRowHeight();\n rect.y = Math.floor(rect.y / rowHeight) * rowHeight;\n rect.height = Math.ceil(rect.height / rowHeight) * rowHeight;\n }\n // If layout hasn't yet been done for the requested rect, union the\n // new rect with the existing valid rect, and recompute.\n this.layoutIfNeeded(rect);\n let res = [];\n this.buildPersistedIndices();\n for (let node of this.rootNodes){\n res.push(node.layoutInfo);\n this.addVisibleLayoutInfos(res, node, rect);\n }\n return res;\n }\n addVisibleLayoutInfos(res, node, rect) {\n if (!node.children || node.children.length === 0) return;\n switch(node.layoutInfo.type){\n case 'header':\n for (let child of node.children){\n res.push(child.layoutInfo);\n this.addVisibleLayoutInfos(res, child, rect);\n }\n break;\n case 'rowgroup':\n {\n let firstVisibleRow = this.binarySearch(node.children, rect.topLeft, 'y');\n let lastVisibleRow = this.binarySearch(node.children, rect.bottomRight, 'y');\n // Add persisted rows before the visible rows.\n let persistedRowIndices = this.persistedIndices.get(node.layoutInfo.key);\n let persistIndex = 0;\n while(persistedRowIndices && persistIndex < persistedRowIndices.length && persistedRowIndices[persistIndex] < firstVisibleRow){\n let idx = persistedRowIndices[persistIndex];\n if (idx < node.children.length) {\n res.push(node.children[idx].layoutInfo);\n this.addVisibleLayoutInfos(res, node.children[idx], rect);\n }\n persistIndex++;\n }\n for(let i = firstVisibleRow; i <= lastVisibleRow; i++){\n // Skip persisted rows that overlap with visible cells.\n while(persistedRowIndices && persistIndex < persistedRowIndices.length && persistedRowIndices[persistIndex] < i)persistIndex++;\n res.push(node.children[i].layoutInfo);\n this.addVisibleLayoutInfos(res, node.children[i], rect);\n }\n // Add persisted rows after the visible rows.\n while(persistedRowIndices && persistIndex < persistedRowIndices.length){\n let idx = persistedRowIndices[persistIndex++];\n if (idx < node.children.length) {\n res.push(node.children[idx].layoutInfo);\n this.addVisibleLayoutInfos(res, node.children[idx], rect);\n }\n }\n // Always include loading sentinel even when virtualized, we assume it is always the last child for now\n let lastRow = node.children.at(-1);\n if (lastRow?.layoutInfo.type === 'loader') res.push(lastRow.layoutInfo);\n break;\n }\n case 'headerrow':\n case 'row':\n {\n let firstVisibleCell = this.binarySearch(node.children, rect.topLeft, 'x');\n let lastVisibleCell = this.binarySearch(node.children, rect.topRight, 'x');\n let stickyIndex = 0;\n // Add persisted/sticky cells before the visible cells.\n let persistedCellIndices = this.persistedIndices.get(node.layoutInfo.key) || this.stickyColumnIndices;\n while(stickyIndex < persistedCellIndices.length && persistedCellIndices[stickyIndex] < firstVisibleCell){\n let idx = persistedCellIndices[stickyIndex];\n if (idx < node.children.length) res.push(node.children[idx].layoutInfo);\n stickyIndex++;\n }\n for(let i = firstVisibleCell; i <= lastVisibleCell; i++){\n // Skip sticky cells that overlap with visible cells.\n while(stickyIndex < persistedCellIndices.length && persistedCellIndices[stickyIndex] < i)stickyIndex++;\n res.push(node.children[i].layoutInfo);\n }\n // Add any remaining sticky cells after the visible cells.\n while(stickyIndex < persistedCellIndices.length){\n let idx = persistedCellIndices[stickyIndex++];\n if (idx < node.children.length) res.push(node.children[idx].layoutInfo);\n }\n break;\n }\n default:\n throw new Error('Unknown node type ' + node.layoutInfo.type);\n }\n }\n binarySearch(items, point, axis) {\n let low = 0;\n let high = items.length - 1;\n while(low <= high){\n let mid = low + high >> 1;\n let item = items[mid];\n if (axis === 'x' && item.layoutInfo.rect.maxX <= point.x || axis === 'y' && item.layoutInfo.rect.maxY <= point.y) low = mid + 1;\n else if (axis === 'x' && item.layoutInfo.rect.x > point.x || axis === 'y' && item.layoutInfo.rect.y > point.y) high = mid - 1;\n else return mid;\n }\n return Math.max(0, Math.min(items.length - 1, low));\n }\n buildPersistedIndices() {\n if (this.virtualizer.persistedKeys === this.lastPersistedKeys) return;\n this.lastPersistedKeys = this.virtualizer.persistedKeys;\n this.persistedIndices.clear();\n // Build a map of parentKey => indices of children to persist.\n for (let key of this.virtualizer.persistedKeys){\n let layoutInfo = this.layoutNodes.get(key)?.layoutInfo;\n // Walk up ancestors so parents are also persisted if children are.\n while(layoutInfo && layoutInfo.parentKey){\n let collectionNode = this.virtualizer.collection.getItem(layoutInfo.key);\n let indices = this.persistedIndices.get(layoutInfo.parentKey);\n if (!indices) {\n // stickyColumnIndices are always persisted along with any cells from persistedKeys.\n indices = collectionNode?.type === 'cell' || collectionNode?.type === 'column' ? [\n ...this.stickyColumnIndices\n ] : [];\n this.persistedIndices.set(layoutInfo.parentKey, indices);\n }\n let index = this.layoutNodes.get(layoutInfo.key)?.index;\n if (index != null && !indices.includes(index)) indices.push(index);\n layoutInfo = this.layoutNodes.get(layoutInfo.parentKey)?.layoutInfo;\n }\n }\n for (let indices of this.persistedIndices.values())indices.sort((a, b)=>a - b);\n }\n getDropTargetFromPoint(x, y, isValidDropTarget) {\n x += this.virtualizer.visibleRect.x;\n y += this.virtualizer.visibleRect.y;\n // Find the closest item within on either side of the point using the gap width.\n let searchRect = new (0, $af827553fd3cf456$export$c79fc6492f3af13d)(x, Math.max(0, y - this.gap), 1, Math.max(1, this.gap * 2));\n let candidates = this.getVisibleLayoutInfos(searchRect);\n let key = null;\n let minDistance = Infinity;\n for (let candidate of candidates){\n // Ignore items outside the search rect, e.g. persisted keys.\n if (candidate.type !== 'row' || !candidate.rect.intersects(searchRect)) continue;\n let yDist = Math.abs(candidate.rect.y - y);\n let maxYDist = Math.abs(candidate.rect.maxY - y);\n let dist = Math.min(yDist, maxYDist);\n if (dist < minDistance) {\n minDistance = dist;\n key = candidate.key;\n }\n }\n if (key == null || this.virtualizer.collection.size === 0) return {\n type: 'root'\n };\n let layoutInfo = this.getLayoutInfo(key);\n if (!layoutInfo) return null;\n let rect = layoutInfo.rect;\n let target = {\n type: 'item',\n key: layoutInfo.key,\n dropPosition: 'on'\n };\n // If dropping on the item isn't accepted, try the target before or after depending on the y position.\n // Otherwise, if dropping on the item is accepted, still try the before/after positions if within 10px\n // of the top or bottom of the item.\n if (!isValidDropTarget(target)) {\n if (y <= rect.y + rect.height / 2 && isValidDropTarget({\n ...target,\n dropPosition: 'before'\n })) target.dropPosition = 'before';\n else if (isValidDropTarget({\n ...target,\n dropPosition: 'after'\n })) target.dropPosition = 'after';\n } else if (y <= rect.y + 10 && isValidDropTarget({\n ...target,\n dropPosition: 'before'\n })) target.dropPosition = 'before';\n else if (y >= rect.maxY - 10 && isValidDropTarget({\n ...target,\n dropPosition: 'after'\n })) target.dropPosition = 'after';\n return target;\n }\n getDropTargetLayoutInfo(target) {\n let layoutInfo = super.getDropTargetLayoutInfo(target);\n layoutInfo.parentKey = this.virtualizer.collection.body.key;\n return layoutInfo;\n }\n}\n\n\nexport {$024b19c559603d56$export$62444c3c724b1b20 as TableLayout};\n//# sourceMappingURL=TableLayout.mjs.map\n","/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ function $56195eeda89edca1$export$1994a077b98ee0d5(width) {\n return width != null && (!isNaN(width) || String(width).match(/^(\\d+)(?=%$)/) !== null);\n}\nfunction $56195eeda89edca1$export$9078bad4c3934604(width) {\n if (!width || typeof width === 'number') return 1;\n let match = width.match(/^(.+)(?=fr$)/);\n // if width is the incorrect format, just default it to a 1fr\n if (!match) {\n if (process.env.NODE_ENV !== 'production') console.warn(`width: ${width} is not a supported format, width should be a number (ex. 150), percentage (ex. '50%') or fr unit (ex. '2fr')`, 'defaulting to \\'1fr\\'');\n return 1;\n }\n return parseFloat(match[0]);\n}\nfunction $56195eeda89edca1$export$7bbad27896f7ae9f(width, tableWidth) {\n if (typeof width === 'string') {\n let match = width.match(/^(\\d+)(?=%$)/);\n if (!match) throw new Error('Only percentages or numbers are supported for static column widths');\n return tableWidth * (parseFloat(match[0]) / 100);\n }\n return width;\n}\nfunction $56195eeda89edca1$export$59185c62a7544aa0(maxWidth, tableWidth) {\n return maxWidth != null ? $56195eeda89edca1$export$7bbad27896f7ae9f(maxWidth, tableWidth) : Number.MAX_SAFE_INTEGER;\n}\nfunction $56195eeda89edca1$export$f556054ce4358701(minWidth, tableWidth) {\n return minWidth != null ? $56195eeda89edca1$export$7bbad27896f7ae9f(minWidth, tableWidth) : 0;\n}\nfunction $56195eeda89edca1$export$55d50dc687385491(availableWidth, columns, changedColumns, getDefaultWidth, getDefaultMinWidth) {\n let hasNonFrozenItems = false;\n let flexItems = columns.map((column, index)=>{\n let width = changedColumns.get(column.key) != null ? changedColumns.get(column.key) ?? '1fr' : column.width ?? column.defaultWidth ?? getDefaultWidth?.(index) ?? '1fr';\n let frozen = false;\n let baseSize = 0;\n let flex = 0;\n let targetMainSize = 0;\n if ($56195eeda89edca1$export$1994a077b98ee0d5(width)) {\n baseSize = $56195eeda89edca1$export$7bbad27896f7ae9f(width, availableWidth);\n frozen = true;\n } else {\n flex = $56195eeda89edca1$export$9078bad4c3934604(width);\n if (flex <= 0) frozen = true;\n }\n let min = $56195eeda89edca1$export$f556054ce4358701(column.minWidth ?? getDefaultMinWidth?.(index) ?? 0, availableWidth);\n let max = $56195eeda89edca1$export$59185c62a7544aa0(column.maxWidth, availableWidth);\n let hypotheticalMainSize = Math.max(min, Math.min(baseSize, max));\n // 9.7.1\n // We don't make use of flex basis, it's always 0, so we are always in 'grow' mode.\n // 9.7.2\n if (frozen) targetMainSize = hypotheticalMainSize;\n else if (baseSize > hypotheticalMainSize) {\n frozen = true;\n targetMainSize = hypotheticalMainSize;\n }\n // 9.7.3\n if (!frozen) hasNonFrozenItems = true;\n return {\n frozen: frozen,\n baseSize: baseSize,\n hypotheticalMainSize: hypotheticalMainSize,\n min: min,\n max: max,\n flex: flex,\n targetMainSize: targetMainSize,\n violation: 0\n };\n });\n // 9.7.4\n // 9.7.4.a\n while(hasNonFrozenItems){\n // 9.7.4.b\n /**\n * Calculate the remaining free space as for initial free space,\n * above (9.7.3). If the sum of the unfrozen flex items’ flex factors is\n * less than one, multiply the initial free space by this sum (of flex factors).\n * If the magnitude of this value is less than the magnitude of\n * the remaining free space, use this as the remaining free space.\n */ let usedWidth = 0;\n let flexFactors = 0;\n flexItems.forEach((item)=>{\n if (item.frozen) usedWidth += item.targetMainSize;\n else {\n usedWidth += item.baseSize;\n flexFactors += item.flex;\n }\n });\n let remainingFreeSpace = availableWidth - usedWidth;\n // we only support integer FR's, and because of hasNonFrozenItems, we know that flexFactors > 0\n // so no need to check for flexFactors < 1\n // 9.7.4.c\n /**\n * If the remaining free space is zero\n * - Do nothing.\n * Else // remember, we're always in grow mode\n * - Find the ratio of the item’s flex grow factor to the\n * sum of the flex grow factors of all unfrozen items on\n * the line. Set the item’s target main size to its flex\n * base size plus a fraction of the remaining free space\n * proportional to the ratio.\n */ if (remainingFreeSpace > 0) flexItems.forEach((item)=>{\n if (!item.frozen) {\n let ratio = item.flex / flexFactors;\n item.targetMainSize = item.baseSize + ratio * remainingFreeSpace;\n }\n });\n // 9.7.4.d\n /**\n * Fix min/max violations. Clamp each non-frozen item’s\n * target main size by its used min and max main sizes\n * and floor its content-box size at zero. If the item’s\n * target main size was made smaller by this, it’s a max\n * violation. If the item’s target main size was made\n * larger by this, it’s a min violation.\n */ let totalViolation = 0;\n flexItems.forEach((item)=>{\n item.violation = 0;\n if (!item.frozen) {\n let { min: min, max: max, targetMainSize: targetMainSize } = item;\n item.targetMainSize = Math.max(min, Math.min(targetMainSize, max));\n item.violation = item.targetMainSize - targetMainSize;\n totalViolation += item.violation;\n }\n });\n // 9.7.4.e\n /**\n * Freeze over-flexed items. The total violation is the\n * sum of the adjustments from the previous step\n * ∑(clamped size - unclamped size). If the total violation is:\n * Zero\n * - Freeze all items.\n *\n * Positive\n * - Freeze all the items with min violations.\n *\n * Negative\n * - Freeze all the items with max violations.\n */ hasNonFrozenItems = false;\n flexItems.forEach((item)=>{\n if (totalViolation === 0 || Math.sign(totalViolation) === Math.sign(item.violation)) item.frozen = true;\n else if (!item.frozen) hasNonFrozenItems = true;\n });\n }\n return $56195eeda89edca1$var$cascadeRounding(flexItems);\n}\nfunction $56195eeda89edca1$var$cascadeRounding(flexItems) {\n /*\n Given an array of floats that sum to an integer, this rounds the floats\n and returns an array of integers with the same sum.\n */ let fpTotal = 0;\n let intTotal = 0;\n let roundedArray = [];\n flexItems.forEach(function(item) {\n let float = item.targetMainSize;\n let integer = Math.round(float + fpTotal) - intTotal;\n fpTotal += float;\n intTotal += integer;\n roundedArray.push(integer);\n });\n return roundedArray;\n}\n\n\nexport {$56195eeda89edca1$export$1994a077b98ee0d5 as isStatic, $56195eeda89edca1$export$9078bad4c3934604 as parseFractionalUnit, $56195eeda89edca1$export$7bbad27896f7ae9f as parseStaticWidth, $56195eeda89edca1$export$59185c62a7544aa0 as getMaxWidth, $56195eeda89edca1$export$f556054ce4358701 as getMinWidth, $56195eeda89edca1$export$55d50dc687385491 as calculateColumnSizes};\n//# sourceMappingURL=TableUtils.mjs.map\n","import {calculateColumnSizes as $56195eeda89edca1$export$55d50dc687385491, getMaxWidth as $56195eeda89edca1$export$59185c62a7544aa0, getMinWidth as $56195eeda89edca1$export$f556054ce4358701} from \"./TableUtils.mjs\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nclass $245263de035f5da5$export$7ff77a162970b30e {\n constructor(options){\n this.columnWidths = new Map();\n this.columnMinWidths = new Map();\n this.columnMaxWidths = new Map();\n this.getDefaultWidth = options?.getDefaultWidth ?? (()=>'1fr');\n this.getDefaultMinWidth = options?.getDefaultMinWidth ?? (()=>75);\n }\n /** Takes an array of columns and splits it into 2 maps of columns with controlled and columns with uncontrolled widths. */ splitColumnsIntoControlledAndUncontrolled(columns) {\n return columns.reduce((acc, col)=>{\n if (col.props.width != null) acc[0].set(col.key, col);\n else acc[1].set(col.key, col);\n return acc;\n }, [\n new Map(),\n new Map()\n ]);\n }\n /** Takes uncontrolled and controlled widths and joins them into a single Map. */ recombineColumns(columns, uncontrolledWidths, uncontrolledColumns, controlledColumns) {\n return new Map(columns.map((col)=>{\n if (uncontrolledColumns.has(col.key)) return [\n col.key,\n uncontrolledWidths.get(col.key)\n ];\n else return [\n col.key,\n controlledColumns.get(col.key).props.width\n ];\n }));\n }\n /** Used to make an initial Map of the uncontrolled widths based on default widths. */ getInitialUncontrolledWidths(uncontrolledColumns) {\n return new Map(Array.from(uncontrolledColumns).map(([key, col])=>[\n key,\n col.props.defaultWidth ?? this.getDefaultWidth?.(col) ?? '1fr'\n ]));\n }\n getColumnWidth(key) {\n return this.columnWidths.get(key) ?? 0;\n }\n getColumnMinWidth(key) {\n return this.columnMinWidths.get(key) ?? 0;\n }\n getColumnMaxWidth(key) {\n return this.columnMaxWidths.get(key) ?? 0;\n }\n resizeColumnWidth(collection, uncontrolledWidths, col, width) {\n let prevColumnWidths = this.columnWidths;\n let freeze = true;\n let newWidths = new Map();\n width = Math.max(this.getColumnMinWidth(col), Math.min(this.getColumnMaxWidth(col), Math.floor(width)));\n collection.columns.forEach((column)=>{\n if (column.key === col) {\n newWidths.set(column.key, width);\n freeze = false;\n } else if (freeze) // freeze columns to the left to their previous pixel value\n newWidths.set(column.key, prevColumnWidths.get(column.key) ?? 0);\n else newWidths.set(column.key, column.props.width ?? uncontrolledWidths.get(column.key));\n });\n return newWidths;\n }\n buildColumnWidths(tableWidth, collection, widths) {\n this.columnWidths = new Map();\n this.columnMinWidths = new Map();\n this.columnMaxWidths = new Map();\n // initial layout or table/window resizing\n let columnWidths = (0, $56195eeda89edca1$export$55d50dc687385491)(tableWidth, collection.columns.map((col)=>({\n ...col.props,\n key: col.key\n })), widths, (i)=>this.getDefaultWidth(collection.columns[i]), (i)=>this.getDefaultMinWidth(collection.columns[i]));\n // columns going in will be the same order as the columns coming out\n columnWidths.forEach((width, index)=>{\n let key = collection.columns[index].key;\n let column = collection.columns[index];\n this.columnWidths.set(key, width);\n this.columnMinWidths.set(key, (0, $56195eeda89edca1$export$f556054ce4358701)(column.props.minWidth ?? this.getDefaultMinWidth(column), tableWidth));\n this.columnMaxWidths.set(key, (0, $56195eeda89edca1$export$59185c62a7544aa0)(column.props.maxWidth, tableWidth));\n });\n return this.columnWidths;\n }\n}\n\n\nexport {$245263de035f5da5$export$7ff77a162970b30e as TableColumnLayout};\n//# sourceMappingURL=TableColumnLayout.mjs.map\n"],"names":["Math","n","d","Map","Set","Symbol","Array","r","u","Error","WeakMap","i","g","e","KeyboardEvent","requestAnimationFrame","l","s","console","Boolean","t","$","parseFloat","Number","isNaN","String","m"],"mappings":"0TAEA,OAAM,EACF,MAAM,CAAQ,CAAE,CAAK,CAAE,CAAS,CAAE,CAC9B,IAAI,CAAC,QAAQ,CAAG,EAChB,IAAI,CAAC,KAAK,CAAG,EACb,IAAI,CAAC,SAAS,CAAG,CACrB,CACA,uBAAuB,CAAC,CAAE,CAAC,CAAE,CAAiB,CAAE,CAC5C,IAAI,EAAa,IAAI,CAAC,QAAQ,CAAC,sBAAsB,CAAC,EAAG,EAAG,UAC5D,AAAI,AAAC,GAAc,AAAoB,SAApB,EAAW,IAAI,CAC3B,IAAI,CAAC,iBAAiB,CAAC,EAAY,EAAG,EAAG,GADM,CAE1D,CACA,kBAAkB,CAAM,CAAE,CAAC,CAAE,CAAC,CAAE,CAAiB,CAAE,CAC/C,IAgCI,EAhCA,EAAW,IAAI,CAAC,eAAe,CAE/B,EAAS,EAAI,EAAS,KAAK,CAC3B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