"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),p=require("../containers/button.js");require("../containers/card.js");var q=require("../../lib/cn.js"),v=require("../icons/ico-external-link.js");require("../primitives/button.js"),require("../primitives/checkbox.js"),require("../primitives/dropdown-selector.js"),require("../primitives/popover.js"),require("../primitives/radio.js"),require("../primitives/segmented-control.js"),require("../primitives/switch.js");var d=require("../primitives/text.js"),a=require("react");require("../utils/client-asset-logo.js"),require("react-qrcode-logo"),require("../utils/secured-by-magic.js"),require("../containers/header.js"),require("../containers/menu.js"),require("../containers/modal.js"),require("../containers/overlay.js");var c=require("create-slots");const x=c.createSlot(({children:i,...r})=>e.jsx("div",{className:"flex items-center justify-center",children:a.Children.map(i,t=>a.cloneElement(t,r))})),m=c.createSlot(({children:i,...r})=>e.jsx("div",{className:"flex items-center justify-center",children:a.Children.map(i,t=>a.cloneElement(t,r))})),f=a.forwardRef(({className:i,...r},t)=>{const{primaryLabel:n,secondaryLabel:o,isExternalLink:h}=r;return c.createHost(r.children,u=>{const s=u.get(x),l=u.get(m);return e.jsx(p.ButtonContainer,{ref:t,className:q.cn("p-4 bg-neutral-quaternary hover:bg-neutral-secondary",i),borderRadius:"0.5rem",expand:!0,...r,children:e.jsxs("div",{className:"flex flex-row items-center justify-between w-full",children:[e.jsxs("div",{className:"flex flex-row items-center gap-2.5",children:[s&&{...s,props:{height:24,...s.props,className:s.props.color?void 0:"text-brand-base"}},e.jsxs("div",{className:"flex flex-col gap-0 items-start",children:[e.jsxs("div",{className:"flex flex-row items-center gap-2.5",children:[typeof n=="string"?e.jsx(d.default,{fontWeight:"medium",children:n}):n,h&&e.jsx(v.default,{width:14,height:14,color:"var(--color-neutral-primary)"})]}),o&&e.jsx(d.default,{size:"sm",fontColor:"text.tertiary",children:o})]})]}),e.jsx("div",{className:"flex flex-row items-center gap-2.5",children:l&&{...l,props:{...l.props,className:l.props.color?void 0:"text-neutral-primary",width:16,height:16}}})]})})})});f.displayName="NavigationButton";const g=Object.assign(f,{LeadingIcon:x,TrailingIcon:m});exports.default=g;
//# sourceMappingURL=navigation-button.js.map
