1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[154],{71383:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/checkout/payment-status",function(){return s(82167)}])},1597:function(e,t,s){"use strict";var n=s(85893),a=s(24594),l=s(65883),r=s(87483);t.Z=function(e){var t=e.children,s=e.className,i=e.defaultPadding,c=e.withoutHeader,u=e.withoutFooter;return(0,n.jsxs)(n.Fragment,{children:[!(void 0!==c&&c)&&(0,n.jsx)(a.Z,{}),(0,n.jsx)(l.Z,{className:"bg-base-50 w-full grow pb-14 md:pb-3 ".concat(s||""),defaultPadding:void 0!==i&&i,children:t}),!(void 0!==u&&u)&&(0,n.jsx)(r.Z,{className:"hidden md:block"})]})}},15669:function(e,t,s){"use strict";var n=s(26042),a=s(69396),l=s(99534),r=s(85893);t.Z=function(e){var t=e.children,s=e.className,i=(0,l.Z)(e,["children","className"]);return(0,r.jsx)("h1",(0,a.Z)((0,n.Z)({className:"text-2xl lg:text-4xl ".concat(void 0===s?"":s)},i),{children:t}))}},82167:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return N},default:function(){return j}});var n=s(85893),a=s(11163),l=s(47568),r=s(828),i=s(97582),c=s(67294),u=s(25617),d=s(1597),m=s(15669),o=s(8223),x=s(6609),f=s(86521),h=s(82375),p=s(33645),v=s(8251),w=function(e){var t=e.paymentId,s=(0,u.I0)(),a=(0,r.Z)((0,c.useState)(null),2),w=a[0],N=a[1],j=(0,u.v9)(p.Jj);return(0,c.useEffect)(function(){var e;(e=(0,l.Z)(function(){return(0,i.__generator)(this,function(e){switch(e.label){case 0:if(!t)return[3,2];return s((0,h.hJ)()).unwrap(),[4,s((0,v.J)({body:{ReferenceId:t}})).unwrap()];case 1:N(e.sent().data),e.label=2;case 2:return[2]}})}),function(){return e.apply(this,arguments)})()},[t]),(0,n.jsxs)(d.Z,{className:"flex flex-col items-center !bg-white",children:[(null==w?void 0:w.Status)==="NotPaid"&&(0,n.jsxs)("section",{className:"flex flex-col items-center bg-white px-3",children:[(0,n.jsx)(m.Z,{className:"my-2 text-center",children:"ÐеÑÑпеÑно плаÑане"}),(0,n.jsx)("div",{className:"max-w-sm",children:(0,n.jsx)("img",{src:"/images/payment-failure.png",width:"100%",alt:"неÑÑпеÑно-плаÑане"})}),!!((null==j?void 0:j.MaxPayAttempts)-(null==j?void 0:j.PayAttempts))&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("p",{className:"my-3 font-serif",children:["ÐÑÑаваÑи опиÑи: ",(null==j?void 0:j.MaxPayAttempts)-(null==j?void 0:j.PayAttempts)]}),(0,n.jsx)(o.Z,{label:"ÐпиÑай пак",onClick:function(){return s((0,v.P)())}})]})]}),(null==w?void 0:w.Status)==="Paid"&&(0,n.jsxs)("section",{className:"flex max-w-4xl flex-col items-center bg-white px-3",children:[!!w.OrderId&&(0,n.jsxs)("p",{className:"mb-12 mt-4",children:["ÐÑиеÑа е поÑÑÑка Ñ Ð½Ð¾Ð¼ÐµÑ: ",w.OrderId]}),(0,n.jsx)("div",{className:"max-w-sm",children:(0,n.jsx)("img",{src:"/images/payment-success.png",alt:"ÑÑпеÑно-плаÑане"})}),(0,n.jsxs)("p",{className:"text-base-500 my-3 text-center text-sm",children:["Ðа поÑоÑÐµÐ½Ð¸Ñ Ð¾Ñ Ñеб имейл Ñе полÑÑÐ¸Ñ Ð¿Ð¾Ð´Ñобна инÑоÑмаÑÐ¸Ñ Ð¸ инÑÑÑÑкÑÐ¸Ñ Ð·Ð° ÑледваÑиÑе ÑÑÑпки. ÐÐ¾Ð¶ÐµÑ Ð´Ð° ÑпÑавлÑÐ²Ð°Ñ ÑÑлÑгиÑе Ñи леÑно и Ñдобно пÑез пÑоÑила Ти в ",(0,n.jsx)(x.Z,{isExternal:!0,className:"text-primary",href:"/moyat-a1-upravlyavay-sam-svoite-uslugi",children:"ÐоÑÑ Ð1."})]}),(0,n.jsx)("div",{className:"fixed bottom-0 left-0 z-20 w-full bg-white px-2 py-1 sm:static sm:w-auto sm:bg-transparent sm:pt-3 lg:mt-10",children:(0,n.jsx)(f.Z,{href:"/",isExternal:!0,label:"ÐÑодÑлжи да пазаÑÑваÑ",className:"w-full text-center sm:w-auto "})})]})]})},N=!0,j=function(){var e=(0,a.useRouter)();return(0,n.jsx)(w,{paymentId:e.query.id})}}},function(e){e.O(0,[774,888,179],function(){return e(e.s=71383)}),_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.