{"version":3,"file":"Integrations.ChBlpnNj.mjs","names":["React.useRef","React.useState","React.useMemo","__esmMin","le","init_ssg_sandbox_shims","_e","pe","p","ce","init_npm_react_18_3_1","de","window","addPropertyControls","init_framer_BEr93sCn","ControlType","init_BasaltKit_8Vri0n","EXPO","isCanvas","styleTag","cornersBg","fontsLink","F","usePageWidth","Eyebrow","bpClass","LINE_CSS","AXES","Heading","Button","init_Parts_DjErWw","CategoryFilter","ref","w","FilterTabs","categories","CATS","CatalogHeader","props","anchor","CSS_BASE","eb","eyebrow","h2","title","tone","filter","IntegrationCard","useRise","reveal","beta","norm","status","badge","kind","solid","badgeStyle","mk","mark","link","newTab","category","CSS_CARD","cardText","CatalogNote","state","setState","on","d","next","prev","out","filteredText","text","ConnectorSdk","term","outs","output","l","CSS_TERM","buttonLabel","buttonLink","file","highlight","code","o","i","RequestIntegration","card","CSS_REQ","MONO","REV","reduced","batch","batchRaf","runBatch","S","parseTabs","matches","itemOf","applyFilter","CSS_FILTER","CAT_CONTROL","HL_RE","SDK_CODE","SDK_OUT","init_Integrations","init_jsx_runtime","list","ra","a","rb","b","tf","k","el","n","enabled","clear","io","area","s","x","v","y","tab","c","cat","node","ch","cards","shown","item","was","fade","tabs","cur","setCur","curRef","raf","mo","h","t","pick","full","last","m","cls"],"sources":["https:/framerusercontent.com/modules/4I5fELWuRySH3Ssd5SHE/SBaYMdbFg0wkPdOaCiwV/Integrations.js"],"sourcesContent":["// Integrations — sections of the Basalt Integrations list page (/integrations), in page order. Prefix `bit-`.\n// Hero = Inner PageHero (see Integrations.md). Shared CTA + footer come from the \"Main + CTA\" template.\n//   CatalogHeader     · section_catalog top — section line, eyebrow + two-tone H2 (G6), filter tabs (CategoryFilter)\n//   CategoryFilter    · the tab menu alone (All / Sources / Destinations / BI & notebooks / AI & ML). Hides the native\n//                       Collection List items whose IntegrationCard category does not match.\n//   IntegrationCard   · one catalog card for a native Collection List item (CMS-bound). G18 cards: y 40, scale .98,\n//                       1 s expo-out, 0.06 s apart for cards that enter together, at 88 %.\n//   CatalogNote       · \"64 in the catalog · 24 shown here\" + the section's bottom padding. {count} = visible cards.\n//   ConnectorSdk      · section_sdk — copy + button left, code terminal right (G8 reveal: y 48, 1.2 s, at 90 %).\n//   RequestIntegration· section_request — \"Missing a source?\" card with a link button (G8 reveal). No form on live.\n// Reveals start only for elements below the trigger line at load; reduced motion and the canvas show the final state.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{C,F,AXES,EXPO,fontsLink,styleTag,isCanvas,usePageWidth,bpClass,cornersBg,LINE_CSS}from\"https://framer.com/m/BasaltKit-8Vri0n.js\";import{Heading,Eyebrow,Button}from\"https://framer.com/m/Parts-DjErWw.js\";/* ---------------- shared ---------------- */const MONO=`font-family:${F.mono};font-stretch:87.5%;font-variation-settings:\"wdth\" 87.5`;const CSS_BASE=`${LINE_CSS}\n.bit{position:relative;width:100%;--gut:40px;--pad:40px;font-family:${F.sans};font-size:16px;line-height:155%;color:${C.fg};-webkit-font-smoothing:antialiased}\n.bit *{box-sizing:border-box}\n.bit a{color:inherit;text-decoration:none}\n.bit p,.bit h3{margin:0}\n.bit :focus-visible{outline:1px solid ${C.fg};outline-offset:3px}\n.bit .g{padding:0 var(--gut)}\n.bit .c{max-width:1280px;margin:0 auto;padding:0 var(--pad)}\n.bit .pt{padding-top:112px}\n.bit .pb{padding-bottom:112px}\n.bit .pm{padding:112px 0}\n.bit.is-md{--gut:32px;--pad:28px}\n.bit.is-md .pt{padding-top:88px}.bit.is-md .pb{padding-bottom:88px}.bit.is-md .pm{padding:88px 0}\n.bit.is-sm{--gut:12px;--pad:16px}\n.bit.is-sm .pt{padding-top:72px}.bit.is-sm .pb{padding-bottom:72px}.bit.is-sm .pm{padding:72px 0}\n.bit .mono{${MONO};font-size:11px;line-height:140%;letter-spacing:.01em;text-transform:uppercase}\n.bit .cf{position:relative}\n.bit .cf::after{content:\"\";position:absolute;inset:0;pointer-events:none;z-index:1;background:${cornersBg(C.mark,9)}}\n.bit .card{display:flex;flex-direction:column;gap:16px;padding:28px;background:${C.bg2};box-shadow:inset 0 0 0 1px ${C.line};transition:background-color 250ms ease}\n.bit .sh{display:grid;grid-template-columns:1fr 2.6fr;gap:32px;margin-bottom:80px}\n.bit.is-md .sh{grid-template-columns:1fr;gap:20px;margin-bottom:56px}\n`;const REV={cards:{y:40,s:.98,d:1,at:.88},reveal:{y:48,s:1,d:1.2,at:.9}};const reduced=()=>typeof window!==\"undefined\"&&!!window.matchMedia&&window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;/* Single element rises in when it reaches the trigger line. Cards that enter in the same frame are\n   staggered 0.06 s in reading order (G18 \"cards\" stagger across Collection List items). */let batch=[];let batchRaf=0;const runBatch=k=>{batchRaf=0;const list=batch.sort((a,b)=>{const ra=a.getBoundingClientRect(),rb=b.getBoundingClientRect();return Math.abs(ra.top-rb.top)>4?ra.top-rb.top:ra.left-rb.left;});batch=[];const tf=`translateY(${k.y}px) scale(${k.s})`;list.forEach((el,n)=>{el.style.opacity=\"\";el.style.transform=\"\";el.animate([{opacity:0,transform:tf},{opacity:1,transform:\"none\"}],{duration:k.d*1e3,delay:n*60,easing:EXPO,fill:\"backwards\"});});};const useRise=(ref,kind,enabled=true)=>{React.useLayoutEffect(()=>{const el=ref.current;if(!enabled||!el||isCanvas()||reduced())return;const k=REV[kind];if(el.getBoundingClientRect().top<window.innerHeight*k.at)return;const tf=`translateY(${k.y}px) scale(${k.s})`;el.style.opacity=\"0\";el.style.transform=tf;const clear=()=>{el.style.opacity=\"\";el.style.transform=\"\";};const io=new IntersectionObserver(([e])=>{if(!e.isIntersecting)return;io.disconnect();if(kind===\"cards\"){// stays hidden until the batch starts in the next frame\nbatch.push(el);if(!batchRaf)batchRaf=requestAnimationFrame(()=>runBatch(k));}else{clear();el.animate([{opacity:0,transform:tf},{opacity:1,transform:\"none\"}],{duration:k.d*1e3,easing:EXPO,fill:\"backwards\"});}},{rootMargin:`0px 0px -${Math.round((1-k.at)*100)}% 0px`});io.observe(el);return()=>{io.disconnect();batch=batch.filter(b=>b!==el);clear();};},[enabled]);};const h2=(text,tone)=>/*#__PURE__*/_jsx(Heading,{text:text,tone:tone,tag:\"h2\",size:\"h2\",align:\"left\",reveal:\"scroll\"});const eb=text=>/*#__PURE__*/_jsx(Eyebrow,{text:text,appear:false,delay:0});const S=(title,area=false)=>({type:ControlType.String,title,displayTextArea:area});/* ---------------- CategoryFilter ---------------- */// Tabs: \"Label\" or \"Label = category\". Without \"=\", a tab matches a card category equal to the label,\n// or to the label without a trailing \"s\" (\"Sources\" → \"Source\"). The first tab (\"All\") shows everything.\nconst norm=s=>(s||\"\").toLowerCase().replace(/&amp;/g,\"&\").replace(/\\s+/g,\" \").trim();const parseTabs=s=>(s||\"\").split(/[,\\n]/).map(x=>x.trim()).filter(Boolean).map((x,i)=>{const[l,v]=x.split(\"=\").map(y=>y.trim());return{label:l,value:norm(v||l),all:i===0&&!v};});const matches=(tab,cat)=>{if(tab.all)return true;const c=norm(cat);return c===tab.value||c===tab.value.replace(/s$/,\"\")||c+\"s\"===tab.value;};// Collection List item wrapper of a card: walk up until the parent holds more than one card.\nconst itemOf=card=>{let node=card;while(node.parentElement&&node.parentElement!==document.body){const p=node.parentElement;let n=0;for(const ch of Array.from(p.children))if(ch.matches?.(\"[data-bs-category]\")||ch.querySelector(\"[data-bs-category]\"))n++;if(n>1)return node;node=p;}return card.parentElement||card;};const applyFilter=(tab,fade)=>{const cards=Array.from(document.querySelectorAll(\"[data-bs-category]\"));let shown=0;cards.forEach(card=>{const item=itemOf(card);const on=matches(tab,card.getAttribute(\"data-bs-category\")||\"\");const was=item.style.display!==\"none\";item.style.display=on?\"\":\"none\";if(on){shown++;if(fade&&!was&&!reduced())item.animate([{opacity:0},{opacity:1}],{duration:300,easing:\"ease\"});}});window.dispatchEvent(new CustomEvent(\"bs-filter\",{detail:{shown,total:cards.length,tab:tab.label}}));};const CSS_FILTER=`\n.bit-f{display:flex;flex-wrap:wrap;gap:4px;padding:4px;box-shadow:inset 0 0 0 1px ${C.line2};width:max-content;max-width:100%;margin:0}\n.bit-f.full{width:100%}\n.bit-f button{height:32px;padding:0 14px;display:flex;align-items:center;margin:0;border:0;border-radius:0;background:transparent;cursor:pointer;${MONO};font-size:11px;line-height:100%;letter-spacing:.04em;text-transform:uppercase;color:${C.fg2};transition:background-color 200ms ease,color 200ms ease;-webkit-font-smoothing:antialiased}\n.bit-f button.on{background:${C.fg};color:${C.bg}}\n.bit-f button:focus-visible{outline:1px solid ${C.fg};outline-offset:2px}\n`;const FilterTabs=({categories,full})=>{const tabs=React.useMemo(()=>parseTabs(categories),[categories]);const[cur,setCur]=React.useState(0);const curRef=React.useRef(0);React.useEffect(()=>{if(isCanvas())return;// re-apply when the list re-renders (pagination, breakpoint swaps)\nlet raf=0;const mo=new MutationObserver(()=>{if(curRef.current===0||raf)return;raf=requestAnimationFrame(()=>{raf=0;const t=tabs[curRef.current||0];if(t)applyFilter(t,false);});});mo.observe(document.body,{childList:true,subtree:true});// deep link: #tab-sources / #sources\nconst h=norm(decodeURIComponent((window.location.hash||\"\").replace(/^#(tab-)?/,\"\")));if(h){const i=tabs.findIndex((t,k)=>k>0&&(norm(t.label)===h||t.value===h||t.value.replace(/s$/,\"\")===h.replace(/s$/,\"\")));if(i>0){curRef.current=i;setCur(i);applyFilter(tabs[i],false);}}return()=>{mo.disconnect();if(raf)cancelAnimationFrame(raf);};},[tabs]);const pick=i=>{curRef.current=i;setCur(i);if(!isCanvas()&&tabs[i])applyFilter(tabs[i],true);};const onKey=e=>{if(e.key!==\"ArrowRight\"&&e.key!==\"ArrowLeft\")return;e.preventDefault();const n=(cur+(e.key===\"ArrowRight\"?1:-1)+tabs.length)%tabs.length;pick(n);const btn=e.currentTarget.querySelectorAll(\"button\")[n];btn?.focus();};return /*#__PURE__*/_jsxs(\"div\",{className:\"bit-f\"+(full?\" full\":\"\"),role:\"tablist\",\"aria-label\":\"Filter integrations\",onKeyDown:onKey,children:[styleTag(CSS_FILTER),tabs.map((t,i)=>/*#__PURE__*/_jsx(\"button\",{type:\"button\",role:\"tab\",\"aria-selected\":i===cur,tabIndex:i===cur?0:-1,className:i===cur?\"on\":\"\",onClick:()=>pick(i),children:t.label},i))]});};const CATS=\"All, Sources, Destinations, BI & notebooks, AI & ML\";const CAT_CONTROL={type:ControlType.String,title:\"Tabs\",description:\"Comma separated. First tab shows all. Use “Label = Category” when a label differs from the CMS category (plurals are matched automatically).\"};/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 520\n */export function CategoryFilter({categories}){const ref=React.useRef(null);const w=usePageWidth(ref);return /*#__PURE__*/_jsxs(\"div\",{ref:ref,style:{width:\"100%\"},children:[fontsLink(),/*#__PURE__*/_jsx(FilterTabs,{categories:categories||CATS,full:w<=767})]});}CategoryFilter.defaultProps={categories:CATS};addPropertyControls(CategoryFilter,{categories:CAT_CONTROL});/* ---------------- CatalogHeader ---------------- *//**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 1280\n * @framerIntrinsicHeight 360\n */export function CatalogHeader(props){const{eyebrow,title,tone,filter,categories,anchor}=props;const ref=React.useRef(null);const w=usePageWidth(ref,true);return /*#__PURE__*/_jsxs(\"section\",{ref:ref,id:anchor||undefined,className:\"bit\"+bpClass(w),children:[fontsLink(),styleTag(CSS_BASE),/*#__PURE__*/_jsx(\"div\",{className:\"bs-sl\"+bpClass(w)}),/*#__PURE__*/_jsx(\"div\",{className:\"g\",children:/*#__PURE__*/_jsx(\"div\",{className:\"c\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"pt\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"sh\",children:[/*#__PURE__*/_jsx(\"div\",{children:eb(eyebrow)}),h2(title,tone)]}),filter?/*#__PURE__*/_jsx(\"div\",{style:{marginBottom:32},children:/*#__PURE__*/_jsx(FilterTabs,{categories:categories||CATS,full:w<=767})}):null]})})})]});}CatalogHeader.defaultProps={eyebrow:\"Catalog\",title:\"In, out\",tone:\"and everywhere between.\",filter:true,categories:CATS,anchor:\"catalog\"};addPropertyControls(CatalogHeader,{eyebrow:S(\"Eyebrow\"),title:S(\"Title\",true),tone:S(\"Grey title\",true),filter:{type:ControlType.Boolean,title:\"Filter tabs\"},categories:{...CAT_CONTROL,hidden:p=>!p.filter},anchor:{type:ControlType.String,title:\"Anchor ID\"}});/* ---------------- IntegrationCard ---------------- */const CSS_CARD=`\n.bit-card{position:relative;display:flex;flex-direction:column;gap:20px;width:100%;height:100%;padding:28px;background:${C.bg2};box-shadow:inset 0 0 0 1px ${C.line};transition:background-color 250ms ease;font-family:${F.sans};color:${C.fg};text-decoration:none;-webkit-font-smoothing:antialiased;box-sizing:border-box;cursor:pointer}\n.bit-card *{box-sizing:border-box}\n.bit-card::after{content:\"\";position:absolute;inset:0;pointer-events:none;z-index:1;background:${cornersBg(C.mark,9)}}\n.bit-card:focus-visible{outline:1px solid ${C.fg};outline-offset:3px}\n@media (hover:hover) and (pointer:fine){.bit-card:hover{background:${C.bg3}}}\n.bit-card .hd{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}\n.bit-card .mk{width:44px;height:44px;flex:none;display:flex;align-items:center;justify-content:center;background:${C.chip};box-shadow:inset 0 0 0 1px ${C.line};color:${C.fg};${MONO};font-size:13px;line-height:100%;font-weight:500;letter-spacing:.02em;text-transform:uppercase}\n.bit-card .tag{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 8px;${MONO};font-size:10px;line-height:100%;letter-spacing:.04em;text-transform:uppercase;color:${C.fg2};box-shadow:inset 0 0 0 1px ${C.line2};white-space:nowrap}\n.bit-card .tag.solid{background:${C.fg};color:${C.bg};box-shadow:none}\n.bit-card .bd{display:flex;flex-direction:column;gap:6px}\n.bit-card h3{margin:0;white-space:pre-line;min-height:2.4em;font-family:${F.sans};font-size:24px;line-height:120%;letter-spacing:-.025em;font-weight:500;text-wrap:balance}\n.bit-card .cat{color:${C.mute};${MONO};font-size:11px;line-height:140%;letter-spacing:.01em;text-transform:uppercase}\n.bit-card p{margin:0;min-height:4.5em;font-size:14px;line-height:150%;color:${C.fg2};text-wrap:pretty}\n`;/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 290\n * @framerIntrinsicHeight 250\n */export function IntegrationCard(props){const{title,mark,kind,status,category,cardText,link,newTab,badgeStyle,reveal}=props;const ref=React.useRef(null);useRise(ref,\"cards\",reveal);const beta=norm(status)===\"beta\";const badge=beta?\"Beta\":(kind||\"\").trim()||\"Native\";const solid=badgeStyle===\"solid\"||badgeStyle===\"design\"&&!beta&&norm(badge)===\"native\";const mk=(mark||(title||\"\").slice(0,2)).slice(0,3);// No link (inside a Collection List): the native list item is the link, so render a div (no nested <a>).\nconst Root=link?\"a\":\"div\";return /*#__PURE__*/_jsxs(Root,{ref:ref,className:\"bit-card\",href:link||undefined,target:link&&newTab?\"_blank\":undefined,rel:link&&newTab?\"noopener\":undefined,\"data-bs-category\":category||\"\",children:[fontsLink(),styleTag(CSS_CARD),/*#__PURE__*/_jsxs(\"div\",{className:\"hd\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"mk\",\"aria-hidden\":\"true\",children:mk}),badge?/*#__PURE__*/_jsx(\"span\",{className:\"tag\"+(solid?\" solid\":\"\"),children:badge}):null]}),/*#__PURE__*/_jsxs(\"div\",{className:\"bd\",children:[/*#__PURE__*/_jsx(\"h3\",{children:String(title||\"\").replace(/\\\\n/g,\"\\n\")}),category?/*#__PURE__*/_jsx(\"div\",{className:\"cat\",children:category}):null]}),cardText?/*#__PURE__*/_jsx(\"p\",{children:cardText}):null]});}IntegrationCard.defaultProps={title:\"Kafka\",mark:\"KF\",kind:\"Native\",status:\"GA\",category:\"Source\",cardText:\"Read any topic with consumer-group offsets and exactly-once commits.\",link:\"\",newTab:false,badgeStyle:\"design\",reveal:true};addPropertyControls(IntegrationCard,{title:{type:ControlType.String,title:\"Title\",description:\"CMS: Title\"},mark:{type:ControlType.String,title:\"Mark\",description:\"CMS: Mark (2 letters)\"},kind:{type:ControlType.String,title:\"Kind\",description:\"CMS: Kind (Native / Partner)\"},status:{type:ControlType.String,title:\"Status\",description:\"CMS: Integration Status (GA / Beta). Beta shows a Beta badge instead of the kind.\"},category:{type:ControlType.String,title:\"Category\",description:\"CMS: Category → Title. Also used by CategoryFilter.\"},cardText:{type:ControlType.String,title:\"Text\",displayTextArea:true,description:\"CMS: Card Text\"},link:{type:ControlType.Link,title:\"Link\",description:\"Leave empty inside a Collection List — the list item links to the page.\"},newTab:{type:ControlType.Boolean,title:\"New tab\"},badgeStyle:{type:ControlType.Enum,title:\"Badge\",options:[\"design\",\"solid\",\"outline\"],optionTitles:[\"Solid if Native\",\"Always solid\",\"Always outline\"],description:\"Design: only Native is solid. Live Webflow: all solid.\"},reveal:{type:ControlType.Boolean,title:\"Reveal\",description:\"Rise in on scroll (G18 cards).\"}});/* ---------------- CatalogNote ---------------- *//**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 1280\n * @framerIntrinsicHeight 140\n */export function CatalogNote({text,filteredText}){const ref=React.useRef(null);const w=usePageWidth(ref,true);const[state,setState]=React.useState(null);React.useEffect(()=>{if(isCanvas())return;const on=e=>{const d=e.detail||{};const next={shown:d.shown||0,total:d.total||0,all:d.shown===d.total};setState(prev=>prev&&prev.shown===next.shown&&prev.total===next.total?prev:next);};window.addEventListener(\"bs-filter\",on);return()=>window.removeEventListener(\"bs-filter\",on);},[]);const t=state&&!state.all&&filteredText?filteredText:text;const out=(t||\"\").replace(/\\{count\\}/g,String(state?state.shown:\"\")).replace(/\\{total\\}/g,String(state?state.total:\"\"));return /*#__PURE__*/_jsxs(\"section\",{ref:ref,className:\"bit\"+bpClass(w),children:[fontsLink(),styleTag(CSS_BASE),/*#__PURE__*/_jsx(\"div\",{className:\"g\",children:/*#__PURE__*/_jsx(\"div\",{className:\"c\",children:/*#__PURE__*/_jsx(\"div\",{className:\"pb\",style:{paddingTop:24},children:/*#__PURE__*/_jsx(\"div\",{className:\"mono\",style:{color:C.mute},\"aria-live\":\"polite\",children:out})})})})]});}CatalogNote.defaultProps={text:\"64 in the catalog \\xb7 24 shown here\",filteredText:\"\"};addPropertyControls(CatalogNote,{text:S(\"Text\"),filteredText:{type:ControlType.String,title:\"Filtered text\",description:\"Optional, shown while a tab other than All is active. {count} = visible cards, {total} = all cards. E.g. “{count} shown”.\"}});/* ---------------- ConnectorSdk ---------------- */// Code colours from basalt.css: keyword #EDEDEA, string #CFCFC0, comment #5C5C63, number #A9B7C6.\nconst HL_RE=/(\\/\\/[^\\n]*)|(\"(?:[^\"\\\\\\n]|\\\\.)*\"|'(?:[^'\\\\\\n]|\\\\.)*')|(CREATE MATERIALIZED VIEW|GROUP BY|ORDER BY|export default|async \\*|\\b(?:import|from|const|let|await|for|of|yield|return|new|function|AS|SELECT|FROM|WHERE|AND|OR|JOIN|ON|LIMIT)\\b)|(\\b\\d+(?:\\.\\d+)?\\b)/g;const highlight=code=>{const out=[];let last=0;let m;let k=0;HL_RE.lastIndex=0;while(m=HL_RE.exec(code)){if(m.index>last)out.push(code.slice(last,m.index));const cls=m[1]?\"cc\":m[2]?\"cs\":m[3]?\"ck\":\"cn\";out.push(/*#__PURE__*/_jsx(\"span\",{className:cls,children:m[0]},k++));last=m.index+m[0].length;}if(last<code.length)out.push(code.slice(last));return out;};const CSS_TERM=`\n.bit .tm{background:${C.bg2};box-shadow:inset 0 0 0 1px ${C.line};overflow:hidden;min-width:0}\n.bit .tm-menu{display:flex;gap:4px;padding:8px;border-bottom:1px solid ${C.line}}\n.bit .tm-tab{${MONO};font-size:12px;line-height:100%;color:${C.fg};background:${C.chip};padding:10px 14px}\n.bit .tm-code{margin:0;padding:24px;${MONO};font-size:13.5px;line-height:180%;color:${C.fg2};white-space:pre;overflow-x:auto}\n.bit .tm-out{display:flex;flex-direction:column;gap:4px;padding:16px 24px;border-top:1px solid ${C.line};${MONO};font-size:12.5px;line-height:150%;color:${C.mute}}\n.bit .tm-ok{color:${C.live}}\n.bit .ck{color:${C.fg}}.bit .cs{color:#CFCFC0}.bit .cc{color:${C.dim}}.bit .cn{color:#A9B7C6}\n.bit .sdk{display:grid;grid-template-columns:1fr 1.45fr;gap:64px;align-items:start}\n.bit .sdk-l{display:flex;flex-direction:column;align-items:flex-start;gap:24px}\n.bit .sdk-p{max-width:416px;font-size:17px;line-height:155%;color:${C.fg2};text-wrap:pretty}\n.bit.is-md .sdk{grid-template-columns:1fr;gap:48px}\n`;const SDK_CODE=`import { defineSource, t } from \"@basalt/connector-sdk\";\n\nexport default defineSource({\n  name: \"warehouse-inventory\",\n  schema: {\n    sku: t.string(),\n    on_hand: t.int(),\n    updated_at: t.timestamp(),\n  },\n  // Basalt stores the cursor and resumes after restarts\n  async *poll({ cursor }) {\n    const rows = await api.changesSince(cursor ?? 0);\n    for (const row of rows) yield { key: row.sku, value: row };\n  },\n  every: \"5s\",\n});`;const SDK_OUT=\"schema registered \\xb7 warehouse-inventory v1\\nfirst checkpoint committed in 41 ms\\nsource live in eu-north-1\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 1280\n * @framerIntrinsicHeight 720\n */export function ConnectorSdk(props){const{eyebrow,title,tone,text,buttonLabel,buttonLink,file,code,output,anchor}=props;const ref=React.useRef(null);const term=React.useRef(null);const w=usePageWidth(ref,true);useRise(term,\"reveal\");const outs=(output||\"\").split(\"\\n\").map(l=>l.replace(/^\\s*✓\\s*/,\"\").trim()).filter(Boolean);return /*#__PURE__*/_jsxs(\"section\",{ref:ref,id:anchor||undefined,className:\"bit\"+bpClass(w),children:[fontsLink(),styleTag(CSS_BASE+CSS_TERM),/*#__PURE__*/_jsx(\"div\",{className:\"bs-sl\"+bpClass(w)}),/*#__PURE__*/_jsx(\"div\",{className:\"g\",children:/*#__PURE__*/_jsx(\"div\",{className:\"c\",children:/*#__PURE__*/_jsx(\"div\",{className:\"pm\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"sdk\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"sdk-l\",children:[eb(eyebrow),h2(title,tone),text?/*#__PURE__*/_jsx(\"p\",{className:\"sdk-p\",children:text}):null,buttonLabel?/*#__PURE__*/_jsx(Button,{label:buttonLabel,link:buttonLink,newTab:false,variant:\"secondary\",arrow:false,visual:false,fullWidth:false}):null]}),/*#__PURE__*/_jsxs(\"div\",{ref:term,className:\"tm\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"tm-menu\",children:/*#__PURE__*/_jsx(\"div\",{className:\"tm-tab\",children:file})}),/*#__PURE__*/_jsx(\"pre\",{className:\"tm-code\",children:highlight(code||\"\")}),outs.length?/*#__PURE__*/_jsx(\"div\",{className:\"tm-out\",children:outs.map((o,i)=>/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"span\",{className:\"tm-ok\",children:\"✓\"}),\" \",o]},i))}):null]})]})})})})]});}ConnectorSdk.defaultProps={eyebrow:\"Connector SDK\",title:\"Build your own\",tone:\"in an afternoon.\",text:\"The connector SDK is open source under Apache 2.0. Describe the schema, yield events, and Basalt handles checkpoints, retries, back-pressure and exactly-once delivery for you.\",buttonLabel:\"Read the SDK guide\",buttonLink:\"/instructions\",file:\"sources/inventory.ts\",code:SDK_CODE,output:SDK_OUT,anchor:\"sdk\"};addPropertyControls(ConnectorSdk,{eyebrow:S(\"Eyebrow\"),title:S(\"Title\",true),tone:S(\"Grey title\",true),text:S(\"Text\",true),buttonLabel:{type:ControlType.String,title:\"Button\",description:\"Empty hides the button.\"},buttonLink:{type:ControlType.Link,title:\"Button link\"},file:S(\"File tab\"),code:{type:ControlType.String,title:\"Code\",displayTextArea:true,description:\"Highlighted automatically (keywords, strings, comments, numbers).\"},output:{type:ControlType.String,title:\"Output\",displayTextArea:true,description:\"One ✓ line per row.\"},anchor:{type:ControlType.String,title:\"Anchor ID\"}});/* ---------------- RequestIntegration ---------------- */const CSS_REQ=`\n.bit .rq{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:32px;padding:40px}\n.bit .rq-c{display:flex;flex-direction:column;gap:12px}\n.bit .rq h3{font-family:${F.display};font-variation-settings:${AXES};font-weight:360;font-size:38px;line-height:104%;letter-spacing:-.02em;color:${C.fg};text-wrap:balance}\n.bit.is-md .rq h3{font-size:32px}\n.bit.is-sm .rq h3{font-size:28px}\n.bit .rq p{max-width:544px;font-size:17px;line-height:155%;color:${C.fg2};text-wrap:pretty}\n.bit.is-sm .rq{flex-direction:column;align-items:flex-start;padding:28px}\n`;/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 1280\n * @framerIntrinsicHeight 400\n */export function RequestIntegration(props){const{title,text,buttonLabel,buttonLink}=props;const ref=React.useRef(null);const card=React.useRef(null);const w=usePageWidth(ref,true);useRise(card,\"reveal\");return /*#__PURE__*/_jsxs(\"section\",{ref:ref,className:\"bit\"+bpClass(w),children:[fontsLink(),styleTag(CSS_BASE+CSS_REQ),/*#__PURE__*/_jsx(\"div\",{className:\"bs-sl\"+bpClass(w)}),/*#__PURE__*/_jsx(\"div\",{className:\"g\",children:/*#__PURE__*/_jsx(\"div\",{className:\"c\",children:/*#__PURE__*/_jsx(\"div\",{className:\"pm\",children:/*#__PURE__*/_jsxs(\"div\",{ref:card,className:\"card cf rq\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"rq-c\",children:[/*#__PURE__*/_jsx(\"h3\",{children:title}),text?/*#__PURE__*/_jsx(\"p\",{children:text}):null]}),buttonLabel?/*#__PURE__*/_jsx(Button,{label:buttonLabel,link:buttonLink,newTab:false,variant:\"secondary\",arrow:false,visual:false,fullWidth:false}):null]})})})})]});}RequestIntegration.defaultProps={title:\"Missing a source?\",text:\"Tell us what you run. We ship new connectors every two weeks, and requests with the most votes go first.\",buttonLabel:\"Request an integration\",buttonLink:\"/contact\"};addPropertyControls(RequestIntegration,{title:S(\"Title\",true),text:S(\"Text\",true),buttonLabel:{type:ControlType.String,title:\"Button\",description:\"Empty hides the button.\"},buttonLink:{type:ControlType.Link,title:\"Button link\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"CatalogHeader\":{\"type\":\"reactComponent\",\"name\":\"CatalogHeader\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"360\",\"framerIntrinsicWidth\":\"1280\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"auto\"}},\"RequestIntegration\":{\"type\":\"reactComponent\",\"name\":\"RequestIntegration\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"400\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicWidth\":\"1280\"}},\"CatalogNote\":{\"type\":\"reactComponent\",\"name\":\"CatalogNote\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"1280\",\"framerIntrinsicHeight\":\"140\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"CategoryFilter\":{\"type\":\"reactComponent\",\"name\":\"CategoryFilter\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"520\",\"framerSupportedLayoutWidth\":\"any\"}},\"IntegrationCard\":{\"type\":\"reactComponent\",\"name\":\"IntegrationCard\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerIntrinsicWidth\":\"290\",\"framerIntrinsicHeight\":\"250\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"ConnectorSdk\":{\"type\":\"reactComponent\",\"name\":\"ConnectorSdk\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicHeight\":\"720\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerIntrinsicWidth\":\"1280\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Integrations.map"],"mappings":"A,yZAiDG,SAAgB+B,EAAe,CAAC,cAAY,CAAC,IAAMC,EAAIhC,EAAa,IAAI,EAAQiC,EAAEV,EAAaS,CAAG,EAAE,MAAoB,gBAAM,MAAM,CAAK,MAAI,MAAM,CAAC,MAAM,MAAM,EAAE,SAAS,CAACX,EAAU,EAAe,gBAAKa,EAAW,CAAC,WAAWC,GAAYC,EAAK,KAAKH,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAE,CAKnQ,SAAgBI,EAAc,EAAM,CAAC,GAAK,CAAC,UAAQ,QAAM,OAAK,SAAO,aAAW,UAAQC,EAAYN,EAAIhC,EAAa,IAAI,EAAQiC,EAAEV,EAAaS,EAAI,EAAI,EAAE,MAAoB,gBAAM,UAAU,CAAK,MAAI,GAAGO,GAAQ,IAAA,GAAU,UAAU,MAAMd,EAAQQ,CAAC,EAAE,SAAS,CAACZ,EAAU,EAAEF,EAASqB,CAAQ,EAAe,gBAAK,MAAM,CAAC,UAAU,QAAQf,EAAQQ,CAAC,CAAC,CAAC,EAAe,gBAAK,MAAM,CAAC,UAAU,IAAI,SAAsB,gBAAK,MAAM,CAAC,UAAU,IAAI,SAAsB,gBAAM,MAAM,CAAC,UAAU,KAAK,SAAS,CAAc,gBAAM,MAAM,CAAC,UAAU,KAAK,SAAS,CAAc,gBAAK,MAAM,CAAC,SAASQ,EAAGC,CAAO,CAAC,CAAC,EAAEC,EAAGC,EAAMC,CAAI,CAAC,CAAC,CAAC,EAAEC,EAAoB,gBAAK,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,EAAE,SAAsB,gBAAKZ,EAAW,CAAC,WAAWC,GAAYC,EAAK,KAAKH,GAAG,GAAG,CAA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