{"version":3,"file":"SpotlightShowcaseBehavior.CQ4UyRPI.mjs","names":["React.forwardRef","useRef","useState","_Fragment"],"sources":["https:/framerusercontent.com/modules/liGwkIXVDPkg4CfKUJoR/BvPhIrJAI4RLkVfNzsaP/zD0HidK19.js","https:/framerusercontent.com/modules/zkssTgEobtPFeiqd0iJK/Skhdh7u2NAKyQxyHBrd5/SpotlightCat.js","https:/framerusercontent.com/modules/cKRKHDZ5he24IDswWusi/4T2d3kWuJfKvTVr2O3T2/SpotlightShowcaseBehavior.js"],"sourcesContent":["// Generated by Framer (85eaff3)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 0 12 L 6 6 L 0 0\" fill=\"transparent\" height=\"12px\" id=\"sVN6YVZ9m\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(9 6)\" width=\"6px\"/></svg>';const getProps=({color,height,id,width,width1,...props})=>{return{...props,JEeZYcamG:width1??props.JEeZYcamG??2,P_DcoRcrY:color??props.P_DcoRcrY??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,P_DcoRcrY,JEeZYcamG,...restProps}=getProps(props);const href=useSVGTemplate(\"2903821725\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-ab47M\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1m973uw\":P_DcoRcrY,\"--js9iwy\":JEeZYcamG,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-ab47M { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"P_DcoRcrY\":\"color\",\"JEeZYcamG\":\"width1\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Chevron Right\",\"color\":{\"type\":\"variable\",\"value\":\"1m973uw\"},\"set\":{\"localId\":\"vectorSet/ZsiCCGPvG\",\"id\":\"ZsiCCGPvG\",\"moduleId\":\"Y7SpbVH16cWqMhj75z1M\"}}\n */const Icon=withCSS(Component,css,\"framer-ab47M\");Icon.displayName=\"Chevron Right\";export default Icon;addPropertyControls(Icon,{P_DcoRcrY:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},JEeZYcamG:{defaultValue:2,displayStepper:true,hidden:false,max:16,min:1,title:\"Width\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"24\",\"framerIntrinsicWidth\":\"24\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerImmutableVariables\":\"true\",\"framerVector\":\"{\\\"name\\\":\\\"Chevron Right\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"1m973uw\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/ZsiCCGPvG\\\",\\\"id\\\":\\\"ZsiCCGPvG\\\",\\\"moduleId\\\":\\\"Y7SpbVH16cWqMhj75z1M\\\"}}\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerVariables\":\"{\\\"P_DcoRcrY\\\":\\\"color\\\",\\\"JEeZYcamG\\\":\\\"width1\\\"}\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * A decorative inline-SVG cat that peeks over a Spotlight card.\n * Entrance motion is triggered once by IntersectionObserver and uses CSS\n * keyframes so Framer cannot skip the SVG starting transforms during hydration.\n *\n * @framerIntrinsicWidth 104\n * @framerIntrinsicHeight 87\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function SpotlightCat(props){const{showCat=true,animationEnabled=true,ambientBlink=true,bodyColor=\"#E7E2D9\",earColor=\"#C8B5A2\",lineColor=\"#5B5650\",eyeColor=\"#232323\",style}=props;const rootRef=useRef(null);const[hasEntered,setHasEntered]=useState(false);const[prefersReducedMotion,setPrefersReducedMotion]=useState(false);useEffect(()=>{if(typeof window===\"undefined\"||!window.matchMedia)return;const mediaQuery=window.matchMedia(\"(prefers-reduced-motion: reduce)\");const updatePreference=()=>setPrefersReducedMotion(mediaQuery.matches);updatePreference();mediaQuery.addEventListener?.(\"change\",updatePreference);return()=>mediaQuery.removeEventListener?.(\"change\",updatePreference);},[]);useEffect(()=>{if(!animationEnabled||prefersReducedMotion){setHasEntered(true);return;}setHasEntered(false);const node=rootRef.current;if(!node||typeof window===\"undefined\")return;let startTimer;const playEntrance=()=>{startTimer=window.setTimeout(()=>setHasEntered(true),120);};if(!(\"IntersectionObserver\"in window)){playEntrance();return()=>{if(startTimer!==undefined)window.clearTimeout(startTimer);};}const observer=new window.IntersectionObserver(entries=>{if(!entries[0]?.isIntersecting)return;observer.disconnect();playEntrance();},{threshold:.25,rootMargin:\"0px 0px -8% 0px\"});observer.observe(node);return()=>{observer.disconnect();if(startTimer!==undefined)window.clearTimeout(startTimer);};},[animationEnabled,prefersReducedMotion]);if(!showCat)return null;const motionEnabled=animationEnabled&&!prefersReducedMotion;const stateClass=!motionEnabled?\"spotlight-cat--static\":hasEntered?\"spotlight-cat--enter\":\"spotlight-cat--waiting\";const blinkClass=motionEnabled&&hasEntered&&ambientBlink?\" spotlight-cat--ambient\":\"\";return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,\"aria-hidden\":\"true\",className:`spotlight-cat ${stateClass}${blinkClass}`,style:{...style,position:\"relative\",width:\"100%\",height:\"100%\",display:\"block\",overflow:\"visible\",pointerEvents:\"none\",userSelect:\"none\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .spotlight-cat,\n                .spotlight-cat svg,\n                .spotlight-cat svg * {\n                    pointer-events: none !important;\n                }\n\n                .spotlight-cat #cat-left-ear,\n                .spotlight-cat #cat-right-ear,\n                .spotlight-cat #cat-head,\n                .spotlight-cat #cat-left-paw,\n                .spotlight-cat #cat-right-paw,\n                .spotlight-cat #cat-eyes,\n                .spotlight-cat #cat-eye-shapes,\n                .spotlight-cat #cat-right-paw-tap {\n                    transform-box: fill-box;\n                }\n\n                .spotlight-cat #cat-eyes,\n                .spotlight-cat #cat-eye-shapes {\n                    transform-origin: center;\n                }\n\n                .spotlight-cat #cat-right-paw-tap {\n                    transform-origin: 100% 100%;\n                }\n\n                .spotlight-cat--waiting #cat-left-ear,\n                .spotlight-cat--waiting #cat-right-ear {\n                    opacity: 0;\n                    transform: translateY(18px);\n                }\n\n                .spotlight-cat--waiting #cat-head {\n                    opacity: 0;\n                    transform: translateY(28px);\n                }\n\n                .spotlight-cat--waiting #cat-left-paw,\n                .spotlight-cat--waiting #cat-right-paw {\n                    opacity: 0;\n                    transform: translateY(16px);\n                }\n\n                .spotlight-cat--enter #cat-left-ear {\n                    animation: spotlightCatEar 300ms 140ms cubic-bezier(.22,1,.36,1) both;\n                }\n\n                .spotlight-cat--enter #cat-right-ear {\n                    animation: spotlightCatEar 300ms 180ms cubic-bezier(.22,1,.36,1) both;\n                }\n\n                .spotlight-cat--enter #cat-head {\n                    animation: spotlightCatHead 580ms 220ms cubic-bezier(.16,1,.3,1) both;\n                }\n\n                .spotlight-cat--enter #cat-left-paw {\n                    animation: spotlightCatPaw 340ms 480ms cubic-bezier(.22,1,.36,1) both;\n                }\n\n                .spotlight-cat--enter #cat-right-paw {\n                    animation: spotlightCatPaw 340ms 520ms cubic-bezier(.22,1,.36,1) both;\n                }\n\n                .spotlight-cat--enter #cat-eyes {\n                    animation: spotlightCatBlink 220ms 700ms ease-in-out both;\n                }\n\n                .spotlight-cat--enter #cat-right-paw-tap {\n                    animation: spotlightCatTap 280ms 720ms ease-in-out both;\n                }\n\n                .spotlight-cat--enter.spotlight-cat--ambient #cat-eye-shapes {\n                    animation: spotlightCatNaturalBlink 12s 1s ease-in-out infinite;\n                }\n\n                @keyframes spotlightCatEar {\n                    from { opacity: 0; transform: translateY(18px); }\n                    to { opacity: 1; transform: translateY(0); }\n                }\n\n                @keyframes spotlightCatHead {\n                    from { opacity: 0; transform: translateY(28px); }\n                    to { opacity: 1; transform: translateY(0); }\n                }\n\n                @keyframes spotlightCatPaw {\n                    from { opacity: 0; transform: translateY(16px); }\n                    to { opacity: 1; transform: translateY(0); }\n                }\n\n                @keyframes spotlightCatBlink {\n                    0%, 28% { transform: scaleY(1); }\n                    58% { transform: scaleY(.08); }\n                    100% { transform: scaleY(1); }\n                }\n\n                @keyframes spotlightCatTap {\n                    0%, 100% { transform: translateY(0) rotate(0); }\n                    50% { transform: translateY(-3px) rotate(-9deg); }\n                }\n\n                @keyframes spotlightCatNaturalBlink {\n                    0%, 96%, 98%, 100% { transform: scaleY(1); }\n                    97% { transform: scaleY(.08); }\n                }\n\n                @media (prefers-reduced-motion: reduce) {\n                    .spotlight-cat svg * {\n                        animation: none !important;\n                        opacity: 1 !important;\n                        transform: none !important;\n                    }\n                }\n            `}),/*#__PURE__*/_jsxs(\"svg\",{\"aria-hidden\":\"true\",focusable:\"false\",role:\"presentation\",viewBox:\"0 0 120 100\",width:\"100%\",height:\"100%\",style:{display:\"block\",overflow:\"visible\",pointerEvents:\"none\"},children:[/*#__PURE__*/_jsxs(\"g\",{id:\"cat-left-ear\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M33 32 L35.5 8 Q36 4 39.5 6.5 L52 23 Z\",fill:bodyColor,stroke:lineColor,strokeWidth:\"2.2\",strokeLinejoin:\"round\",vectorEffect:\"non-scaling-stroke\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M38.5 12.5 L39.5 24 L47 22 Z\",fill:earColor,opacity:\"0.82\"})]}),/*#__PURE__*/_jsxs(\"g\",{id:\"cat-right-ear\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M87 32 L84.5 8 Q84 4 80.5 6.5 L68 23 Z\",fill:bodyColor,stroke:lineColor,strokeWidth:\"2.2\",strokeLinejoin:\"round\",vectorEffect:\"non-scaling-stroke\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M81.5 12.5 L80.5 24 L73 22 Z\",fill:earColor,opacity:\"0.82\"})]}),/*#__PURE__*/_jsxs(\"g\",{id:\"cat-head\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M32 31 C36 23 45 19 60 19 C75 19 84 23 88 31 C92 39 93 54 90 65 C87 76 77 82 60 82 C43 82 33 76 30 65 C27 54 28 39 32 31 Z\",fill:bodyColor,stroke:lineColor,strokeWidth:\"2.2\",strokeLinejoin:\"round\",vectorEffect:\"non-scaling-stroke\"}),/*#__PURE__*/_jsx(\"g\",{id:\"cat-eyes\",children:/*#__PURE__*/_jsxs(\"g\",{id:\"cat-eye-shapes\",children:[/*#__PURE__*/_jsxs(\"g\",{id:\"cat-left-eye\",children:[/*#__PURE__*/_jsx(\"ellipse\",{cx:\"48.5\",cy:\"51.5\",rx:\"3.7\",ry:\"4.8\",fill:eyeColor}),/*#__PURE__*/_jsx(\"circle\",{cx:\"49.7\",cy:\"50\",r:\"1\",fill:\"#FFFFFF\",opacity:\"0.72\"})]}),/*#__PURE__*/_jsxs(\"g\",{id:\"cat-right-eye\",children:[/*#__PURE__*/_jsx(\"ellipse\",{cx:\"71.5\",cy:\"51.5\",rx:\"3.7\",ry:\"4.8\",fill:eyeColor}),/*#__PURE__*/_jsx(\"circle\",{cx:\"72.7\",cy:\"50\",r:\"1\",fill:\"#FFFFFF\",opacity:\"0.72\"})]})]})}),/*#__PURE__*/_jsx(\"g\",{id:\"cat-nose\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M56.8 61.2 Q60 59.2 63.2 61.2 Q60 65 56.8 61.2 Z\",fill:earColor,stroke:lineColor,strokeWidth:\"1.2\",strokeLinejoin:\"round\",vectorEffect:\"non-scaling-stroke\"})}),/*#__PURE__*/_jsxs(\"g\",{id:\"cat-mouth\",fill:\"none\",stroke:lineColor,strokeWidth:\"1.6\",strokeLinecap:\"round\",vectorEffect:\"non-scaling-stroke\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M60 64 C59.2 68 55.5 69 53.5 66.7\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M60 64 C60.8 68 64.5 69 66.5 66.7\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M44.5 63.5 L33 61.5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M44 67 L32.5 68\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M75.5 63.5 L87 61.5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M76 67 L87.5 68\"})]})]}),/*#__PURE__*/_jsxs(\"g\",{id:\"cat-left-paw\",children:[/*#__PURE__*/_jsx(\"rect\",{x:\"34\",y:\"74\",width:\"20\",height:\"21\",rx:\"9.5\",fill:bodyColor,stroke:lineColor,strokeWidth:\"2.2\",vectorEffect:\"non-scaling-stroke\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M41 87 L41 91 M47 87 L47 91\",stroke:lineColor,strokeWidth:\"1.2\",strokeLinecap:\"round\",opacity:\"0.55\",vectorEffect:\"non-scaling-stroke\"})]}),/*#__PURE__*/_jsx(\"g\",{id:\"cat-right-paw\",children:/*#__PURE__*/_jsxs(\"g\",{id:\"cat-right-paw-tap\",children:[/*#__PURE__*/_jsx(\"rect\",{x:\"66\",y:\"74\",width:\"20\",height:\"21\",rx:\"9.5\",fill:bodyColor,stroke:lineColor,strokeWidth:\"2.2\",vectorEffect:\"non-scaling-stroke\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M73 87 L73 91 M79 87 L79 91\",stroke:lineColor,strokeWidth:\"1.2\",strokeLinecap:\"round\",opacity:\"0.55\",vectorEffect:\"non-scaling-stroke\"})]})})]})]});}SpotlightCat.displayName=\"Spotlight Cat\";addPropertyControls(SpotlightCat,{showCat:{type:ControlType.Boolean,title:\"Show Cat\",defaultValue:true},animationEnabled:{type:ControlType.Boolean,title:\"Animate\",defaultValue:true},ambientBlink:{type:ControlType.Boolean,title:\"Later Blink\",defaultValue:true,hidden:props=>props.animationEnabled===false},bodyColor:{type:ControlType.Color,title:\"Body\",defaultValue:\"#E7E2D9\"},earColor:{type:ControlType.Color,title:\"Ear + Nose\",defaultValue:\"#C8B5A2\"},lineColor:{type:ControlType.Color,title:\"Outline\",defaultValue:\"#5B5650\"},eyeColor:{type:ControlType.Color,title:\"Eyes\",defaultValue:\"#232323\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SpotlightCat\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"104\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"87\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SpotlightCat.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{forwardRef,isValidElement}from\"react\";import{useTracking}from\"framer\";const card='[data-framer-name=\"Spotlight Card\"]';const styles=`\n${card} {\n    container-type: inline-size;\n    isolation: isolate;\n    text-decoration: none;\n}\n${card}::before {\n    content: \"\";\n    position: absolute;\n    inset: 0;\n    border-radius: inherit;\n    pointer-events: none;\n    z-index: 0;\n    background:\n        radial-gradient(ellipse 85% 60% at 15% -18%, rgba(255,255,255,1) 0%, rgba(255,255,255,0.42) 45%, rgba(255,255,255,0) 78%),\n        radial-gradient(ellipse 80% 55% at 115% 110%, rgba(190,205,224,0.20) 0%, rgba(190,205,224,0) 70%);\n}\n${card}:focus-visible {\n    outline: 3px solid #52657D !important;\n    outline-offset: 4px;\n}\n${card} [data-framer-name=\"App Information\"] {\n    position: relative;\n    z-index: 1;\n    display: grid !important;\n    grid-template-columns: minmax(0, 70%) minmax(160px, 1fr) !important;\n    grid-template-rows: 1fr 1fr !important;\n    gap: 20px 32px !important;\n    min-width: 0;\n    overflow: visible !important;\n}\n${card} [data-framer-name=\"Spotlight Identity\"] {\n    grid-area: 1 / 1 / 2 / 2;\n    align-self: end !important;\n    min-width: 0;\n    z-index: 1;\n}\n${card} [data-framer-name=\"Screenshot Stage\"] {\n    grid-area: 1 / 2 / 3 / 3;\n    align-self: center !important;\n    display: flex !important;\n    justify-content: flex-end !important;\n    align-items: center !important;\n    min-width: 0;\n    height: auto !important;\n    position: relative;\n    isolation: isolate;\n    overflow: visible !important;\n}\n${card} [data-framer-name=\"Screenshot Glow\"] {\n    pointer-events: none !important;\n}\n${card} [data-framer-name=\"Spotlight Screenshot\"] {\n    width: max-content !important;\n    max-width: 100% !important;\n    height: auto !important;\n    aspect-ratio: auto !important;\n    flex: 0 1 auto !important;\n    display: flex !important;\n    overflow: hidden !important;\n    position: relative;\n    z-index: 1;\n}\n${card} .dia-spotlight-screenshot {\n    display: block;\n    width: auto;\n    height: auto;\n    max-width: 100%;\n    max-height: 320px;\n    object-fit: contain;\n    border-radius: inherit;\n}\n${card} [data-framer-name=\"Description\"] {\n    grid-area: 2 / 1 / 3 / 2;\n    align-self: start !important;\n    min-width: 0;\n    width: 100% !important;\n    height: auto !important;\n    overflow: hidden !important;\n    display: -webkit-box !important;\n    -webkit-box-orient: vertical;\n    -webkit-line-clamp: 4;\n    line-clamp: 4;\n    z-index: 1;\n}\n${card} [data-framer-name=\"Description\"] p {\n    font-family: \"Public Sans\", sans-serif !important;\n    font-size: 16px !important;\n    font-weight: 400 !important;\n    line-height: 24px !important;\n    color: #565E69 !important;\n}\n${card} [data-framer-name=\"Title\"] {\n    min-width: 0 !important;\n    width: max-content !important;\n    max-width: calc(100% - 26px) !important;\n    flex: 0 1 auto !important;\n    white-space: normal !important;\n}\n${card} [data-framer-name=\"Title\"] h3 {\n    overflow-wrap: anywhere;\n    text-wrap: pretty;\n}\n@container (max-width: 680px) {\n    ${card} [data-framer-name=\"App Information\"] {\n        display: flex !important;\n        flex-direction: column !important;\n        align-items: stretch !important;\n        gap: 24px !important;\n    }\n    ${card} [data-framer-name=\"Spotlight Identity\"],\n    ${card} [data-framer-name=\"Description\"] { align-self: stretch !important; }\n    ${card} [data-framer-name=\"Screenshot Stage\"] {\n        width: 100% !important;\n        align-self: stretch !important;\n        justify-content: center !important;\n    }\n    ${card} .dia-spotlight-screenshot { max-height: 280px; }\n    ${card} [data-framer-name=\"Screenshot Glow\"] {\n        width: 100% !important;\n        left: 0 !important;\n        right: 0 !important;\n    }\n}\n`;function appIdFromProps(props){const direct=String(props.appID??props.analyticsAppID??props.appId??\"\").match(/\\d+/)?.[0];if(direct)return direct;for(const candidate of[props.appStoreLink,props.appStoreURL,props.appDetailLink,props.href,props.link?.href,typeof props.link===\"string\"?props.link:\"\",props[\"data-framer-href\"],props.ariaLabel,props[\"aria-label\"]]){const value=String(candidate??\"\");const id=value.match(/\\/id(\\d+)(?:[/?#]|$)/i)?.[1]??value.match(/(?:app-card|spotlight-app|deal|app)-(\\d+)/i)?.[1];if(id)return id;}return\"\";}function appTitle(value){if(Array.isArray(value))return value.map(appTitle).find(Boolean)??\"\";if(!/*#__PURE__*/isValidElement(value))return\"\";if(value.props[\"data-framer-name\"]===\"Title\")return String(value.props.text??\"\");return appTitle(value.props.children);}/** Tracks the discovery and outbound destination on the same native link. */export function withSpotlightShowcase(Component){return /*#__PURE__*/forwardRef(function SpotlightShowcase(props,ref){const track=useTracking();const title=appTitle(props.children);const trackClick=event=>{if(event.defaultPrevented||(event.type===\"auxclick\"?event.button!==1:event.button!==0))return;let storeId=\"\";try{const href=event.currentTarget?.getAttribute?.(\"href\")||props.href||props.link?.href;const url=new URL(href);storeId=url.hostname===\"apps.apple.com\"&&url.protocol===\"https:\"?url.pathname.match(/\\/app\\/(?:[^/]+\\/)?id(\\d+)(?:\\/|$)/i)?.[1]||\"\":\"\";}catch(_){}try{const id=appIdFromProps(props)||storeId;if(id)track(\"app-card-\"+id);if(storeId)track(\"app-\"+storeId);}catch(_){}};const handleClick=event=>{trackClick(event);props.onClick?.(event);};const handleAuxClick=event=>{trackClick(event);props.onAuxClick?.(event);};return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:styles}}),/*#__PURE__*/_jsx(Component,{...props,ref:ref,\"aria-label\":title?`View ${title} on the App Store`:\"View Spotlight app on the App Store\",onClick:handleClick,onAuxClick:handleAuxClick,children:props.children})]});});}/** Preserves the CMS/App Store paragraphs and empty lines; CSS limits the preview. */export function withSpotlightExcerpt(Component){return /*#__PURE__*/forwardRef(function SpotlightExcerpt(props,ref){return /*#__PURE__*/_jsx(Component,{...props,ref:ref});});}/** Uses the native CMS image binding, but keeps the image intrinsically sized. */export function withSpotlightScreenshot(Component){return /*#__PURE__*/forwardRef(function SpotlightScreenshot(props,ref){const image=props.background;if(!image?.src)return null;return /*#__PURE__*/_jsx(Component,{...props,ref:ref,background:undefined,children:/*#__PURE__*/_jsx(\"img\",{className:\"dia-spotlight-screenshot\",src:image.src,srcSet:image.srcSet,alt:image.alt||\"App screenshot\",width:image.pixelWidth,height:image.pixelHeight,decoding:\"async\",loading:\"lazy\"})});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withSpotlightExcerpt\":{\"type\":\"reactHoc\",\"name\":\"withSpotlightExcerpt\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSpotlightShowcase\":{\"type\":\"reactHoc\",\"name\":\"withSpotlightShowcase\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSpotlightScreenshot\":{\"type\":\"reactHoc\",\"name\":\"withSpotlightScreenshot\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SpotlightShowcaseBehavior.map"],"mappings":"yUAC0C,IAAqF,IAA4B,EAAqC,EAAK,0BAAgC,EAAkB,EAAW,SAAS,EAAM,EAAI,CAAC,OAAoB,EAAK,MAAM,CAAC,GAAG,EAAU,MAAI,SAAS,EAAM,QAAQ,CAAC,CAAE,CAAC,EAAQ,EAAU,EAAO,OAAO,CAAI,EAAQ,EAAiB,GAAY,EAAM,IAAM,CAAC,GAAK,CAAC,WAAS,WAAS,WAAS,GAAG,GAAM,EAAM,OAAO,EAAsB,EAAK,EAAU,CAAC,GAAG,EAAc,WAAa,MAAa,UAAQ,CAAC,EAAe,EAAK,MAAM,CAAC,GAAG,EAAS,MAAa,UAAQ,CAAC,CAAE,CAAC,EAAQ,EAAI,qWAA2W,GAAU,CAAC,QAAM,SAAO,KAAG,QAAM,SAAO,GAAG,MAAgB,CAAC,GAAG,EAAM,UAAU,GAAQ,EAAM,WAAW,EAAE,UAAU,GAAO,EAAM,WAAW,cAAc,GASjpC,EAAK,EAT6qCA,EAAiB,SAAS,EAAM,EAAI,CAAC,GAAK,CAAC,QAAM,YAAU,WAAS,UAAQ,YAAU,YAAU,GAAG,GAAW,EAAS,CAAK,EAAQ,EAAK,EAAe,aAAa,CAAG,EAAE,OAAoB,EAAK,EAAI,C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