(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined,
"[project]/components/ui/card.tsx [app-client] (ecmascript)", ((__turbopack_context__) => {
"use strict";

__turbopack_context__.s([
    "Card",
    ()=>Card,
    "CardAction",
    ()=>CardAction,
    "CardContent",
    ()=>CardContent,
    "CardDescription",
    ()=>CardDescription,
    "CardFooter",
    ()=>CardFooter,
    "CardHeader",
    ()=>CardHeader,
    "CardTitle",
    ()=>CardTitle
]);
var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-dev-runtime.js [app-client] (ecmascript)");
var __TURBOPACK__imported__module__$5b$project$5d2f$lib$2f$utils$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/lib/utils.ts [app-client] (ecmascript)");
;
;
function Card({ className, ...props }) {
    return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
        "data-slot": "card",
        className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$lib$2f$utils$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cn"])('bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm', className),
        ...props
    }, void 0, false, {
        fileName: "[project]/components/ui/card.tsx",
        lineNumber: 7,
        columnNumber: 5
    }, this);
}
_c = Card;
function CardHeader({ className, ...props }) {
    return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
        "data-slot": "card-header",
        className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$lib$2f$utils$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cn"])('@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6', className),
        ...props
    }, void 0, false, {
        fileName: "[project]/components/ui/card.tsx",
        lineNumber: 20,
        columnNumber: 5
    }, this);
}
_c1 = CardHeader;
function CardTitle({ className, ...props }) {
    return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
        "data-slot": "card-title",
        className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$lib$2f$utils$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cn"])('leading-none font-semibold', className),
        ...props
    }, void 0, false, {
        fileName: "[project]/components/ui/card.tsx",
        lineNumber: 33,
        columnNumber: 5
    }, this);
}
_c2 = CardTitle;
function CardDescription({ className, ...props }) {
    return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
        "data-slot": "card-description",
        className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$lib$2f$utils$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cn"])('text-muted-foreground text-sm', className),
        ...props
    }, void 0, false, {
        fileName: "[project]/components/ui/card.tsx",
        lineNumber: 43,
        columnNumber: 5
    }, this);
}
_c3 = CardDescription;
function CardAction({ className, ...props }) {
    return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
        "data-slot": "card-action",
        className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$lib$2f$utils$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cn"])('col-start-2 row-span-2 row-start-1 self-start justify-self-end', className),
        ...props
    }, void 0, false, {
        fileName: "[project]/components/ui/card.tsx",
        lineNumber: 53,
        columnNumber: 5
    }, this);
}
_c4 = CardAction;
function CardContent({ className, ...props }) {
    return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
        "data-slot": "card-content",
        className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$lib$2f$utils$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cn"])('px-6', className),
        ...props
    }, void 0, false, {
        fileName: "[project]/components/ui/card.tsx",
        lineNumber: 66,
        columnNumber: 5
    }, this);
}
_c5 = CardContent;
function CardFooter({ className, ...props }) {
    return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
        "data-slot": "card-footer",
        className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$lib$2f$utils$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cn"])('flex items-center px-6 [.border-t]:pt-6', className),
        ...props
    }, void 0, false, {
        fileName: "[project]/components/ui/card.tsx",
        lineNumber: 76,
        columnNumber: 5
    }, this);
}
_c6 = CardFooter;
;
var _c, _c1, _c2, _c3, _c4, _c5, _c6;
__turbopack_context__.k.register(_c, "Card");
__turbopack_context__.k.register(_c1, "CardHeader");
__turbopack_context__.k.register(_c2, "CardTitle");
__turbopack_context__.k.register(_c3, "CardDescription");
__turbopack_context__.k.register(_c4, "CardAction");
__turbopack_context__.k.register(_c5, "CardContent");
__turbopack_context__.k.register(_c6, "CardFooter");
if (typeof globalThis.$RefreshHelpers$ === 'object' && globalThis.$RefreshHelpers !== null) {
    __turbopack_context__.k.registerExports(__turbopack_context__.m, globalThis.$RefreshHelpers$);
}
}),
"[project]/components/ui/dialog.tsx [app-client] (ecmascript)", ((__turbopack_context__) => {
"use strict";

__turbopack_context__.s([
    "Dialog",
    ()=>Dialog,
    "DialogClose",
    ()=>DialogClose,
    "DialogContent",
    ()=>DialogContent,
    "DialogDescription",
    ()=>DialogDescription,
    "DialogFooter",
    ()=>DialogFooter,
    "DialogHeader",
    ()=>DialogHeader,
    "DialogOverlay",
    ()=>DialogOverlay,
    "DialogPortal",
    ()=>DialogPortal,
    "DialogTitle",
    ()=>DialogTitle,
    "DialogTrigger",
    ()=>DialogTrigger
]);
var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-dev-runtime.js [app-client] (ecmascript)");
var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$dialog$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-dialog/dist/index.mjs [app-client] (ecmascript)");
var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$x$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__XIcon$3e$__ = __turbopack_context__.i("[project]/node_modules/lucide-react/dist/esm/icons/x.mjs [app-client] (ecmascript) <export default as XIcon>");
var __TURBOPACK__imported__module__$5b$project$5d2f$lib$2f$utils$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/lib/utils.ts [app-client] (ecmascript)");
'use client';
;
;
;
;
function Dialog({ ...props }) {
    return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$dialog$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Root"], {
        "data-slot": "dialog",
        ...props
    }, void 0, false, {
        fileName: "[project]/components/ui/dialog.tsx",
        lineNumber: 12,
        columnNumber: 10
    }, this);
}
_c = Dialog;
function DialogTrigger({ ...props }) {
    return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$dialog$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Trigger"], {
        "data-slot": "dialog-trigger",
        ...props
    }, void 0, false, {
        fileName: "[project]/components/ui/dialog.tsx",
        lineNumber: 18,
        columnNumber: 10
    }, this);
}
_c1 = DialogTrigger;
function DialogPortal({ ...props }) {
    return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$dialog$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Portal"], {
        "data-slot": "dialog-portal",
        ...props
    }, void 0, false, {
        fileName: "[project]/components/ui/dialog.tsx",
        lineNumber: 24,
        columnNumber: 10
    }, this);
}
_c2 = DialogPortal;
function DialogClose({ ...props }) {
    return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$dialog$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Close"], {
        "data-slot": "dialog-close",
        ...props
    }, void 0, false, {
        fileName: "[project]/components/ui/dialog.tsx",
        lineNumber: 30,
        columnNumber: 10
    }, this);
}
_c3 = DialogClose;
function DialogOverlay({ className, ...props }) {
    return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$dialog$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Overlay"], {
        "data-slot": "dialog-overlay",
        className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$lib$2f$utils$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cn"])('data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50', className),
        ...props
    }, void 0, false, {
        fileName: "[project]/components/ui/dialog.tsx",
        lineNumber: 38,
        columnNumber: 5
    }, this);
}
_c4 = DialogOverlay;
function DialogContent({ className, children, showCloseButton = true, ...props }) {
    return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(DialogPortal, {
        "data-slot": "dialog-portal",
        children: [
            /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(DialogOverlay, {}, void 0, false, {
                fileName: "[project]/components/ui/dialog.tsx",
                lineNumber: 59,
                columnNumber: 7
            }, this),
            /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$dialog$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Content"], {
                "data-slot": "dialog-content",
                className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$lib$2f$utils$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cn"])('bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg', className),
                ...props,
                children: [
                    children,
                    showCloseButton && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$dialog$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Close"], {
                        "data-slot": "dialog-close",
                        className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
                        children: [
                            /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$x$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__XIcon$3e$__["XIcon"], {}, void 0, false, {
                                fileName: "[project]/components/ui/dialog.tsx",
                                lineNumber: 74,
                                columnNumber: 13
                            }, this),
                            /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", {
                                className: "sr-only",
                                children: "Close"
                            }, void 0, false, {
                                fileName: "[project]/components/ui/dialog.tsx",
                                lineNumber: 75,
                                columnNumber: 13
                            }, this)
                        ]
                    }, void 0, true, {
                        fileName: "[project]/components/ui/dialog.tsx",
                        lineNumber: 70,
                        columnNumber: 11
                    }, this)
                ]
            }, void 0, true, {
                fileName: "[project]/components/ui/dialog.tsx",
                lineNumber: 60,
                columnNumber: 7
            }, this)
        ]
    }, void 0, true, {
        fileName: "[project]/components/ui/dialog.tsx",
        lineNumber: 58,
        columnNumber: 5
    }, this);
}
_c5 = DialogContent;
function DialogHeader({ className, ...props }) {
    return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
        "data-slot": "dialog-header",
        className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$lib$2f$utils$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cn"])('flex flex-col gap-2 text-center sm:text-left', className),
        ...props
    }, void 0, false, {
        fileName: "[project]/components/ui/dialog.tsx",
        lineNumber: 85,
        columnNumber: 5
    }, this);
}
_c6 = DialogHeader;
function DialogFooter({ className, ...props }) {
    return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
        "data-slot": "dialog-footer",
        className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$lib$2f$utils$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cn"])('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', className),
        ...props
    }, void 0, false, {
        fileName: "[project]/components/ui/dialog.tsx",
        lineNumber: 95,
        columnNumber: 5
    }, this);
}
_c7 = DialogFooter;
function DialogTitle({ className, ...props }) {
    return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$dialog$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Title"], {
        "data-slot": "dialog-title",
        className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$lib$2f$utils$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cn"])('text-lg leading-none font-semibold', className),
        ...props
    }, void 0, false, {
        fileName: "[project]/components/ui/dialog.tsx",
        lineNumber: 111,
        columnNumber: 5
    }, this);
}
_c8 = DialogTitle;
function DialogDescription({ className, ...props }) {
    return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$dialog$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Description"], {
        "data-slot": "dialog-description",
        className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$lib$2f$utils$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cn"])('text-muted-foreground text-sm', className),
        ...props
    }, void 0, false, {
        fileName: "[project]/components/ui/dialog.tsx",
        lineNumber: 124,
        columnNumber: 5
    }, this);
}
_c9 = DialogDescription;
;
var _c, _c1, _c2, _c3, _c4, _c5, _c6, _c7, _c8, _c9;
__turbopack_context__.k.register(_c, "Dialog");
__turbopack_context__.k.register(_c1, "DialogTrigger");
__turbopack_context__.k.register(_c2, "DialogPortal");
__turbopack_context__.k.register(_c3, "DialogClose");
__turbopack_context__.k.register(_c4, "DialogOverlay");
__turbopack_context__.k.register(_c5, "DialogContent");
__turbopack_context__.k.register(_c6, "DialogHeader");
__turbopack_context__.k.register(_c7, "DialogFooter");
__turbopack_context__.k.register(_c8, "DialogTitle");
__turbopack_context__.k.register(_c9, "DialogDescription");
if (typeof globalThis.$RefreshHelpers$ === 'object' && globalThis.$RefreshHelpers !== null) {
    __turbopack_context__.k.registerExports(__turbopack_context__.m, globalThis.$RefreshHelpers$);
}
}),
"[project]/components/ui/label.tsx [app-client] (ecmascript)", ((__turbopack_context__) => {
"use strict";

__turbopack_context__.s([
    "Label",
    ()=>Label
]);
var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-dev-runtime.js [app-client] (ecmascript)");
var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$label$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-label/dist/index.mjs [app-client] (ecmascript)");
var __TURBOPACK__imported__module__$5b$project$5d2f$lib$2f$utils$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/lib/utils.ts [app-client] (ecmascript)");
'use client';
;
;
;
function Label({ className, ...props }) {
    return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$label$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Root"], {
        "data-slot": "label",
        className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$lib$2f$utils$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cn"])('flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50', className),
        ...props
    }, void 0, false, {
        fileName: "[project]/components/ui/label.tsx",
        lineNumber: 13,
        columnNumber: 5
    }, this);
}
_c = Label;
;
var _c;
__turbopack_context__.k.register(_c, "Label");
if (typeof globalThis.$RefreshHelpers$ === 'object' && globalThis.$RefreshHelpers !== null) {
    __turbopack_context__.k.registerExports(__turbopack_context__.m, globalThis.$RefreshHelpers$);
}
}),
"[project]/components/ui/badge.tsx [app-client] (ecmascript)", ((__turbopack_context__) => {
"use strict";

__turbopack_context__.s([
    "Badge",
    ()=>Badge,
    "badgeVariants",
    ()=>badgeVariants
]);
var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-dev-runtime.js [app-client] (ecmascript)");
var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$slot$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-slot/dist/index.mjs [app-client] (ecmascript)");
var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$class$2d$variance$2d$authority$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/class-variance-authority/dist/index.mjs [app-client] (ecmascript)");
var __TURBOPACK__imported__module__$5b$project$5d2f$lib$2f$utils$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/lib/utils.ts [app-client] (ecmascript)");
;
;
;
;
const badgeVariants = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$class$2d$variance$2d$authority$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cva"])('inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden', {
    variants: {
        variant: {
            default: 'border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90',
            secondary: 'border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90',
            destructive: 'border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60',
            outline: 'text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground'
        }
    },
    defaultVariants: {
        variant: 'default'
    }
});
function Badge({ className, variant, asChild = false, ...props }) {
    const Comp = asChild ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$slot$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Slot"] : 'span';
    return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(Comp, {
        "data-slot": "badge",
        className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$lib$2f$utils$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cn"])(badgeVariants({
            variant
        }), className),
        ...props
    }, void 0, false, {
        fileName: "[project]/components/ui/badge.tsx",
        lineNumber: 38,
        columnNumber: 5
    }, this);
}
_c = Badge;
;
var _c;
__turbopack_context__.k.register(_c, "Badge");
if (typeof globalThis.$RefreshHelpers$ === 'object' && globalThis.$RefreshHelpers !== null) {
    __turbopack_context__.k.registerExports(__turbopack_context__.m, globalThis.$RefreshHelpers$);
}
}),
"[project]/components/route/category-list.tsx [app-client] (ecmascript)", ((__turbopack_context__) => {
"use strict";

__turbopack_context__.s([
    "CategoryList",
    ()=>CategoryList
]);
var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-dev-runtime.js [app-client] (ecmascript)");
var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)");
var __TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$card$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/components/ui/card.tsx [app-client] (ecmascript)");
var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$icons$2f$IconTrendingUp$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__IconTrendingUp$3e$__ = __turbopack_context__.i("[project]/node_modules/@tabler/icons-react/dist/esm/icons/IconTrendingUp.mjs [app-client] (ecmascript) <export default as IconTrendingUp>");
var __TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$badge$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/components/ui/badge.tsx [app-client] (ecmascript)");
;
var _s = __turbopack_context__.k.signature();
;
;
;
;
function CategoryList() {
    _s();
    const [errors, setErrors] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])({});
    const availableCategory = [
        {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "name": "Regular Bus"
        },
        {
            "id": "550e8400-e29b-41d4-a716-446655440001",
            "name": "Luxury Bus"
        }
    ];
    return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
        children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$card$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Card"], {
            className: "gap-4 h-[100%]",
            children: [
                /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$card$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["CardHeader"], {
                    className: "",
                    children: [
                        /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$card$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["CardTitle"], {
                            className: "text-lg",
                            children: "Bus Catogory"
                        }, void 0, false, {
                            fileName: "[project]/components/route/category-list.tsx",
                            lineNumber: 28,
                            columnNumber: 21
                        }, this),
                        /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$card$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["CardDescription"], {
                            children: "Please select one of the following categories to display the fare table."
                        }, void 0, false, {
                            fileName: "[project]/components/route/category-list.tsx",
                            lineNumber: 31,
                            columnNumber: 21
                        }, this)
                    ]
                }, void 0, true, {
                    fileName: "[project]/components/route/category-list.tsx",
                    lineNumber: 27,
                    columnNumber: 17
                }, this),
                /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$card$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["CardContent"], {
                    className: "h-full",
                    children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                        className: "* grid grid-cols-4 gap-4 px-4 ",
                        children: availableCategory.map((key)=>/*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$card$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Card"], {
                                className: "@container/card relative mb-3 rounded-2xl bg-gradient-to-r from-[#0F90EE] to-[#276CCC] px-6 py-4 text-white flex flex-col justify-center gap-4",
                                children: [
                                    /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$card$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["CardHeader"], {
                                        children: [
                                            /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$card$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["CardDescription"], {
                                                children: "Total Revenue"
                                            }, void 0, false, {
                                                fileName: "[project]/components/route/category-list.tsx",
                                                lineNumber: 44,
                                                columnNumber: 37
                                            }, this),
                                            /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$card$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["CardTitle"], {
                                                className: "text-2xl font-semibold tabular-nums @[250px]/card:text-3xl",
                                                children: "Rs.1,250.00"
                                            }, void 0, false, {
                                                fileName: "[project]/components/route/category-list.tsx",
                                                lineNumber: 45,
                                                columnNumber: 37
                                            }, this),
                                            /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$card$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["CardAction"], {
                                                children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$badge$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Badge"], {
                                                    variant: "outline",
                                                    children: [
                                                        /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$icons$2f$IconTrendingUp$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__IconTrendingUp$3e$__["IconTrendingUp"], {}, void 0, false, {
                                                            fileName: "[project]/components/route/category-list.tsx",
                                                            lineNumber: 50,
                                                            columnNumber: 45
                                                        }, this),
                                                        "+12.5%"
                                                    ]
                                                }, void 0, true, {
                                                    fileName: "[project]/components/route/category-list.tsx",
                                                    lineNumber: 49,
                                                    columnNumber: 41
                                                }, this)
                                            }, void 0, false, {
                                                fileName: "[project]/components/route/category-list.tsx",
                                                lineNumber: 48,
                                                columnNumber: 37
                                            }, this)
                                        ]
                                    }, void 0, true, {
                                        fileName: "[project]/components/route/category-list.tsx",
                                        lineNumber: 43,
                                        columnNumber: 33
                                    }, this),
                                    /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$card$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["CardFooter"], {
                                        className: "flex-col items-start gap-1.5 text-sm",
                                        children: [
                                            /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                                className: "line-clamp-1 flex gap-2 font-medium",
                                                children: [
                                                    "Trending up this month ",
                                                    /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$icons$2f$IconTrendingUp$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__IconTrendingUp$3e$__["IconTrendingUp"], {
                                                        className: "size-4"
                                                    }, void 0, false, {
                                                        fileName: "[project]/components/route/category-list.tsx",
                                                        lineNumber: 57,
                                                        columnNumber: 64
                                                    }, this)
                                                ]
                                            }, void 0, true, {
                                                fileName: "[project]/components/route/category-list.tsx",
                                                lineNumber: 56,
                                                columnNumber: 37
                                            }, this),
                                            /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                                className: "text-muted-foreground",
                                                children: "Visitors for the last 6 months"
                                            }, void 0, false, {
                                                fileName: "[project]/components/route/category-list.tsx",
                                                lineNumber: 59,
                                                columnNumber: 37
                                            }, this)
                                        ]
                                    }, void 0, true, {
                                        fileName: "[project]/components/route/category-list.tsx",
                                        lineNumber: 55,
                                        columnNumber: 33
                                    }, this)
                                ]
                            }, key.id, true, {
                                fileName: "[project]/components/route/category-list.tsx",
                                lineNumber: 42,
                                columnNumber: 29
                            }, this))
                    }, void 0, false, {
                        fileName: "[project]/components/route/category-list.tsx",
                        lineNumber: 39,
                        columnNumber: 21
                    }, this)
                }, void 0, false, {
                    fileName: "[project]/components/route/category-list.tsx",
                    lineNumber: 37,
                    columnNumber: 17
                }, this)
            ]
        }, void 0, true, {
            fileName: "[project]/components/route/category-list.tsx",
            lineNumber: 26,
            columnNumber: 13
        }, this)
    }, void 0, false, {
        fileName: "[project]/components/route/category-list.tsx",
        lineNumber: 25,
        columnNumber: 9
    }, this);
}
_s(CategoryList, "o+SUXTQUSJNurFcpxixiLrA9BM0=");
_c = CategoryList;
var _c;
__turbopack_context__.k.register(_c, "CategoryList");
if (typeof globalThis.$RefreshHelpers$ === 'object' && globalThis.$RefreshHelpers !== null) {
    __turbopack_context__.k.registerExports(__turbopack_context__.m, globalThis.$RefreshHelpers$);
}
}),
"[project]/components/route/route-card.tsx [app-client] (ecmascript)", ((__turbopack_context__) => {
"use strict";

__turbopack_context__.s([
    "RouteCard",
    ()=>RouteCard
]);
var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-dev-runtime.js [app-client] (ecmascript)");
var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)");
var __TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$input$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/components/ui/input.tsx [app-client] (ecmascript)");
var __TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$label$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/components/ui/label.tsx [app-client] (ecmascript)");
var __TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$button$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/components/ui/button.tsx [app-client] (ecmascript)");
var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$plus$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Plus$3e$__ = __turbopack_context__.i("[project]/node_modules/lucide-react/dist/esm/icons/plus.mjs [app-client] (ecmascript) <export default as Plus>");
var __TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$card$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/components/ui/card.tsx [app-client] (ecmascript)");
;
var _s = __turbopack_context__.k.signature();
;
;
;
;
;
;
function RouteCard({ initialData, routeDataSet, onSubmit, directionCreate }) {
    _s();
    const [errors, setErrors] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])({});
    const [createMode, setCreateMode] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])({
        type: ""
    });
    const [formData, setFormData] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])({
        start_location: '',
        end_location: '',
        total_distance: 0,
        estimated_duration: 0,
        route_id: null,
        id: null
    });
    const validate = ()=>{
        const newErrors = {};
        Object.keys(formData).forEach((key)=>{
            if (formData[key] === '' || formData[key] === 0 || formData[key] === undefined) {
                newErrors[key] = 'This field is required';
            }
        });
        setErrors(newErrors);
        return Object.keys(newErrors).length === 0;
    };
    const handleChange = (field, value)=>{
        setFormData((prev)=>({
                ...prev,
                [field]: value
            }));
    };
    const handleApply = (type)=>{
        setCreateMode({
            type: type
        });
    };
    const handleClose = (type)=>{
        setCreateMode({
            type: type
        });
    };
    const handleSubmit = ()=>{
        console.log(formData);
        if (!validate()) return;
        console.log(routeDataSet.id);
        const fullformData = {
            start_location: formData.start_location,
            end_location: formData.end_location,
            total_distance: formData.total_distance,
            estimated_duration: formData.estimated_duration,
            route_id: routeDataSet.id,
            id: null
        };
        if (onSubmit(fullformData)) {
            handleApply("close");
            setFormData({
                start_location: '',
                end_location: '',
                total_distance: 0,
                estimated_duration: 0,
                route_id: null,
                id: null
            });
        } else {}
        ;
    };
    return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
        className: "relative mb-3 rounded-2xl bg-gradient-to-r from-[#0F90EE] to-[#276CCC] px-6 py-4 text-white flex flex-col justify-center gap-4",
        children: [
            /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                className: "flex items-center justify-between  ",
                children: [
                    /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                        children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                            className: "flex-0 items-center justify-between  ",
                            children: [
                                /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("h1", {
                                    className: "text-xl font-bold mb-2",
                                    children: routeDataSet.name
                                }, void 0, false, {
                                    fileName: "[project]/components/route/route-card.tsx",
                                    lineNumber: 95,
                                    columnNumber: 13
                                }, this),
                                /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                    className: "flex items-center gap-4 text-sm",
                                    children: [
                                        /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", {
                                            className: "bg-white/20 px-3 py-1 rounded",
                                            children: [
                                                "Route Code:",
                                                routeDataSet.code
                                            ]
                                        }, void 0, true, {
                                            fileName: "[project]/components/route/route-card.tsx",
                                            lineNumber: 97,
                                            columnNumber: 15
                                        }, this),
                                        /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", {
                                            className: "bg-green-500 px-3 py-1 rounded text-xs",
                                            children: routeDataSet.status
                                        }, void 0, false, {
                                            fileName: "[project]/components/route/route-card.tsx",
                                            lineNumber: 98,
                                            columnNumber: 15
                                        }, this)
                                    ]
                                }, void 0, true, {
                                    fileName: "[project]/components/route/route-card.tsx",
                                    lineNumber: 96,
                                    columnNumber: 13
                                }, this)
                            ]
                        }, void 0, true, {
                            fileName: "[project]/components/route/route-card.tsx",
                            lineNumber: 94,
                            columnNumber: 11
                        }, this)
                    }, void 0, false, {
                        fileName: "[project]/components/route/route-card.tsx",
                        lineNumber: 93,
                        columnNumber: 9
                    }, this),
                    /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                        className: "flex gap-1",
                        children: directionCreate ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$button$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Button"], {
                            onClick: ()=>handleApply("direction"),
                            className: "bg-blue-400 hover:bg-blue-600 text-white h-11 rounded-12 px-6",
                            children: [
                                /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$plus$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Plus$3e$__["Plus"], {
                                    className: "w-4 h-4"
                                }, void 0, false, {
                                    fileName: "[project]/components/route/route-card.tsx",
                                    lineNumber: 108,
                                    columnNumber: 13
                                }, this),
                                "Create Directions"
                            ]
                        }, void 0, true, {
                            fileName: "[project]/components/route/route-card.tsx",
                            lineNumber: 103,
                            columnNumber: 30
                        }, this) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Fragment"], {
                            children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                className: "flex-2 items-center justify-between  ",
                                children: [
                                    /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("h1", {
                                        className: "text-xl font-bold mb-2",
                                        children: "2025-11-11"
                                    }, void 0, false, {
                                        fileName: "[project]/components/route/route-card.tsx",
                                        lineNumber: 111,
                                        columnNumber: 13
                                    }, this),
                                    /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                        className: "flex items-center gap-4 text-sm",
                                        children: "Monday"
                                    }, void 0, false, {
                                        fileName: "[project]/components/route/route-card.tsx",
                                        lineNumber: 112,
                                        columnNumber: 13
                                    }, this)
                                ]
                            }, void 0, true, {
                                fileName: "[project]/components/route/route-card.tsx",
                                lineNumber: 110,
                                columnNumber: 25
                            }, this)
                        }, void 0, false)
                    }, void 0, false, {
                        fileName: "[project]/components/route/route-card.tsx",
                        lineNumber: 102,
                        columnNumber: 9
                    }, this)
                ]
            }, void 0, true, {
                fileName: "[project]/components/route/route-card.tsx",
                lineNumber: 92,
                columnNumber: 7
            }, this),
            createMode.type === 'direction' ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                className: "p-0 rounded-lg mb-4",
                children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$card$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Card"], {
                    children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$card$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["CardContent"], {
                        children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                            className: "space-y-6",
                            children: [
                                /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                    className: "grid grid-cols-1 md:grid-cols-2 gap-6",
                                    children: [
                                        /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                            className: "space-y-2",
                                            children: [
                                                /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$label$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Label"], {
                                                    className: "block text-gray-700 font-medium mb-2",
                                                    children: "Start location*"
                                                }, void 0, false, {
                                                    fileName: "[project]/components/route/route-card.tsx",
                                                    lineNumber: 129,
                                                    columnNumber: 21
                                                }, this),
                                                /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$input$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Input"], {
                                                    className: "w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent",
                                                    placeholder: "Start location",
                                                    required: true,
                                                    value: formData.start_location,
                                                    onChange: (e)=>handleChange('start_location', e.target.value)
                                                }, void 0, false, {
                                                    fileName: "[project]/components/route/route-card.tsx",
                                                    lineNumber: 130,
                                                    columnNumber: 21
                                                }, this),
                                                errors.start_location && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("p", {
                                                    className: "text-red-500 text-sm",
                                                    children: errors.start_location
                                                }, void 0, false, {
                                                    fileName: "[project]/components/route/route-card.tsx",
                                                    lineNumber: 137,
                                                    columnNumber: 23
                                                }, this)
                                            ]
                                        }, void 0, true, {
                                            fileName: "[project]/components/route/route-card.tsx",
                                            lineNumber: 128,
                                            columnNumber: 19
                                        }, this),
                                        /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                            className: "space-y-2",
                                            children: [
                                                /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$label$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Label"], {
                                                    className: "block text-gray-700 font-medium mb-2",
                                                    children: "End Location *"
                                                }, void 0, false, {
                                                    fileName: "[project]/components/route/route-card.tsx",
                                                    lineNumber: 142,
                                                    columnNumber: 21
                                                }, this),
                                                /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$input$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Input"], {
                                                    className: "w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent",
                                                    value: formData.end_location,
                                                    placeholder: "End location",
                                                    required: true,
                                                    onChange: (e)=>handleChange('end_location', e.target.value)
                                                }, void 0, false, {
                                                    fileName: "[project]/components/route/route-card.tsx",
                                                    lineNumber: 143,
                                                    columnNumber: 21
                                                }, this),
                                                errors.end_location && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("p", {
                                                    className: "text-red-500 text-sm",
                                                    children: errors.end_location
                                                }, void 0, false, {
                                                    fileName: "[project]/components/route/route-card.tsx",
                                                    lineNumber: 151,
                                                    columnNumber: 23
                                                }, this)
                                            ]
                                        }, void 0, true, {
                                            fileName: "[project]/components/route/route-card.tsx",
                                            lineNumber: 141,
                                            columnNumber: 19
                                        }, this),
                                        /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                            className: "space-y-2",
                                            children: [
                                                /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$label$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Label"], {
                                                    className: "block text-gray-700 font-medium mb-2",
                                                    children: "Total Distance *"
                                                }, void 0, false, {
                                                    fileName: "[project]/components/route/route-card.tsx",
                                                    lineNumber: 156,
                                                    columnNumber: 21
                                                }, this),
                                                /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$input$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Input"], {
                                                    type: "number",
                                                    className: "w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent",
                                                    value: formData.total_distance,
                                                    placeholder: "Total Distance",
                                                    required: true,
                                                    onChange: (e)=>handleChange('total_distance', Number(e.target.value))
                                                }, void 0, false, {
                                                    fileName: "[project]/components/route/route-card.tsx",
                                                    lineNumber: 157,
                                                    columnNumber: 21
                                                }, this),
                                                errors.total_distance && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("p", {
                                                    className: "text-red-500 text-sm",
                                                    children: errors.total_distance
                                                }, void 0, false, {
                                                    fileName: "[project]/components/route/route-card.tsx",
                                                    lineNumber: 166,
                                                    columnNumber: 23
                                                }, this)
                                            ]
                                        }, void 0, true, {
                                            fileName: "[project]/components/route/route-card.tsx",
                                            lineNumber: 155,
                                            columnNumber: 19
                                        }, this),
                                        /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                            className: "space-y-2",
                                            children: [
                                                /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$label$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Label"], {
                                                    className: "block text-gray-700 font-medium mb-2",
                                                    children: "Estimated Duration(min) *"
                                                }, void 0, false, {
                                                    fileName: "[project]/components/route/route-card.tsx",
                                                    lineNumber: 171,
                                                    columnNumber: 21
                                                }, this),
                                                /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$input$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Input"], {
                                                    type: "number",
                                                    className: "w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent",
                                                    value: formData.estimated_duration,
                                                    placeholder: "Estimated Duration",
                                                    required: true,
                                                    onChange: (e)=>handleChange('estimated_duration', Number(e.target.value))
                                                }, void 0, false, {
                                                    fileName: "[project]/components/route/route-card.tsx",
                                                    lineNumber: 172,
                                                    columnNumber: 21
                                                }, this),
                                                errors.estimated_duration && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("p", {
                                                    className: "text-red-500 text-sm",
                                                    children: errors.estimated_duration
                                                }, void 0, false, {
                                                    fileName: "[project]/components/route/route-card.tsx",
                                                    lineNumber: 181,
                                                    columnNumber: 23
                                                }, this)
                                            ]
                                        }, void 0, true, {
                                            fileName: "[project]/components/route/route-card.tsx",
                                            lineNumber: 170,
                                            columnNumber: 19
                                        }, this)
                                    ]
                                }, void 0, true, {
                                    fileName: "[project]/components/route/route-card.tsx",
                                    lineNumber: 125,
                                    columnNumber: 17
                                }, this),
                                /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                    className: "flex justify-start gap-3 pt-4",
                                    children: [
                                        /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$button$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Button"], {
                                            className: "bg-blue-400 hover:bg-blue-600 text-white h-11 rounded-12 px-6",
                                            onClick: handleSubmit,
                                            children: initialData ? 'Update' : 'Save'
                                        }, void 0, false, {
                                            fileName: "[project]/components/route/route-card.tsx",
                                            lineNumber: 191,
                                            columnNumber: 19
                                        }, this),
                                        /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$button$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Button"], {
                                            className: " h-11 rounded-12 px-6",
                                            variant: "outline",
                                            onClick: ()=>handleClose("close"),
                                            children: "Cancel"
                                        }, void 0, false, {
                                            fileName: "[project]/components/route/route-card.tsx",
                                            lineNumber: 197,
                                            columnNumber: 19
                                        }, this)
                                    ]
                                }, void 0, true, {
                                    fileName: "[project]/components/route/route-card.tsx",
                                    lineNumber: 190,
                                    columnNumber: 17
                                }, this)
                            ]
                        }, void 0, true, {
                            fileName: "[project]/components/route/route-card.tsx",
                            lineNumber: 124,
                            columnNumber: 15
                        }, this)
                    }, void 0, false, {
                        fileName: "[project]/components/route/route-card.tsx",
                        lineNumber: 123,
                        columnNumber: 13
                    }, this)
                }, void 0, false, {
                    fileName: "[project]/components/route/route-card.tsx",
                    lineNumber: 122,
                    columnNumber: 11
                }, this)
            }, void 0, false, {
                fileName: "[project]/components/route/route-card.tsx",
                lineNumber: 121,
                columnNumber: 9
            }, this) : null
        ]
    }, void 0, true, {
        fileName: "[project]/components/route/route-card.tsx",
        lineNumber: 88,
        columnNumber: 5
    }, this);
}
_s(RouteCard, "68+6ICnR3BAL1GXoBC2iXHTP5yo=");
_c = RouteCard;
var _c;
__turbopack_context__.k.register(_c, "RouteCard");
if (typeof globalThis.$RefreshHelpers$ === 'object' && globalThis.$RefreshHelpers !== null) {
    __turbopack_context__.k.registerExports(__turbopack_context__.m, globalThis.$RefreshHelpers$);
}
}),
"[project]/app/(dashboard)/route/fare-table/page.tsx [app-client] (ecmascript)", ((__turbopack_context__) => {
"use strict";

__turbopack_context__.s([
    "default",
    ()=>FareMatrixUI
]);
var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-dev-runtime.js [app-client] (ecmascript)");
var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)");
var __TURBOPACK__imported__module__$5b$project$5d2f$context$2f$navbar$2d$context$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/context/navbar-context.tsx [app-client] (ecmascript)");
var __TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$card$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/components/ui/card.tsx [app-client] (ecmascript)");
var __TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$button$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/components/ui/button.tsx [app-client] (ecmascript)");
var __TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$input$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/components/ui/input.tsx [app-client] (ecmascript)");
var __TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$dialog$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/components/ui/dialog.tsx [app-client] (ecmascript)");
var __TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$label$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/components/ui/label.tsx [app-client] (ecmascript)");
var __TURBOPACK__imported__module__$5b$project$5d2f$components$2f$route$2f$category$2d$list$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/components/route/category-list.tsx [app-client] (ecmascript)");
var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$pencil$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Pencil$3e$__ = __turbopack_context__.i("[project]/node_modules/lucide-react/dist/esm/icons/pencil.mjs [app-client] (ecmascript) <export default as Pencil>");
var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$save$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Save$3e$__ = __turbopack_context__.i("[project]/node_modules/lucide-react/dist/esm/icons/save.mjs [app-client] (ecmascript) <export default as Save>");
var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$arrow$2d$left$2d$right$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__ArrowLeftRight$3e$__ = __turbopack_context__.i("[project]/node_modules/lucide-react/dist/esm/icons/arrow-left-right.mjs [app-client] (ecmascript) <export default as ArrowLeftRight>");
var __TURBOPACK__imported__module__$5b$project$5d2f$components$2f$route$2f$route$2d$card$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/components/route/route-card.tsx [app-client] (ecmascript)");
;
var _s = __turbopack_context__.k.signature();
'use client';
;
;
;
;
;
;
;
;
;
;
const initialFares = [
    {
        "id": "fare-fwd-001",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "5cd6613e-d8c3-4a24-ab40-02cb30bd0101",
        "from_stop_name_si": "කොළඹ කොටුව",
        "from_stop_name_en": "Colombo Fort",
        "from_stop_name_tm": "கொழும்பு கோட்டை",
        "from_sequence": 1,
        "to_stop_id": "92be4983-8f5f-4759-9471-7d2be4bbb9ff",
        "to_stop_name_si": "බම්බලපිටිය",
        "to_stop_name_en": "Bambalapitiya",
        "to_stop_name_tm": "பம்பலப்பிட்டி",
        "to_sequence": 2,
        "full_amount_lkr": 45,
        "half_amount_lkr": 23,
        "distance_km": 6.2
    },
    {
        "id": "fare-fwd-002",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "5cd6613e-d8c3-4a24-ab40-02cb30bd0101",
        "from_stop_name_si": "කොළඹ කොටුව",
        "from_stop_name_en": "Colombo Fort",
        "from_stop_name_tm": "கொழும்பு கோட்டை",
        "from_sequence": 1,
        "to_stop_id": "364ed844-23c1-4771-bc8a-a07e57b9fd0e",
        "to_stop_name_si": "වැල්ලවත්ත",
        "to_stop_name_en": "Wellawatte",
        "to_stop_name_tm": "வெல்லவத்தை",
        "to_sequence": 3,
        "full_amount_lkr": 55,
        "half_amount_lkr": 28,
        "distance_km": 8.5
    },
    {
        "id": "fare-fwd-003",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "5cd6613e-d8c3-4a24-ab40-02cb30bd0101",
        "from_stop_name_si": "කොළඹ කොටුව",
        "from_stop_name_en": "Colombo Fort",
        "from_stop_name_tm": "கொழும்பு கோட்டை",
        "from_sequence": 1,
        "to_stop_id": "6c96a496-4242-4709-ad5b-7df0488dc89d",
        "to_stop_name_si": "දෙහිවල",
        "to_stop_name_en": "Dehiwala",
        "to_stop_name_tm": "தெஹிவளை",
        "to_sequence": 4,
        "full_amount_lkr": 60,
        "half_amount_lkr": 30,
        "distance_km": 11.3
    },
    {
        "id": "fare-fwd-004",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "5cd6613e-d8c3-4a24-ab40-02cb30bd0101",
        "from_stop_name_si": "කොළඹ කොටුව",
        "from_stop_name_en": "Colombo Fort",
        "from_stop_name_tm": "கொழும்பு கோட்டை",
        "from_sequence": 1,
        "to_stop_id": "6ab6fcb3-f41c-444c-87d2-5c271dd2bd4c",
        "to_stop_name_si": "ගල්කිස්ස",
        "to_stop_name_en": "Mount Lavinia",
        "to_stop_name_tm": "மவுண்ட் லவீனியா",
        "to_sequence": 5,
        "full_amount_lkr": 70,
        "half_amount_lkr": 35,
        "distance_km": 13.8
    },
    {
        "id": "fare-fwd-005",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "5cd6613e-d8c3-4a24-ab40-02cb30bd0101",
        "from_stop_name_si": "කොළඹ කොටුව",
        "from_stop_name_en": "Colombo Fort",
        "from_stop_name_tm": "கொழும்பு கோட்டை",
        "from_sequence": 1,
        "to_stop_id": "b55d9f96-855e-4437-bb6b-37b6199ac145",
        "to_stop_name_si": "මොරටුව",
        "to_stop_name_en": "Moratuwa",
        "to_stop_name_tm": "மொறட்டுவை",
        "to_sequence": 6,
        "full_amount_lkr": 90,
        "half_amount_lkr": 45,
        "distance_km": 18.7
    },
    {
        "id": "fare-fwd-006",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "5cd6613e-d8c3-4a24-ab40-02cb30bd0101",
        "from_stop_name_si": "කොළඹ කොටුව",
        "from_stop_name_en": "Colombo Fort",
        "from_stop_name_tm": "கொழும்பு கோட்டை",
        "from_sequence": 1,
        "to_stop_id": "575bbc55-d106-45b0-b278-6f4e587d3d65",
        "to_stop_name_si": "පානදුර",
        "to_stop_name_en": "Panadura",
        "to_stop_name_tm": "பாணந்துறை",
        "to_sequence": 7,
        "full_amount_lkr": 110,
        "half_amount_lkr": 55,
        "distance_km": 27.4
    },
    {
        "id": "fare-fwd-007",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "5cd6613e-d8c3-4a24-ab40-02cb30bd0101",
        "from_stop_name_si": "කොළඹ කොටුව",
        "from_stop_name_en": "Colombo Fort",
        "from_stop_name_tm": "கொழும்பு கோட்டை",
        "from_sequence": 1,
        "to_stop_id": "b88bdf90-94a3-4aaa-861a-100d0ae16a92",
        "to_stop_name_si": "කළුතර",
        "to_stop_name_en": "Kalutara",
        "to_stop_name_tm": "களுத்துறை",
        "to_sequence": 8,
        "full_amount_lkr": 160,
        "half_amount_lkr": 80,
        "distance_km": 42.1
    },
    {
        "id": "fare-fwd-008",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "5cd6613e-d8c3-4a24-ab40-02cb30bd0101",
        "from_stop_name_si": "කොළඹ කොටුව",
        "from_stop_name_en": "Colombo Fort",
        "from_stop_name_tm": "கொழும்பு கோட்டை",
        "from_sequence": 1,
        "to_stop_id": "877c681d-753f-4b45-88f4-401ef86c35bf",
        "to_stop_name_si": "අලුත්ගම",
        "to_stop_name_en": "Aluthgama",
        "to_stop_name_tm": "அலுத்கம",
        "to_sequence": 9,
        "full_amount_lkr": 220,
        "half_amount_lkr": 110,
        "distance_km": 62.3
    },
    {
        "id": "fare-fwd-009",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "5cd6613e-d8c3-4a24-ab40-02cb30bd0101",
        "from_stop_name_si": "කොළඹ කොටුව",
        "from_stop_name_en": "Colombo Fort",
        "from_stop_name_tm": "கொழும்பு கோட்டை",
        "from_sequence": 1,
        "to_stop_id": "38d0899c-e1c9-43a1-944d-5b31cef4bad8",
        "to_stop_name_si": "බේන්තොට",
        "to_stop_name_en": "Bentota",
        "to_stop_name_tm": "பெந்தோட்ட",
        "to_sequence": 10,
        "full_amount_lkr": 230,
        "half_amount_lkr": 115,
        "distance_km": 65
    },
    {
        "id": "fare-fwd-010",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "5cd6613e-d8c3-4a24-ab40-02cb30bd0101",
        "from_stop_name_si": "කොළඹ කොටුව",
        "from_stop_name_en": "Colombo Fort",
        "from_stop_name_tm": "கொழும்பு கோட்டை",
        "from_sequence": 1,
        "to_stop_id": "de0d28eb-9d01-4fb2-a978-944ad93e252c",
        "to_stop_name_si": "හික්කඩුව",
        "to_stop_name_en": "Hikkaduwa",
        "to_stop_name_tm": "ஹிக்கடுவ",
        "to_sequence": 11,
        "full_amount_lkr": 320,
        "half_amount_lkr": 160,
        "distance_km": 98.2
    },
    {
        "id": "fare-fwd-011",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "5cd6613e-d8c3-4a24-ab40-02cb30bd0101",
        "from_stop_name_si": "කොළඹ කොටුව",
        "from_stop_name_en": "Colombo Fort",
        "from_stop_name_tm": "கொழும்பு கோட்டை",
        "from_sequence": 1,
        "to_stop_id": "70711f6d-5aae-4195-95f2-e3c84a83ba32",
        "to_stop_name_si": "ගාල්ල",
        "to_stop_name_en": "Galle",
        "to_stop_name_tm": "காலி",
        "to_sequence": 12,
        "full_amount_lkr": 380,
        "half_amount_lkr": 190,
        "distance_km": 116.8
    },
    {
        "id": "fare-fwd-012",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "92be4983-8f5f-4759-9471-7d2be4bbb9ff",
        "from_stop_name_si": "බම්බලපිටිය",
        "from_stop_name_en": "Bambalapitiya",
        "from_stop_name_tm": "பம்பலப்பிட்டி",
        "from_sequence": 2,
        "to_stop_id": "364ed844-23c1-4771-bc8a-a07e57b9fd0e",
        "to_stop_name_si": "වැල්ලවත්ත",
        "to_stop_name_en": "Wellawatte",
        "to_stop_name_tm": "வெல்லவத்தை",
        "to_sequence": 3,
        "full_amount_lkr": 25,
        "half_amount_lkr": 13,
        "distance_km": 2.3
    },
    {
        "id": "fare-fwd-013",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "92be4983-8f5f-4759-9471-7d2be4bbb9ff",
        "from_stop_name_si": "බම්බලපිටිය",
        "from_stop_name_en": "Bambalapitiya",
        "from_stop_name_tm": "பம்பலப்பிட்டி",
        "from_sequence": 2,
        "to_stop_id": "6c96a496-4242-4709-ad5b-7df0488dc89d",
        "to_stop_name_si": "දෙහිවල",
        "to_stop_name_en": "Dehiwala",
        "to_stop_name_tm": "தெஹிவளை",
        "to_sequence": 4,
        "full_amount_lkr": 30,
        "half_amount_lkr": 15,
        "distance_km": 5.1
    },
    {
        "id": "fare-fwd-014",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "92be4983-8f5f-4759-9471-7d2be4bbb9ff",
        "from_stop_name_si": "බම්බලපිටිය",
        "from_stop_name_en": "Bambalapitiya",
        "from_stop_name_tm": "பம்பலப்பிட்டி",
        "from_sequence": 2,
        "to_stop_id": "6ab6fcb3-f41c-444c-87d2-5c271dd2bd4c",
        "to_stop_name_si": "ගල්කිස්ස",
        "to_stop_name_en": "Mount Lavinia",
        "to_stop_name_tm": "மவுண்ட் லவீனியா",
        "to_sequence": 5,
        "full_amount_lkr": 40,
        "half_amount_lkr": 20,
        "distance_km": 7.6
    },
    {
        "id": "fare-fwd-015",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "92be4983-8f5f-4759-9471-7d2be4bbb9ff",
        "from_stop_name_si": "බම්බලපිටිය",
        "from_stop_name_en": "Bambalapitiya",
        "from_stop_name_tm": "பம்பலப்பிட்டி",
        "from_sequence": 2,
        "to_stop_id": "b55d9f96-855e-4437-bb6b-37b6199ac145",
        "to_stop_name_si": "මොරටුව",
        "to_stop_name_en": "Moratuwa",
        "to_stop_name_tm": "மொறட்டுவை",
        "to_sequence": 6,
        "full_amount_lkr": 55,
        "half_amount_lkr": 28,
        "distance_km": 12.5
    },
    {
        "id": "fare-fwd-016",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "92be4983-8f5f-4759-9471-7d2be4bbb9ff",
        "from_stop_name_si": "බම්බලපිටිය",
        "from_stop_name_en": "Bambalapitiya",
        "from_stop_name_tm": "பம்பலப்பிட்டி",
        "from_sequence": 2,
        "to_stop_id": "575bbc55-d106-45b0-b278-6f4e587d3d65",
        "to_stop_name_si": "පානදුර",
        "to_stop_name_en": "Panadura",
        "to_stop_name_tm": "பாணந்துறை",
        "to_sequence": 7,
        "full_amount_lkr": 85,
        "half_amount_lkr": 43,
        "distance_km": 21.2
    },
    {
        "id": "fare-fwd-017",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "92be4983-8f5f-4759-9471-7d2be4bbb9ff",
        "from_stop_name_si": "බම්බලපිටිය",
        "from_stop_name_en": "Bambalapitiya",
        "from_stop_name_tm": "பம்பலப்பிட்டி",
        "from_sequence": 2,
        "to_stop_id": "b88bdf90-94a3-4aaa-861a-100d0ae16a92",
        "to_stop_name_si": "කළුතර",
        "to_stop_name_en": "Kalutara",
        "to_stop_name_tm": "களுத்துறை",
        "to_sequence": 8,
        "full_amount_lkr": 135,
        "half_amount_lkr": 68,
        "distance_km": 35.9
    },
    {
        "id": "fare-fwd-018",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "92be4983-8f5f-4759-9471-7d2be4bbb9ff",
        "from_stop_name_si": "බම්බලපිටිය",
        "from_stop_name_en": "Bambalapitiya",
        "from_stop_name_tm": "பம்பலப்பிட்டி",
        "from_sequence": 2,
        "to_stop_id": "877c681d-753f-4b45-88f4-401ef86c35bf",
        "to_stop_name_si": "අලුත්ගම",
        "to_stop_name_en": "Aluthgama",
        "to_stop_name_tm": "அலுத்கம",
        "to_sequence": 9,
        "full_amount_lkr": 195,
        "half_amount_lkr": 98,
        "distance_km": 56.1
    },
    {
        "id": "fare-fwd-019",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "92be4983-8f5f-4759-9471-7d2be4bbb9ff",
        "from_stop_name_si": "බම්බලපිටිය",
        "from_stop_name_en": "Bambalapitiya",
        "from_stop_name_tm": "பம்பலப்பிட்டி",
        "from_sequence": 2,
        "to_stop_id": "38d0899c-e1c9-43a1-944d-5b31cef4bad8",
        "to_stop_name_si": "බේන්තොට",
        "to_stop_name_en": "Bentota",
        "to_stop_name_tm": "பெந்தோட்ட",
        "to_sequence": 10,
        "full_amount_lkr": 205,
        "half_amount_lkr": 103,
        "distance_km": 58.8
    },
    {
        "id": "fare-fwd-020",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "92be4983-8f5f-4759-9471-7d2be4bbb9ff",
        "from_stop_name_si": "බම්බලපිටිය",
        "from_stop_name_en": "Bambalapitiya",
        "from_stop_name_tm": "பம்பலப்பிட்டி",
        "from_sequence": 2,
        "to_stop_id": "de0d28eb-9d01-4fb2-a978-944ad93e252c",
        "to_stop_name_si": "හික්කඩුව",
        "to_stop_name_en": "Hikkaduwa",
        "to_stop_name_tm": "ஹிக்கடுவ",
        "to_sequence": 11,
        "full_amount_lkr": 295,
        "half_amount_lkr": 148,
        "distance_km": 92
    },
    {
        "id": "fare-fwd-021",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "92be4983-8f5f-4759-9471-7d2be4bbb9ff",
        "from_stop_name_si": "බම්බලපිටිය",
        "from_stop_name_en": "Bambalapitiya",
        "from_stop_name_tm": "பம்பலப்பிட்டி",
        "from_sequence": 2,
        "to_stop_id": "70711f6d-5aae-4195-95f2-e3c84a83ba32",
        "to_stop_name_si": "ගාල්ල",
        "to_stop_name_en": "Galle",
        "to_stop_name_tm": "காலி",
        "to_sequence": 12,
        "full_amount_lkr": 355,
        "half_amount_lkr": 178,
        "distance_km": 110.6
    },
    {
        "id": "fare-fwd-022",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "364ed844-23c1-4771-bc8a-a07e57b9fd0e",
        "from_stop_name_si": "වැල්ලවත්ත",
        "from_stop_name_en": "Wellawatte",
        "from_stop_name_tm": "வெல்லவத்தை",
        "from_sequence": 3,
        "to_stop_id": "6c96a496-4242-4709-ad5b-7df0488dc89d",
        "to_stop_name_si": "දෙහිවල",
        "to_stop_name_en": "Dehiwala",
        "to_stop_name_tm": "தெஹிவளை",
        "to_sequence": 4,
        "full_amount_lkr": 20,
        "half_amount_lkr": 10,
        "distance_km": 2.8
    },
    {
        "id": "fare-fwd-023",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "364ed844-23c1-4771-bc8a-a07e57b9fd0e",
        "from_stop_name_si": "වැල්ලවත්ත",
        "from_stop_name_en": "Wellawatte",
        "from_stop_name_tm": "வெல்லவத்தை",
        "from_sequence": 3,
        "to_stop_id": "6ab6fcb3-f41c-444c-87d2-5c271dd2bd4c",
        "to_stop_name_si": "ගල්කිස්ස",
        "to_stop_name_en": "Mount Lavinia",
        "to_stop_name_tm": "மவுண்ட் லவீனியா",
        "to_sequence": 5,
        "full_amount_lkr": 30,
        "half_amount_lkr": 15,
        "distance_km": 5.3
    },
    {
        "id": "fare-fwd-024",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "364ed844-23c1-4771-bc8a-a07e57b9fd0e",
        "from_stop_name_si": "වැල්ලවත්ත",
        "from_stop_name_en": "Wellawatte",
        "from_stop_name_tm": "வெல்லவத்தை",
        "from_sequence": 3,
        "to_stop_id": "b55d9f96-855e-4437-bb6b-37b6199ac145",
        "to_stop_name_si": "මොරටුව",
        "to_stop_name_en": "Moratuwa",
        "to_stop_name_tm": "மொறட்டுவை",
        "to_sequence": 6,
        "full_amount_lkr": 45,
        "half_amount_lkr": 23,
        "distance_km": 10.2
    },
    {
        "id": "fare-fwd-025",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "364ed844-23c1-4771-bc8a-a07e57b9fd0e",
        "from_stop_name_si": "වැල්ලවත්ත",
        "from_stop_name_en": "Wellawatte",
        "from_stop_name_tm": "வெல்லவத்தை",
        "from_sequence": 3,
        "to_stop_id": "575bbc55-d106-45b0-b278-6f4e587d3d65",
        "to_stop_name_si": "පානදුර",
        "to_stop_name_en": "Panadura",
        "to_stop_name_tm": "பாணந்துறை",
        "to_sequence": 7,
        "full_amount_lkr": 75,
        "half_amount_lkr": 38,
        "distance_km": 18.9
    },
    {
        "id": "fare-fwd-026",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "364ed844-23c1-4771-bc8a-a07e57b9fd0e",
        "from_stop_name_si": "වැල්ලවත්ත",
        "from_stop_name_en": "Wellawatte",
        "from_stop_name_tm": "வெல்லவத்தை",
        "from_sequence": 3,
        "to_stop_id": "b88bdf90-94a3-4aaa-861a-100d0ae16a92",
        "to_stop_name_si": "කළුතර",
        "to_stop_name_en": "Kalutara",
        "to_stop_name_tm": "களுத்துறை",
        "to_sequence": 8,
        "full_amount_lkr": 125,
        "half_amount_lkr": 63,
        "distance_km": 33.6
    },
    {
        "id": "fare-fwd-027",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "364ed844-23c1-4771-bc8a-a07e57b9fd0e",
        "from_stop_name_si": "වැල්ලවත්ත",
        "from_stop_name_en": "Wellawatte",
        "from_stop_name_tm": "வெல்லவத்தை",
        "from_sequence": 3,
        "to_stop_id": "877c681d-753f-4b45-88f4-401ef86c35bf",
        "to_stop_name_si": "අලුත්ගම",
        "to_stop_name_en": "Aluthgama",
        "to_stop_name_tm": "அலுத்கம",
        "to_sequence": 9,
        "full_amount_lkr": 185,
        "half_amount_lkr": 93,
        "distance_km": 53.8
    },
    {
        "id": "fare-fwd-028",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "364ed844-23c1-4771-bc8a-a07e57b9fd0e",
        "from_stop_name_si": "වැල්ලවත්ත",
        "from_stop_name_en": "Wellawatte",
        "from_stop_name_tm": "வெல்லவத்தை",
        "from_sequence": 3,
        "to_stop_id": "38d0899c-e1c9-43a1-944d-5b31cef4bad8",
        "to_stop_name_si": "බේන්තොට",
        "to_stop_name_en": "Bentota",
        "to_stop_name_tm": "பெந்தோட்ட",
        "to_sequence": 10,
        "full_amount_lkr": 195,
        "half_amount_lkr": 98,
        "distance_km": 56.5
    },
    {
        "id": "fare-fwd-029",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "364ed844-23c1-4771-bc8a-a07e57b9fd0e",
        "from_stop_name_si": "වැල්ලවත්ත",
        "from_stop_name_en": "Wellawatte",
        "from_stop_name_tm": "வெல்லவத்தை",
        "from_sequence": 3,
        "to_stop_id": "de0d28eb-9d01-4fb2-a978-944ad93e252c",
        "to_stop_name_si": "හික්කඩුව",
        "to_stop_name_en": "Hikkaduwa",
        "to_stop_name_tm": "ஹிக்கடுவ",
        "to_sequence": 11,
        "full_amount_lkr": 285,
        "half_amount_lkr": 143,
        "distance_km": 89.7
    },
    {
        "id": "fare-fwd-030",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "364ed844-23c1-4771-bc8a-a07e57b9fd0e",
        "from_stop_name_si": "වැල්ලවත්ත",
        "from_stop_name_en": "Wellawatte",
        "from_stop_name_tm": "வெல்லவத்தை",
        "from_sequence": 3,
        "to_stop_id": "70711f6d-5aae-4195-95f2-e3c84a83ba32",
        "to_stop_name_si": "ගාල්ල",
        "to_stop_name_en": "Galle",
        "to_stop_name_tm": "காலி",
        "to_sequence": 12,
        "full_amount_lkr": 345,
        "half_amount_lkr": 173,
        "distance_km": 108.3
    },
    {
        "id": "fare-fwd-031",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "6c96a496-4242-4709-ad5b-7df0488dc89d",
        "from_stop_name_si": "දෙහිවල",
        "from_stop_name_en": "Dehiwala",
        "from_stop_name_tm": "தெஹிவளை",
        "from_sequence": 4,
        "to_stop_id": "6ab6fcb3-f41c-444c-87d2-5c271dd2bd4c",
        "to_stop_name_si": "ගල්කිස්ස",
        "to_stop_name_en": "Mount Lavinia",
        "to_stop_name_tm": "மவுண்ட் லவீனியா",
        "to_sequence": 5,
        "full_amount_lkr": 20,
        "half_amount_lkr": 10,
        "distance_km": 2.5
    },
    {
        "id": "fare-fwd-032",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "6c96a496-4242-4709-ad5b-7df0488dc89d",
        "from_stop_name_si": "දෙහිවල",
        "from_stop_name_en": "Dehiwala",
        "from_stop_name_tm": "தெஹிவளை",
        "from_sequence": 4,
        "to_stop_id": "b55d9f96-855e-4437-bb6b-37b6199ac145",
        "to_stop_name_si": "මොරටුව",
        "to_stop_name_en": "Moratuwa",
        "to_stop_name_tm": "மொறட்டுவை",
        "to_sequence": 6,
        "full_amount_lkr": 35,
        "half_amount_lkr": 18,
        "distance_km": 7.4
    },
    {
        "id": "fare-fwd-033",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "6c96a496-4242-4709-ad5b-7df0488dc89d",
        "from_stop_name_si": "දෙහිවල",
        "from_stop_name_en": "Dehiwala",
        "from_stop_name_tm": "தெஹிவளை",
        "from_sequence": 4,
        "to_stop_id": "575bbc55-d106-45b0-b278-6f4e587d3d65",
        "to_stop_name_si": "පානදුර",
        "to_stop_name_en": "Panadura",
        "to_stop_name_tm": "பாணந்துறை",
        "to_sequence": 7,
        "full_amount_lkr": 65,
        "half_amount_lkr": 33,
        "distance_km": 16.1
    },
    {
        "id": "fare-fwd-034",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "6c96a496-4242-4709-ad5b-7df0488dc89d",
        "from_stop_name_si": "දෙහිවල",
        "from_stop_name_en": "Dehiwala",
        "from_stop_name_tm": "தெஹிவளை",
        "from_sequence": 4,
        "to_stop_id": "b88bdf90-94a3-4aaa-861a-100d0ae16a92",
        "to_stop_name_si": "කළුතර",
        "to_stop_name_en": "Kalutara",
        "to_stop_name_tm": "களுத்துறை",
        "to_sequence": 8,
        "full_amount_lkr": 115,
        "half_amount_lkr": 58,
        "distance_km": 30.8
    },
    {
        "id": "fare-fwd-035",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "6c96a496-4242-4709-ad5b-7df0488dc89d",
        "from_stop_name_si": "දෙහිවල",
        "from_stop_name_en": "Dehiwala",
        "from_stop_name_tm": "தெஹிவளை",
        "from_sequence": 4,
        "to_stop_id": "877c681d-753f-4b45-88f4-401ef86c35bf",
        "to_stop_name_si": "අලුත්ගම",
        "to_stop_name_en": "Aluthgama",
        "to_stop_name_tm": "அலுத்கம",
        "to_sequence": 9,
        "full_amount_lkr": 175,
        "half_amount_lkr": 88,
        "distance_km": 51
    },
    {
        "id": "fare-fwd-036",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "6c96a496-4242-4709-ad5b-7df0488dc89d",
        "from_stop_name_si": "දෙහිවල",
        "from_stop_name_en": "Dehiwala",
        "from_stop_name_tm": "தெஹிவளை",
        "from_sequence": 4,
        "to_stop_id": "38d0899c-e1c9-43a1-944d-5b31cef4bad8",
        "to_stop_name_si": "බේන්තොට",
        "to_stop_name_en": "Bentota",
        "to_stop_name_tm": "பெந்தோட்ட",
        "to_sequence": 10,
        "full_amount_lkr": 185,
        "half_amount_lkr": 93,
        "distance_km": 53.7
    },
    {
        "id": "fare-fwd-037",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "6c96a496-4242-4709-ad5b-7df0488dc89d",
        "from_stop_name_si": "දෙහිවල",
        "from_stop_name_en": "Dehiwala",
        "from_stop_name_tm": "தெஹிவளை",
        "from_sequence": 4,
        "to_stop_id": "de0d28eb-9d01-4fb2-a978-944ad93e252c",
        "to_stop_name_si": "හික්කඩුව",
        "to_stop_name_en": "Hikkaduwa",
        "to_stop_name_tm": "ஹிக்கடுவ",
        "to_sequence": 11,
        "full_amount_lkr": 275,
        "half_amount_lkr": 138,
        "distance_km": 86.9
    },
    {
        "id": "fare-fwd-038",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "6c96a496-4242-4709-ad5b-7df0488dc89d",
        "from_stop_name_si": "දෙහිවල",
        "from_stop_name_en": "Dehiwala",
        "from_stop_name_tm": "தெஹிவளை",
        "from_sequence": 4,
        "to_stop_id": "70711f6d-5aae-4195-95f2-e3c84a83ba32",
        "to_stop_name_si": "ගාල්ල",
        "to_stop_name_en": "Galle",
        "to_stop_name_tm": "காலி",
        "to_sequence": 12,
        "full_amount_lkr": 335,
        "half_amount_lkr": 168,
        "distance_km": 105.5
    },
    {
        "id": "fare-fwd-039",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "6ab6fcb3-f41c-444c-87d2-5c271dd2bd4c",
        "from_stop_name_si": "ගල්කිස්ස",
        "from_stop_name_en": "Mount Lavinia",
        "from_stop_name_tm": "மவுண்ட் லவீனியா",
        "from_sequence": 5,
        "to_stop_id": "b55d9f96-855e-4437-bb6b-37b6199ac145",
        "to_stop_name_si": "මොරටුව",
        "to_stop_name_en": "Moratuwa",
        "to_stop_name_tm": "மொறட்டுவை",
        "to_sequence": 6,
        "full_amount_lkr": 25,
        "half_amount_lkr": 13,
        "distance_km": 4.9
    },
    {
        "id": "fare-fwd-040",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "6ab6fcb3-f41c-444c-87d2-5c271dd2bd4c",
        "from_stop_name_si": "ගල්කිස්ස",
        "from_stop_name_en": "Mount Lavinia",
        "from_stop_name_tm": "மவுண்ட் லவீனியா",
        "from_sequence": 5,
        "to_stop_id": "575bbc55-d106-45b0-b278-6f4e587d3d65",
        "to_stop_name_si": "පානදුර",
        "to_stop_name_en": "Panadura",
        "to_stop_name_tm": "பாணந்துறை",
        "to_sequence": 7,
        "full_amount_lkr": 55,
        "half_amount_lkr": 28,
        "distance_km": 13.6
    },
    {
        "id": "fare-fwd-041",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "6ab6fcb3-f41c-444c-87d2-5c271dd2bd4c",
        "from_stop_name_si": "ගල්කිස්ස",
        "from_stop_name_en": "Mount Lavinia",
        "from_stop_name_tm": "மவுண்ட் லவீனியா",
        "from_sequence": 5,
        "to_stop_id": "b88bdf90-94a3-4aaa-861a-100d0ae16a92",
        "to_stop_name_si": "කළුතර",
        "to_stop_name_en": "Kalutara",
        "to_stop_name_tm": "களுத்துறை",
        "to_sequence": 8,
        "full_amount_lkr": 100,
        "half_amount_lkr": 50,
        "distance_km": 28.3
    },
    {
        "id": "fare-fwd-042",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "6ab6fcb3-f41c-444c-87d2-5c271dd2bd4c",
        "from_stop_name_si": "ගල්කිස්ස",
        "from_stop_name_en": "Mount Lavinia",
        "from_stop_name_tm": "மவுண்ட் லவீனியா",
        "from_sequence": 5,
        "to_stop_id": "877c681d-753f-4b45-88f4-401ef86c35bf",
        "to_stop_name_si": "අලුත්ගම",
        "to_stop_name_en": "Aluthgama",
        "to_stop_name_tm": "அலுத்கம",
        "to_sequence": 9,
        "full_amount_lkr": 160,
        "half_amount_lkr": 80,
        "distance_km": 48.5
    },
    {
        "id": "fare-fwd-043",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "6ab6fcb3-f41c-444c-87d2-5c271dd2bd4c",
        "from_stop_name_si": "ගල්කිස්ස",
        "from_stop_name_en": "Mount Lavinia",
        "from_stop_name_tm": "மவுண்ட் லவீனியா",
        "from_sequence": 5,
        "to_stop_id": "38d0899c-e1c9-43a1-944d-5b31cef4bad8",
        "to_stop_name_si": "බේන්තොට",
        "to_stop_name_en": "Bentota",
        "to_stop_name_tm": "பெந்தோட்ட",
        "to_sequence": 10,
        "full_amount_lkr": 170,
        "half_amount_lkr": 85,
        "distance_km": 51.2
    },
    {
        "id": "fare-fwd-044",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "6ab6fcb3-f41c-444c-87d2-5c271dd2bd4c",
        "from_stop_name_si": "ගල්කිස්ස",
        "from_stop_name_en": "Mount Lavinia",
        "from_stop_name_tm": "மவுண்ட் லவீனியா",
        "from_sequence": 5,
        "to_stop_id": "de0d28eb-9d01-4fb2-a978-944ad93e252c",
        "to_stop_name_si": "හික්කඩුව",
        "to_stop_name_en": "Hikkaduwa",
        "to_stop_name_tm": "ஹிக்கடுவ",
        "to_sequence": 11,
        "full_amount_lkr": 260,
        "half_amount_lkr": 130,
        "distance_km": 84.4
    },
    {
        "id": "fare-fwd-045",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "6ab6fcb3-f41c-444c-87d2-5c271dd2bd4c",
        "from_stop_name_si": "ගල්කිස්ස",
        "from_stop_name_en": "Mount Lavinia",
        "from_stop_name_tm": "மவுண்ட் லவீனியா",
        "from_sequence": 5,
        "to_stop_id": "70711f6d-5aae-4195-95f2-e3c84a83ba32",
        "to_stop_name_si": "ගාල්ල",
        "to_stop_name_en": "Galle",
        "to_stop_name_tm": "காலி",
        "to_sequence": 12,
        "full_amount_lkr": 320,
        "half_amount_lkr": 160,
        "distance_km": 103
    },
    {
        "id": "fare-fwd-046",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "b55d9f96-855e-4437-bb6b-37b6199ac145",
        "from_stop_name_si": "මොරටුව",
        "from_stop_name_en": "Moratuwa",
        "from_stop_name_tm": "மொறட்டுவை",
        "from_sequence": 6,
        "to_stop_id": "575bbc55-d106-45b0-b278-6f4e587d3d65",
        "to_stop_name_si": "පානදුර",
        "to_stop_name_en": "Panadura",
        "to_stop_name_tm": "பாணந்துறை",
        "to_sequence": 7,
        "full_amount_lkr": 40,
        "half_amount_lkr": 20,
        "distance_km": 8.7
    },
    {
        "id": "fare-fwd-047",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "b55d9f96-855e-4437-bb6b-37b6199ac145",
        "from_stop_name_si": "මොරටුව",
        "from_stop_name_en": "Moratuwa",
        "from_stop_name_tm": "மொறட்டுவை",
        "from_sequence": 6,
        "to_stop_id": "b88bdf90-94a3-4aaa-861a-100d0ae16a92",
        "to_stop_name_si": "කළුතර",
        "to_stop_name_en": "Kalutara",
        "to_stop_name_tm": "களுத்துறை",
        "to_sequence": 8,
        "full_amount_lkr": 85,
        "half_amount_lkr": 43,
        "distance_km": 23.4
    },
    {
        "id": "fare-fwd-048",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "b55d9f96-855e-4437-bb6b-37b6199ac145",
        "from_stop_name_si": "මොරටුව",
        "from_stop_name_en": "Moratuwa",
        "from_stop_name_tm": "மொறட்டுவை",
        "from_sequence": 6,
        "to_stop_id": "877c681d-753f-4b45-88f4-401ef86c35bf",
        "to_stop_name_si": "අලුත්ගම",
        "to_stop_name_en": "Aluthgama",
        "to_stop_name_tm": "அலுத்கம",
        "to_sequence": 9,
        "full_amount_lkr": 145,
        "half_amount_lkr": 73,
        "distance_km": 43.6
    },
    {
        "id": "fare-fwd-049",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "b55d9f96-855e-4437-bb6b-37b6199ac145",
        "from_stop_name_si": "මොරටුව",
        "from_stop_name_en": "Moratuwa",
        "from_stop_name_tm": "மொறட்டுவை",
        "from_sequence": 6,
        "to_stop_id": "38d0899c-e1c9-43a1-944d-5b31cef4bad8",
        "to_stop_name_si": "බේන්තොට",
        "to_stop_name_en": "Bentota",
        "to_stop_name_tm": "பெந்தோட்ட",
        "to_sequence": 10,
        "full_amount_lkr": 155,
        "half_amount_lkr": 78,
        "distance_km": 46.3
    },
    {
        "id": "fare-fwd-050",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "b55d9f96-855e-4437-bb6b-37b6199ac145",
        "from_stop_name_si": "මොරටුව",
        "from_stop_name_en": "Moratuwa",
        "from_stop_name_tm": "மொறட்டுவை",
        "from_sequence": 6,
        "to_stop_id": "de0d28eb-9d01-4fb2-a978-944ad93e252c",
        "to_stop_name_si": "හික්කඩුව",
        "to_stop_name_en": "Hikkaduwa",
        "to_stop_name_tm": "ஹிக்கடுவ",
        "to_sequence": 11,
        "full_amount_lkr": 245,
        "half_amount_lkr": 123,
        "distance_km": 79.5
    },
    {
        "id": "fare-fwd-051",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "b55d9f96-855e-4437-bb6b-37b6199ac145",
        "from_stop_name_si": "මොරටුව",
        "from_stop_name_en": "Moratuwa",
        "from_stop_name_tm": "மொறட்டுவை",
        "from_sequence": 6,
        "to_stop_id": "70711f6d-5aae-4195-95f2-e3c84a83ba32",
        "to_stop_name_si": "ගාල්ල",
        "to_stop_name_en": "Galle",
        "to_stop_name_tm": "காலி",
        "to_sequence": 12,
        "full_amount_lkr": 305,
        "half_amount_lkr": 153,
        "distance_km": 98.1
    },
    {
        "id": "fare-fwd-052",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "575bbc55-d106-45b0-b278-6f4e587d3d65",
        "from_stop_name_si": "පානදුර",
        "from_stop_name_en": "Panadura",
        "from_stop_name_tm": "பாணந்துறை",
        "from_sequence": 7,
        "to_stop_id": "b88bdf90-94a3-4aaa-861a-100d0ae16a92",
        "to_stop_name_si": "කළුතර",
        "to_stop_name_en": "Kalutara",
        "to_stop_name_tm": "களுத்துறை",
        "to_sequence": 8,
        "full_amount_lkr": 55,
        "half_amount_lkr": 28,
        "distance_km": 14.7
    },
    {
        "id": "fare-fwd-053",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "575bbc55-d106-45b0-b278-6f4e587d3d65",
        "from_stop_name_si": "පානදුර",
        "from_stop_name_en": "Panadura",
        "from_stop_name_tm": "பாணந்துறை",
        "from_sequence": 7,
        "to_stop_id": "877c681d-753f-4b45-88f4-401ef86c35bf",
        "to_stop_name_si": "අලුත්ගම",
        "to_stop_name_en": "Aluthgama",
        "to_stop_name_tm": "அலுத்கம",
        "to_sequence": 9,
        "full_amount_lkr": 115,
        "half_amount_lkr": 58,
        "distance_km": 34.9
    },
    {
        "id": "fare-fwd-054",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "575bbc55-d106-45b0-b278-6f4e587d3d65",
        "from_stop_name_si": "පානදුර",
        "from_stop_name_en": "Panadura",
        "from_stop_name_tm": "பாணந்துறை",
        "from_sequence": 7,
        "to_stop_id": "38d0899c-e1c9-43a1-944d-5b31cef4bad8",
        "to_stop_name_si": "බේන්තොට",
        "to_stop_name_en": "Bentota",
        "to_stop_name_tm": "பெந்தோட்ட",
        "to_sequence": 10,
        "full_amount_lkr": 125,
        "half_amount_lkr": 63,
        "distance_km": 37.6
    },
    {
        "id": "fare-fwd-055",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "575bbc55-d106-45b0-b278-6f4e587d3d65",
        "from_stop_name_si": "පානදුර",
        "from_stop_name_en": "Panadura",
        "from_stop_name_tm": "பாணந்துறை",
        "from_sequence": 7,
        "to_stop_id": "de0d28eb-9d01-4fb2-a978-944ad93e252c",
        "to_stop_name_si": "හික්කඩුව",
        "to_stop_name_en": "Hikkaduwa",
        "to_stop_name_tm": "ஹிக்கடுவ",
        "to_sequence": 11,
        "full_amount_lkr": 215,
        "half_amount_lkr": 108,
        "distance_km": 70.8
    },
    {
        "id": "fare-fwd-056",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "575bbc55-d106-45b0-b278-6f4e587d3d65",
        "from_stop_name_si": "පානදුර",
        "from_stop_name_en": "Panadura",
        "from_stop_name_tm": "பாணந்துறை",
        "from_sequence": 7,
        "to_stop_id": "70711f6d-5aae-4195-95f2-e3c84a83ba32",
        "to_stop_name_si": "ගාල්ල",
        "to_stop_name_en": "Galle",
        "to_stop_name_tm": "காலி",
        "to_sequence": 12,
        "full_amount_lkr": 275,
        "half_amount_lkr": 138,
        "distance_km": 89.4
    },
    {
        "id": "fare-fwd-057",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "b88bdf90-94a3-4aaa-861a-100d0ae16a92",
        "from_stop_name_si": "කළුතර",
        "from_stop_name_en": "Kalutara",
        "from_stop_name_tm": "களுத்துறை",
        "from_sequence": 8,
        "to_stop_id": "877c681d-753f-4b45-88f4-401ef86c35bf",
        "to_stop_name_si": "අලුත්ගම",
        "to_stop_name_en": "Aluthgama",
        "to_stop_name_tm": "அலுத்கம",
        "to_sequence": 9,
        "full_amount_lkr": 70,
        "half_amount_lkr": 35,
        "distance_km": 20.2
    },
    {
        "id": "fare-fwd-058",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "b88bdf90-94a3-4aaa-861a-100d0ae16a92",
        "from_stop_name_si": "කළුතර",
        "from_stop_name_en": "Kalutara",
        "from_stop_name_tm": "களுத்துறை",
        "from_sequence": 8,
        "to_stop_id": "38d0899c-e1c9-43a1-944d-5b31cef4bad8",
        "to_stop_name_si": "බේන්තොට",
        "to_stop_name_en": "Bentota",
        "to_stop_name_tm": "பெந்தோட்ட",
        "to_sequence": 10,
        "full_amount_lkr": 80,
        "half_amount_lkr": 40,
        "distance_km": 22.9
    },
    {
        "id": "fare-fwd-059",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "b88bdf90-94a3-4aaa-861a-100d0ae16a92",
        "from_stop_name_si": "කළුතර",
        "from_stop_name_en": "Kalutara",
        "from_stop_name_tm": "களுத்துறை",
        "from_sequence": 8,
        "to_stop_id": "de0d28eb-9d01-4fb2-a978-944ad93e252c",
        "to_stop_name_si": "හික්කඩුව",
        "to_stop_name_en": "Hikkaduwa",
        "to_stop_name_tm": "ஹிக்கடுவ",
        "to_sequence": 11,
        "full_amount_lkr": 180,
        "half_amount_lkr": 90,
        "distance_km": 56.1
    },
    {
        "id": "fare-fwd-060",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "b88bdf90-94a3-4aaa-861a-100d0ae16a92",
        "from_stop_name_si": "කළුතර",
        "from_stop_name_en": "Kalutara",
        "from_stop_name_tm": "களுத்துறை",
        "from_sequence": 8,
        "to_stop_id": "70711f6d-5aae-4195-95f2-e3c84a83ba32",
        "to_stop_name_si": "ගාල්ල",
        "to_stop_name_en": "Galle",
        "to_stop_name_tm": "காலி",
        "to_sequence": 12,
        "full_amount_lkr": 240,
        "half_amount_lkr": 120,
        "distance_km": 74.7
    },
    {
        "id": "fare-fwd-061",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "877c681d-753f-4b45-88f4-401ef86c35bf",
        "from_stop_name_si": "අලුත්ගම",
        "from_stop_name_en": "Aluthgama",
        "from_stop_name_tm": "அலுத்கம",
        "from_sequence": 9,
        "to_stop_id": "38d0899c-e1c9-43a1-944d-5b31cef4bad8",
        "to_stop_name_si": "බේන්තොට",
        "to_stop_name_en": "Bentota",
        "to_stop_name_tm": "பெந்தோட்ட",
        "to_sequence": 10,
        "full_amount_lkr": 20,
        "half_amount_lkr": 10,
        "distance_km": 2.7
    },
    {
        "id": "fare-fwd-062",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "877c681d-753f-4b45-88f4-401ef86c35bf",
        "from_stop_name_si": "අලුත්ගම",
        "from_stop_name_en": "Aluthgama",
        "from_stop_name_tm": "அலுத்கம",
        "from_sequence": 9,
        "to_stop_id": "de0d28eb-9d01-4fb2-a978-944ad93e252c",
        "to_stop_name_si": "හික්කඩුව",
        "to_stop_name_en": "Hikkaduwa",
        "to_stop_name_tm": "ஹிக்கடுவ",
        "to_sequence": 11,
        "full_amount_lkr": 120,
        "half_amount_lkr": 60,
        "distance_km": 35.9
    },
    {
        "id": "fare-fwd-063",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "877c681d-753f-4b45-88f4-401ef86c35bf",
        "from_stop_name_si": "අලුත්ගම",
        "from_stop_name_en": "Aluthgama",
        "from_stop_name_tm": "அலுத்கம",
        "from_sequence": 9,
        "to_stop_id": "70711f6d-5aae-4195-95f2-e3c84a83ba32",
        "to_stop_name_si": "ගාල්ල",
        "to_stop_name_en": "Galle",
        "to_stop_name_tm": "காலி",
        "to_sequence": 12,
        "full_amount_lkr": 180,
        "half_amount_lkr": 90,
        "distance_km": 54.5
    },
    {
        "id": "fare-fwd-064",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "38d0899c-e1c9-43a1-944d-5b31cef4bad8",
        "from_stop_name_si": "බේන්තොට",
        "from_stop_name_en": "Bentota",
        "from_stop_name_tm": "பெந்தோட்ட",
        "from_sequence": 10,
        "to_stop_id": "de0d28eb-9d01-4fb2-a978-944ad93e252c",
        "to_stop_name_si": "හික්කඩුව",
        "to_stop_name_en": "Hikkaduwa",
        "to_stop_name_tm": "ஹிக்கடுவ",
        "to_sequence": 11,
        "full_amount_lkr": 110,
        "half_amount_lkr": 55,
        "distance_km": 33.2
    },
    {
        "id": "fare-fwd-065",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "38d0899c-e1c9-43a1-944d-5b31cef4bad8",
        "from_stop_name_si": "බේන්තොට",
        "from_stop_name_en": "Bentota",
        "from_stop_name_tm": "பெந்தோட்ட",
        "from_sequence": 10,
        "to_stop_id": "70711f6d-5aae-4195-95f2-e3c84a83ba32",
        "to_stop_name_si": "ගාල්ල",
        "to_stop_name_en": "Galle",
        "to_stop_name_tm": "காலி",
        "to_sequence": 12,
        "full_amount_lkr": 170,
        "half_amount_lkr": 85,
        "distance_km": 51.8
    },
    {
        "id": "fare-fwd-066",
        "direction_id": "4e18a51e-d67a-499f-a30a-3535d99ff469",
        "from_stop_id": "de0d28eb-9d01-4fb2-a978-944ad93e252c",
        "from_stop_name_si": "හික්කඩුව",
        "from_stop_name_en": "Hikkaduwa",
        "from_stop_name_tm": "ஹிக்கடுவ",
        "from_sequence": 11,
        "to_stop_id": "70711f6d-5aae-4195-95f2-e3c84a83ba32",
        "to_stop_name_si": "ගාල්ල",
        "to_stop_name_en": "Galle",
        "to_stop_name_tm": "காலி",
        "to_sequence": 12,
        "full_amount_lkr": 75,
        "half_amount_lkr": 38,
        "distance_km": 18.6
    }
];
function FareMatrixUI() {
    _s();
    const [fares, setFares] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(initialFares);
    const [editingFare, setEditingFare] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(null);
    const [isDialogOpen, setIsDialogOpen] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(false);
    const [tempFull, setTempFull] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])('');
    const [tempHalf, setTempHalf] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])('');
    const [categoryId, setCategoryId] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])('');
    const { setNavbarData } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$context$2f$navbar$2d$context$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useNavbar"])();
    const [changedFareIds, setChangedFareIds] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(new Set());
    const [routeinfo, setRouteinfo] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])({
        "id": "a3924555-16dc-4ae8-9982-4237c6ac3eca",
        "code": "02",
        "name": "Colombo - Galle",
        "version": 3,
        "status": "active"
    });
    // Get unique stops sorted by sequence
    (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"])({
        "FareMatrixUI.useEffect": ()=>{
            setNavbarData('Route Management', 'Route Management / Route/Fare Table');
        //fetchRoutePermits(filters)
        }
    }["FareMatrixUI.useEffect"], []);
    const stops = Array.from(new Set(fares.flatMap((f)=>[
            {
                id: f.from_stop_id,
                name: f.from_stop_name_en,
                seq: f.from_sequence
            },
            {
                id: f.to_stop_id,
                name: f.to_stop_name_en,
                seq: f.to_sequence
            }
        ]).map((s)=>JSON.stringify(s)))).map((s)=>JSON.parse(s)).sort((a, b)=>a.seq - b.seq);
    const getFare = (fromId, toId)=>{
        return fares.find((f)=>f.from_stop_id === fromId && f.to_stop_id === toId);
    };
    const handleEdit = (fare)=>{
        setEditingFare(fare);
        setTempFull(fare.full_amount_lkr.toString());
        setTempHalf(fare.half_amount_lkr.toString());
        setIsDialogOpen(true);
    };
    const handleSave = ()=>{
        if (!editingFare) return;
        const fullAmount = parseFloat(tempFull);
        const halfAmount = parseFloat(tempHalf);
        if (isNaN(fullAmount) || isNaN(halfAmount)) {
            alert('Please enter valid numbers');
            return;
        }
        setFares(fares.map((f)=>f.id === editingFare.id ? {
                ...f,
                full_amount_lkr: fullAmount,
                half_amount_lkr: halfAmount
            } : f));
        // Mark this fare as changed
        setChangedFareIds((prev)=>new Set([
                ...prev,
                editingFare.id
            ]));
        setIsDialogOpen(false);
        setEditingFare(null);
    };
    const handleSaveAll = ()=>{
        console.log('Saving all fares:', fares);
        alert('Fares saved successfully!');
        setChangedFareIds(new Set());
    };
    return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
        className: "flex flex-1 flex-col",
        children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
            className: "@container/main flex flex-1 flex-col gap-2",
            children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                className: "flex flex-col gap-4 py-4 md:gap-2 md:py-5",
                children: [
                    /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                        className: "px-1 lg:px-3",
                        children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$route$2f$route$2d$card$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["RouteCard"], {
                            initialData: null,
                            onSubmit: '',
                            routeDataSet: routeinfo,
                            directionCreate: false
                        }, void 0, false, {
                            fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                            lineNumber: 1242,
                            columnNumber: 13
                        }, this)
                    }, void 0, false, {
                        fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                        lineNumber: 1241,
                        columnNumber: 11
                    }, this),
                    categoryId ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                        className: "px-1 lg:px-3",
                        children: [
                            /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$card$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Card"], {
                                className: "gap-4",
                                children: [
                                    /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$card$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["CardHeader"], {
                                        className: "",
                                        children: [
                                            /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$card$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["CardTitle"], {
                                                className: "text-lg",
                                                children: "Fare table for : Semi-Luxury catogory"
                                            }, void 0, false, {
                                                fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                lineNumber: 1249,
                                                columnNumber: 17
                                            }, this),
                                            /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$card$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["CardDescription"], {
                                                children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", {
                                                    children: "All amounts are in Rs."
                                                }, void 0, false, {
                                                    fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                    lineNumber: 1254,
                                                    columnNumber: 23
                                                }, this)
                                            }, void 0, false, {
                                                fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                lineNumber: 1252,
                                                columnNumber: 17
                                            }, this),
                                            /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$card$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["CardAction"], {
                                                children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                                    className: "flex gap-2",
                                                    children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$button$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Button"], {
                                                        onClick: handleSaveAll,
                                                        className: "   flex items-center gap-2    text-white font-medium   rounded-[14px]   px-5 py-2   bg-gradient-to-r from-[#0F90EE] to-[#276CCC]   hover:opacity-90   shadow-md   ",
                                                        children: [
                                                            /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$save$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Save$3e$__["Save"], {
                                                                className: "w-4 h-4"
                                                            }, void 0, false, {
                                                                fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                                lineNumber: 1268,
                                                                columnNumber: 23
                                                            }, this),
                                                            "Save All"
                                                        ]
                                                    }, void 0, true, {
                                                        fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                        lineNumber: 1259,
                                                        columnNumber: 21
                                                    }, this)
                                                }, void 0, false, {
                                                    fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                    lineNumber: 1258,
                                                    columnNumber: 19
                                                }, this)
                                            }, void 0, false, {
                                                fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                lineNumber: 1257,
                                                columnNumber: 17
                                            }, this)
                                        ]
                                    }, void 0, true, {
                                        fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                        lineNumber: 1248,
                                        columnNumber: 15
                                    }, this),
                                    /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$card$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["CardContent"], {
                                        children: [
                                            /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                                className: "overflow-x-auto",
                                                children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("table", {
                                                    className: "w-full border-collapse",
                                                    children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("tbody", {
                                                        children: stops.map((fromStop, rowIndex)=>/*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("tr", {
                                                                children: [
                                                                    /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("td", {
                                                                        className: "border border-gray-400 bg-white p-2 text-xs font-semibold",
                                                                        children: fromStop.name
                                                                    }, void 0, false, {
                                                                        fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                                        lineNumber: 1281,
                                                                        columnNumber: 27
                                                                    }, this),
                                                                    stops.map((toStop, colIndex)=>{
                                                                        // Show station name in the diagonal
                                                                        if (rowIndex === colIndex) {
                                                                            return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("td", {
                                                                                className: "border border-gray-400 bg-orange-100 p-2",
                                                                                children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                                                                    className: "text-xs text-center font-semibold",
                                                                                    children: toStop.name
                                                                                }, void 0, false, {
                                                                                    fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                                                    lineNumber: 1292,
                                                                                    columnNumber: 35
                                                                                }, this)
                                                                            }, toStop.id, false, {
                                                                                fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                                                lineNumber: 1288,
                                                                                columnNumber: 33
                                                                            }, this);
                                                                        }
                                                                        // Hide upper triangle (empty boxes)
                                                                        if (rowIndex < colIndex) {
                                                                            return null;
                                                                        }
                                                                        // Get reverse direction fare
                                                                        const fare = getFare(toStop.id, fromStop.id);
                                                                        const isChanged = fare && changedFareIds.has(fare.id);
                                                                        return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("td", {
                                                                            className: `border border-gray-400 p-2 relative group ${isChanged ? 'bg-red-200' : 'bg-cyan-50'}`,
                                                                            children: fare ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Fragment"], {
                                                                                children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                                                                    className: "flex flex-0 items-center gap-1 justify-center",
                                                                                    children: [
                                                                                        /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                                                                            className: "text-xs font-medium",
                                                                                            children: fare.full_amount_lkr.toFixed(2)
                                                                                        }, void 0, false, {
                                                                                            fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                                                            lineNumber: 1315,
                                                                                            columnNumber: 39
                                                                                        }, this),
                                                                                        /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                                                                            className: "text-xs font-bold",
                                                                                            children: "|"
                                                                                        }, void 0, false, {
                                                                                            fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                                                            lineNumber: 1318,
                                                                                            columnNumber: 39
                                                                                        }, this),
                                                                                        /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                                                                            className: "text-xs font-medium",
                                                                                            children: fare.half_amount_lkr.toFixed(2)
                                                                                        }, void 0, false, {
                                                                                            fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                                                            lineNumber: 1321,
                                                                                            columnNumber: 39
                                                                                        }, this),
                                                                                        /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$button$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Button"], {
                                                                                            variant: "ghost",
                                                                                            size: "sm",
                                                                                            className: "absolute top-0 right-0 opacity-0 group-hover:opacity-100 transition-opacity p-0.5 h-5 w-5",
                                                                                            onClick: ()=>handleEdit(fare),
                                                                                            children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$pencil$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Pencil$3e$__["Pencil"], {
                                                                                                className: "w-3 h-3"
                                                                                            }, void 0, false, {
                                                                                                fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                                                                lineNumber: 1330,
                                                                                                columnNumber: 41
                                                                                            }, this)
                                                                                        }, void 0, false, {
                                                                                            fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                                                            lineNumber: 1324,
                                                                                            columnNumber: 39
                                                                                        }, this)
                                                                                    ]
                                                                                }, void 0, true, {
                                                                                    fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                                                    lineNumber: 1314,
                                                                                    columnNumber: 37
                                                                                }, this)
                                                                            }, void 0, false) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                                                                className: "text-xs text-center text-gray-400",
                                                                                children: "-"
                                                                            }, void 0, false, {
                                                                                fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                                                lineNumber: 1337,
                                                                                columnNumber: 35
                                                                            }, this)
                                                                        }, toStop.id, false, {
                                                                            fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                                            lineNumber: 1306,
                                                                            columnNumber: 31
                                                                        }, this);
                                                                    })
                                                                ]
                                                            }, fromStop.id, true, {
                                                                fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                                lineNumber: 1280,
                                                                columnNumber: 25
                                                            }, this))
                                                    }, void 0, false, {
                                                        fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                        lineNumber: 1278,
                                                        columnNumber: 21
                                                    }, this)
                                                }, void 0, false, {
                                                    fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                    lineNumber: 1277,
                                                    columnNumber: 19
                                                }, this)
                                            }, void 0, false, {
                                                fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                lineNumber: 1276,
                                                columnNumber: 17
                                            }, this),
                                            /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                                className: "mt-4 flex gap-9 text-xs",
                                                children: [
                                                    /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                                        className: "flex items-center gap-2",
                                                        children: [
                                                            /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                                                className: "p-2 bg-cyan-50 border border-gray-400 flex flex-0 gap-1 items-center justify-center",
                                                                children: [
                                                                    /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                                                        className: "text-[12px] font-semibold",
                                                                        children: "70"
                                                                    }, void 0, false, {
                                                                        fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                                        lineNumber: 1350,
                                                                        columnNumber: 23
                                                                    }, this),
                                                                    /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                                                        className: "text-xs font-bold",
                                                                        children: "|"
                                                                    }, void 0, false, {
                                                                        fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                                        lineNumber: 1351,
                                                                        columnNumber: 23
                                                                    }, this),
                                                                    /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                                                        className: "text-[12px] font-semibold",
                                                                        children: "35"
                                                                    }, void 0, false, {
                                                                        fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                                        lineNumber: 1354,
                                                                        columnNumber: 23
                                                                    }, this)
                                                                ]
                                                            }, void 0, true, {
                                                                fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                                lineNumber: 1349,
                                                                columnNumber: 21
                                                            }, this),
                                                            /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", {
                                                                className: "text-[14px]",
                                                                children: [
                                                                    "Fare Amounts (Left side: Full, Right side: Half) ",
                                                                    /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", {
                                                                        className: "font-semibold",
                                                                        children: "All amounts are in Rs."
                                                                    }, void 0, false, {
                                                                        fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                                        lineNumber: 1356,
                                                                        columnNumber: 100
                                                                    }, this)
                                                                ]
                                                            }, void 0, true, {
                                                                fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                                lineNumber: 1356,
                                                                columnNumber: 21
                                                            }, this)
                                                        ]
                                                    }, void 0, true, {
                                                        fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                        lineNumber: 1348,
                                                        columnNumber: 19
                                                    }, this),
                                                    /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                                        className: "flex items-center gap-2",
                                                        children: [
                                                            /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                                                className: "w-10 h-7 bg-red-200 border border-gray-400"
                                                            }, void 0, false, {
                                                                fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                                lineNumber: 1359,
                                                                columnNumber: 21
                                                            }, this),
                                                            /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", {
                                                                children: "Modified (Unsaved Changes)"
                                                            }, void 0, false, {
                                                                fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                                lineNumber: 1360,
                                                                columnNumber: 21
                                                            }, this)
                                                        ]
                                                    }, void 0, true, {
                                                        fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                        lineNumber: 1358,
                                                        columnNumber: 19
                                                    }, this)
                                                ]
                                            }, void 0, true, {
                                                fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                lineNumber: 1347,
                                                columnNumber: 17
                                            }, this)
                                        ]
                                    }, void 0, true, {
                                        fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                        lineNumber: 1275,
                                        columnNumber: 15
                                    }, this)
                                ]
                            }, void 0, true, {
                                fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                lineNumber: 1247,
                                columnNumber: 13
                            }, this),
                            /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$dialog$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Dialog"], {
                                open: isDialogOpen,
                                onOpenChange: setIsDialogOpen,
                                children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$dialog$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["DialogContent"], {
                                    children: [
                                        /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$dialog$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["DialogHeader"], {
                                            children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$dialog$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["DialogTitle"], {
                                                children: "Edit Fare"
                                            }, void 0, false, {
                                                fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                lineNumber: 1371,
                                                columnNumber: 19
                                            }, this)
                                        }, void 0, false, {
                                            fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                            lineNumber: 1370,
                                            columnNumber: 17
                                        }, this),
                                        editingFare && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                            className: "space-y-4 py-4",
                                            children: [
                                                /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                                    className: "space-y-2",
                                                    children: [
                                                        /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$label$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Label"], {
                                                            className: "text-sm font-medium",
                                                            children: "Direction"
                                                        }, void 0, false, {
                                                            fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                            lineNumber: 1376,
                                                            columnNumber: 23
                                                        }, this),
                                                        /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                                            className: "text-sm flex gap-3 text-gray-600 items-center ",
                                                            children: [
                                                                editingFare.from_stop_name_en,
                                                                " ",
                                                                /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$arrow$2d$left$2d$right$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__ArrowLeftRight$3e$__["ArrowLeftRight"], {
                                                                    className: "size-[18px]"
                                                                }, void 0, false, {
                                                                    fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                                    lineNumber: 1378,
                                                                    columnNumber: 57
                                                                }, this),
                                                                " ",
                                                                editingFare.to_stop_name_en
                                                            ]
                                                        }, void 0, true, {
                                                            fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                            lineNumber: 1377,
                                                            columnNumber: 23
                                                        }, this),
                                                        /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                                            className: "text-xs text-gray-500",
                                                            children: [
                                                                "Distance: ",
                                                                editingFare.distance_km,
                                                                " km"
                                                            ]
                                                        }, void 0, true, {
                                                            fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                            lineNumber: 1380,
                                                            columnNumber: 23
                                                        }, this)
                                                    ]
                                                }, void 0, true, {
                                                    fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                    lineNumber: 1375,
                                                    columnNumber: 21
                                                }, this),
                                                /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                                    className: "space-y-2",
                                                    children: [
                                                        /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$label$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Label"], {
                                                            htmlFor: "full-amount",
                                                            children: "Full Amount (LKR)"
                                                        }, void 0, false, {
                                                            fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                            lineNumber: 1386,
                                                            columnNumber: 23
                                                        }, this),
                                                        /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$input$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Input"], {
                                                            id: "full-amount",
                                                            type: "number",
                                                            step: "0.01",
                                                            value: tempFull,
                                                            onChange: (e)=>setTempFull(e.target.value),
                                                            className: "w-full"
                                                        }, void 0, false, {
                                                            fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                            lineNumber: 1387,
                                                            columnNumber: 23
                                                        }, this)
                                                    ]
                                                }, void 0, true, {
                                                    fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                    lineNumber: 1385,
                                                    columnNumber: 21
                                                }, this),
                                                /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                                                    className: "space-y-2",
                                                    children: [
                                                        /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$label$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Label"], {
                                                            htmlFor: "half-amount",
                                                            children: "Half Amount (LKR)"
                                                        }, void 0, false, {
                                                            fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                            lineNumber: 1398,
                                                            columnNumber: 23
                                                        }, this),
                                                        /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$input$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Input"], {
                                                            id: "half-amount",
                                                            type: "number",
                                                            step: "0.01",
                                                            value: tempHalf,
                                                            onChange: (e)=>setTempHalf(e.target.value),
                                                            className: "w-full"
                                                        }, void 0, false, {
                                                            fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                            lineNumber: 1399,
                                                            columnNumber: 23
                                                        }, this)
                                                    ]
                                                }, void 0, true, {
                                                    fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                    lineNumber: 1397,
                                                    columnNumber: 21
                                                }, this)
                                            ]
                                        }, void 0, true, {
                                            fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                            lineNumber: 1374,
                                            columnNumber: 19
                                        }, this),
                                        /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$dialog$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["DialogFooter"], {
                                            children: [
                                                /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$button$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Button"], {
                                                    variant: "outline",
                                                    onClick: ()=>setIsDialogOpen(false),
                                                    children: "Cancel"
                                                }, void 0, false, {
                                                    fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                    lineNumber: 1411,
                                                    columnNumber: 19
                                                }, this),
                                                /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$ui$2f$button$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Button"], {
                                                    onClick: handleSave,
                                                    className: "   flex items-center gap-2    text-white font-medium   rounded-[14px]   px-5 py-2   bg-gradient-to-r from-[#0F90EE] to-[#276CCC]   hover:opacity-90   shadow-md   ",
                                                    children: "Save Changes"
                                                }, void 0, false, {
                                                    fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                                    lineNumber: 1414,
                                                    columnNumber: 19
                                                }, this)
                                            ]
                                        }, void 0, true, {
                                            fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                            lineNumber: 1410,
                                            columnNumber: 17
                                        }, this)
                                    ]
                                }, void 0, true, {
                                    fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                    lineNumber: 1369,
                                    columnNumber: 15
                                }, this)
                            }, void 0, false, {
                                fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                lineNumber: 1368,
                                columnNumber: 13
                            }, this)
                        ]
                    }, void 0, true, {
                        fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                        lineNumber: 1246,
                        columnNumber: 26
                    }, this) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Fragment"], {
                        children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
                            className: "px-1 lg:px-3",
                            children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$components$2f$route$2f$category$2d$list$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["CategoryList"], {}, void 0, false, {
                                fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                                lineNumber: 1430,
                                columnNumber: 15
                            }, this)
                        }, void 0, false, {
                            fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                            lineNumber: 1429,
                            columnNumber: 13
                        }, this)
                    }, void 0, false)
                ]
            }, void 0, true, {
                fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
                lineNumber: 1239,
                columnNumber: 9
            }, this)
        }, void 0, false, {
            fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
            lineNumber: 1238,
            columnNumber: 7
        }, this)
    }, void 0, false, {
        fileName: "[project]/app/(dashboard)/route/fare-table/page.tsx",
        lineNumber: 1237,
        columnNumber: 5
    }, this);
}
_s(FareMatrixUI, "9nBFBj/ssFolCMW186kg6EYqXZs=", false, function() {
    return [
        __TURBOPACK__imported__module__$5b$project$5d2f$context$2f$navbar$2d$context$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useNavbar"]
    ];
});
_c = FareMatrixUI;
var _c;
__turbopack_context__.k.register(_c, "FareMatrixUI");
if (typeof globalThis.$RefreshHelpers$ === 'object' && globalThis.$RefreshHelpers !== null) {
    __turbopack_context__.k.registerExports(__turbopack_context__.m, globalThis.$RefreshHelpers$);
}
}),
]);

//# sourceMappingURL=_6402bd49._.js.map