{"version":3,"file":"ChallengeOverrides.DU76_9lt.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/tRNw08gFPb6icpuZpPau/qbJ7siQS9OYug0Vajcff/ChallengeOverrides.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";const WORKER_BASE=\"https://api.monococollective.com\";let activeCall=null;let activeFetch=null;const callCache=new Map;function getSlug(){if(typeof window===\"undefined\")return null;const params=new URLSearchParams(window.location.search);return params.get(\"call\")||params.get(\"challenge\");}async function fetchJson(url){const res=await fetch(url);if(!res.ok)throw new Error(`Request failed: ${res.status}`);return res.json();}async function fetchPublicCall(){const slug=getSlug();if(slug&&callCache.has(slug))return callCache.get(slug)||null;if(!slug&&activeCall)return activeCall;if(!slug&&activeFetch)return activeFetch;const request=(async()=>{const url=slug?`${WORKER_BASE}/api/public/calls/${slug}`:`${WORKER_BASE}/api/public/calls/active`;const json=await fetchJson(url);const call=json?.data||null;if(call?.slug)callCache.set(call.slug,call);if(!slug)activeCall=call;return call;})();if(!slug)activeFetch=request;try{return await request;}finally{if(!slug)activeFetch=null;}}function usePublicCall(){const[call,setCall]=useState(()=>{const slug=getSlug();return slug?callCache.get(slug)||null:activeCall;});useEffect(()=>{let alive=true;fetchPublicCall().then(data=>{if(alive&&data)setCall(data);}).catch(()=>{});return()=>{alive=false;};},[]);return call;}export function withChallengeEntryModalTrigger(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,onClick:event=>{event?.preventDefault?.();event?.stopPropagation?.();window.dispatchEvent(new CustomEvent(\"monoco:open-entry-modal\",{detail:{}}));}});};}function withCategoryEntryModalTrigger(Component,preferred,fallback){return props=>{const call=usePublicCall();const category=findCategory(call,preferred);const categorySlug=category?.slug||fallback;return /*#__PURE__*/_jsx(Component,{...props,onClick:event=>{event?.preventDefault?.();event?.stopPropagation?.();window.dispatchEvent(new CustomEvent(\"monoco:open-entry-modal\",{detail:{categorySlug}}));}});};}export const withPeopleEntryModalTrigger=Component=>withCategoryEntryModalTrigger(Component,[\"people-presence\",\"people\"],\"people-presence\");export const withNatureEntryModalTrigger=Component=>withCategoryEntryModalTrigger(Component,[\"nature-made\",\"nature\"],\"nature-made\");export const withHumanEntryModalTrigger=Component=>withCategoryEntryModalTrigger(Component,[\"human-made\",\"human\"],\"human-made\");export function withGalleryAllLink(Component){return props=>{const call=usePublicCall();return /*#__PURE__*/_jsx(Component,{...props,onClick:event=>{event?.preventDefault?.();window.location.href=buildGalleryLink(call,\"all\");},style:{...props.style,cursor:\"pointer\"}});};}export function withFullBriefTrigger(Component){return props=>/*#__PURE__*/_jsx(Component,{...props,onClick:event=>{event?.preventDefault?.();window.dispatchEvent(new CustomEvent(\"monoco:open-brief-modal\"));props.onClick?.(event);},style:{...props.style,cursor:\"pointer\"}});}export function withFaqLink(Component){return props=>/*#__PURE__*/_jsx(Component,{...props,onClick:event=>{event?.preventDefault?.();window.location.href=\"/monthly-challenge-faq\";},style:{...props.style,cursor:\"pointer\"}});}export function withChallengePageLink(Component){return props=>{const call=usePublicCall();const getDestination=()=>{const params=new URLSearchParams;if(call?.slug)params.set(\"call\",call.slug);const query=params.toString();return`/monthly-challenge${query?`?${query}`:\"\"}`;};const navigate=()=>{window.location.href=getDestination();};return /*#__PURE__*/_jsx(Component,{...props,role:\"link\",tabIndex:0,\"aria-label\":\"Submit an image to the current monthly challenge\",onClick:event=>{event?.preventDefault?.();navigate();},onKeyDown:event=>{if(event?.key!==\"Enter\"&&event?.key!==\" \")return;event.preventDefault?.();navigate();props.onKeyDown?.(event);},style:{...props.style,cursor:\"pointer\"}});};}export function withGalleryPublicRoutes(Component){return props=>/*#__PURE__*/_jsx(Component,{...props});}function parseDate(value){if(!value)return null;const date=new Date(value);return Number.isNaN(date.getTime())?null:date;}function formatMonth(value){const date=parseDate(value);if(!date)return null;return date.toLocaleDateString(\"en-US\",{month:\"long\",year:\"numeric\"}).toUpperCase();}function formatShortMonth(value){const date=parseDate(value);if(!date)return null;return date.toLocaleDateString(\"en-US\",{month:\"short\",year:\"numeric\"}).toUpperCase();}function formatCloseDate(value){const date=parseDate(value);if(!date)return null;return date.toLocaleDateString(\"en-US\",{day:\"numeric\",month:\"long\"}).toUpperCase();}function firstParagraph(value){return value?.split(/\\n\\s*\\n/)[0]?.trim()||null;}function firstSentence(value){const paragraph=firstParagraph(value);return paragraph?.match(/^.*?[.!?](?:\\s|$)/)?.[0]?.trim()||paragraph;}function daysLeft(value){const close=parseDate(value);if(!close)return null;return Math.max(0,Math.ceil((close.getTime()-Date.now())/864e5));}function findCategory(call,preferred){return call?.categories?.find(category=>preferred.includes(category.slug)||preferred.includes(category.key));}function buildGalleryLink(call,category){const params=new URLSearchParams;if(call?.slug)params.set(\"call\",call.slug);params.set(\"category\",category);return`/gallery?${params.toString()}`;}function useActiveCategory(){const[activeCategory,setActiveCategory]=useState(\"all\");useEffect(()=>{const syncFromLocation=()=>{setActiveCategory(new URLSearchParams(window.location.search).get(\"category\")||\"all\");};syncFromLocation();window.addEventListener(\"popstate\",syncFromLocation);return()=>window.removeEventListener(\"popstate\",syncFromLocation);},[]);return activeCategory;}function withCategoryLink(Component,preferred,fallback){return props=>{const call=usePublicCall();const category=findCategory(call,preferred);const active=useActiveCategory();const categorySlug=category?.slug||fallback;const link=buildGalleryLink(call,categorySlug);return /*#__PURE__*/_jsx(Component,{...props,variant:active===categorySlug?\"Selected\":\"Default\",onClick:()=>window.location.href=link,style:{...props.style,cursor:\"pointer\"}});};}export function withChallengeName(Component){return props=>{const call=usePublicCall();const value=call?.title??props.text;return /*#__PURE__*/_jsx(Component,{...props,text:value});};}export function withCurrentChallengeBannerTitle(Component){return props=>{const call=usePublicCall();const value=call?.title?`THE CURRENT CHALLENGE — ${call.title.toUpperCase()}`:props.text;return /*#__PURE__*/_jsx(Component,{...props,text:value});};}export function withChallengeEyebrow(Component){return props=>/*#__PURE__*/_jsx(Component,{...props,text:\"MONTHLY CHALLENGE\"});}export function withChallengeEyebrowDate(Component){return props=>{const call=usePublicCall();const month=formatShortMonth(call?.deadlineAt||call?.closeAt||call?.openAt);const value=month?` \\xb7 ${month}`:props.text;return /*#__PURE__*/_jsx(Component,{...props,text:value});};}export function withCategoriesIntroduction(Component){return props=>{const call=usePublicCall();const title=call?.title?.trim();const value=title?`The three categories offer different approaches to ${title}. You can submit one image to each category—up to three total. Choose the category that best fits each image.`:props.text;return /*#__PURE__*/_jsx(Component,{...props,text:value});};}export function withChallengeSubtitle(Component){return props=>{const call=usePublicCall();const value=call?.subtitle||firstSentence(call?.brief)||props.text;return /*#__PURE__*/_jsx(Component,{...props,text:value});};}export function withChallengeBriefSummary(Component){return props=>{const call=usePublicCall();const value=call?.briefSummary||firstParagraph(call?.brief)||props.text;return /*#__PURE__*/_jsx(Component,{...props,text:value});};}export function withChallengeBrief(Component){return props=>{const call=usePublicCall();const value=call?.brief??props.text;return /*#__PURE__*/_jsx(Component,{...props,text:value});};}export function withCloseDate(Component){return props=>{const call=usePublicCall();const close=formatCloseDate(call?.closeAt||call?.deadlineAt);const categoryCount=call?.categories?.length||0;const text=close?`CLOSES ${close} | ${categoryCount} CATEGORIES | OPEN TO ALL LEVELS`:props.text;return /*#__PURE__*/_jsx(Component,{...props,text:text});};}export function withCloseDateLabel(Component){return props=>{const call=usePublicCall();const close=formatCloseDate(call?.closeAt||call?.deadlineAt);const value=close?`Closes ${close}`:props.text;return /*#__PURE__*/_jsx(Component,{...props,text:value});};}export function withDaysLeft(Component){return props=>{const call=usePublicCall();const days=daysLeft(call?.closeAt||call?.deadlineAt);const text=days===null?props.text:`${days} ${days===1?\"day\":\"days\"} left`;return /*#__PURE__*/_jsx(Component,{...props,text:text});};}export function withChallengeMonth(Component){return props=>{const call=usePublicCall();const text=formatMonth(call?.deadlineAt||call?.closeAt||call?.openAt)||props.text;return /*#__PURE__*/_jsx(Component,{...props,text:text});};}export function withHeroImage(Component){return props=>{const call=usePublicCall();if(!call?.heroImage?.url)return /*#__PURE__*/_jsx(Component,{...props});return /*#__PURE__*/_jsx(Component,{...props,background:{src:call.heroImage.url,fit:\"fill\",alt:call.heroImage.altText||call.title}});};}export function withEditorsLink(Component){return props=>{const call=usePublicCall();const active=useActiveCategory();const link=buildGalleryLink(call,\"editors\");return /*#__PURE__*/_jsx(Component,{...props,variant:active===\"editors\"?\"Selected\":\"Default\",onClick:()=>window.location.href=link,style:{...props.style,cursor:\"pointer\"}});};}export function withAllLink(Component){return props=>{const call=usePublicCall();const active=useActiveCategory();const link=buildGalleryLink(call,\"all\");return /*#__PURE__*/_jsx(Component,{...props,variant:active===\"all\"?\"Selected\":\"Default\",onClick:()=>window.location.href=link,style:{...props.style,cursor:\"pointer\"}});};}export function withThumbPeople(Component){return props=>{const category=findCategory(usePublicCall(),[\"people-presence\",\"people\"]);if(!category?.image?.url)return /*#__PURE__*/_jsx(Component,{...props});return /*#__PURE__*/_jsx(Component,{...props,background:{src:category.image.url,fit:\"fill\",alt:category.label}});};}export function withPeopleDesc(Component){return props=>{const category=findCategory(usePublicCall(),[\"people-presence\",\"people\"]);return /*#__PURE__*/_jsx(Component,{...props,text:category?.description??props.text});};}export function withPeopleName(Component){return props=>{const category=findCategory(usePublicCall(),[\"people-presence\",\"people\"]);return /*#__PURE__*/_jsx(Component,{...props,text:category?.label??props.text});};}export const withPeopleLink=Component=>withCategoryLink(Component,[\"people-presence\",\"people\"],\"people-presence\");export function withThumbNature(Component){return props=>{const category=findCategory(usePublicCall(),[\"nature-made\",\"nature\"]);if(!category?.image?.url)return /*#__PURE__*/_jsx(Component,{...props});return /*#__PURE__*/_jsx(Component,{...props,background:{src:category.image.url,fit:\"fill\",alt:category.label}});};}export function withNatureDesc(Component){return props=>{const category=findCategory(usePublicCall(),[\"nature-made\",\"nature\"]);return /*#__PURE__*/_jsx(Component,{...props,text:category?.description??props.text});};}export function withNatureName(Component){return props=>{const category=findCategory(usePublicCall(),[\"nature-made\",\"nature\"]);return /*#__PURE__*/_jsx(Component,{...props,text:category?.label??props.text});};}export const withNatureLink=Component=>withCategoryLink(Component,[\"nature-made\",\"nature\"],\"nature-made\");export function withThumbHuman(Component){return props=>{const category=findCategory(usePublicCall(),[\"human-made\",\"human\"]);if(!category?.image?.url)return /*#__PURE__*/_jsx(Component,{...props});return /*#__PURE__*/_jsx(Component,{...props,background:{src:category.image.url,fit:\"fill\",alt:category.label}});};}export function withHumanDesc(Component){return props=>{const category=findCategory(usePublicCall(),[\"human-made\",\"human\"]);return /*#__PURE__*/_jsx(Component,{...props,text:category?.description??props.text});};}export function withHumanName(Component){return props=>{const category=findCategory(usePublicCall(),[\"human-made\",\"human\"]);return /*#__PURE__*/_jsx(Component,{...props,text:category?.label??props.text});};}export const withHumanLink=Component=>withCategoryLink(Component,[\"human-made\",\"human\"],\"human-made\");\nexport const __FramerMetadata__ = {\"exports\":{\"withCategoriesIntroduction\":{\"type\":\"reactHoc\",\"name\":\"withCategoriesIntroduction\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHumanLink\":{\"type\":\"reactHoc\",\"name\":\"withHumanLink\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHeroImage\":{\"type\":\"reactHoc\",\"name\":\"withHeroImage\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNatureEntryModalTrigger\":{\"type\":\"reactHoc\",\"name\":\"withNatureEntryModalTrigger\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withChallengeEyebrow\":{\"type\":\"reactHoc\",\"name\":\"withChallengeEyebrow\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHumanEntryModalTrigger\":{\"type\":\"reactHoc\",\"name\":\"withHumanEntryModalTrigger\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withThumbHuman\":{\"type\":\"reactHoc\",\"name\":\"withThumbHuman\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withChallengeEntryModalTrigger\":{\"type\":\"reactHoc\",\"name\":\"withChallengeEntryModalTrigger\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withChallengePageLink\":{\"type\":\"reactHoc\",\"name\":\"withChallengePageLink\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHumanDesc\":{\"type\":\"reactHoc\",\"name\":\"withHumanDesc\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withChallengeBrief\":{\"type\":\"reactHoc\",\"name\":\"withChallengeBrief\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withChallengeBriefSummary\":{\"type\":\"reactHoc\",\"name\":\"withChallengeBriefSummary\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPeopleEntryModalTrigger\":{\"type\":\"reactHoc\",\"name\":\"withPeopleEntryModalTrigger\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withChallengeName\":{\"type\":\"reactHoc\",\"name\":\"withChallengeName\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPeopleName\":{\"type\":\"reactHoc\",\"name\":\"withPeopleName\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFaqLink\":{\"type\":\"reactHoc\",\"name\":\"withFaqLink\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGalleryPublicRoutes\":{\"type\":\"reactHoc\",\"name\":\"withGalleryPublicRoutes\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNatureLink\":{\"type\":\"reactHoc\",\"name\":\"withNatureLink\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withEditorsLink\":{\"type\":\"reactHoc\",\"name\":\"withEditorsLink\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withChallengeEyebrowDate\":{\"type\":\"reactHoc\",\"name\":\"withChallengeEyebrowDate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCurrentChallengeBannerTitle\":{\"type\":\"reactHoc\",\"name\":\"withCurrentChallengeBannerTitle\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPeopleDesc\":{\"type\":\"reactHoc\",\"name\":\"withPeopleDesc\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDaysLeft\":{\"type\":\"reactHoc\",\"name\":\"withDaysLeft\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withChallengeSubtitle\":{\"type\":\"reactHoc\",\"name\":\"withChallengeSubtitle\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCloseDateLabel\":{\"type\":\"reactHoc\",\"name\":\"withCloseDateLabel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHumanName\":{\"type\":\"reactHoc\",\"name\":\"withHumanName\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNatureDesc\":{\"type\":\"reactHoc\",\"name\":\"withNatureDesc\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withThumbPeople\":{\"type\":\"reactHoc\",\"name\":\"withThumbPeople\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAllLink\":{\"type\":\"reactHoc\",\"name\":\"withAllLink\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPeopleLink\":{\"type\":\"reactHoc\",\"name\":\"withPeopleLink\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNatureName\":{\"type\":\"reactHoc\",\"name\":\"withNatureName\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withThumbNature\":{\"type\":\"reactHoc\",\"name\":\"withThumbNature\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCloseDate\":{\"type\":\"reactHoc\",\"name\":\"withCloseDate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGalleryAllLink\":{\"type\":\"reactHoc\",\"name\":\"withGalleryAllLink\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withChallengeMonth\":{\"type\":\"reactHoc\",\"name\":\"withChallengeMonth\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFullBriefTrigger\":{\"type\":\"reactHoc\",\"name\":\"withFullBriefTrigger\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ChallengeOverrides.map"],"mappings":"uIAAuM,SAAS,GAAS,CAAC,GAAU,IAAS,OAAY,OAAO,KAAK,IA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