PageSourceSearch

https://www.minty.com/_next/static/chunks/pages/login-b1bbf32345cd72e6.js

js minty.com collected 2026-10-01 11:35:09 UTC 9,782 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9a757c0c-edf6-40b6-a96a-f7ec95841a70",e._sentryDebugIdIdentifier="sentry-dbid-9a757c0c-edf6-40b6-a96a-f7ec95841a70")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8295],{7984:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/login",function(){return n(61739)}])},61739:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>k});var a=n(37876),i=n(14232),o=n(77328),s=n.n(o),l=n(89099),r=n(47981),c=n(77368),d=n(9948),m=n(63437),u=n(48230),x=n.n(u),p=n(45105),y=n.n(p),g=n(62793),h=n(70618),f=n(90298),_=n(40119),b=n(660),v=n(23293),j=n(28095),N=n(6803);function k(){let e=(0,l.useRouter)(),t=(0,g.As)(),n=(0,_.Zo)(),[o,r]=(0,i.useState)(!1),[u,p]=(0,i.useState)(!1),[k,S]=(0,i.useState)(""),[T,w]=(0,i.useState)(f.m.LOGIN_STEP_1_TITLE),[E,L]=(0,i.useState)(""),[I,P]=(0,i.useState)(!1),[O,M]=(0,i.useState)(!1),[A,C]=(0,i.useState)(""),[G,U]=(0,i.useState)(!1),[D,B]=(0,i.useState)(!1),[H,R]=(0,i.useState)(!1),q=D||n,{inputValue:F,merchantId:K,verificationToken:X,code:$,value:z,userExists:Y,referralUrl:J,mintyUuid:V,autoSubmitContact:Z,redirectUrl:Q}=(0,N.O0)();(0,N.un)(t,o,G),(0,N.pl)("login",Y,"",F,M,C),(0,N._w)("login",e.isReady,X,$,z,F,r,p,S);let W=(0,i.useCallback)(e=>{let t=document.querySelector('#signup-container input[type="email"], #signup-container input[type="tel"]'),n=t?.value||F;if(!n)return void console.error("No user input available for redirect");let a=new URLSearchParams({une:"1",v:n,...K&&{m:K}});J&&a.set("ru",J),V&&a.set("mu",V),Z&&a.set("as",Z),Q&&a.set("rd",Q),window.location.href=`/join?${a}`},[K,F,J,V,Z,Q]),ee=(0,i.useCallback)(()=>{let e=(0,h.Ew)(F||""),t="email"==("email"===e?"phone":"email")?f.m.LOGIN_STEP_2_EMAIL_TAGLINE:f.m.LOGIN_STEP_2_PHONE_TAGLINE,a=e=>{w(e),P(!1),L("")},i=async()=>{let e=(0,b.qt)(),t=(0,b.xl)()&&!e,i=Q||"/my";if(e){R(!0);let e=n;void 0===e&&(e=await (0,_._6)()),R(!1),!0===e?window.location.href=i:(a(f.m.LOGIN_LAST_STEP_TITLE),L(""),(0,j.H)("login",3,"extension_install"),U(!0))}else t||(0,b.E_)(),window.location.href=i},o=(0,v.D)({merchantId:K,referralUrl:J,mintyUuid:V,autoSubmitContact:Z,pageType:"login",onAuthSuccess:i,onUserCallback:W,updateTitle:a,setShowAlert:M,updateSecondaryMessage:()=>{w(f.m.LOGIN_STEP_2_TITLE),P(!0),L(t)},defaultEmail:"email"===e&&F?F:void 0,defaultPhone:"phone"===e&&F?F:void 0,autoApply:X&&$&&z?{verificationToken:X,otp:$,inputValue:z}:void 0});o.otpSentText="Please enter the 4 digit code we sent to {userInput}.",o.onError=e=>{["invalid input","not a valid","TOKEN_EXPIRED"].some(t=>e.toLowerCase().includes(t))||console.error("An error occurred during login:",e)},window.setupSignup&&(window.setupSignup(o),setTimeout(()=>{let e=document.getElementById("email-get-opt");e&&F&&(e.value=F,e.dispatchEvent(new Event("input",{bubbles:!0})))},100))},[F,X,$,z,K,J,V,Z,W]),et=(0,N.yL)(ee);return i.useEffect(()=>{if(o&&window.setupSignup){let e=new CustomEvent("loadSignupEvent",{detail:{shouldLoadSignup:!0,onSignupLoadedCallback:ee}});document.dispatchEvent(e)}},[o,ee]),(0,N._e)(G,q,B),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(s(),{"data-sentry-element":"Head","data-sentry-source-file":"login.tsx",children:[(0,a.jsx)("title",{children:"Login to Minty"}),(0,a.jsx)("meta",{name:"chrome",content:"nointentdetection","data-sentry-element":"meta","data-sentry-source-file":"login.tsx"}),Object.keys(e.query).length>0&&(0,a.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),(0,a.jsx)("meta",{name:"description",content:"Login to Minty to access your account, unlock great deals and cashback.","data-sentry-element":"meta","data-sentry-source-file":"login.tsx"}),(0,a.jsx)("meta",{name:"keywords",content:"minty login, login to minty","data-sentry-element":"meta","data-sentry-source-file":"login.tsx"}),(0,a.jsx)("meta",{property:"og:type",content:"website","data-sentry-element":"meta","data-sentry-source-file":"login.tsx"}),(0,a.jsx)("meta",{property:"og:title",content:"Minty Login","data-sentry-element":"meta","data-sentry-source-file":"login.tsx"}),(0,a.jsx)("meta",{property:"og:description",content:"Login to Minty now! Unlock personalized deal
1s, maximize cashback, and save money!","data-sentry-element":"meta","data-sentry-source-file":"login.tsx"}),(0,a.jsx)("meta",{property:"og:locale",content:"en_US","data-sentry-element":"meta","data-sentry-source-file":"login.tsx"}),(0,a.jsx)("meta",{property:"og:url",content:`${m.K.URL_MINTY}/login`,"data-sentry-element":"meta","data-sentry-source-file":"login.tsx"}),(0,a.jsx)("meta",{property:"og:site_name",content:"Minty.com","data-sentry-element":"meta","data-sentry-source-file":"login.tsx"})]}),o&&(0,a.jsx)(y(),{src:`${m.K.TAG_URL}/dist/minty.js`,onLoad:et,strategy:"afterInteractive"}),(0,a.jsx)("div",{className:"py-6 md:py-12 auth-page-container",children:(0,a.jsxs)("div",{className:"max-w-[848px] mx-auto px-4 flex flex-col min-h-[calc(100vh-248px)] gap-6 md:gap-11",children:[u&&(0,a.jsx)("div",{className:"text-center fixed top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2",children:(0,a.jsx)("div",{className:"text-2xl font-normal",dangerouslySetInnerHTML:{__html:k}})}),o&&(0,a.jsx)(a.Fragment,{children:G&&!H?(0,a.jsx)("div",{className:"mt-auto mb-auto pb-12",children:(0,a.jsx)(c.A,{title:f.m.LOGIN_LAST_STEP_TITLE,subtitle:f.m.LOGIN_LAST_STEP_SUBTITLE,extensionInstalled:q,redirectUrl:Q})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"mt-auto",children:(0,a.jsxs)("div",{className:"max-w-[350px] mx-auto text-center",id:"user-input-group",children:[I&&(0,a.jsx)("h2",{className:"text-2xl font-normal mb-8",children:f.m.JOIN_LOGIN_STEP_2_TITLE}),(0,a.jsx)("h1",{className:"text-[48px] font-medium leading-[110%] mb-3 md:mb-4 whitespace-pre-line bg-gradient-to-r from-[#2BB7D2] to-[#29C67F] bg-clip-text text-transparent font-gelica",children:T}),E&&(0,a.jsx)("p",{className:"text-base font-normal leading-[150%] tracking-[0.01em] my-3 mb-8 md:my-5 md:mb-11 font-inter",dangerouslySetInnerHTML:{__html:E}}),O&&(0,a.jsxs)("div",{className:"w-[350px] h-auto min-h-[104px] flex gap-2 rounded-2xl p-4 mb-5 bg-pikachu-100",children:[(0,a.jsx)(d.A,{}),(0,a.jsx)("div",{className:"text-base font-normal leading-[150%] text-pikachu-1000 text-left font-inter !m-0",dangerouslySetInnerHTML:{__html:A}})]}),(0,a.jsx)("div",{className:"form-style-login",children:(0,a.jsx)("div",{className:"form-group",children:(0,a.jsx)("div",{id:"signup-container"})})})]})}),(0,a.jsxs)("div",{className:"flex flex-col text-center mt-auto",children:[(0,a.jsxs)("p",{className:"text-[10px] font-normal leading-[130%] tracking-[0.02em] text-pikachu-900 mb-5 font-inter",children:["By submitting a phone number through this form, you consent to receive marketing and account management text messages (e.g., promos, authentication texts) from Minty at the number provided, including messages sent by autodialer in accordance with our privacy policy. US numbers only. By submitting an email address you consent to receive marketing and account management emails from Minty at the address provided. Consent is not a condition of purchase. Message & data rates may apply. Message frequency varies. Unsubscribe to texts at any time by replying STOP or to emails by clicking the unsubscribe link. You can also update your communication preferences at any time in our account preference center. Text HELP for help or email us at"," ",(0,a.jsx)("a",{href:"mailto:[email protected]",className:"text-pikachu-900 underline hover:text-green-primary transition-colors","data-analytics-tracking":!0,"data-analytics-payload":'{"event": "button_clicked", "content": "Contact Email", "location": "login_disclaimer"}',"data-analytics-external-link":!0,children:"[email protected]"}),"."]}),(0,a.jsxs)("ul",{className:"flex justify-center items-center flex-wrap list-none p-0 m-0",children:[(0,a.jsx)("li",{className:"mx-[7.5px]",children:(0,a.jsx)(x(),{href:"/privacy",className:"text-[10px] font-normal leading-[130%] tracking-[0.02em] text-pikachu-900 underline hover:text-green-primary transition-colors font-inter","data-analytics-tracking":!0,"data-analytics-payload":'{"event": "button_clicked", "content": "Privacy Policy", "location": "login_footer"}',children:"Privacy Policy"})}),(0,a.jsx)("li",{className:"mx-[7.5px]",children:(0,a.jsx)(x(),{href:"/do-not-sell",className:"text-[10px] font-normal leading-[130%] tracking-[0.02em] text-pikachu-900 underline hover:text-green-primary transition-colors font-inter","data-analytics-tracking":!0,"data-analytics-payload":'{"event": "button_clicked", "content": "Do Not Sell", "location": "login_footer"}',children:"Do Not Sell Or Share My Information"})}),(0,a.jsx)("li",{className:"mx-[7.5px]",children:(0,a.jsx)(x(),{href:"/terms",className:"text-[10px] font-normal leading-[130%] tracking-[0.02em] text-pikachu-900 underline hover:text-green-primary transition-colors font-inter","data-analytics-tracking":!0,"data-analytics-payload":'{"event": "button_clicked", "content": "Terms", "location": "login_footer"}',children:"Terms"})}),(0,a.jsx)("li",{className:"mx-[7.5px]",children:(0,a.jsx)(x(),{href:"/contact",className:"text-[10px] font-normal leading-[130%] tracking-[0.02em] text-pikachu-900 underline hover:text-green-primary transition-colors font-inter","data-analytics-tracking":!0,"data-analytics-payload":'{"event": "button_clicked", "content": "Contact", "location": "login_footer"}',children:"Contact"})})]})]})]})})]})})]})}k.getLayout=function(e){return(0,a.jsx)(r.A,{hideAuthButtons:!0,children:e})}}},e=>{e.O(0,[9559,4587,8230,934,4995,7177,2829,2243,7981,8943,636,6593,8792],()=>e(e.s=7984)),_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.