1try{let 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]="d658bcd3-e018-4d59-9ab2-ed5827586197",e._sentryDebugIdIdentifier="sentry-dbid-d658bcd3-e018-4d59-9ab2-ed5827586197")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5266],{18552:function(e,t,r){var n=r(10852)(r(55639),"DataView");e.exports=n},57071:function(e,t,r){var n=r(10852)(r(55639),"Map");e.exports=n},53818:function(e,t,r){var n=r(10852)(r(55639),"Promise");e.exports=n},58525:function(e,t,r){var n=r(10852)(r(55639),"Set");e.exports=n},70577:function(e,t,r){var n=r(10852)(r(55639),"WeakMap");e.exports=n},9454:function(e,t,r){var n=r(44239),o=r(37005);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},28458:function(e,t,r){var n=r(23560),o=r(15346),c=r(13218),a=r(80346),u=/^\[object .+?Constructor\]$/,s=Object.prototype,i=Function.prototype.toString,p=s.hasOwnProperty,l=RegExp("^"+i.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!c(e)||o(e))&&(n(e)?l:u).test(a(e))}},38749:function(e,t,r){var n=r(44239),o=r(41780),c=r(37005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return c(e)&&o(e.length)&&!!a[n(e)]}},280:function(e,t,r){var n=r(27360),o=r(86916),c=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))c.call(e,r)&&"constructor"!=r&&t.push(r);return t}},7518:function(e){e.exports=function(e){return function(t){return e(t)}}},14429:function(e,t,r){var n=r(55639)["__core-js_shared__"];e.exports=n},10852:function(e,t,r){var n=r(28458),o=r(47801);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},64160:function(e,t,r){var n=r(18552),o=r(57071),c=r(53818),a=r(58525),u=r(70577),s=r(44239),i=r(80346),p="[object Map]",l="[object Promise]",f="[object Set]",d="[object WeakMap]",y="[object DataView]",h=i(n),b=i(o),v=i(c),m=i(a),x=i(u),j=s;(n&&j(new n(new ArrayBuffer(1)))!=y||o&&j(new o)!=p||c&&j(c.resolve())!=l||a&&j(new a)!=f||u&&j(new u)!=d)&&(j=function(e){var t=s(e),r="[object Object]"==t?e.constructor:void 0,n=r?i(r):"";if(n)switch(n){case h:return y;case b:return p;case v:return l;case m:return f;case x:return d}return t}),e.exports=j},47801:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},15346:function(e,t,r){var n,o=r(14429),c=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!c&&c in e}},27360:function(e){var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor,n="function"==typeof r&&r.prototype||t;return e===n}},86916:function(e,t,r){var n=r(5569)(Object.keys,Object);e.exports=n},31167:function(e,t,r){e=r.nmd(e);var n=r(31957),o=t&&!t.nodeType&&t,c=o&&e&&!e.nodeType&&e,a=c&&c.exports===o&&n.process,u=function(){try{var e=c&&c.require&&c.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=u},5569:function(e){e.exports=function(e,t){return function(r){return e(t(r))}}},80346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},35694:function(e,t,r){var n=r(9454),o=r(37005),c=Object.prototype,a=c.hasOwnProperty,u=c.propertyIsEnumerable,s=n(function(){return arguments}())?n:function(e){return o(e)&&a.call(e,"callee")&&!u.call(e,"callee")};e.exports=s},1469:function(e){var t=Array.isArray;e.exports=t},98612:function(e,t,r){var n=r(23560),o=r(41780);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},44144:function(e,t,r){e=r.nmd(e);var n=r(55639),o=r(95062),c=t&&!t.nodeType&&t,a=c&&e&&!e.nodeType&&e,u=a&&a.exports===c?n.Buffer:void 0,s=u?u.isBuffer:void 0;e.exports=s||o},23560:function(e,t,r){var n=r(44239),o=r(13218);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},41780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},36719:function(e,t,r){var n=r(38749),o=r(7518),c=r(31167),a=c&&c.isTypedArray,u=a?o(a):n;e.exports=u},95062:function(e){e.exports=function(){return!1}},53210:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return F},default:function(){return E}});var n=r(50029),o=r(17674),c=r(87794),a=r.n(c),u=r(11699),s=r(53756),i=r(5152),p=r.n(i),l=r(11163),f=r(67294),d=r(41248),y=r(7226),h=r(2696),b=r(64629),v=r(53812),m=r(46245),x=r(57347),j=r(93346),g=r(81446),w=r(61090),k=r(39800),_=r(59794),D=r(8752),A=r(13251),C=r(85893),T=p()(function(){return Promise.all([r.e(2488),r.e(9433),r.e(1959),r.e(8080)]).then(r.bind(r,18080))},{ssr:!1,loadableGenerated:{webpack:function(){return[18080]}}}),S=p()(function(){return Promise.all([r.e(2488),r.e(9433),r.e(1641)]).then(r.bind(r,68573))},{ssr:!1,loadableGenerated:{webpack:function(){return[68573]}}}),F=!0;function E(){var e,t,r,c=(0,l.useRouter)(),i=c.query.phone,p=c.query.hint,F=c.query.message,E=c.query.retryText,q=c.query.secondsToRetry,O=(0,g.au)(1e3*parseInt(q,10)),P=(0,o.Z)(O,2),R=P[0],V=P[1].start,I=x.t.authCodePageView,U=x.t.isEnterNamePageEnabled,Z=x.t.isShowAllCheckBoxes,$=(0,s.$G)("common").t,N=A.s.object().shape({code:A.s.string().required($("code.enterCode"))}),M=(0,y.TL)(),B=(0,d.v9)(function(e){return e.security.captchaV2Key}),K=(0,d.v9)(function(e){return e.security.captchaV3Key}),X=(0,d.v9)(function(e){return e.security}).captchaKind,G=(0,f.useState)(!1),L=G[0],W=G[1],H=(0,f.useState)({hint:p,message:F,retryText:E}),Y=H[0],z=H[1],J=(0,f.useState)(!1),Q=J[0],ee=J[1],et=(0,f.useState)(void 0),er=et[0],en=et[1],eo=(0,f.useState)(void 0),ec=eo[0],ea=eo[1],eu=(0,f.useState)(!1),es=eu[0],ei=eu[1],ep=(0,f.useRef)(!1),el=(e=(0,n.Z)(a().mark(function e(){var t;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,w.H3.loadUser();case 2:if(t=e.sent,!Z){e.next=9;break}return e.next=6,w.H3.updateUser({offerConsent:!0,personalDataConsent:!0}).then(function(){M((0,h.av)(t)),D.E.removeItem("smsAndEmail")});case 6:e.sent,e.next=10;break;case 9:M((0,h.av)(t));case 10:return e.abrupt("return",t);case 11:case"end":return e.stop()}},e)})),function(){return e.apply(this,arguments)}),ef=(t=(0,n.Z)(a().mark(function e(t,r){var n,o,u,s,p,l;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,W(!0),ep.current||(ep.current=!0,w.yD.authFunnelOtpSubmitted({funnel_variant:"page"})),e.next=5,w.e8.login(i,t.code);case 5:return ee(!0),e.prev=6,e.next=9,el();case 9:return n=e.sent,e.next=12,w.H3.loadDeliveryAddresses();case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(6),console.error("Post-login operations failed:",e.t0);case 17:w.yD.authPageConfirmCodeEnter(),w.yD.authFormAuthComplete(),w.yD.authFunnelCompleted({auth_method:"sms",funnel_variant:"page"}),k.Z.clear(),n&&!n.getFI()&&U?c[c.query.backUrl?"replace":"push"]({pathname:"/enter-name",query:{backUrl:null!==(o=c.query.backUrl)&&void 0!==o?o:null,promocode:null!==(u=c.query.promocode)&&void 0!==u?u:null}},void 0):c.query.backUrl?c.replace({pathname:c.query.backUrl,query:{promocode:null!==(s=c.query.promocode)&&void 0!==s?s:null}}):(c.replace("/"),w.yD.navigationToMainPage()),e.next=29;break;case 24:e.prev=24,e.t1=e.catch(0),ep.current=!1,w.yD.authFunnelFailed({auth_method:"sms",funnel_variant:"page",reason:(0,m.D)(e.t1)}),e.t1 instanceof b.Xm?null!==(p=(l=(0,b.Tj)(e.t1).errors).code)&&void 0!==p&&p.key.includes(v.Z.codeInvalid)?(r({code:$("errors.wrongCode")}),w.yD.authFormEnterIncorrectCode()):(0,_.$l)(l[0].message):console.error("Auth error:",e.t1);case 29:return e.prev=29,W(!1),e.finish(29);case 32:case"end":return e.stop()}},e,null,[[0,24,29,32],[6,14]])}
1)),function(e,r){return t.apply(this,arguments)}),ed=(r=(0,n.Z)(a().mark(function e(t,r){var n,o,s,p,l,f,d,y;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,W(!0),n="smartcaptcha"===X?null:es?{recaptchaResponse:r,recaptchaVersion:2,recaptchaKey:B}:{recaptchaResponse:er,recaptchaVersion:3,recaptchaKey:K},es&&B?w.yD.authFormRecaptchaV2Check():K&&w.yD.authFormRecaptchaV3Check(),e.next=6,w.e8.startLogin(i,null==n?void 0:n.recaptchaResponse,null==n?void 0:n.recaptchaVersion,null==n?void 0:n.recaptchaKey,ec);case 6:o=e.sent,s=(0,u.Z)(o.retryAfter,new Date),w.yD.authFormEnterPhoneNumber(),z({hint:o.hint,message:o.message,retryText:o.retryText}),c.replace({query:{phone:i,backUrl:c.query.backUrl}}),setTimeout(function(){V(1e3*s)},100),t({}),e.next=20;break;case 15:e.prev=15,e.t0=e.catch(0),e.t0 instanceof b.Xm&&(null!==(p=(f=(0,b.Tj)(e.t0).errors).limits)&&void 0!==p&&p.key.includes(v.Z.limitsExceed)?t({code:$("errors.limits")}):null!==(l=f.phone)&&void 0!==l&&l.key.includes(v.Z.phoneInvalid)?t({code:$("errors.phone")}):(0,_.$l)(f[0].message)),e.t0 instanceof b.lY&&null!==(d=e.t0.data)&&void 0!==d&&null!==(y=d.base)&&void 0!==y&&y.some(function(e){return(null==e?void 0:e.key)===v.Z.captchaVerify})&&(es?w.yD.authFormRecaptchaV2Deny():w.yD.authFormRecaptchaV3Deny(),ei(!0)),e.t0 instanceof b.Xm||e.t0 instanceof b.lY||console.error("Resend code error:",e.t0);case 20:return e.prev=20,W(!1),e.finish(20);case 23:case"end":return e.stop()}},e,null,[[0,15,20,23]])})),function(e,t){return r.apply(this,arguments)});switch((0,f.useEffect)(function(){V()},[]),I){case j._g.base:return(0,C.jsx)(T,{authComplete:Q,authContent:Y,countdown:R,handleSubmitForm:ef,isLoading:L,phone:i,resendCode:ed,setRecaptchaV3Token:en,setShowRecaptchaV2:ei,setSmartCaptchaToken:ea,showRecaptchaV2:es,validationSchema:N,smartCaptchaToken:ec});case j._g.cofixOrder:return(0,C.jsx)(S,{authComplete:Q,authContent:Y,countdown:R,handleSubmitForm:ef,isLoading:L,phone:i,resendCode:ed,validationSchema:N});default:return null}}},77907:function(e,t,r){"use strict";r.d(t,{Jr:function(){return c},Wl:function(){return o},xn:function(){return n}});var n=/^(\+7|7|8)?[\s\-]?\(?[6,7,9][0-9]{2}\)?[\s\-]?[0-9]{3}[\s\-]?[0-9]{2}[\s\-]?[0-9]{2}$/,o=/[^0-9a-zA-Z]+/g,c=/[^0-9]+/g},13251:function(e,t,r){"use strict";r.d(t,{s:function(){return a},y:function(){return u}});var n=r(7258),o=r(38586),c=r(77907),a=n,u=a.string().required(" ").transform(function(e){return(0,o.Tv)(e)}).matches(c.xn,"невеÑнÑй ÑоÑмаÑ")},33681:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/confirm-code",function(){return r(53210)}])}},function(e){e.O(0,[7258,9774,2888,179],function(){return e(e.s=33681)}),_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.