1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5870],{84155:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/zibalpaymentonlineconfirm",function(){return t(5674)}])},18685:function(n,e,t){"use strict";function useZibalOrderOnlineConfirmPage(){let getOnlineOrderPaymentData=async n=>{try{let e=await fetch("/api/order/confirmonlineorder",{method:"POST",body:JSON.stringify(n)}),t=await e.json();return t}catch(n){console.error(n)}},getOnlinePaymentData=async n=>{try{let e=await fetch("/api/order/confirmonlinepayment",{method:"POST",body:JSON.stringify(n)}),t=await e.json();return t}catch(n){console.error(n)}};return{getOnlinePaymentData,getOnlineOrderPaymentData}}t.d(e,{Z:function(){return useZibalOrderOnlineConfirmPage}})},5674:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return h},default:function(){return Index}});var r=t(85893),a=t(98456),i=t(15861),s=t(11163),o=t(67294),l=t(16789),u=t(5768),c=t(76756),d=t(7448),m=t(18685),f=t(97016),zibal_ZibalPaymentOnlineConfirmPage=({data:n})=>{let{getOnlinePaymentData:e}=(0,m.Z)(),{setCurrentOrderID:t}=(0,o.useContext)(f.V),h=(0,s.useRouter)(),[x,y]=(0,o.useState)(!1);async function start(){200==n.state?200==(await e(n)).state&&(t(n.resault.orderID),h.push(n.resault.url)):(t(n.resault.orderID),h.push(n.resault.url))}return(0,o.useEffect)(()=>{n?start():(y(!0),h.push(l.Z.home.url))},[]),(0,r.jsx)(d.Z,{children:(0,r.jsx)(c.Z,{Top:!0,Bottom:!0,children:(0,r.jsxs)(u.Z,{col:!0,sx:{alignItems:"center",minHeight:"300px",width:{xs:1,sm:"50%"},justifyContent:"center",mx:"auto"},className:"p-border",children:[(0,r.jsx)(a.Z,{}),(0,r.jsx)(i.Z,{sx:{color:"black.main",typography:{xs:"h4-70",md:"h3-70"}},children:x?"در ØØ§Ù Ø§ÙØªÙØ§Ù Ø¨Ù ØµÙØÙ Ø§ØµÙÛ":" در ØØ§Ù Ø¯Ø±ÛØ§Ùت Ø§Ø·ÙØ§Ø¹Ø§Øª از باÙÚ©"}),(0,r.jsxs)(u.Z,{NoPadding:!0,xsGap:!0,sx:{alignItems:"center"},children:[(0,r.jsx)(i.Z,{sx:{color:"black.main",typography:{xs:"h4-70",md:"h3-70"}},children:"ÙØ·Ùا Ø´Ú©ÛØ¨Ø§ Ø¨Ø§Ø´ÛØ¯"}),(0,r.jsx)(i.Z,{className:"loading-animation",sx:{width:"30px"}})]})]})})})},h=!0;function Index({data:n}){return(0,r.jsx)(zibal_ZibalPaymentOnlineConfirmPage,{data:n})}}},function(n){n.O(0,[9774,2888,179],function(){return n(n.s=84155)}),_N_E=n.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.