{"version":3,"file":"AFRecentApplications.C4O8L9Yr.mjs","names":["useRef","useId","useState","startTransition","__esmMin","init_npm_react_18_3_1","init_ssg_sandbox_shims","window","te","ie","init_npm_react_dom_18_3_1","_e","Ha","c","init_jsx_runtime","ce","de","init_framer_D6uXRwWs","useIsStaticRenderer","RenderTarget","ControlType","loadTypeform","w","resolve","CSS","href","l","st","Z_FIX","SCRIPT_SRC","s","started","wait","resolveFormId","v","value","data","m","pauseVSL","visit","root","sr","el","AFApplicationForm","props","isStatic","ref","boxClass","formID","alive","widget","tf","id","passParams","p","saved","lift","on","n","mo","_ignored","outer","style","box","sizeCss","formHeight","desktopHeight","accentColor","init_AFApplicationForm","addPropertyControls","normalize","full","pick","o","ts","t","r","ago","h","AFRecentApplications","isCanvas","rows","setRows","current","setCurrent","visible","setVisible","demoMode","row","feedUrl","load","list","cutoff","maxAgeHours","recent","b","a","gaps","schedule","x","seq","order","k","j","i","step","hideTimer","nextTimer","showNext","showFor","text","message","card","init_AFRecentApplications","keys"],"sources":["https:/framerusercontent.com/modules/i8wQZ8FYzfsK8KRoTae7/EzB5ZucMDUzJCJtSvyJh/AFApplicationForm.js","https:/framerusercontent.com/modules/jhVB7FtwPok11l20CFaS/yZ68p5EIaNXQM7ad90AQ/AFRecentApplications.js"],"sourcesContent":["// Affiliate Freedom application: inline Typeform embed block.\n// Accepts a Typeform form ID (e.g. h0IpiWvo) or a Typeform \"live embed\" ID\n// (e.g. 01M6YYCJD8HCXASYQBAVRBHCNF). Shows the welcome screen inline; on phones, tapping\n// the start button opens the form full screen (Typeform's mobile mode). The VSL pauses\n// when someone starts the form. UTM / tracking params pass through as hidden fields.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useId,useRef}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";const SCRIPT_SRC=\"https://embed.typeform.com/next/embed.js\";const CSS=[\"https://embed.typeform.com/next/css/widget.css\",\"https://embed.typeform.com/next/css/popup.css\"];// Keep Typeform's full-screen views above every other overlay on the page\nconst Z_FIX=\".tf-v1-widget-fullscreen,.tf-v1-popup{z-index:2147483600 !important}\"+\".tf-v1-popup.af-tf-full .tf-v1-iframe-wrapper{width:100% !important;height:100% !important;min-width:100% !important;min-height:100% !important}\"+\".tf-v1-popup.af-tf-full .tf-v1-iframe-wrapper iframe{border-radius:0 !important}\"+\".tf-v1-popup.af-tf-full .tf-v1-close{top:10px !important;right:14px !important;color:#000 !important;z-index:2}\";function loadTypeform(){const w=window;return new Promise(resolve=>{if(w.tf?.createWidget)return resolve(w.tf);CSS.forEach(href=>{if(!document.querySelector(`link[href=\"${href}\"]`)){const l=document.createElement(\"link\");l.rel=\"stylesheet\";l.href=href;document.head.appendChild(l);}});if(!document.getElementById(\"af-tf-zfix\")){const st=document.createElement(\"style\");st.id=\"af-tf-zfix\";st.textContent=Z_FIX;document.head.appendChild(st);}if(!document.querySelector(`script[src=\"${SCRIPT_SRC}\"]`)){const s=document.createElement(\"script\");s.src=SCRIPT_SRC;s.async=true;document.body.appendChild(s);}const started=Date.now();const wait=()=>{if(w.tf?.createWidget||Date.now()-started>1e4)resolve(w.tf);else window.setTimeout(wait,60);};wait();});}// Live-embed IDs (26-char) are resolved to the underlying form ID via Typeform's API\nasync function resolveFormId(value){const v=value.trim();if(!/^[0-9A-Z]{26}$/.test(v))return v;const w=window;w.__afTfIds=w.__afTfIds||{};if(w.__afTfIds[v])return w.__afTfIds[v];try{const res=await fetch(`https://api.typeform.com/single-embed/${v}`);const data=await res.json();const m=String(data?.html||\"\").match(/data-tf-(?:widget|popup|live|slider|popover|sidetab)=\"([^\"]+)\"/);if(m)w.__afTfIds[v]=m[1];return m?m[1]:\"\";}catch{return\"\";}}// Pause the VSL (Vidalytics API first, then any playing video on the page)\nfunction pauseVSL(){const w=window;try{Object.values(w._vidalytics?.embeds||{}).forEach(e=>{try{e?.player?.pause?.();}catch{}});}catch{}const visit=root=>{root.querySelectorAll(\"video, audio\").forEach(m=>{try{m.pause();}catch{}});root.querySelectorAll(\"*\").forEach(el=>{const sr=el.shadowRoot;if(sr)visit(sr);});};try{visit(document);}catch{}}/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n */export default function AFApplicationForm(props){const{formID,passParams,formHeight,desktopHeight,accentColor,style}=props;const isStatic=useIsStaticRenderer();const ref=useRef(null);const boxClass=\"af-tf-box-\"+useId().replace(/[^a-zA-Z0-9_-]/g,\"\");useEffect(()=>{if(isStatic||typeof window===\"undefined\"||!formID||!ref.current)return;let alive=true;let widget;(async()=>{const[tf,id]=await Promise.all([loadTypeform(),resolveFormId(formID)]);if(!alive||!tf?.createWidget||!id||!ref.current)return;ref.current.setAttribute(\"data-af-tf-form\",id)// lets the Apply buttons reuse it\n;ref.current.innerHTML=\"\";widget=tf.createWidget(id,{container:ref.current,opacity:100,inlineOnMobile:false,iframeProps:{title:\"Affiliate Freedom Application\"},transitiveSearchParams:passParams.split(\",\").map(p=>p.trim()).filter(Boolean),medium:\"snippet\",onStarted:()=>pauseVSL()});})();// When Typeform goes full screen on phones, make sure no ancestor can trap or cover it\nconst el=ref.current;const saved=[];const lift=on=>{if(on&&saved.length===0){let n=el.parentElement;while(n&&n!==document.body){saved.push({node:n,transform:n.style.transform,willChange:n.style.willChange,zIndex:n.style.zIndex});n.style.transform=\"none\";n.style.willChange=\"auto\";n.style.zIndex=\"2147483600\";n=n.parentElement;}pauseVSL();}else if(!on&&saved.length){saved.splice(0).forEach(s=>{s.node.style.transform=s.transform;s.node.style.willChange=s.willChange;s.node.style.zIndex=s.zIndex;});}};const mo=new MutationObserver(()=>lift(el.classList.contains(\"tf-v1-widget-fullscreen\")));mo.observe(el,{attributes:true,attributeFilter:[\"class\"]});return()=>{alive=false;mo.disconnect();lift(false);widget?.unmount?.();};},[isStatic,formID,passParams]);// Height: \"Phone Height\" on phones, \"Desktop Height\" on tablets and computers (810px+)\nconst{height:_ignored,...outer}=style||{};const box={position:\"relative\",width:\"100%\",...outer};const sizeCss=`.${boxClass}{height:${formHeight}px}`+`@media (min-width:810px){.${boxClass}{height:${desktopHeight||formHeight}px}}`;if(isStatic||!formID){return /*#__PURE__*/_jsxs(\"div\",{className:boxClass,style:{...box,display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",gap:10,border:`2px dashed ${accentColor}`,borderRadius:14,background:`${accentColor}0F`,boxSizing:\"border-box\",fontFamily:'\"Inter\", system-ui, sans-serif',color:\"#4A4843\",textAlign:\"center\",padding:24},children:[/*#__PURE__*/_jsx(\"style\",{children:sizeCss}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:'\"Archivo\", \"Inter\", sans-serif',fontWeight:800,fontSize:20,color:\"#0E0E0C\"},children:\"Typeform embed\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:14,maxWidth:340,lineHeight:1.5},children:formID?`Form ${formID} loads in Preview and on the published page.`:\"Paste your Typeform form ID or live embed ID into “Typeform ID”.\"})]});}return /*#__PURE__*/_jsxs(\"div\",{className:boxClass,style:box,children:[/*#__PURE__*/_jsx(\"style\",{children:sizeCss}),/*#__PURE__*/_jsx(\"div\",{ref:ref,id:\"typeform-embed\",\"data-af-tf-id\":formID,style:{width:\"100%\",height:\"100%\"}})]});}addPropertyControls(AFApplicationForm,{formID:{type:ControlType.String,title:\"Typeform ID\",defaultValue:\"\",description:\"Form ID (h0IpiWvo) or live embed ID (01M6YYCJD8HCXASYQBAVRBHCNF).\"},passParams:{type:ControlType.String,title:\"Pass Params\",defaultValue:\"utm_source,utm_medium,utm_campaign,utm_term,utm_content,trakyo_id,fbclid\"},formHeight:{type:ControlType.Number,title:\"Phone Height\",defaultValue:400,min:360,max:1e3,unit:\"px\"},desktopHeight:{type:ControlType.Number,title:\"Desktop Height\",defaultValue:640,min:360,max:1e3,unit:\"px\",description:\"Used on tablets and computers (810px and wider).\"},accentColor:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#EDB420\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AFApplicationForm\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AFApplicationForm.map","// Affiliate Freedom \"just applied\" pop-ups: small card in the top-left of the page that\n// periodically shows a real recent applicant (\"Mike just applied to Affiliate Freedom from\n// Austin, TX\"). Reads a JSON feed of real applications, e.g. Typeform → Google Sheet published\n// through opensheet (https://opensheet.elk.sh/<sheetId>/<tab>). Rows need a first name (or\n// \"name\"), \"city\" and \"state\"; an optional \"timestamp\" shows \"x min ago\" and lets old rows be\n// skipped. With no feed (or no recent rows) nothing is shown.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useState,startTransition}from\"react\";import{createPortal}from\"react-dom\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";const pick=(o,keys)=>{for(const k of Object.keys(o))if(keys.includes(k.toLowerCase().replace(/[\\s_]/g,\"\")))return String(o[k]??\"\").trim();return\"\";};function normalize(data){const arr=Array.isArray(data)?data:Array.isArray(data?.items)?data.items:[];return arr.map(o=>{const full=pick(o,[\"firstname\",\"name\",\"first\"]);const ts=pick(o,[\"timestamp\",\"submittedat\",\"time\",\"date\",\"createdat\"]);const t=ts?Date.parse(ts):NaN;return{name:full.split(\" \")[0],city:pick(o,[\"city\"]),state:pick(o,[\"state\",\"region\",\"statecode\"]),time:Number.isFinite(t)?t:null};}).filter(r=>r.name&&r.city);}function ago(t){if(!t)return\"\";const m=Math.max(1,Math.round((Date.now()-t)/6e4));if(m<60)return`${m} min ago`;const h=Math.round(m/60);return h<24?`${h} hr ago`:`${Math.round(h/24)} day${h>=48?\"s\":\"\"} ago`;}/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function AFRecentApplications(props){const{feedUrl,message,schedule,showFor,maxAgeHours,accentColor,demoMode=false,style}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const[rows,setRows]=useState([]);const[current,setCurrent]=useState(null);const[visible,setVisible]=useState(false);useEffect(()=>{setVisible(false);setCurrent(null);setRows([]);if(demoMode){setRows((props.sampleApplicants?.length?props.sampleApplicants:[{name:\"Jonathan\",city:\"Miami\",state:\"Florida\"},{name:\"Sarah\",city:\"Austin\",state:\"Texas\"},{name:\"Michael\",city:\"Denver\",state:\"Colorado\"},{name:\"Emily\",city:\"Phoenix\",state:\"Arizona\"},{name:\"David\",city:\"San Diego\",state:\"California\"}]).map(row=>({...row,time:null})));return;}if(isCanvas||!feedUrl||typeof window===\"undefined\")return;let alive=true;const load=async()=>{try{const res=await fetch(feedUrl,{cache:\"no-store\"});const list=normalize(await res.json());const cutoff=Date.now()-maxAgeHours*36e5;const recent=list.filter(r=>!r.time||r.time>=cutoff).sort((a,b)=>(b.time||0)-(a.time||0));if(alive)startTransition(()=>setRows(recent.slice(0,25)));}catch{/* no feed → show nothing */}};load();const t=window.setInterval(load,5*6e4);return()=>{alive=false;window.clearInterval(t);};},[demoMode,isCanvas,feedUrl,maxAgeHours,props.sampleApplicants]);useEffect(()=>{if(isCanvas||rows.length===0)return;// Gaps (seconds) between pop-ups, e.g. \"25,45,25,60,35\" — repeats after the last one\nconst gaps=schedule.split(\",\").map(x=>Number(x.trim())).filter(n=>Number.isFinite(n)&&n>0);const seq=gaps.length?gaps:[25];// Real applicants in a shuffled order so it doesn't read top-to-bottom\nconst order=[...rows];for(let k=order.length-1;k>0;k--){const j=Math.floor(Math.random()*(k+1));[order[k],order[j]]=[order[j],order[k]];}let i=0;let step=0;let hideTimer;let nextTimer;const showNext=()=>{const row=order[i%order.length];i++;startTransition(()=>{setCurrent(row);setVisible(true);});hideTimer=window.setTimeout(()=>startTransition(()=>setVisible(false)),showFor*1e3);nextTimer=window.setTimeout(showNext,seq[step++%seq.length]*1e3);};nextTimer=window.setTimeout(showNext,seq[step++%seq.length]*1e3);return()=>{window.clearTimeout(hideTimer);window.clearTimeout(nextTimer);};},[isCanvas,rows,schedule,showFor]);const row=isCanvas?{...props.sampleApplicants?.[0]??{name:\"Jonathan\",city:\"Miami\",state:\"Florida\"},time:null}:current;if(!row)return /*#__PURE__*/_jsx(\"div\",{style:{width:1,height:1,...style}});const text=message.replace(\"{name}\",row.name).replace(\"{city}\",row.city).replace(\"{state}\",row.state);const card=/*#__PURE__*/_jsxs(\"div\",{role:\"status\",style:{position:isCanvas?\"relative\":\"fixed\",top:isCanvas?undefined:16,left:isCanvas?undefined:16,zIndex:2147482e3,width:\"max-content\",maxWidth:\"calc(100vw - 32px)\",boxSizing:\"border-box\",display:\"flex\",alignItems:\"center\",gap:8,padding:`${props.paddingY??7}px ${props.paddingX??12}px`,borderRadius:props.bubbleRadius??999,background:props.bubbleColor??\"rgba(14,14,12,0.78)\",backdropFilter:\"blur(6px)\",WebkitBackdropFilter:\"blur(6px)\",fontFamily:'\"Archivo\", \"Inter\", system-ui, sans-serif',color:props.textColor??\"#F5F5F2\",opacity:isCanvas||visible?1:0,transform:isCanvas||visible?\"translateY(0)\":\"translateY(-12px)\",transition:\"opacity .35s ease, transform .35s ease\",pointerEvents:isCanvas?\"auto\":\"none\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{flexShrink:0,width:8,height:8,borderRadius:999,background:props.dotColor??\"#FF3B30\"}}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:2},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:props.textSize??12,lineHeight:1.35,fontWeight:700},children:text}),row.time&&/*#__PURE__*/_jsx(\"span\",{style:{fontSize:11.5},children:ago(row.time)})]})]});if(isCanvas)return /*#__PURE__*/_jsx(\"div\",{style:{...style,overflow:\"visible\",transform:`translate(${props.canvasOffsetX??0}px, ${props.canvasOffsetY??0}px)`},children:card});return /*#__PURE__*/_jsx(\"div\",{style:{width:1,height:1,...style},children:typeof document!==\"undefined\"&&/*#__PURE__*/createPortal(card,document.body)});}addPropertyControls(AFRecentApplications,{demoLabel:{type:ControlType.Enum,title:\"Demo Label\",options:[\"Demo \\xb7 simulated application\",\"Sample application \\xb7 test data\",\"Test preview \\xb7 fictional applicant\"],defaultValue:\"Demo \\xb7 simulated application\"},sampleApplicants:{type:ControlType.Array,title:\"Sample Applicants\",control:{type:ControlType.Object,controls:{name:{type:ControlType.String,title:\"Name\"},city:{type:ControlType.String,title:\"City\"},state:{type:ControlType.String,title:\"State\"}}},defaultValue:[{name:\"Jonathan\",city:\"Miami\",state:\"Florida\"},{name:\"Sarah\",city:\"Austin\",state:\"Texas\"},{name:\"Michael\",city:\"Denver\",state:\"Colorado\"},{name:\"Emily\",city:\"Phoenix\",state:\"Arizona\"},{name:\"David\",city:\"San Diego\",state:\"California\"}]},canvasOffsetX:{type:ControlType.Number,title:\"Canvas Offset X\",defaultValue:0,min:-1e3,max:1e3},canvasOffsetY:{type:ControlType.Number,title:\"Canvas Offset Y\",defaultValue:0,min:-1e3,max:1e3},bubbleColor:{type:ControlType.Color,title:\"Bubble\",defaultValue:\"rgba(14,14,12,0.78)\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#F5F5F2\"},textSize:{type:ControlType.Number,title:\"Text Size\",defaultValue:12,min:10,max:24},bubbleRadius:{type:ControlType.Number,title:\"Roundness\",defaultValue:999,min:0,max:999},paddingX:{type:ControlType.Number,title:\"Padding X\",defaultValue:12,min:4,max:40},paddingY:{type:ControlType.Number,title:\"Padding Y\",defaultValue:7,min:4,max:24},dotColor:{type:ControlType.Color,title:\"Status Dot\",defaultValue:\"#FF3B30\"},demoMode:{type:ControlType.Boolean,title:\"Demo Activity\",defaultValue:false},feedUrl:{type:ControlType.String,title:\"Feed URL\",defaultValue:\"\",description:\"JSON list of real applications (e.g. Typeform → Google Sheet → opensheet URL).\"},message:{type:ControlType.String,title:\"Message\",defaultValue:\"{name} just applied to Affiliate Freedom from {city}, {state}\"},schedule:{type:ControlType.String,title:\"Timing (s)\",defaultValue:\"25,45,25,60,35\",description:\"Seconds before each pop-up: first after 25s, next 45s later, etc. Repeats.\"},showFor:{type:ControlType.Number,title:\"Show For\",defaultValue:6,min:2,max:20,unit:\"s\"},maxAgeHours:{type:ControlType.Number,title:\"Max Age\",defaultValue:72,min:1,max:720,unit:\"h\"},accentColor:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#EDB420\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AFRecentApplications\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AFRecentApplications.map"],"mappings":"A,8OAM2a,SAASqB,GAAc,CAAC,IAAMC,EAAEf,EAAO,OAAO,IAAI,QAAQ,GAAS,CAAC,GAAGe,EAAE,IAAI,aAAa,OAAOC,EAAQD,EAAE,EAAE,EAAgL,GAA9KE,EAAI,QAAQ,GAAM,CAAC,GAAG,CAAC,SAAS,cAAc,cAAcC,EAAK,GAAG,EAAE,CAAC,IAAMC,EAAE,SAAS,cAAc,MAAM,EAAE,EAAE,IAAI,aAAa,EAAE,KAAKD,EAAK,SAAS,KAAK,YAAYC,CAAC,CAAE,CAAC,CAAC,EAAK,CAAC,SAAS,eAAe,YAAY,EAAE,CAAC,IAAMC,EAAG,SAAS,cAAc,OAAO,EAAE,EAAG,GAAG,aAAa,EAAG,YAAYC,EAAM,SAAS,KAAK,YAAYD,CAAE,CAAE,CAAC,GAAG,CAAC,SAAS,cAAc,eAAeE,EAAW,GAAG,EAAE,CAAC,IAAMC,EAAE,SAAS,cAAc,QAAQ,EAAE,EAAE,IAAID,EAAW,EAAE,MAAM,GAAK,SAAS,KAAK,YAAYC,CAAC,CAAE,CAAC,IAAMC,EAAQ,KAAK,IAAI,EAAQC,MAAS,CAAIV,EAAE,IAAI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