1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8716],{88223:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/m/trains-between-stations-v2/[...route]",function(){return n(28958)}])},53343:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var i=n(85893),a=n(9473),r=n(35464),o=n(5616),s=n(15861),l=n(64666),u=n(6514),d=n(33090),c=n(93946),f={title:" Refund Policy",subtitle:"Know Your Refund Details",guarantee:{label:"RY Guarantee",sectionTitle:"- How it works",highlight:"If your ticket is still waitlisted after chart preparation, we issue a 3x refund",points:["Refunds are processed within 24 hours after chart preparation if your ticket remains waitlisted.","Tickets in RAC, partially confirmed, or confirmed status after chart preparation are not eligible for the TRIPple refund."]},refundExplanation:{title:"What is 3x refund?",breakdown:[{type:"1x refund",description:"Get 100% of base<br/> fare in your original<br/> pay-mode"},{type:"2x refund",description:"Use voucher to book train and bus tickets"}]}},p=[{recordid:"section_1",title:"THE BASICS",faqs:[{recordid:"faq_1",question:"What is TRIPple?",answer:"A RailYatri guarantee \u2014 not insurance. If all passengers on your PNR remain waitlisted after the final chart, you get a 1x fare refund + 2x travel voucher, automatically."},{recordid:"faq_2",question:"How do I know if my booking is eligible?",answer:"TRIPple appears at checkout if your booking qualifies. If you don't see it, your ticket is not eligible."},{recordid:"faq_3",question:"Can I add TRIPple after completing my booking?",answer:"No \u2014 it must be added during the checkout process only."}]},{recordid:"section_2",title:"FEE & PAYMENT",faqs:[{recordid:"faq_1",question:"How is the TRIPple fee calculated?",answer:"Per passenger, based on base ticket fare. The exact amount is shown at checkout \u2014 no hidden charges."},{recordid:"faq_2",question:"Is the TRIPple fee refundable if I cancel?",answer:"No. Exception: if Indian Railways cancels the train, the TRIPple fee is refunded as a goodwill gesture"}]},{recordid:"section_3",title:"GETTING YOUR PAYOUT",faqs:[{recordid:"faq_1",question:"Do I need to file a claim manually?",answer:"No \u2014 fully automatic. RailYatri monitors your PNR and triggers refund + voucher within 24 hours."},{recordid:"faq_2",question:"What exactly do I receive?",answer:"1x ticket fare credited to your original payment method + 2x travel voucher (capped at Rs.6,000, valid 15 days)."},{recordid:"faq_3",question:"How long does it take?",answer:"Voucher: nearly immediate. Refund: 3-7 business days depending on your payment method."},{recordid:"faq_4",question:"One passenger confirmed, others didn't \u2014 do I get a payout?",answer:"No. All passengers on the PNR must remain waitlisted for TRIPple to trigger."},{recordid:"faq_5",question:"My ticket got RAC status \u2014 am I eligible?",answer:"No \u2014 RAC is not treated as waitlisted for TRIPple purposes."}]},{recordid:"section_4",title:"USING YOUR VOUCHER",faqs:[{recordid:"faq_1",question:"Where can I use it?",answer:"On all RailYatri platforms (website & app), within the 15-day validity window. Vouchers applicable on train and bus tickets."},{recordid:"faq_2",question:"Key restrictions?",answer:"One-time use \xb7 15-day validity \xb7 Non-transferable \xb7 Non-encashable \xb7 No stacking with promos \xb7 Max value Rs.6,000."},{recordid:"faq_3",question:"What if my booking costs less than the voucher value?",answer:"Remaining balance is forfeited \u2014 it's one-time use. Use it for a booking close to or above its value."}]},{recordid:"section_5",title:"CANCELLATIONS & SPECIAL SITUATIONS",faqs:[{recordid:"faq_1",question:"What if I cancel before chart preparation?",answer:"TRIPple is void. Ticket fare refunded per IRCTC policy; TRIPple fee is non-refundable."},{recordid:"faq_2",question:"What if I modify my booking after buying TRIPple?",answer:"TRIPple is void and the fee is non-refundable \u2014 any PNR change voids the guarantee."},{recordid:"faq_3",question:"What if Indian Railways cancels the train?",answer:"IRCTC refunds your ticket fare; RailYatri refunds the TRIPple fee as goodwill. No voucher is issued."}]},{recordid:"section_6",title:"OTHER QUESTIONS",faqs:[{recordid:"faq_1",question:"Does TRIPple affect my IRCTC booking or refund?",answer:"No \u2014 TRIPple is entirely separate from IRCTC. Your ticket, cancellations, and refunds are unaffected."},{recordid:"faq_2",question:"How do I contact support?",answer:'[email protected] or the in-app Help Centre. Mention "TRIPple" for faster routing.'}]}];function _(){return _=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},_.apply(this,arguments)}var v=function(e){var t,n,v,m,h,g,y,w,b,x,R,S,C=_({},e).ispassengerpage,k=void 0!==C&&C,T=(0,a.I0)(),I=(0,a.v9)((function(e){return e.tbs})).showryguaranteeinfo;return(0,i.jsx)(l.Z,{className:"Mui-guarantee_refund__policy__dialog",classes:{paper:"Mui-guarantee_refund__policy__dialog"},onClose:function(){return T((0,r.cB)({showryguaranteeinfo:!1}))},open:I,children:I&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(o.Z,{className:"Mui-ry_guarantee_dialog_popup_header_wrapper",children:[(0,i.jsx)(c.Z,{className:"Mui-close_popup_cta",onClick:function(){T((0,r.cB)({showryguaranteeinfo:!1}))},children:(0,i.jsx)("img",{src:"https://images.railyatri.in/ry_images_prod/closepopupicon-1759751142.svg",alt:"close popup",width:"34px"})}),(0,i.jsx)(d.Z,{className:"Mui-ry_guarantee_popup_title",dangerouslySetInnerHTML:{__html:'<img src="https://images.railyatri.in/ry_images_prod/trippleshield-1777459829.svg" width="60px"/> '.concat(null===f||void 0===f?void 0:f.title)}}),(0,i.jsx)(s.Z,{className:"Mui-ry_guarantee_popup_subtitle",dangerouslySetInnerHTML:{__html:"".concat(null===f||void 0===f?void 0:f.subtitle)}})]}),(0,i.jsxs)(u.Z,{className:"Mui-guarantee_refund__policy__content",children:[(0,i.jsxs)(o.Z,{className:"Mui-ry_guarantee_how_work_wrapper",children:[(0,i.jsxs)(o.Z,{className:"Mui-guarantee_flexbox Mui-center_flexbox Mui-center_item",children:[(0,i.jsx)("img",{src:"https://images.railyatri.in/ry_images_prod/trippleshield-1777459829.svg",width:"60px"}),(0,i.jsx)(s.Z,{className:"Mui-ry_guarantee_how_work_title Mui-margin_left_five",dangerouslySetInnerHTML:{__html:"".concat(null===f||void 0===f||null===(t=f.guarantee)||void 0===t?void 0:t.sectionTitle)}})]}),(0,i.jsx)(s.Z,{className:"Mui-ry_guarantee_how_work_subtitle",dangerouslySetInnerHTML:{__html:"".concat(null===f||void 0===f||null===(n=f.guarantee)||void 0===n?void 0:n.highlight)}}),(0,i.jsx)("ul",{className:"Mui-bullet_list",children:null===f||void 0===f||null===(v=f.guarantee)||void 0===v?void 0:v.points.map((function(e,t){return(0,i.jsx)("li",{children:(0,i.jsx)(s.Z,{className:"Mui-bullet_list_options",dangerouslySetInnerHTML:{__html:"".concat(e)}})},t+1)}))})]}),(0,i.jsxs)(o.Z,{className:"Mui-guarantee_flexbox Mui-space_between_flexbox Mui-center_item Mui-why_3x_refund",children:[(0,i.jsx)(s.Z,{className:"Mui-why_3x_refund_title",dangerouslySetInnerHTML:{__html:"".concat(null===f||void 0===f||null===(m=f.refundExplanation)||void 0===m?void 0:m.title)}}),(0,i.jsx)("img",{src:"https://images.railyatri.in/ry_images_prod/trippleshield-1777459829.svg",width:"60px"})]}),(0,i.jsxs)(o.Z,{className:"Mui-guarantee_flexbox Mui-space_between_flexbox Mui-center_item Mui-refund_intro__popup",children:[(0,i.jsxs)(o.Z,{className:"Mui-refund_intro__popup_card",children:[(0,i.jsx)(s.Z,{className:"Mui-refund_intro__popup_card_title",dangerouslySetInnerHTML:{__html:"".concat(null===(g=null===f||void 0===f||null===(h=f.refundExplanation)||void 0===h?void 0:h.breakdown[0])||void 0===g?void 0:g.type)}}),(0,i.jsx)(s.Z,{className:"Mui-refund_intro__popup_card_sortdesc",dangerouslySetInnerHTML:{__html:"".concat(null===(w=null===f||void 0===f||null===(y=f.refundExplanation)||void 0===y?void 0:y.breakdown[0])||void 0===w?void 0:w.description)}})]}),(0,i.jsx)(o.Z,{className:"Mui-plusrefund_preview",children:(0,i.jsx)("img",{src:"https://images.railyatri.in/ry_images_prod/ryguranteeplus-1759750041.svg",alt:"additional refund",
1width:"11px"})}),(0,i.jsxs)(o.Z,{className:"Mui-refund_intro__popup_card",children:[(0,i.jsx)(s.Z,{className:"Mui-refund_intro__popup_card_title",dangerouslySetInnerHTML:{__html:"".concat(null===(x=null===f||void 0===f||null===(b=f.refundExplanation)||void 0===b?void 0:b.breakdown[1])||void 0===x?void 0:x.type)}}),(0,i.jsx)(s.Z,{className:"Mui-refund_intro__popup_card_sortdesc",dangerouslySetInnerHTML:{__html:"".concat(null===(S=null===f||void 0===f||null===(R=f.refundExplanation)||void 0===R?void 0:R.breakdown[1])||void 0===S?void 0:S.description)}})]})]}),k&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(o.Z,{className:"Mui-guarantee_flexbox Mui-center_flexbox Mui-center_item",children:[(0,i.jsx)("img",{src:"https://images.railyatri.in/ry_images_prod/trippleshield-1777459829.svg",width:"60px"}),(0,i.jsx)(s.Z,{className:"Mui-ry_guarantee_how_work_title Mui-margin_left_five",dangerouslySetInnerHTML:{__html:" \u2014 FAQ'S"}})]}),(0,i.jsx)(o.Z,{className:"Mui-faq__wrapper",children:p.map((function(e){var t=e.recordid,n=e.title,a=e.faqs;return(0,i.jsxs)(o.Z,{children:[(0,i.jsx)(s.Z,{component:"h3",className:"Mui-faq_category__title",children:n}),a.map((function(e){var t=e.recordid,n=e.question,a=e.answer;return(0,i.jsxs)(o.Z,{className:"Mui-faq__section",children:[(0,i.jsx)(s.Z,{component:"p",className:"Mui-faq__question",children:n}),(0,i.jsx)(s.Z,{component:"p",className:"Mui-faq__answer",children:a})]},t)}))]},t)}))}),(0,i.jsxs)(s.Z,{component:"p",className:"Mui-faq__footer_info",children:["TRIPple is a product of RailYatri (Stelling Technologies Pvt. Ltd.) \xb7 Not affiliated with",(0,i.jsx)("br",{}),"IRCTC or Indian Railways. Support: [email protected] \xb7 These terms supersede",(0,i.jsx)("br",{})," any prior versions of this product."]})]})]})]})})}},28958:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return O},default:function(){return Z}});var i=n(34051),a=n.n(i),r=n(85893),o=n(657),s=n(95684),l=n(4050),u=n(67294),d=n(95312),c=n.n(d),f=n(1531),p=n(26461),_=n(11163);function v(e){var t=e.startDate,n=e.defaultSelectedDate,i=void 0===n?new Date:n,a=e.maxDayShow,o=void 0===a?7:a,s=e.routeInfoRef,l=e.dataFilter,d=void 0===l?{dataFilter:d}:l,v=e.setSelectedDate,m=e.headerDateStripSelection,h=(0,u.useState)([]),g=h[0],y=h[1],w=(0,u.useRef)(),b=(0,_.useRouter)();(0,u.useMemo)((function(){y(function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,i=[],a=0;a<=n;a++){var r=(0,f.Mv)(e,a),o={day:(0,p.JP)(p.hn)[r.getDay()],month:(0,p.JP)(p.zC)[r.getMonth()],date:r.getDate(),fulldate:r};i.push({id:a,day:o,status:r.toDateString()==t.toDateString()})}return i}(t,i,o))}),[t]),(0,u.useEffect)((function(){window.document&&((0,f.AR)(["date_strip_".concat((0,p.JP)(p.hn)[i.getDay()]).concat(i.getDate()).concat((0,p.JP)(p.zC)[i.getMonth()])],{block:"center",inline:"start"}),w.current.innerText=(0,p.JP)(p.zC)[i.getMonth()].toUpperCase());var e=["JAN","FEB","MAR","APR","MAY","JUN","JUL","AUG","SEP","OCT","NOV","DEC"],t=new IntersectionObserver((function(t){if(!0===t[0].isIntersecting){var n=e.indexOf(t[0].target.innerText);w.current.innerText=0==n?e[e.length-1]:e[n-1]}else t[0].boundingClientRect.x<0&&(w.current.innerText=t[0].target.innerText)}),{threshold:[0]});e.map((function(e){void 0!=document.querySelector("#month_".concat(e))&&t.observe(document.querySelector("#month_".concat(e)))}))}),[i]),m.current=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=arguments.length>3?arguments[3]:void 0;v(t),i.current.date=t,(0,f.h8)({router:b,from:i.current.from.code,to:i.current.to.code,date:t}),n?y(g.map((function(t){return t.id==e?t.status=!0:t.status=!1,t}))):(y(g.map((function(e){return e.day.fulldate.toDateString()==t.toDateString()?e.status=!0:e.status=!1,e}))),i.current.filters_applied.current=i.current.filters_applied.current.replace("-SearchTrain",""),d.current({filter:i.current.filters_applied.current,callApi:!0}))};var x="";return(0,r.jsxs)("div",{id:"minitsDateStrip",className:"full_div ".concat(c().stickyDiv," ").concat(c().fix_date_strip," flexRow"),style:{marginTop:"57px"},children:[(0,r.jsx)("label",{ref:w,className:c().stickmonth}),(0,r.jsx)("div",{className:"full_div hidescroll ".concat(c().date_list," flex1"),children:g.map((function(e){var t=e.day,n=e.status,i=e.id,a=(0,r.jsxs)("div",{id:"date_strip_".concat(t.day).concat(t.date).concat(t.month),className:"clr-4 fs-12 fw-med inline-block relative ".concat(c().date_show," ").concat(x!=t.month&&0!=i&&c().extraWidth," datediv"),onClick:function(){return m.current(i,t.fulldate,!0,s)},children:[x!=t.month&&0!=i&&(0,r.jsx)("div",{id:"month_".concat(t.month.toUpperCase()),data:t.month,className:"".concat(c().monthdiv),children:t.month.toUpperCase()}),(0,r.jsxs)("div",{className:"".concat(c().datediv," ").concat(n&&c().date_selected," ").concat(x!=t.month&&0!=i&&c().extraConfig),children:[(0,r.jsxs)("p",{className:c().datep,children:[t.day,", ",t.date]}),!n&&(0,f.ri)(new Date,new Date(t.fulldate))<2&&(0,r.jsx)("p",{className:c().tatkal,children:"Tatkal open"})]})]},"date_strip_".concat(i));return x=t.month,a}))})]})}var m=function(e){var t=e.filterStringApply,n=e.dataFilter,i=e.routeInfoRef,a=e.headerDateStripSelection,o=e.booking_window,s=void 0===o?60:o,l=(0,u.useState)(new Date(i.current.date)),d=l[0],c=l[1],p=new Date;p.setDate(p.getDate()+7);var _=new Date(d);return _.setDate(_.getDate()-7),(0,f.zT)(d),(0,r.jsx)(v,{startDate:p>=d?new Date:_,maxDayShow:s,defaultSelectedDate:d,filterStringApply:t,dataFilter:n,setSelectedDate:c,headerDateStripSelection:a,routeInfoRef:i})},h=n(13850),g=n(11359),y=n(31955),w=n(99685),b=n(28160),x=n(15475),R=(n(52507),n(53343)),S=n(74223),C=n(66720),k=n(5616),T=n(46772),I=n(9473),N=n(12978),D=n(35464),j=n(90966),M=n(80617);function P(e,t,n,i,a,r,o){try{var s=e[r](o),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(i,a)}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A={},O=!0;function Z(e){var t,n,i,d,c,v=e.from,O=e.to,Z=e.date,E=void 0===Z?new Date:Z,L=e.seoData,F=e.userid,B=e.device,H=e.utm_source,Q=e.auth_token,U=void 0===Q?void 0:Q,W=e.vCode,G=void 0===W?void 0:W,J=e.btbOrgId,Y=void 0===J?void 0:J,X=e.btbUserId,z=void 0===X?void 0:X,V=e.src,K=void 0===V?void 0:V,$=e.lang,ee=void 0===$?"en":$,te=e.showNearBy,ne=e.home_fcos,ie=e.booking_window,ae=e.festivalDetails,re=e.searched_train_number,oe=e.selectedQuota,se=e.isArpByQuery,le=e.arp_event_id,ue=e.SelectedClass;if(!v||!O||!E||!F)return(0,r.jsx)(o.ZP,{});var de,ce=(0,u.useRef)(void 0),fe=(0,_.useRouter)(),pe=(0,u.useState)(!0),_e=(pe[0],pe[1]),ve=(0,u.useState)({status:!1,sucessCallback:function(){}}),me=ve[0],he=ve[1],ge=(0,u.useRef)("".concat("Quota(".concat(oe.name,")")," ").concat(p.hX.SortBy.Popularity?"-SortBy(Popularity)":"").concat(p.hX.RemoveRefreshCards?"-Remove_Refresh":"")),ye=(0,u.useState)("true"===(null===(t=fe.query)||void 0===t?void 0:t.home_fcos)),we=ye[0],be=ye[1],xe=function(e){var t=e.dataset,n=e.setter,i=e.key,a=e.status;n(t.map((function(e){return e.key==i&&(e.status=a),e}
1)))},Re=(0,u.useRef)({from:v,to:O,date:new Date(E),filter:p.hX,userid:F,device:B,utm_source:H,vCode:G,btbOrgId:Y,btbUserId:z,number_of_trains:0,filters_applied:ge,SelectedClass:ue,src:K,busDetails:{is_smart_route:!1},authToken:U,busTabDeeplink:"",lang:ee,showNearBy:te,home_fcos:we,searched_train_number:re,arpSearch:!1,reminderDetails:null!==(de=null===ae||void 0===ae?void 0:ae.reminderDetails)&&void 0!==de?de:[],total_trains_count:0,isappinit:!1,ry_guarantee:!1,ry_guarantee_title:null,ry_guarantee_des:null,ry_guarantee_des_opted:null,isryguranteeselected:!1,alt_availability:"",trip_guarantee:""});(0,u.useEffect)((function(){if(fe.isReady){var e=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){q(e,t,n[t])}))}return e}({},fe.query);setTimeout((function(){we?e.home_fcos="true":delete e.home_fcos,fe.replace({pathname:fe.pathname,query:e},void 0,{shallow:!0})}),1e3)}}),[we]);(0,u.useEffect)((function(){y.Z.remove("ets_railyatri"),y.Z.remove("CLEVERTABDATA"),(0,f.LB)({userId:F,New_User_token:U});var e=function(){var e,t=(e=a().mark((function e(){var t,n,i,r,o,s,l,u,d,c,f,p,_,m,h,g,y,b,x;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return x={step:"New_TBS_tbs_loading",ecomm_type:"train_ticket_booking",current_url:fe.asPath,utm_referrer:H,user_id:F,device_type_id:B,from_station:null===v||void 0===v?void 0:v.code,to_station:null===O||void 0===O?void 0:O.code,journey_date:(0,M.xq)(E),journey_quota:(null===(r=null===Re||void 0===Re||null===(t=Re.current)||void 0===t||null===(n=t.filters_applied)||void 0===n||null===(i=n.current)||void 0===i?void 0:i.toLowerCase())||void 0===r?void 0:r.includes("general"))?"GN":(null===(u=null===Re||void 0===Re||null===(o=Re.current)||void 0===o||null===(s=o.filters_applied)||void 0===s||null===(l=s.current)||void 0===l?void 0:l.toLowerCase())||void 0===u?void 0:u.includes("tatkal"))?"TQ":(null===(p=null===Re||void 0===Re||null===(d=Re.current)||void 0===d||null===(c=d.filters_applied)||void 0===c||null===(f=c.current)||void 0===f?void 0:f.toLowerCase())||void 0===p?void 0:p.includes("ladies"))?"LD":(null===(g=null===Re||void 0===Re||null===(_=Re.current)||void 0===_||null===(m=_.filters_applied)||void 0===m||null===(h=m.current)||void 0===h?void 0:h.toLowerCase())||void 0===g?void 0:g.includes("sr. citizen"))?"SS":"",number_of_trains:null===Re||void 0===Re||null===(y=Re.current)||void 0===y?void 0:y.number_of_trains,filters_applied:null===ge||void 0===ge?void 0:ge.current,original_from:null===v||void 0===v?void 0:v.code,original_to:null===O||void 0===O?void 0:O.code,btb_organisation_id:Y,fcos_selected:!0===ne?"true":"false",src:K,v_code:null===Re||void 0===Re||null===(b=Re.current)||void 0===b?void 0:b.vCode,alt_availability:"",trip_guarantee:""},e.next=4,(0,w.yW)("","",x);case 4:e.sent,Re.current.isappinit=!0;case 6:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(i,a){var r=e.apply(t,n);function o(e){P(r,i,a,o,s,"next",e)}function s(e){P(r,i,a,o,s,"throw",e)}o(void 0)}))});return function(){return t.apply(this,arguments)}}();e(),document.onvisibilitychange=function(){"hidden"===document.visibilityState&&y.Z.set("Railyatri_Route_Info",JSON.stringify(Re.current))},window.onerror=function(e,t,n,i,a){return(0,w.yW)("","",{step:"consoleLog",ecomm_type:"train_ticket_booking",current_url:"Error :".concat(a," Info:").concat(e," url:").concat(fe.asPath),api_error:a,alt_availability:"",trip_guarantee:""}),!0}}),[]);var Se=(0,u.useRef)(),Ce=(0,u.useRef)((function(){})),ke=(0,u.useRef)(void 0),Te=(0,u.useRef)(void 0),Ie=(0,u.useRef)(),Ne=(0,u.useRef)(void 0),De=(0,u.useRef)(),je=(0,u.useRef)({busCount:(0,u.useRef)(),minPrice:(0,u.useRef)(),mainContainer:(0,u.useRef)(),trainContainer:(0,u.useRef)(),trainContainerCount:(0,u.useRef)(),trainContainerheaderQuotaRef:(0,u.useRef)(),trainlabel:(0,u.useRef)()}),Me=(0,u.useRef)((function(){})),Pe=(0,u.useRef)({from:(0,u.useRef)(),to:(0,u.useRef)(),date:(0,u.useRef)()});(0,u.useEffect)((function(){je.current.trainContainerheaderQuotaRef.current.innerText=oe.name||""}),[]);var qe,Ae=(0,I.I0)(),Oe=(0,I.v9)((function(e){return e.homepage})).isladiesquotapopupvisible,Ze=(0,I.v9)((function(e){return e.tbs})),Ee=Ze.showloader,Le=(Ze.showryguaranteeinfo,Ze.isavailableonlyvisible),Fe=(0,u.useState)((0,p.JP)(p.DN).map((function(e){return{name:e.name,key:e.code,sortForm:e.sortForm,status:p.hX.Quota["".concat("SS"==e.code?"LowerBirth":e.name)]}}))),Be=Fe[0],He=Fe[1],Qe=(0,u.useState)(null!==(qe=null===(n=Be.find((function(e){return e.status})))||void 0===n?void 0:n.key)&&void 0!==qe?qe:"GN"),Ue=Qe[0],We=Qe[1],Ge=function(e){We(e.key),Be.forEach((function(e){var t;ge.current=null===ge||void 0===ge||null===(t=ge.current)||void 0===t?void 0:t.replace("-Quota(".concat(e.name,")"),"")})),He(Be.map((function(t){return t.key==e.key?t.status=!0:t.status=!1,t}))),(0,f.PR)(je.current.trainContainerheaderQuotaRef)&&(0,f.PR)(je.current.trainContainerheaderQuotaRef.current)&&(je.current.trainContainerheaderQuotaRef.current.innerText=(null===e||void 0===e?void 0:e.name)||""),ge.current+="-Quota(".concat(null===e||void 0===e?void 0:e.name,")"),Ce.current({filter:ge.current,callApi:!0})},Je=(0,u.useState)(null),Ye=Je[0],Xe=Je[1],ze=(0,u.useState)([]),Ve=ze[0],Ke=ze[1];(0,u.useCallback)((function(){f.sk&&Ke(Object.keys(f.sk).map((function(e){var t;return{key:e,classname:null===(t=(0,p.JP)(p.$C).find((function(t){return t.code===e})))||void 0===t?void 0:t.name,status:p.hX.SelectedClass.includes(e)}})))}),[f.sk,p.hX.SelectedClass]);(0,u.useEffect)((function(){if(f.sk){var e=(0,p.JP)(p.$C);Ke(Object.keys(f.sk).map((function(t){var n;return{key:t,classname:null===(n=e.find((function(e){return e.code===t})))||void 0===n?void 0:n.name,status:p.hX.SelectedClass.includes(t)}})))}}),[f.sk,null===p.hX||void 0===p.hX?void 0:p.hX.SelectedClass]);var $e=(0,u.useState)([]),et=$e[0],tt=$e[1],nt=(0,u.useCallback)((function(){f.cG&&setTimeout((function(){tt(Object.keys(f.cG).map((function(e){var t,n;return{key:e,text:f.cG[e].text,status:p.hX.Departure.includes(e),image:null===(t=f.cG[e])||void 0===t?void 0:t.image,selectedImage:null===(n=f.cG[e])||void 0===n?void 0:n.selectionImage}})))}),1e3)}),[f.cG,p.hX.Departure]);(0,u.useEffect)((function(){nt()}),[nt]),(0,u.useEffect)((function(){var e;if(fe.isReady){var t={Morning:"depatureTimefiveAM_to_elevenAM",Afternoon:"depatureTimeelevenAM_to_fivePM",Evening:"depatureTimefivePM_to_elevenPM",Night:"depatureTimeelevenPM_to_fiveAM"},n=(null===fe||void 0===fe||null===(e=fe.query)||void 0===e?void 0:e.timefilter)?fe.query.timefilter.split("|"):[];if(n.length){var i=n.map((function(e){return t[e]}
1)).filter(Boolean).join("|");ge.current+="-Departure(".concat(i,")"),(0,j.k2)(ge.current)}}}),[fe.isReady,fe.query.timefilter]),(0,u.useEffect)((function(){var e;if(fe.isReady){var t=(null===fe||void 0===fe||null===(e=fe.query)||void 0===e?void 0:e.classfilter)?fe.query.classfilter.split("|"):[];t.length&&(ge.current+="-SelectedClass(SelectedClass|".concat(t.join("|"),")"),(0,j.k2)(ge.current))}}),[fe.isReady,fe.query.classfilter]);var it=(0,u.useState)(!0),at=it[0],rt=it[1],ot=(0,u.useMemo)((function(){var e=new Date;return e.setDate(e.getDate()+ie),e}),[ie]),st=(0,I.v9)((function(e){return e.homepage})),lt=st.calender,ut=(st.today,st.journeydate),dt=(st.tbsjourneydate,st.setNewDate,(0,u.useState)({})),ct=dt[0],ft=dt[1];(0,u.useEffect)((function(){ft({loaded:!1,visible:!1,value:{day:(0,p.JP)(p.hn)[Re.current.date.getDay()],month:(0,p.JP)(p.zC)[Re.current.date.getMonth()],date:Re.current.date.getDate(),fulldate:Re.current.date}})}),[Re.current.date,ft]);var pt=(0,u.useState)((0,j.M1)(["AC","NONAC","CNF","SelectedClass","Arival","Departure","Origin","Destination"])),_t=pt[0],vt=pt[1];(0,u.useEffect)((function(){vt((0,j.M1)(["AC","NONAC","CNF","SelectedClass","Arival","Departure","Origin","Destination"]))}),[vt,ge.current]);var mt,ht,gt,yt,wt,bt,xt,Rt,St=(0,u.useState)(""),Ct=St[0],kt=St[1],Tt=(0,u.useMemo)((function(){return(0,r.jsx)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:"\n window.data_9729 = [];\n window.data_9729.push({\n 'Currency': 'INR',\n 'CustomerType': '1',\n 'CouponCode': '',\n 'ProductId': '',\n 'ProductCategoryList': '',\n 'gdpr': '0',\n 'gdpr_consent': '',\n 'gdpr_pd': '0',\n 'us_privacy': '',\n 'PageType': 'product'\n });\n (function(d) {\n var s_preciso = d.createElement('script');\n s_preciso.async = true;\n s_preciso.id = 'DLFNPMMP1';\n s_preciso.type = 'text/javascript';\n \n s_preciso.src = 'https://cdn.preciso.net/p0n6t4c/t2g?9729';\n\n var a_preciso = d.getElementsByTagName('script')[0]; \n a_preciso.parentNode.insertBefore(s_preciso, a_preciso); \n if (typeof LB9729 !== 'undefined') {\n LB9729.init(window.data_9729[0]);\n }\n\n }(document));\n "}})}),[]);return(0,r.jsxs)(S.Z,{theme:T.r,children:[(0,r.jsx)(C.ZP,{}),(0,r.jsxs)("div",{className:"relative flexCol",style:A.bind_layout,children:[(0,r.jsx)(g.v,{title:"".concat(v.name," (").concat(v.code,") to ").concat(O.name," (").concat(O.code,") Trains | Confirm Ticket or 3\xd7 Refund"),description:"Book ".concat(v.name," to ").concat(O.name," trains. Check timings, fares & seat availability. Get Confirm Ticket or 3\xd7 Refund on waitlisted bookings with RailYatri."),canonical:"https://www.railyatri.in/".concat(null===v||void 0===v||null===(i=v.name)||void 0===i?void 0:i.replace(" ","-"),"-to-").concat(null===O||void 0===O||null===(d=O.name)||void 0===d?void 0:d.replace(" ","-"),"-trains"),androidAlt:"android-app://com.railyatri.in.mobile/http://m.rytr.in/Generic-Web/https://www.railyatri.in/m/trains-between-stations-v2/".concat(v.code,"-to-").concat(O.code),script:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:'{"@context":"http://schema.org/", "@type":"MobileApplication", "name": "Railyatri", "aggregateRating":{ "@type":"AggregateRating", "ratingValue":"4.4","reviewCount":"1293173"},"applicationCategory":"Travel","operatingSystem":"Android", "URL":"https://play.google.com/store/apps/details?id=com.railyatri.in.mobile"}'}}),Tt]})}),(0,r.jsx)(s.Z,{searchQuery:Ne,getTrainList:Ie,reference:ce,dataFilter:Ce,openModifySearch:Se,filterStringApply:ge,headerFreeCalcelationBanner:Te,routeInfoRef:Re,headerDateStripSelection:De,busRef:je.current,booking_window:ie,setSelectedQuotaCode:We,selectedQuotaCode:Ue,isArpByQuery:se,arp_event_id:le,selectedClass:Ve,setSelectedClass:Ke,depatureTime:et,setDepatureTime:tt,getHomeFCOS:we,setGetHomeFCOS:be,selectfun:xe,usecalendar:!0,setImideateSearchOnCalender:rt,calender:lt,calenderdata:ct,updateCalender:ft,journeydate:ut,filterByApplied:_t,setFilterByApplied:vt,totalTrainPresentInList:Ct}),18==(null===Re||void 0===Re||null===(c=Re.current)||void 0===c?void 0:c.btbOrgId)?(0,r.jsx)(m,{filterStringApply:ge,dataFilter:Ce,routeInfoRef:Re,headerDateStripSelection:De,booking_window:ie,noTrainData:Pe}):(0,r.jsx)(l.Z,{filterStringApply:ge,dataFilter:Ce,routeInfoRef:Re,headerDateStripSelection:De,booking_window:ie,noTrainData:Pe,eventOpenDate:null!==(mt=null===ae||void 0===ae?void 0:ae.eventOpenDate)&&void 0!==mt?mt:"",peakDate:null!==(ht=null===ae||void 0===ae?void 0:ae.peakDate)&&void 0!==ht?ht:"",festivalDate:null!==(gt=null===ae||void 0===ae?void 0:ae.festivalDate)&&void 0!==gt?gt:"",eventEndDate:null!==(yt=null===ae||void 0===ae?void 0:ae.eventEndDate)&&void 0!==yt?yt:"",returnDate:null!==(wt=null===ae||void 0===ae?void 0:ae.returnDate)&&void 0!==wt?wt:"",busRef:je.current,setLoader:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&(_e(!0),setTimeout((function(){_e(!1)}),1))},usecalendar:!0,setImideateSearchOnCalender:rt}),(0,r.jsx)(h.Z,{routeInfoRef:Re,filterStringApply:ge,dataFilter:Ce,searchQuery:Ne,getTrainList:Ie,busRef:je.current,removeFilterfun:Me,quotaFilterSelection:Ge,setSelectedQuotaCode:We,selectedQuotaCode:Ue,setQuota:He,quota:Be,setShowLogin:he,selectedClass:Ve,setSelectedClass:Ke,depatureTime:et,setDepatureTime:tt,selectfun:xe,f
1ilterByApplied:_t,setFilterByApplied:vt}),(0,r.jsx)(x.WO,{details:null!==(bt=null===ae||void 0===ae?void 0:ae.cardDetails)&&void 0!==bt?bt:null}),(0,r.jsx)(x.xe,{details:null===ae||void 0===ae?void 0:ae.popupDetails,utmSource:H,reminderDetails:null!==(xt=null===ae||void 0===ae?void 0:ae.reminderDetails)&&void 0!==xt?xt:{}}),(0,r.jsx)(b.Z,{date:Re.current.date,reference:ce,routeInfoRef:Re,seoData:L,setOpenModifySearch:Se,dataFilter:Ce,filterShowORNot:ke,headerFreeCalcelationBanner:Te,filterStringApply:ge,getTrainList:Ie,searchQuery:Ne,busRef:je.current,removeFilterfun:Me,noTrainData:Pe,quotaFilterSelection:Ge,selectedQuotaCode:Ue,setSelectedTrain:Xe,selectedTrain:Ye,setShowLogin:he,booking_window:ie,imideateSearchOnCalender:at,calender:lt,updateCalender:ft,dateFormate:function(e){return{day:(0,p.JP)(p.gc)[e.getDay()],month:(0,p.JP)(p.zC)[e.getMonth()],date:e.getDate(),fulldate:e}},maxDate:ot,setFilterByApplied:vt,setTotalTrainPresentInList:kt,showLogin:me})]}),Oe&&(0,r.jsx)(k.Z,{className:"Mui-ladies_quota__filter_overlay",onClick:function(e){e.stopPropagation(),Ae((0,N.oY)({isladiesquotapopupvisible:!1,ladiesfiltertrain:""}))}}),Le&&(0,r.jsx)(k.Z,{className:"Mui-available-only__filter_overlay",onClick:function(e){e.stopPropagation(),Ae((0,D.ks)({isavailableonlyvisible:!1}))}}),(0,r.jsx)(x.xd,{routeInfoRef:Re,details:null!==(Rt=null===ae||void 0===ae?void 0:ae.cardDetails)&&void 0!==Rt?Rt:null}),Ee&&(0,r.jsx)(o.ZP,{}),(0,r.jsx)(R.Z,{ispassengerpage:!1})]})}},95312:function(e){e.exports={stickyDiv:"datestrip_stickyDiv__YqPLb",date_list:"datestrip_date_list__4nsmy",date_show:"datestrip_date_show__9WS6r",date_selected:"datestrip_date_selected__nVKnL",monthdiv:"datestrip_monthdiv__Zi_zn",extraWidth:"datestrip_extraWidth__b0PqU",extraConfig:"datestrip_extraConfig__8ayWb",stickmonth:"datestrip_stickmonth__mWILI",datediv:"datestrip_datediv__vrrwC",datep:"datestrip_datep__CIH76",tatkal:"datestrip_tatkal__wrXod"}}},function(e){e.O(0,[4976,296,5582,49,9990,3466,5675,2036,1994,2785,9947,8221,509,3911,5576,8078,4432,6876,3795,2390,6176,6160,4825,1497,4769,5475,9774,2888,179],(function(){return t=88223,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.