PageSourceSearch

https://calendar.amie.so/_next/static/chunks/components-profile-overlay.fe5705acc34092a5.js

js amie.so collected 2026-09-25 19:11:27 UTC 26,131 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8908],{43505:(e,l,t)=>{t.r(l),t.d(l,{default:()=>eh});var a=t(37876),s=t(14232),i=t(27212),n=t(19747),r=t(89099),o=t.n(r),c=t(31893),d=t(52421),u=t(97465),x=t(91983),f=t(83857),m=t(35187),h=t(80550),p=t(32237),v=t(73571),y=t(31476);let w=(0,v.Iz)(()=>(0,p.eU)(null));function g(e){var l;let{email:t}=e,a=(0,p.Xr)(w(t)),i=(0,s.useMemo)(()=>t?{variables:{email:t},context:{requestPolicy:"cache-and-network",suspense:!0}}:{pause:!0},[t]),[n]=(0,y.yF7)(i);return(0,s.useEffect)(()=>{var e;(null==n||null==(e=n.data)?void 0:e.profileMeetInfo)&&a(n.data.profileMeetInfo)},[null==(l=n.data)?void 0:l.profileMeetInfo,a]),null}var j=t(74546),N=t(65827),b=t(41921),k=t(49187),A=t(58103),S=t.n(A),C=t(5811),E=t(81040),R=t(1297),z=t(56521),M=t(64081),q=t(656),L=t(79463),Y=t(16361),T=t(44824),P=t(25525),O=t(54030);function I(e){let{className:l="h-4 w-4"}=e;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:l,viewBox:"0 0 24 24",fill:"currentColor",children:(0,a.jsx)("path",{d:"M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"})})}function U(e){let{twitter:l,location:t,birthday:s}=e;return l||t||s?(0,a.jsxs)("div",{className:"mt-5 flex gap-4",children:[l&&(0,a.jsxs)("div",{className:"flex items-center gap-1.5 text-secondary",children:[(0,a.jsx)("div",{className:"relative top-px flex opacity-60",children:(0,a.jsx)(I,{})}),(0,a.jsxs)("p",{className:"text-sm font-semibold",children:["@",l]})]}),t&&(0,a.jsxs)("div",{className:"flex items-center gap-1.5 text-secondary",children:[(0,a.jsx)("div",{className:"flex opacity-60",children:(0,a.jsx)(O.A,{})}),(0,a.jsx)("p",{className:"text-sm font-semibold",children:t})]}),s&&(0,a.jsxs)("div",{className:"flex items-center gap-1.5 text-secondary",children:[(0,a.jsx)("div",{className:"flex opacity-60",children:(0,a.jsx)(P.A,{})}),(0,a.jsx)("p",{className:"text-sm font-semibold",children:T.c9.fromISO(s).toFormat("MMM d")})]})]}):null}let D=(0,C.PA)(function(e){let{isSelf:l,isExternalUser:t,avatar:s,displayName:i,email:n,birthday:r,handle:o,twitter:c,location:d,verified:u=!1}=e,{openModal:x}=(0,L.iR)(),f=(0,L.n9)(),m=i||n,h=k.A.auth.user;return h?(0,a.jsxs)("div",{className:"pointer-events-auto relative flex flex-col overflow-hidden rounded-3xl bg-white shadow-feint dark:bg-gray-750",children:[(0,a.jsx)("div",{className:"absolute inset-0 h-full w-full",children:(0,a.jsx)("div",{className:"bg-pattern-amie h-full w-full animate-backgroundScroll",style:{height:2*Y.MT,backgroundSize:"100%"}})}),(0,a.jsx)("div",{className:"absolute inset-0 h-full w-full bg-gradient-to-t from-white to-white/20 dark:from-gray-750 dark:to-gray-750/20"}),(0,a.jsx)("div",{className:"flex h-56 w-full items-center overflow-hidden px-7",children:(0,a.jsx)("div",{className:"relative flex rounded-full shadow-lg",children:(0,a.jsx)(R.A,{size:130,name:l?null==h?void 0:h.displayName:m,src:l?null==h?void 0:h.photoURL:s,email:n})})}),(0,a.jsxs)("div",{className:"relative flex w-full items-center pb-8 pl-8 pr-8",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)("h4",{className:"text-2xl font-black leading-none",children:m}),u&&(0,a.jsx)("span",{className:" text-rose-300",children:(0,a.jsx)(M.A,{className:"h-6 w-6"})})]}),!t&&(0,a.jsx)("h4",{className:"mt-1.5 text-base font-semibold leading-none text-secondary",children:o?"@".concat(o):n}),(0,a.jsx)(U,{twitter:c,location:d,birthday:r})]}),(0,a.jsx)("div",{className:"ml-auto mt-auto flex items-center gap-2",children:l&&(0,a.jsx)(z.A,{className:"rounded-lg border border-gray-150 px-6 py-3 text-sm font-semibold hover:bg-gray-150 dark:border-gray-600 dark:hover:bg-gray-600",onClick:()=>{f(q.x.Profile),x("Settings")},children:"Edit profile"})})]})]}):null});var B=t(6708),K=t(85675);let W=(0,C.PA)(function(e){let{location:l,displayName:t,avatar:s,email:i,isSelf:n}=e,r=(0,K.$$)(),o=null!=l,c=l||"New York Stock Exchange",d=k.A.auth.user,u="localhost"===window.location.host.split(":")[0]?"https://fishbowl.amie.so":"",x=new URLSearchParams;return(x.set("location",c),x.set("mode",r===y.PaY.Dark?"dark":"light"),d)?(0,a.jsxs)("div",{className:"relative flex h-full w-full flex-col items-center justify-center overflow-hidden rounded-3xl",children:[(0,a.jsxs)("div",{className:S()("absolute z-10 flex items-center p-6",{"right-0 top-0":!o}),children:[(0,a.jsx)("div",{className:"absolute flex h-8 w-8 animate-pingSlow rounded-full bg-blue-500/60"}),(0,a.jsx)(R.A,{size:32,src:n?null==d?void 0:d.photoURL:s,name:n?null==d?void 0:d.displayName:t,email:i})]}),!o&&(0,a.jsxs)("div",{className:"absolute bottom-0 left-0 z-10 flex flex-col p-6",children:[(0,a.jsx)("small",{className:"text-sm font-black uppercase tracking-wider text-secondary",children:"Location"}),(0,a.jsx)("p",{className:"text-xl font-black text-secondary",children:"No location has been set."})]}),(0,a.jsx)("div",{className:"absolute inset-0 -z-1 h-full w-full",children:(0,a.jsx)(B.a,{height:"100%",width:"100%",children:(0,a.jsx)("rect",{x:0,y:0,height:"100%",width:"100%"})})}),(0,a.jsx)("img",{alt:c,src:"".concat(u,"/api/map/image?").concat(x.toString()),className:S()("pointer-events-none absolute w-full select-none object-cover",{blur:!o})})]}):null});function H(e){let{children:l,clickable:t,span:s=1}=e;return(0,a.jsx)("div",{className:S()("pointer-events-auto relative h-[272px] rounded-3xl bg-white shadow-feint dark:bg-gray-750",{"transition-transform hover:scale-102 active:scale-100":t}),style:{gridColumn:"span ".concat(s)},children:l})}function V(e){let{children:l}=e;return(0,a.jsx)("div",{className:"mt-4 grid grid-flow-row-dense grid-cols-2 gap-4 xl:grid-cols-3",children:l})}var F=t(31453),_=t(98707),Q=t(88947),Z=t(61830),$=t(37550),X=t(59482),G=function(e){return e[e.WEEKLY=0]="WEEKLY",e[e.MONTHLY=1]="MONTHLY",e[e.QUARTERLY=2]="QUARTERLY",e[e.YEARLY=3]="YEARLY",e[e.CUSTOM=4]="CUSTOM",e}({});let J=[{label:"None",frequency:void 0,frequencyDescription:"No reminder"},{label:"Weekly",frequency:G.WEEKLY,frequencyDescription:"Starts next week"},{label:"Monthly",frequency:G.MONTHLY,frequencyDescription:"Starts next month"},{label:"Quarterly",frequency:G.QUARTERLY,frequencyDescription:"Starts next quarter"},{label:"Yearly",frequency:G.YEARLY,frequencyDescription:"Starts next year"}],ee=(0,C.PA)(function(e){let{firstName:l,contactId:t}=e,{frequency:i,setReminder:n,ruleStr:r}=function(e){var l;let t=(0,s.useMemo)(()=>e?{variables:{id:e},context:{requestPolicy:"cache-and-network"}}:{pause:!0},[e]),[a,i]=(0,y.KT4)(t),[,n]=(0,y.TtO)(),r=null==(l=a.data)?void 0:l.contactReminderV2,o=(0,X.Nm)(null==r?void 0:r.recurrenceRules),c=function(e){if(e)switch(e.options.freq){case $.jN.WEEKLY:return 0;case $.jN.YEARLY:return 3;case $.jN.MONTHLY:if(3===e.options.interval)return 2;return 1;default:return 4}}
1(o),[d,u]=(0,s.useState)(c),x=k.A.timeZone.displayTimeZone;(0,s.useEffect)(()=>()=>u(void 0),[e]),(0,s.useEffect)(()=>{!1===a.fetching&&u(c)},[a.fetching,c]);let f=(0,s.useCallback)(async l=>{var t,a;if(!e)return;u(l);let s=function(e,l){let t=T.c9.now().setZone(l),a=t.toFormat("EEE").slice(0,2).toUpperCase(),s=$.Bw.fromStr(a),i=function(e){let l=e.weekday,t=e.startOf("month"),a=e.day,s=0;for(let e=0;e<=a;e++)t.plus({days:e}).weekday===l&&s++;return s}(t);if(void 0!==e)switch(e){case 0:return new $.p3({freq:$.jN.WEEKLY,byweekday:[s]});case 1:return new $.p3({freq:$.jN.MONTHLY,bysetpos:i<=4?i:-1,byweekday:[s]});case 2:return new $.p3({freq:$.jN.MONTHLY,bysetpos:i<=4?i:-1,byweekday:[s],interval:3});case 3:return new $.p3({freq:$.jN.YEARLY})}}(l,x),r=s?[s.toString()]:[],o=await n({contactId:e,recurrenceRules:r});return i(),null==(a=o.data)||null==(t=a.setReminderV2.event)?void 0:t.startAt},[e,i,n,x]);return{isFetching:a.fetching,frequency:d,setReminder:f,ruleStr:null==o?void 0:o.toText()}}(t),{add:o}=(0,Q.A)(),c=(0,s.useMemo)(()=>{var e;return i===G.CUSTOM?r||"":void 0!==i?null==(e=J.find(e=>e.frequency===i))?void 0:e.label:void 0},[i,r]),d=(0,s.useCallback)(()=>{let e=J.map(e=>({type:"option",value:e.label,description:e.frequencyDescription,selected:e.frequency===i,onSelect:async()=>{o({id:"schedule-reminder-".concat(e.frequency),label:void 0===e.frequency?"Removing reminder":"Reminder scheduling",kind:"loading"});let l=await n(e.frequency),t=l?"Starts on ".concat(T.c9.fromISO(l).toFormat("d MMM yyyy")):void 0;o({id:"schedule-reminder-".concat(e.frequency),label:void 0===e.frequency?"Reminder was removed":"Reminder was scheduled",description:void 0===e.frequency?void 0:t,kind:"success"})}}));return e.unshift({value:"Reminder",type:"title"}),e},[n,i,o]),u=null==l?"":" with ".concat(l),x=c?"".concat(c," reminder to catch up").concat(u):void 0,f="Schedule reminder to catch up".concat(u);return(0,a.jsxs)("div",{className:"flex h-full w-full flex-col rounded-3xl bg-gradient-to-t from-gray-50 to-white p-6 dark:bg-gradient-to-b dark:from-gray-600/10 dark:to-gray-800/40",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("small",{className:"mb-0.5 text-sm font-black uppercase tracking-wider text-yellow-400 dark:text-yellow-200",children:"Reminder"}),(0,a.jsx)("p",{className:"text-xl font-black",children:x||f}),(0,a.jsx)("p",{className:"mt-0.5 text-base font-medium text-secondary",children:"Visible in your calendar only"})]}),(0,a.jsx)("div",{className:"mt-auto flex w-full",children:(0,a.jsx)(_.A,{getItems:d,children:(0,a.jsxs)(z.A,{className:"flex w-full items-center justify-center rounded-full bg-gray-200 py-3 text-sm font-semibold dark:bg-gray-700 dark:hover:bg-gray-600",children:[(0,a.jsx)("div",{className:"mr-1.5 flex origin-top animate-bell text-gray-400 dark:text-gray-500",children:(0,a.jsx)(Z.A,{})}),c?"Change reminder":"Schedule reminder"]})})})]})});var el=t(76182);let et=function(e){var l,t,a;let{email:s}=e,[,i]=(0,y.w2e)(),[,n]=(0,y.sOg)(),r=null==(l=k.A.auth.user)?void 0:l.email,o=null==(t=k.A.auth.user)?void 0:t.isSpotifyConnected,[c]=(0,y.EK5)({pause:!1==!!(s||r)||!o,requestPolicy:"network-only"});return(0,el.w)(c),{currentlyPlaying:null==(a=c.data)?void 0:a.spotifyCurrentlyPlaying,playSong:i,pauseSong:n}};function ea(e){let{firstName:l,isSelf:t}=e,{openModal:i}=(0,L.iR)(),n=(0,L.n9)(),r=t?"Play something. Connect with Spotify to share activity.":null===l?"Spotify account has not yet been linked.":"".concat(l," has not yet linked their Spotify account."),o=(0,s.useCallback)(()=>{n(q.x.Accounts),i("Settings")},[i,n]);return(0,a.jsxs)("div",{className:S()("flex h-full w-full flex-col rounded-3xl bg-gradient-to-t p-6 dark:bg-gradient-to-b",{"from-spotify to-spotify/60 text-white":t,"from-white to-white dark:from-gray-600/10 dark:to-gray-800/40":!t}),children:[(0,a.jsx)("div",{className:S()("flex w-full justify-between",{"text-spotify":!t}),children:(0,a.jsx)("svg",{className:"h-10 w-10",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 168 168",children:(0,a.jsx)("path",{fill:"currentColor",d:"m83.996 0.277c-46.249 0-83.743 37.493-83.743 83.742 0 46.251 37.494 83.741 83.743 83.741 46.254 0 83.744-37.49 83.744-83.741 0-46.246-37.49-83.738-83.745-83.738l0.001-0.004zm38.404 120.78c-1.5 2.46-4.72 3.24-7.18 1.73-19.662-12.01-44.414-14.73-73.564-8.07-2.809 0.64-5.609-1.12-6.249-3.93-0.643-2.81 1.11-5.61 3.926-6.25 31.9-7.291 59.263-4.15 81.337 9.34 2.46 1.51 3.24 4.72 1.73 7.18zm10.25-22.805c-1.89 3.075-5.91 4.045-8.98 2.155-22.51-13.839-56.823-17.846-83.448-9.764-3.453 1.043-7.1-0.903-8.148-4.35-1.04-3.453 0.907-7.093 4.354-8.143 30.413-9.228 68.222-4.758 94.072 11.127 3.07 1.89 4.04 5.91 2.15 8.976v-0.001zm0.88-23.744c-26.99-16.031-71.52-17.505-97.289-9.684-4.138 1.255-8.514-1.081-9.768-5.219-1.254-4.14 1.08-8.513 5.221-9.771 29.581-8.98 78.756-7.245 109.83 11.202 3.73 2.209 4.95 7.016 2.74 10.733-2.2 3.722-7.02 4.949-10.73 2.739z"})})}),(0,a.jsxs)("div",{className:"mt-auto flex w-full flex-col",children:[(0,a.jsx)("small",{className:S()("mb-0.5 text-sm font-black uppercase tracking-wider",{"text-white/60":t,"text-secondary":!t}),children:"Spotify"}),(0,a.jsx)("p",{className:S()("break-words text-xl font-black leading-tight",{"text-secondary":!t}),children:r}),t&&(0,a.jsx)(z.A,{onClick:o,className:"mt-4 flex w-full items-center justify-center rounded-full bg-white py-3 text-sm font-semibold text-spotify hover:bg-white/80",children:"Connect Spotify"})]})]})}function es(e){let{email:l,firstName:t,isSelf:i}=e,{currentlyPlaying:n,playSong:r,pauseSong:o}=et({email:l}
1),[c,d]=(0,s.useState)(!1),[u,x]=(0,s.useState)(!1),f=(0,s.useCallback)(()=>{(null==n?void 0:n.id)&&(x(!0),c?o().then(e=>{var l,t;if(!(null==(t=e.data)||null==(l=t.spotifyPauseSong)?void 0:l.deviceId))return d(!0);d(!1)}).catch(()=>d(!0)).finally(()=>x(!1)):r({uri:n.id}).then(e=>{var l,t;if(!(null==(t=e.data)||null==(l=t.spotifyPlaySong)?void 0:l.deviceId))return d(!1);d(!0)}).catch(()=>d(!0)).finally(()=>x(!1)))},[c,o,r,null==n?void 0:n.id]);return n?(0,a.jsxs)("div",{className:"flex h-full w-full flex-col rounded-3xl bg-gradient-to-t from-spotify to-spotify/60 p-6 text-white dark:bg-gradient-to-b",children:[(0,a.jsxs)("div",{className:"flex w-full justify-between",children:[(0,a.jsx)("div",{className:"flex h-[156px] w-[156px] rounded-xl bg-cover",style:{backgroundImage:'url("'.concat(n.photo,'")')}}),(0,a.jsx)("svg",{className:"h-10 w-10",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 168 168",children:(0,a.jsx)("path",{fill:"currentColor",d:"m83.996 0.277c-46.249 0-83.743 37.493-83.743 83.742 0 46.251 37.494 83.741 83.743 83.741 46.254 0 83.744-37.49 83.744-83.741 0-46.246-37.49-83.738-83.745-83.738l0.001-0.004zm38.404 120.78c-1.5 2.46-4.72 3.24-7.18 1.73-19.662-12.01-44.414-14.73-73.564-8.07-2.809 0.64-5.609-1.12-6.249-3.93-0.643-2.81 1.11-5.61 3.926-6.25 31.9-7.291 59.263-4.15 81.337 9.34 2.46 1.51 3.24 4.72 1.73 7.18zm10.25-22.805c-1.89 3.075-5.91 4.045-8.98 2.155-22.51-13.839-56.823-17.846-83.448-9.764-3.453 1.043-7.1-0.903-8.148-4.35-1.04-3.453 0.907-7.093 4.354-8.143 30.413-9.228 68.222-4.758 94.072 11.127 3.07 1.89 4.04 5.91 2.15 8.976v-0.001zm0.88-23.744c-26.99-16.031-71.52-17.505-97.289-9.684-4.138 1.255-8.514-1.081-9.768-5.219-1.254-4.14 1.08-8.513 5.221-9.771 29.581-8.98 78.756-7.245 109.83 11.202 3.73 2.209 4.95 7.016 2.74 10.733-2.2 3.722-7.02 4.949-10.73 2.739z"})})]}),(0,a.jsxs)("div",{className:"mt-auto flex w-full items-center",children:[(0,a.jsxs)(z.A,{className:"relative mr-2 mt-1 scale-100 transform transition-transform duration-100 hover:scale-110",onClick:f,title:"Play this track on my Spotify","aria-label":"Play this track on my Spotify",disabled:u,children:[u&&(0,a.jsxs)("svg",{className:"text-green absolute h-12 w-12 animate-spin opacity-30",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,a.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,a.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),c?(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"inline-block h-12 w-12 opacity-90",viewBox:"0 0 20 20",fill:"currentColor",children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zM7 8a1 1 0 012 0v4a1 1 0 11-2 0V8zm5-1a1 1 0 00-1 1v4a1 1 0 102 0V8a1 1 0 00-1-1z",clipRule:"evenodd"})}):(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"inline-block h-12 w-12 opacity-90",viewBox:"0 0 20 20",fill:"currentColor",children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM9.555 7.168A1 1 0 008 8v4a1 1 0 001.555.832l3-2a1 1 0 000-1.664l-3-2z",clipRule:"evenodd"})})]}),(0,a.jsxs)("div",{className:"flex flex-col truncate",children:[(0,a.jsx)("p",{className:"truncate text-xl font-black",children:n.title}),(0,a.jsx)("small",{className:"truncate text-base font-medium text-white/80",children:n.artist})]})]})]}):(0,a.jsx)(ea,{isSelf:i,firstName:t})}var ei=t(42167);let en=(0,C.PA)(function(e){let{avatar:l,displayName:t,email:r,count:o}
1=e,c=k.A.auth.user,[d]=(0,s.useState)((0,ei.cx)(10)),u={name:null==c?void 0:c.displayName,src:(null==c?void 0:c.photoURL)||"",email:null==c?void 0:c.email},x={name:t,email:r,src:l};return c?(0,a.jsxs)("div",{className:"relative flex h-full w-full flex-col overflow-hidden rounded-3xl bg-gradient-to-t from-purple-400 to-pink-200 p-6 text-white dark:from-purple-400/60 dark:to-pink-400/20",children:[(0,a.jsx)("div",{className:"absolute inset-0 flex h-44 w-full overflow-hidden",children:(0,a.jsxs)("div",{className:"flex h-full w-full rotate-6 flex-col gap-2.5",children:[(0,a.jsx)("div",{className:"flex gap-2.5",children:d.map((e,l)=>(0,a.jsx)(R.A,{className:"opacity-10 ring ring-black/20 grayscale dark:ring-white/10",size:40,...e?u:x},l))}),(0,a.jsx)("div",{className:"ml-[-18px] flex gap-2.5",children:d.map((e,l)=>{var t,s;return(0,a.jsx)(R.A,{className:S()({"opacity-10 ring ring-black/20 grayscale dark:ring-white/10":l<3||l>4,"ring ring-black/10 dark:ring-white/30":3===l||4===l}),size:40,...(t=l,s=e,3===t?u:4===t?x:s?x:u)},l)})}),(0,a.jsx)("div",{className:"flex gap-2.5",children:d.map((e,l)=>(0,a.jsx)(R.A,{className:"opacity-10 ring ring-black/20 grayscale dark:ring-white/10",size:40,...e?u:x},l))})]})}),(0,a.jsxs)("div",{className:"mt-auto flex flex-col gap-1",children:[(0,a.jsx)(i.N,{children:o&&(0,a.jsxs)(n.P.div,{className:"flex items-baseline gap-1",initial:{y:8,opacity:0},animate:{y:0,opacity:1},exit:{y:8,opacity:0},children:[(0,a.jsx)("p",{className:"text-4xl font-black",children:o}),(0,a.jsx)("p",{className:"text-xl font-medium",children:1===o?"time":"times"})]})}),(0,a.jsx)("small",{className:"mt-0.5 text-sm font-black uppercase leading-snug tracking-wider text-purple-100 dark:text-purple-200",children:"Together this year"})]})]}):null}),er=s.memo(function(e){let{isSelf:l,firstName:t}=e,{openModal:i}=(0,L.iR)(),n=(0,L.n9)(),r=l?"Let others know who you are on Twitter.":null===t?"Twitter account has not yet been linked.":"".concat(t," has not yet linked their Twitter account."),o=(0,s.useCallback)(()=>{n(q.x.Profile),i("Settings")},[i,n]);return(0,a.jsxs)("div",{className:S()("flex h-full w-full flex-col rounded-3xl bg-gradient-to-t p-6 dark:bg-gradient-to-b",{"from-twitter to-twitter/60 text-white":l,"from-white to-white dark:from-gray-600/10 dark:to-gray-800/40":!l}),children:[(0,a.jsx)("div",{className:S()("flex w-full justify-between",{"text-twitter":!l}),children:(0,a.jsx)(I,{className:"h-10 w-10"})}),(0,a.jsxs)("div",{className:"mt-auto flex w-full flex-col",children:[(0,a.jsx)("small",{className:S()("mb-0.5 text-sm font-black uppercase tracking-wider",{"text-white/60":l,"text-secondary":!l}),children:"Twitter"}),(0,a.jsx)("p",{className:S()("break-words text-xl font-black leading-tight",{"text-secondary":!l}),children:r}),l&&(0,a.jsx)(z.A,{onClick:o,className:"mt-4 flex w-full items-center justify-center rounded-full bg-white py-3 text-sm font-semibold text-twitter hover:bg-white/80",children:"Connect Twitter"})]})]})}),eo=s.memo(function(e){let{handle:l,firstName:t,isSelf:s}=e;return l?(0,a.jsxs)("a",{href:"https://twitter.com/".concat(l),rel:"noopener noreferrer",target:"_blank",className:"flex h-full w-full flex-col rounded-3xl bg-gradient-to-t from-twitter to-twitter/70 p-6 text-white dark:bg-gradient-to-b",children:[(0,a.jsx)("div",{className:"flex w-full justify-between",children:(0,a.jsx)(I,{className:"h-10 w-10"})}),(0,a.jsxs)("div",{className:"mt-auto flex w-full flex-col",children:[(0,a.jsx)("small",{className:"mb-0.5 text-sm font-black uppercase tracking-wider text-white/60",children:"Twitter"}),(0,a.jsxs)("p",{className:"text-xl font-black",children:["@",l]})]})]}):(0,a.jsx)(er,{firstName:t,isSelf:s})});var ec=t(76114),ed=t(56499),eu=t(15442),ex=t(86973);let ef=s.memo(function(e){let{email:l}=e,[t,r]=(0,s.useState)(!1),o=(0,ex.A)([l])[0],[c,d]=(0,s.useState)((null==o?void 0:o.notes)||""),u=(0,s.useRef)(null),x=()=>{var e,l;o&&(k.A.contacts.updateContact({id:o.id,notes:(null==(e=u.current)?void 0:e.value)||""}),(null==(l=u.current)?void 0:l.value)!==(null==o?void 0:o.notes)&&r(!0))};return(0,s.useEffect)(()=>{"string"==typeof(null==o?void 0:o.notes)&&d(null==o?void 0:o.notes)},[null==o?void 0:o.notes]),(0,s.useEffect)(()=>{t&&setTimeout(()=>r(!1),3e3)},[t]),(0,a.jsxs)(z.A,{as:"div",onClick:()=>{var e;return null==(e=u.current)?void 0:e.focus()},className:"relative flex h-full w-full cursor-pointer flex-col overflow-hidden rounded-3xl bg-gradient-to-t from-yellow-300 to-yellow-200 text-white dark:from-yellow-500 dark:to-yellow-400",children:[(0,a.jsxs)("div",{className:"flex w-full flex-col",children:[(0,a.jsx)("div",{className:"flex h-12 w-full items-center justify-center bg-white/80",children:(0,a.jsx)(i.N,{initial:!1,children:t?(0,a.jsxs)(n.P.div,{initial:{y:4,opacity:0}
1,animate:{y:0,opacity:1,transition:{delay:.16}},exit:{y:4,opacity:0},className:"absolute flex items-center gap-1",transition:{duration:.12},children:[(0,a.jsx)("small",{className:"text-sm font-black uppercase leading-snug tracking-wider text-yellow-800/50",children:"Saved"}),(0,a.jsx)(ed.A,{className:"h-4 w-4 text-yellow-800/30"})]},"saved"):(0,a.jsxs)(n.P.div,{initial:{y:-4,opacity:0},animate:{y:0,opacity:1,transition:{delay:.16}},exit:{y:-4,opacity:0},className:"flex items-center gap-1",transition:{duration:.12},children:[(0,a.jsx)("small",{className:"text-sm font-black uppercase leading-snug tracking-wider text-yellow-800/50",children:"Note"}),(0,a.jsx)(ec.A,{content:"Notes are only visible to you",children:(0,a.jsx)("small",{className:"text-yellow-800/30",children:(0,a.jsx)(eu.A,{className:"h-4 w-4"})})})]},"notes")})}),(0,a.jsx)("div",{className:"h-0.5 w-full bg-black/5"}),(0,a.jsx)("div",{className:"mt-3 h-0.5 w-full bg-black/5"})]}),(0,a.jsx)("div",{className:"flex w-full flex-grow",children:(0,a.jsx)("textarea",{ref:u,className:"w-full resize-none border-0 bg-transparent px-6 py-4 text-xl text-yellow-800 placeholder-yellow-800/50 outline-none selection:bg-yellow-800/20",onChange:e=>d(e.target.value),onKeyDown:e=>{13===e.keyCode&&(e.preventDefault(),x())},onBlur:x,spellCheck:!1,placeholder:"Keep a note for yourself",maxLength:120,value:c,wrap:"hard"})})]})}),em=(0,C.PA)(function(e){var l;let{email:t,overlay:s=!1}=e,i=null==(l=k.A.auth.user)?void 0:l.email,n=(0,m.Ay)(t),r=(0,p.md)(w(t)),o=i===t,c=!(0,E.DW)(i||"",t),{date:d,isSuggested:u}=(0,x.Ay)(t),{setDate:f}=(0,x.Ci)(t),h=(null==n?void 0:n.firstName)===null?null:"".concat((null==n?void 0:n.firstName)||""," ").concat((null==n?void 0:n.lastName)||"");return n?(0,a.jsx)("div",{role:"presentation",onClick:e=>e.stopPropagation(),className:S()("flex w-full flex-col items-center",{"pointer-events-none":s,"min-h-full overflow-y-auto pb-20 pt-12":!s}),children:(0,a.jsxs)("div",{className:"flex w-full max-w-4xl flex-col px-6",children:[(0,a.jsx)(D,{contactId:n.contactId,isSelf:o,isExternalUser:c,avatar:n.photoUrl||"",displayName:h,email:n.email,handle:n.handle,birthday:d,twitter:n.twitter||void 0,location:n.lastLocation||void 0,favoriteAt:n.favoriteSince,verified:"string"==typeof n.verifiedAt}),(0,a.jsxs)(V,{children:[!o&&(0,a.jsx)(H,{children:(0,a.jsx)(en,{avatar:n.photoUrl||"",displayName:h,email:t,count:(null==r?void 0:r.numberOfTimesMeet)||0})}),(0,a.jsx)(H,{children:(0,a.jsx)(F.A,{date:d,isSelf:o,isSuggested:u,setDate:f})}),(0,a.jsx)(H,{children:(0,a.jsx)(ef,{email:n.email},n.id)}),(0,a.jsx)(H,{span:2,children:(0,a.jsx)(W,{isSelf:o,displayName:h,avatar:n.photoUrl,location:n.lastLocation||null,email:n.email})}),r&&!o&&(0,a.jsx)(H,{children:(0,a.jsx)(ee,{firstName:n.firstName,contactId:n.contactId})}),(0,a.jsx)(H,{clickable:"string"==typeof n.twitter,children:(0,a.jsx)(eo,{isSelf:o,firstName:n.firstName||null,handle:n.twitter||void 0})}),(0,a.jsx)(H,{children:(0,a.jsx)(es,{isSelf:o,firstName:n.firstName||null,email:n.email})})]})]})}):null}),eh=s.memo(function(){let e=(0,h.y)(),l=!!e,{setIsScaled:t}=(0,f.A)();return(0,j.A)({scope:"profile",isEnabled:l}),(0,N.vC)("escape",ep,{enabled:l,scopes:"profile"}),(0,s.useEffect)(()=>{l&&t(l)},[l,t]),(0,a.jsx)(i.N,{onExitComplete:()=>t(!1),children:l&&(0,a.jsx)(c.b,{asChild:!0,children:(0,a.jsxs)(d.A,{children:[(0,a.jsx)(m.Bp,{email:e}),(0,a.jsx)(g,{email:e}),(0,a.jsx)(x.xt,{email:e}),(0,a.jsx)("div",{className:"fixed right-8 top-8 z-20",children:(0,a.jsx)(u.A,{close:ep,size:"large"})}),(0,a.jsxs)(n.P.div,{initial:{opacity:0,y:8,scale:1},animate:{opacity:1,y:0,scale:1,transition:{delay:.16,ease:"easeInOut"}},exit:{opacity:0,y:8,scale:.98},transition:{ease:"easeInOut"},className:"relative z-10 h-full w-full overflow-y-auto",onClick:ep,children:[(0,a.jsx)("div",{className:"flex h-12 w-full shrink-0"}),(0,a.jsx)(em,{overlay:!0,email:e}),(0,a.jsx)("div",{className:"flex h-12 w-full shrink-0"})]})]})})})});function ep(){o().push(b.YW.Root,void 0,{shallow:!0})}},64081:(e,l,t)=>{t.d(l,{A:()=>s});var a=t(37876);function s(e){let{height:l=16,width:t=16,className:s}=e;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:l,className:s,viewBox:"0 0 20 20",fill:"currentColor",children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M6.267 3.455a3.066 3.066 0 001.745-.723 3.066 3.066 0 013.976 0 3.066 3.066 0 001.745.723 3.066 3.066 0 012.812 2.812c.051.643.304 1.254.723 1.745a3.066 3.066 0 010 3.976 3.066 3.066 0 00-.723 1.745 3.066 3.066 0 01-2.812 2.812 3.066 3.066 0 00-1.745.723 3.066 3.066 0 01-3.976 0 3.066 3.066 0 00-1.745-.723 3.066 3.066 0 01-2.812-2.812 3.066 3.066 0 00-.723-1.745 3.066 3.066 0 010-3.976 3.066 3.066 0 00.723-1.745 3.066 3.066 0 012.812-2.812zm7.44 5.252a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})})}t(14232)}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.