PageSourceSearch

https://darukade.com/_next/static/chunks/pages/failorder-ecce4161d86149ad.js

js darukade.com collected 2026-10-09 23:04:17 UTC 4,380 bytes, 1 lines download raw bytes

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.