{"version":3,"file":"Withproductaccessv2.Cgz5KkxF.mjs","names":["React","e","_Fragment","Check"],"sources":["https:/framerusercontent.com/modules/p5OEH9Pd36OAH5KcHnxd/L58EkHgpRN5cUm05ay0f/Withproductaccessv2.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import React from\"react\";import{Check}from\"@phosphor-icons/react\";import{addPropertyControls,ControlType}from\"framer\";import{supabase}from\"https://framerusercontent.com/modules/XxUSENv9gmDnjyWOaYEt/ghm89cnmlcQqvH6Apgwq/SupabaseClient.js\";// HOC para verificar acceso a productos premium/pro.\n// Si el usuario NO está logueado, redirige inmediatamente a /login\n// con ?redirect=<página actual>, sin renderizar nada del componente\n// protegido. Después de loguearse en /login, withSignInOverlay lee ese\n// ?redirect= y trae al usuario de vuelta aquí — momento en el cual este\n// componente vuelve a montarse desde cero y ya encuentra la sesión activa.\nexport function withProductAccessV3(Component){const ProductAccessComponentV3=props=>{const[hasAccess,setHasAccess]=React.useState(false);const[isLoading,setIsLoading]=React.useState(true);const[isRedirecting,setIsRedirecting]=React.useState(false);const[selectedPlan,setSelectedPlan]=React.useState(\"monthly\");const[showModal,setShowModal]=React.useState(false);const[userProducts,setUserProducts]=React.useState([]);// Cerrar modal y redirigir\nconst handleCloseModal=()=>{setShowModal(false);if(props.redirectOnClose){window.location.href=props.redirectUrl||\"/\";}};const modalContentRef=React.useRef(null);React.useEffect(()=>{async function checkProductAccess(){try{setIsLoading(true);// Obtener sesión del usuario\nconst{data:{session}}=await supabase.auth.getSession();if(!session?.user){// No hay sesión: redirigimos de inmediato a /login\n// propagando la página actual como ?redirect=, y\n// no mostramos nada del componente protegido.\nsetIsRedirecting(true);const currentPath=window.location.pathname+window.location.search;const loginUrl=props.loginUrl||\"/login\";window.location.href=`${loginUrl}?redirect=${encodeURIComponent(currentPath)}`;return;}// Si se especifica un producto específico, verificar acceso a ese producto\nif(props.productId){const{data:hasProductAccess,error}=await supabase.rpc(\"check_user_product_access\",{user_id_param:session.user.id,product_id_param:props.productId});if(error){console.error(\"Error verificando acceso al producto:\",error);// Fallback: consulta directa\nconst{data:directAccess}=await supabase.from(\"user_access\").select(\"*\").eq(\"user_id\",session.user.id).eq(\"product_id\",props.productId).eq(\"has_access\",true).or(\"access_expires_at.is.null,access_expires_at.gt.\"+new Date().toISOString()).limit(1);const hasDirectAccess=directAccess&&directAccess.length>0;setHasAccess(hasDirectAccess);if(!hasDirectAccess)setShowModal(true);}else{setHasAccess(hasProductAccess);if(!hasProductAccess)setShowModal(true);}}else{// Si no se especifica producto, verificar suscripción activa\nconst{data:hasActiveSubscription,error}=await supabase.rpc(\"check_user_has_active_subscription\",{user_id_param:session.user.id});if(error){console.error(\"Error verificando suscripci\\xf3n:\",error);// Fallback: consulta directa a subscriptions\nconst{data:subscriptions}=await supabase.from(\"subscriptions\").select(\"*\").eq(\"user_id\",session.user.id).eq(\"status\",\"active\").gt(\"current_period_end\",new Date().toISOString()).limit(1);const hasActiveSub=subscriptions&&subscriptions.length>0;setHasAccess(hasActiveSub);if(!hasActiveSub)setShowModal(true);}else{setHasAccess(hasActiveSubscription);if(!hasActiveSubscription)setShowModal(true);}}// Obtener productos accesibles del usuario para mostrar en el modal\nconst{data:accessibleProducts}=await supabase.rpc(\"get_user_accessible_products\",{user_id_param:session.user.id});setUserProducts(accessibleProducts||[]);}catch(error){console.error(\"Error inesperado:\",error);setHasAccess(false);setShowModal(true);}finally{setIsLoading(false);}}checkProductAccess();},[props.productId]);// Manejar clic en el modal\nconst handleModalClick=e=>{if(modalContentRef.current&&!modalContentRef.current.contains(e.target)){handleCloseModal();}};// Obtener URL de compra basada en el plan seleccionado\nconst getPurchaseUrl=()=>{if(selectedPlan===\"monthly\"){return props.monthlyPurchaseUrl||\"https://amador.lemonsqueezy.com/buy/monthly-plan\";}else if(selectedPlan===\"single\"){return props.singlePurchaseUrl||\"https://amador.lemonsqueezy.com/buy/single-purchase\";}return\"#\";};// Obtener precio y texto del botón basado en el plan seleccionado\nconst getPriceAndText=()=>{if(selectedPlan===\"monthly\"){return`${props.monthlyPrice||\"4.99\"} Monthly Access`;}else if(selectedPlan===\"single\"){return`${props.singlePrice||\"9.99\"} Single Purchase`;}return\"Select an option\";};// Mientras carga O mientras está redirigiendo a /login, no\n// mostramos nada del componente protegido (pantalla en blanco\n// del color de fondo para evitar un \"flash\" de contenido).\nif(isLoading||isRedirecting){return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",justifyContent:\"center\",alignItems:\"center\",padding:\"32px\",color:\"#666\",width:\"100%\",height:\"100%\"},children:!isRedirecting&&/*#__PURE__*/_jsx(\"div\",{children:\"Verificando acceso...\"})});}// Si tiene acceso, mostrar el componente normal\nif(hasAccess){return /*#__PURE__*/_jsx(Component,{...props});}// Si no tiene acceso (pero sí está logueado), mostrar el modal de compra\nreturn /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:{filter:\"blur(5px)\",pointerEvents:\"none\",width:\"100%\",height:\"100%\"},children:/*#__PURE__*/_jsx(Component,{...props})}),showModal&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"fixed\",top:0,left:0,right:0,bottom:0,backgroundColor:\"rgba(0,0,0,0.8)\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",zIndex:9999,padding:\"0\"},onClick:handleModalClick,children:/*#__PURE__*/_jsxs(\"div\",{ref:modalContentRef,style:{width:\"100vw\",height:\"100vh\",backgroundColor:\"#1a1a1a\",position:\"relative\",color:\"white\",backgroundImage:props.backgroundImage?`url(${props.backgroundImage})`:\"none\",backgroundSize:\"cover\",backgroundPosition:\"center\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,right:0,bottom:0,backgroundColor:\"rgba(0,0,0,0.6)\",zIndex:0}}),/*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",maxWidth:\"428px\",padding:\"60px 24px 40px 24px\",position:\"relative\",zIndex:1,textAlign:\"center\",margin:\"0 auto\"},children:[/*#__PURE__*/_jsx(\"h1\",{style:{fontSize:\"48px\",fontWeight:\"400\",margin:\"0 0 24px 0\",color:\"white\",letterSpacing:\"-0.5px\",lineHeight:\"1.1\"},children:props.title||\"Unlock Experience\"}),/*#__PURE__*/_jsx(\"p\",{style:{fontSize:\"18px\",fontWeight:\"400\",margin:\"0 0 80px 0\",color:\"rgba(255,255,255,0.9)\",lineHeight:\"1.4\"},children:props.description||\"Get your PRO member access and enjoy unlimited experiences.\"}),/*#__PURE__*/_jsxs(\"div\",{style:{marginBottom:\"48px\",display:\"flex\",flexDirection:\"column\",gap:\"16px\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"24px\",border:\"1px solid rgba(255,255,255,0.2)\",borderRadius:\"16px\",backgroundColor:\"rgba(255,255,255,0.05)\",display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",cursor:\"pointer\",transition:\"all 0.2s ease\",backdropFilter:\"blur(10px)\"},onClick:()=>setSelectedPlan(\"monthly\"),onMouseOver:e=>{e.currentTarget.style.backgroundColor=\"rgba(255,255,255,0.1)\";e.currentTarget.style.borderColor=\"rgba(255,255,255,0.4)\";},onMouseOut:e=>{e.currentTarget.style.backgroundColor=\"rgba(255,255,255,0.05)\";e.currentTarget.style.borderColor=\"rgba(255,255,255,0.2)\";},children:[/*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"left\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:\"20px\",fontWeight:\"500\",color:\"white\",marginBottom:\"6px\",letterSpacing:\"-0.2px\"},children:\"Monthly Access\"}),/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:\"16px\",color:\"rgba(255,255,255,0.8)\",fontWeight:\"400\"},children:[\"USD $\",props.monthlyPrice||\"4.99\",\" / Month\"]})]}),/*#__PURE__*/_jsx(\"div\",{style:{width:\"28px\",height:\"28px\",borderRadius:\"50%\",border:\"2px solid white\",backgroundColor:selectedPlan===\"monthly\"?\"white\":\"transparent\",position:\"relative\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0},children:selectedPlan===\"monthly\"&&/*#__PURE__*/_jsx(Check,{size:16,color:\"#1a1a1a\",weight:\"bold\"})})]}),/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"24px\",border:\"1px solid rgba(255,255,255,0.2)\",borderRadius:\"16px\",backgroundColor:\"rgba(255,255,255,0.05)\",display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",cursor:\"pointer\",transition:\"all 0.2s ease\",backdropFilter:\"blur(10px)\"},onClick:()=>setSelectedPlan(\"single\"),onMouseOver:e=>{e.currentTarget.style.backgroundColor=\"rgba(255,255,255,0.1)\";e.currentTarget.style.borderColor=\"rgba(255,255,255,0.4)\";},onMouseOut:e=>{e.currentTarget.style.backgroundColor=\"rgba(255,255,255,0.05)\";e.currentTarget.style.borderColor=\"rgba(255,255,255,0.2)\";},children:[/*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"left\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:\"20px\",fontWeight:\"500\",color:\"white\",marginBottom:\"6px\",letterSpacing:\"-0.2px\"},children:\"Single Purchase\"}),/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:\"16px\",color:\"rgba(255,255,255,0.8)\",fontWeight:\"400\"},children:[\"USD $\",props.singlePrice||\"9.99\"]})]}),/*#__PURE__*/_jsx(\"div\",{style:{width:\"28px\",height:\"28px\",borderRadius:\"50%\",border:\"2px solid white\",backgroundColor:selectedPlan===\"single\"?\"white\":\"transparent\",position:\"relative\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0},children:selectedPlan===\"single\"&&/*#__PURE__*/_jsx(Check,{size:16,color:\"#1a1a1a\",weight:\"bold\"})})]})]}),/*#__PURE__*/_jsx(\"a\",{href:getPurchaseUrl(),style:{display:\"block\",width:\"100%\",padding:\"20px 24px\",backgroundColor:\"rgba(255,255,255,0.9)\",color:\"#1a1a1a\",borderRadius:\"40px\",fontSize:\"18px\",fontWeight:\"500\",textDecoration:\"none\",textAlign:\"center\",transition:\"all 0.2s ease\",marginBottom:\"48px\",opacity:selectedPlan?1:.5,pointerEvents:selectedPlan?\"auto\":\"none\",letterSpacing:\"-0.2px\",backdropFilter:\"blur(10px)\"},onMouseOver:e=>{if(selectedPlan){e.currentTarget.style.backgroundColor=\"white\";e.currentTarget.style.transform=\"translateY(-2px)\";e.currentTarget.style.boxShadow=\"0 8px 32px rgba(255,255,255,0.2)\";}},onMouseOut:e=>{if(selectedPlan){e.currentTarget.style.backgroundColor=\"rgba(255,255,255,0.9)\";e.currentTarget.style.transform=\"translateY(0)\";e.currentTarget.style.boxShadow=\"none\";}},target:\"_blank\",rel:\"noopener noreferrer\",children:getPriceAndText()}),/*#__PURE__*/_jsx(\"button\",{onClick:handleCloseModal,style:{background:\"none\",border:\"none\",color:\"rgba(255,255,255,0.8)\",fontSize:\"18px\",fontWeight:\"400\",cursor:\"pointer\",padding:\"12px 0\",transition:\"color 0.2s ease\",letterSpacing:\"-0.2px\"},onMouseOver:e=>{e.currentTarget.style.color=\"white\";},onMouseOut:e=>{e.currentTarget.style.color=\"rgba(255,255,255,0.8)\";},children:props.backButtonText||\"Back to Playlist\"})]})]})})]});};// Controles de propiedad para Framer\naddPropertyControls(ProductAccessComponentV3,{productId:{type:ControlType.String,title:\"Product ID\",description:\"UUID del producto espec\\xedfico a verificar. D\\xe9jalo vac\\xedo para verificar suscripci\\xf3n general.\"},loginUrl:{type:ControlType.String,title:\"Login URL\",description:\"P\\xe1gina a la que se redirige cuando no hay sesi\\xf3n activa.\",defaultValue:\"/login\"},title:{type:ControlType.String,title:\"T\\xedtulo Principal\",defaultValue:\"Unlock Experience\"},subtitle:{type:ControlType.String,title:\"Subt\\xedtulo\",defaultValue:\"Get your PRO member access and enjoy unlimited experiences.\"},description:{type:ControlType.String,title:\"Descripci\\xf3n\",defaultValue:\"Get your PRO member access and enjoy unlimited experiences.\"},backgroundImage:{type:ControlType.String,title:\"Imagen de Fondo\",defaultValue:\"https://framerusercontent.com/images/vBhd9XI0pinpBaA8dSHkvj1Yu0.jpg\"},monthlyPrice:{type:ControlType.String,title:\"Precio Mensual\",defaultValue:\"4.99\"},singlePrice:{type:ControlType.String,title:\"Precio Compra Individual\",defaultValue:\"9.99\"},monthlyPurchaseUrl:{type:ControlType.String,title:\"URL Compra Mensual\",defaultValue:\"https://arpal.lemonsqueezy.com/buy/c56f0656-92e0-4199-b4c6-1d47ba0bc327\"},singlePurchaseUrl:{type:ControlType.String,title:\"URL Compra Individual\",defaultValue:\"https://arpal.lemonsqueezy.com/buy/01c6f766-2eb8-4bfb-b205-34e74b67f646\"},backButtonText:{type:ControlType.String,title:\"Texto Bot\\xf3n Atr\\xe1s\",defaultValue:\"Back to Playlist\"},redirectOnClose:{type:ControlType.Boolean,title:\"Redireccionar al cerrar\",defaultValue:true},redirectUrl:{type:ControlType.String,title:\"URL de redirecci\\xf3n\",defaultValue:\"/\",hidden:props=>!props.redirectOnClose}});return ProductAccessComponentV3;}// HOC específico para verificar solo suscripciones Pro\nexport function withProSubscriptionV3(Component){return withProductAccessV3(Component);}// HOC para verificar acceso a un producto específico\nexport function withSpecificProductAccessV3(Component,productId){const WrappedComponent=props=>{return /*#__PURE__*/React.createElement(withProductAccessV3(Component),{...props,productId:productId});};return WrappedComponent;}// Función auxiliar para crear webhook handler de Lemon Squeezy\nexport const handleLemonSqueezyWebhookV3=async webhookData=>{try{const{event_name,data}=webhookData;switch(event_name){case\"order_created\":await handleOrderCreated(data);break;case\"subscription_created\":await handleSubscriptionCreated(data);break;case\"subscription_updated\":await handleSubscriptionUpdated(data);break;case\"subscription_cancelled\":await handleSubscriptionCancelled(data);break;case\"subscription_resumed\":await handleSubscriptionResumed(data);break;case\"subscription_expired\":await handleSubscriptionExpired(data);break;default:console.log(\"Webhook event not handled:\",event_name);}}catch(error){console.error(\"Error handling webhook:\",error);throw error;}};// Handlers para eventos específicos de Lemon Squeezy\nconst handleOrderCreated=async orderData=>{const{id:lemonSqueezyOrderId,attributes:{user_email:customerEmail,user_name:customerName,total:amountCents,currency,receipt_url:receiptUrl,created_at:purchasedAt,first_order_item:{product_id:lemonSqueezyProductId,variant_id:lemonSqueezyVariantId}}}=orderData;// Buscar el usuario por email\nconst{data:users}=await supabase.from(\"auth.users\").select(\"id\").eq(\"email\",customerEmail).limit(1);if(!users||users.length===0){console.error(\"Usuario no encontrado para email:\",customerEmail);return;}const userId=users[0].id;// Buscar el producto en nuestra base de datos\nconst{data:product}=await supabase.from(\"products\").select(\"id\").eq(\"lemon_squeezy_product_id\",lemonSqueezyProductId).limit(1);// Crear registro de compra\nconst{error:purchaseError}=await supabase.from(\"purchases\").insert({user_id:userId,product_id:product?.[0]?.id,lemon_squeezy_order_id:lemonSqueezyOrderId,lemon_squeezy_product_id:lemonSqueezyProductId,lemon_squeezy_variant_id:lemonSqueezyVariantId,status:\"completed\",amount_cents:amountCents,currency:currency,customer_email:customerEmail,customer_name:customerName,receipt_url:receiptUrl,purchased_at:purchasedAt});if(purchaseError){console.error(\"Error creando compra:\",purchaseError);return;}// Si es un producto individual, otorgar acceso\nif(product?.[0]?.id){await supabase.from(\"user_access\").upsert({user_id:userId,product_id:product[0].id,has_access:true,access_type:\"purchase\"});}};const handleSubscriptionCreated=async subscriptionData=>{const{id:lemonSqueezySubscriptionId,attributes:{user_email:customerEmail,user_name:customerName,product_id:lemonSqueezyProductId,variant_id:lemonSqueezyVariantId,status,renews_at:currentPeriodEnd,created_at:currentPeriodStart}}=subscriptionData;// Buscar el usuario por email\nconst{data:users}=await supabase.from(\"auth.users\").select(\"id\").eq(\"email\",customerEmail).limit(1);if(!users||users.length===0){console.error(\"Usuario no encontrado para email:\",customerEmail);return;}const userId=users[0].id;// Crear registro de suscripción\nawait supabase.from(\"subscriptions\").insert({user_id:userId,lemon_squeezy_subscription_id:lemonSqueezySubscriptionId,lemon_squeezy_product_id:lemonSqueezyProductId,lemon_squeezy_variant_id:lemonSqueezyVariantId,status:status,plan_name:lemonSqueezyVariantId.includes(\"monthly\")?\"monthly\":\"annual\",current_period_start:currentPeriodStart,current_period_end:currentPeriodEnd,customer_email:customerEmail,customer_name:customerName});};const handleSubscriptionUpdated=async subscriptionData=>{const{id:lemonSqueezySubscriptionId,attributes:{status,renews_at:currentPeriodEnd,cancelled_at:cancelledAt}}=subscriptionData;await supabase.from(\"subscriptions\").update({status:status,current_period_end:currentPeriodEnd,cancelled_at:cancelledAt}).eq(\"lemon_squeezy_subscription_id\",lemonSqueezySubscriptionId);};const handleSubscriptionCancelled=async subscriptionData=>{const{id:lemonSqueezySubscriptionId,attributes:{cancelled_at:cancelledAt,ends_at:endsAt}}=subscriptionData;await supabase.from(\"subscriptions\").update({status:\"cancelled\",cancelled_at:cancelledAt,ends_at:endsAt}).eq(\"lemon_squeezy_subscription_id\",lemonSqueezySubscriptionId);};const handleSubscriptionResumed=async subscriptionData=>{const{id:lemonSqueezySubscriptionId,attributes:{status,renews_at:currentPeriodEnd}}=subscriptionData;await supabase.from(\"subscriptions\").update({status:status,current_period_end:currentPeriodEnd,cancelled_at:null,ends_at:null}).eq(\"lemon_squeezy_subscription_id\",lemonSqueezySubscriptionId);};const handleSubscriptionExpired=async subscriptionData=>{const{id:lemonSqueezySubscriptionId}=subscriptionData;await supabase.from(\"subscriptions\").update({status:\"expired\"}).eq(\"lemon_squeezy_subscription_id\",lemonSqueezySubscriptionId);};// Exportar todo\nexport default withProductAccessV3;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactHoc\",\"name\":\"withProductAccessV3\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSpecificProductAccessV3\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withProSubscriptionV3\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withProductAccessV3\":{\"type\":\"reactHoc\",\"name\":\"withProductAccessV3\",\"annotations\":{\"framerContract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