"use client";
'use strict';

var jsxRuntime = require('react/jsx-runtime');
var nextjs = require('@clerk/nextjs');
var server = require('@windrun-huaiin/base-ui/components/server');

function ClerkOrganizationClient({ data }) {
    return (jsxRuntime.jsx("div", { className: ` ms-3 me-2 flex items-center h-10 rounded-full border shadow-lg ${data.className}`, children: jsxRuntime.jsx("div", { className: "flex items-center gap-x-4 w-full min-w-40", children: jsxRuntime.jsxs(nextjs.OrganizationSwitcher, { appearance: {
                    elements: {
                        organizationSwitcherTrigger: "w-40 h-10 border !rounded-full bg-transparent flex items-center justify-between box-border",
                        organizationSwitcherTriggerIcon: "",
                        userButtonAvatarBox: "w-8 h-8 border rounded-full",
                    },
                }, children: [jsxRuntime.jsx(nextjs.OrganizationSwitcher.OrganizationProfilePage, { label: data.homepage, url: "/", labelIcon: jsxRuntime.jsx(server.globalLucideIcons.D8, {}) }), jsxRuntime.jsx(nextjs.OrganizationSwitcher.OrganizationProfilePage, { labelIcon: jsxRuntime.jsx(server.globalLucideIcons.ReceiptText, {}), label: data.terms, url: `/${data.locale}/legal/terms` }), jsxRuntime.jsx(nextjs.OrganizationSwitcher.OrganizationProfilePage, { labelIcon: jsxRuntime.jsx(server.globalLucideIcons.ShieldUser, {}), label: data.privacy, url: `/${data.locale}/legal/privacy` })] }) }) }));
}

exports.ClerkOrganizationClient = ClerkOrganizationClient;
