| 1/19/2026, 6:03:31 PM | error | 127 ms | e51a58f5-b724-4707-8968-35eabf536b66 |
Invalid `a=JSON.stringify(r),i=w2.default.createHmac("sha256",t).update()` invocation in
/var/task/index.js:4312:15727
4309 </body>
4310 </html>
4311
ā 4312 `);return(0,_2.jsx)(T,{preheader:bK,showFooter:!1,children:(0,_2.jsx)("div",{dangerouslySetInnerHTML:{__html:t}})})}var Fm=w(q());function yc({name:e,workspaceName:t,loginLink:r}){let a=`${t??"A workspace"} has invited you`;return(0,Fm.jsxs)(T,{preheader:a,title:a,subtitle:"You can switch to this workspace anytime from settings.",showHeader:!0,cta:{href:r||"https://my.trackstack.app",label:"Open Inbox"},children:[e?(0,Fm.jsxs)("p",{style:{marginTop:0},children:["Hi ",e,","]}):null,(0,Fm.jsxs)("p",{style:{marginTop:e?0:void 0},children:["You now have access to ",t?`\u201C${t}\u201D`:"this workspace","."]})]})}var wc=w(q());function qc({name:e,email:t,tempPassword:r,workspaceName:a,loginLink:i}){let o=`${a??"A workspace"} has invited you`;return(0,wc.jsxs)(T,{preheader:o,title:o,subtitle:"Use the credentials below to sign in and get started.",showHeader:!0,cta:{href:i||"https://my.trackstack.app",label:"Open Inbox"},children:[e?(0,wc.jsxs)("p",{style:{marginTop:0},children:["Hi ",e,","]}):null,(0,wc.jsx)("p",{style:{marginTop:e?0:void 0},children:"Login with your email to access your workspace."})]})}var Ee=w(q()),_K="Your new Inbox awaits";function kc({workspaceName:e,name:t,loginLink:r}){let a="Workspace activated",i=e?`${e} is activated and ready to use.`:"Your workspace is ready to use.";return(0,Ee.jsxs)(T,{preheader:_K,title:a,subtitle:i,showHeader:!0,cta:r?{href:r,label:"Open your workspace"}:void 0,children:[t?(0,Ee.jsxs)("p",{style:{marginTop:0},children:["Hi ",t,","]}):null,(0,Ee.jsx)("p",{style:{marginTop:t?0:void 0},children:"Here are a few quick ways to get started:"}),(0,Ee.jsxs)("ul",{style:{paddingLeft:20,marginTop:8,marginBottom:16,color:"#374151"},children:[(0,Ee.jsx)("li",{children:"Activate your Inbox to start receiving tracks"}),(0,Ee.jsx)("li",{children:"Create stacks to organise supported tracks"}),(0,Ee.jsx)("li",{children:"Upload tracks and share with private or public links"}),(0,Ee.jsxs)("li",{children:["Download the desktop app for faster review \u2014"," ",(0,Ee.jsx)("a",{href:"https://www.trackstack.app/download",target:"_blank",rel:"noreferrer",style:{color:"#2754C5"},children:"trackstack.app/download"})]})]}),(0,Ee.jsxs)("p",{style:{color:"#6b7280"},children:["Need help? Contact support at"," ",(0,Ee.jsx)("a",{href:"mailto:support@trackstack.app",target:"_blank",rel:"noreferrer",style:{color:"#2754C5"},children:"support@trackstack.app"}),"."]})]})}var ht=w(q()),xK="Your Flow Inbox Pro membership \u2014 next steps";function Pc(e){return(0,ht.jsxs)(T,{preheader:xK,title:"Your membership has been cancelled",subtitle:"Thanks for giving Trackstack a try \u2014 here are a few options.",showHeader:!0,cta:{href:"https://inbox.trackstack.app",label:"Re-activate Pro"},children:[(0,ht.jsxs)("ul",{style:{paddingLeft:20,marginTop:8,marginBottom:16,color:"#374151"},children:[(0,ht.jsx)("li",{children:"Keep sending to public Inboxes \u2014 that remains free."}),(0,ht.jsx)("li",{children:"Upload up to 48 tracks and share them public or privately to anyone"}),(0,ht.jsx)("li",{children:"Export contacts and history anytime \u2014 we\u2019ll help."})]}),(0,ht.jsxs)("p",{style:{color:"#6b7280"},children:["Questions or feedback? Email"," ",(0,ht.jsx)("a",{href:"mailto:support@trackstack.app",target:"_blank",rel:"noreferrer",style:{color:"#2754C5"},children:"support@trackstack.app"}),"."]})]})}var Am=w(q()),yK="[important] Your new Inbox awaits";function Oc({name:e,email:t,tempPassword:r,loginLink:a}){return(0,Am.jsx)(T,{preheader:yK,title:"Welcome to Trackstack \u2014 Your Inbox is ready",subtitle:"Login with your email to access your workspace.",showHeader:!0,cta:a?{href:a,label:"Sign in"}:void 0,children:e?(0,Am.jsxs)("p",{style:{marginTop:0},children:["Hi ",e,","]}):null})}var bt=w(q());function Tc({name:e,organisationName:t,inviterName:r,loginLink:a,preheader:i,title:o,subtitle:n}){let s=o??`Join ${t}`,c=n??(r?`${r} invited you to ${t} on Trackstack.`:`You have been invited to ${t} on Trackstack.`);return(0,bt.jsxs)(T,{preheader:i??`${t}: Invitation`,title:s,subtitle:c,showHeader:!0,cta:a?{href:a,label:"Accept invitation"}:void 0,children:[e?(0,bt.jsxs)("p",{style:{marginTop:0},children:["Hi ",e,","]}):null,(0,bt.jsxs)("p",{style:{marginTop:e?0:void 0},children:["You now have access to the organisation workspace",t?` \u201C${t}\u201D`:"","."]}),a?(0,bt.jsxs)("p",{style:{color:"#6b7280"},children:["If the button above doesn\\'t work, copy and paste this link into your browser:",(0,bt.jsx)("br",{}),(0,bt.jsx)("a",{href:a,target:"_blank",rel:"noreferrer",style:{color:"#2754C5"},children:a})]}):null,(0,bt.jsx)("p",{style:{color:"#6b7280"},children:"If you didn\\'t expect this, you can safely ignore this email."})]})}var Dc=w(q());function Mc(e){return(0,Dc.jsxs)(T,{title:"You're invited to Trackstack Plus",subtitle:"Join your workspace with premium features.",children:[(0,Dc.jsx)("p",{style:{marginTop:0},children:"Your workspace admin has invited you to Trackstack Plus."}),(0,Dc.jsx)("p",{children:"Follow the link in the app to get started."})]})}var Cc=w(q());function Sc(e){return(0,Cc.jsxs)(T,{title:"You're invited to Trackstack Plus Lite",subtitle:"Join your workspace with lite premium features.",children:[(0,Cc.jsx)("p",{style:{marginTop:0},children:"Your workspace admin has invited you to Trackstack Plus Lite."}),(0,Cc.jsx)("p",{children:"Follow the link in the app to get started."})]})}var Ec=w(q());function Rc(e){return(0,Ec.jsxs)(T,{title:"You've been invited to a Space",subtitle:"Access shared content and collaborate.",children:[(0,Ec.jsx)("p",{style:{marginTop:0},children:"You have been invited to join a Space on Trackstack."}),(0,Ec.jsx)("p",{children:"Open the invitation link in the app to proceed."})]})}var $a=w(q()),wK=e=>{if(!e)return;let t=e instanceof Date?e:new Date(e);if(!Number.isNaN(t.getTime()))return t.toLocaleDateString("en-GB",{year:"numeric",month:"short",day:"numeric"})};function Ic({studioName:e,planName:t,trialEndsAt:r,billingLink:a,preheader:i,title:o,subtitle:n,cta:s}){let c=o??"Your trial ends soon",v=n??`Your ${e??"Studio"} trial will end in 24 hours.`,h=wK(r);return(0,$a.jsxs)(T,{preheader:i??"Trial ending in 24 hours",title:c,subtitle:v,showHeader:!0,cta:s||(a?{href:a,label:"Review billing"}:void 0),children:[(0,$a.jsxs)("p",{style:{marginTop:0},children:["This is a quick reminder that your trial for"," ",t??"your current plan"," will convert to a paid subscription in 24 hours."]}),h?(0,$a.jsxs)("p",{style:{marginTop:0},children:["Trial end date: ",h]}):null,(0,$a.jsx)("p",{style:{marginTop:0},children:"If you want to make changes to your plan or cancel before billing starts, you can do so from your billing settings."})]})}var _t=w(q());function Nm(e){let{trackTitle:t="your track",downloaderName:r="An inbox",trackUrl:a,inboxName:i}=e;return(0,_t.jsxs)(T,{preheader:`${r} downloaded ${t} on Spotlight`,children:[(0,_t.jsxs)("h1",{style:{fontSize:20,fontWeight:700,margin:"24px 0"},children:[r," downloaded ",t]}),i&&(0,_t.jsxs)("p",{style:{margin:"12px 0",color:"#56585D"},children:["From inbox: ",(0,_t.jsx)("strong",{children:i})]}),a&&(0,_t.jsx)("p",{style:{margin:"12px 0"},children:(0,_t.jsx)("a",{href:a,target:"_blank",rel:"noreferrer",children:"View on Spotlight"})}),(0,_t.jsx)("p",{style:{margin:"24px 0",color:"#6E7074",fontSize:12},children:"Trackstack Spotlight"})]})}var Ir=w(q()),qK="Your login code";function Wm({otpCode:e,code:t,loginLink:r,appName:a="Trackstack",preheader:i,title:o,subtitle:n}){let s=o??"Sign in",c=n??`Use this code to log in to ${a}.`,v=t??e;return(0,Ir.jsxs)(T,{preheader:i??`${a}: ${qK}`,title:s,subtitle:c,showHeader:!0,showFooter:!1,children:[r?(0,Ir.jsx)("a",{href:r,target:"_blank",rel:"noreferrer",style:{color:"#2754C5",textDecoration:"underline",display:"block",marginBottom:16},children:"Click here to log in with this link"}):null,(0,Ir.jsx)("p",{style:{color:"#333",marginTop:0,marginBottom:14},children:"copy and paste this temporary login code:"}),(0,Ir.jsx)("code",{style:{display:"inline-block",padding:"16px 4.5%",width:"90.5%",backgroundColor:S.grunge5,borderRadius:4,border:`1px solid ${S.grunge20}`,color:"#333",fontFamily:"NextPan, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",fontSize:16},children:v}),(0,Ir.jsx)("p",{style:{color:"#ababab",marginTop:14,marginBottom:16},children:"If you didn\u2019t try to log in, you can safely ignore this email."})]})}var Ie=w(q()),kK="Your Personal Support Guide";function Ym({workspaceName:e,preheader:t,title:r,subtitle:a}){return(0,Ie.jsxs)(T,{preheader:t??kK,title:r??"Your Personal Support Guide",subtitle:a??"I\u2019m here to help you make the most of Trackstack.",showHeader:!1,showFooter:!1,children:[(0,Ie.jsxs)("p",{style:{color:S.grunge60,marginTop:0,marginBottom:16},children:["Hi there",e?` at ${e}`:"",","]}),(0,Ie.jsx)("p",{style:{color:S.grunge60,marginTop:0,marginBottom:16},children:"I'm Rowen Clarke, and I'm here to help you make the most of your time on Trackstack."}),(0,Ie.jsx)("p",{style:{color:S.grunge60,marginTop:0,marginBottom:16},children:"We built Trackstack to help artists move their electronic music career forward."}),(0,Ie.jsx)("p",{style:{color:S.grunge60,marginTop:0,marginBottom:16},children:"If you have any questions, just reply to this email. It comes directly to me, and I'll help you personally."}),(0,Ie.jsx)("p",{style:{color:S.grunge60,marginTop:0,marginBottom:16},children:"We're committed to helping artists succeed, and I'm here to make sure you get the most from Trackstack."}),(0,Ie.jsxs)("p",{style:{color:S.grunge60,marginTop:0,marginBottom:16},children:["Rowan Clarke",(0,Ie.jsx)("br",{}),"Customer Success | Trackstack"]}),(0,Ie.jsxs)("p",{style:{color:S.grunge60,marginTop:0,marginBottom:0},children:["P.S. Need onboarding support?"," ",(0,Ie.jsx)("a",{href:"mailto:rowen@trackstack.app?subject=Career%20Goal%20Call&body=Hi%20I%20would%20like%20to%20chat%20about%20my%20career%20goals%20on%20Trackstack",style:{color:"#2754C5",textDecoration:"underline"},children:"Book a quick call with me"})]})]})}var Qa=w(q()),PK="Your login code";function Lm({pin:e,preheader:t,title:r,subtitle:a}){let i=r??"Verify your account",o=a??"Use this pin to verify your account.";return(0,Qa.jsxs)(T,{preheader:t??`Trackstack: ${PK}`,title:i,subtitle:o,showHeader:!0,showFooter:!1,children:[(0,Qa.jsx)("p",{style:{color:"#333",marginTop:0,marginBottom:14},children:"copy and paste this pin to verify your account:"}),(0,Qa.jsx)("code",{style:{display:"inline-block",padding:"16px 4.5%",width:"90.5%",backgroundColor:S.grunge5,borderRadius:4,border:`1px solid ${S.grunge20}`,color:"#333",fontFamily:"NextPan, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",fontSize:16},children:e}),(0,Qa.jsx)("p",{style:{color:"#ababab",marginTop:14,marginBottom:16},children:"If you didn\u2019t try to verify your account, you can safely ignore this email."})]})}var Va=w(q()),OK=()=>(0,Va.jsxs)(Ba,{lang:"en",children:[(0,Va.jsx)(Sr,{children:"Some title"}),(0,Va.jsx)(Cm,{}),(0,Va.jsx)(Tm,{href:"https://example.com",children:"Click me"})]}),x2=OK;var are={["submission-receipt"]:fc,["submission-received"]:pc,["submission-review-complete"]:vc,["submission-track-moved"]:ec,["submission-track-release-confirmed"]:ic,["submission-track-shortlisted"]:nc,["submission-track-supported"]:hc,["user-pin"]:Lm,["workspace-invite"]:Oc,["user-workspace-invite"]:qc,["user-existing-workspace-invite"]:yc,["workspace-activated"]:kc,["organisation-invite"]:Tc,["inbox-activated"]:Jd,["submission-track-comment-added"]:gc,["track-master-receipt"]:Zd,["track-video-download"]:xc,["track-sharing-invite"]:_c,["spotlight-download"]:Nm,["workspace-inbox-cancelled"]:Pc,["customer-success-check-in"]:Ym,["new-feature"]:tc,["organisation-workspace-activated"]:ac,["plus-workspace-invite"]:Mc,["plus-lite-workspace-invite"]:Sc,["space-user-invite"]:Rc,["studio-new-post"]:cc,["user-otp"]:Wm,["admin-sign-in"]:Vd,["studio-admin-sign-in"]:oc,["track-feedback-owner-received"]:lc,["track-feedback-submitter-received"]:dc,["track-feedback-coach-assigned"]:uc,["track-feedback-submitter-coach-assigned"]:sc,["admin-studio-invite"]:Gd,["admin-workspace-invite"]:Xd,["admin-organisation-invite"]:rc,["admin-workspace-user-invite"]:Kd,["elevate-waitlist-confirmation"]:Im,["studio-waitlist-confirmation"]:jm,["studio-trial-ending"]:Ic,["test-basic"]:x2};var MK=require("@prisma/client");async function Bm({to:e,templateAlias:t,data:r,from:a,subject:i}){await Wa({serviceName:"notifications",events:[{Detail:JSON.stringify({input:{to:e,templateAlias:t,data:r,from:a,subject:i}}),Source:"notifications.sendEmail"}]})}var w2=w(require("crypto")),jc=require("@aws-sdk/client-cloudwatch"),SK=new jc.CloudWatchClient({}),Hm=async(e,t,r,a)=>{try{let i=[{Name:"JobName",Value:e},...t?[{Name:"Env",Value:String(t)}]:[],{Name:"Status",Value:r}],o=t?[{Name:"Env",Value:String(t)}]:[],n=[{MetricName:"Runs",Dimensions:i,Timestamp:new Date,Unit:"Count",Value:1},{MetricName:"RunsAll",Dimensions:o,Timestamp:new Date,Unit:"Count",Value:1},...typeof a=="number"?[{MetricName:"DurationMs",Dimensions:i.filter(s=>s.Name!=="Status"),Timestamp:new Date,Unit:"Milliseconds",Value:a},{MetricName:"DurationMsAll",Dimensions:o,Timestamp:new Date,Unit:"Milliseconds",Value:a}]:[],...r==="success"?[{MetricName:"Successes",Dimensions:i.filter(s=>s.Name!=="Status"),Timestamp:new Date,Unit:"Count",Value:1},{MetricName:"SuccessesAll",Dimensions:o,Timestamp:new Date,Unit:"Count",Value:1}]:[],...r==="error"?[{MetricName:"Failures",Dimensions:i.filter(s=>s.Name!=="Status"),Timestamp:new Date,Unit:"Count",Value:1},{MetricName:"FailuresAll",Dimensions:o,Timestamp:new Date,Unit:"Count",Value:1}]:[]];await SK.send(new jc.PutMetricDataCommand({Namespace:"ScheduledJobs",MetricData:n}))}catch(i){console.warn("Ops tracker CW metrics failed",i?.message)}},Um=async(e,t,r)=>{try{let a=JSON.stringify(r),i=w2.default.createHmac("sha256",t).update(
Too many database connections opened: FATAL: remaining connection slots are reserved for non-replication superuser connections |