import { jsx as _jsx } from "react/jsx-runtime";
import equals from 'fast-deep-equal';
import { memo } from 'react';
import { PlaygroundWrapper } from './PlaygroundWrapper';
import { QueryBuilderContainer } from '../../components/PlaygroundQueryBuilder/QueryBuilderContainer';
export const QueryBuilder = memo(function QueryBuilder(props) {
    return (_jsx(PlaygroundWrapper, { identifier: props.identifier, token: props.token, apiUrl: props.apiUrl, tokenUpdater: props.tokenUpdater, playgroundContext: props.playgroundContext, onTokenPayloadChange: props.onTokenPayloadChange, children: _jsx(QueryBuilderContainer, { ...props }) }));
}, (prevProps, nextProps) => {
    return equals(prevProps, nextProps);
});
//# sourceMappingURL=QueryBuilder.js.map