{"version":3,"file":"Work_Count.DJSvsw4g.mjs","names":["useRef","useCallback","useState","__esmMin","init_npm_react_18_3_1","ne","init_ssg_sandbox_shims","window","_e","J","init_jsx_runtime","ce","de","init_framer_CKT6jEEQ","addPropertyControls","ControlType","publish","count","currentCount","listeners","listener","countProjects","slugs","root","match","anchor","PROJECT_LINK","CATEGORIES","withWorkGridCount","rootRef","setRef","node","forwardedRef","timer","update","observer","Component","props","stepDelay","left","speed","onceVisible","fire","entries","entry","teamCount","n","resolve","portalCount","started","wait","me","d","clientPageCount","names","liveCount","section","sitemap","r","pattern","xml","countUp","typed","source","target","setTarget","shown","setShown","startFrom","seen","setSeen","seenRef","nodeRef","alive","found","onShown","v","COUNT_STEP","text","pad","withCountUp","CountUpTyped","withWorkCountUp","CountUpWork","withJournalCountUp","CountUpJournal","WorkCount","boxRef","lead","value","startNumber","withTeamCountUp","CountUpTeam","withPortalCountUp","CountUpPortal","withClientProjectsCountUp","CountUpClient","withActiveProjectsCountUp","CountUpActive","withPastProjectsCountUp","CountUpPast","COUNT_LEAD","init_Work_Count"],"sources":["https:/framerusercontent.com/modules/VGRPZ2aGmuS2TRbQwhF9/fPbw5M81KFUqbm1rdlIO/Work_Count.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,useCallback,useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";// The Work grid reports how many projects it is showing; the header count follows it.\n// This way the number stays right when a filter token switches the grid in place.\nconst CATEGORIES=new Set([\"commercials\",\"brand-films\",\"tv-shows\",\"documentaries\",\"testimonials\"]);// Framer writes card links relative to the page that loaded: \"./work/slug\" from /work, \"./slug\" from /work/<type>.\nconst PROJECT_LINK=/^(?:\\.{0,2}\\/)*(?:work\\/)?([^/?#.:]+)\\/?(?:[?#].*)?$/;const listeners=new Set;let currentCount=null;function publish(count){if(count===currentCount)return;currentCount=count;listeners.forEach(listener=>listener(count));}function countProjects(root){const slugs=new Set;root.querySelectorAll(\"a[href]\").forEach(anchor=>{const match=(anchor.getAttribute(\"href\")||\"\").match(PROJECT_LINK);if(match&&match[1]!==\"work\"&&!CATEGORIES.has(match[1]))slugs.add(match[1]);});return slugs.size;}export function withWorkGridCount(Component){return /*#__PURE__*/forwardRef((props,forwardedRef)=>{const rootRef=useRef(null);const setRef=useCallback(node=>{rootRef.current=node;if(typeof forwardedRef===\"function\")forwardedRef(node);else if(forwardedRef)forwardedRef.current=node;},[forwardedRef]);useEffect(()=>{const root=rootRef.current;if(!root||typeof MutationObserver===\"undefined\")return;let timer;const update=()=>{window.clearTimeout(timer);// Wait for the variant switch to settle before counting.\ntimer=window.setTimeout(()=>publish(countProjects(root)),150);};update();const observer=new MutationObserver(update);observer.observe(root,{childList:true,subtree:true});return()=>{observer.disconnect();window.clearTimeout(timer);};},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:setRef});});}// ---- Count-up for the home section numbers, \"(19)\" style (2026-10-16) ----\nconst COUNT_LEAD=4;const COUNT_STEP=110;// Slow the last couple of steps so the count settles instead of stopping dead.\nfunction stepDelay(speed,left){return left<=1?speed*2.4:left===2?speed*1.6:speed;}function onceVisible(node,fire){if(!node||typeof IntersectionObserver===\"undefined\"){fire();return;}const observer=new IntersectionObserver(entries=>{if(entries.some(entry=>entry.isIntersecting)){observer.disconnect();fire();}},{threshold:.6});observer.observe(node);return()=>observer.disconnect();}// Live totals come from the published sitemap, which Framer rebuilds on every publish.\nlet sitemap=null;// About page team: count the team cards actually on the page (the flip cards in the visible layout).\nfunction teamCount(){return new Promise(resolve=>window.setTimeout(()=>{const n=Array.from(document.querySelectorAll(\".txfw-flip\")).filter(e=>e.offsetParent).length;resolve(n||null);},400));}// Portal \"Your Projects\": how many projects this person can see. Uses the portal's own sign-in lookup\n// (window.__txfwMe, started by the portal components on the page), waiting up to ~6s for it to begin.\nfunction portalCount(){return new Promise(resolve=>{const started=Date.now();const wait=()=>{const me=window.__txfwMe;if(me&&typeof me.then===\"function\")return me.then(d=>resolve(d?.projects?d.projects.length:null),()=>resolve(null));if(Date.now()-started>6e3)return resolve(null);window.setTimeout(wait,100);};wait();});}// Portal client page: the project cards actually showing (active + past), once Portal Gate has hidden\n// any this person can't see. Waits for the sign-in lookup, then a beat for the page to settle.\nfunction clientPageCount(names=['[data-framer-name=\"Project Card\"]','[data-framer-name=\"Past Project\"]']){return portalCount().then(()=>new Promise(resolve=>window.setTimeout(()=>{const cards=Array.from(document.querySelectorAll(names.join(\", \")));resolve(cards.filter(e=>e.offsetParent&&getComputedStyle(e).display!==\"none\").length);},700)));}function liveCount(section){if(section===\"past\")return typeof window===\"undefined\"?Promise.resolve(null):clientPageCount(['[data-framer-name=\"Past Project\"]']);if(section===\"active\")return typeof window===\"undefined\"?Promise.resolve(null):clientPageCount(['[data-framer-name=\"Project Card\"]']);if(section===\"client\")return typeof window===\"undefined\"?Promise.resolve(null):clientPageCount();if(section===\"portal\")return typeof window===\"undefined\"?Promise.resolve(null):portalCount();if(section===\"team\")return typeof document===\"undefined\"?Promise.resolve(null):teamCount();if(typeof fetch===\"undefined\")return Promise.resolve(null);if(!sitemap)sitemap=fetch(\"/sitemap.xml\").then(r=>r.ok?r.text():\"\").catch(()=>\"\");return sitemap.then(xml=>{const slugs=new Set;const pattern=new RegExp(`<loc>[^<]*/${section}/([^/<]+)</loc>`,\"g\");let match;while(match=pattern.exec(xml))if(section!==\"work\"||!CATEGORIES.has(match[1]))slugs.add(match[1]);return slugs.size||null;});}// Only as many digits as the number needs: (7), (12). Nothing to count shows no counter at all.\nconst pad=n=>String(n);// Count up from a few below, but never from 0 when there is something to count.\nconst startFrom=n=>n>0?Math.max(1,n-COUNT_LEAD):0;function countUp(source){return Component=>{return /*#__PURE__*/forwardRef((props,forwardedRef)=>{// The portal count is only known once the sign-in lookup answers, so ignore the placeholder number.\nconst typed=source===\"portal\"||source===\"client\"||source===\"active\"||source===\"past\"?NaN:parseInt(String(props.text??\"\").replace(/\\D/g,\"\"),10);const[target,setTarget]=useState(isNaN(typed)?null:typed);const[shown,setShown]=useState(isNaN(typed)?null:startFrom(typed));const[seen,setSeen]=useState(false);const seenRef=useRef(false);const nodeRef=useRef(null);const setRef=useCallback(node=>{nodeRef.current=node;if(typeof forwardedRef===\"function\")forwardedRef(node);else if(forwardedRef)forwardedRef.current=node;},[forwardedRef]);useEffect(()=>{if(!source)return;let alive=true;liveCount(source).then(found=>{// Portal home: the status filter may already have reported how many projects show.\nconst n=source===\"portal\"&&typeof window.__txfwPortalShown===\"number\"?window.__txfwPortalShown:found;if(!alive||n===null)return;setTarget(n);if(!seenRef.current||source===\"portal\"||source===\"client\"||source===\"active\"||source===\"past\")setShown(startFrom(n));});// Portal home (2026-10-17): follow the status filter, counting up or down to the projects showing.\nconst onShown=e=>{const n=e.detail;if(alive&&typeof n===\"number\")setTarget(n);};if(source===\"portal\")window.addEventListener(\"txfw-portal-shown\",onShown);return()=>{alive=false;window.removeEventListener(\"txfw-portal-shown\",onShown);};},[]);// Framer doesn't always pass the typed text as a prop; read it from the rendered number instead.\nuseEffect(()=>{if(source===\"portal\"||source===\"client\"||source===\"active\"||source===\"past\"||target!==null||!nodeRef.current)return;const n=parseInt((nodeRef.current.textContent||\"\").replace(/\\D/g,\"\"),10);if(isNaN(n))return;setTarget(n);if(!seenRef.current)setShown(startFrom(n));},[]);useEffect(()=>onceVisible(nodeRef.current,()=>{seenRef.current=true;setSeen(true);}),[]);useEffect(()=>{if(!seen||target===null||shown===null||shown===target)return;const left=Math.abs(target-shown);const timer=window.setTimeout(()=>setShown(v=>v+(target>v?1:-1)),stepDelay(COUNT_STEP,left));return()=>window.clearTimeout(timer);},[seen,target,shown]);const text=target===0?\"\\xa0\":shown===null?source===\"portal\"||source===\"client\"||source===\"active\"||source===\"past\"?\"\\xa0\":props.text:`(${pad(shown)})`;return /*#__PURE__*/_jsx(Component,{...props,text:text,ref:setRef});});};}const CountUpTyped=countUp();const CountUpWork=countUp(\"work\");const CountUpJournal=countUp(\"journal\");const CountUpTeam=countUp(\"team\");const CountUpPortal=countUp(\"portal\");const CountUpClient=countUp(\"client\");const CountUpActive=countUp(\"active\");const CountUpPast=countUp(\"past\");/** Counts up to the number already typed in the text, e.g. About Us \"(06)\". */export function withCountUp(Component){return CountUpTyped(Component);}/** Counts up to the live number of published projects. */export function withWorkCountUp(Component){return CountUpWork(Component);}/** Counts up to the live number of journal posts. */export function withJournalCountUp(Component){return CountUpJournal(Component);}/**\n * Work Count\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function WorkCount(props){const{startNumber=10,lead=4,speed=70,color=\"#010103\",fontFamily=\"Avenir\",fontSize=30}=props;const[target,setTarget]=useState(currentCount);const[shown,setShown]=useState(null);const[seen,setSeen]=useState(false);const boxRef=useRef(null);// Count up only once the number is on screen.\nuseEffect(()=>onceVisible(boxRef.current,()=>setSeen(true)),[]);useEffect(()=>{listeners.add(setTarget);if(currentCount!==null)setTarget(currentCount);return()=>{listeners.delete(setTarget);};},[]);// The first real count starts the number a few below it (2026-10-16: Joel wanted a short count-up on first view).\nuseEffect(()=>{if(target!==null&&shown===null)setShown(Math.max(0,target-lead));},[target,shown,lead]);// Step one number at a time toward the target, up or down; the last steps slow down a little.\nuseEffect(()=>{if(!seen||target===null||shown===null||shown===target)return;const left=Math.abs(target-shown);const timer=window.setTimeout(()=>setShown(value=>value+(target>value?1:-1)),stepDelay(speed,left));return()=>window.clearTimeout(timer);},[seen,target,shown,speed]);return /*#__PURE__*/_jsx(\"div\",{ref:boxRef,style:{...props.style,opacity:target===null?0:1,color,fontFamily,fontSize,lineHeight:1,whiteSpace:\"nowrap\",fontVariantNumeric:\"tabular-nums\"},children:shown??(target!==null?Math.max(0,target-lead):startNumber)});}addPropertyControls(WorkCount,{startNumber:{type:ControlType.Number,title:\"Start\",defaultValue:10,displayStepper:true},lead:{type:ControlType.Number,title:\"Count From −\",defaultValue:4,min:0,max:20,displayStepper:true},speed:{type:ControlType.Number,title:\"Step (ms)\",defaultValue:70,min:10,max:500},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#010103\"},fontFamily:{type:ControlType.String,title:\"Font Family\",defaultValue:\"Avenir\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:30,min:8,max:200}});/** Counts up to the number of team cards on the About page. */export function withTeamCountUp(Component){return CountUpTeam(Component);}/** Portal \"Your Projects\": counts up to the number of projects the signed-in person can see. */export function withPortalCountUp(Component){return CountUpPortal(Component);}/** Portal client page: counts up to the number of project cards showing on the page. */export function withClientProjectsCountUp(Component){return CountUpClient(Component);}/** Portal client page \"Active Projects\": counts up to the active project cards showing. */export function withActiveProjectsCountUp(Component){return CountUpActive(Component);}/** Portal client page \"Past Projects\": counts up to the delivered project cards showing. */export function withPastProjectsCountUp(Component){return CountUpPast(Component);}\nexport const __FramerMetadata__ = {\"exports\":{\"withTeamCountUp\":{\"type\":\"reactHoc\",\"name\":\"withTeamCountUp\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withActiveProjectsCountUp\":{\"type\":\"reactHoc\",\"name\":\"withActiveProjectsCountUp\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withClientProjectsCountUp\":{\"type\":\"reactHoc\",\"name\":\"withClientProjectsCountUp\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"WorkCount\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"withPastProjectsCountUp\":{\"type\":\"reactHoc\",\"name\":\"withPastProjectsCountUp\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withJournalCountUp\":{\"type\":\"reactHoc\",\"name\":\"withJournalCountUp\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPortalCountUp\":{\"type\":\"reactHoc\",\"name\":\"withPortalCountUp\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCountUp\":{\"type\":\"reactHoc\",\"name\":\"withCountUp\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWorkGridCount\":{\"type\":\"reactHoc\",\"name\":\"withWorkGridCount\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWorkCountUp\":{\"type\":\"reactHoc\",\"name\":\"withWorkCountUp\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Work_Count.map"],"mappings":"A,+MAGwH,SAASgB,EAAQ,EAAM,CAAIC,IAAQC,IAAoB,EAAaD,EAAME,EAAU,QAAQ,GAAUC,EAASH,CAAK,CAAC,EAAE,CAAC,SAASI,EAAc,EAAK,CAAC,IAAMC,kBAAM,IAAI,IAAsM,OAAlMC,EAAK,iBAAiB,SAAS,CAAC,CAAC,QAAQ,GAAQ,CAAC,IAAMC,GAAOC,EAAO,aAAa,MAAM,GAAG,GAAA,CAAI,MAAMC,CAAY,EAAKF,GAAOA,EAAM,KAAK,QAAQ,CAACG,EAAW,IAAIH,EAAM,EAAE,GAAEF,EAAM,IAAIE,EAAM,EAAE,CAAE,CAAC,EAASF,EAAM,IAAK,CAAC,SAAgBM,EAAkB,EAAU,CAAC,MAAoB,iBAAY,EAAM,IAAe,CAAC,IAAMC,EAAQ7B,EAAO,IAAI,EAAQ8B,EAAO7B,EAAY,GAAM,CAAC,EAAQ,QAAQ8B,EAAQ,OAAOC,GAAe,WAAWA,EAAaD,CAAI,EAAUC,IAAa,EAAa,QAAQD,EAAK,EAAE,CAACC,CAAY,CAAC,EACjjB,OADmjBrB,MAAc,CAAC,IAAMY,EAAKM,EAAQ,QAAQ,GAAG,CAACN,GAAM,OAAO,iBAAmB,IAAY,OAAO,IAAIU,EAAYC,MAAW,CAAC3B,EAAO,aAAa0B,CAAK,EACv7B,EAAM1B,EAAO,eAAeS,EAAQK,EAAcE,CAAI,CAAC,EAAE,GAAG,CAAE,EAAEW,EAAO,EAAE,IAAMC,EAAS,IAAI,iBAAiBD,CAAM,EAAuD,OAArDC,EAAS,QAAQZ,EAAK,CA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