{"version":3,"file":"EventbriteCheckout.CJ6xp2EY.mjs","names":["useId","useRef","useState","staticLabel"],"sources":["https:/framerusercontent.com/modules/IuMuEXshNIxmcpyU7E02/VTCkp73EVpnTJgE9mbiF/EventbriteCheckout.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{startTransition,useEffect,useId,useRef,useState}from\"react\";const SCRIPT_SRC=\"https://www.eventbrite.com/static/widgets/eb_widgets.js\";const REG_SELECTOR='a[href*=\"playpass.onwardupwardsports.com\"], a[href*=\"playpass.com/go/\"], a[href*=\"eventbrite.com/e/\"]';const DEFAULT_INTEREST=\"https://onwardupwardsportsevents.beehiiv.com/subscribe\";const CARD_MAX_HEIGHT=900;function idFromUrl(url){const raw=String(url||\"\").trim();if(!/eventbrite\\./i.test(raw))return\"\";const match=raw.match(/(\\d{6,})\\/?(?:\\?.*)?$/);return match?match[1]:\"\";}function parseMap(map){const out={};String(map||\"\").split(/[;\\n]/).forEach(pair=>{const[k,v]=pair.split(\"=\").map(s=>(s||\"\").trim());if(k&&v&&/^\\d{6,}$/.test(v))out[k.toLowerCase()]=v;});return out;}function slugFromPath(pathname){return(String(pathname||\"\").replace(/\\/+$/,\"\").split(\"/\").pop()||\"\").toLowerCase();}/** playpass.onwardupwardsports.com/golf-social-night-ArpL9hU -> golf-social-night */function slugFromPlaypassHref(href){try{const u=new URL(href);const last=u.pathname.replace(/\\/+$/,\"\").split(\"/\").pop()||\"\";return last.replace(/-[A-Za-z0-9]{7}$/,\"\").toLowerCase();}catch{return\"\";}}function detailSlug(a){if(!a)return\"\";const m=(a.getAttribute(\"href\")||\"\").match(/\\/events\\/([^/?#]+)/);return m&&m[1]&&m[1]!==\":slug\"?m[1].toLowerCase():\"\";}/**\n * The card's OWN detail link (/events/<slug>), or null. The card's wrapping\n * link when the whole tile is one; else the first ancestor holding exactly\n * one such link. An ancestor holding several is the grid and stops the\n * walk, so a tile never borrows another tile's link.\n */function detailLinkFromCard(root){if(!root||typeof document===\"undefined\")return null;const wrap=root.closest('a[href*=\"/events/\"]');if(wrap&&detailSlug(wrap))return wrap;let el=root.parentElement;while(el&&el!==document.body){const links=Array.from(el.querySelectorAll('a[href*=\"/events/\"]')).filter(a=>!root.contains(a)&&!!detailSlug(a));if(links.length>1)return null;if(links.length===1)return links[0];el=el.parentElement;}return null;}/** Slug of the card this component sits in, read off its own detail link. */function slugFromCard(root){return detailSlug(detailLinkFromCard(root));}/** A Register link: a known rail, or any external link whose text starts with \"Register\". */function isRegisterLink(a){if(a.matches(REG_SELECTOR))return true;const href=a.getAttribute(\"href\")||\"\";if(!/^https?:\\/\\//i.test(href))return false;const text=(a.textContent||\"\").trim().toLowerCase();return text.startsWith(\"register\");}/** The one Register link that belongs to this card, or null. */function cardRegisterLink(root){if(!root||typeof document===\"undefined\")return null;let el=root.parentElement;while(el){const links=Array.from(el.querySelectorAll(\"a[href]\")).filter(a=>!root.contains(a)&&isRegisterLink(a));if(links.length===1)return links[0];if(links.length>1)return null;if(el===document.body)return null;el=el.parentElement;}return null;}/**\n * The card element: the outermost ancestor that still holds exactly one\n * checkout slot and is no taller than a tile. A grid holds many slots, a\n * page body is taller than a tile, so both stop the walk.\n */function findCard(root){if(!root||typeof document===\"undefined\")return null;let el=root.parentElement;let card=null;while(el&&el!==document.body){if(el.querySelectorAll(\".oau-checkout\").length!==1)break;if(el.getBoundingClientRect().height>CARD_MAX_HEIGHT)break;card=el;el=el.parentElement;}return card;}/** CMS text arrives as plain text or light markdown; strip the markers, keep the lines. */function cleanDescription(text){return String(text||\"\").replace(/<[^>]+>/g,\"\").replace(/\\*\\*/g,\"\").replace(/^\\s*[-*•]\\s+/gm,\"• \").replace(/\\n{3,}/g,\"\\n\\n\").trim();}function loadWidgetScript(){if(typeof window===\"undefined\")return Promise.resolve();const w=window;if(w.EBWidgets)return Promise.resolve();if(w.__oauEbWidgetsPromise)return w.__oauEbWidgetsPromise;w.__oauEbWidgetsPromise=new Promise((resolve,reject)=>{const existing=document.querySelector(`script[src=\"${SCRIPT_SRC}\"]`);if(existing){existing.addEventListener(\"load\",()=>resolve());existing.addEventListener(\"error\",()=>reject());return;}const s=document.createElement(\"script\");s.src=SCRIPT_SRC;s.async=true;s.onload=()=>resolve();s.onerror=()=>reject();document.head.appendChild(s);});return w.__oauEbWidgetsPromise;}export default function EventbriteCheckout(props){const{registrationUrl=\"\",eventId=\"\",slugMap=\"\",label=\"Sign up\",interestUrl=DEFAULT_INTEREST,replaceExisting=true,cardClick=true,cardClickTarget=\"details\",fullWidth=false,align=\"center\",background=\"#F47A00\",color=\"#FFFFFF\",radius=10,description=\"\",descriptionLines=0,descriptionColor=\"#5B6460\",style}=props;const isStatic=useIsStaticRenderer();const reactId=useId().replace(/[^a-zA-Z0-9]/g,\"\");const triggerId=`oau-eb-${reactId}`;const rootRef=useRef(null);const[pageId,setPageId]=useState(\"\");const[directHref,setDirectHref]=useState(\"\");const[scanned,setScanned]=useState(false);const[slug,setSlug]=useState(\"\");const[ready,setReady]=useState(false);const explicit=String(eventId||\"\").trim();const propId=/^\\d{6,}$/.test(explicit)?explicit:idFromUrl(registrationUrl);const propHref=String(registrationUrl||\"\").trim();const propIsDirect=!propId&&/^https?:\\/\\//i.test(propHref);// Resolve from the card: its Register link, else the page path and slug map.\nuseEffect(()=>{if(typeof window===\"undefined\")return;const map=parseMap(slugMap);const root=rootRef.current;const pathSlug=slugFromPath(window.location.pathname);const cardSlug=slugFromCard(root)||pathSlug;let found=propId||map[cardSlug]||\"\";let direct=propIsDirect?propHref:\"\";let foundSlug=cardSlug;const a=cardRegisterLink(root);if(a){const href=a.getAttribute(\"href\")||\"\";const ebId=idFromUrl(href);if(ebId){if(!found)found=ebId;}else if(/playpass\\./i.test(href)){const s=slugFromPlaypassHref(href);if(s)foundSlug=s;if(s&&map[s]){if(!found)found=map[s];}else if(!direct){direct=href;}}else if(!direct){// Partner-hosted: the host's own page is the rail.\ndirect=href;}}startTransition(()=>{setPageId(found);setDirectHref(direct);setSlug(foundSlug);setScanned(true);});},[propId,propIsDirect,propHref,slugMap]);const ebEventId=propId||pageId;useEffect(()=>{if(isStatic||!ebEventId)return;let cancelled=false;loadWidgetScript().then(()=>{if(cancelled)return;const w=window;if(!w.EBWidgets)return;w.EBWidgets.createWidget({widgetType:\"checkout\",eventId:ebEventId,modal:true,modalTriggerElementId:triggerId});startTransition(()=>setReady(true));}).catch(()=>{});return()=>{cancelled=true;};},[ebEventId,isStatic,triggerId]);// Hide the card's old Register link so the card carries one button.\nuseEffect(()=>{if(isStatic||!replaceExisting||typeof document===\"undefined\")return;const a=cardRegisterLink(rootRef.current);if(!a)return;const text=(a.textContent||\"\").trim().toLowerCase();if(!text.startsWith(\"register\"))return;a.style.display=\"none\";return()=>{a.style.display=\"\";};},[isStatic,replaceExisting,ready,scanned]);const ebHref=ebEventId?`https://www.eventbrite.com/e/${ebEventId}`:\"\";const ctaLabel=String(label||\"\").trim()||\"Sign up\";const interestHref=(()=>{const base=String(interestUrl||DEFAULT_INTEREST).trim();if(!slug)return base;return base+(base.includes(\"?\")?\"&\":\"?\")+\"utm_source=site&utm_medium=event&utm_campaign=\"+encodeURIComponent(slug);})();// Whole card is one clickable surface: the event's own page when the\n// target is \"details\" and the card carries its own detail link, else\n// what the button does.\nuseEffect(()=>{if(isStatic||!cardClick||!scanned||typeof document===\"undefined\")return;const card=findCard(rootRef.current);if(!card)return;let detail=cardClickTarget===\"details\"?detailLinkFromCard(rootRef.current):null;// Already on the event's own page: the body does what the button does.\nif(detail&&detailSlug(detail)===slugFromPath(window.location.pathname))detail=null;const detailHref=detail?detail.getAttribute(\"href\")||\"\":\"\";const detailWraps=!!detail&&detail.contains(card);const target=ebEventId?\"\":directHref||interestHref;const onClick=e=>{const t=e.target;if(!t)return;const hit=t.closest(\"a, button\");if(hit&&card.contains(hit))return;// The tile is itself the detail link: the browser handles it.\nif(detailWraps)return;if(detailHref){window.location.assign(detailHref);return;}if(ebEventId){const btn=document.getElementById(triggerId);if(btn)btn.click();else window.open(ebHref,\"_blank\",\"noopener,noreferrer\");return;}if(target)window.open(target,\"_blank\",\"noopener,noreferrer\");};const prevCursor=card.style.cursor;card.style.cursor=\"pointer\";card.setAttribute(\"data-oau-card\",detailHref?\"details\":ebEventId?\"eventbrite\":directHref?\"direct\":\"interest\");card.addEventListener(\"click\",onClick);return()=>{card.style.cursor=prevCursor;card.removeAttribute(\"data-oau-card\");card.removeEventListener(\"click\",onClick);};},[isStatic,cardClick,cardClickTarget,scanned,ebEventId,directHref,interestHref,ebHref,triggerId]);const justify=align===\"left\"?\"flex-start\":align===\"right\"?\"flex-end\":\"center\";const textAlign=align===\"left\"?\"left\":align===\"right\"?\"right\":\"center\";const wrapStyle={position:\"relative\",width:\"100%\",display:\"flex\",flexDirection:\"column\",alignItems:justify===\"center\"?\"center\":justify===\"flex-end\"?\"flex-end\":\"flex-start\",gap:14,...style};const buttonStyle={display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",width:fullWidth?\"100%\":\"fit-content\",minHeight:52,padding:\"14px 28px\",borderRadius:radius,fontFamily:'\"League Spartan\", system-ui, -apple-system, \"Segoe UI\", Helvetica, sans-serif',fontSize:19,fontWeight:700,lineHeight:1.1,textDecoration:\"none\",background,color,border:\"none\",cursor:\"pointer\",boxShadow:\"0 2px 10px rgba(244,122,0,0.28)\",boxSizing:\"border-box\"};const text=cleanDescription(description);const lines=Math.max(0,Math.round(Number(descriptionLines)||0));const clamp=lines>0;const descStyle={width:\"100%\",margin:0,fontFamily:'\"League Spartan\", system-ui, -apple-system, \"Segoe UI\", Helvetica, sans-serif',fontSize:17,fontWeight:400,lineHeight:1.45,letterSpacing:\"-0.005em\",color:descriptionColor,textAlign,whiteSpace:\"pre-line\",overflow:\"hidden\",display:clamp?\"-webkit-box\":\"block\",WebkitLineClamp:clamp?lines:undefined,WebkitBoxOrient:clamp?\"vertical\":undefined};// Description lives on the card because the modal never shows it. Plain\n// text only: the Register button stays the one CTA on the tile.\nconst descriptionBlock=text?/*#__PURE__*/_jsx(\"p\",{style:descStyle,children:text}):null;// Static render (SEO, canvas): show a link to whatever is known.\nif(isStatic){const staticHref=ebHref||(propIsDirect?propHref:interestHref);const staticLabel=ctaLabel;return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,className:\"oau-checkout\",style:wrapStyle,children:[descriptionBlock,/*#__PURE__*/_jsx(\"a\",{href:staticHref,target:\"_blank\",rel:\"noopener noreferrer\",style:buttonStyle,children:staticLabel})]});}// OAU-organized, priced: Eventbrite modal checkout.\nif(ebEventId){return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,className:\"oau-checkout\",style:wrapStyle,children:[descriptionBlock,/*#__PURE__*/_jsx(\"button\",{id:triggerId,type:\"button\",style:buttonStyle,onClick:()=>{if(!ready&&typeof window!==\"undefined\"){window.open(ebHref,\"_blank\",\"noopener,noreferrer\");}},children:ctaLabel})]});}// Not scanned yet: hold the slot so the card does not jump.\nif(!scanned){return /*#__PURE__*/_jsx(\"div\",{ref:rootRef,className:\"oau-checkout\",style:{...wrapStyle,minHeight:52},children:descriptionBlock});}// Playpass or partner-hosted: straight to that page.\nif(directHref){return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,className:\"oau-checkout\",style:wrapStyle,children:[descriptionBlock,/*#__PURE__*/_jsx(\"a\",{href:directHref,target:\"_blank\",rel:\"noopener noreferrer\",style:buttonStyle,children:ctaLabel})]});}// NOT PRICED: interest list on the newsletter.\nreturn /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,className:\"oau-checkout\",style:wrapStyle,children:[descriptionBlock,/*#__PURE__*/_jsx(\"a\",{href:interestHref,target:\"_blank\",rel:\"noopener noreferrer\",style:buttonStyle,children:ctaLabel})]});}const DEFAULTS={registrationUrl:\"\",eventId:\"\",slugMap:\"\",label:\"Sign up\",interestUrl:DEFAULT_INTEREST,replaceExisting:true,cardClick:true,cardClickTarget:\"details\",fullWidth:false,align:\"center\",background:\"#F47A00\",color:\"#FFFFFF\",radius:10,description:\"\",descriptionLines:0,descriptionColor:\"#5B6460\"};EventbriteCheckout.defaultProps=DEFAULTS;addPropertyControls(EventbriteCheckout,{registrationUrl:{type:ControlType.String,title:\"Registration URL\",placeholder:\"Bind to CMS Registration URL\"},eventId:{type:ControlType.String,title:\"Event ID\",placeholder:\"Optional, overrides the URL\"},slugMap:{type:ControlType.String,title:\"Slug Map\",displayTextArea:true,placeholder:\"slug=eventId;slug=eventId\"},description:{type:ControlType.String,title:\"Description\",displayTextArea:true,placeholder:\"Bind to CMS Description Plain\"},descriptionLines:{type:ControlType.Number,title:\"Description lines\",description:\"0 shows the whole description\",min:0,max:12,step:1,defaultValue:0},descriptionColor:{type:ControlType.Color,title:\"Description text\",defaultValue:\"#5B6460\"},label:{type:ControlType.String,title:\"Label\",defaultValue:\"Sign up\"},interestUrl:{type:ControlType.String,title:\"Interest URL\",defaultValue:DEFAULT_INTEREST},replaceExisting:{type:ControlType.Boolean,title:\"Replace existing\",defaultValue:true},cardClick:{type:ControlType.Boolean,title:\"Whole card clicks\",defaultValue:true},cardClickTarget:{type:ControlType.Enum,title:\"Card click opens\",options:[\"details\",\"checkout\"],optionTitles:[\"Event page\",\"Checkout\"],defaultValue:\"details\",displaySegmentedControl:true},fullWidth:{type:ControlType.Boolean,title:\"Full width\",defaultValue:false},align:{type:ControlType.Enum,title:\"Align\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"],defaultValue:\"center\",displaySegmentedControl:true},background:{type:ControlType.Color,title:\"Background\",defaultValue:\"#F47A00\"},color:{type:ControlType.Color,title:\"Text\",defaultValue:\"#FFFFFF\"},radius:{type:ControlType.Number,title:\"Radius\",min:0,max:40,unit:\"px\",defaultValue:10}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"EventbriteCheckout\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"vari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