{"version":3,"file":"TextNotification.Ds8a8qg1.mjs","names":["React.useState","React.useRef","__esmMin","init_npm_react_18_3_1","init_ssg_sandbox_shims","window","init_npm_react_dom_18_3_1","_e","Ha","p","init_jsx_runtime","ce","de","init_framer_DS5RHCUB","ControlType","RenderTarget","addPropertyControls","splitLines","text","l","useIsPhone","ok","setOk","showOn","mq","MessagesBadge","size","ring","Card","props","bg","dark","ink","sub","badge","avatarSize","maxCardWidth","radius","FONT","avatarSrc","showBadge","contactName","timeLabel","maxLines","message","TextNotification","lines","messages","contactImage","DEFAULT_AVATAR","href","phone","firstText","cardProps","previewOnCanvas","sideGap","topGap","previewDark","Live","mounted","setMounted","setMessage","phase","setPhase","setDark","appearance","reduced","setReduced","allowed","touch","enabled","order","i","prev","show","delaySec","t","stayForSec","shown","transform","node","DEFAULT_MESSAGES","init_TextNotification"],"sources":["https:/framerusercontent.com/modules/ecIQkEkZRR9itoPjaaZU/7qXYwjOtOJR1Qpfi4w4D/TextNotification.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{createPortal}from\"react-dom\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";// A Remmy text, styled like an iPhone Messages notification, that slides down\n// once per page load (a refresh shows it again), stays a few seconds, then\n// slides away. Tapping it opens Messages with the same first text as the\n// \"Text Remmy\" button. It is drawn on the page (no real push permission), and\n// it is an <a href=\"sms:...\"> so the site's existing tap tracking counts it.\n//\n// The message is picked on the client after load, never during server render,\n// so the random pick can't cause a hydration mismatch. It renders into\n// document.body so no parent layout or transform can clip it.\n//\n// Sizes are named size-like things (avatarSize, maxCardWidth), never\n// \"width\"/\"height\": Framer injects its own width/height into code components.\nconst FONT=\"-apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Inter, system-ui, sans-serif\";const DEFAULT_AVATAR=\"https://framerusercontent.com/images/8PrJr6KJ5fUe8ruNBnNDGIKwhnI.png?scale-down-to=512\";function splitLines(text){return String(text||\"\").split(\"\\n\").map(l=>l.trim()).filter(Boolean);}function useIsPhone(showOn){const[ok,setOk]=React.useState(false);React.useEffect(()=>{if(showOn===\"all\")return setOk(true);try{const mq=window.matchMedia(\"(max-width: 809px), (hover: none) and (pointer: coarse)\");setOk(mq.matches);}catch(_e){setOk(false);}},[showOn]);return ok;}function MessagesBadge({size,ring}){return /*#__PURE__*/_jsxs(\"svg\",{width:size,height:size,viewBox:\"0 0 20 20\",style:{display:\"block\",borderRadius:size*.26,boxShadow:`0 0 0 1.5px ${ring}`},\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"defs\",{children:/*#__PURE__*/_jsxs(\"linearGradient\",{id:\"tnMsgGrad\",x1:\"0\",y1:\"0\",x2:\"0\",y2:\"1\",children:[/*#__PURE__*/_jsx(\"stop\",{offset:\"0\",stopColor:\"#5CF777\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"1\",stopColor:\"#0CBD2A\"})]})}),/*#__PURE__*/_jsx(\"rect\",{width:\"20\",height:\"20\",rx:\"5.2\",fill:\"url(#tnMsgGrad)\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M10 4.6c-3.3 0-6 2.1-6 4.8 0 1.5.8 2.8 2.1 3.7-.1.8-.5 1.6-1.1 2.2 1.2-.1 2.3-.5 3.1-1.2.6.1 1.2.2 1.9.2 3.3 0 6-2.1 6-4.9S13.3 4.6 10 4.6z\",fill:\"#FFFFFF\"})]});}function Card(props){const{message,contactName,avatarSrc,timeLabel,showBadge,dark,avatarSize,maxCardWidth,radius,maxLines}=props;const bg=dark?\"rgba(30, 30, 32, 0.72)\":\"rgba(246, 246, 248, 0.78)\";const ink=dark?\"#FFFFFF\":\"#000000\";const sub=dark?\"rgba(235, 235, 245, 0.6)\":\"rgba(60, 60, 67, 0.6)\";const badge=Math.round(avatarSize*.42);return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",maxWidth:maxCardWidth,margin:\"0 auto\",boxSizing:\"border-box\",display:\"flex\",alignItems:\"flex-start\",gap:11,padding:\"11px 14px 12px 12px\",borderRadius:radius,background:bg,backdropFilter:\"blur(28px) saturate(180%)\",WebkitBackdropFilter:\"blur(28px) saturate(180%)\",boxShadow:dark?\"0 10px 30px rgba(0,0,0,0.45)\":\"0 10px 30px rgba(0,0,0,0.16), 0 0 0 0.5px rgba(0,0,0,0.06)\",fontFamily:FONT,WebkitFontSmoothing:\"antialiased\",color:ink,textAlign:\"left\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",flex:\"none\",width:avatarSize,height:avatarSize,marginTop:1},children:[/*#__PURE__*/_jsx(\"img\",{src:avatarSrc,alt:\"\",draggable:false,style:{width:avatarSize,height:avatarSize,borderRadius:\"50%\",objectFit:\"cover\",display:\"block\",background:dark?\"#3A3A3C\":\"#D1D1D6\"}}),showBadge?/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",right:-3,bottom:-3},children:/*#__PURE__*/_jsx(MessagesBadge,{size:badge,ring:dark?\"#1E1E20\":\"#F6F6F8\"})}):null]}),/*#__PURE__*/_jsxs(\"div\",{style:{flex:1,minWidth:0},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"baseline\",gap:8},children:[/*#__PURE__*/_jsx(\"div\",{style:{flex:1,minWidth:0,fontSize:15,fontWeight:600,letterSpacing:\"-0.01em\",lineHeight:1.25,whiteSpace:\"nowrap\",overflow:\"hidden\",textOverflow:\"ellipsis\"},children:contactName}),timeLabel?/*#__PURE__*/_jsx(\"div\",{style:{flex:\"none\",fontSize:13,color:sub,lineHeight:1.25},children:timeLabel}):null]}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:1,fontSize:15,lineHeight:1.3,letterSpacing:\"-0.01em\",display:\"-webkit-box\",WebkitBoxOrient:\"vertical\",WebkitLineClamp:maxLines,overflow:\"hidden\",wordBreak:\"break-word\"},children:message})]})]});}/**\n * Text notification.\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 390\n * @framerIntrinsicHeight 0\n */export default function TextNotification(props){const{enabled=true,messages=\"\",order=\"random\",contactName=\"Remmy\",contactImage,timeLabel=\"now\",showBadge=true,phone=\"+13214298512\",firstText=\"So how does this work? Who are you?\",delaySec=1.5,stayForSec=5,showOn=\"phone\",appearance=\"auto\",topGap=8,sideGap=8,maxCardWidth=420,avatarSize=38,radius=22,maxLines=4,previewOnCanvas=true,previewDark=false}=props;const lines=splitLines(messages);const avatarSrc=contactImage&&contactImage.src||DEFAULT_AVATAR;const href=`sms:${String(phone||\"\").trim()}${firstText?`?body=${encodeURIComponent(firstText)}`:\"\"}`;const cardProps={contactName,avatarSrc,timeLabel,showBadge,avatarSize,maxCardWidth,radius,maxLines};// Canvas: a static preview so it can be styled; takes no space in the layout.\nif(RenderTarget.current()===RenderTarget.canvas){if(!previewOnCanvas)return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:0}});return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:0,overflow:\"visible\",position:\"relative\"},children:/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:sideGap,right:sideGap,top:topGap,zIndex:10},children:/*#__PURE__*/_jsx(Card,{...cardProps,dark:previewDark,message:lines[0]||\"Add your messages in the panel, one per line.\"})})});}return /*#__PURE__*/_jsx(Live,{enabled:enabled,lines:lines,order:order,href:href,delaySec:delaySec,stayForSec:stayForSec,showOn:showOn,appearance:appearance,topGap:topGap,sideGap:sideGap,cardProps:cardProps});}function Live({enabled,lines,order,href,delaySec,stayForSec,showOn,appearance,topGap,sideGap,cardProps}){const[mounted,setMounted]=React.useState(false);const[message,setMessage]=React.useState(\"\");const[phase,setPhase]=React.useState(\"hidden\")// hidden | in | out | gone\n;const[dark,setDark]=React.useState(appearance===\"dark\");const[reduced,setReduced]=React.useState(false);const allowed=useIsPhone(showOn);const touch=React.useRef({y:0,moved:false});React.useEffect(()=>{setMounted(true);try{if(appearance===\"auto\")setDark(window.matchMedia(\"(prefers-color-scheme: dark)\").matches);setReduced(window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches);}catch(_e){}},[appearance]);React.useEffect(()=>{if(!mounted||!enabled||!allowed||!lines.length)return;if(order===\"inOrder\"){// \"In order\" walks the list across visits; the place is kept in\n// this browser only (a convenience, so it fails quietly).\nlet i=0;try{const prev=parseInt(window.localStorage.getItem(\"remmyNotifIdx\")||\"-1\",10);i=(isNaN(prev)?0:prev+1)%lines.length;window.localStorage.setItem(\"remmyNotifIdx\",String(i));}catch(_e){}setMessage(lines[i]);}else{setMessage(lines[Math.floor(Math.random()*lines.length)]);}const show=window.setTimeout(()=>setPhase(\"in\"),Math.max(0,Number(delaySec)||0)*1e3);return()=>window.clearTimeout(show);// run once per page load\n// eslint-disable-next-line react-hooks/exhaustive-deps\n},[mounted,enabled,allowed]);React.useEffect(()=>{if(phase===\"in\"){const t=window.setTimeout(()=>setPhase(\"out\"),Math.max(1,Number(stayForSec)||5)*1e3);return()=>window.clearTimeout(t);}if(phase===\"out\"){const t=window.setTimeout(()=>setPhase(\"gone\"),450);return()=>window.clearTimeout(t);}},[phase,stayForSec]);if(!mounted||!enabled||!allowed||!message||phase===\"hidden\"||phase===\"gone\")return null;const shown=phase===\"in\";const transform=reduced?\"none\":shown?\"translateY(0)\":\"translateY(calc(-100% - 24px))\";const node=/*#__PURE__*/_jsx(\"div\",{role:\"status\",\"aria-live\":\"polite\",style:{position:\"fixed\",top:`calc(env(safe-area-inset-top, 0px) + ${topGap}px)`,left:sideGap,right:sideGap,zIndex:2147483e3,pointerEvents:\"none\"},children:/*#__PURE__*/_jsxs(\"a\",{href:href,\"aria-label\":`Message from ${cardProps.contactName}: ${message}. Tap to text back.`,onClick:e=>{if(touch.current.moved)e.preventDefault();},onTouchStart:e=>{touch.current={y:e.touches[0].clientY,moved:false};},onTouchMove:e=>{if(e.touches[0].clientY-touch.current.y<-18){touch.current.moved=true;setPhase(\"out\");}},style:{display:\"block\",textDecoration:\"none\",color:\"inherit\",pointerEvents:shown?\"auto\":\"none\",WebkitTapHighlightColor:\"transparent\",transform,opacity:shown?1:0,animation:shown&&!reduced?\"tnDrop 520ms cubic-bezier(0.2, 0.9, 0.25, 1.12)\":undefined,transition:reduced?\"opacity 300ms ease\":\"transform 380ms cubic-bezier(0.4, 0, 1, 1), opacity 380ms ease\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`@keyframes tnDrop{from{transform:translateY(calc(-100% - 24px));opacity:.6}to{transform:translateY(0);opacity:1}}`}),/*#__PURE__*/_jsx(Card,{...cardProps,dark:dark,message:message})]})});return /*#__PURE__*/createPortal(node,document.body);}const DEFAULT_MESSAGES=[\"you ready to lock in? 🤨\",\"don't be a chud. let's lock in together\",\"you said you'd start monday. it's not monday\",\"i'm already waiting. text me back 👀\",\"7 days free and you're still scrolling?\",\"your future self texted. he said go\"].join(\"\\n\");addPropertyControls(TextNotification,{enabled:{type:ControlType.Boolean,title:\"Show it\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},messages:{type:ControlType.String,title:\"Messages\",displayTextArea:true,defaultValue:DEFAULT_MESSAGES,description:\"One message per line. Add or remove as many as you like.\"},order:{type:ControlType.Enum,title:\"Pick\",options:[\"random\",\"inOrder\"],optionTitles:[\"Random\",\"In order\"],defaultValue:\"random\",displaySegmentedControl:true},contactName:{type:ControlType.String,title:\"Contact name\",defaultValue:\"Remmy\"},contactImage:{type:ControlType.ResponsiveImage,title:\"Contact photo\"},timeLabel:{type:ControlType.String,title:\"Time label\",defaultValue:\"now\"},showBadge:{type:ControlType.Boolean,title:\"Messages badge\",defaultValue:true},phone:{type:ControlType.String,title:\"Phone number\",defaultValue:\"+13214298512\"},firstText:{type:ControlType.String,title:\"First text\",displayTextArea:true,defaultValue:\"So how does this work? Who are you?\",description:\"Pre-typed in Messages when they tap it. Keep it the same as the Text Remmy button.\"},delaySec:{type:ControlType.Number,title:\"Show after\",min:0,max:15,step:.1,unit:\"s\",defaultValue:1.5},stayForSec:{type:ControlType.Number,title:\"Stay for\",min:1,max:20,step:.5,unit:\"s\",defaultValue:5},showOn:{type:ControlType.Enum,title:\"Show on\",options:[\"phone\",\"all\"],optionTitles:[\"Phones\",\"Everything\"],defaultValue:\"phone\",displaySegmentedControl:true},appearance:{type:ControlType.Enum,title:\"Look\",options:[\"auto\",\"light\",\"dark\"],optionTitles:[\"Auto\",\"Light\",\"Dark\"],defaultValue:\"auto\",displaySegmentedControl:true,description:\"Auto follows the visitor's phone light/dark mode, like real notifications.\"},topGap:{type:ControlType.Number,title:\"Top gap\",min:0,max:60,step:1,defaultValue:8},sideGap:{type:ControlType.Number,title:\"Side gap\",min:0,max:40,step:1,defaultValue:8},maxCardWidth:{type:ControlType.Number,title:\"Max width\",min:280,max:600,step:1,defaultValue:420},avatarSize:{type:ControlType.Number,title:\"Photo size\",min:24,max:56,step:1,defaultValue:38},radius:{type:ControlType.Number,title:\"Corner radius\",min:8,max:32,step:1,defaultValue:22},maxLines:{type:ControlType.Number,title:\"Max lines\",min:1,max:6,step:1,defaultValue:4},previewOnCanvas:{type:ControlType.Boolean,title:\"Canvas preview\",defaultValue:true},previewDark:{type:ControlType.Boolean,title:\"Preview dark\",defaultValue:false,hidden:p=>!p.previewOnCanvas}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TextNotification\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"390\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"auto\",\"framerIntrinsicHeight\":\"0\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TextNotification.map"],"mappings":"A,mOAY4N,SAASiB,EAAW,EAAK,CAAC,OAAO,OAAOC,GAAM,EAAE,CAAC,CAAC,MAAM;CAAI,CAAC,CAAC,IAAI,GAAGC,EAAE,KAAK,CAAC,CAAC,CAAC,OAAO,OAAO,CAAE,CAAC,SAASC,EAAW,EAAO,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