1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5921],{13618:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/failorder",function(){return r(43466)}])},52017:function(e,t,r){"use strict";var s=r(85893),n=r(98456),i=r(15861),a=r(5768);t.Z=()=>(0,s.jsxs)(a.Z,{col:!0,className:"p-border",sx:{alignItems:"center",minHeight:"300px",justifyContent:"center"},children:[(0,s.jsx)(n.Z,{}),(0,s.jsx)(i.Z,{sx:{color:"black.main",typography:{xs:"h5-70",md:"h4-70"},textAlign:"center"},children:"در ØØ§Ù Ø§ÙØªÙØ§Ù Ø¨Ù ØµÙØÙ Ø§ØµÙÛ"}),(0,s.jsxs)(a.Z,{NoPadding:!0,xsGap:!0,sx:{alignItems:"center"},children:[(0,s.jsx)(i.Z,{sx:{color:"black.main",typography:{xs:"h4-70",md:"h3-70"}},children:"ÙØ·Ùا Ø´Ú©ÛØ¨Ø§ Ø¨Ø§Ø´ÛØ¯"}),(0,s.jsx)(i.Z,{className:"loading-animation",sx:{width:"30px"}})]})]})},67638:function(e,t,r){"use strict";r.d(t,{n:function(){return useConfirmOrderPage}});var s=r(12283),n=r(67294);let useConfirmOrderPage=()=>{let{fireSnackbar:e}=(0,n.useContext)(s.S),getConfirmData=async t=>{if(t){e({variant:"loading"},!0);try{let r=await fetch("/api/confirmorder/confirmorder",{method:"POST",body:JSON.stringify(t)}),s=await r.json();return e({variant:"loading"},!1),s}catch(t){e({variant:"loading"},!1)}}};return{getConfirmData}}},43466:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return j},default:function(){return Index}});var s=r(85893),n=r(67294),i=r(76756),a=r(29185),o=r(7448),c=r(67638),l=r(15861),d=r(25062),u=r(74910),x=r(5768),h=r(14538),m=r(61631),g=r(16789),components_UnsuccessfulOrder=({data:e})=>{let{isSmall:t}=(0,d.Z)();return(0,s.jsxs)(x.Z,{col:!0,sx:{alignItems:"center",backgroundColor:"white.main"},className:"p-border",children:[(0,s.jsx)(h.Z,{Static:!0,width:t?200:250,height:t?200:250,src:"/assets/vector/Unsuccess-Payment-01.svg",alt:"successful-order icon"}),(0,s.jsx)(l.Z,{sx:{color:"error.main",typography:{xs:"h3-70",md:"h2-70"},textAlign:"center"},children:e.message}),(0,s.jsxs)(x.Z,{col:!0,sx:{backgroundColor:"yellow.main",width:1,borderRadius:1,mt:4},children:[(0,s.jsxs)(x.Z,{NoPadding:!0,xsGap:!0,sx:{alignItems:"center"},children:[(0,s.jsx)(m.Z,{medium:!0,src:"/assets/icons/danger-grey-500.svg",alt:"warning icon",className:"black-filter"}),(0,s.jsx)(l.Z,{sx:{color:"black.main",typography:{xs:"h5-70",sm:"h4-70"}},children:"ØªÙØ¬Ù"})]}),[{id:1,title:"در ØµÙØ±ØªÛ Ú©Ù Ù
Ø¨ÙØºÛ از ØØ³Ø§Ø¨ Ø´Ù
ا کسر Ú¯Ø±Ø¯ÛØ¯Ù , Ø¨Ù Ø²ÙØ¯Û ØªÙØ³Ø· باÙÚ© Ù
Ø±Ø¨ÙØ·Ù Ø¨Ù ØØ³Ø§Ø¨ØªØ§Ù Ø¹ÙØ¯Øª Ø¯Ø§Ø¯Ù Ø®ÙØ§Ùد شد . اÛ٠اÙ
ر Ù
Ù
ک٠است Ø§ÙØ¯Ú©Û ØªÙØ³Ø· باÙÚ© زÙ
Ø§ÙØ¨Ø± باشد "},{id:2,title:"Ø¯ÙØª ÙØ±Ù
اÛÛØ¯ پس از ثبت صØÛØ Ø³ÙØ§Ø±Ø´ ØØªÙ
ا کد Ù¾ÛÚ¯ÛØ±Û Ø³ÙØ§Ø±Ø´ را Ø¯Ø±ÛØ§Ùت Ø®ÙØ§ÙÛØ¯ ÙÙ
ÙØ¯ , اÛ٠کد را تا زÙ
ا٠تØÙÛÙ Ø³ÙØ§Ø±Ø´ ÙØ²Ø¯ Ø®ÙØ¯ ÙÚ¯Ù Ø¯Ø§Ø±ÛØ¯ "},{id:3,title:"خطا : پرداخت Ø¨Ù Ø¯Ø±Ø³ØªÛ Ø§ÙØ¬Ø§Ù
ÙØ´Ø¯"}].map((e,t)=>(0,s.jsxs)(x.Z,{NoPadding:!0,xsGap:!0,sx:{alignItems:"start"},children:[(0,s.jsxs)(l.Z,{sx:{color:"black.main",typography:{xs:"body-50",sm:"h5-50"},whiteSpace:"nowrap"},children:[t+1," -"]}),(0,s.jsx)(l.Z,{sx:{color:"black.main",typography:{xs:"body-50",sm:"h5-50"}},children:e.title})]},t))]}),(0,s.jsxs)(l.Z,{sx:{color:"black.main",typography:{xs:"body-50",sm:"h5-50"},textAlign:"center",mt:6},children:["Ø¬ÙØª تکرار Ù
راØÙ Ø³ÙØ§Ø±Ø´ Ù
Û ØªÙØ§ÙÛØ¯ Ù
جددا از",(0,s.jsx)(u.C,{href:g.Z.step1.url,children:" سبد Ø®Ø±ÛØ¯"})," Ø§ÙØ¯Ø§Ù
ÙÙ
اÛÛØ¯"]})]})},f=r(11163),p=r(52017),failorder_FailOrderPage=({orderID:e})=>{let[t,r]=(0,n.useState)(void 0),{getConfirmData:l}=(0,c.n)(),d=(0,f.useRouter)(),[u,x]=(0,n.useState)(!1);async function start(){let t=await l(e);r(t)}return(0,n.useEffect)(()=>{e?start():(x(!0),d.push(g.Z.home.url))},[]),(0,s.jsxs)(o.Z,{children:[(0,s.jsx)(i.Z,{Top:!0,children:(0,s.jsx)(a.Z,{data:[{id:1,title:g.Z.home.title,url:g.Z.home.url},{id:2,title:"ثبت Ø³ÙØ§Ø±Ø´ ",url:g.Z.step1.url}]})}),(0,s.jsxs)(i.Z,{Bottom:!0,children:[t&&(0,s.jsx)(components_UnsuccessfulOrder,{data:t}),u&&(0,s.jsx)(p.Z,{})]})]})},Z=r(97016),j=!0;function Index({headerFooterData:e}){let{currentOrderID:t,setCurrentOrderID:r}=(0,n.useContext)(Z.V);return(0,n.useEffect)(()=>{r(null)},[]),(0,s.jsx)(failorder_FailOrderPage,{orderID:t})}}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=13618)}),_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.