PageSourceSearch

https://dot.cards/_next/static/chunks/pages/plus-47fd9e598c4f040f.js

js dot.cards collected 2026-10-09 22:18:54 UTC 11,197 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6c60bc96-5665-4260-a53b-6e0562004db0",e._sentryDebugIdIdentifier="sentry-dbid-6c60bc96-5665-4260-a53b-6e0562004db0")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5456],{3690:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i=n(37876);let s=function(e){let{style:t={},width:n=12,height:s=13,fill:a="#9EA5AF"}=e;return(0,i.jsx)("svg",{style:t,width:n,height:s,viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M4.125 3.875V5H7.875V3.875C7.85938 3.34375 7.67969 2.89844 7.33594 2.53906C6.97656 2.19531 6.53125 2.01562 6 2C5.46875 2.01562 5.02344 2.19531 4.66406 2.53906C4.32031 2.89844 4.14062 3.34375 4.125 3.875ZM2.625 5V3.875C2.65625 2.92188 2.98438 2.125 3.60938 1.48438C4.25 0.859375 5.04688 0.53125 6 0.5C6.95312 0.53125 7.75 0.859375 8.39062 1.48438C9.01562 2.125 9.34375 2.92188 9.375 3.875V5H9.75C10.1719 5.01562 10.5234 5.16406 10.8047 5.44531C11.0859 5.72656 11.2344 6.07812 11.25 6.5V11C11.2344 11.4219 11.0859 11.7734 10.8047 12.0547C10.5234 12.3359 10.1719 12.4844 9.75 12.5H2.25C1.82812 12.4844 1.47656 12.3359 1.19531 12.0547C0.914062 11.7734 0.765625 11.4219 0.75 11V6.5C0.765625 6.07812 0.914062 5.72656 1.19531 5.44531C1.47656 5.16406 1.82812 5.01562 2.25 5H2.625Z",fill:a})})}},38109:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>X});var i=n(37876),s=n(85278),a=n(89099),r=n(14232),l=n(78314),c=n(20381),o=n(31428),d=n(75520),u=n(51726),p=n(55896),h=n(79290),x=n(72671),f=n(81697),g=n(64333),w=n(87856),j=n(91362),y=n(33234),m=n(471),b=n(45377);let C=w.default.div.withConfig({componentId:"sc-5c62cd61-0"})(["display:flex;align-items:center;justify-content:center;width:24px;height:24px;background:rgba(90,105,229,0.2);border-radius:50%;"]),v=(0,w.default)(m.E).withConfig({componentId:"sc-5c62cd61-1"})(["strong{color:var(--b100-text-color);}width:90%;"]),$=function(e){let{frequency:t,trialEnd:n}=e,s=(0,a.useRouter)(),r=!1;n&&(r=new Date(n)>new Date);let l="annual"!==t&&!r;return(0,i.jsx)(j.Ay,{$padding:"20px",as:l?"button":void 0,onClick:l?()=>{s.push("/plus/choose-plan")}:void 0,children:(0,i.jsxs)(x.s,{$justify:"space-between",children:[(0,i.jsxs)(x.s,{$column:!0,$align:"start",$gap:8,$width:"95%",children:[(0,i.jsxs)(x.s,{children:[(0,i.jsx)(C,{children:(0,i.jsx)(b.Lp,{fill:"rgb(90, 105, 229)"})}),(0,i.jsx)(j.Ay.Heading,{$fontWeight:"700",children:l?"Save 20% on Your Subscription":"Welcome to Plus!"})]}),(0,i.jsx)(v,{$size:100,$color:"var(--b300-text-color)",$spacing:"normal",children:l?(0,i.jsxs)(i.Fragment,{children:["Upgrade to the annual plan for ",(0,i.jsx)("strong",{children:"dot.Profile+"})," and save today."]}):(0,i.jsxs)(i.Fragment,{children:["Congratulations! Your ",(0,i.jsx)("strong",{children:"dot.Profile+"})," was successfully activated. Try all new features."]})})]}),l&&(0,i.jsx)(y.default,{})]})})};var A=n(88215),E=n(17064),D=n(48230),I=n.n(D),T=n(92332),k=n(14940),L=n(83239),S=n(19642),_=n(55086),P=n(27400),O=n(13738),M=n(72972);let F=(0,w.default)(_.$).withConfig({componentId:"sc-e09abad6-0"})(["height:48px;background:var(--plus-purple);color:var(--bright-50);margin-top:20px;box-shadow:0px 12.93px 20px 0px rgba(110,135,171,0.15),0px 2px 0px 0px #313ea8;"]),N=function(e){let t,{status:n,renewDate:a,frequency:r,trialEnd:l,trialStart:c,subscriptionId:o}=e,d=(0,s.Xr)(S.Q),{mutateAsync:u}=(0,k.Hr)(),p=(0,A.c9)(o),h=async()=>{if(p)try{let e=await u({subscription_id:o});window.location.href=e.data.session.url}catch(e){}},f=(0,E.A)(new Date(a),"MM/dd/yy"),g=c&&(0,E.A)(new Date(c),"MM/dd/yy"),w=!1;if(l){let e=Date.now(),n=new Date(l).getTime();if(w=n>e){let i=n-e;if(i>=864e5){let e=Math.ceil(i/864e5);if(c){let t=Math.max(1,Math.round((n-new Date(c).getTime())/864e5));e>t&&(e=t)}else e=Math.ceil((i-Math.min(36e5,i))/864e5);t="".concat(e," day").concat(e>1?"s":"")}else t=(0,L.A)(l)}}return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(I(),{href:"/plus/manage",onClick:e=>{p||(e.preventDefault(),d({type:"add",notification:T.DP}))},children:(0,i.jsx)(j.Ay,{$padding:"16px",children:(0,i.jsxs)(x.s,{$justify:"space-between",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)(M.A,{status:n}),(0,i.jsx)(O.D,{$size:200,$weight:700,$margin:"6px 0 4px",children:r.charAt(0).toUpperCase()+r.slice(1)}),"active"===n&&(0,i.jsx)(m.E,{$size:100,$spacing:"normal",$color:"var(--w-100)",children:w?"Starting Date ".concat(g," \xb7 ").concat(t," left"):"Plan renews ".concat(f)}),"canceled"===n&&w&&(0,i.jsx)(m.E,{$size:100,$spacing:"normal",$color:"var(--w-100)",children:"".concat(t," left")}),"payment failed"===n&&(0,i.jsx)(m.E,{$size:100,$spacing:"normal",$color:"var(--w-100)",children:"Expired"})]}),(0,i.jsx)(y.default,{})]})})}),"payment failed"===n&&p&&(0,i.jsxs)(x.s,{$gap:6,$justify:"end",$margin:"18px 0 10px",children:[(0,i.jsx)("button",{onClick:h,children:(0,i.jsx)(m.E,{$size:100,$weight:700,$spacing:"normal",children:"Update Payment"})}),(0,i.jsx)(P.default,{})]}),"canceled"===n&&(0,i.jsx)(I(),{href:"/plus/choose-plan",legacyBehavior:!0,passHref:!0,children:(0,i.jsx)(F,{as:"a",children:"Renew Subscription"})})]})};var R=n(74778),z=n(3690);let B=function(){return(0,i.jsx)(j.Ay,{$padding:"16px",children:(0,i.jsxs)(x.s,{$justify:"space-between",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)(M.A,{status:"active"}),(0,i.jsx)(O.D,{$size:200,$weight:700,$margin:"6px 0 4px",children:"Teams"})]}),(0,i.jsx)(z.A,{style:{marginRight:"5px"}})]})})},H={active:"QUICK ACTIONS WITH PLUS","payment failed":"DON'T LOSE YOUR DOT.PROFILE+ BENEFITS",cancelled:"DON'T MISS OUT ON DOT.PROFILE+"}
1,U=function(e){let{subscription:{id:t,renewal_period:n,status:s,valid_until:w,trial_date_end:j,trial_date_start:y,type:m,stripe_subscription_id:b}}=e,{query:C}=(0,a.useRouter)();return(0,r.useEffect)(()=>{if(C.paywallsource){let e=R.G.find(e=>e.paywallsource===C.paywallsource);e&&l.Ay.show(u.A,{buttonLink:e.url,heading:e.heading,text:e.text,stripeSubscriptionId:b,subscriptionStatus:s,imagePath:e.modalImagePath,background:e.background,altText:e.altText})}},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(c.A,{leftRoute:"/account/settings",showLogo:!1,leftIcon:(0,i.jsx)(p.default,{}),renderTitle:(0,i.jsx)(o.A,{type:"profile",height:"23"}),renderRight:(0,i.jsx)(h.A,{})}),(0,i.jsxs)(g.nB,{children:["active"===s&&"teams"!==m&&(0,i.jsx)($,{frequency:n,trialEnd:j}),(0,i.jsxs)(d.Ay,{$margin:"30px 0",children:[(0,i.jsx)(d.Ay.Title,{children:"Your Subscription"}),"teams"===m?(0,i.jsx)(B,{}):(0,i.jsx)(N,{frequency:n,status:s,renewDate:w,trialEnd:j,trialStart:y,subscriptionId:b})]}),(0,i.jsxs)(d.Ay,{children:[(0,i.jsx)(d.Ay.Title,{children:H[s]}),(0,i.jsx)(x.s,{$column:!0,$gap:10,children:R.G.map(e=>{let{heading:t,text:n,icon:a,color:r,imagePath:c,modalImagePath:o,url:d,background:p,altBackground:h,altText:x}=e;return(0,i.jsx)(f.A,{heading:t,icon:a,color:r,background:null!=h?h:p,imagePath:"canceled"===s?c:void 0,handleClick:()=>l.Ay.show(u.A,{buttonLink:d,heading:t,text:n,stripeSubscriptionId:b,subscriptionStatus:s,imagePath:o,background:p,altText:x})},t)})})]})]})]})};var V=n(14107),q=n(82540),W=n(70701);function X(){let[e,t]=(0,s.fp)(V.c),[n,l]=(0,r.useState)(!1),c=(0,W.A)(null,()=>l(!0)),o=(0,s.Xr)(V.v),d=(0,a.useRouter)(),{plantype:u}=d.query,{isLoading:p,data:h}=(0,q.A)({refetchOnWindowFocus:!1,retry:!1});return((0,r.useEffect)(()=>{h&&(o(h),h.subscription||d.push({pathname:"/plus/features",query:u?{plantype:u}:void 0}),t(!1))},[h,o,d,u,t]),(0,r.useEffect)(()=>{n&&!c.currentUser&&d.push({pathname:"/plus/features",query:u?{plantype:u}:void 0})},[n]),(p||!n)&&t(!0),!e&&h&&h.subscription)?(0,i.jsx)(U,{subscription:h.subscription}):null}},72972:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(37876),s=n(87856),a=n(45116);let r=s.default.div.withConfig({componentId:"sc-6ad354a6-0"})(["",""],e=>{let{$color:t}=e;return(0,s.css)(["display:inline-flex;align-items:center;padding:4px 6px;background:rgba(",",0.1);border-radius:60px;gap:6px;p{color:rgb(",");text-transform:uppercase;font-size:10px;font-weight:600;letter-spacing:-0.2px;}"],t,t)}),l={active:"116, 214, 116",inactive:"106, 124, 139",paid:"116, 214, 116","payment failed":"236, 113, 75",canceled:"106, 124, 139",expired:"226, 59, 77"},c={active:(0,i.jsx)(a.default,{width:12,height:12}),inactive:null,paid:null,"payment failed":(0,i.jsx)(function(){return(0,i.jsxs)("svg",{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("rect",{y:"0.5",width:"12",height:"12",rx:"6",fill:"#E23B4D"}),(0,i.jsx)("path",{d:"M8.37693 4.12307C8.45573 4.20187 8.5 4.30875 8.5 4.42019C8.5 4.53163 8.45573 4.6385 8.37693 4.7173L6.59423 6.5L8.37693 8.2827C8.45573 8.3615 8.5 8.46837 8.5 8.57981C8.5 8.69125 8.45573 8.79813 8.37693 8.87693C8.29813 8.95573 8.19125 9 8.07981 9C7.96837 9 7.8615 8.95573 7.7827 8.87693L6 7.09423L4.2173 8.87693C4.1385 8.95573 4.03163 9 3.92019 9C3.80875 9 3.70187 8.95573 3.62307 8.87693C3.54427 8.79813 3.5 8.69125 3.5 8.57981C3.5 8.46837 3.54427 8.3615 3.62307 8.2827L5.40577 6.5L3.62307 4.7173C3.54427 4.6385 3.5 4.53163 3.5 4.42019C3.5 4.30875 3.54427 4.20187 3.62307 4.12307C3.70187 4.04427 3.80875 4 3.92019 4C4.03163 4 4.1385 4.04427 4.2173 4.12307L6 5.90577L7.7827 4.12307C7.8615 4.04427 7.96837 4 8.07981 4C8.19125 4 8.29813 4.04427 8.37693 4.12307Z",fill:"#FCEBED"})]})},{}),canceled:null,expired:null},o=function(e){let{status:t}=e;return(0,i.jsxs)(r,{$color:l[t],children:[c[t],(0,i.jsx)("p",{children:"canceled"===t?"cancelled":t})]})}},75520:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>o});var i=n(37876),s=n(87856);let a=s.default.section.withConfig({componentId:"sc-9512e95f-0"})(["display:flex;flex-direction:column;margin:",";padding:",";background:",";transition:var(--transition-ease);"],e=>{let{$margin:t}=e;return t},e=>{let{$padding:t}=e;return t},e=>{let{$background:t}=e;return t}),r=s.default.h2.withConfig({componentId:"sc-9512e95f-1"})(["color:var(--section-heading-color);font-size:13px;font-weight:600;line-height:normal;letter-spacing:0.4px;text-transform:uppercase;margin-bottom:",";"],e=>{let{$margin:t="14px"}=e;return t}),l=s.default.div.withConfig({componentId:"sc-9512e95f-2"})(["display:flex;flex-direction:",";gap:",";"],e=>{let{$layout:t}=e;return t},e=>{let{$gap:t}=e;return t});function c(e){let{children:t,$margin:n,$padding:s,$background:r}=e;return(0,i.jsx)(a,{$background:r,$padding:s,$margin:n,children:t})}c.Body=a,c.Title=r,c.Group=l;let o=c}
1,83239:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i=n(21925);function s(e){let t=new Date,n=new Date(e);if(t>n)return;let{years:s,months:a,days:r,hours:l,minutes:c}=(0,i.A)({start:t,end:n});return s?"".concat(s," year").concat(s>1?"s":""):a?"".concat(a," month").concat(a>1?"s":""):r?"".concat(r," day").concat(r>1?"s":""):l?"".concat(l," hour").concat(l>1?"s":""):c?"".concat(c," minute").concat(c>1?"s":""):void 0}},88755:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/plus",function(){return n(38109)}])}},e=>{e.O(0,[4683,1925,4558,636,6593,8792],()=>e(e.s=88755)),_N_E=e.O()}]);

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.