Grabbed dndbeyond's source code

```
~/go/bin/sourcemapper -output ddb -jsurl https://media.dndbeyond.com/character-app/static/js/main.90aa78c5.js
```
This commit is contained in:
2025-05-28 11:50:03 -07:00
commit 8df9031d27
3592 changed files with 319051 additions and 0 deletions
@@ -0,0 +1,55 @@
import React from "react";
import { GD_VehicleBlockActionsProps } from "../../../utils/Component";
import VehicleBlockAction from "../VehicleBlockAction";
import VehicleBlockSectionHeader from "../VehicleBlockSectionHeader";
interface Props extends GD_VehicleBlockActionsProps {}
export default class VehicleBlockActions extends React.PureComponent<Props> {
static defaultProps = {
reactions: [],
bonusActions: [],
special: [],
};
render() {
const { reactions, bonusActions, special } = this.props;
if (
reactions.length === 0 &&
bonusActions.length === 0 &&
special.length === 0
) {
return null;
}
return (
<React.Fragment>
{reactions.length > 0 && (
<React.Fragment>
<VehicleBlockSectionHeader label="Reactions" />
{reactions.map((action) => (
<VehicleBlockAction action={action} key={action.key} />
))}
</React.Fragment>
)}
{bonusActions.length > 0 && (
<React.Fragment>
<VehicleBlockSectionHeader label="Bonus Actions" />
{bonusActions.map((action) => (
<VehicleBlockAction action={action} key={action.key} />
))}
</React.Fragment>
)}
{special.length > 0 && (
<React.Fragment>
<VehicleBlockSectionHeader label="Special Actions" />
{special.map((action) => (
<VehicleBlockAction action={action} key={action.key} />
))}
</React.Fragment>
)}
</React.Fragment>
);
}
}
@@ -0,0 +1,4 @@
import VehicleBlockActions from "./VehicleBlockActions";
export default VehicleBlockActions;
export { VehicleBlockActions };