"use strict";
var __webpack_require__ = {};
(()=>{
    __webpack_require__.d = (exports1, definition)=>{
        for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
            enumerable: true,
            get: definition[key]
        });
    };
})();
(()=>{
    __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
})();
(()=>{
    __webpack_require__.r = (exports1)=>{
        if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
            value: 'Module'
        });
        Object.defineProperty(exports1, '__esModule', {
            value: true
        });
    };
})();
var __webpack_exports__ = {};
__webpack_require__.r(__webpack_exports__);
__webpack_require__.d(__webpack_exports__, {
    FIT_VIEW_DELAY_MS: ()=>FIT_VIEW_DELAY_MS,
    CANVAS_READY_DELAY_MS: ()=>CANVAS_READY_DELAY_MS,
    BASE_CANVAS_GRID_SPACING: ()=>BASE_CANVAS_GRID_SPACING,
    EDGE_STYLES: ()=>EDGE_STYLES,
    FLOW_LAYOUT: ()=>FLOW_LAYOUT,
    BASE_CANVAS_DEFAULTS: ()=>BASE_CANVAS_DEFAULTS,
    NODE_DIMENSIONS: ()=>NODE_DIMENSIONS,
    PAN_ON_DRAG: ()=>PAN_ON_DRAG
});
const react_cjs_namespaceObject = require("../../xyflow/react.cjs");
const external_constants_cjs_namespaceObject = require("../../constants.cjs");
const BASE_CANVAS_GRID_SPACING = external_constants_cjs_namespaceObject.GRID_SPACING;
const BASE_CANVAS_DEFAULTS = {
    zoom: {
        min: 0.2,
        max: 3,
        default: 1
    },
    defaultViewport: {
        x: 0,
        y: 0,
        zoom: 1
    },
    fitViewOptions: {
        padding: 0.1,
        duration: 300
    },
    background: {
        gap: BASE_CANVAS_GRID_SPACING,
        size: 2,
        color: 'color-mix(in srgb, var(--canvas-border-de-emp), transparent 50%)',
        bgColor: 'var(--canvas-background-secondary)',
        variant: react_cjs_namespaceObject.BackgroundVariant.Dots
    },
    transitions: {
        opacity: 'opacity 0.2s ease-in-out',
        default: {
            cssValue: 'all 0.3s cubic-bezier(0.4, 0, 0.2, 1)',
            durationMs: 300
        }
    },
    edge: {
        type: 'default'
    },
    pro: {
        hideAttribution: true
    },
    snapToGrid: true,
    snapGrid: [
        BASE_CANVAS_GRID_SPACING,
        BASE_CANVAS_GRID_SPACING
    ],
    maintainNodesInView: {
        padding: 50,
        debounceMs: 50
    },
    organizeAnimationDuration: 500
};
const PAN_ON_DRAG = [
    1
];
const FIT_VIEW_DELAY_MS = 50;
const CANVAS_READY_DELAY_MS = 50;
const EDGE_STYLES = {
    strokeWidth: 1,
    selectedStrokeWidth: 3
};
const NODE_DIMENSIONS = {
    agent: {
        width: 320,
        height: 140
    },
    resource: {
        width: 80,
        height: 80
    },
    flow: {
        width: 150,
        height: 60
    },
    codedAgent: {
        width: 220,
        height: 80
    }
};
const FLOW_LAYOUT = {
    groupSpacing: 120,
    groupDistanceHorizontal: 200,
    groupDistanceVertical: 160
};
exports.BASE_CANVAS_DEFAULTS = __webpack_exports__.BASE_CANVAS_DEFAULTS;
exports.BASE_CANVAS_GRID_SPACING = __webpack_exports__.BASE_CANVAS_GRID_SPACING;
exports.CANVAS_READY_DELAY_MS = __webpack_exports__.CANVAS_READY_DELAY_MS;
exports.EDGE_STYLES = __webpack_exports__.EDGE_STYLES;
exports.FIT_VIEW_DELAY_MS = __webpack_exports__.FIT_VIEW_DELAY_MS;
exports.FLOW_LAYOUT = __webpack_exports__.FLOW_LAYOUT;
exports.NODE_DIMENSIONS = __webpack_exports__.NODE_DIMENSIONS;
exports.PAN_ON_DRAG = __webpack_exports__.PAN_ON_DRAG;
for(var __rspack_i in __webpack_exports__)if (-1 === [
    "BASE_CANVAS_DEFAULTS",
    "BASE_CANVAS_GRID_SPACING",
    "CANVAS_READY_DELAY_MS",
    "EDGE_STYLES",
    "FIT_VIEW_DELAY_MS",
    "FLOW_LAYOUT",
    "NODE_DIMENSIONS",
    "PAN_ON_DRAG"
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
Object.defineProperty(exports, '__esModule', {
    value: true
});
