PageSourceSearch

https://www.dunkindonuts.com/_next/static/chunks/1266.8943c6fd649389f5.js

js dunkindonuts.com collected 2026-09-24 08:29:37 UTC 8,059 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1266],{52541:function(t,e,o){o.d(e,{O:function(){return i},V:function(){return s},a:function(){return n},b:function(){return a},c:function(){return d},d:function(){return h},e:function(){return l},f:function(){return c},g:function(){return r}});var i={NUMBER_INPUT_FIELDS:"number-input-fields",BASIC_INPUT:"basic-input"},r={SUBMIT_OTP:"Submit OTP",VALUE_CHANGE:"OTP Value Change",VALUE_BLUR:"OTP Value Blur"},s="Verify Your Phone Number",n="We'll send a code to this number for verification.",a="Resend Code",d="(Edit)",h="Use a Different Number",l="Why do we need this?",c="We want to make sure your account is secure and you can receive important updates."},91266:function(t,e,o){o.r(e),o.d(e,{forgot_password:function(){return f}});var i,r,s=o(92777),n=o(82262),a=o(48625),d=o(52100),h=o(13389),l=o(95716),c=o(39819),u=o(52541);(i=r||(r={})).ENTRY="entry",i.VERIFY="verify",i.RESET="reset";var p="Before resetting your password, let's quickly verify your identity. Enter the ".concat(6,"-digit verification code we sent to"),f=function(){function t(e){var o=this;(0,s.Z)(this,t),(0,a.r)(this,e),this.interactionOccurred=(0,a.c)(this,"interactionOccurred",7),this.handleHeaderCtaClick=function(t){o.interactionOccurred.emit(Object.assign({actionType:l.A.LINK_CLICK},t.detail))},this.handleOtpInteraction=function(t){t.stopPropagation(),o.interactionOccurred.emit(t.detail)},this.handleEntryInteraction=function(t){t.stopPropagation(),o.interactionOccurred.emit(t.detail)},this.handleResetInteraction=function(t){t.stopPropagation(),o.interactionOccurred.emit(t.detail)},this.brandIcon=void 0,this.mobileBrandIcon=void 0,this.bgImageUrl=void 0,this.brandName=void 0,this.headerTitle=void 0,this.layoutType=void 0,this.backCtaLabel=void 0,this.brandId=void 0,this.initialStep=r.ENTRY,this.showBack=!1,this.showCloseIcon=!1,this.forgotPasswordHeadingText=void 0,this.forgotPasswordSubheadingText=void 0,this.forgotPasswordEmailPhoneLabel=void 0,this.forgotPasswordEmailPhonePlaceholder=void 0,this.forgotPasswordButtonLabel=void 0,this.forgotPasswordLinkText=void 0,this.forgotPasswordErrorMessages=void 0,this.forgotPasswordEmailPhoneValue=void 0,this.forgotPasswordInputMode=c.E.EMAIL,this.otpProgress=void 0,this.otpHeadingText="Forgot Password",this.otpSubheadingText=p,this.otpResendCodeToEmailLinkText="Resend Code to Email",this.otpEditLinkText="Edit",this.otpFieldCount=6,this.otpResendCodeToPhoneLinkText="Send Code to Phone",this.otpInputType=u.O.BASIC_INPUT,this.otpInputLabel=void 0,this.otpInputPlaceholder=void 0,this.showEditLink=!0,this.otpInvalid=!1,this.otpErrorMessage=void 0,this.dismissInlineOtpErrorOnInput=!0,this.autoShowLoadingOnComplete=!0,this.resetPasswordTitle=void 0,this.newPasswordLabel=void 0,this.newPasswordPlaceholder=void 0,this.newPasswordValue=void 0,this.confirmPasswordLabel=void 0,this.confirmPasswordPlaceholder=void 0,this.confirmPasswordValue=void 0,this.resetSubmitButtonLabel=void 0,this.passwordErrorEmptyLabel=void 0,this.passwordRequirementsError=void 0,this.confirmPasswordErrorEmptyLabel=void 0,this.passwordMismatchError=void 0,this.passwordMatchedMessage=void 0,this.currentStep=r.ENTRY,this.forgotPasswordValueState="",this.isLoading=!1,this.alertText=void 0,this.alertLink=void 0,this.alertLinkText=void 0,this.alertState=h.A.ERROR,this.showAlertBanner=!0}return(0,n.Z)(t,[{key:"componentDidLoad",value:function(){(0,d.a)({element:this.el})}},{key:"componentWillLoad",value:function(){var t,e;this.currentStep=null!==(t=this.initialStep)&&void 0!==t?t:r.ENTRY,this.forgotPasswordValueState=null!==(e=this.forgotPasswordEmailPhoneValue)&&void 0!==e?e:""}},{key:"handleInitialStepChange",value:function(t){this.currentStep=null!=t?t:r.ENTRY}}
1,{key:"handleForgotPasswordEmailPhoneValueChange",value:function(t){this.forgotPasswordValueState=null!=t?t:""}},{key:"renderEntryStep",value:function(){return(0,a.h)("forgot-password-entry",{headingText:this.forgotPasswordHeadingText,subheadingText:this.forgotPasswordSubheadingText,emailPhoneLabel:this.forgotPasswordEmailPhoneLabel,emailPhonePlaceholder:this.forgotPasswordEmailPhonePlaceholder,buttonLabel:this.forgotPasswordButtonLabel,linkText:this.forgotPasswordLinkText,errorMessages:this.forgotPasswordErrorMessages,emailPhone:this.forgotPasswordValueState,inputMode:this.forgotPasswordInputMode,onInteractionOccurred:this.handleEntryInteraction})}},{key:"renderVerifyStep",value:function(){return(0,a.h)("verify-otp",{progress:this.otpProgress,headingText:this.otpHeadingText,subheadingText:this.otpSubheadingText,linkText:this.otpResendCodeToEmailLinkText,editLinkText:this.otpEditLinkText,fieldCount:this.otpFieldCount,phoneNumber:this.forgotPasswordValueState,isVerifyScreen:!0,secondaryLinkText:this.otpResendCodeToPhoneLinkText,brandId:this.brandId,isLoading:this.isLoading,autoShowLoadingOnComplete:this.autoShowLoadingOnComplete,otpInputType:this.otpInputType,inputLabel:this.otpInputLabel,inputPlaceholder:this.otpInputPlaceholder,showEditLink:this.showEditLink,invalid:this.otpInvalid,errorMessage:this.otpErrorMessage,dismissInlineOtpErrorOnInput:this.dismissInlineOtpErrorOnInput,onInteractionOccurred:this.handleOtpInteraction})}},{key:"renderResetStep",value:function(){return(0,a.h)("reset-password",{resetPasswordTitle:this.resetPasswordTitle,newPasswordLabel:this.newPasswordLabel,newPasswordPlaceholder:this.newPasswordPlaceholder,confirmPasswordLabel:this.confirmPasswordLabel,confirmPasswordPlaceholder:this.confirmPasswordPlaceholder,submitButtonLabel:this.resetSubmitButtonLabel,newPasswordValue:this.newPasswordValue,confirmPasswordValue:this.confirmPasswordValue,passwordErrorEmptyLabel:this.passwordErrorEmptyLabel,passwordRequirementsError:this.passwordRequirementsError,confirmPasswordErrorEmptyLabel:this.confirmPasswordErrorEmptyLabel,passwordMismatchError:this.passwordMismatchError,passwordMatchedMessage:this.passwordMatchedMessage,onInteractionOccurred:this.handleResetInteraction})}},{key:"render",value:function(){switch(this.currentStep){case r.VERIFY:t=this.renderVerifyStep();break;case r.RESET:t=this.renderResetStep();break;case r.ENTRY:default:t=this.renderEntryStep()}var t,e=this.currentStep!==r.VERIFY&&!!this.isLoading;return(0,a.h)("div",{key:"35c369b40fa44b60ffb087587f135d8f68865c5e",class:"forgot-password-container"},(0,a.h)("auth-layout",{key:"8de8a66a52bc84222b860a9581f7516bd450899a",brandIcon:this.brandIcon,mobileBrandIcon:this.mobileBrandIcon,brandIconAltText:"".concat(this.brandName||"Brand Logo"),mobileBrandIconAltText:"".concat(this.brandName||"Brand Logo"," mobile"),bgImageUrl:this.bgImageUrl,headerTitle:this.headerTitle,type:this.layoutType,backCtaLabel:this.backCtaLabel,alertText:this.alertText,alertLink:this.alertLink,alertLinkText:this.alertLinkText,alertState:this.alertState,showAlertBanner:this.showAlertBanner,isLoading:e,brandId:this.brandId,onHeaderCtaClicked:this.handleHeaderCtaClick,showBack:this.showBack,showCloseIcon:this.showCloseIcon},(0,a.h)("div",{key:"8ed2689ef6908806d3e44e7f64a97ce014848db1",class:"forgot-password-content",slot:"content"},t)))}},{key:"el",get:function(){return(0,a.g)(this)}}],[{key:"watchers",get:function(){return{initialStep:["handleInitialStepChange"],forgotPasswordEmailPhoneValue:["handleForgotPasswordEmailPhoneValueChange"]}}}]),t}();f.style=".forgot-password-container.sc-forgot-password{position:relative;height:100vh;width:100%}.forgot-password-content.sc-forgot-password{position:relative;display:flex;flex-direction:column;align-items:stretch;align-self:stretch;width:100%;gap:1.5rem}"},39819:function(t,e,o){var i,r,s,n;o.d(e,{E:function(){return r},a:function(){return i}}),(s=i||(i={})).EMAIL="email",s.PHONE="phone",(n=r||(r={})).EMAIL="email",n.PHONE="phone",n.BOTH="both"},95716:function(t,e,o){var i,r;o.d(e,{A:function(){return i}}),(r=i||(i={}
1)).LINK_CLICK="link-click",r.BUTTON_CLICK="button-click",r.INPUT_CHANGE="input-change",r.OTP_VALUE_COMPLETE="otp-value-complete",r.BLUR="blur",r.ENTER="enter"}}]);
2//# sourceMappingURL=1266.8943c6fd649389f5.js.map

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.