import{jsxs as t,jsx as r}from"react/jsx-runtime";import"clsx";import"./badge-CFi7bqqA.js";import"./button-BvFBRYHq.js";import{P as n,T as l}from"./TopupPage-q8459V98.js";import{S as f}from"./ServerOffline-CxFwKZLZ.js";import{F as o}from"./layout-kzl3pk8B.js";import{Head as i}from"@inertiajs/react";import"@radix-ui/react-slot";import"class-variance-authority";import"./utils-CMbmcP35.js";import"tailwind-merge";import"./card-Zg0WOx-j.js";import"lucide-react";import"react";import"axios";import"./select-DfhewM4T.js";import"@radix-ui/react-select";import"./label-DMnntKPk.js";import"@radix-ui/react-label";import"./input-qMvM9qch.js";import"./app-sidebar-header-BX2s-HO_.js";import"@radix-ui/react-collapsible";import"./dropdown-menu-BP80qPHw.js";import"@radix-ui/react-dropdown-menu";import"./app-logo-icon-beRg1XGs.js";import"./fonts-CqawFh47.js";import"@radix-ui/react-dialog";import"@radix-ui/react-tooltip";import"@radix-ui/react-avatar";import"../app.js";/* empty css     */import"sonner";import"react-dom/client";import"./main-CWwoxgdq.js";import"./toaster-DuLpwsc2.js";import"./WelcomeModal-BFw-aFh5.js";import"./dialog-BfGkTFdF.js";import"./checkbox-DXBO59MA.js";import"@radix-ui/react-checkbox";const p=[{title:"Dashboard",href:"/dashboard"},{title:"Top Up",href:"#"},{title:"Tripay",href:"/dashboard/topup/tripay"}];function $({characters:e,packages:a,settings:m,userGold:s,serverOnline:d=!0}){return d?m?.is_active?t(o,{breadcrumbs:p,className:"md:h-screen md:overflow-hidden",children:[r(i,{title:"Top Up - Tripay"}),r(l,{characters:e,packages:a,settings:m,userGold:s,paymentGateway:"tripay",submitRoute:"topup.tripay.pay"})]}):t(o,{breadcrumbs:p,className:"h-screen overflow-hidden",children:[r(i,{title:"Top Up - Tripay"}),r(n,{})]}):t(o,{breadcrumbs:p,className:"h-screen overflow-hidden",children:[r(i,{title:"Top Up - Tripay"}),r(f,{})]})}export{$ as default};
