{"version":3,"file":"KpKit.Duf5u3zi.mjs","names":["React.useState","React.useMemo","React.useRef","__esmMin","pe","init_npm_react_18_3_1","init_ssg_sandbox_shims","window","_e","p","c","init_jsx_runtime","ce","de","RenderTarget","init_framer_CKT6jEEQ","init_LandingData","loadJSON","load","APP","path","useJson","s","setS","on","x","useLanding","useAdPool","data","a","settled","ctaImages","d","grid","simAll","simKeys","omitSimilar","fileKey","free","ad","sim","useSlots","takenKey","taken","used","t","ids","out","key","specs","spec","got","r","pool","isStill","useStage","ref","still","setStill","rv","setRv","el","reduce","io","threshold","loopCss","names","k","at","run","ease","loopNames","lists","m","BrandMark","bad","setBad","src","logo","size","name","AdImg","tries","setTries","nat","setNat","loaded","setLoaded","img","url","done","lock","ratioOf","ratio","radius","AdCard","className","head","children","Icon","color","w","Area","series","max","min","span","line","i","v","y","gid","Wordmark","height","PRICE","YEARLY_SAVING","usd","fmt","FONTS","BASE_CSS","Style","Cur","Caret","Check","I","imgSrc","init_KpKit","n","css","top"],"sources":["https:/framerusercontent.com/modules/oUKulRmQN9JgJjn3WBKf/a9V2R3cDBv4r9N9JEYVE/KpKit.js"],"sourcesContent":["// Shared parts of the product pages' illustrations (Features, Compare, How it works, Pricing, FAQ), ported from\n// getkafya.com (src/components/pages/kit.tsx and the .kp rules in src/styles.css). Each page's own file\n// (FeaturesDemo, CompareDemo, HowDemo, PricingDemo, FaqDemo) draws its demos with these.\n//\n// Ads are real: the app's /api/public/showcase (one live ad per featured brand, plus square 1:1 ads) and\n// /api/public/landing. useSlots hands each picture slot ads of its own shape (a 1:1 frame gets a 1:1 ad, 4:5 a 4:5\n// one, 9:16 a 9:16 one; the frame then takes the picture's own shape, so nothing is cropped) and never the same ad\n// twice on a page, the closing band's included. The loops are CSS on one 10 s clock (kp-r30 rises in at 30% of it,\n// kp-o35 turns a chip on at 35%, kp-s / kp-h show or hide, kp-p pops, kp-t types, kp-g grows a bar, kp-d draws a\n// line); a demo waits on its first frame until it has scrolled into view. On the canvas and with reduced motion\n// everything stands still, finished.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{RenderTarget}from\"framer\";import{loadJSON}from\"https://framerusercontent.com/modules/mUAVRkWTblIbhg7IZabU/IxvPNq67jkIGFBuRrLv5/LandingData.js\";export const APP=\"https://app.getkafya.com\";/* ───────── Prices (keep in step with the app's billing, the Terms and the Refund Policy) ───────── */export const PRICE={month:{plan:19,seat:10},year:{plan:180,seat:96}};export const YEARLY_SAVING=Math.round((1-PRICE.year.plan/(PRICE.month.plan*12))*100)// 21\n;export const usd=n=>\"$\"+n.toLocaleString(\"en-US\");export const fmt=n=>typeof n===\"number\"?n.toLocaleString(\"en-US\"):\"\";/* ───────── Data from the app (one request per tab, shared by every demo on the page) ───────── */// One shared request per endpoint, started early (Landing/LandingData.tsx).\nfunction load(path){return loadJSON(APP+path);}function useJson(path){const[s,setS]=React.useState({data:null,settled:false});React.useEffect(()=>{let on=true;load(path).then(x=>{if(on)setS({data:x,settled:true});});return()=>{on=false;};},[path]);return s;}/** The landing data (null until it has loaded). */export function useLanding(){return useJson(\"/api/public/landing\").data;}/** The library's size for copy (\"210k+\"), or null until it's known. */export function useLibraryCount(){const s=useJson(\"/api/public/stats\").data;if(!s||typeof s.ads!==\"number\"||s.ads<1e3)return null;const step=s.ads>=1e5?1e4:1e3;return Math.floor(Math.floor(s.ads/step)*step/1e3)+\"k+\";}/** The showcase's ads (1:1 first, then the rest); loaded once the request has answered (or failed). */export function useAdPool(){const{data,settled}=useJson(\"/api/public/showcase\");const ads=React.useMemo(()=>{if(!data)return[];const list=[...Array.isArray(data.square)?data.square:[],...Array.isArray(data.ads)?data.ads:[]];return list.filter(a=>a&&typeof a.image===\"string\"&&a.image).map(a=>({id:String(a.id??a.image),image:a.image,brand:a.brand??\"\",logo:a.logo??null,ratio:a.ratio??\"\",format:a.format??null}));},[data]);return{ads,loaded:settled};}export const fileKey=src=>(src||\"\").split(\"?\")[0];/** The pictures the closing band shows (its cards), so the page's own demos don't show them again. */export function ctaImages(d,omitSimilar=false){if(!d)return[];const grid=d.grid??[];const simAll=[d.similar?.seed,...d.similar?.matches??[]];const simKeys=omitSimilar?simAll.map(a=>fileKey(a?.image||\"\")).filter(Boolean):[];const free=a=>!simKeys.includes(fileKey(a?.image||\"\"));// Same choice as the band (Landing/CtaCards.tsx): with Find similar left out, its first card avoids those ads.\nconst ad=grid.find(a=>a.ratio===\"4:5\"&&free(a))??grid.find(free)??grid[0];const sim=simAll.slice(0,3);const out=[ad?.image,d.scaling?.[0]?.image,d.offers?.[0]?.image,d.video?.poster,...omitSimilar?[]:sim.map(a=>a?.image)];return out.filter(x=>!!x);}/**\n * Hands out the pool's ads to a page's slots, in the order given: each slot only gets ads of its shapes, and no ad is\n * handed out twice or shown by the closing band or listed in taken (pictures the page shows from the landing data).\n * Until the pool has loaded every slot is n empty frames; after that a slot holds what was found.\n */export function useSlots(specs,pool,d,omitSimilar=false,taken=[]){const takenKey=taken.join(\"|\");return React.useMemo(()=>{const used=new Set;for(const t of[...ctaImages(d,omitSimilar),...taken])if(t)used.add(fileKey(t));const ids=new Set;const out={};for(const key of Object.keys(specs)){const spec=specs[key];const got=[];for(const r of spec.ratios){for(const a of pool.ads){if(got.length>=spec.n)break;if(a.ratio!==r||spec.format&&a.format!==spec.format||used.has(fileKey(a.image))||ids.has(a.id))continue;used.add(fileKey(a.image));ids.add(a.id);got.push(a);}}out[key]=pool.loaded?got:Array.from({length:spec.n},()=>undefined);}return out;// eslint-disable-next-line\n},[specs,pool,d,omitSimilar,takenKey]);}/* ───────── The stage: still on the canvas, waiting until it's in view on the site ───────── */export function isStill(){const t=RenderTarget.current();return t===RenderTarget.canvas||t===RenderTarget.thumbnail||t===RenderTarget.export;}/**\n * The root of a demo: its ref, whether it stands still (canvas, reduced motion) and data-rv, \"idle\" until a quarter\n * of it has scrolled into view, then \"in\" (its loops then play).\n */export function useStage(threshold=.25){const ref=React.useRef(null);const[still,setStill]=React.useState(true);const[rv,setRv]=React.useState(\"idle\");React.useEffect(()=>{const el=ref.current;const reduce=!!window.matchMedia?.(\"(prefers-reduced-motion: reduce)\").matches;if(!el||isStill()||reduce||typeof IntersectionObserver===\"undefined\"){setStill(true);setRv(\"in\");return;}setStill(false);const io=new IntersectionObserver(([e])=>{if(e&&e.isIntersecting){setRv(\"in\");io.disconnect();}},{threshold});io.observe(el);return()=>io.disconnect();},[threshold]);return{ref,still,rv};}/** The width of an element, kept up to date (for the demos' narrow layouts). */export function useWidth(ref,initial=1e3){const[w,setW]=React.useState(initial);React.useLayoutEffect(()=>{const el=ref.current;if(!el||typeof ResizeObserver===\"undefined\")return;const m=()=>setW(el.getBoundingClientRect().width||initial);m();const ro=new ResizeObserver(m);ro.observe(el);return()=>ro.disconnect();},[]);return w;}/* ───────── Styles ───────── */// Self-hosted faces (the site's own uploaded DM Sans 9pt and DM Mono Medium files on Framer's CDN), never Google.\n// Framer names them \"DM Sans 9pt Variable Regular\" etc. and declares one weight, so code uses its own names with the full weight range.\nconst FONTS=\"@font-face{font-family:'Kafya Sans';src:url(https://framerusercontent.com/assets/zULjDNacKFiqu1hL0EwUARkr0W8.woff2) format('woff2');font-weight:400 700;font-style:normal;font-display:swap}@font-face{font-family:'Kafya Mono';src:url(https://framerusercontent.com/assets/vB37G7kQkGxaB7SRhr5rYghuav8.woff2) format('woff2');font-weight:500;font-style:normal;font-display:swap}\";export const BASE_CSS=[FONTS,\".kp{--accent:#C1086D;--accent-strong:#A3055A;--accent-bg:#FFF3F9;--accent-line:#FFD6EA;--line:#ECECF0;--line-strong:#E6E6EB;--sunken:#F4F4F7;--muted:#6B6B76;--loop:10s;position:relative;width:100%;font-family:'Kafya Sans', 'DM Sans 9pt Variable Regular',ui-sans-serif,system-ui,sans-serif;font-size:16px;line-height:1.5;color:#15151A;-webkit-font-smoothing:antialiased;text-align:left}\",\".kp *,.kp *::before,.kp *::after{box-sizing:border-box}\",\".kp p,.kp h3,.kp ul,.kp li,.kp table,.kp dl,.kp dd,.kp dt{margin:0;padding:0}\",\".kp ul{list-style:none}\",\".kp b{font-weight:700}\",\".kp button{font:inherit;color:inherit;background:none;border:0;padding:0;margin:0;cursor:pointer;text-align:left}\",\".kp a{color:inherit;text-decoration:none}\",\".kp .tab{font-variant-numeric:tabular-nums}\",\".kp .trunc{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\",\".kp .kp-chip{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 11px;border-radius:999px;border:1px solid var(--line-strong);background:#fff;font-size:12.5px;font-weight:500;line-height:1;color:#2A2A33;white-space:nowrap}\",\".kp .kp-chip.on{border-color:var(--accent-line);background:var(--accent-bg);color:var(--accent-strong)}\",\".kp .kp-live{display:inline-flex;align-items:center;gap:5px;padding:2px 8px;border-radius:999px;background:#E8F7EF;color:#0E8A4F;font-size:11.5px;font-weight:700;line-height:1.5;white-space:nowrap}\",\".kp .kp-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;background:linear-gradient(180deg,#F0107F,#BD0462);color:#fff;font-size:12px;font-weight:700;line-height:1.5}\",\".kp .kp-card{border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 1px 2px rgba(20,20,30,.04)}\",\".kp .kp-h3{margin-top:16px;font-size:20px;font-weight:700;letter-spacing:-.02em;line-height:1.3}\",\".kp .kp-small{margin-top:8px;font-size:15px;line-height:1.55;color:#4A4A55}\",\".kp .kp-ad{overflow:hidden;border-radius:14px;border:1px solid var(--line);background:#fff}\",\".kp .kp-ad-hot{box-shadow:0 0 0 1px rgba(255,140,199,.7),0 0 50px 6px rgba(255,19,140,.4)}\",\".kp .kp-adhead{display:flex;align-items:center;gap:6px;min-width:0;padding:8px 10px;font-size:12px;font-weight:600;line-height:1.4}\",\".kp .kp-tip{border-radius:16px;background:#15151A;color:#fff;padding:18px 20px}\",\".kp .kp-tip p{margin-top:8px;font-size:14.5px;line-height:1.55;color:rgba(255,255,255,.82)}\",\".kp .kp-tip-label{display:block;font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:#FF8CC7}\",\".kp .kp-tile{border-radius:12px;background:#F6F6F8;padding:10px 12px}\",\".kp .kp-meter{height:8px;border-radius:999px;background:var(--sunken);overflow:hidden}\",\".kp .kp-meter span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#BD0462,#FF138C 60%,#FF8CC7)}\",\".kp .kp-grad{background:linear-gradient(90deg,#BD0462,#FF138C 60%,#FF8CC7)}\",\".kp .kp-search{display:flex;align-items:center;gap:8px;height:42px;padding:0 12px;border:1px solid #FF138C;border-radius:10px;box-shadow:0 0 0 4px rgba(255,140,199,.25);font-size:14px;color:#15151A}\",\".kp .kp-key{margin-left:auto;padding:1px 6px;border:1px solid var(--line-strong);border-radius:6px;color:#8A8A96;font-family:'Kafya Mono','DM Mono Medium Regular',ui-monospace,monospace;font-size:11.5px;line-height:1.5}\",\".kp .kp-caret{display:inline-block;width:2px;height:1.05em;margin-left:1px;border-radius:1px;background:#FF138C;vertical-align:-.15em;animation:kp-blink 1s steps(2,start) infinite}\",\"@keyframes kp-blink{to{visibility:hidden}}\",\".kp .kp-stack{display:inline-grid;align-items:center}\",\".kp .kp-stack > *{grid-area:1/1}\",\".kp .kp-bm{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(20,20,30,.18)}\",\".kp .kp-float{animation:kp-float 6s ease-in-out infinite}\",\"@keyframes kp-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}\",\".kp .kp-stage{position:relative;border-radius:28px;background:#F6F6F8;padding:28px;overflow:hidden}\",\".kp .kp-stage::before{content:'';position:absolute;right:-90px;top:-90px;width:300px;height:300px;border-radius:50%;background:radial-gradient(closest-side,rgba(255,140,199,.4),rgba(255,140,199,0));filter:blur(20px);pointer-events:none}\",\".kp .kp-win{position:relative;border:1px solid var(--line-strong);border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 30px 60px -36px rgba(20,20,30,.35)}\",\".kp .kp-hwin{position:relative;padding:18px;border:1px solid var(--line-strong);border-radius:18px;background:#fff;box-shadow:0 30px 60px -36px rgba(20,20,30,.35)}\",\".kp .kp-bar{display:flex;align-items:center;gap:10px;height:46px;padding:0 16px;border-bottom:1px solid var(--line);font-size:13px;font-weight:600}\",\".kp .kp-bar img{height:22px;width:auto}\",\".kp .kp-bar i{width:1px;height:16px;background:var(--line-strong)}\",\".kp .kp-pic{position:relative;overflow:hidden;background:#F1F1F4}\",\".kp .kp-pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}\",\".kp .kp-pic.wait{animation:kp-pulse 2s cubic-bezier(.4,0,.6,1) infinite}\",\"@keyframes kp-pulse{50%{opacity:.5}}\",\".kp .kp-mark{position:relative;display:grid;flex:none;place-items:center;overflow:hidden;border-radius:50%;background:#F4F4F7;font-weight:600;color:#6B6B76;box-shadow:0 0 0 1px #ECECF0}\",\".kp .kp-mark img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}\",\".kp .lp-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 18px;border:1px solid #E6E6EB;border-radius:999px;background:#fff;color:#15151A;font-weight:500;font-size:14.5px;line-height:1;white-space:nowrap}\",\".kp .lp-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 20px;border-radius:999px;color:#fff;font-weight:600;font-size:14.5px;line-height:1;letter-spacing:-.01em;white-space:nowrap;background:radial-gradient(120% 130% at 50% 125%,#FF8CC7 0%,rgba(255,140,199,0) 46%),linear-gradient(180deg,#F0107F 0%,#C9056A 62%,#BD0462 100%);box-shadow:0 0 0 4px rgba(255,140,199,.28),inset 0 1px 0 rgba(255,255,255,.35),inset 0 -8px 14px rgba(255,140,199,.35),0 10px 24px -6px rgba(189,4,98,.45)}\",\".kp .lp-primary.sm{height:36px;padding:0 16px;font-size:13.5px;box-shadow:0 0 0 3px rgba(255,140,199,.26),inset 0 1px 0 rgba(255,255,255,.35),0 6px 14px -4px rgba(189,4,98,.4)}\",\".kp .lp-primary.lg{height:52px;padding:0 28px;font-size:16px}\",// The demo pointer (a Mac arrow): left/top in the demo window; a quick shrink is a click.\n\".kp .kp-cur{position:absolute;left:0;top:0;z-index:6;width:20px;height:24px;pointer-events:none;transform-origin:2px 2px;filter:drop-shadow(0 2px 4px rgba(0,0,0,.28));animation-duration:var(--loop,10s);animation-timing-function:cubic-bezier(.45,0,.25,1);animation-iteration-count:infinite;animation-fill-mode:both}\",\".kp .kp-cur svg{display:block}\",\"@keyframes kp-press{0%,100%{transform:none}2%{transform:scale(.93)}5%{transform:none}}\",\".kp .kp-press50{animation:kp-press var(--loop,10s) ease 5s infinite both}\",\".kp .kp-press60{animation:kp-press var(--loop,10s) ease 6s infinite both}\",// Card rows that swipe sideways on phones\n\".kp .kp-swipe{scrollbar-width:none}\",\".kp .kp-swipe::-webkit-scrollbar{display:none}\",// Waiting for the section to come into view: everything stays on its first frame.\n\".kp[data-rv='idle'] *{animation-play-state:paused!important}\",// On the canvas and with reduced motion, nothing moves: each piece shows as it ends up.\n\".kp[data-still] *{animation:none!important}\",\".kp[data-still] .kp-cur{display:none}\",\".kp[data-still] .kp-stack > [class*='kp-h']{visibility:hidden}\"].join(\"\\n\");/**\n * The loops' keyframes and classes, for the names a demo uses (\"r30\", \"o35\", \"s40\", \"h40\", \"p20\", \"t10\", \"g15\", \"d05\").\n * Each starts at its number (% of the 10 s loop), holds until 88% and resets by 95%.\n */export function loopCss(names){const out=[];for(const n of Array.from(new Set(names))){const k=n[0];const at=Number(n.slice(1));const c=\".kp .kp-\"+n;const a=\"kp-\"+n;const run=ease=>c+\"{animation:\"+a+\" var(--loop,10s) \"+ease+\" infinite both}\";if(k===\"r\"){out.push(\"@keyframes \"+a+\"{0%,\"+at+\"%{opacity:0;transform:translateY(22px)}\"+(at+8)+\"%,88%{opacity:1;transform:none}95%,100%{opacity:0;transform:none}}\",run(\"cubic-bezier(.16,1,.3,1)\"));}else if(k===\"p\"){out.push(\"@keyframes \"+a+\"{0%,\"+at+\"%{opacity:0;transform:scale(.6)}\"+(at+4)+\"%{opacity:1;transform:scale(1.08)}\"+(at+7)+\"%,88%{opacity:1;transform:scale(1)}94%,100%{opacity:0;transform:scale(.9)}}\",run(\"cubic-bezier(.3,1.4,.5,1)\"));}else if(k===\"o\"){const off=\"background-color:#fff;border-color:#E6E6EB;color:#2A2A33\";out.push(\"@keyframes \"+a+\"{0%,\"+at+\"%{\"+off+\"}\"+(at+2)+\"%,88%{background-color:#FFF3F9;border-color:#FFD6EA;color:#A3055A}93%,100%{\"+off+\"}}\",run(\"ease\"));}else if(k===\"s\"){out.push(\"@keyframes \"+a+\"{0%,\"+at+\"%{opacity:0}\"+(at+3)+\"%,88%{opacity:1}93%,100%{opacity:0}}\",run(\"ease\"));}else if(k===\"h\"){out.push(\"@keyframes \"+a+\"{0%,\"+at+\"%{opacity:1}\"+(at+3)+\"%,88%{opacity:0}93%,100%{opacity:1}}\",run(\"ease\"));}else if(k===\"t\"){out.push(\"@keyframes \"+a+\"{0%,\"+at+\"%{width:0}\"+(at+12)+\"%,88%{width:calc(var(--n,8) * 1ch + 2px)}92%,100%{width:0}}\",c+\"{display:inline-block;overflow:hidden;white-space:nowrap;vertical-align:bottom;animation:\"+a+\" var(--loop,10s) steps(8,end) infinite both}\");}else if(k===\"g\"){out.push(\"@keyframes \"+a+\"{0%,\"+at+\"%{transform:scaleX(0)}\"+(at+12)+\"%,88%{transform:scaleX(1)}94%,100%{transform:scaleX(0)}}\",c+\"{transform-origin:left center;animation:\"+a+\" var(--loop,10s) cubic-bezier(.22,1,.36,1) infinite both}\");}else if(k===\"d\"){out.push(\"@keyframes \"+a+\"{0%,\"+at+\"%{stroke-dashoffset:1}\"+(at+22)+\"%,88%{stroke-dashoffset:0}94%,100%{stroke-dashoffset:1}}\",c+\"{stroke-dasharray:1;animation:\"+a+\" var(--loop,10s) cubic-bezier(.45,0,.2,1) infinite both}\");}}return out.join(\"\\n\");}/** The loop names used in a stretch of JSX class names: every kp-r30 / kp-o35 / … found in the given strings. */export function loopNames(...lists){const out=[];for(const s of lists){const m=s.match(/kp-[rposhtgd]\\d\\d\\b/g);if(m)for(const x of m)out.push(x.slice(3));}return out;}/* ───────── Pieces ───────── */export const Style=({css})=>/*#__PURE__*/_jsx(\"style\",{children:css});/** Brand logo in a circle, or its first letter. */export function BrandMark({name,logo,size=32}){const[bad,setBad]=React.useState(0);const src=logo&&bad<2?bad?logo+(logo.indexOf(\"?\")>=0?\"&\":\"?\")+\"retry=1\":logo:null;return /*#__PURE__*/_jsxs(\"span\",{className:\"kp-mark\",style:{width:size,height:size,fontSize:Math.round(size*.42)},children:[(name||\"?\").slice(0,1),src?/*#__PURE__*/_jsx(\"img\",{src:src,alt:\"\",loading:\"lazy\",decoding:\"async\",onError:()=>setBad(x=>x+1)}):null]});}const ratioOf=r=>{const m=/^(\\d+):(\\d+)$/.exec(r||\"\");return m?Number(m[1])/Number(m[2]):.8;};/** An ad picture in a frame of its shape (its own, once it has loaded, unless lock), pulsing while it loads. */export function AdImg({src,ratio,lock=false,radius=0,alt=\"Ad\"}){const[tries,setTries]=React.useState(0);const[nat,setNat]=React.useState(null);const[loaded,setLoaded]=React.useState(false);const img=React.useRef(null);const url=src&&tries<2?tries?src+(src.indexOf(\"?\")>=0?\"&\":\"?\")+\"retry=1\":src:null;React.useEffect(()=>{const el=img.current;const done=!!(el&&el.complete&&el.naturalWidth&&el.naturalHeight);setNat(done&&el?el.naturalWidth/el.naturalHeight:null);setLoaded(done);},[url]);const r=lock?ratioOf(ratio):nat??ratioOf(ratio);return /*#__PURE__*/_jsx(\"div\",{className:\"kp-pic\"+(!loaded&&url?\" wait\":\"\"),style:{aspectRatio:String(r),borderRadius:radius},children:url?/*#__PURE__*/_jsx(\"img\",{ref:img,src:url,alt:alt,loading:\"lazy\",decoding:\"async\",draggable:false,onLoad:e=>{const el=e.currentTarget;if(el.naturalWidth&&el.naturalHeight)setNat(el.naturalWidth/el.naturalHeight);setLoaded(true);},onError:()=>setTries(x=>x+1)}):null});}/** An ad card: its picture in a frame of its own shape (ratio until it has loaded), an optional header and overlays. */export function AdCard({ad,ratio,head,className=\"\",style,children,lock=false}){return /*#__PURE__*/_jsxs(\"div\",{className:\"kp-ad \"+className,style:style,children:[head,/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\"},children:[/*#__PURE__*/_jsx(AdImg,{src:ad?.image,ratio:lock?ratio:ad?.ratio||ratio,lock:lock,alt:ad?.brand?ad.brand+\" ad\":\"Ad\"}),children]})]});}/** The demo pointer: its path is a CSS animation named path; a quick shrink in it is a click. */export const Cur=({path})=>/*#__PURE__*/_jsx(\"span\",{className:\"kp-cur\",style:{animationName:path},\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"24\",viewBox:\"0 0 20 24\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M2 1.5v18.4l4.7-4.3 3.1 6.9 3.2-1.4-3.1-6.8h6.4z\",fill:\"#15151A\",stroke:\"#fff\",strokeWidth:\"1.6\",strokeLinejoin:\"round\"})})});/** A blinking caret after typed text. */export const Caret=()=>/*#__PURE__*/_jsx(\"i\",{className:\"kp-caret\",\"aria-hidden\":\"true\"});export const Check=({color=\"#C1086D\",top=3})=>/*#__PURE__*/_jsx(\"svg\",{style:{marginTop:top,flex:\"none\",color},width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2.6\",strokeLinecap:\"round\",strokeLinejoin:\"round\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M20 6L9 17l-5-5\"})});export function Icon({d,size=16,w=2.2,color=\"currentColor\"}){return /*#__PURE__*/_jsx(\"svg\",{width:size,height:size,viewBox:\"0 0 24 24\",fill:\"none\",stroke:color,strokeWidth:w,strokeLinecap:\"round\",strokeLinejoin:\"round\",\"aria-hidden\":\"true\",style:{flex:\"none\"},children:/*#__PURE__*/_jsx(\"path\",{d:d})});}export const I={search:\"M11 18a7 7 0 100-14 7 7 0 000 14zM20 20l-4-4\",image:\"M3 5h18v14H3zM3 15l5-5 5 5 3-3 5 5\",trend:\"M3 17l6-6 4 4 8-8M15 7h6v6\",bars:\"M4 20V10M10 20V4M16 20v-7M22 20H2\",target:\"M12 20a8 8 0 100-16 8 8 0 000 16zM12 15a3 3 0 100-6 3 3 0 000 6z\",doc:\"M3 4h18v16H3zM7 9h10M7 13h6\",bookmark:\"M19 21l-7-5-7 5V5a2 2 0 012-2h10a2 2 0 012 2z\",tag:\"M20.6 13.4l-7.2 7.2a2 2 0 01-2.8 0L3 13V3h10l7.6 7.6a2 2 0 010 2.8zM7.5 7.5h.01\",stop:\"M12 21a9 9 0 110-18 9 9 0 010 18zM9 9h6v6H9z\",arrow:\"M5 12h14M13 6l6 6-6 6\",share:\"M12 15V3M7 8l5-5 5 5M5 13v6a2 2 0 002 2h10a2 2 0 002-2v-6\"};/** An area chart of a brand's active ads (the last 30 days). */export function Area({series,gid,height=90}){if(!series||series.length<2)return /*#__PURE__*/_jsx(\"div\",{style:{height}});const W=300;const H=90;const max=Math.max(...series);const min=Math.min(...series);const span=Math.max(1,max-min);const pts=series.map((v,i)=>[i/(series.length-1)*W,H-6-(v-min)/span*(H-16)]);const line=pts.map(([x,y],i)=>(i?\"L\":\"M\")+x.toFixed(1)+\" \"+y.toFixed(1)).join(\"\");return /*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 \"+W+\" \"+H,preserveAspectRatio:\"none\",\"aria-hidden\":\"true\",style:{display:\"block\",width:\"100%\",height},children:[/*#__PURE__*/_jsx(\"defs\",{children:/*#__PURE__*/_jsxs(\"linearGradient\",{id:gid,x1:\"0\",y1:\"0\",x2:\"0\",y2:\"1\",children:[/*#__PURE__*/_jsx(\"stop\",{stopColor:\"#E0107E\",stopOpacity:\".22\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"1\",stopColor:\"#E0107E\",stopOpacity:\"0\"})]})}),/*#__PURE__*/_jsx(\"path\",{d:line+\"L\"+W+\" \"+H+\"L0 \"+H+\"Z\",fill:\"url(#\"+gid+\")\"}),/*#__PURE__*/_jsx(\"path\",{d:line,fill:\"none\",stroke:\"#E0107E\",strokeWidth:\"2\",vectorEffect:\"non-scaling-stroke\",strokeLinejoin:\"round\"})]});}/** The Kafya wordmark (an image the page sets), or the name in brand pink until it's set. */export function Wordmark({src,height=22}){if(src)return /*#__PURE__*/_jsx(\"img\",{src:src,alt:\"Kafya\",style:{display:\"block\",height,width:\"auto\"}});return /*#__PURE__*/_jsx(\"b\",{style:{color:\"#FF138C\",fontSize:height*.8,lineHeight:height+\"px\"},children:\"Kafya\"});}export const imgSrc=v=>typeof v===\"string\"?v:v&&typeof v.src===\"string\"?v.src:undefined;\nexport const __FramerMetadata__ = {\"exports\":{\"Check\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useStage\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"I\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LAd\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"APP\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Style\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fmt\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isStill\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fileKey\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PRICE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ctaImages\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"imgSrc\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useLanding\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"YEARLY_SAVING\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"loopNames\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Slot\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"BrandMark\":{\"type\":\"reactComponent\",\"name\":\"BrandMark\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"loopCss\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Ratio\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AdImg\":{\"type\":\"reactComponent\",\"name\":\"AdImg\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"usd\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Caret\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Area\":{\"type\":\"reactComponent\",\"name\":\"Area\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"BASE_CSS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useAdPool\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Wordmark\":{\"type\":\"reactComponent\",\"name\":\"Wordmark\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Cur\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AdCard\":{\"type\":\"reactComponent\",\"name\":\"AdCard\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"useSlots\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Icon\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"useLibraryCount\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Landing\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useWidth\":{\"type\":\"function\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