import{u as c,j as o,e as l}from"./vendor-rThclpOQ.js";import{T as d}from"./tabs-CoUCsqyz.js";import{T as u,a as b,b as g}from"./tabs-NZTgQ56C.js";import{D as h}from"./layout-Dtu8Rjtg.js";import{g as x}from"./route-B4ZMN77y.js";import j from"./google-BRmYnrNk.js";import f from"./recaptcha-4HKYkPZL.js";import"./utils-8KAaAB9H.js";import"./sidebar-Buyv7mEV.js";import"./index-DquVdLUg.js";import"./button-ZcsoqUQn.js";import"./separator-Cir9hccx.js";import"./sheet-BfC102Vr.js";import"./tooltip-WOIaUmuC.js";import"./main-CC75Iw88.js";import"./sonner-CgbrDmPW.js";import"./index-CWNIUFqh.js";import"./appearance-Bwg83W1G.js";import"./dropdown-menu-Cm0H42C1.js";import"./app-BsPpMpSR.js";/* empty css            */import"./language-BmlkXzFK.js";import"./notification-Bti7isEF.js";import"./popover-otAaS-4X.js";import"./scroll-area-BCwyUKIK.js";import"./app-logo-Bj2M2lhk.js";import"./accordion-by19KtHq.js";import"./avatar-BsP_s7dr.js";import"./use-lang-BK6P2WMc.js";import"./input-error-Br4ngfdE.js";import"./loading-button-DKhpmf6V.js";import"./switch-Bkpv9GhG.js";import"./switch-h0WX32ka.js";import"./card-HXna_7vU.js";import"./input-BeqyurrI.js";import"./label-CtY1vfZY.js";import"./inertia-SZXqLvQm.js";const N=({auths:s})=>{const{props:a,url:p}=c(),e=x(p),{translate:n}=a,{common:T}=n,i=s.map(r=>{let t;switch(r.sub_type){case"google":t=j;break;case"recaptcha":t=f;break;default:t=({auth:m})=>o.jsx("div",{children:"No component found"});break}return{...r,Component:t}});return o.jsx("section",{className:"md:px-3",children:o.jsxs(d,{value:e.tab??i[0].sub_type,className:"grid grid-rows-1 gap-5 md:grid-cols-4",children:[o.jsx("div",{children:o.jsx(u,{className:"horizontal-tabs-list",children:i.map(({id:r,title:t,sub_type:m})=>o.jsx(b,{value:m,className:"horizontal-tabs-trigger",onClick:()=>l.get(route("settings.auth0",{tab:m})),children:t},r))})}),o.jsx("div",{className:"md:col-span-3",children:i.map(r=>o.jsx(g,{value:r.sub_type,className:"m-0",children:o.jsx(r.Component,{auth:r},r.id)},r.id))})]})})};N.layout=s=>o.jsx(h,{children:s});export{N as default};
