{"version":3,"file":"NGIntegration.DXF2preC.mjs","names":["React.useState","React.useRef","c"],"sources":["https:/framerusercontent.com/modules/pOnGHylauFcm2JMOyO6Q/dRD8urwXnXsaUGgWXjac/NGIntegration.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";function withDefaults(props,defs){const out={...defs};for(const k in props)if(props[k]!==undefined)out[k]=props[k];return out;}/**\n * NGIntegration — \"What it costs your team.\" Platform chips\n * (active / soon) + three cards: You receive / You implement / Onboarding.\n * Honest about the closed pilot — no self-serve download.\n *\n * @framerDisableUnlink\n * @framerSupportedLayoutWidth any\n */const T={panel:\"#0E1220\",line:\"rgba(154,170,220,.10)\",lineSoft:\"rgba(154,170,220,.06)\",lineStrong:\"rgba(154,170,220,.18)\",text:\"#EEF1F8\",mut:\"#98A0B4\",dim:\"#767E96\",faint:\"#3E455C\",accent:\"#35BE70\",accentBright:\"#62D993\",disp:\"'Gabarito', sans-serif\",body:\"'Hanken Grotesk', sans-serif\",mono:\"'JetBrains Mono', monospace\"};function useFonts(){React.useEffect(()=>{if(document.getElementById(\"ng-fonts\"))return;const l=document.createElement(\"link\");l.id=\"ng-fonts\";l.rel=\"stylesheet\";l.href=\"https://fonts.googleapis.com/css2?family=Gabarito:wght@500;600;700&family=Hanken+Grotesk:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap\";document.head.appendChild(l);},[]);}function useW(ref){const[w,setW]=React.useState(1200);React.useEffect(()=>{if(!ref.current)return;const ro=new ResizeObserver(es=>{for(const e of es)setW(e.contentRect.width);});ro.observe(ref.current);return()=>ro.disconnect();},[]);return w;}const css=`\n.ngint-card{transition:border-color .3s cubic-bezier(.2,.6,.2,1),transform .3s cubic-bezier(.2,.6,.2,1)}\n.ngint-card:hover{border-color:rgba(154,170,220,.26);transform:translateY(-2px)}\n.ngint-mlink{transition:color .2s,border-color .2s}\n.ngint-mlink:hover{color:${T.text} !important;border-color:${T.accent} !important}\n`;function cardLines(card,i){const raw=card&&card.lines;if(Array.isArray(raw)&&raw.length)return raw;if(typeof raw===\"string\"&&raw.trim())return raw.split(/\\n|\\s*\\|\\s*/).map(l=>l.trim()).filter(Boolean);const fb=DEFAULTS.cards[i];if(fb&&typeof fb.lines===\"string\")return fb.lines.split(\"\\n\").filter(Boolean);return[];}export default function NGIntegration(props){const{vlabel,headlinePlain,headlineAccent,sideNote,chips,cards,linkText,linkUrl,style}=withDefaults(props,DEFAULTS);useFonts();const ref=React.useRef(null);const w=useW(ref);const narrow=w<1100;const mobile=w<860;const tight=w<640;return /*#__PURE__*/_jsxs(\"section\",{ref:ref,id:\"integration\",style:{...style,height:\"auto\",width:\"100%\",borderTop:`1px solid ${T.lineSoft}`,padding:tight?\"80px 0\":\"112px 0\",position:\"relative\",fontFamily:T.body,color:T.text},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:css}}),!narrow&&/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",top:112,left:40,fontFamily:T.mono,fontSize:10,letterSpacing:\"0.26em\",color:T.dim,textTransform:\"uppercase\",writingMode:\"vertical-rl\",transform:\"rotate(180deg)\"},children:vlabel}),/*#__PURE__*/_jsxs(\"div\",{style:{maxWidth:1216,margin:\"0 auto\",padding:tight?\"0 20px\":narrow?\"0 40px\":\"0 40px 0 132px\"},children:[narrow&&!tight&&/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:T.mono,fontSize:10,letterSpacing:\"0.26em\",color:T.dim,textTransform:\"uppercase\",marginBottom:20},children:vlabel}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",alignItems:\"flex-end\",gap:40,marginBottom:44,flexWrap:\"wrap\"},children:[/*#__PURE__*/_jsxs(\"h2\",{style:{fontFamily:T.disp,fontWeight:600,fontSize:\"clamp(34px, 3.8vw, 46px)\",lineHeight:1.05,letterSpacing:\"-0.022em\",margin:0,maxWidth:\"18ch\"},children:[headlinePlain,\" \",/*#__PURE__*/_jsx(\"span\",{style:{color:T.accentBright},children:headlineAccent})]}),/*#__PURE__*/_jsx(\"p\",{style:{fontSize:15,color:T.mut,maxWidth:\"38ch\",margin:0},children:sideNote})]}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap:8,flexWrap:\"wrap\",marginBottom:36},children:(chips||[]).map((c,i)=>/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:T.mono,fontSize:11.5,padding:\"8px 14px\",border:c.active?`1px solid ${T.lineStrong}`:`1px solid ${T.lineSoft}`,borderRadius:100,color:c.active?T.text:T.faint},children:c.label},i))}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"grid\",gridTemplateColumns:mobile?\"1fr\":\"repeat(3, 1fr)\",gap:20},children:(cards||[]).map((card,i)=>/*#__PURE__*/_jsxs(\"div\",{className:\"ngint-card\",style:{border:`1px solid ${T.line}`,borderRadius:10,background:T.panel,padding:\"26px 24px\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:T.mono,fontSize:10,letterSpacing:\"0.16em\",color:T.dim,textTransform:\"uppercase\",marginBottom:16},children:card.title}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:9,fontSize:14.5,color:T.mut},children:cardLines(card,i).map((line,j)=>/*#__PURE__*/_jsx(\"span\",{children:line},j))})]},i))}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:24},children:/*#__PURE__*/_jsx(\"a\",{className:\"ngint-mlink\",href:linkUrl,style:{fontFamily:T.mono,fontSize:13,color:T.mut,borderBottom:\"1px solid rgba(154,170,220,.25)\",paddingBottom:2,textDecoration:\"none\"},children:linkText})})]})]});}const DEFAULTS={vlabel:\"Integration — closed pilot\",headlinePlain:\"What it costs\",headlineAccent:\"your team.\",sideNote:\"The SDK is in a closed pilot. Access follows the application — there is no self-serve download and we do not pretend otherwise.\",chips:[{label:\"Android\",active:true},{label:\"Windows\",active:true},{label:\"iOS \\xb7 soon\",active:false},{label:\"macOS \\xb7 soon\",active:false},{label:\"Smart TV \\xb7 soon\",active:false}],cards:[{title:\"You receive\",lines:\"SDK package and integration guide\\nConsent flow, ready to display\\nTest access before launch\\nAn engineer on the integration\"},{title:\"You implement\",lines:\"Show the consent dialog before init\\nUpdate your EULA and privacy policy\\nLink to our policies from yours\"},{title:\"Onboarding\",lines:\"Apply → KYC → agreement\\nIntegration and test\\nLaunch and first payout cycle\"}],linkText:\"what integration involves →\",linkUrl:\"/integration\"};NGIntegration.defaultProps=DEFAULTS;addPropertyControls(NGIntegration,{vlabel:{type:ControlType.String,title:\"Side label\"},headlinePlain:{type:ControlType.String,title:\"H2 plain\"},headlineAccent:{type:ControlType.String,title:\"H2 accent\"},sideNote:{type:ControlType.String,title:\"Note\",displayTextArea:true},chips:{type:ControlType.Array,title:\"Platform chips\",control:{type:ControlType.Object,controls:{label:{type:ControlType.String},active:{type:ControlType.Boolean}}},maxCount:10},cards:{type:ControlType.Array,title:\"Cards\",control:{type:ControlType.Object,controls:{title:{type:ControlType.String},lines:{type:ControlType.String,title:\"Lines (Shift+Enter or | between)\",displayTextArea:true,defaultValue:\"Line one\\nLine two\"}}},maxCount:4},linkText:{type:ControlType.String,title:\"Link text\"},linkUrl:{type:ControlType.Link,title:\"Link URL\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"NGIntegration\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./NGIntegration.map"],"mappings":"+LAAyI,SAAS,EAAa,EAAM,EAAK,CAAC,IAAM,EAAI,CAAC,GAAG,CAAI,EAAE,IAAI,IAAM,KAAK,EAAS,EAAM,KAAK,IAAA,KAAU,EAAI,GAAG,EAAM,IAAG,OAAO,CAAI,CAO+D,SAAS,GAAU,CAAC,MAAoB,CAAC,GAAG,SAAS,eAAe,UAAU,EAAE,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