PageSourceSearch

https://lidomatrip.com/_next/static/chunks/3632-ad0154dfc85e2479.js

js lidomatrip.com collected 2026-10-02 20:28:50 UTC 13,655 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3632],{84620:function(e,t,a){a.d(t,{K$:function(){return o},Kf:function(){return x},ZP:function(){return g}});var n=a(85893),r=a(68398),l=a(45551),s=a(1801),i=a(25675),d=a.n(i),c=a(67294);let o={teal:"from-[#1DE9CF] via-[#02A994] to-[#01594E]",navy:"from-[#4A6FC0] via-[#1F3A73] to-[#0B1733]",purple:"from-[#A780FF] via-[#6A3FD1] to-[#2E1470]",rose:"from-[#FF8FAB] via-[#E0456C] to-[#7E1535]",orange:"from-[#FFC06E] via-[#F57F17] to-[#8F3F00]",graphite:"from-[#6B7482] via-[#343B46] to-[#101318]",gold:"from-[#F0D58C] via-[#C49A3A] to-[#6B4D0E]"},x={teal:"فیروزه‌ای",navy:"سرمه‌ای",purple:"بنفش",rose:"صورتی",orange:"نارنجی",graphite:"دودی",gold:"طلایی"};async function m(e){try{return await navigator.clipboard.writeText(e),!0}catch{try{let t=document.createElement("textarea");t.value=e,t.setAttribute("readonly",""),t.style.position="fixed",t.style.opacity="0",document.body.appendChild(t),t.select();let a=document.execCommand("copy");return document.body.removeChild(t),a}catch{return!1}}}function u(e){let{value:t,label:a,onDark:s=!1}=e,[i,d]=(0,c.useState)(!1);return(0,n.jsx)("button",{type:"button","aria-label":`کپی ${a}`,onClick:async e=>{e.stopPropagation(),await m(t)&&(d(!0),setTimeout(()=>d(!1),1600),l.Z.message([{type:r.L.SUCCESS,title:`${a} کپی شد`}]))},className:`shrink-0 w-36 h-36 rounded-10 flex items-center justify-center transition ${s?"bg-white/15 hover:bg-white/25 text-white":i?"bg-[#03D6BB1F] text-primary-main":"bg-gray-F0F0F0 hover:bg-gray-E5E5E6 text-black"}`,children:(0,n.jsx)("i",{className:`${i?"icon-Tick":"icon-Copy"} text-20`})})}function p(e){let{label:t,display:a,value:r,ltr:l=!0}=e;return(0,n.jsxs)("div",{className:"flex items-center justify-between gap-x-12 px-14 py-10",children:[(0,n.jsxs)("div",{className:"min-w-0",children:[(0,n.jsx)("p",{className:"text-10 leading-17 text-gray-616E7C",children:t}),(0,n.jsx)("p",{dir:l?"ltr":void 0,className:`text-14 leading-24 text-black truncate text-right ${l?"font-m-en":"font-m"}`,children:a})]}),(0,n.jsx)(u,{value:r,label:t})]})}function g(e){var t;let{card:a,showDetails:r=!0}=e,l=o[a.theme]??o.teal,i=(null===(t=a.bank_name)||void 0===t?void 0:t.trim())||(0,s.w$)(a.card_number)||"کارت بانکی",c=(a.card_number??"").replace(/\D/g,""),x=(a.shaba??"").replace(/\D/g,"");return(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:`relative overflow-hidden w-full aspect-[1.586/1] rounded-20 bg-gradient-to-br ${l} text-white p-20 flex flex-col shadow-[0_16px_32px_-14px_rgba(24,39,58,0.55)]`,children:[(0,n.jsx)("span",{"aria-hidden":!0,className:"absolute -top-[70px] -left-[50px] w-[190px] h-[190px] rounded-full bg-white/10"}),(0,n.jsx)("span",{"aria-hidden":!0,className:"absolute -bottom-[90px] -right-[40px] w-[220px] h-[220px] rounded-full bg-black/10"}),(0,n.jsx)("span",{"aria-hidden":!0,className:"absolute inset-0 bg-[url('/assets/Wallet-Effect.svg')] bg-cover bg-no-repeat opacity-30"}),(0,n.jsxs)("div",{className:"relative flex items-start justify-between gap-x-12",children:[(0,n.jsx)("p",{className:"text-16 leading-28 font-m drop-shadow-[0px_2px_4px_rgba(0,0,0,0.2)] truncate",children:i}),(0,n.jsx)(d(),{src:"/assets/logos/Logo-white-landscape.svg",width:80,height:19,alt:"",className:"opacity-90 shrink-0 mt-4",style:{height:"auto"}})]}),(0,n.jsxs)("div",{className:"relative mt-auto",children:[(0,n.jsx)("span",{"aria-hidden":!0,className:"block w-[38px] h-[28px] rounded-6 bg-gradient-to-br from-[#FBEFC4] via-[#E2C271] to-[#B08A35] mb-12 shadow-[inset_0_0_0_1px_rgba(0,0,0,0.12)]"}),c?(0,n.jsxs)("div",{className:"flex items-center justify-between gap-x-8",children:[(0,n.jsx)(u,{value:c,label:"شماره کارت",onDark:!0}),(0,n.jsx)("span",{dir:"ltr",className:"font-b-en text-20 md:text-[22px] leading-32 tracking-[0.06em] whitespace-nowrap drop-shadow-[0px_2px_4px_rgba(0,0,0,0.25)]",children:(0,s.YC)(c)})]}):x?(0,n.jsx)("p",{dir:"ltr",className:"font-m-en text-14 leading-24 text-right drop-shadow-[0px_2px_4px_rgba(0,0,0,0.25)]",children:(0,s.Lm)(x)}):a.account_number?(0,n.jsx)("p",{dir:"ltr",className:"font-m-en text-16 leading-28 text-right",children:a.account_number}):null,(0,n.jsx)("div",{className:"flex items-end justify-between mt-8",children:(0,n.jsxs)("div",{className:"min-w-0",children:[(0,n.jsx)("p",{className:"text-10 leading-17 opacity-80",children:"به نام"}),(0,n.jsx)("p",{className:"text-14 leading-24 font-m truncate drop-shadow-[0px_2px_4px_rgba(0,0,0,0.2)]",children:a.owner_name})]})})]})]}),r&&(0,n.jsxs)("div",{className:"mt-12 rounded-16 border-1 border-solid border-gray-E5E5E6 divide-y divide-gray-E5E5E6 bg-white",children:[!!c&&(0,n.jsx)(p,{label:"شماره کارت",display:(0,s.YC)(c),value:c}),!!a.account_number&&(0,n.jsx)(p,{label:"شماره حساب",display:a.account_number,value:a.account_number}),!!x&&(0,n.jsx)(p,{label:"شماره شبا",display:(0,s.Lm)(x),value:`IR${x}`}),(0,n.jsx)(p,{label:"صاحب حساب",display:a.owner_name,value:a.owner_name,ltr:!1})]})]})}},43632:function(e,t,a){a.d(t,{HH:function(){return b},ZP:function(){return f},iG:function(){return h},ru:function(){return p}});var n=a(85893),r=a(56286),l=a(47300),s=a(68398),i=a(45551),d=a(1801),c=a(48228),o=a(36492),x=a(67294),m=a(84620);let u=(e,t)=>
1e.kind===t.kind&&("card"===e.kind||e.id===t.id),p=e=>`${Math.round(e).toLocaleString("en-US")} تومان`;function g(e){let{text:t,phone:a,amount:r,code:l}=e,s=t.split(/(\{phone\}|\{amount\}|\{code\})/g),i=null==a?void 0:a.replace(/[^\d+]/g,"");return(0,n.jsxs)("div",{className:"rounded-16 bg-[#FFF8EB] border-1 border-solid border-[#FFE2A8] p-14",children:[(0,n.jsxs)("div",{className:"flex gap-x-10",children:[(0,n.jsx)("i",{className:"icon-Information text-20 text-[#B26A00] shrink-0"}),(0,n.jsx)("p",{className:"text-12 leading-22 text-[#5C3B00]",children:s.map((e,t)=>"{phone}"===e?a?(0,n.jsx)("b",{dir:"ltr",className:"font-b inline-block",children:a},t):null:"{amount}"===e?r?(0,n.jsx)("b",{className:"font-b",children:p(r)},t):null:"{code}"===e?l?(0,n.jsx)("b",{dir:"ltr",className:"font-b inline-block",children:l},t):null:(0,n.jsx)(x.Fragment,{children:e},t))})]}),!!i&&(0,n.jsxs)("a",{href:`sms:${i}`,className:"mt-12 flex md:hidden items-center justify-center gap-x-8 rounded-10 bg-white border-1 border-solid border-[#FFE2A8] py-10 text-14 leading-24 font-m text-[#8A5A00]",children:[(0,n.jsx)("i",{className:"icon-SendMessage text-20"}),"ارسال پیامک به ",(0,n.jsx)("span",{dir:"ltr",children:a})]})]})}function h(e){let{methods:t,amount:a,code:r,onGateway:s,gatewayLoading:i,gatewayDisabled:c,payLabel:o,cardFooter:h}=e,{gateways:b,cards:f}=t,j=(0,x.useMemo)(()=>[...b.map(e=>({kind:"gateway",id:e.id})),...f.length?[{kind:"card"}]:[]],[b,f]),[y,v]=(0,x.useState)(j[0]??null),[N,w]=(0,x.useState)(0);if((0,x.useEffect)(()=>{v(e=>e&&j.some(t=>u(t,e))?e:j[0]??null)},[j]),(0,x.useEffect)(()=>{N>=f.length&&w(0)},[f.length,N]),!j.length)return(0,n.jsxs)("div",{className:"rounded-16 border-1 border-dashed border-gray-C4CAD3 p-20 text-center",children:[(0,n.jsx)("i",{className:"icon-Pay text-32 text-gray-9B9BAA"}),(0,n.jsx)("p",{className:"mt-8 text-14 leading-24 font-m text-black",children:"روش پرداختی فعال نیست"}),(0,n.jsx)("p",{className:"mt-4 text-12 leading-21 text-gray-616E7C",children:"در حال حاضر امکان پرداخت فعال نیست. لطفاً با پشتیبانی تماس بگیرید."})]});let F=(null==y?void 0:y.kind)==="gateway"?b.find(e=>e.id===y.id):void 0,k=f[N]??f[0];return(0,n.jsxs)("div",{className:"flex flex-col gap-y-16",children:[j.length>1&&(0,n.jsxs)("div",{role:"radiogroup","aria-label":"روش پرداخت",className:"flex flex-col gap-y-8",children:[(0,n.jsx)("p",{className:"text-14 leading-24 font-m text-zilgara mb-4",children:"روش پرداخت را انتخاب کنید"}),j.map(e=>{let t=!!y&&u(e,y),a="gateway"===e.kind?b.find(t=>t.id===e.id):void 0;return(0,n.jsxs)("button",{type:"button",role:"radio","aria-checked":t,onClick:()=>v(e),className:`flex items-center gap-x-12 rounded-12 border-1 border-solid px-14 py-12 text-right transition ${t?"border-primary-main bg-[#03D6BB0F] shadow-[0_0_0_1px_#03D6BB]":"border-gray-C4CAD3 bg-white"}`,children:[(0,n.jsx)("span",{className:`w-20 h-20 rounded-full border-2 border-solid flex items-center justify-center shrink-0 ${t?"border-primary-main":"border-gray-C4CAD3"}`,children:t&&(0,n.jsx)("span",{className:"w-10 h-10 rounded-full bg-primary-main"})}),(0,n.jsx)("span",{className:`w-40 h-40 rounded-10 flex items-center justify-center shrink-0 ${a?"bg-[#E8F1FF] text-[#1B4F9C]":"bg-[#FFF4E0] text-[#B26A00]"}`,children:(0,n.jsx)("i",{className:`${a?"icon-Pay":"icon-CardBank"} text-24`})}),(0,n.jsxs)("span",{className:"flex-1 min-w-0",children:[(0,n.jsx)("span",{className:"block text-14 leading-24 font-m text-black truncate",children:a?a.title:"کارت به کارت"}),(0,n.jsx)("span",{className:"block text-12 leading-20 text-gray-616E7C",children:a?"پرداخت آنلاین با تمام کارت‌های عضو شتاب":f.length>1?`واریز به یکی از ${f.length.toLocaleString("fa-IR")} حساب و ارسال رسید`:"واریز به حساب و ارسال رسید"})]})]},"gateway"===e.kind?`g${e.id}`:"card")})]}),!!F&&(0,n.jsxs)("div",{children:[1===j.length&&(0,n.jsxs)("p",{className:"mb-12 flex items-center gap-x-8 text-12 leading-21 text-gray-616E7C",children:[(0,n.jsx)("i",{className:"icon-Pay text-20 text-primary-main"}),"پرداخت آنلاین از طریق درگاه ",F.title]}),(0,n.jsx)(l.z,{isFullWidth:!0,isLoading:i,loadingText:"در حال انتقال به درگاه…",disabled:c,onClick:()=>s(F.id),children:o??(a?`پرداخت ${p(a)}`:"انتقال به درگاه پرداخت")})]}),(null==y?void 0:y.kind)==="card"&&!!k&&(0,n.jsxs)("div",{className:"flex flex-col gap-y-12",children:[f.length>1&&(0,n.jsx)("div",{className:"flex gap-x-8 overflow-x-auto pb-4",role:"tablist","aria-label":"حساب مقصد",children:f.map((e,t)=>(0,n.jsx)("button",{type:"button",role:"tab","aria-selected":t===N,onClick:()=>w(t),className:`shrink-0 rounded-100 px-14 py-6 text-12 leading-20 border-1 border-solid transition ${t===N?"bg-black text-white border-black":"bg-white text-black border-gray-C4CAD3"}`,children:e.bank_name||(0,d.w$)(e.card_number)||`حساب ${(t+1).toLocaleStr
1ing("fa-IR")}`},e.id))}),!!a&&(0,n.jsxs)("div",{className:"flex items-center justify-between rounded-12 bg-gray-F0F0F0 px-14 py-10",children:[(0,n.jsx)("span",{className:"text-12 leading-21 text-gray-616E7C",children:"مبلغ قابل واریز"}),(0,n.jsx)("span",{className:"text-16 leading-28 font-m text-black",children:p(a)})]}),(0,n.jsx)(m.ZP,{card:k}),!!t.card_text&&(0,n.jsx)(g,{text:t.card_text,phone:t.receipt_phone,amount:a,code:r}),null==h?void 0:h(k)]})]})}function b(){return(0,c.D)(r.Vv,{onSuccess:e=>window.location.assign(e),onError:e=>i.Z.message([{type:s.L.ERROR,title:e instanceof Error?e.message:s.i}])})}function f(e){let{context:t,...a}=e,{data:s,isLoading:i,isError:d,refetch:c,isFetching:x}=(0,o.a)({queryKey:["paymentMethods",t],queryFn:()=>(0,r.Q8)(t),staleTime:6e4});return i?(0,n.jsxs)("div",{className:"flex flex-col gap-y-8","aria-busy":"true",children:[(0,n.jsx)("div",{className:"h-[64px] rounded-12 bg-gray-F0F0F0 animate-pulse"}),(0,n.jsx)("div",{className:"h-[64px] rounded-12 bg-gray-F0F0F0 animate-pulse"})]}):d||!s?(0,n.jsxs)("div",{className:"rounded-16 border-1 border-solid border-gray-E5E5E6 p-20 text-center",children:[(0,n.jsx)("p",{className:"text-14 leading-24 text-black mb-12",children:"روش‌های پرداخت بارگذاری نشد."}),(0,n.jsx)(l.z,{variant:"outlined",color:"black",onClick:()=>c(),isLoading:x,children:"تلاش دوباره"})]}):(0,n.jsx)(h,{methods:s,...a})}},1801:function(e,t,a){a.d(t,{Lm:function(){return s},YC:function(){return l},w$:function(){return r}});let n={603799:"بانک ملی",589210:"بانک سپه",627961:"بانک صنعت و معدن",603770:"بانک کشاورزی",628023:"بانک مسکن",627760:"پست بانک",502908:"بانک توسعه تعاون",627648:"بانک توسعه صادرات",207177:"بانک توسعه صادرات",627412:"بانک اقتصاد نوین",622106:"بانک پارسیان",639194:"بانک پارسیان",627884:"بانک پارسیان",502229:"بانک پاسارگاد",639347:"بانک پاسارگاد",627488:"بانک کارآفرین",502910:"بانک کارآفرین",621986:"بانک سامان",639346:"بانک سینا",639607:"بانک سرمایه",636214:"بانک آینده",502806:"بانک شهر",504706:"بانک شهر",502938:"بانک دی",603769:"بانک صادرات",610433:"بانک ملت",991975:"بانک ملت",627353:"بانک تجارت",585983:"بانک تجارت",589463:"بانک رفاه",505785:"بانک ایران زمین",636795:"بانک مرکزی",606373:"بانک قرض‌الحسنه مهر ایران",639370:"بانک مهر اقتصاد",505416:"بانک گردشگری",505426:"بانک گردشگری",585947:"بانک خاورمیانه",628157:"مؤسسه اعتباری توسعه",505801:"مؤسسه اعتباری کوثر",507677:"مؤسسه اعتباری نور",639599:"بانک قوامین",504172:"بانک قرض‌الحسنه رسالت"};function r(e){let t=(e??"").replace(/\D/g,"");return t.length>=6?n[t.slice(0,6)]??null:null}function l(e){return(e??"").replace(/\D/g,"").replace(/(.{4})(?=.)/g,"$1 ")}function s(e){let t=(e??"").replace(/\D/g,"");return t?`IR${t}`.replace(/(.{4})(?=.)/g,"$1 "):""}}}]);

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.