{"version":3,"file":"AuthProviderG.D5Jtr6fR.mjs","names":["Phosphor","cycleOrder","variantClassNames","transitions","Transition","React.useContext","React.useMemo","getProps","createLayoutDependency","React.useRef","React.useId","Single","SingleInfo","React.useContext","React.useMemo","React.useRef","React.useId","useMemo","useState","_Fragment","children"],"sources":["https:/framerusercontent.com/modules/qI1autnce1ngcX7nJQbN/0GVQhVdC8lONnAjjGDYb/SingleToggle.js","https:/framerusercontent.com/modules/cBF15lBi7RiyI8q4CFpd/HCmFLo76G51WSP2Fde9R/Zbmf7W7C5.js","https:/framerusercontent.com/modules/cmTtXrGIgvlXurH1sYiX/ZgwhEqhQeYK7PemoMOZB/Vuw93iw32.js","https:/framerusercontent.com/modules/K0LvWO6tUmgif4uJogtz/SP42SYfp84c80cEwUIli/AuthProviderG.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";const useStore=createStore({// See here => Set the starting theme below\ntheme:\"light\"});const changeTheme=theme=>{console.log(theme);const htmlElement=document.getElementsByTagName(\"html\")[0];const bodyElement=document.getElementsByTagName(\"body\")[0];htmlElement.setAttribute(\"toggle-theme\",`${theme}`);bodyElement.setAttribute(\"toggle-theme\",`${theme}`);localStorage.setItem(\"currentToggleState\",`${theme}`);// Trigger event that is compatible with Framestack Theme Image Component\nconst event=new Event(\"themeChange\");window.dispatchEvent(event);return;};export function withSingleToggle(Component){return props=>{const[store,setStore]=useStore();useEffect(()=>{// Set the starting theme based on store\nlocalStorage.setItem(\"currentToggleState\",`${store.theme}`);// Create attributes on html and body so that theme will be applied based on store\nconst htmlElement=document.getElementsByTagName(\"html\")[0];const bodyElement=document.getElementsByTagName(\"body\")[0];htmlElement&&htmlElement.setAttribute(\"toggle-theme\",`${store.theme}`);bodyElement&&bodyElement.setAttribute(\"toggle-theme\",`${store.theme}`);// Create sets of light and dark mode tokens\nlet lightThemeTokens=[];let darkThemeTokens=[];for(let i=0;i<document.styleSheets.length;i++){const sheet=document.styleSheets[i];try{for(let rule of sheet.cssRules){// Get light and dark mode tokens\nif(rule.selectorText===\"body\"){const style=rule.style;for(let j=0;j<style.length;j++){const propertyName=style[j];if(propertyName.includes(\"--token\")){const value=style.getPropertyValue(propertyName);// Check for specific tokens or list all\nconst combinedCssRule=`${propertyName}: ${value};`;lightThemeTokens.push(combinedCssRule);}}lightThemeTokens=lightThemeTokens.join(\" \");}else if(rule.conditionText===\"(prefers-color-scheme: dark)\"){const mediaRulesString=rule.cssRules[0].cssText.replace(\"body\",\"\").replace(/\\s*{\\s*/,\"\").replace(/\\s*}\\s*$/,\"\");darkThemeTokens=mediaRulesString;}}}catch(e){console.warn(\"Cannot access stylesheet:\",sheet.href);}}// Create styleSheet with id and populate with correct CSS text\nlet styleElement=document.createElement(\"style\");styleElement.id=\"toggle-theme\";const customCssRule=`body[toggle-theme=\"light\"] {${lightThemeTokens}} body[toggle-theme=\"dark\"]{${darkThemeTokens}} html[toggle-theme=\"light\"] { color-scheme: light; } html[toggle-theme=\"dark\"] { color-scheme: dark; }`;styleElement.textContent=customCssRule;document.head.appendChild(styleElement);// Cleanup function\nreturn()=>{// Check if the style element exists and remove it\nconst existingStyleElement=document.getElementById(\"toggle-theme\");if(existingStyleElement){document.head.removeChild(existingStyleElement);}};},[]);const handleClick=()=>{let newTheme=store.theme===\"light\"?\"dark\":\"light\";setStore({theme:newTheme});changeTheme(newTheme);};return /*#__PURE__*/_jsx(Component,{...props,variant:store.theme===\"light\"?\"Light\":\"Dark\",whileHover:{scale:1.1},onClick:handleClick});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withSingleToggle\":{\"type\":\"reactHoc\",\"name\":\"withSingleToggle\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SingleToggle.map","// Generated by Framer (1c1e241)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFonts,getPropertyControls,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{Icon as Phosphor}from\"https://framerusercontent.com/modules/tYScH7LTqUtz5KUaUAYP/CAjjxbTJBxHwH1MagCef/Phosphor.js\";const PhosphorFonts=getFonts(Phosphor);const PhosphorControls=getPropertyControls(Phosphor);const cycleOrder=[\"KZIK7rfVg\",\"udnmimFYL\"];const serializationHash=\"framer-V3yUc\";const variantClassNames={KZIK7rfVg:\"framer-v-1eogpue\",udnmimFYL:\"framer-v-17ka4qg\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants===null||variants===void 0?void 0:variants.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transitions={default:{damping:60,delay:0,mass:1,stiffness:500,type:\"spring\"}};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value!==null&&value!==void 0?value:config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const humanReadableVariantMap={Dark:\"KZIK7rfVg\",Light:\"udnmimFYL\"};const getProps=({height,iconColor,iconDark,iconLight,id,weight,width,...props})=>{var _ref,_ref1,_ref2,_ref3,_humanReadableVariantMap_props_variant,_ref4;return{...props,AeO5PLd9q:(_ref=iconColor!==null&&iconColor!==void 0?iconColor:props.AeO5PLd9q)!==null&&_ref!==void 0?_ref:'var(--token-fa6255fa-1747-4bc3-894a-8375bc25f0bd, rgb(28, 28, 28)) /* {\"name\":\"font/active\"} */',fle84VlOx:(_ref1=iconLight!==null&&iconLight!==void 0?iconLight:props.fle84VlOx)!==null&&_ref1!==void 0?_ref1:\"Sun\",njtQOvFbC:(_ref2=weight!==null&&weight!==void 0?weight:props.njtQOvFbC)!==null&&_ref2!==void 0?_ref2:\"bold\",pdO6Nm4lI:(_ref3=iconDark!==null&&iconDark!==void 0?iconDark:props.pdO6Nm4lI)!==null&&_ref3!==void 0?_ref3:\"Moon\",variant:(_ref4=(_humanReadableVariantMap_props_variant=humanReadableVariantMap[props.variant])!==null&&_humanReadableVariantMap_props_variant!==void 0?_humanReadableVariantMap_props_variant:props.variant)!==null&&_ref4!==void 0?_ref4:\"KZIK7rfVg\"};};const createLayoutDependency=(props,variants)=>variants.join(\"-\")+props.layoutDependency;const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale}=useLocaleInfo();const{style,className,layoutId,variant,AeO5PLd9q,pdO6Nm4lI,fle84VlOx,njtQOvFbC,...restProps}=getProps(props);const{baseVariant,classNames,gestureVariant,setGestureState,setVariant,transition,variants}=useVariantState({cycleOrder,defaultVariant:\"KZIK7rfVg\",transitions,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const ref1=React.useRef(null);const defaultLayoutId=React.useId();const sharedStyleClassNames=[];return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?layoutId:defaultLayoutId,children:/*#__PURE__*/_jsx(motion.div,{initial:variant,animate:variants,onHoverStart:()=>setGestureState({isHovered:true}),onHoverEnd:()=>setGestureState({isHovered:false}),onTapStart:()=>setGestureState({isPressed:true}),onTap:()=>setGestureState({isPressed:false}),onTapCancel:()=>setGestureState({isPressed:false}),className:cx(\"framer-V3yUc\",...sharedStyleClassNames,classNames),style:{display:\"contents\"},children:/*#__PURE__*/_jsx(Transition,{value:transition,children:/*#__PURE__*/_jsx(motion.div,{...restProps,className:cx(\"framer-1eogpue\",className),\"data-framer-name\":\"Dark\",layoutDependency:layoutDependency,layoutId:\"KZIK7rfVg\",ref:ref!==null&&ref!==void 0?ref:ref1,style:{...style},...addPropertyOverrides({udnmimFYL:{\"data-framer-name\":\"Light\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-x0dyzq-container\",layoutDependency:layoutDependency,layoutId:\"WEHUrU2bE-container\",children:/*#__PURE__*/_jsx(Phosphor,{color:AeO5PLd9q,height:\"100%\",iconSearch:\"House\",iconSelection:pdO6Nm4lI,id:\"WEHUrU2bE\",layoutId:\"WEHUrU2bE\",mirrored:false,selectByList:true,style:{height:\"100%\",width:\"100%\"},weight:njtQOvFbC,width:\"100%\",...addPropertyOverrides({udnmimFYL:{iconSelection:fle84VlOx}},baseVariant,gestureVariant)})})})})})});});const css=['.framer-V3yUc [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }',\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-V3yUc .framer-n0rqea { display: block; }\",\".framer-V3yUc .framer-1eogpue { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 40px; justify-content: center; padding: 0px 0px 0px 0px; position: relative; width: 40px; }\",\".framer-V3yUc .framer-x0dyzq-container { flex: none; height: 20px; position: relative; width: 20px; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-V3yUc .framer-1eogpue { gap: 0px; } .framer-V3yUc .framer-1eogpue > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-V3yUc .framer-1eogpue > :first-child { margin-left: 0px; } .framer-V3yUc .framer-1eogpue > :last-child { margin-right: 0px; } }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 40\n * @framerIntrinsicWidth 40\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"udnmimFYL\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"AeO5PLd9q\":\"iconColor\",\"pdO6Nm4lI\":\"iconDark\",\"fle84VlOx\":\"iconLight\",\"njtQOvFbC\":\"weight\"}\n * @framerImmutableVariables true\n */const FramerZbmf7W7C5=withCSS(Component,css,\"framer-V3yUc\");export default FramerZbmf7W7C5;FramerZbmf7W7C5.displayName=\"Single\";FramerZbmf7W7C5.defaultProps={height:40,width:40};addPropertyControls(FramerZbmf7W7C5,{variant:{options:[\"KZIK7rfVg\",\"udnmimFYL\"],optionTitles:[\"Dark\",\"Light\"],title:\"Variant\",type:ControlType.Enum},AeO5PLd9q:{defaultValue:'var(--token-fa6255fa-1747-4bc3-894a-8375bc25f0bd, rgb(28, 28, 28)) /* {\"name\":\"font/active\"} */',title:\"IconColor\",type:ControlType.Color},pdO6Nm4lI:(PhosphorControls===null||PhosphorControls===void 0?void 0:PhosphorControls[\"iconSelection\"])&&{...PhosphorControls[\"iconSelection\"],defaultValue:\"Moon\",hidden:undefined,title:\"IconDark\"},fle84VlOx:(PhosphorControls===null||PhosphorControls===void 0?void 0:PhosphorControls[\"iconSelection\"])&&{...PhosphorControls[\"iconSelection\"],defaultValue:\"Sun\",hidden:undefined,title:\"IconLight\"},njtQOvFbC:(PhosphorControls===null||PhosphorControls===void 0?void 0:PhosphorControls[\"weight\"])&&{...PhosphorControls[\"weight\"],defaultValue:\"bold\",hidden:undefined,title:\"Weight\"}});addFonts(FramerZbmf7W7C5,[...PhosphorFonts]);\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerZbmf7W7C5\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"40\",\"framerVariables\":\"{\\\"AeO5PLd9q\\\":\\\"iconColor\\\",\\\"pdO6Nm4lI\\\":\\\"iconDark\\\",\\\"fle84VlOx\\\":\\\"iconLight\\\",\\\"njtQOvFbC\\\":\\\"weight\\\"}\",\"framerImmutableVariables\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"udnmimFYL\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicWidth\":\"40\",\"framerContractVersion\":\"1\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Zbmf7W7C5.map","// Generated by Framer (1c1e241)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFonts,getPropertyControls,useLocaleInfo,useVariantState,withCSS,withMappedReactProps}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{withSingleToggle}from\"https://framerusercontent.com/modules/qI1autnce1ngcX7nJQbN/0GVQhVdC8lONnAjjGDYb/SingleToggle.js\";import Single,*as SingleInfo from\"https://framerusercontent.com/modules/cBF15lBi7RiyI8q4CFpd/HCmFLo76G51WSP2Fde9R/Zbmf7W7C5.js\";const SingleFonts=getFonts(Single);const SingleWithSingleToggleWithMappedReactPropsg424ez=withMappedReactProps(withSingleToggle(Single),SingleInfo);const SingleControls=getPropertyControls(Single);const cycleOrder=[\"fmPFgJdpx\"];const serializationHash=\"framer-5G3e3\";const variantClassNames={fmPFgJdpx:\"framer-v-dbcror\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants===null||variants===void 0?void 0:variants.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transitions={default:{damping:60,delay:0,mass:1,stiffness:500,type:\"spring\"}};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value!==null&&value!==void 0?value:config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const getProps=({height,iconColor,iconDark,iconLight,id,weight,width,...props})=>{var _ref,_ref1,_ref2,_ref3;return{...props,d0DRJtbRf:(_ref=iconDark!==null&&iconDark!==void 0?iconDark:props.d0DRJtbRf)!==null&&_ref!==void 0?_ref:\"Moon\",ixZIJysro:(_ref1=weight!==null&&weight!==void 0?weight:props.ixZIJysro)!==null&&_ref1!==void 0?_ref1:\"bold\",LTl4MmErQ:(_ref2=iconLight!==null&&iconLight!==void 0?iconLight:props.LTl4MmErQ)!==null&&_ref2!==void 0?_ref2:\"Sun\",Tib6Q7ZnQ:(_ref3=iconColor!==null&&iconColor!==void 0?iconColor:props.Tib6Q7ZnQ)!==null&&_ref3!==void 0?_ref3:'var(--token-fa6255fa-1747-4bc3-894a-8375bc25f0bd, rgb(28, 28, 28)) /* {\"name\":\"font/active\"} */'};};const createLayoutDependency=(props,variants)=>variants.join(\"-\")+props.layoutDependency;const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale}=useLocaleInfo();const{style,className,layoutId,variant,Tib6Q7ZnQ,ixZIJysro,d0DRJtbRf,LTl4MmErQ,...restProps}=getProps(props);const{baseVariant,classNames,gestureVariant,setGestureState,setVariant,transition,variants}=useVariantState({cycleOrder,defaultVariant:\"fmPFgJdpx\",transitions,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const ref1=React.useRef(null);const defaultLayoutId=React.useId();const sharedStyleClassNames=[];return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?layoutId:defaultLayoutId,children:/*#__PURE__*/_jsx(motion.div,{initial:variant,animate:variants,onHoverStart:()=>setGestureState({isHovered:true}),onHoverEnd:()=>setGestureState({isHovered:false}),onTapStart:()=>setGestureState({isPressed:true}),onTap:()=>setGestureState({isPressed:false}),onTapCancel:()=>setGestureState({isPressed:false}),className:cx(\"framer-5G3e3\",...sharedStyleClassNames,classNames),style:{display:\"contents\"},children:/*#__PURE__*/_jsx(Transition,{value:transition,children:/*#__PURE__*/_jsx(motion.div,{...restProps,className:cx(\"framer-dbcror\",className),\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"fmPFgJdpx\",ref:ref!==null&&ref!==void 0?ref:ref1,style:{...style},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-57g8d5-container\",layoutDependency:layoutDependency,layoutId:\"JElwo0G4_-container\",children:/*#__PURE__*/_jsx(SingleWithSingleToggleWithMappedReactPropsg424ez,{AeO5PLd9q:Tib6Q7ZnQ,fle84VlOx:LTl4MmErQ,height:\"100%\",id:\"JElwo0G4_\",layoutId:\"JElwo0G4_\",njtQOvFbC:ixZIJysro,pdO6Nm4lI:d0DRJtbRf,style:{height:\"100%\",width:\"100%\"},variant:\"udnmimFYL\",width:\"100%\"})})})})})});});const css=['.framer-5G3e3 [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }',\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-5G3e3 .framer-17sullt { display: block; }\",\".framer-5G3e3 .framer-dbcror { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; padding: 0px 0px 0px 0px; position: relative; width: min-content; }\",\".framer-5G3e3 .framer-57g8d5-container { flex: none; height: 40px; position: relative; width: 40px; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-5G3e3 .framer-dbcror { gap: 0px; } .framer-5G3e3 .framer-dbcror > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-5G3e3 .framer-dbcror > :first-child { margin-left: 0px; } .framer-5G3e3 .framer-dbcror > :last-child { margin-right: 0px; } }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 40\n * @framerIntrinsicWidth 40\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"Tib6Q7ZnQ\":\"iconColor\",\"ixZIJysro\":\"weight\",\"d0DRJtbRf\":\"iconDark\",\"LTl4MmErQ\":\"iconLight\"}\n * @framerImmutableVariables true\n */const FramerVuw93iw32=withCSS(Component,css,\"framer-5G3e3\");export default FramerVuw93iw32;FramerVuw93iw32.displayName=\"SingleToggle\";FramerVuw93iw32.defaultProps={height:40,width:40};addPropertyControls(FramerVuw93iw32,{Tib6Q7ZnQ:{defaultValue:'var(--token-fa6255fa-1747-4bc3-894a-8375bc25f0bd, rgb(28, 28, 28)) /* {\"name\":\"font/active\"} */',title:\"IconColor\",type:ControlType.Color},ixZIJysro:(SingleControls===null||SingleControls===void 0?void 0:SingleControls[\"njtQOvFbC\"])&&{...SingleControls[\"njtQOvFbC\"],defaultValue:\"bold\",hidden:undefined,title:\"Weight\"},d0DRJtbRf:(SingleControls===null||SingleControls===void 0?void 0:SingleControls[\"pdO6Nm4lI\"])&&{...SingleControls[\"pdO6Nm4lI\"],defaultValue:\"Moon\",hidden:undefined,title:\"IconDark\"},LTl4MmErQ:(SingleControls===null||SingleControls===void 0?void 0:SingleControls[\"fle84VlOx\"])&&{...SingleControls[\"fle84VlOx\"],defaultValue:\"Sun\",hidden:undefined,title:\"IconLight\"}});addFonts(FramerVuw93iw32,[...SingleFonts]);\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerVuw93iw32\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicHeight\":\"40\",\"framerIntrinsicWidth\":\"40\",\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"Tib6Q7ZnQ\\\":\\\"iconColor\\\",\\\"ixZIJysro\\\":\\\"weight\\\",\\\"d0DRJtbRf\\\":\\\"iconDark\\\",\\\"LTl4MmErQ\\\":\\\"iconLight\\\"}\",\"framerImmutableVariables\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Vuw93iw32.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{createContext,useContext,useEffect,useState,useMemo}from\"react\";import{createClient}from\"@supabase/supabase-js\";import{addPropertyControls,ControlType}from\"framer\";// No more 'next/navigation' needed here either\n// --- Loading Spinner (يمكنك استخدام نفس الـ Spinner من المثال السابق) ---\nconst LoadingSpinner=()=>/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",justifyContent:\"center\",alignItems:\"center\",width:\"100%\",minHeight:\"200px\"/*...*/},children:/*#__PURE__*/_jsx(\"svg\",{children:/*#__PURE__*/_jsx(\"g\",{fill:\"none\",fillRule:\"evenodd\",children:/*#__PURE__*/_jsxs(\"g\",{transform:\"translate(1 1)\",strokeWidth:\"2\",children:[/*#__PURE__*/_jsx(\"circle\",{strokeOpacity:\".5\",cx:\"18\",cy:\"18\",r:\"18\",stroke:\"#4f46e5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M36 18c0-9.94-8.06-18-18-18\",stroke:\"#4f46e5\",children:/*#__PURE__*/_jsx(\"animateTransform\",{attributeName:\"transform\",type:\"rotate\",from:\"0 18 18\",to:\"360 18 18\",dur:\"1s\",repeatCount:\"indefinite\"})})]})})})});const AuthContext=/*#__PURE__*/createContext({supabase:null,user:null,loading:true,signOut:async()=>{},signInPageUrl:\"/signin\"});export function AuthProvider({supabaseUrl,supabaseKey,children,signInPage=\"/signin\",protectedPages=[]}){const supabase=useMemo(()=>{if(supabaseUrl&&supabaseKey){return createClient(supabaseUrl,supabaseKey);}console.warn(\"Supabase URL or Key is missing.\")// تحذير إذا كانت القيم مفقودة\n;return null;},[supabaseUrl,supabaseKey]);const[user,setUser]=useState(null);const[loading,setLoading]=useState(true);useEffect(()=>{if(!supabase){setLoading(false);return;}let isMounted=true;setLoading(true);const checkInitialUser=async()=>{// استخدام getSession للحصول على الجلسة الأولية بشكل موثوق أكثر\nconst{data:{session},error}=await supabase.auth.getSession();if(!isMounted)return;if(error)console.error(\"Error getting session:\",error);setUser(session?.user??null);setLoading(false)// الانتهاء من التحميل الأولي\n;};checkInitialUser();const{data:listener}=supabase.auth.onAuthStateChange((event,session)=>{// لا حاجة لـ async هنا إذا لم نقم بعمليات await\nif(!isMounted)return;console.log(\"Auth State Change:\",event,session?.user?.id)// للمساعدة في التصحيح\n;setUser(session?.user??null);// لا حاجة لتغيير loading هنا، فقط تحديث المستخدم\n});return()=>{isMounted=false;listener?.subscription.unsubscribe();};},[supabase])// الاعتمادية فقط على كائن supabase\n;const signOut=async()=>{if(supabase){setLoading(true)// اختياري: إظهار تحميل أثناء الخروج\n;const{error}=await supabase.auth.signOut();if(error)console.error(\"Error signing out:\",error);// سيتم تحديث حالة المستخدم بواسطة onAuthStateChange\n// setLoading(false); // قد لا تحتاج لهذا إذا كان onAuthStateChange سريعًا\n}};// 🔥 المكون الداخلي للتحقق من المسار\nconst AuthGatekeeper=({children})=>{const currentPath=typeof window!==\"undefined\"?window.location.pathname:\"\";// التحقق مما إذا كان المسار الحالي يتطلب حماية\n// تأكد من أن صفحة تسجيل الدخول نفسها ليست محمية لتجنب حلقة لا نهائية!\nconst isProtectedRoute=protectedPages.includes(currentPath)&&currentPath!==signInPage;useEffect(()=>{// منطق إعادة التوجيه يوضع داخل useEffect ليعمل بعد العرض الأولي\nif(!loading&&isProtectedRoute&&!user){console.log(`AuthGatekeeper: Path \"${currentPath}\" is protected. User not logged in. Redirecting to ${signInPage}...`);// استخدم window.location.replace للتوجيه الموثوق مع إعادة التحميل\nwindow.location.replace(signInPage);// أو جرب طريقة SPA إذا كنت تفضلها وكانت تعمل:\n// if (window.location.pathname !== signInPage) {\n//     window.history.replaceState({}, \"\", signInPage);\n//     window.dispatchEvent(new Event(\"popstate\"));\n// }\n}},[loading,isProtectedRoute,user,currentPath,signInPage])// الاعتماديات الصحيحة\n;// 1. عرض التحميل دائمًا أثناء التحقق الأولي\nif(loading){return /*#__PURE__*/_jsx(LoadingSpinner,{});}// 2. إذا كان المسار محميًا والمستخدم غير مسجل دخوله، اعرض لا شيء أثناء إعادة التوجيه\nif(isProtectedRoute&&!user){// نعرض null أو Spinner أثناء انتظار useEffect لإعادة التوجيه\n// هذا يمنع عرض المحتوى المحمي للحظة\nreturn /*#__PURE__*/_jsx(LoadingSpinner,{})// أو null\n;}// 3. في جميع الحالات الأخرى (مسار غير محمي، أو مسار محمي والمستخدم مسجل دخوله)\n//    اعرض المحتوى المطلوب (الصفحة الحالية)\nreturn /*#__PURE__*/_jsx(_Fragment,{children:children});};return /*#__PURE__*/_jsx(AuthContext.Provider,{value:{supabase,user,loading,signOut,signInPageUrl:signInPage},children:/*#__PURE__*/_jsx(AuthGatekeeper,{children:children})});}// Custom Hook يبقى كما هو\nexport const useAuth=()=>useContext(AuthContext);// Property Controls مع إضافة protectedPages\naddPropertyControls(AuthProvider,{supabaseUrl:{type:ControlType.String,title:\"Supabase URL\",defaultValue:\"https://your-supabase-url.supabase.co\"},supabaseKey:{type:ControlType.String,title:\"Supabase Key (Anon)\",defaultValue:\"\"},signInPage:{type:ControlType.String,title:\"Sign In Page Path\",defaultValue:\"/signin\",placeholder:\"/signin\"},protectedPages:{// 🔥 إضافة عنصر التحكم لقائمة الصفحات المحمية\ntype:ControlType.Array,title:\"Protected Page Paths\",propertyControl:{type:ControlType.String,placeholder:\"/dashboard\"},defaultValue:[\"/dashboard\"]}});\nexport const __FramerMetadata__ = {\"exports\":{\"useAuth\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AuthProvider\":{\"type\":\"reactComponent\",\"name\":\"AuthProvider\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AuthProviderG.map"],"mappings":"y2BAE0E,SAAgB,GA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