{"version":3,"file":"MinimalFooter.DOMDFPI-.mjs","names":["React.useId","React.Fragment"],"sources":["https:/framerusercontent.com/modules/M3YZHnYwAI0w1y9H5VWv/ziJ5K1fiF10KGXBdRykS/MinimalFooter.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";const str=(title,defaultValue)=>({type:ControlType.String,title,defaultValue});// Matches CtaButtons' INK exactly. /enterprise renders three CtaButtons pills\n// and this footer pill in the same accent, so the labels must be one value.\nconst INK=\"rgb(18,18,18)\";const WHITE=\"rgb(255,255,255)\";/** Accepts #abc, #aabbcc and rgb()/rgba(); falls back to platform blue. */function parseRgb(c){const s=String(c||\"\").trim();const m=s.match(/rgba?\\(\\s*([\\d.]+)[\\s,]+([\\d.]+)[\\s,]+([\\d.]+)/i);if(m)return[+m[1],+m[2],+m[3]];const hex=s.match(/^#([0-9a-f]{3}|[0-9a-f]{6})$/i);if(hex){let h=hex[1];if(h.length===3)h=h.split(\"\").map(x=>x+x).join(\"\");return[parseInt(h.slice(0,2),16),parseInt(h.slice(2,4),16),parseInt(h.slice(4,6),16)];}return[76,167,249];}function relLum([r,g,b]){const f=v=>{const c=v/255;return c<=.04045?c/12.92:Math.pow((c+.055)/1.055,2.4);};return .2126*f(r)+.7152*f(g)+.0722*f(b);}function contrast(a,b){const la=relLum(a),lb=relLum(b);return(Math.max(la,lb)+.05)/(Math.min(la,lb)+.05);}/**\n * MinimalFooter — a stripped-back footer for conversion pages.\n * Logo + tagline, one primary CTA, a hairline, and the legal row.\n * No nav columns, no social icons.\n *\n * Type matches the shared site footer: tagline 22px/500 at -0.01em in\n * rgb(247,247,248), links 16px in rgb(185,187,193), copyright 12px in\n * rgb(220,221,225).\n *\n * The CTA opens a new tab ONLY for absolute http(s) URLs. Same-page anchors\n * (`#demo`) and site-relative paths stay in the current tab — a `_blank` on an\n * anchor opens a second copy of the page instead of scrolling, which is what\n * happened when this was hardcoded. /connectors points at an external signup\n * URL, so it is unaffected.\n *\n * `logoHref` is where the wordmark goes, \"/\" by default. It was hardcoded to the\n * marketing home, which on a conversion page is an exit the visitor can take\n * without meaning to — point it at the page's own path instead. The nav\n * (ResponsiveNav) carries the same prop and the two should agree on a page.\n *\n * The CTA label colour is DERIVED from `accent`, not fixed. It used to be a\n * hardcoded `color:#fff`, which was safe only while the accent was the old\n * dark indigo. Platform blue rgb(76,167,249) is a LIGHT colour (relative\n * luminance 0.360 vs indigo's 0.151), so white-on-accent measures 2.56:1 there\n * and fails, while ink measures 7.32:1. The deeper rgb(7,112,207) inverts it\n * again: white 4.97:1 beats ink 3.77:1. Rather than encode either answer, pick\n * whichever of ink and white measures better against the accent actually set on\n * the instance — that stays correct for both ends of the two-tone ramp.\n *\n * @framerIntrinsicWidth 1200\n * @framerIntrinsicHeight 240\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function MinimalFooter(props){const{bg=\"rgb(15, 15, 16)\",ink=\"rgb(255, 253, 245)\",accent=\"rgb(76, 167, 249)\",taglineColor=\"rgb(247, 247, 248)\",linkColor=\"rgb(185, 187, 193)\",crColor=\"rgb(220, 221, 225)\",logoUrl=\"https://d2ol7oe51mr4n9.cloudfront.net/user_3FMPqLZy3N0UPmCIAVAvDMjs76h/e018ebb5-1fcb-47fb-ae35-04566f6bae7e.svg\",logoHref=\"/\",logoWidth=152,tagline=\"The AI grounding layer for business and finance.\",ctaLabel=\"Get your free credits\",ctaUrl=\"https://app.bigdata.com/signup\",ctaSlug=\"get-25-free-credit\",ctaKind=\"signup\",showCta=true,legal1=\"Privacy Policy\",legal1Url=\"/privacy-policy\",legal2=\"Cookie Policy\",legal2Url=\"/cookie-policy\",legal3=\"Terms & Conditions\",legal3Url=\"/terms-and-conditions\",copyright=\"\\xa9 2026 Bigdata.com by RavenPack. All rights reserved.\",maxWidth=1200,style}=props;// Scope every rule under a unique root class — a second instance on the\n// same page with different props must not inherit these.\nconst uid=React.useId().replace(/[^a-zA-Z0-9]/g,\"\");const root=`mf-${uid}`;// Anchors and relative paths must not open a new tab.\nconst isExternal=/^(https?:)?\\/\\//i.test(String(ctaUrl||\"\"));const home=String(logoHref||\"\").trim()||\"/\";// Whichever of ink / white reads better on the accent actually set.\nconst acc=parseRgb(accent);const ctaInk=contrast(acc,parseRgb(INK))>=contrast(acc,parseRgb(WHITE))?INK:WHITE;const legal=[{label:legal1,url:legal1Url},{label:legal2,url:legal2Url},{label:legal3,url:legal3Url}].filter(l=>l.label&&l.label.trim().length>0);const css=`\n.${root},.${root} *{box-sizing:border-box}\n.${root}{background:${bg};width:100%;\n  padding:56px clamp(20px, 5vw, 82px) 40px}\n.${root} .in{max-width:${maxWidth}px;margin:0 auto;width:100%}\n.${root} .top{display:flex;align-items:flex-start;justify-content:space-between;\n  gap:40px;flex-wrap:wrap}\n.${root} .brand{display:flex;flex-direction:column;gap:16px;min-width:0}\n.${root} .brand img{width:${logoWidth}px;height:auto;display:block}\n.${root} .tag{margin:0;font-family:\"Hanken Grotesk\",-apple-system,sans-serif;\n  font-size:22px;font-weight:500;line-height:1.28;letter-spacing:-0.01em;\n  color:${taglineColor};max-width:520px}\n.${root} .cta{display:inline-flex;align-items:center;gap:9px;flex:0 0 auto;\n  background:${accent};color:${ctaInk};text-decoration:none;\n  font-family:\"Hanken Grotesk\",-apple-system,sans-serif;\n  font-size:15px;font-weight:600;letter-spacing:-.01em;\n  padding:14px 24px;border-radius:999px;white-space:nowrap;\n  transition:filter .18s ease, transform .18s ease}\n.${root} .cta:hover{filter:brightness(1.09);transform:translateY(-1px)}\n.${root} .cta .arw{transition:transform .18s ease}\n.${root} .cta:hover .arw{transform:translateX(3px)}\n.${root} .rule{height:1px;background:${ink};opacity:.10;margin:38px 0 22px}\n.${root} .bot{display:flex;align-items:center;justify-content:space-between;\n  gap:16px 28px;flex-wrap:wrap;\n  font-family:\"Hanken Grotesk\",-apple-system,sans-serif;font-size:13px;line-height:1.6}\n.${root} .legal{display:flex;align-items:center;gap:0;flex-wrap:wrap}\n.${root} .legal a{color:${linkColor};font-size:16px;line-height:1.55;\n  text-decoration:none;transition:color .16s ease}\n.${root} .legal a:hover{color:${taglineColor};text-decoration:underline}\n.${root} .sep{color:${linkColor};opacity:.45;padding:0 11px;user-select:none}\n.${root} .cr{color:${crColor};font-size:12px;line-height:1.5;margin:0}\n@media (max-width: 720px){\n  .${root}{padding:44px 20px 34px !important}\n  .${root} .top{flex-direction:column !important;align-items:flex-start !important;gap:26px !important}\n  .${root} .brand{width:100% !important}\n  .${root} .cta{width:100% !important;justify-content:center !important}\n  .${root} .tag{max-width:none !important}\n  .${root} .rule{margin:30px 0 18px !important}\n  .${root} .bot{flex-direction:column !important;align-items:flex-start !important;gap:14px !important}\n  .${root} .sep{display:none !important}\n  .${root} .legal{gap:8px 18px !important}\n}`;return /*#__PURE__*/_jsxs(\"div\",{className:root,style:{...style},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:css}}),/*#__PURE__*/_jsxs(\"div\",{className:\"in\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"top\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"brand\",children:[logoUrl?/*#__PURE__*/_jsx(\"a\",{href:home,\"aria-label\":\"Bigdata.com home\",children:/*#__PURE__*/_jsx(\"img\",{src:logoUrl,alt:\"Bigdata.com\"})}):null,tagline?/*#__PURE__*/_jsx(\"p\",{className:\"tag\",children:tagline}):null]}),showCta&&ctaLabel?/*#__PURE__*/_jsxs(\"a\",{className:\"cta\",href:ctaUrl,target:isExternal?\"_blank\":undefined,rel:isExternal?\"noopener\":undefined,\"data-cta\":ctaSlug,\"data-cta-kind\":ctaKind,children:[ctaLabel,/*#__PURE__*/_jsx(\"svg\",{className:\"arw\",width:\"15\",height:\"15\",viewBox:\"0 0 16 16\",fill:\"none\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M3 8h9M8.5 4.5L12 8l-3.5 3.5\",stroke:\"currentColor\",strokeWidth:\"1.6\",strokeLinecap:\"square\",strokeLinejoin:\"miter\"})})]}):null]}),/*#__PURE__*/_jsx(\"div\",{className:\"rule\"}),/*#__PURE__*/_jsxs(\"div\",{className:\"bot\",children:[/*#__PURE__*/_jsx(\"p\",{className:\"cr\",children:copyright}),/*#__PURE__*/_jsx(\"div\",{className:\"legal\",children:legal.map((l,i)=>/*#__PURE__*/_jsxs(React.Fragment,{children:[i>0?/*#__PURE__*/_jsx(\"span\",{className:\"sep\",children:\"\\xb7\"}):null,/*#__PURE__*/_jsx(\"a\",{href:l.url,children:l.label})]},l.label))})]})]})]});}addPropertyControls(MinimalFooter,{bg:{type:ControlType.Color,title:\"Background\",defaultValue:\"rgb(15, 15, 16)\"},ink:{type:ControlType.Color,title:\"Ink\",defaultValue:\"rgb(255, 253, 245)\"},accent:{type:ControlType.Color,title:\"Accent\",description:\"CTA fill; its label picks ink or white by measured contrast.\",defaultValue:\"rgb(76, 167, 249)\"},taglineColor:{type:ControlType.Color,title:\"Tagline\",defaultValue:\"rgb(247, 247, 248)\"},linkColor:{type:ControlType.Color,title:\"Link\",defaultValue:\"rgb(185, 187, 193)\"},crColor:{type:ControlType.Color,title:\"Copyright\",defaultValue:\"rgb(220, 221, 225)\"},logoUrl:str(\"Logo URL\",\"https://d2ol7oe51mr4n9.cloudfront.net/user_3FMPqLZy3N0UPmCIAVAvDMjs76h/e018ebb5-1fcb-47fb-ae35-04566f6bae7e.svg\"),logoHref:{type:ControlType.String,title:\"Logo link\",description:\"Where the wordmark goes. On a landing page set it to that page's own path so the logo is not an accidental exit; keep it matching the nav's own logo link.\",defaultValue:\"/\",placeholder:\"/\"},logoWidth:{type:ControlType.Number,title:\"Logo width\",defaultValue:152,min:90,max:260,step:2},tagline:str(\"Tagline\",\"The AI grounding layer for business and finance.\"),showCta:{type:ControlType.Boolean,title:\"Show CTA\",defaultValue:true},ctaLabel:str(\"CTA label\",\"Get your free credits\"),ctaUrl:str(\"CTA URL\",\"https://app.bigdata.com/signup\"),ctaSlug:str(\"CTA slug\",\"get-25-free-credit\"),ctaKind:str(\"CTA kind\",\"signup\"),legal1:str(\"Legal 1\",\"Privacy Policy\"),legal1Url:str(\"Legal 1 URL\",\"/privacy-policy\"),legal2:str(\"Legal 2\",\"Cookie Policy\"),legal2Url:str(\"Legal 2 URL\",\"/cookie-policy\"),legal3:str(\"Legal 3\",\"Terms & Conditions\"),legal3Url:str(\"Legal 3 URL\",\"/terms-and-conditions\"),copyright:str(\"Copyright\",\"\\xa9 2026 Bigdata.com by RavenPack. All rights reserved.\"),maxWidth:{type:ControlType.Number,title:\"Max width\",defaultValue:1200,min:800,max:1600,step:20}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MinimalFooter\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"240\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any\",\"framerIntrinsicWidth\":\"1200\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MinimalFooter.map"],"mappings":"mLAEoI,SAAS,EAAS,EAAE,CAAC,IAAM,EAAE,OAAO,GAAG,EAAE,CAAC,CAAC,KAAK,EAAQ,EAAE,EAAE,MAAM,iDAAiD,EAAE,GAAG,EAAE,MAAM,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,GAAG,CAAC,EAAE,EAAE,EAAE,IAAM,EAAI,EAAE,MAAM,+BAA+B,EAAE,GAAG,EAAI,CAAC,IAAI,EAAE,EAAI,GAAsD,OAAhD,EAAE,SAAS,IAAE,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,KAAK,EAAE,GAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,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