PageSourceSearch

https://brale.xyz/assets/call-to-action-CF6l-IoG.js

js brale.xyz collected 2026-10-03 23:05:23 UTC 15,120 bytes, 16 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/mermaid.core-B8_BvS7I.js","assets/jsx-runtime-vlDczagz.js","assets/chunk-Y2CYZVJY-DsF7k-Jl.js","assets/src-f6u0kRFs.js","assets/chunk-DU6HZSFF-8cGoRfcR.js","assets/chunk-75Z2AOVW-Cx88wggi.js","assets/dist-dNxLp4zK.js","assets/chunk-PWAF6VOD-BpLFqcPd.js","assets/chunk-GMAD6QVW-csO9AnVH.js","assets/chunk-P2QGCYS3-BmDBnaQA.js","assets/chunk-4HAMMTFA-Dn0ofjiN.js","assets/rough.esm-Dy-Kn_BL.js","assets/chunk-GVQU2GXP-DG62ik_E.js","assets/chunk-OSK3NFVY-BpvbxtRo.js","assets/line-CWm2aDzd.js","assets/path-fybaL0A-.js","assets/array-BifhSqXX.js","assets/graphlib-DS17s2tU.js","assets/chunk-L3NEJ4N5-Q2BhSpdY.js"])))=>i.map(i=>d[i]);
2import{h as e,ot as t,rt as n,t as r}from"./jsx-runtime-vlDczagz.js";import{H as i,R as a,S as o,T as s,W as c,c as l,g as u,q as d}from"./layout-1UWg9V41.js";import{t as f}from"./logo-mark-frame-M7vlT7av.js";import{t as p}from"./format-url-DGij5w77.js";import{t as m}from"./logo-badge-OhbkV0q_.js";import{t as h}from"./referral-link-92UVypwT.js";var g=r(),_=`block !h-full !w-full !border-0 dark:!border-0`,v=`relative z-[1] size-12 shrink-0 overflow-hidden rounded-full border border-border-subtle bg-fill`;function y({logoMark:e,label:t}){if(e.type===`logo-badge`)return(0,g.jsx)(m,{id:e.id,variant:`strip`,decorative:!1,className:`!size-12`});if(e.type===`blockchain`)return(0,g.jsx)(f,{className:v,decorative:!1,label:t,children:(0,g.jsx)(s,{chainId:e.id,className:_})});let n=u.find(t=>t.id===e.id);return n==null?null:(0,g.jsx)(f,{className:v,decorative:!1,label:t,labelledByChildImg:!0,children:(0,g.jsx)(`img`,{src:n.icon,alt:t,className:`block size-full`})})}function b({quote:e,className:t}){let n=`${e.company} logo`,r=e.logo!=null&&e.logo!==``&&e.url,a=e.logoMark==null?null:y({logoMark:e.logoMark,label:n}),o=a!=null||r,s=null;return a==null?r&&(s=(0,g.jsx)(`img`,{alt:n,src:e.logo,className:`border-border h-12 w-12 rounded-full border`})):s=a,(0,g.jsxs)(`div`,{className:`not-prose border-border bg-surface my-8 rounded-2xl border p-6 lg:my-12 lg:p-8 print:my-8 print:p-4 ${t??``}`,children:[(0,g.jsx)(`div`,{className:`mb-6 lg:mb-8`,children:(0,g.jsxs)(`p`,{className:`text-foreground mt-0 text-xl leading-normal font-semibold text-balance sm:text-2xl sm:leading-normal print:!text-base`,children:[`“`,e.quote,`”`]})}),(0,g.jsxs)(`div`,{className:`flex items-center gap-6 print:gap-4`,children:[e.photo&&(0,g.jsx)(`img`,{alt:e.author,src:e.photo,className:`border-border h-24 w-24 shrink-0 rounded-full border object-cover print:h-16 print:w-16`}),(0,g.jsxs)(`div`,{children:[(0,g.jsx)(`div`,{className:`text-foreground !mb-0 font-semibold`,children:e.author}),e.title&&(0,g.jsxs)(`span`,{children:[e.title,`, `]}),(0,g.jsx)(`span`,{children:e.company})]}),o&&s!=null&&(0,g.jsx)(g.Fragment,{children:e.url?(0,g.jsx)(`a`,{href:e.url,className:`group border-border hidden border-l pl-6 md:inline-flex md:items-center`,children:(0,g.jsx)(`span`,{className:`ease-out-quart inline-block origin-center transition duration-300 group-hover:scale-110 group-focus-visible:scale-110 motion-reduce:transition-none motion-reduce:group-hover:scale-100 motion-reduce:group-focus-visible:scale-100`,children:s})}):(0,g.jsx)(`div`,{className:`border-border hidden border-l pl-6 md:inline-flex md:items-center`,children:s})})]}),e.source&&(0,g.jsx)(`div`,{className:`not-prose mt-8 text-sm text-gray-500 dark:text-gray-400`,children:(0,g.jsxs)(`div`,{className:`flex items-center gap-x-1`,children:[(0,g.jsx)(`span`,{children:`Source: `}),(0,g.jsxs)(i,{href:e.source,className:`group text-foreground flex items-center gap-x-1 underline hover:no-underline print:no-underline`,children:[(0,g.jsx)(`span`,{children:p(e.source)}),(0,g.jsx)(c,{className:`text-foreground size-3 -rotate-45 transition-transform duration-200 group-hover:translate-x-0.5 group-hover:-translate-y-0.5 print:hidden`,icon:d})]})]})})]},e.author)}var x=t(n(),1),S=`mermaid flex items-center justify-center border border-border bg-surface round py-6 lg:py-8 mt-6 mb-12`,C=`<style>
3.actor{stroke:var(--mermaid-actor-border)!important;
3fill:var(--mermaid-actor-fill)!important}
4text.actor>tspan,.labelText,.labelText>tspan{fill:var(--mermaid-actor-text)!important}
5.actor-line{stroke:var(--mermaid-lifeline)!important}
6.messageLine0,.messageLine1{stroke:var(--mermaid-signal)!important}
7[id$="-arrowhead"] path,[id$="-crosshead"] path{fill:var(--mermaid-signal)!important;stroke:var(--mermaid-signal)!important}
8.messageText{fill:var(--mermaid-signal-text)!important}
9.note{stroke:var(--mermaid-note-border)!important;fill:var(--mermaid-note-fill)!important}
10.noteText,.noteText>tspan{fill:var(--mermaid-note-text)!important}
11.loopText,.loopText>tspan,.sectionTitle,.sectionTitle>tspan{fill:var(--mermaid-loop-text)!important}
12.loopLine{stroke:var(--mermaid-note-border)!important;fill:var(--mermaid-note-border)!important}
13.activation0,.activation1,.activation2{fill:var(--mermaid-activation-fill)!important;stroke:var(--mermaid-activation-border)!important}
14[id$="-sequencenumber"],[id$="-sequencenumber"] circle{fill:var(--mermaid-sequence-badge-fill)!important}
15text.sequenceNumber,.sequenceNumber{fill:var(--mermaid-sequence-badge-text)!important}
16</style>`;function w(e){let t=e.indexOf(`</style>`);return t===-1?e.replace(`<svg`,`${C}<svg`):`${e.slice(0,t+8)}${C}${e.slice(t+8)}`}var T={background:`#0f0f10`,primaryColor:`#1c1c21`,primaryTextColor:`#f4f4f5`,primaryBorderColor:`#7c86ff`,actorBkg:`#1c1c21`,actorBorder:`#7c86ff`,actorTextColor:`#f4f4f5`,actorLineColor:`#7c86ff`,signalColor:`#7c86ff`,signalTextColor:`#f4f4f5`,noteBkgColor:`#18181b`,noteBorderColor:`#3f3f46`,noteTextColor:`#9f9fa9`,labelTextColor:`#f4f4f5`,loopTextColor:`#9f9fa9`,activationBkgColor:`#141416`,activationBorderColor:`#3f3f46`,sequenceNumberColor:`#09090b`,lineColor:`#7c86ff`,textColor:`#f4f4f5`},E={background:`#ececed`,primaryColor:`#e8e6fe`,primaryTextColor:`#18181b`,primaryBorderColor:`#615fff`,actorBkg:`#e8e6fe`,actorBorder:`#615fff`,actorTextColor:`#18181b`,actorLineColor:`#615fff`,signalColor:`#615fff`,signalTextColor:`#18181b`,noteBkgColor:`#ffffff`,noteBorderColor:`#d4d4d8`,noteTextColor:`#3f3f46`,labelTextColor:`#18181b`,loopTextColor:`#3f3f46`,activationBkgColor:`#f4f4f5`,activationBorderColor:`#d4d4d8`,sequenceNumberColor:`#ffffff`,lineColor:`#615fff`,textColor:`#18181b`},D=e=>e?T:E;function O({className:e=``}){return(0,g.jsx)(`div`,{className:`${S} ${e}`,children:(0,g.jsx)(`div`,{className:`h-32 w-full animate-pulse rounded bg-gray-200 dark:bg-gray-700`,"aria-hidden":!0})})}function k({chart:t,className:n=``}){let[r]=l(),i=(0,x.useRef)(null),a=`mermaid-svg-${(0,x.useId)().replace(/:/g,``)}`;return(0,x.useEffect)(()=>{let n=!1;return e(async()=>{let{default:e}=await import(`./mermaid.core-B8_BvS7I.js`);return{default:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18])).then(({default:e})=>{if(n||i.current==null)return;let o=r===`dark`;return e.initialize({startOnLoad:!1,theme:`base`,themeVariables:D(o)}),e.render(a,t)}).then(e=>{e==null||n||i.current==null||(i.current.innerHTML=w(e.svg))}).catch(e=>{!n&&i.current&&(i.current.innerHTML=`<pre style='color:red'>${e.message}</pre>`)}),()=>{n=!0}},[t,r,a]),(0,g.jsx)(`div`,{className:`${S} ${n}`,ref:i})}function A(e){let[t,n]=(0,x.useState)(!1);return(0,x.useEffect)(()=>{n(!0)},[]),t?(0,g.jsx)(k,{...e}):(0,g.jsx)(O,{className:e.className})}function j({srcLight:e,srcDark:t,alt:n,externalSrc:r,externalSrcTitle:a,containerClass:o,imgClass:s,cropClass:l,caption:u}){return(0,g.jsxs)(`div`,{className:`not-prose my-10 flex flex-col gap-y-4`,children:[(0,g.jsx)(`div`,{className:`round border-border bg-surface overflow-hidden border ${o??``}`,children:(0,g.jsxs)(`div`,{className:l,children:[e&&(0,g.jsx)(`img`,{src:e,alt:n,className:`${s??``} ${t?`block dark:hidden`:`block`}`}),t&&(0,g.jsx)(`img`,{src:t,alt:n,className:`${s??``} ${e?`hidden dark:block`:`block`}`})]})}),(r||u)&&(0,g.jsxs)(`div`,{className:`not-prose text-foreground-muted flex flex-col gap-y-3 text-sm`,children:[u&&(0,g.jsx)(`div`,{className:`text-foreground-muted md:hidden`,children:u}),(0,g.jsx)(`div`,{className:`flex`,children:(0,g.jsxs)(`div`,{className:`flex ${r&&u?`flex-col gap-y-3 md:w-full md:flex-row md:items-center md:justify-between md:gap-x-4`:``}`,children:[r&&(0,g.jsxs)(`div`,{className:`flex shrink-0 items-center gap-x-1`,children:[(0,g.jsx)(`span`,{children:`Source: `}),(0,g.jsxs)(i,{href:r,title:a,className:`blog-post-inline-link group inline-flex items-center gap-x-1 print:no-underline`,children:[(0,g.jsx)(`span`,{children:p(r)}),(0,g.jsx)(c,{className:`text-foreground-muted group-hover:text-foreground h-4 w-4 shrink-0 -rotate-45 transition-transform duration-200 group-hover:translate-x-0.5 group-hover:-translate-y-0.5 print:hidden`,icon:d})]})]}),u&&(0,g.jsx)(`div`,{className:`text-foreground-muted hidden md:block`,children:u})]})})]})]})}function M(e,t=`sm`){let n=`!not-prose m-0 px-1.5 !py-0 ${t===`xs`?`text-xs`:`text-sm`} font-medium`;switch(e){case`GET`:return`${n} !bg-green-100 text-green-800 border !border-green-400 dark:!bg-green-900/20 dark:text-green-400 dark:!border-green-800`;case`POST`:return`${n} !bg-blue-100 text-blue-800 border !border-blue-400 dark:!bg-blue-900/20 dark:text-blue-400 dark:!border-blue-800`;default:return`${n} !bg-gray-100 text-gray-800 border !border-gray-400 dark:!bg-gray-900/20 dark:text-gray-400 dark:!border-gray-800`}}function N({method:e,endpoint:t,variant:n=`block`,className:r=``}){return n===`inline`?(0,g.jsxs)(`div`,{className:`not-prose border-border bg-fill-2 flex max-w-full items-center rounded-xl border pl-2 text-sm ${r}`,children:[(0,g.jsx)(`code`,{className:M(e),children:e}),(0,g.jsx)(`div`,{className:`min-w-0 flex-1 overflow-x-auto py-2 pr-2`,children:(0,g.jsx)(`code`,{className:`m-0 border-none 
16!bg-transparent text-sm leading-snug whitespace-nowrap`,children:t})})]}):(0,g.jsxs)(`div`,{className:`round border-border bg-surface my-6 flex items-center border pl-4 ${r}`,children:[(0,g.jsx)(`code`,{className:M(e),children:e}),(0,g.jsx)(`div`,{className:`flex-1 overflow-x-auto py-4 break-all whitespace-pre-wrap`,children:(0,g.jsx)(`code`,{className:`m-0 grow border-none !bg-transparent`,children:t})})]})}function P(e){return e.heading??e.title??``}function F(e){let t=P(e);return typeof t==`string`?t:``}var I=`mx-0.5 whitespace-nowrap rounded-md border border-border bg-fill-2 px-0 py-[0.1875rem] font-normal !text-sm text-foreground`;function L(e){return e.includes("`")?e.split(/(`[^`]+`)/).map((e,t)=>e.startsWith("`")&&e.endsWith("`")?(0,g.jsx)(`code`,{className:I,children:e.slice(1,-1)},t):e):e}function R(e){return typeof e!=`string`||!e.includes("`")?e:L(e)}function z({icon:e,alt:t}){let n=a(e),r=`h-4 w-4 flex-shrink-0 m-0`;return n==null?(0,g.jsx)(`img`,{src:e,alt:t,className:r}):(0,g.jsx)(c,{className:`${r} text-brand-light`,icon:n})}var B=`not-prose round border border-border p-6 bg-fill flex items-start gap-x-3 ml-2`,V=`hover:border-gray-400 hover:dark:border-gray-600 global-hover-transition no-underline group`,H=`m-0 text-base font-semibold leading-relaxed text-foreground`,U=`m-0 text-base font-normal leading-relaxed text-foreground-muted`;function W({detail:e}){return Array.isArray(e)?(0,g.jsx)(`ul`,{className:`m-0 list-disc space-y-1 pl-5`,children:e.map((e,t)=>(0,g.jsx)(`li`,{className:U,children:L(e)},t))}):(0,g.jsx)(`p`,{className:U,children:L(e)})}function G({step:e}){return e.intro==null&&e.detail==null&&e.outro==null?null:(0,g.jsxs)(`div`,{className:`flex flex-col gap-2 ${e.icon?`pl-7`:``}`,children:[e.intro==null?null:(0,g.jsx)(`p`,{className:U,children:L(e.intro)}),e.detail==null?null:(0,g.jsx)(W,{detail:e.detail}),e.outro==null?null:(0,g.jsx)(`p`,{className:U,children:L(e.outro)})]})}function K({step:e}){return e.http==null?null:(0,g.jsx)(`div`,{className:e.icon?`pl-7`:void 0,children:(0,g.jsx)(N,{variant:`inline`,method:e.http.method,endpoint:e.http.endpoint,className:`max-w-full`})})}function q({step:e}){return(0,g.jsxs)(`div`,{className:`flex items-center gap-x-3`,children:[e.icon?(0,g.jsx)(z,{icon:e.icon,alt:F(e)}):null,(0,g.jsx)(`p`,{className:H,children:e.heading})]})}function J({step:e}){return(0,g.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-col gap-2`,children:[(0,g.jsx)(q,{step:e}),(0,g.jsx)(G,{step:e}),(0,g.jsx)(K,{step:e})]})}function Y({step:e}){return(0,g.jsxs)(`div`,{className:`flex min-w-0 flex-1 items-center gap-x-3`,children:[e.icon?(0,g.jsx)(z,{icon:e.icon,alt:F(e)}):null,(0,g.jsx)(`p`,{className:`min-w-0 flex-1 ${H}`,children:R(e.title??``)})]})}function X({step:e}){return e.heading==null?(0,g.jsx)(Y,{step:e}):(0,g.jsx)(J,{step:e})}function Z({step:e,isLink:t}){return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(`div`,{className:`flex min-w-0 flex-1 items-start`,children:(0,g.jsx)(X,{step:e})}),t&&(0,g.jsx)(c,{className:`text-foreground-muted m-0 mt-0.5 size-3 flex-shrink-0 -rotate-45 transition-transform duration-300 group-hover:translate-x-1 group-hover:-translate-y-1`,icon:d})]})}function Q({steps:e}){let t=e.some(e=>e.label!==void 0);return(0,g.jsxs)(`div`,{className:`relative mt-6 mb-10 ${t?`pl-14`:`pl-8`}`,children:[e.length>1&&(0,g.jsx)(`div`,{className:`absolute ${t?`left-7`:`left-[22px]`}
16 top-14 bottom-28 w-px bg-[linear-gradient(to_bottom,#D0D5DD_0%,#D0D5DD_75%,transparent_100%)] sm:top-9 sm:bottom-20 dark:bg-[linear-gradient(to_bottom,#424242_0%,#424242_75%,transparent_100%)]`,"aria-hidden":!0}),(0,g.jsx)(`ol`,{className:`m-0 flex list-none flex-col gap-0 p-0`,children:e.map((e,n)=>(0,g.jsx)(`li`,{className:`relative flex gap-4`,children:(0,g.jsxs)(`div`,{className:`relative min-w-0 flex-1`,children:[(0,g.jsx)(`div`,{className:`border-border bg-surface text-foreground absolute top-6 left-0 flex flex-shrink-0 -translate-x-full items-center justify-center rounded-full border font-semibold ${t?`h-8 w-14 text-xs`:`h-8 w-8 text-sm`}`,children:e.label??n+1}),e.url?(0,g.jsx)(i,{href:e.url,className:`${B} ${V} flex items-start justify-between`,children:(0,g.jsx)(Z,{step:e,isLink:!0})}):(0,g.jsx)(`div`,{className:`${B}`,children:(0,g.jsx)(Z,{step:e,isLink:!1})})]})},n))})]})}function $({seoRef:e,ctaUrl:t,button:n,className:r}){let i=t??h({seoRef:e});return(0,g.jsx)(o,{variant:`primary`,href:i,className:r,children:n??`Sign up`})}function ee({seoRef:e,heading:t,subheading:n,button:r,ctaUrl:i,externalUrl:a,secondaryButton:s,secondaryCtaUrl:c,secondaryExternalUrl:l,className:u}){return(0,g.jsxs)(`div`,{className:`not-prose border-border bg-surface my-16 flex flex-col items-start gap-y-6 rounded-2xl border p-6 md:p-8 ${u??``}`,children:[(0,g.jsxs)(`div`,{children:[(0,g.jsx)(`span`,{className:`text-xl font-semibold text-black dark:text-white`,children:t?`${t}`:`More to come`}),n&&(0,g.jsx)(`p`,{className:`text-foreground-muted mt-2 text-base font-normal`,children:n})]}),(0,g.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[a?(0,g.jsx)(o,{variant:`primary`,href:i,external:!0,children:r}):(0,g.jsx)($,{seoRef:e,ctaUrl:i,button:r}),s&&(0,g.jsx)(o,{variant:`outline`,href:c,external:l,children:s})]})]})}export{j as a,N as i,Q as n,A as o,I as r,b as s,ee as t};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.