{"version":3,"file":"PasswordGate_1.DlehAlif.mjs","names":["useState","useRef","useCallback","startTransition","_Fragment"],"sources":["https:/framerusercontent.com/modules/TJO5kPdfnw9SYmO6Sp1r/T2UGTWQbNLzBkESmc8HN/PasswordGate_1.js"],"sourcesContent":["// Password gate + page guard for Framer — ONE component, two modes.\n//\n//   • Mode \"gate\"  → the visible password form. Put it on your LOGIN page.\n//                    On a correct password it writes the key to storage and\n//                    sends the visitor to `redirectUrl` (the unlocked page).\n//\n//   • Mode \"guard\" → invisible at runtime. Put it on each PROTECTED page.\n//                    On load it checks the key and, if it's missing/wrong,\n//                    redirects to `redirectUrl` (your login page).\n//\n// Because both modes share the SAME key derivation, storage reads/writes and\n// comparison, the gate and guard can never disagree — which is what was causing\n// the endless redirect loop between the two old components.\n//\n// IMPORTANT: This is client-side protection only. Anyone can view source and\n// find the password. Use it for soft-gating (previews, drafts), not real security.\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useCallback,useRef,startTransition,useEffect}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{motion,AnimatePresence}from\"framer-motion\";/* ------------------------------------------------------------------ *//* Shared storage helpers — the single source of truth for both modes *//* ------------------------------------------------------------------ */// Framer reports RenderTarget.preview for BOTH the editor preview AND the live\n// site, so we detect the editor preview by hostname instead. Only the editor\n// preview window runs on *.framercanvas.com; the published site does not.\nfunction isFramerPreviewEnv(){if(typeof window===\"undefined\")return false;return(window.location.host||\"\").includes(\"framercanvas.com\");}// In the editor preview we suffix the key so testing there doesn't pollute the\n// real key. Live (and canvas) use the plain key. This MUST be identical for the\n// gate and the guard, otherwise they read different keys and loop.\nfunction resolveKey(storageKey){return isFramerPreviewEnv()?`${storageKey}__framer_preview`:storageKey;}function readCookie(key){if(typeof document===\"undefined\")return null;try{const safe=key.replace(/[-[\\]{}()*+?.,\\\\^$|#\\s]/g,\"\\\\$&\");const m=document.cookie.match(new RegExp(`(?:^|; )${safe}=([^;]*)`));return m?decodeURIComponent(m[1]):null;}catch{return null;}}function writeCookie(key,value,storageType){if(typeof document===\"undefined\")return;try{const base=`${key}=${encodeURIComponent(value)}; path=/; samesite=lax`;document.cookie=storageType===\"local\"?`${base}; max-age=${60*60*24*365}`:base;}catch{// ignore\n}}// Read the stored value from any available source (session → local → cookie).\nfunction readStored(key){if(typeof window===\"undefined\")return null;let v=null;try{v=window.sessionStorage.getItem(key);}catch{// ignore\n}if(v==null){try{v=window.localStorage.getItem(key);}catch{// ignore\n}}if(v==null)v=readCookie(key);return v;}// Write to the chosen storage, mirror to both stores + a cookie for robustness.\nfunction writeStored(key,value,storageType){if(typeof window===\"undefined\")return;try{(storageType===\"local\"?window.localStorage:window.sessionStorage).setItem(key,value);}catch{// ignore\n}try{window.localStorage.setItem(key,value);}catch{// ignore\n}try{window.sessionStorage.setItem(key,value);}catch{// ignore\n}writeCookie(key,value,storageType);}/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function PasswordGate(props){const{mode=\"gate\",correctPassword=\"letmein\",storageKey=\"userPassword\",storageType=\"session\",redirectUrl=\"/dashboard\",loginUrl=\"/login\",redirectDelay=600,placeholder=\"Enter password\",submitLabel=\"Submit\",errorMessage=\"Incorrect password. Please try again.\",successMessage=\"Access granted\",showToggle=true,font={},inputFont={},inputBackground=\"#FFFFFF\",inputBorderColor=\"#EEEEEE\",focusBorderColor=\"#000000\",inputTextColor=\"#000000\",errorColor=\"#E5484D\",successColor=\"#30A46C\",buttonBackground=\"#000000\",buttonTextColor=\"#FFFFFF\",borderRadius=8,inputPadding=\"12px 16px\",buttonPadding=\"12px 16px\",gap=12,style,...rest}=props;const[password,setPassword]=useState(\"\");const[showPassword,setShowPassword]=useState(false);const[state,setState]=useState(\"idle\");const[isShaking,setIsShaking]=useState(false);const[isFocused,setIsFocused]=useState(false);// Editor/build contexts where we must NOT navigate. Live reports as\n// \"preview\", not canvas, so isCanvasLike is correctly false on the live site.\nconst target=RenderTarget.current();const isCanvasLike=target===RenderTarget.canvas||target===RenderTarget.thumbnail||target===RenderTarget.export;// Fires a redirect at most once per page load, and never to the page we're\n// already on — together these make any redirect loop impossible.\nconst hasRedirectedRef=useRef(false);const navigateOnce=useCallback((rawUrl,delay)=>{if(!rawUrl||typeof window===\"undefined\")return;if(hasRedirectedRef.current)return;let href=rawUrl;let alreadyThere=false;try{const t=new URL(rawUrl,window.location.href);href=t.href;const samePath=t.pathname.replace(/\\/+$/,\"\")===window.location.pathname.replace(/\\/+$/,\"\");alreadyThere=t.origin===window.location.origin&&samePath;}catch{alreadyThere=rawUrl.replace(/\\/+$/,\"\")===window.location.pathname.replace(/\\/+$/,\"\");}if(alreadyThere)return;hasRedirectedRef.current=true;window.setTimeout(()=>{try{window.location.assign(href);}catch{window.location.href=href;}},Math.max(0,delay));},[]);// The single auth check used by gate, guard AND submit.\nconst isAuthed=useCallback(()=>{if(typeof window===\"undefined\")return false;const stored=readStored(resolveKey(storageKey));return stored!=null&&stored===correctPassword;},[storageKey,correctPassword]);/* GUARD mode: invisible protector. Send back to the login page if not authed. */useEffect(()=>{if(mode!==\"guard\")return;if(isCanvasLike||typeof window===\"undefined\")return;if(!isAuthed()){navigateOnce(loginUrl,0);}},[mode,isCanvasLike,isAuthed,navigateOnce,loginUrl]);/* GATE mode: if already authed, skip the login page. */useEffect(()=>{if(mode!==\"gate\")return;if(isCanvasLike||typeof window===\"undefined\")return;if(isAuthed()){startTransition(()=>setState(\"success\"));navigateOnce(redirectUrl,redirectDelay);}},[mode,isCanvasLike,isAuthed,navigateOnce,redirectUrl,redirectDelay]);const handleSubmit=useCallback(e=>{if(e)e.preventDefault();if(!password||isCanvasLike)return;if(password===correctPassword){startTransition(()=>setState(\"success\"));writeStored(resolveKey(storageKey),password,storageType);navigateOnce(redirectUrl,redirectDelay);}else{startTransition(()=>{setState(\"error\");setIsShaking(true);});setTimeout(()=>{startTransition(()=>setIsShaking(false));},500);startTransition(()=>setPassword(\"\"));}},[password,correctPassword,isCanvasLike,storageKey,storageType,navigateOnce,redirectUrl,redirectDelay]);const handleInputChange=useCallback(e=>{const value=e.target.value;startTransition(()=>{setPassword(value);if(state===\"error\"&&!isCanvasLike){setState(\"idle\");}});},[state,isCanvasLike]);const handleKeyDown=useCallback(e=>{if(e.key===\"Enter\"){handleSubmit();}},[handleSubmit]);const togglePasswordVisibility=useCallback(()=>{startTransition(()=>setShowPassword(prev=>!prev));},[]);/* -------------------------------------------------------------- *//* GUARD mode rendering: a small placeholder on the canvas so it's *//* selectable, and nothing at all on the live site.                *//* -------------------------------------------------------------- */if(mode===\"guard\"){if(isCanvasLike){return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:10,padding:12,border:\"1px dashed #CCCCCC\",borderRadius:8,background:\"#FFFFFF\",boxSizing:\"border-box\",...style},\"aria-label\":\"Page guard placeholder\",children:[/*#__PURE__*/_jsx(\"div\",{style:{width:28,height:28,borderRadius:6,background:\"#F0F0F0\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flex:\"0 0 auto\"},children:/*#__PURE__*/_jsxs(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"#666666\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"rect\",{x:\"3\",y:\"11\",width:\"18\",height:\"11\",rx:\"2\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M7 11V7a5 5 0 0 1 10 0v4\"})]})}),/*#__PURE__*/_jsxs(\"div\",{style:{minWidth:0},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:13,fontWeight:600,color:\"#000000\",lineHeight:\"1.2em\"},children:\"Page Guard (hidden on site)\"}),/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:12,color:\"#666666\",lineHeight:\"1.2em\",whiteSpace:\"nowrap\",overflow:\"hidden\",textOverflow:\"ellipsis\"},children:[\"No access → \",loginUrl||\"set Login Page URL\"]})]})]});}// Runtime: render nothing. The effect above handles the redirect.\nreturn null;}/* -------------------------------------------------------------- *//* GATE mode rendering: the password form (styling unchanged).     *//* -------------------------------------------------------------- */const isDisabled=!password||state===\"success\";const currentBorderColor=state===\"error\"?errorColor:state===\"success\"?successColor:isFocused?focusBorderColor:inputBorderColor;const displayState=isCanvasLike?\"idle\":state;const displayBorderColor=isCanvasLike?inputBorderColor:currentBorderColor;return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",display:\"flex\",flexDirection:\"column\",gap:12,...style},...rest,children:[/*#__PURE__*/_jsxs(\"form\",{onSubmit:handleSubmit,style:{display:\"flex\",flexDirection:\"column\",gap:gap},children:[/*#__PURE__*/_jsxs(motion.div,{animate:isShaking?{x:[-10,10,-10,10,0]}:{x:0},transition:{duration:.4},style:{position:\"relative\",width:\"100%\"},children:[/*#__PURE__*/_jsx(\"input\",{type:showPassword?\"text\":\"password\",value:password,onChange:handleInputChange,onKeyDown:handleKeyDown,onFocus:()=>startTransition(()=>setIsFocused(true)),onBlur:()=>startTransition(()=>setIsFocused(false)),placeholder:placeholder,disabled:state===\"success\",style:{width:\"100%\",padding:inputPadding,paddingRight:showToggle?\"48px\":undefined,backgroundColor:inputBackground,border:`1px solid ${displayBorderColor}`,borderRadius:`${borderRadius}px`,color:inputTextColor,outline:\"none\",transition:\"border-color 0.2s ease\",boxSizing:\"border-box\",...inputFont}}),showToggle&&/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:togglePasswordVisibility,disabled:state===\"success\",style:{position:\"absolute\",right:\"12px\",top:\"50%\",transform:\"translateY(-50%)\",background:\"none\",border:\"none\",cursor:state===\"success\"?\"default\":\"pointer\",padding:\"4px\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",opacity:state===\"success\"?.5:.6},\"aria-label\":showPassword?\"Hide password\":\"Show password\",children:/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:inputTextColor,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:showPassword?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"1\",y1:\"1\",x2:\"23\",y2:\"23\"})]}):/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"12\",r:\"3\"})]})})})]}),/*#__PURE__*/_jsx(motion.button,{type:\"submit\",disabled:isDisabled,whileHover:!isDisabled?{scale:1.02}:{},whileTap:!isDisabled?{scale:.98}:{},style:{width:\"100%\",padding:buttonPadding,backgroundColor:buttonBackground,opacity:isDisabled?.5:1,color:buttonTextColor,border:\"none\",borderRadius:`${borderRadius}px`,cursor:isDisabled?\"not-allowed\":\"pointer\",transition:\"background-color 0.2s ease, opacity 0.2s ease\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:8,...font},children:displayState===\"success\"?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:buttonTextColor,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"polyline\",{points:\"20 6 9 17 4 12\"})}),successMessage]}):submitLabel})]}),/*#__PURE__*/_jsxs(AnimatePresence,{mode:\"wait\",children:[displayState===\"error\"&&/*#__PURE__*/_jsx(motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},style:{color:errorColor,fontSize:\"14px\",...font},children:errorMessage},\"error\"),displayState===\"success\"&&/*#__PURE__*/_jsx(motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},style:{color:successColor,fontSize:\"14px\",...font},children:successMessage},\"success\")]})]});}addPropertyControls(PasswordGate,{// NEW — the only added control. Everything below is unchanged.\nmode:{type:ControlType.Enum,title:\"Mode\",options:[\"gate\",\"guard\"],optionTitles:[\"Gate (form)\",\"Guard (hidden)\"],defaultValue:\"gate\",displaySegmentedControl:true},correctPassword:{type:ControlType.String,title:\"Correct Password\",defaultValue:\"letmein\"},storageKey:{type:ControlType.String,title:\"Storage Key\",defaultValue:\"userPassword\"},storageType:{type:ControlType.Enum,title:\"Storage Type\",options:[\"session\",\"local\"],optionTitles:[\"Session\",\"Local\"],defaultValue:\"session\",displaySegmentedControl:true},redirectUrl:{type:ControlType.Link,title:\"Success URL\",defaultValue:\"/dashboard\",// Gate mode only: where to send the visitor AFTER a correct password.\nhidden:({mode})=>mode===\"guard\"},loginUrl:{type:ControlType.Link,title:\"Login Page URL\",defaultValue:\"/login\",// Guard mode only: where to send visitors who are NOT unlocked.\nhidden:({mode})=>mode===\"gate\"},redirectDelay:{type:ControlType.Number,title:\"Redirect Delay\",defaultValue:600,min:0,max:5e3,step:100,unit:\"ms\"},placeholder:{type:ControlType.String,title:\"Placeholder\",defaultValue:\"Enter password\"},submitLabel:{type:ControlType.String,title:\"Submit Label\",defaultValue:\"Submit\"},errorMessage:{type:ControlType.String,title:\"Error Message\",defaultValue:\"Incorrect password. Please try again.\",displayTextArea:true},successMessage:{type:ControlType.String,title:\"Success Message\",defaultValue:\"Access granted\"},showToggle:{type:ControlType.Boolean,title:\"Show/Hide Toggle\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"15px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"}},inputFont:{type:ControlType.Font,title:\"Input Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"15px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"}},inputBackground:{type:ControlType.Color,title:\"Input Background\",defaultValue:\"#FFFFFF\"},inputBorderColor:{type:ControlType.Color,title:\"Input Border\",defaultValue:\"#EEEEEE\"},focusBorderColor:{type:ControlType.Color,title:\"Focus Border\",defaultValue:\"#000000\"},inputTextColor:{type:ControlType.Color,title:\"Input Text\",defaultValue:\"#000000\"},errorColor:{type:ControlType.Color,title:\"Error Color\",defaultValue:\"#E5484D\"},successColor:{type:ControlType.Color,title:\"Success Color\",defaultValue:\"#30A46C\"},buttonBackground:{type:ControlType.Color,title:\"Button Background\",defaultValue:\"#000000\"},buttonTextColor:{type:ControlType.Color,title:\"Button Text\",defaultValue:\"#FFFFFF\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:8,min:0,max:32,step:1,unit:\"px\"},inputPadding:{type:ControlType.Padding,title:\"Input Padding\",defaultValue:\"12px 16px\"},buttonPadding:{type:ControlType.Padding,title:\"Button Padding\",defaultValue:\"12px 16px\"},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:12,min:0,max:48,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PasswordGate\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PasswordGate_1.map"],"mappings":"0RAmBA,SAAS,GAAoB,CAA6C,OAAlC,IAAS,OAAmB,IAAa,EAAO,SAAS,MAAM,IAAI,SAAS,mBAAmB,CAGvI,SAAS,EAAW,EAAW,CAAC,OAAO,GAAoB,CAA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