PageSourceSearch

https://www.menoramivt.co.il/customer-login/_next/static/chunks/542-cd19100897904b93.js

js menoramivt.co.il collected 2026-10-02 11:00:47 UTC 24,158 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[542],{64845:function(e,n,t){var i=t(19989),r=t(24246);t(27378);var a=t(33053);function o(){var e=(0,i.Z)(["\n  padding: 5px 0;\n  position: relative;  \n  line-height: 18px;    \n  box-sizing: border-box;\n  display:block;\n  margin: 0 auto;\n  text-align: right;\n  color:#C00000;\n  width: 300px;\n  border-radius: 9px;\n  border: solid 1px #C00000 ;\n  \n  .close-btn{\n    cursor: pointer;\n    position: absolute;\n    top: -6px;\n    left: -6px;\n    height: 15px;\n    width:15px;\n    border-radius: 10px;\n    background-color: black;\n    color:white;\n    text-align: center;\n    font-size: 13px;\n  }\n  \n  .error-div{\n    padding: 0 15px;\n    font-size: 14px;\n    width: 284px;\n  }\n  \n  .what-to-do{\n    font-weight: bold;\n    font-size: 18px;\n    display:block;\n  }\n  \n  .solutions{\n    padding: 0 16px 0 0;\n    margin: 3px 0 0;\n  }\n"]);return o=function(){return e},e}var s=function(e){var n=e.children;return(0,r.jsx)(l,{"data-mnr-bo":"error-container",children:(0,r.jsx)("div",{className:"error-div",children:n})})},l=a.ZP.div.withConfig({componentId:"sc-7b023722-0"})(o());n.Z=s},86542:function(e,n,t){t.d(n,{Z:function(){return z}});var i=t(23842),r=t(85034),a=t(70169),o=t(19989),s=t(85556),l=t(24246),u=t(27378),d=t(33053),c=t(46131),p=t(31373),m=t(39620);function f(){var e=(0,o.Z)(["\n  ",'\n  .Mui-error:after {\n    border-bottom: 1px solid #f44336;\n  }\n\n  input {\n    &[type="number"]::-webkit-inner-spin-button,\n    &[type="number"]::-webkit-outer-spin-button {\n      margin: 0;\n      -webkit-appearance: none;\n    }\n\n    &[type="number"] {\n      -moz-appearance: textfield;\n    }\n  }\n']);return f=function(){return e},e}var h=function(e){var n=(0,u.useRef)(),t=(0,u.useState)(!0),i=t[0],a=t[1],o=e.inputKey,s=e.firstInput,d=e.separator,c=e.isLastChild,f=e.inputStyle,h=e.focus,y=e.selectFlag,x=e.shouldAutoFocus,v=e.isDisabled,g=e.hasErrored,S=e.errorStyle,j=e.focusStyle,T=e.disabledStyle,N=e.type,C=e.inputContainer,M=e.dataMnrBo,I=e.ariaLabelTitle,w=(0,p.Z)(e,["inputKey","firstInput","separator","isLastChild","inputStyle","focus","selectFlag","shouldAutoFocus","isDisabled","hasErrored","errorStyle","focusStyle","disabledStyle","type","inputContainer","dataMnrBo","ariaLabelTitle"]);(0,u.useEffect)(function(){n&&h&&!i&&n.current&&(n.current.focus(),n.current.select()),i&&a(!1)},[h,y]);var k=function(e){return"object"==typeof e};return(0,l.jsxs)(b,{style:Object.assign({display:"flex",alignItems:"center"},C),children:[(0,l.jsx)(m.Z,(0,r.Z)({id:"otp-input-".concat(o),autoComplete:"off",inputProps:{"data-mnr-bo":M,"aria-describedby":"err","aria-label":s?I:null,maxLength:s?6:1,style:Object.assign({textAlign:"center"},f,h&&k(j)&&j,v&&k(T)&&T,g&&k(S)&&S)},className:function(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];n.filter(function(e){return!k(e)&&!1!==e}).join(" ")}(f,h&&j,v&&T,g&&S),type:N,inputRef:n,disabled:v,error:g,autoFocus:x},w)),!c&&d]})},b=d.ZP.div.withConfig({componentId:"sc-24bb5d14-0"})(f(),function(e){return e.style}),y=(0,u.forwardRef)(function(e,n){var t=(0,u.useState)([]),i=t[0],r=t[1],a=(0,u.useState)(0),o=a[0],s=a[1],d=(0,u.useState)(!1),p=d[0],m=d[1];(0,u.useImperativeHandle)(n,function(){return{setOtpCode:function(n){r(n),e.onChange(n.join(""))}}}),(0,u.useEffect)(function(){r([]),s(0)},[e.resetValues]);var f=function(e){return"object"==typeof e},b=function(n){o<e.numInputs-1?s(o+1):n.preventDefault()},y=function(e){o>0?s(o-1):e.preventDefault()},x=function(n,t){var a=(0,c.Z)(i);if(a[o]=n[0],"otp-input-1"==t&&6==n.length&&!isNaN(n))for(var s=1;s<=5;++s)a[s]=n[s];r(a),e.onChange(a.join(""))},v=function(e){if(i[o]===e.key){e.persist(),setTimeout(function(){b(e)},50);return}if(38===e.keyCode||40===e.keyCode){e.preventDefault();return}switch(e.keyCode){case 8:case 46:x("");break;case 37:y(e);break;case 39:b(e)}},g=function(e){var n=e.target&&e.target.value||e.key;n&&n.search(/^\d+$/)>=0?(x(n,e.target.id),"otp-input-1"!=e.target.id||6!=n.length||isNaN(n)?b(e):(s(5),setTimeout(function(){var e=window.document.querySelector("[data-mnr-bo='send-code
1-btn']");e&&e.click()},500))):m(!p)},S=function(e,n){s(n),e.target.select()};return(0,l.jsx)("div",{style:Object.assign({display:"flex"},f(e.containerStyle)&&e.containerStyle),className:f(e.containerStyle)?"":e.containerStyle,children:function(){for(var n=function(e){j.push((0,l.jsx)(h,{firstInput:0===e,inputKey:e+1,dataMnrBo:"SingleOtpInput"+e,focus:o===e,value:i&&i[e]||[],onChange:g,onKeyDown:v,onFocus:function(n){return S(n,e)},separator:s,inputStyle:r,inputContainer:x,focusStyle:a,isLastChild:e===t-1,isDisabled:u,disabledStyle:d,hasErrored:c,errorStyle:m,ariaLabelTitle:y,shouldAutoFocus:f&&o===e,type:b,selectFlag:o===e&&p},e))},t=e.numInputs,r=e.inputStyle,a=e.focusStyle,s=e.separator,u=e.isDisabled,d=e.disabledStyle,c=e.hasErrored,m=e.errorStyle,f=e.shouldAutoFocus,b=e.type,y=e.ariaLabelTitle,x=e.inputContainer,j=[],T=0;T<t;T++)n(T);return j}()})}),x=t(15307),v=t(87288),g=t(64845),S=t(47820);function j(){var e=(0,o.Z)(["\n  height: ",";\n	width: ",";\n	display: inline-block;\n	position: relative;\n	margin-left: 10px;\n  .spinnerClass {\n    color: #ffb90f;\n    animation-duration: 550ms;\n  }\n  .timer {\n    font-size: ",";\n    position: absolute;\n    height: 100%;\n    width: 100%;\n	  top:18%;\n	  right:0;\n  }\n"]);return j=function(){return e},e}var T,N=function(e){var n=e.time,t=e.size,i=e.setIsTimeOver,r=(0,u.useState)(n),a=r[0],o=r[1],s=(0,u.useRef)(null);s.current={timer:a,setTimer:o},(0,u.useEffect)(function(){var e=setInterval(function(){d(e)},1e3);return function(){clearInterval(e)}},[]);var d=function(e){s.current.timer?s.current.setTimer(s.current.timer-1):(clearInterval(e),i(!0))};return(0,l.jsxs)(C,{size:t||30,timer:a,children:[(0,l.jsx)(S.Z,{variant:"indeterminate",disableShrink:!0,className:"spinnerClass",size:t||30,thickness:2}),(0,l.jsx)("span",{className:"timer",children:a})]})},C=d.ZP.div.withConfig({componentId:"sc-c5befc65-0"})(j(),function(e){return e.size+"px"},function(e){return e.size+"px"},function(e){return e.size/2+"px"}),M=t(12961),I=t(46372),w=(T=(0,i.Z)(function(e,n){var t,i,r,a,o;return(0,s.__generator)(this,function(a){switch(a.label){case 0:return a.trys.push([0,3,,4]),t=window.location.search,i=I.Z.verifyOtp+(t?"/"+t:""),r={insuredId:n.id,idType:n.idType,code:e,method:n.otpMethod,uuid:n.uuid},(null==n?void 0:n.ruuid)&&(r.ruuid=null==n?void 0:n.ruuid),(null==n?void 0:n.whatsapp)&&(r.whatsapp=null==n?void 0:n.whatsapp),(null==n?void 0:n.guuid)&&(r.guuid=null==n?void 0:n.guuid),(null==n?void 0:n.departmentId)&&(r.departmentId=null==n?void 0:n.departmentId),(null==n?void 0:n.identificationByMail)&&(r.identificationByMail=null==n?void 0:n.identificationByMail),[4,fetch(i,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(r)})];case 1:return[4,a.sent().json()];case 2:return[2,a.sent().data];case 3:return a.sent(),[2,{returnCode:"99",returnMessage:"שגיאה כללית"}];case 4:return[2]}})}),function(e,n){return T.apply(this,arguments)}),k=t(9334),Z=t(32228);function L(){var e=(0,o.Z)(["\n  .error:focus {\n    outline: none;\n  }\n\n  .submit-btn {\n    margin-top: 25px;\n  }\n\n  .sr-only {\n    position: absolute;\n    width: 1px;\n    height: 1px;\n    padding: 0;\n    margin: -1px;\n    overflow: hidden;\n    border: 0;\n    clip: rect(0, 0, 0, 0);\n  }\n\n  input::-ms-clear {\n    display: none;\n  }\n\n  .headerTitle {\n    margin: 0;\n    font-size: 28px;\n    display: inline-block;\n    @media (max-width: ",") {\n      display: none;\n    }\n  }\n  .identificationByMailHeaderTitle{\n      @media (max-width: ",") {\n          display: block;\n          font-size: 24px;\n      }\n  }\n\n  .subTitle {\n    width: 68%;\n    margin-left: auto;\n    margin-right: auto;\n    font-weight: normal;\n    color: #37374e;\n    @media (max-width: ",") {\n      width: 69%;\n    }\n  }\n\n  .subTitleVoice {\n    width: 68%;\n    margin: 0 auto 10px;\n    color: #37374e;\n  }\n\n  .otpWrapper {\n    direction: ltr;\n    justify-content: center;\n    margin-bottom: ",";\n    @media (max-width: ",") {\n      margin-bottom: 40px;\n    }\n  }\n\n  .errorContainer {\n    margin-bottom: 30px;\n  }\n\n  .timeContainer {\n    display: flex;\n    justify-content: center;
1\n    align-items: center;\n  }\n\n  .timeText {\n    font-size: 14px;\n    color: #37374e;\n  }\n\n  .phone-code-link {\n    margin: 0 auto;\n    text-decoration: none;\n\n    &:hover {\n      text-decoration: none;\n    }\n  }\n\n  .separator {\n    color: #684eed\n  }\n    \n    .identification-by-mailp{\n        display: block;\n    }\n    .identification-by-mail-subTitle{\n        margin-left: auto;\n        margin-right: auto;\n        font-weight: normal;\n        color: #37374e;\n        padding-bottom: 30px;\n        font-size: 1em;\n    }\n    .newline{\n        margin-top: 20px;\n    }\n    .identification-by-mailok, .identification-by-mailerror{\n        padding-top: 76px;\n    }\n"]);return L=function(){return e},e}var E={SMS:{title:I.Z.otpSmsTitle,link:I.Z.otpSmsLink,ariaLabelTitle:I.Z.ariaLabelTitleSms},VOICE:{title:I.Z.otpVoiceTitle,link:I.Z.otpVoiceLink,ariaLabelTitle:I.Z.ariaLabelTitleVoice},MAIL:{title:I.Z.otpMailTitle,link:I.Z.otpSmsLink,ariaLabelTitle:I.Z.ariaLabelTitleSms}},O=function(e){var n=e.screenNum,t=e.handleSupport,o=e.title,d=(0,u.useContext)(v.Z),c=d.loginProps,p=d.setLoginProps,m={otpNumber:"",errorMessage:I.Z.otpMessageErrorLen,errorOtp:!1,errorCode:"6",link:"",resetValues:!1},f=(0,u.useState)(m),h=f[0],b=f[1],S=(0,u.useState)(!1),j=S[0],T=S[1],C=(0,u.useState)({}),L=C[0],O=C[1],z=(0,u.useState)(!1),F=z[0],V=z[1],R=(0,u.useState)("SMS"),A=R[0],D=R[1],P=(0,u.useState)(!1),_=P[0],U=P[1],G=(0,u.useState)((null==c?void 0:c.identificationByMail)?"info":null),H=G[0],K=G[1],q=(0,u.useState)(c.customerLoginUrl),J=q[0],$=q[1],W=(0,u.useState)(void 0===o?null:o)[0],Q=(0,u.useRef)();(0,u.useEffect)(function(){ea()},[]),(0,u.useEffect)(function(){if("SMS"==c.otpMethod)try{if(window.OTPCredential){var e=new AbortController;return navigator.credentials.get({otp:{transport:["sms"]},signal:e.signal}).then(function(e){if(e&&e.code&&6==e.code.length){var n=e.code;Q.current.setOtpCode(n.split("")),setTimeout(function(){var e=window.document.querySelector("[data-mnr-bo='send-code-btn']");e&&e.click()},500)}}).catch(function(){}),function(){e.abort()}}}catch(n){}},[c.otpMethod]);var X,Y,ee,en,et,ei,er,ea=function(){var e=c.phoneNum,t=c.email,i="שלחנו לך קוד לכתובת המייל ".concat(t);"MAIL"!==c.otpMethod&&(t="".concat(e.substr(0,3),"-").concat(e.substr(3)),i="שלחנו עכשיו SMS למספר ".concat(t,". מה הקוד שמופיע בו?"),"VOICE"===c.otpMethod&&(i="בשניות הקרובות נתקשר לטלפון ".concat(t," ונשמיע לך קוד בן 6 ספרות."))),("1"===n||"3"===n)&&(D(c.otpMethod),O({title:"כניסה לאזור האישי",subTitle:i,submitLinkText:E[c.otpMethod].link,ariaLabelTitle:i})),"4"===n&&(D(c.otpMethod),O({title:W,subTitle:i,submitLinkText:E[c.otpMethod].link,ariaLabelTitle:i}),K("info"))},eo=function(e){c.isSubmitError&&!F&&("999"!==h.errorCode||"99"!==h.errorCode)&&p((0,a.Z)((0,r.Z)({},c),{isSubmitError:!1,errorContainer:!1})),b((0,a.Z)((0,r.Z)({},h),{errorOtp:!1,otpNumber:e}))},es=function(e,n,t){p((0,a.Z)((0,r.Z)({},c),{isSubmitted:!0,isSubmitError:!0,otpErrCode:n})),b((0,a.Z)((0,r.Z)({},h),{errorOtp:!0,errorCode:n,errorMessage:e,link:t})),ed()},el=(X=(0,i.Z)(function(e){var n;return(0,s.__generator)(this,function(t){switch(t.label){case 0:if(e.preventDefault(),_)return[3,3];if(6===h.otpNumber.length)return[3,1];return es(I.Z.otpMessageErrorLen,"6",""),[3,3];case 1:return U(!0),[4,w(h.otpNumber,c)];case 2:"00"===(n=t.sent()).returnCode&&(null==c?void 0:c.identificationByMail)?(K("ok"),(0,Z.R)({processName:"תקשורת רב ערוצית",eventName:"תקשורת רב ערוצית - לקוח עבר תהליך זיהוי - הצלחה",processDisplayName:"תקשורת רב ערוצית",documentID:c.departmentId,officeId:c.uuid,uuid:c.uuid,insuredId:c.id,insuredIdType:c.insuredIdType}),$(n.redirectUrl)):("06"===n.returnCode||"51"===n.returnCode||"52"===n.returnCode)&&(null==c?void 0:c.identificationByMail)?((0,Z.R)({processName:"תקשורת רב ערוצית",eventName:"תקשורת רב ערוצית - הצגת מסך כישלון בזיהוי - הצלחה",processDisplayName:"תקשורת רב ערוצית",documentID:c.departmentId,officeId:c.uuid,uuid:c.uuid,insuredId:c.id,insuredIdType:c.insuredIdType}),K("error"),V(!0)):n&&"string"==typeof n&&n.match(RegExp(I.Z.urlRegex))?(window.onbeforeunload=function(){},(null==c?void 0:c.ruuid)&&(0,Z.R)({eventName:"בנקאות פתוחה - הזנקת רכיב הסכמות - הצלחה",uuid:c.uuid,insuredId:c.id}),window.location.replace(n)):n&&(null==n?void 0:n.returnCode)==="00"&&(null==n?void 0:n.redirectUrl)?window.location.replace(n.redirectUrl):n&&n.returnCode&&"00"!==n.returnCode?((null==c?void 0:c.ruuid)&&(0,Z.R)({eventName:"בנקאות פתוחה - הזנקת רכיב הסכמות - כישלון",uuid:c.uuid,insuredId:c.id}),"88"===n.returnCode&&V(!0),U(!1),es(n.returnMessage,n.returnCode,"verify")):((null==c?void 0:c.ruuid)&&(0,Z.R)({eventName:"בנקאות פתוחה - הזנקת רכיב הסכמות - כישלון",uuid:c.uuid,insuredId:c.id}),U(!1),es("","99","verify")),t.label=3;case 3:return[2]}})}),function(e){return X.apply(this,arguments)}),eu=(Y=(0,i.Z)(function(e){var n,t;return(0,s.__generator)(this,function(i){switch(i.label){case 0:return T(!1),D(e),n=(0,a.Z)((0,r.Z)({},c),{otpMethod:e}),[4,(0,Z.R)({eventName:"בקשה לשליחת קוד OTP חדש",uuid:c.uuid,insuredId:c.id})];case 1:return i.sent(),[4,(0,M.Z)(n)];case 2:return"00"!==(t=i.sent()).returnCode?("88"===t.returnCode&&V(!0),es(t.returnMessage,t.returnCode,"sendAgain")):(b((0,a.Z)((0,r.Z)({},m),{resetValues:!h.resetValues})),p((0,a.Z)((0,r.Z)({},c),{isSubmitted:!1,isSubmitError:!1,otpMethod:e}))),[2]}})}),function(e){return Y.apply(this,arguments)}),ed=function(){return setTimeout(function(){var e=document.querySelectorAll("div.Mui-error input");if(e.length){var n=e[0];n&&n.focus()}},100)},ec=function(){(0,Z.R)({eventName:"error"===H?'תקשורת רב ערוצית - זיהוי לקוח - מעבר לדף הבית ממסך כישלון - הצלחה"':"תקשורת רב ערוצית - זיהוי לקוח - מעבר לאזור האישי - הצלחה",uuid:c.uuid,insuredId:c.id}),window.location.href=J},ep=(ee=(0,i.Z)(function(){var e,n;return(0,s.__generator)(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),e="error"===H?"תקשורת רב ערוצית - זיהוי לקוח - מעבר לדף הבית ממסך כישלון - הצלחה":"תקשורת רב ערוצית - זיהוי לקוח - מעבר לדף הבית ממסך הצלחה - הצלחה",(0,Z.R)({eventName:e,uuid:c.uuid,insuredId:c.id}),[4,fetch((null==c?void 0:c.customerLoginUrl)+"logout/?noRedirect=true",{method:"GET",redirect:"error"})];case 1:case 2:return n.sent(),window.location.href=c.homePageUrl,[3,3];case 3:return[2]}})}),function(){return ee.apply(this,arguments)});return(0,l.jsxs)(B,{loginProps:c,className:"'OtpVerify' ".concat((null==c?void 0:c.identificationByMail)?"identification-by-mail":""),children:[("1"===n||"3"===n||"4"===n&&"info"===H)&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h1",{id:"title",className:"headerTitle ".concat((null==c?void 0:c.identificationByMail)?"identificationByMailHeaderTitle":""),style:{paddingTop:c.isSubmitError&&h.link&&("999"===h.errorCode||"99"===h.errorCode)?"10px":"76px"},children:L.title}),(0,l.jsx)("h5",{id:"sub-title",className:"subTitle",children:L.subTitle}),"1"===n&&"VOICE"===A&&(0,l.jsx)("h5",{id:"sub-voice-title",className:"subTitleVoice",children:"מה הקוד?"})]}),"error"===H&&(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:"identification-by-mailerror",children:[(0,l.jsx)("h1",{id:"title",className:"headerTitle ".concat((null==c?void 0:c.identificationByMail)?"identificationByMailHeaderTitle":""),children:W}),(0,l.jsx)("h5",{id:"sub-title",className:"identification-by-mail-subTitle",children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"identification-by-mail-p",children:"פנייתך הועברה לטיפול על-ידי נציג."}),(0,l.jsx)("span",{className:"identification-by-mail-p",children:"אנו ניצור קשר תוך יום עסקים אחד."}),(0,l.jsx)("span",{className:"identification-by-mail-p newline",children:"* לידיעתך – ייתכן ונידרש לפרטים מזהים נוספים בשיחה עם נציג."}),(0,l.jsx)("span",{className:"identification-by-mail-p newline",children:"המשך יום נעים, "}),(0,l.jsx)("span",{className:"identification-by-mail-p",children:"מנורה מבטחים."})]})}),(0,l.jsx)("div",{className:"submit-btn",children:(0,l.jsx)(x.Z,{handleSubmit:ep,submitBtnText:"חזרה לעמוד הבית",dataMnrBo:"back-to-customer-login-page-btn",method:c.otpMethod,isDisplay:!0})})]})}),"ok"===H&&(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:"identification-by-mailok",children:[(0,l.jsx)("h1",{id:"title",className:"headerTitle ".concat((null==c?void 0:c.identificationByMail)?"identificationByMailHeaderTitle":""),children:W}),(0,l.jsx)("h5",{id:"sub-title",className:"identification-by-mail-subTitle",children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"identification-by-mail-p",children:"פנייתך הועברה לטיפול על-ידי נציג."}),(0,l.jsx)("span",{className:"identification-by-mail-p",children:"אנו ניצור קשר תוך יום עסקים אחד."}),(0,l.jsx)("span",{className:"identification-by-mail-p newline",children:"המשך יום נעים, "}),(0,l.jsx)("span",{className:"identification-by-mail-p",children:"מנורה מבטחים."})]})}),(0,l.jsx)("div",{className:"submit-btn",children:(0,l.jsx)(x.Z,{handleSubmit:ec,submitBtnText:"כניסה לאזור אישי",dataMnrBo:"back-to-customer-login-page-btn",submitLinkText:"חזרה לעמוד הבית",method:c.otpMethod,handleSubmitLink:ep,isDisplay:!0})})]})}),"ok"!==H&&"error"!==H&&(0,l.jsxs)("form",{children:[(0,l.jsx)(y,{ref:Q,onChange:eo,numInputs:6,ariaLabelTitle:"2"===n?"MAIL"===c.otpMethod?I.Z.ariaLabelSaveMail:I.Z.ariaLabelSaveTitle:L.ariaLabelTitle,type:"tel",hasErrored:h.errorOtp,resetValues:h.resetValues,errorStyle:"otpErrorStyle",shouldAutoFocus:!0,containerStyle:"otpWrapper",inputContainer:{marginRight:"5px",marginLeft:"5px"},inputStyle:{width:"28px"}}),c.isSubmitError&&(0,l.jsx)("div",{className:"errorContainer",children:(0,l.jsx)(g.Z,{children:"999"===h.errorCode||"99"===h.errorCode?(et=I.Z.errGeneralOtpMail,("SMS"===A?(en="שיחה",et=I.Z.errGeneralOtpSms):"VOICE"===A&&(en="SMS",et=I.Z.errGeneralOtpVoice),"verify"===h.link)?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"error",id:"err",tabIndex:0,children:I.Z.errGeneral}),(0,l.jsx)("br",{}),(0,l.jsx)("span",{className:"error",tabIndex:0,children:" מה אפשר לעשות?"}),(0,l.jsxs)("ul",{style:{margin:"0",padding:"inherit"},children:[(0,l.jsx)("li",{className:"error",tabIndex:0,children:"לנסות שוב מאוחר יותר"}),(0,l.jsxs)("li",{className:"error",tabIndex:0,children:["לקבל שירות ",(0,l.jsx)(k.Z,{style:{fontSize:"14px",padding:0,width:"auto"},variant:"text",color:"primary","data-mnr-bo":"support-link",onClick:t,children:"במוקד הטלפוני"})]})]})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"error",id:"err",tabIndex:0,children:et}),(0,l.jsx)("br",{}),(0,l.jsx)("span",{className:"error",tabIndex:0,children:" מה אפשר לעשות?"}),(0,l.jsxs)("ul",{style:{margin:"0",padding:"inherit"},children:[en&&(0,l.jsxs)("li",{className:"error",tabIndex:0,children:["לקבל את הקוד ב-",en]}),(0,l.jsx)("li",{className:"error",tabIndex:0,children:"לנסות שוב מאוחר יותר"})]})]})):(0,l.jsx)("span",{className:"error",id:"err",tabIndex:"0",children:h.errorMessage})})}),!F&&(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"submit-btn",children:(0,l.jsx)(x.Z,{handleSubmit:el,submitBtnText:"אישור",dataMnrBo:"send-code
1-btn",submitLinkText:L.submitLinkText,method:c.otpMethod,handleSubmitLink:function(){return eu(c.otpMethod)},isDisplay:"1"===n&&j})}),("2"===n||"3"===n)&&j&&(ei="תנו לי את הקוד בשיחה",er="VOICE","VOICE"===c.otpMethod?ei="תתקשרו אליי שוב ":"MAIL"===c.otpMethod&&(ei="הקוד לא הגיע. תשלחו לי שוב",er="MAIL"),(0,l.jsxs)("div",{children:["SMS"===c.otpMethod&&(0,l.jsx)(k.Z,{onClick:function(){return eu("SMS")},type:"button","data-mnr-bo":"phone-call-btn",variant:"text",className:"phone-code-link",color:"primary",style:{width:"auto"},"aria-label":"שלחו לי שוב קוד או המשך כדי לקבל את הקוד בשיחה",children:"שלחו לי שוב >"}),"SMS"===c.otpMethod&&(0,l.jsx)("span",{className:"separator",children:"|"}),(0,l.jsxs)(k.Z,{onClick:function(){return eu(er)},type:"button","data-mnr-bo":"phone-call-btn",variant:"text",className:"phone-code-link",color:"primary",style:{width:"auto"},"aria-label":ei,children:[" ",ei," >"]})]})),!j&&(0,l.jsxs)("div",{className:"timeContainer",children:[(0,l.jsx)(N,{time:60,size:30,setIsTimeOver:T}),(0,l.jsx)("span",{tabIndex:0,"aria-label":"יש להמתין 60 שניות כדי לבקש שוב את הקוד",className:"timeText",children:"הקוד בדרך..."})]})]})]})]})},B=d.ZP.div.withConfig({componentId:"sc-fa85d7e4-0"})(L(),function(e){return e.theme.desktopSize},function(e){return e.theme.desktopSize},function(e){return e.theme.desktopSize},function(e){return e.loginProps.isSubmitError?"20px":"60px"},function(e){return e.theme.desktopSize}),z=O},87288:function(e,n,t){var i=t(27378);n.Z=i.createContext()},12961:function(e,n,t){var i,r=t(23842),a=t(85556),o=t(32228),s=t(6687),l=(i=(0,r.Z)(function(e){var n,t,i,r,l,u,d,c,p,m,f,h,b;return(0,a.__generator)(this,function(a){switch(a.label){case 0:n=e.id,t=e.mode,i=e.phoneNum,r=e.uuid,l=e.otpMethod,u=e.email,d=e.idType,c=window.location.search,p="./api/v1/auth-login".concat(c?"/"+c:""),m={insuredId:n,idType:d,secondIdentifierTypeID:t,uuid:r,otpMethod:l},u&&""!==u&&(m.email=u),"SMS"===l||"VOICE"===l?m.secondIdentifierValue=i:"MAIL"===l&&(m.email=u),a.label=1;case 1:return a.trys.push([1,4,,5]),[4,fetch(p,{method:"POST",headers:{"Content-Type":"application/json","x-cookies-enabled":navigator?navigator.cookieEnabled:"unknown"},body:JSON.stringify(m)})];case 2:return[4,a.sent().json()];case 3:return[2,a.sent().data];case 4:return a.sent(),b={returnCode:"99",returnMessage:"שגיאה כללית"},(0,o.R)((0,s.$)(r,n,i,l,"99")),[2,b];case 5:return[2]}})}),function(e){return i.apply(this,arguments)});n.Z=l},32228:function(e,n,t){t.d(n,{R:function(){return r}});var i=t(85034),r=function(e){if(!window.location.search.includes("isSkipSynthetic"))try{var n=(0,i.Z)({},e),t={method:"POST",body:JSON.stringify(n),headers:{"Content-Type":"application/json"}};fetch("./api/v1/log-bam",t)}catch(r){}}},6687:function(e,n,t){t.d(n,{$:function(){return r},F:function(){return o}});var i=t(85034),r=function(e,n,t,i,r){var o=a(i);return{eventName:"00"===r?o.eventNameSuccess:o.eventNameFailed,uuid:e,insuredId:n,phoneNumber:t,secondFactorTypeId:"1",otpType:o.otpType,serviceReturnCode:r}},a=function(e){var n="שליחת קוד ב SMS - הצלחה",t="שליחת קוד ב SMS - כישלון",i=1;return"VOICE"===e&&(n="שליחת קוד בשיחה - הצלחה",t="שליחת קוד בשיחה - כישלון",i=3),{eventNameSuccess:n,eventNameFailed:t,otpType:i}},o=function(e,n,t){var r=t.id,a=t.uuid,o=t.idType,s=t.phoneNum,l=t.email,u=t.mode,d=1===n?"ניסיון ראשון":"ניסיון שני";return(0,i.Z)({eventName:"SMS"===e?"לחיצה על שליחת קוד בהודעה - ".concat(d):"לחיצה על שליחת קוד בשיחה - ".concat(d),uuid:a,insuredId:r,insuredIdType:o,secondFactorTypeId:u},s&&{phoneNumber:s},l&&{email:l})}}}]);

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.