1"use strict";(globalThis.webpackChunkUniqueName_product_flows=globalThis.webpackChunkUniqueName_product_flows||[]).push([[4100,8436],{35142:(e,t,n)=>{n.d(t,{ZP:()=>p,b2:()=>l,h4:()=>u});var s=n(38491),a=n(28128),r=n(9611),o=n(81927),i=n(67294);const m="bold",c="color-text-supplementary";function l(e){let{title:t,subtitle:n,typographyVariant:l=s.bu.TitleThree,pVariant:u=s.bu.Subhead,weight:p=m,pColor:_=c,className:d}=e;return i.createElement(a.Z,{className:d},i.createElement(r.Z,{typographyVariant:l,weight:p},t),n&&i.createElement(a.Z,{marginTop:"large"},i.createElement(o.Z,{typographyVariant:u,color:_},n)))}function u(e){let{title:t,subtitle:n,typographyVariant:s,pVariant:l,weight:u=m,pColor:p=c,className:_,removeBottomMargin:d}=e;return i.createElement(a.Z,{className:_,marginBottom:d?void 0:"large"},i.createElement(r.Z,{typographyVariant:s,weight:u},t),n&&i.createElement(a.Z,{marginTop:"small"},i.createElement(o.Z,{typographyVariant:l,color:p},n)))}const p=window.isRufus?l:u},84432:(e,t,n)=>{n.d(t,{Z:()=>d});var s=n(23587),a=n(98216),r=n(24492),o=n(99653),i=n(85772),m=n(7181),c=n(67294),l=n(50558);const u=["isIdentityFullPage","isProcessing","isFullPageFromComponent","dispatch"];function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},p.apply(this,arguments)}const _=e=>{let{orchestrator:t}=e;const n=(0,m.R)("currentStep",t),s=n?(0,m.R)(n,t)?.view?.pending:void 0,a=(0,m.R)("globalData",t)?.identity?.isFullPage;return{isProcessing:s,isIdentityFullPage:a}},d=function(e,t){let{hideProcessingText:n,fullPage:m,shouldUseInitProcessing:d,suppressProcessingInEmbeddedMode:g=!1}=void 0===t?{}:t;return(0,l.$j)(_)((function(t){let{isIdentityFullPage:l,isProcessing:_,isFullPageFromComponent:N}=t,v=function(e,t){if(null==e)return{};var n,s,a={},r=Object.keys(e);for(s=0;s<r.length;s++)n=r[s],t.indexOf(n)>=0||(a[n]=e[n]);return a}(t,u);const{isDisplayProcessingVisible:b}=(0,o.u)(_??!1),w="embedded"===(0,i.z)()&&g,h=!w&&(window.isRufus||l&&"identity"===m||l&&N||"always"===m),E=!b&&!w;return _&&d?c.createElement(s.t,{hideText:n}):h&&_?c.createElement(r.Z,{hideText:n}):c.createElement("div",null,E&&c.createElement(a.Z,{hideText:n,isOpen:_??!1}),c.createElement(e,p({},v,{isProcessing:_??!1})))}))}},98216:(e,t,n)=>{n.d(t,{Z:()=>m});var s=n(99056),a=n(62526),r=n(33175),o=n(67294);const i="pro-R1USiw8";const m=function(e){let{hideText:t,isOpen:n,title:m,subtext:c}=e;const{formatMessage:l}=(0,r.Z)(),u=m||l({id:"productFlows.components.common.processing.title"}),p=c||l({id:"productFlows.components.common.processing.subtext"});return o.createElement(s.u,{open:n,overflow:!0},o.createElement("div",{className:i},o.createElement(a.Z,{title:t?"":u,subtext:t?"":p})))}},73795:(e,t,n)=>{n.d(t,{Z:()=>S});var s=n(28128),a=n(35006),r=n(26914),o=n(9604),i=n(33175),m=n(86933),c=n(84189),l=n(362),u=n(3867),p=n(35142),_=n(92660),d=n(81927),g=n(5096),N=n(67294);const v=function(e){let{ari:t,index:n,question:a,answers:r,onChange:o}=e;return N.createElement(s.Z,null,N.createElement(d.Z,{weight:"semibold"},a),N.createElement(_.Z,{spacing:"x-small"},r.map((e=>{const s=e.get("answer")||e.get("text"),a=e.get("ari")||e.get("id"),r=`${a}-item`,i=`${a}-radio`,m=`${s}-${n}`;return N.createElement(_.Z.Item,{vAlign:"center",key:r},N.createElement(g.Z,{name:t,key:i,"data-testid":m,"data-nid-target":`kba-question-${n}`,value:a,onChange:()=>o(n,a,t),labelProps:{"data-nid-target":`kba-question-${n}`}},N.createElement(d.Z,{color:"components-color-content-supplementary"},s)))}))))};const b=function(e){let{questions:t,onChange:n}=e;return N.createElement(_.Z,{"data-testid":"questions",spacing:"small"},t.map(((e,t)=>{const s=e.get("ari")||e.get("id"),a=e.get("question")||e.get("text");return N.createElement(_.Z.Item,{vAlign:"center",key:`${s}-item`},N.createElement(v,{ari:s,index:t,question:a,answers:e.get("answers"),onChange:n}))})))};var w=n(59259),h=n(59855),E=n(33189),f=n(87612),Z=n(87684),y=n(94184),k=n.n(y);const S=function(e){let{className:t,kbaError:n="",onSelectAnswer:_,onClickSubmit:d,onViewPage:g,questions:v,subtitle:y,title:S,userAri:T}=e;(0,N.useEffect)((()=>{T&&window.isMobileSdk&&(0,Z.tN)({pageName:"envelope-kba",productArea:w.X8,userAri:T})}),[T]),(0,N.useEffect)((()=>{window.isMobileSdk&&h.Z.notifyMount()}),[]),(0,N.useEffect)((()=>{g&&g()}),[g]);const[C]=(0,N.useState)({answers:v.map((e=>({question_ari:e.get("ari")||e.get("id"),answer_ari:null})))}),[P,A]=(0,N.useState)(""),{formatMessage:F}=(0,i.Z)();return N.createElement(s.Z,{className:k()(t),"data-testid":"questions-page"},(P||n)&&N.createElement(a.Z,{"data-testid":"submit-answers-error",attitude:a.Z.Enums.Attitude.Negative},N.createElement(a.Z.Emphasis,null,N.createElement(u.Z,{copy:P||n}))),N.createElement(s.Z,{textAlign:"left",marginTop:"small"},window.isRufus&&N.createElement(f.Z,null),N.createElement(p.ZP,{title:N.createElement(u.Z,{copy:S}
1),subtitle:N.createElement(u.Z,{copy:y})})),N.createElement(b,{"data-testid":"questions-component",questions:v,onChange:(e,t,n)=>{A(""),C.answers.get(e).answer_ari=t,C.answers.get(e).question_ari=n,_(C)}}),N.createElement(s.Z,{marginTop:"small",className:(0,c.qe)().bottomSection},N.createElement(r.Z,{"data-testid":"submit-button",onClick:()=>{(0,l.trackCustomEvent)("Auth Questions Submit"),(()=>{let e=!0;C.answers.forEach((t=>{t.answer_ari||(e=!1)}));const t=e?"":F({id:"productFlows.components.identity.kba.error.answerAll"});return A(t),e})()?d(C):((0,l.trackCustomEvent)("Auth Questions client side form error"),window.scrollTo(0,0))},type:"submit",fullWidth:!0},window.isRufus?null:N.createElement(o.Z,{color:"color-icon-default-inverse"}),N.createElement(m.Z,{id:"productFlows.components.identity.kba.cta.text"})),window.isRufus&&N.createElement(E.Z,null)))}},20386:(e,t,n)=>{n.d(t,{$z:()=>o,EI:()=>m,NA:()=>r,ly:()=>a,qb:()=>i});var s=n(62945);const a="User Cancelled Checkout",r="terms_continue_button_clicked",o=["0TLBS8N0GWWC8APS","456UKJA79KGSO1TZ","X96ZPHNIR5GRHG1W","ODOUK14VMQ6MG8GA","E0OVH1WWSQVUK5IM"],i=["ACR3TZT8YMQ9LR9J","HCXJRNR0DWWH23OV","QNQS9NTWX8AIAGJ5","5CHTV8MOBVHDJRYD"],m=["OSAKYZQBR7PSPC7J","ZE4E6306LJ5I4TSN","O50P166ELWEJTP76"];(0,s.vU)({AB:{id:"productFlows.component.padFields.province.ab"},BC:{id:"productFlows.component.padFields.province.bc"},MB:{id:"productFlows.component.padFields.province.mb"},NB:{id:"productFlows.component.padFields.province.nb"},NL:{id:"productFlows.component.padFields.province.nl"},NS:{id:"productFlows.component.padFields.province.ns"},ON:{id:"productFlows.component.padFields.province.on"},PE:{id:"productFlows.component.padFields.province.pe"},QC:{id:"productFlows.component.padFields.province.qc"},SK:{id:"productFlows.component.padFields.province.sk"}})},53298:(e,t,n)=>{n.r(t),n.d(t,{default:()=>N,mapDispatchToProps:()=>d,mapStateToProps:()=>_,mergeProps:()=>g});var s=n(84432),a=n(73795),r=n(59259),o=n(62139),i=n(16383),m=n(15135),c=n(64449),l=n(87684),u=n(85077),p=n(50558);const _=e=>({title:"Verify it's you",subtitle:"Then weâll update your mobile number.",questions:e.orchestrator.getIn([i.Hg,"data","questions"]),className:{[m.Z.container]:!0},questionSetAri:e.orchestrator.getIn([i.Hg,"data","question_set_ari"])}),d=e=>({onClickSubmit:(t,n)=>{l.ap.track(c.AG.eventName,{eventCategory:"UserInteractsElement",pageName:i.Hg,productArea:c.w8,elementName:c.AG.elementName,interactionType:"click"}),(0,u.s)(r.El.USER_SUBMITS_STEP_UP,{eventCategory:"UserChangesState",pageName:i.Hg,productArea:c.w8,stateName:"kba",stepUpType:"kba",stepUpPurpose:"phone_change_auth"}),e((0,o.Zg)(["answers"],JSON.parse(JSON.stringify(t)).answers)),e((0,o.Zg)(["question_set_ari"],n)),e((0,o.$f)())},onSelectAnswer:t=>{l.ap.track(c.sh.eventName,{eventCategory:"UserInteractsElement",pageName:i.Hg,productArea:c.w8,elementName:c.sh.elementName,interactionType:"click"}),e((0,o.Zg)(["answers"],JSON.parse(JSON.stringify(t)).answers))},onViewPage:()=>{l.ap.track(c.uS.eventName,{eventCategory:"UserViewsPage",pageName:i.Hg,productArea:c.w8}),(0,u.s)(r.El.USER_SEES_STEP_UP,{eventCategory:"UserImpressesElement",elementName:c.Wd,pageName:i.Hg,productArea:c.w8,stepUpType:"kba",stepUpPurpose:"phone_change_auth"})}}),g=(e,t)=>Object.assign({},e,t,{onClickSubmit:n=>t.onClickSubmit(n,e.questionSetAri)}),N=(0,p.$j)(_,d,g)((0,s.Z)(a.Z))},64449:(e,t,n)=>{n.d(t,{$f:()=>K,AG:()=>y,Al:()=>j,C1:()=>_,DT:()=>c,Dc:()=>x,En:()=>J,Gf:()=>D,Jb:()=>ie,KG:()=>w,KI:()=>O,M:()=>ne,Mg:()=>Y,NR:()=>P,Nz:()=>le,Ox:()=>k,QD:()=>me,Ql:()=>U,Qs:()=>I,Re:()=>M,Rp:()=>l,SN:()=>E,Tm:()=>F,UY:()=>d,Uc:()=>h,Uv:()=>W,V7:()=>A,VJ:()=>f,WV:()=>X,Wd:()=>m,XH:()=>R,ZU:()=>G,Zd:()=>re,_Z:()=>u,aE:()=>T,aG:()=>ee,bZ:()=>b,fY:()=>C,gQ:()=>z,hN:()=>te,hz:()=>q,iU:()=>ae,j0:()=>N,jB:()=>B,jJ:()=>g,pV:()=>H,qN:()=>S,qQ:()=>v,r0:()=>Q,sh:()=>Z,uS:()=>V,vO:()=>se,w8:()=>i,wg:()=>oe,xg:()=>p,xk:()=>$,z6:()=>L});var s=n(22256),a=n(86350),r=n(87684),o=n(67294);const i="ss_phone_change",m="phone_change_step_up",c={elementName:"sspc_ssn_submit_button",eventName:"user_interacts_sspc_submit"},l={elementName:"sspc_pii_submit_button",eventName:"user_interacts_sspc_submit"},u={elementName:"sspc_email_pin_resend_button",eventName:"user_interacts_element"},p={elementName:"sspc_email_pin_try_another_method_button",eventName:"user_interacts_element"},_={elementName:"sspc_email_pin_submit",eventName:"user_interacts_element"},d={elementName:"sspc_proposed_phone_number_submit_button",eventName:"user_interacts_sspc_submit"},g={elementName:"sspc_phone_pin_edit_button",eventName:"user_interacts_element"},N={elementName:"sspc_phone_pin_send_button",eventName:"user_interacts_element"},v={elementName:"sspc_phone_pin_submit",eventName:"user_interacts_element"},b={elementName:"sspc_idv_info_submit_button",eventName:"user_interacts_element"},w={elementName:"sspc_idv_info_with_back_go_back_button",eventName:"user_interacts_element"},h={elementName:"sspc_call_ops_call_affirm_button",eventName:"user_interacts_element"},E={elementName:"sspc_too_many_attempts_call_affirm_button",eventName:"user_interacts_element"},f={elementName:"sspc_session_time_out_update_phone_button",eventName:"user_interacts_element"},Z={elementName:"sspc_kba_answer_select",eventName:"user_interacts_element"},y={elementName:"sspc_kba_submit_button",eventName:"user_interacts_element"},k={elementName:"sspc_redirect_to_signup_button",eventName:"user_interacts_element"},S={elementName:"phone_change_updated_exit_cta",eventName:"user_interacts_element"},T={elementName:"sspc_pii_lookup_method_radio",eventName:"user_interacts_element"},C={eventName:"user_views_page"},P={eventName:"user_views_page"},A={eventName:"user_views_page"},F={eventName:"user_views_page"},U={eventName:"user_views_page"},x={eventName:"user_views_page"},O={eventName:"user_views_page"},q={eventName:"user_views_page"},R={eventName:"user_views_page"},V={eventName:"user_views_page"},I={eventName:"user_views_page"},H={eventName:"user_views_page"},M={eventName:"user_views_page"},J={eventName:"user_views_page"},Q={eventName:"user_views_page"},D={eventName:"user_impresses_element",elementName:"sspc_ssn_error_message"},B={eventName:"user_impresses_element",elementName:"sspc_email_pin_modal_error_message"},W={eventName:"user_impress_element",elementName:"sspc_proposed_phone_number_error_message"},j={eventName:"user_impress_element",elementName:"sspc_phone_pin_error_message"},G={eventName:"user_impresses_element",elementName:"sspc_pii_validation_error"},$={eventName:"user_views_page"},K={elementName:"sspc_old_phone_number_submit_button",eventName:"user_interacts_sspc_submit"},X={elementName:"sspc_old_phone_number_stepup_link",eventName:"user_interacts_element"},z={eventName:"user_impresses_element",elementName:"sspc_old_phone_number_error_message"},L={eventName:"user_views_page"},Y={elementName:"sspc_ssn_stepup_submit_button",eventName:"user_interacts_sspc_submit"},ee={eventName:"user_impresses_element",elementName:"sspc_ssn_stepup_error_message"},te={eventName:"user_views_page"},ne={elementName:"sspc_email_address_submit_button",eventName:"user_interacts_sspc_submit"},se={eventName:"user_impresses_element",elementName:"sspc_email_address_error_message"},ae={eventName:"user_views_page"},re={elementName:"sspc_ssn_only_submit_button",eventName:"user_interacts_sspc_submit"},oe={eventName:"user_impresses_element",elementName:"sspc_ssn_only_error_message"},ie={eventName:"sspc_storage_probe"},me={eventName:"sspc_handoff_persist"};function ce(e){const t=(0,a.k)(),n=(0,s.x)()||"UNDEFINED";return(0,o.useCallback)(((s,a)=>{const r=Object.assign({userAri:t,pageName:n,productArea:i},s);return a?e(r,a):e(r)}),[t,n,e])}const le={productArea:i,useImpression:function(){return ce(r.Oc)},useInteraction:function(){return ce(r.Tl)}}},26709:(e,t,n)=>{n.d(t,{Z:()=>b});var s=n(52770),a=n(59258),r=n(26914),o=n(33175),i=n(86933),m=n(93120),c=n(72817),l=n(20386),u=n(38069),p=n(46560),_=n(55122),d=n(35905),g=n(67294);function N(){return N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},N.apply(this,arguments)}const v={Div:s.zo.div` 2 text-align: center; 3 padding: 12px 0; 4 `};const b=function(e){let{children:t}=e;const n=(0,o.Z)(),s=(0,c.X)(),b=(0,u.A)(),w=(0,_.ZP)({elementName:p.T.RETURN_TO_CART_BUTTON}),h=(0,m.o)(l.ly,(()=>w(n.formatMessage({id:"productFlows.rufus.components.goBackToCart.alert.text"}))));if(s){const e=b?g.createElement(i.Z,{id:"productFlows.rufus.components.cancelApplication.text"}):g.createElement(i.Z,{id:"productFlows.rufus.components.returnToCartCta.text"});return g.createElement(v.Div,{className:"go-back-to-cart-wrapper"},g.createElement(a.Z,N({"data-testid":"go-back-to-cart"},(0,d.g)(h)),null!=t?t:e))}return g.createElement(r.Z,{emphasis:r.Z.Enums.Emphasis.Tertiary,"data-testid":"go-back-to-cart",onClick:h,fullWidth:!0},g.createElement(i.Z,{id:"productFlows.rufus.components.goBackToCartCta.text"}))}}
4,33189:(e,t,n)=>{n.d(t,{Z:()=>s});const s=n(26709).Z},87612:(e,t,n)=>{n.d(t,{Z:()=>i});var s=n(86933),a=n(72817),r=n(67294),o=n(66112);const i=function(){return(0,a.X)()?null:r.createElement("h6",{className:o.Z.h6},r.createElement(s.Z,{id:"productFlows.rufus.components.rufusAuthHeader.idVerificationHeader.title"}))}},15135:(e,t,n)=>{n.d(t,{Z:()=>s});const s={container:"proZaEJqgbK",paragraph:"pro-1s8HCp1",phoneNumber:"pro1j273l4F",phoneFullScreen:"pro1IEgVQ4i",buttonStyledLink:"pro33escPSx",editPhoneNumber:"pro2QfNvcxD"}},66112:(e,t,n)=>{n.d(t,{Z:()=>s});const s={h6:"pro1raCn-6M",header:"pro21XrSv88",hr:"pro10YPqAtd"}}}]);
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.