PageSourceSearch

https://balajitourpackage.in/balajitourpackage/js/React/Main_Page.jsx

js balajitourpackage.in collected 2026-10-02 01:02:20 UTC 88,782 bytes, 2,393 lines download raw bytes

1// @hash v3-16B301E5F1B0E27A2012514532B67BF7C3563471
2// Automatically generated by ReactJS.NET. Do not edit, your changes will be overridden.
3// Version: 5.2.12 (build 29c76c8) with Babel 7.8.7
4// Generated at: 10/2/2026 6:32:18 AM
5///////////////////////////////////////////////////////////////////////////////
6function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
7
8function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
9
10function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
11
12function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
13
14const {
15  useEffect,
16  useState,
17  Suspense,
18  useRef,
19  forwardRef
20} = React;
21const {
22  TextField,
23  Autocomplete,
24  RadioGroup,
25  FormControlLabel,
26  Radio,
27  Box,
28  Dialog,
29  DialogTitle,
30  DialogContent,
31  DialogActions,
32  Slide,
33  DialogContentText,
34  Button,
35  Snackbar,
36  Alert
37} = MaterialUI;
38let version = "1.0.0.1";
39const AboutUS = React.lazy(() => import('/Scripts/JS/AboutUS.jsx'));
40const TermsAndConditions = React.lazy(() => import('/Scripts/JS/termsandconditions.jsx'));
41const PrivacyPolicy = React.lazy(() => import('/Scripts/JS/PrivacyPolicy.jsx'));
42const Gallery = React.lazy(() => import('/Scripts/JS/Gallery.jsx'));
43const CancellationAndRefundPolicy = React.lazy(() => import('/Scripts/JS/Common/CancellationAndRefundPolicy.jsx'));
44const BusCharter = React.lazy(() => import('/Scripts/JS/Common/BusCharter.jsx')); //import AvailbleRoutes from '/Scripts/JS/Common/AvailbleRoutes.jsx';
45
46const AvailbleRoutes = React.lazy(() => import('/Scripts/JS/Common/AvailbleRoutes.jsx'));
47const ETicket = React.lazy(() => import('/Scripts/JS/Common/ETicket.jsx'));
48const Information = React.lazy(() => import('/Scripts/JS/Information.jsx'));
49const CancelStatus = React.lazy(() => import('/Scripts/JS/CancelStatus.jsx'));
50const PaymentFailed = React.lazy(() => import('/Scripts/JS/PaymentFailed.jsx'));
51const TranStatus = React.lazy(() => import('/Scripts/JS/Common/TranStatus.jsx'));
52const ModifyTicket = React.lazy(() => import('/Scripts/JS/Common/ModifyTicket_V2.jsx'));
53const MyBooking = React.lazy(() => import('/Scripts/JS/Common/MyBooking.jsx'));
54const Login = React.lazy(() => import('/Scripts/JS/Common/Login.jsx'));
55const AgentRegistration = React.lazy(() => import('/Scripts/JS/AgentRegistration.jsx'));
56const Feedback = React.lazy(() => import('/Scripts/JS/Feedback.jsx'));
57const ContactUS = React.lazy(() => import('/Scripts/JS/Common/ContactUS.jsx'));
58const PayOnline = React.lazy(() => import('/Scripts/JS/Common/PayOnline.jsx'));
59const Cancellation = React.lazy(() => import('/Scripts/JS/Common/Cancellation.jsx'));
60const RefundStatus = React.lazy(() => import('/Scripts/JS/RefundStatus.jsx'));
61const ErrorLog = React.lazy(() => import('/Scripts/JS/ErrorLog.jsx'));
62const Downloadapp = React.lazy(() => import('/Scripts/JS/Common/Downloadapp.jsx'));
63const My_Booking = React.lazy(() => import('/Scripts/JS/Common/MBLoad.jsx'));
64const {
65  BrowserRouter: Router,
66  Switch,
67  Route,
68  HashRouter,
69  Link,
70  Redirect
71} = ReactRouterDOM;
72const Transition = forwardRef(function Transition(props, ref) {
73  return React.createElement(Slide, _extends({
74    direction: "up",
75    ref: ref
76  }, props));
77});
78
79function Main_PG() {
80  let [compDetails, setcompDetails] = useState({});
81  useEffect(() => {
82    (async function () {
83      CreateLSForPopup();
84      await CompanyDetails();
85    })();
86  }, []);
87
88  const CreateLSForPopup = () => {
89    try {
90      localStorage.setItem('LSForPopup', JSON.stringify({
91        id: 1
92      }));
93    } catch (error) {
94      insertError(error, "Ruturajsinh Jadeja");
95    }
96  };
97
98  useEffect(() => {
99    if (Object.keys(compDetails).length > 0) {
100      loadData();
101    }
102  }, [compDetails]);
103
104  const CompanyDetails = async () => {
105    try {
106      //$(".isLoader").show();
107      let showdata = JSON.parse(localStorage.getItem('cData') || '[]');
108
109      if (_.isEmpty(showdata) != true) {
110        setcompDetails(showdata);
111        localStorage.removeItem("cData");
112      } else {
113        await axios.post('/Web_Methods/MainPage.aspx/GetCompanyData', {}).then(async response => {
114          if (!response.data.d.isUrlExpired) {
115            const data = await JSON.parse(response.data.d.data);
116            setcompDetails(data);
117          }
118        }).catch(function (error) {
119          console.log(error);
120        });
121      }
122
123      const element = document.getElementById("divComData");
124
125      if (element != null) {
126        element.remove();
127      }
128    } catch (error) {
129      insertError(error, "Ruturajsinh Jadeja");
130    } finally {
131      $(".isLoader").hide();
132    }
133  };
134
135  const loadData = () => {};
136
137  const insertError = (error, dev_Name) => {
138    const id = CreateNewDiv();
139    const root1 = ReactDOM.createRoot(document.getElementById(id));
140    root1.render(React.createElement(Suspense, null, React.createElement(ErrorLog, {
141      CustomErrorObj: {
142        errorObj: error,
143        developerName: dev_Name
144      }
145    })));
146    RemoveDiv(id);
147  };
148
149  const dynamicData = {
150    img1: compDetails?.companyData?.CDNDataFolder + "/images/site/Logo.png?d=" + version
151  };
152  return React.createElement(React.Fragment, null, Object.keys(compDetails).length > 0 && React.createElement(React.Fragment, null, React.createElement(HashRouter, null, React.createElement(Header, {
153    compDetails: compDetails
154  }), React.createElement(Route, {
155    path: "/",
156    exact: true,
157    render: props => React.createElement(Index, {
158      compDetails: compDetails
159    })
160  }), React.createElement(Footer, {
161    compDetails: compDetails
162  }))));
163}
164
165const root1 = ReactDOM.createRoot(document.getElementById('demo'));
166root1.render(React.createElement(Main_PG, null));
167
168const Index = props => {
169  const {
170    compDetails
171  } = props;
172  let currentDate = dayjs(dayjs(), 'YYYY-MM-DD').format('YYYY-MM-DD');
173  let [cityObj, setcityObj] = useState({
174    fromCity: {
175      value: 0,
176      label: ''
177    },
178    toCity: {
179      value: 0,
180      label: ''
181    },
182    fromCity1: {
183      value: 0,
184      label: ''
185    },
186    toCity1: {
187      value: 0,
188      label: ''
189    },
190    fromCity2: {
191      value: 0,
192      label: ''
193    },
194    toCity2: {
195      value: 0,
196      label: ''
197    },
198    tripType: 0,
199    //  0 single, 1 return, 2 multi
200    anotherPair: 0,
201    topDestination: -1,
202    popupIMG: []
203  });
204  let [fromDate, setfromDate] = useState('');
205  let [todate, settodate] = useState('');
206  let [cityListObj, setcityListObj] = useState([]);
207  let [cityList, setcityList] = useState([]);
208  let [toCityList, setToCityList] = useState([]);
209  let [dlgMsg, setdlMsg] = useState({
210    open: false,
211    msg: ''
212  });
213  let [displayPopup, setDisplayPopup] = useState(false);
214  let [journyDate1, setJournyDate1] = useState('');
215  let [journyDate2, setJournyDate2] = useState('');
216  let [cityPairs, setCityPairs] = useState({
217    recentCity: [],
218    topDestination: []
219  }); //State For Popup
220
221  let [popupImages, setpopupImages] = useState([]);
222  let [redirectAvlRt, setRedirectAvlRt] = useState(false);
223  let Journydate = useRef(currentDate);
224
225  const datechange = (id, value) => {
226    if (id == "txtFromDate") {
227      if (value != "") {
228        $("#spanFromDate").hide();
229        $("#spanValidFromDate").hide();
230        setfromDate(value);
231      } else {
232        let today = _.todayDate('DD-MM-YYYY');
233
234        setfromDate(today);
235        $("#spanFromDate").hide();
236        $("#spanValidFromDate").hide();
237        $('#txtFromDate').val(today);
238      }
239    } else if (id == "txtToDate") {
240      $("#spanValidFromDate").hide();
241      $("#spanValidToDate").hide();
242      settodate(value);
243    } else if (id == "txtFromDate1") {
244      setJournyDate1(value);
245    } else if (id == "txtFromDate2") {
246      setJournyDate2(value);
247    } //$('.txtDateTime').hide();
248
249  };
250
251  let [open, setOpen] = useState(false);
252  useEffect(() => {
253    (async function () {
254      await getMainPage_Details();
255      await loadDataindx(); //await routeSlider();
256
257      setFromDate(); //getRecntSearch_TopDestination();
258      // mobilebottomMenu();
259
260      /*digitcounters();*/
261      //getLSForPopup();
262
263      await offerSlider();
264      await GetsliderImage();
265    })();
266  }, []);
267
268  const getLSForPopup = () => {
269    let showdata = JSON.parse(localStorage.getItem('LSForPopup') || '[]');
270
271    if (_.isEmpty(showdata) != true) {
272      display_Popup();
273      localStorage.removeItem("LSForPopup");
274    }
275  };
276
277  const display_Popup = () => {
278    setDisplayPopup(true); //setTimeout(function () { Close_Popup(); }, 5000);
279  };
280
281  const RecentCity = async index => {
282    try {
283      cityObj.fromCity = {
284        value: cityPairs.recentCity[index].FCID,
285        label: cityPairs.recentCity[index].fromcityName
286      };
287      cityObj.toCity = {
288        value: cityPairs.recentCity[index].TCID,
289        label: cityPairs.recentCity[index].tocityName
290      };
291      setcityObj(cityObj => _objectSpread({}, cityObj));
292    } catch (error) {
293      insertError(error, "Ruturajsinh Jadeja");
294    } finally {
295      $(".isLoader").hide();
296    }
297  };
298
299  const Close_Popup = () => {
300    setDisplayPopup(false);
301  };
302
303  const getMainPage_Details = async () => {
304    try {
305      //
306      //$(".isLoader").show();
307      await axios.post('/Web_Methods/MainPage.aspx/GetMainPage_Details', {}).then(async response => {
308        $(".isLoader").hide();
309
310        if (response.data.d.data != "") {
311          let data = await JSON.parse(response.data.d.data);
312
313          if (data.cityList.length > 0) {
314            setcityListObj(data.cityList);
315            let options = [];
316
317            let fCity = _.uniqBy(data.cityList, 'FromCityID');
318
319            fCity.map(function (option, index) {
320              let obj = {
321                value: option.FromCityID,
322                label: option.FromCity,
323                key: index
324              };
325              options.push(obj);
326            });
327            setcityList(options);
328          }
329
330          if (data.popularRoute.length > 0) {
331            cityPairs.topDestination = data.popularRoute;
332            setCityPairs(cityPairs => _objectSpread({}, cityPairs));
333          }
334
335          if (data.DisplayPopup.length > 0) {
336            cityObj.popupIMG.push(data.DisplayPopup);
337            setpopupImages(data.DisplayPopup);
338            setcityObj(cityObj => _objectSpread({}, cityObj)); //setDisplayPopup(true);
339
340            getLSForPopup();
341          }
342        }
343      }).catch(function (error) {
344        console.log(error);
345      });
346    } catch (error) {
347      insertError(error, "Ruturajsinh Jadeja");
348    } finally {
349      $(".isLoader").hide();
350    }
351  };
352
353  const setFromDate = () => {
354    try {
355      let today = _.todayDate('DD-MM-YYYY');
356
357      setfromDate(today);
358      $('#txtFromDate').val(today);
359    } catch (error) {
360      insertError(error, "Ruturajsinh Jadeja");
361    }
362  };
363
364  const getRecntSearch_TopDestination = async () => {
365    try {
366      let showdata = JSON.parse(localStorage.getItem('Recentserch') || '[]');
367
368      if (showdata.length != 0) {
369        cityPairs.recentCity = _.reverse(showdata);
370      } //cityPairs.topDestination = await getTopDestination();
371
372
373      setCityPairs(cityPairs => _objectSpread({}, cityPairs));
374    } catch (error) {
375      insertError(error, "Ruturajsinh Jadeja");
376    } finally {}
377  };
378
379  const ddlCityChange = async (e, n, name) => {
380    try {
381      cityObj[name] = n;
382
383      if (name == 'fromCity') {
384        if (n != null && n != undefined && n.value > 0) {
385          cityObj.toCity = {
386            value: 0,
387            label: ''
388          };
389          await setToCity_Obj(n.value);
390          setOpen(true);
391          $("#spanFromCity").hide();
392          $("#ToCity").focus();
393        }
394      } else if (name == 'toCity') {
395        $("#spanToCity").hide();
396        $("#spanInvToCity").hide();
397        $("#txtFromDate").focus();
398      }
399
400      setcityObj(cityObj => _objectSpread({}, cityObj));
401    } catch (error) {
402      insertError(error, "Ruturajsinh Jadeja");
403    }
404  };
405
406  const setToCity_Obj = value => {
407    try {
408      let toCity = _.filter(cityListObj, {
409        'FromCityID': value
410      });
411
412      let options = [];
413      toCity.map(function (option, index) {
414        let obj = {
415          value: option.ToCityID,
416          label: option.ToCity,
417          key: index
418        };
419        options.push(obj);
420      });
421      setToCityList(options);
422    } catch (error) {
423      insertError(error, "Ruturajsinh Jadeja");
424    }
425  };
426
427  const loadDataindx = () => {
428    try {
429      var date = new Date();
430      $(".txtDateTime").datepicker({
431        format: "dd-mm-yyyy",
432        autoclose: 1,
433        todayHighlight: 1,
434        startDate: date,
435        endDate: "+6m"
436      }).on("change", function (e) {
437        let id = e.currentTarget.id;
438        let value = e.currentTarget.value;
439        datechange(id, value);
440      });
441      const carouselButtons = document.querySelectorAll('[data-button]');
442      carouselButtons.forEach(button => {
443        button.addEventListener('click', () => {
444          const offset = button.dataset.carouselButton === 'left' ? -1 : 1;
445          const slides = button.closest('[data-carousel]').querySelector('[data-slides]');
446          const activeSlide = slides.querySelector('[data-active]');
447          let newIndex = [...slides.children].indexOf(activeSlide) + offset;
448          if (newIndex < 0) newIndex = slides.children.length - 1;
449          if (newIndex >= slides.children.length) newIndex = 0;
450          delete activeSlide.dataset.active;
451          slides.children[newIndex].dataset.active = true;
452        });
453      }); //});
454    } catch (error) {
455      insertError(error, "Ruturajsinh Jadeja");
456    } finally {
457      $(".isLoader").hide();
458    }
459  };
460
461  const GetsliderImage = async () => {
462    const carousel = document.querySelector('.carousel');
463    const slides = carousel.querySelectorAll('.slide');
464    const leftButton = carousel.querySelector('[data-button="left"]');
465    const rightButton = carousel.querySelector('[data-button="right"]');
466    let currentIndex = 0;
467
468    function showSlide(index) {
469      slides.forEach((slide, i) => {
470        slide.classList.remove('active');
471        slide.removeAttribute('data-active');
472
473        if (i === index) {
474          slide.classList.add('active');
475          slide.setAttribute('data-active', true);
476        }
477      });
478    }
479
480    function goToNextSlide() {
481      currentIndex = (currentIndex + 1) % slides.length;
482      showSlide(currentIndex);
483    }
484
485    function goToPreviousSlide() {
486      currentIndex = (currentIndex - 1 + slides.length) % slides.length;
487      showSlide(currentIndex);
488    }
489
490    rightButton.addEventListener('click', goToNextSlide);
491    leftButton.addEventListener('click', goToPreviousSlide); // Optional: Auto-slide every 5 seconds
492
493    setInterval(goToNextSlide, 5000);
494  };
495
496  function Loadindx() {
497    loadDataindx();
498  }
499
500  const tripTypeChange = type => {
501    try {
502      cityObj.tripType = type;
503
504      if (type != 1) {
505        settodate = ""; // $("#txtToDate").val('');
506      }
507
508      if (type != 2) {
509        cityObj.fromCity1 = {
510          value: 0,
511          label: ''
512        };
513        cityObj.toCity1 = {
514          value: 0,
515          label: ''
516        };
517        cityObj.fromCity2 = {
518          value: 0,
519          label: ''
520        };
521        cityObj.toCity2 = {
522          value: 0,
523          label: ''
524        };
525        cityObj.anotherPair = 0;
526        setJournyDate1('');
527        setJournyDate2(''); //loadDataindx();
528      }
529
530      setcityObj(cityObj => _objectSpread({}, cityObj));
531    } catch (error) {
532      insertError(error, "Ruturajsinh Jadeja");
533    } finally {}
534  };
535
536  const addRemoveMultiCity = type => {
537    try {
538      cityObj.anotherPair = type;
539
540      if (type == 0) {
541        cityObj.fromCity2 = {
542          value: 0,
543          label: ''
544        };
545        cityObj.toCity2 = {
546          value: 0,
547          label: ''
548        };
549        setJournyDate2('');
550      } else {
551        loadDataindx();
552      }
553
554      setcityObj(cityObj => _objectSpread({}, cityObj));
555    } catch (error) {
556      insertError(error, "Ruturajsinh Jadeja");
557    } finally {}
558  };
559
560  const searchRoutes = async e => {
561    try {
562      const city_Obj = _.cloneDeep(cityObj);
563
564      let isValid = Validation(city_Obj);
565
566      if (isValid) {
567        let fDate = "",
568            tDate = "";
569        fDate = fromDate;
570        tDate = todate;
571        const data = {
572          fromCityID: cityObj.fromCity.value,
573          toCityID: cityObj.toCity.value,
574          fromCityName: cityObj.fromCity.label,
575          toCityName: cityObj.toCity.label,
576          jdate: fDate,
577          jdateR: tDate,
578          isBindReturnRoute: 0,
579          redirectUrl: "",
580          msg: "",
581          fromCityID1: cityObj.fromCity1.value,
582          toCityID1: cityObj.toCity1.value,
583          fromCityName1: cityObj.fromCity1.label,
584          toCityName1: cityObj.toCity1.label,
585          journeyDate1: journyDate1,
586          tripType: cityObj.tripType,
587          fromCityID2: cityObj.fromCity2.value,
588          toCityID2: cityObj.toCity2.value,
589          fromCityName2: cityObj.fromCity2.label,
590          toCityName2: cityObj.toCity2.label,
591          journeyDate2: journyDate2
592        };
593        await axios.post('/Web_Methods/MainPage.aspx/Bind_AvailableRoutes', {
594          SRI: data
595        }).then(async response => {
596          if (response.data.d.isUrlExpired == false) {
597            if (response.data.d.data != "") {
598              if (response.data.d.data.includes("AvailebleRoutes")) {
599                setRedirectAvlRt(true);
600              }
601            }
602          }
603        }).catch(function (error) {
604          console.log(error);
605        });
606      }
607    } catch (error) {
608      insertError(error, "Ruturajsinh Jadeja");
609    } finally {
610      $(".isLoader").hide();
611    }
612  };
613
614  const Validation = cityObjCp => {
615    let isValid = true;
616
617    try {
618      if (cityObjCp.fromCity != null && cityObjCp.fromCity.value > 0) {
619        $("#spanFromCity").hide();
620      } else {
621        $("#spanFromCity").show();
622        $("#FromCity").focus();
623        isValid = false;
624      }
625
626      if (cityObjCp.toCity != null && cityObjCp.toCity.value > 0) {
627        $("#spanToCity").hide();
628
629        if (cityObjCp.fromCity != null && cityObjCp.fromCity.value > 0 && cityObjCp.toCity.value == cityObjCp.fromCity.value) {
630          $("#ToCity").focus();
631          $("#spanInvToCity").show();
632          isValid = false;
633        } else {
634          $("#spanInvToCity").hide();
635        }
636      } else {
637        $("#spanInvToCity").hide();
638        $("#spanToCity").show();
639        $("#ToCity").focus();
640        isValid = false;
641      }
642
643      if (fromDate != "" && fromDate != null && fromDate != undefined) {
644        $("#spanFromDate").hide();
645        const now = dayjs(dayjs().format('YYYY-MM-DD'));
646        let tm = dayjs(fromDate, 'DD-MM-YYYY').format('DD-MM-YYYY');
647        let valid = dayjs(tm, 'DD-MM-YYYY', true).isValid();
648        const date = dayjs(dayjs(fromDate, 'DD-MM-YYYY').format('YYYY-MM-DD'));
649        let diff = date.diff(now);
650
651        if (diff < 0 || isNaN(diff) || valid == false || tm != fromDate) {
652          isValid = false;
653          $("#spanValidFromDate").show();
654        } else {
655          $("#spanValidFromDate").hide();
656        }
657      } else {
658        isValid = false;
659        $("#spanFromDate").show();
660        $("#txtFromDate").focus();
661        $("#spanValidFromDate").hide();
662      }
663
664      if (todate != "" && todate != null && todate != undefined) {
665        const now = dayjs(dayjs(fromDate, 'DD-MM-YYYY').format('YYYY-MM-DD'));
666        let tm = dayjs(todate, 'DD-MM-YYYY').format('DD-MM-YYYY');
667        let valid = dayjs(tm, 'DD-MM-YYYY', true).isValid();
668        const date = dayjs(dayjs(todate, 'DD-MM-YYYY').format('YYYY-MM-DD'));
669        let diff = date.diff(now);
670
671        if (diff < 0 || isNaN(diff) || valid == false || tm != todate) {
672          isValid = false;
673          $("#spanValidToDate").show();
674        } else {
675          $("#spanValidToDate").hide();
676        }
677      } else {
678        $("#spanValidToDate").hide();
679      }
680
681      if (isValid && cityObjCp.tripType == 2) {
682        if (cityObjCp.fromCity1 != null && cityObjCp.fromCity1.value > 0) {
683          $("#spanFromCity1").hide();
684        } else {
685          $("#spanFromCity1").show();
686          $("#FromCity1").focus();
687          isValid = false;
688        }
689
690        if (cityObjCp.toCity1 != null && cityObjCp.toCity1.value > 0) {
691          $("#spanToCity1").hide();
692
693          if (cityObjCp.fromCity1 != null && cityObjCp.fromCity1.value > 0 && cityObjCp.toCity1.value == cityObjCp.fromCity1.value) {
694            $("#ToCity1").focus();
695            $("#spanInvToCity1").show();
696            isValid = false;
697          } else {
698            $("#spanInvToCity1").hide();
699          }
700        } else {
701          $("#spanInvToCity1").hide();
702          $("#spanToCity1").show();
703          $("#ToCity1").focus();
704          isValid = false;
705        }
706
707        if (journyDate1 != "" && journyDate1 != null && journyDate1 != undefined) {
708          $("#spanFromDate1").hide(); //const now = dayjs(dayjs().format('YYYY-MM-DD'));
709
710          const now = dayjs(dayjs(fromDate, 'DD-MM-YYYY').format('YYYY-MM-DD'));
711          let tm = dayjs(journyDate1, 'DD-MM-YYYY').format('DD-MM-YYYY');
712          let valid = dayjs(tm, 'DD-MM-YYYY', true).isValid();
713          const date = dayjs(dayjs(journyDate1, 'DD-MM-YYYY').format('YYYY-MM-DD'));
714          let diff = date.diff(now);
715
716          if (diff < 0 || isNaN(diff) || valid == false || tm != journyDate1) {
717            isValid = false;
718            $("#spanValidFromDate1").show();
719          } else {
720            $("#spanValidFromDate1").hide();
721          }
722        } else {
723          isValid = false;
724          $("#spanFromDate1").show();
725          $("#txtFromDate1").focus();
726          $("#spanValidFromDate1").hide();
727        }
728
729        if (isValid && cityObjCp.anotherPair == 1) {
730          if (cityObjCp.fromCity2 != null && cityObjCp.fromCity2.value > 0) {
731            $("#spanFromCity2").hide();
732          } else {
733            $("#spanFromCity2").show();
734            $("#FromCity2").focus();
735            isValid = false;
736          }
737
738          if (cityObjCp.fromCity2 != null && cityObjCp.fromCity2.value > 0 && cityObjCp.toCity2 != null && cityObjCp.toCity2.value > 0) {
739            $("#spanToCity2").hide();
740
741            if (cityObjCp.toCity2.value == cityObjCp.fromCity2.value) {
742              $("#ToCity2").focus();
743              $("#spanInvToCity2").show();
744              isValid = false;
745            } else {
746              $("#spanInvToCity2").hide();
747            }
748          } else {
749            $("#spanInvToCity2").hide();
750            $("#spanToCity2").show();
751            $("#ToCity2").focus();
752            isValid = false;
753          }
754
755          if (journyDate2 != "" && journyDate2 != null && journyDate2 != undefined) {
756            $("#spanFromDate2").hide(); //const now = dayjs(dayjs().format('YYYY-MM-DD'));
757
758            const now = dayjs(dayjs(journyDate1, 'DD-MM-YYYY').format('YYYY-MM-DD'));
759            let tm = dayjs(journyDate2, 'DD-MM-YYYY').format('DD-MM-YYYY');
760            let valid = dayjs(tm, 'DD-MM-YYYY', true).isValid();
761            const date = dayjs(dayjs(journyDate2, 'DD-MM-YYYY').format('YYYY-MM-DD'));
762            let diff = date.diff(now);
763
764            if (diff < 0 || isNaN(diff) || valid == false || tm != journyDate2) {
765              isValid = false;
766              $("#spanValidFromDate2").show();
767            } else {
768              $("#spanValidFromDate2").hide();
769            }
770          } else {
771            isValid = false;
772            $("#spanFromDate2").show();
773            $("#txtFromDate2").focus();
774            $("#spanValidFromDate2").hide();
775          }
776        }
777      }
778    } catch (error) {
779      insertError(error, "Ruturajsinh Jadeja");
780    }
781
782    return isValid;
783  };
784
785  const dynamicData = {
786    //img1: compDetails?.companyData?.DataFolder + "/images/site/Logo.png?d=0.0",
787    img1: compDetails?.companyData?.CDNDataFolder + "/images/site/Logo.png?d=" + version,
788    slider: compDetails?.companyData?.CDNDataFolder + "/images/slider.webp?d=" + version,
789    slider1: compDetails?.companyData?.CDNDataFolder + "/images/Slider_01.webp?d=" + version,
790    slider2: compDetails?.companyData?.CDNDataFolder + "/images/Slider_02.webp?d=" + version,
791    slider3: compDetails?.companyData?.CDNDataFolder + "/images/Slider_03.webp?d=" + version,
792    Discount_Count: compDetails?.companyData?.CDNDataFolder + "/images/Discount_Count.png?d=" + version,
793    Offer_Card01: compDetails?.companyData?.CDNDataFolder + "/images/Offer_Card01.webp?d=" + version,
794    Offer_Card02: compDetails?.companyData?.CDNDataFolder + "/images/Offer_Card02.webp?d=" + version,
795    Offer_Card03: compDetails?.companyData?.CDNDataFolder + "/images/Offer_Card03.webp?d=" + version,
796    Testimonial_User: compDetails?.companyData?.CDNDataFolder + "/images/Testimonial_User.png?d=" + version,
797    Mobile_QR: compDetails?.companyData?.CDNDataFolder + "/images/Mobile_QR.webp?d=" + version,
798    Playstore_Button: compDetails?.companyData?.CDNDataFolder + "/images/Playstore_Button.png?d=" + version,
799    //DiscountPopup: compDetails?.companyData?.CDNDataFolder + "/images/DiscountBanner.png?d=" + version,
800    //DiscountPopup: compDetails?.companyData?.DataFolder + "/images/VTPLDigitalBanner.jpg?d=" + version,
801    DiscountPopup: compDetails?.companyData?.DataFolder + "/images/DiscountBannerVRL.png?d=" + version
802  };
803
804  const mouseover = id => {
805    document.getElementById(id).stop();
806  };
807
808  const mouseout = id => {
809    document.getElementById(id).start();
810  };
811
812  const Swap_City = (from, to) => {
813    try {
814      let obj = _.cloneDeep(cityObj);
815
816      if (obj[from] != null && obj[to] != null && obj[from] != undefined && obj[to] != undefined && obj[from].value > 0 && obj[to].value > 0) {
817        [obj[from], obj[to]] = [obj[to], obj[from]];
818        setcityObj(obj);
819      } else {
820        alertBox("Please Select City");
821      }
822    } catch (error) {
823      insertError(error, "Ruturajsinh Jadeja");
824    } finally {
825      $(".isLoader").hide();
826    }
827  };
828
829  const scroll = () => {
830    try {
831      _.autoScrollDown('chrt_Header', 100, 0);
832    } catch (error) {
833      insertError(error, "Ruturajsinh Jadeja");
834    } finally {}
835  };
836
837  const openTopDestination = async (index, obj) => {
838    try {
839      //
840      cityObj.fromCity = {
841        value: obj.FromCityID,
842        label: obj.FromCityName
843      };
844      cityObj.toCity = {
845        value: obj.ToCityID,
846        label: obj.ToCityName
847      };
848      let tempdate = dayjs(dayjs(), 'DD-MM-YYYY').format('DD-MM-YYYY');
849      $("#txtFromDate").val(tempdate);
850      fromDate = tempdate;
851      setfromDate(fromDate => _objectSpread({}, fromDate));
852      setcityObj(cityObj => _objectSpread({}, cityObj));
853      await searchRoutes();
854    } catch (error) {
855      insertError(error, "Ruturajsinh Jadeja");
856    } finally {}
857  }; //const openTopDestination_2 = async (fid, tid, fname, tname) => {
858
859
860  const openTopDestination_2 = async (cityId, cityName) => {
861    try {
862      cityObj.fromCity = {
863        value: cityId[0],
864        label: cityName[0]
865      };
866      cityObj.toCity = {
867        value: cityId[1],
868        label: cityName[1]
869      };
870      let tempdate = dayjs(dayjs(), 'DD-MM-YYYY').format('DD-MM-YYYY');
871      $("#txtFromDate").val(tempdate);
872      fromDate = tempdate;
873      setfromDate(fromDate => _objectSpread({}, fromDate));
874      setcityObj(cityObj => _objectSpread({}, cityObj));
875      await searchRoutes();
876    } catch (error) {
877      insertError(error, "Ruturajsinh Jadeja");
878    } finally {}
879  };
880
881  const handleClose = () => {
882    setdlMsg({
883      open: false,
884      msg: ''
885    });
886  };
887
888  const alertBox = mesage => {
889    setdlMsg({
890      open: true,
891      msg: mesage
892    });
893  };
894
895  const TocityChange = data => {
896    try {
897      cityObj.toCity = data;
898      setcityObj(cityObj => _objectSpread({}, cityObj));
899      searchRoutes();
900    } catch (error) {
901      insertError(error, "Ruturajsinh Jadeja");
902    } finally {}
903  };
904
905  const insertError = (error, dev_Name) => {
906    const id = CreateNewDiv();
907    const root1 = ReactDOM.createRoot(document.getElementById(id));
908    root1.render(React.createElement(Suspense, null, React.createElement(ErrorLog, {
909      CustomErrorObj: {
910        errorObj: error,
911        developerName: dev_Name
912      }
913    })));
914    RemoveDiv(id);
915  };
916
917  if (redirectAvlRt) {
918    return React.createElement(Redirect, {
919      to: "/availableroutes"
920    });
921  }
922
923  const mobilebottomMenu = () => {
924    var navItems = document.querySelectorAll(".mobile-bottom-nav__item");
925    navItems.forEach(function (e, i) {
926      e.addEventListener("click", function (e) {
927        navItems.forEach(function (e2, i2) {
928          e2.classList.remove("mobile-bottom-nav__item--active");
929        });
930        this.classList.add("mobile-bottom-nav__item--active");
931      });
932    });
933  };
934
935  const offerSlider = () => {
936    try {
937      $('.autoplayroute').slick({
938        slidesToShow: 2,
939        slidesToScroll: 1,
940        margin: '1px',
941        autoplay: true,
942        dots: false,
943        speed: 900,
944        autoplaySpeed: 2600,
945        responsive: [{
946          breakpoint: 768,
947          settings: {
948            slidesToShow: 1
949          }
950        }]
951      });
952    } catch (error) {
953      console.log(error);
954    }
955
956    try {
957      $('.autoplay').slick({
958        slidesToShow: 2,
959        slidesToScroll: 1,
960        margin: '1px',
961        autoplay: true,
962        dots: false,
963        speed: 900,
964        autoplaySpeed: 2600,
965        responsive: [{
966          breakpoint: 992,
967          settings: {
968            slidesToShow: 1
969          }
970        }]
971      });
972    } catch (error) {
973      console.log(error);
974    }
975  };
976
977  async function callRouteSlider() {
978    await routeSlider();
979  }
980
981  const routeSlider = () => {
982    $(".toproutebox").click(function () {
983      let p = this;
984      let cityPairId = p.childNodes[1].innerText.split(",");
985      let cityPairName = p.childNodes[2].innerText.split(",");
986      openTopDestination_2(cityPairId, cityPairName);
987    });
988  };
989
990  const popupData = {
991    close: Close_Popup,
992    images: popupImages
993  };
994  return React.createElement(React.Fragment, null, React.createElement("section", {
995    className: "hero maxwidth"
996  }, React.createElement("div", {
997    className: "bannerwrapper"
998  }, React.createElement("div", {
999    className: "bookingwrapper"
1000  }, React.createElement("div", {
1001    className: "bookingform"
1002  }, React.createElement("div", {
1003    className: "booking_title"
1004  }, React.createElement("span", null, "Get Set to Travel"), React.createElement("h2", null, "Bus Journey Information")), React.createElement("div", {
1005    className: "booking_parts"
1006  }, React.createElement("div", {
1007    className: "bookingcity"
1008  }, React.createElement("div", {
1009    className: "bookinginput bookingfromcity"
1010  }, React.createElement(Autocomplete, {
1011    id: "FromCity",
1012    autoHighlight: true,
1013    value: cityObj.fromCity,
1014    options: cityList,
1015    sx: {
1016      width: 190
1017    },
1018    onChange: (e, n) => {
1019      ddlCityChange(e, n, 'fromCity');
1020    },
1021    error: "true",
1022    renderOption: (props, option) => React.createElement(Box, _extends({
1023      component: "li"
1024    }, props, {
1025      key: option.value
1026    }), option.label),
1027    renderInput: params => React.createElement(TextField, _extends({}, params, {
1028      label: "",
1029      variant: "standard",
1030      placeholder: "Source"
1031    }))
1032  }), React.createElement("span", {
1033    className: "redclr",
1034    id: "spanFromCity",
1035    style: {
1036      display: 'none',
1037      color: 'red'
1038    }
1039  }, "Please Select From City")), React.createElement("div", {
1040    className: "bookinginput bookingtocity"
1041  }, React.createElement(Autocomplete, {
1042    open: open,
1043    onOpen: () => setOpen(true),
1044    onClose: () => setOpen(false),
1045    disablePortal: true,
1046    id: "ToCity",
1047    autoHighlight: true,
1048    value: cityObj.toCity,
1049    options: toCityList,
1050    sx: {
1051      width: 190
1052    },
1053    onChange: (e, n) => {
1054      ddlCityChange(e, n, 'toCity');
1055    },
1056    renderOption: (props, option) => React.createElement(Box, _extends({
1057      component: "li"
1058    }, props, {
1059      key: option.value
1060    }), option.label),
1061    renderInput: params => React.createElement(TextField, _extends({}, params, {
1062      label: "",
1063      variant: "standard",
1064      placeholder: "Destination"
1065    }))
1066  }), React.createElement("span", {
1067    className: "redclr",
1068    id: "spanToCity",
1069    style: {
1070      display: 'none',
1071      color: 'red'
1072    }
1073  }, "Please Select Destination"), React.createElement("span", {
1074    className: "redclr",
1075    id: "spanInvToCity",
1076    style: {
1077      display: 'none',
1078      color: 'red'
1079    }
1080  }, "Invalid Destination Selection"))), React.createElement("div", {
1081    className: "bookingcity bookingdate"
1082  }, React.createElement("div", {
1083    className: "bookinginput bookingtodate"
1084  }, React.createElement("input", {
1085    type: "text",
1086    id: "txtFromDate",
1087    ref: Journydate,
1088    className: "date txtDateTime",
1089    placeholder: "Departing",
1090    autoComplete: "off",
1091    readOnly: true
1092  }), React.createElement("span", {
1093    className: "redclr",
1094    id: "spanFromDate",
1095    style: {
1096      display: 'none',
1097      color: 'red'
1098    }
1099  }, "Please Select Journey Date"), React.createElement("span", {
1100    className: "redclr",
1101    id: "spanValidFromDate",
1102    style: {
1103      display: 'none',
1104      color: 'red'
1105    }
1106  }, "Please Select Valid Journey Date")), React.createElement("div", {
1107    className: "bookinginput bookingfromdate"
1108  }, React.createElement("input", {
1109    type: "text",
1110    id: "txtToDate",
1111    ref: Journydate,
1112    className: "date txtDateTime",
1113    placeholder: "Return Date",
1114    autoComplete: "off"
1115  }), React.createElement("span", {
1116    className: "redclr",
1117    id: "spanValidFromDate",
1118    style: {
1119      display: 'none',
1120      color: 'red'
1121    }
1122  }, "Please Select Valid From Date"), React.createElement("span", {
1123    className: "redclr",
1124    id: "spanValidToDate",
1125    style: {
1126      display: 'none',
1127      color: 'red'
1128    }
1129  }, "Please Select Valid Journey Date"))), React.createElement("div", {
1130    className: "bookingsearch"
1131  }, React.createElement("button", {
1132    type: "button",
1133    className: "searchbtn",
1134    onClick: searchRoutes
1135  }, "SEARCH BUS"))))), React.createElement("div", {
1136    className: "slider_right"
1137  }, React.createElement("div", {
1138    className: "slider_txt"
1139  }, React.createElement("h1", null, "Enjoy traveling with ", compDetails.companyData.CompanyName, "."), React.createElement("p", null, "Book in advance : Use online booking platforms to book your seat and get better deals.")), React.createElement("div", {
1140    className: "sliderwrapper"
1141  }, React.createElement("div", {
1142    "aria-label": "Gallery"
1143  }, React.createElement("div", {
1144    className: "carousel",
1145    "data-carousel": true
1146  }, React.createElement("ul", {
1147    "data-slides": true
1148  }, compDetails?.companyData?.DataFolder && React.createElement(React.Fragment, null, React.createElement("li", {
1149    className: "slide active fade",
1150    "data-active": true
1151  }, React.createElement("img", {
1152    src: `${compDetails.companyData.DataFolder}/slider/images/site/slider1.webp`
1153  })), React.createElement("li", {
1154    className: "slide fade"
1155  }, React.createElement("img", {
1156    src: `${compDetails.companyData.DataFolder}/slider/images/site/slider2.webp`
1157  })))), React.createElement("span", {
1158    className: "arrow left",
1159    "data-button": "left"
1160  }, React.createElement("svg", {
1161    xmlns: "http://www.w3.org/2000/svg",
1162    width: "40",
1163    height: "40",
1164    viewBox: "0 0 40 40",
1165    fill: "none"
1166  }, React.createElement("g", {
1167    opacity: "0.4"
1168  }, React.createElement("rect", {
1169    x: "0.5",
1170    y: "39.5",
1171    width: "39",
1172    height: "39",
1173    rx: "3.5",
1174    transform: "rotate(-90 0.5 39.5)",
1175    stroke: "white"
1176  }), React.createElement("path", {
1177    d: "M23 14L17 20L23 26",
1178    stroke: "white",
1179    strokeWidth: "1.5",
1180    strokeLinecap: "round",
1181    strokeLinejoin: "round"
1182  })))), React.createElement("span", {
1183    className: "arrow right",
1184    "data-button": "right"
1185  }, React.createElement("svg", {
1186    xmlns: "http://www.w3.org/2000/svg",
1187    width: "40",
1188    height: "40",
1189    viewBox: "0 0 40 40",
1190    fill: "none"
1191  }, React.createElement("g", {
1192    opacity: "0.4"
1193  }, React.createElement("rect", {
1194    x: "-0.5",
1195    y: "-0.5",
1196    width: "39",
1197    height: "39",
1198    rx: "3.5",
1199    transform: "matrix(4.37114e-08 -1 -1 -4.37114e-08 39 39)",
1200    stroke: "white"
1201  }), React.createElement("path", {
1202    d: "M17 14L23 20L17 26",
1203    stroke: "white",
1204    strokeWidth: "1.5",
1205    strokeLinecap: "round",
1206    strokeLinejoin: "round"
1207  })))))))))), React.createElement("section", {
1208    className: "topdestination maxwidth"
1209  }, React.createElement("div", {
1210    className: "topdestinationwrap"
1211  }, React.createElement("div", {
1212    className: "container"
1213  }, React.createElement("div", {
1214    className: "toptitle"
1215  }, React.createElement("span", null, "Quick Search"), React.createElement("h2", null, "Top ", React.createElement("label", null, "Destinations")))), React.createElement("div", {
1216    className: "destination"
1217  }, React.createElement("marquee", {
1218    scrollamount: "6",
1219    direction: "left"
1220  }, React.createElement("ul", null, cityPairs.topDestination.length > 0 && cityPairs.topDestination.map((td, index) => React.createElement(React.Fragment, {
1221    key: index
1222  }, React.createElement("li", null, React.createElement("span", null, td.FromCityName, React.createElement("i", null), td.ToCityName), React.createElement("div", {
1223    className: "booknowin"
1224  }, React.createElement("a", {
1225    onClick: () => {
1226      openTopDestination(index, td);
1227    }
1228  }, "Book Now")))))))))), React.createElement("section", {
1229    className: "about_home maxwidth"
1230  }, React.createElement("div", {
1231    className: "aboutcontent"
1232  }, React.createElement("div", {
1233    className: "container"
1234  }, React.createElement("div", {
1235    className: "aboutmain"
1236  }, React.createElement("div", {
1237    className: "aboutleft"
1238  }, React.createElement("div", {
1239    className: "about_top"
1240  }, React.createElement("div", {
1241    className: "toptitle"
1242  }, React.createElement("span", null, "About Us"), React.createElement("h2", null, React.createElement("label", null, "Balaji"), " Tour Package")), React.createElement("p", null, compDetails.companyData.CompanyName, ", which is located in Bangalore and is a renowned brand in the bus operating industry. Our vision is to give the bus industry a new face. Since our inception, passenger comfort has been our top priority. We have frequently added luxury buses to our huge fleet of buses."), React.createElement("p", null, "The only thing we focus on is that the comfort quotient of our passengers should never be compromised. We have always tried our best to push our limits in order to develop our travel experience. Read further to understand what we offer that enhances our reputation in the market.")), React.createElement("div", {
1243    className: "about_btm"
1244  }, React.createElement("div", {
1245    className: "about_content"
1246  }, React.createElement("div", {
1247    className: "aboutvsms"
1248  }, React.createElement("h3", null, "Our Vision"), React.createElement("p", null, "We envision a journey where travel is smooth, personalized and enriching for every traveler. We aim to be your trusted partner, creating unforgettable experiences that leave lasting memories.")), React.createElement("div", {
1249    className: "aboutvsms"
1250  }, React.createElement("h3", null, "Our Mission"), React.createElement("p", null, "We aim to provide safe, affordable and reliable travel experiences for everyone with a special emphasis on ensuring the safety and comfort of female travelers.")), React.createElement("div", {
1251    className: "aboutusread"
1252  }, React.createElement(Link, {
1253    to: "/AboutUS",
1254    onClick: scroll,
1255    className: "readmore"
1256  }, "Read More ", React.createElement("span", null)))), React.createElement("div", {
1257    className: "about_bus"
1258  }, React.createElement("img", {
1259    src: `${compDetails.companyData.DataFolder}/images/site/about_img01.jpg`
1260  })))), compDetails?.companyData?.DataFolder && React.createElement("div", {
1261    className: "aboutright"
1262  }, React.createElement("img", {
1263    src: `${compDetails.companyData.DataFolder}/images/site/about_img02.webp`
1264  })))))), React.createElement("section", {
1265    className: "aboudata"
1266  }, React.createElement("div", {
1267    className: "maxwidth"
1268  }, React.createElement("div", {
1269    className: "container"
1270  }, React.createElement("div", {
1271    className: "aboutslide"
1272  }, React.createElement("div", {
1273    className: "autoplay"
1274  }, React.createElement("div", null, React.createElement("div", {
1275    className: "abouticon"
1276  }, React.createElement("div", {
1277    className: "aboutbox"
1278  }, React.createElement("img", {
1279    src: `${compDetails.companyData.DataFolder}/images/site/about_slider01.webp`
1280  })))), React.createElement("div", null, React.createElement("div", {
1281    className: "abouticon"
1282  }, React.createElement("div", {
1283    className: "aboutbox"
1284  }, React.createElement("img", {
1285    src: `${compDetails.companyData.DataFolder}/images/site/about_slider02.webp`
1286  })))), React.createElement("div", null, React.createElement("div", {
1287    className: "abouticon"
1288  }, React.createElement("div", {
1289    className: "aboutbox"
1290  }, React.createElement("img", {
1291    src: `${compDetails.companyData.DataFolder}/images/site/about_slider03.webp`
1292  }))))))))), React.createElement("section", {
1293    className: "packgetab"
1294  }, React.createElement("div", {
1295    className: "maxwidth"
1296  }, React.createElement("div", {
1297    className: "container"
1298  }, React.createElement("div", {
1299    className: "packgedata"
1300  }, React.createElement("div", {
1301    className: "toptitle"
1302  }, React.createElement("span", null, "Tour Packages"), React.createElement("h2", null, "Your Journey Begins with Our Exclusive ", React.createElement("label", null, "Tour Packages"))))), React.createElement("div", {
1303    className: "container"
1304  }, React.createElement("div", {
1305    className: "tourpart"
1306  }, React.createElement("div", {
1307    className: "tourleft"
1308  }, React.createElement("div", {
1309    className: "touricons"
1310  }, React.createElement("div", {
1311    class: "filter_tour"
1312  }, React.createElement("input", {
1313    class: "filter-drawer__trigger",
1314    id: "contact-drawer-01",
1315    type: "checkbox",
1316    "data-gtm-form-interact-field-id": "1",
1317    defaultChecked: true
1318  }), React.createElement("label", {
1319    class: "filter-drawer__title tour_title",
1320    for: "contact-drawer-01"
1321  }, React.createElement("span", null, React.createElement("i", {
1322    class: "fa-solid fa-calendar-days"
1323  }), " Day 1"), " Bangalore to Tirupati"), React.createElement("div", {
1324    class: "filter-drawer__content-wrapper tour_details"
1325  }, React.createElement("div", {
1326    class: "tour_content"
1327  }, React.createElement("p", null, React.createElement("i", {
1328    class: "fa-solid fa-arrow-right-long"
1329  }), " Evening pickup from designated boarding points in Bangalore."), React.createElement("p", null, React.createElement("i", {
1330    class: "fa-solid fa-arrow-right-long"
1331  }), " Enjoy a comfortable overnight journey to Tirupati by air-conditioned bus.")))), React.createElement("div", {
1332    class: "tour_line"
1333  }), React.createElement("div", {
1334    class: "filter_tour"
1335  }, React.createElement("input", {
1336    class: "filter-drawer__trigger",
1337    id: "contact-drawer-02",
1338    type: "checkbox",
1339    "data-gtm-form-interact-field-id": "2"
1340  }), React.createElement("label", {
1341    class: "filter-drawer__title tour_title",
1342    for: "contact-drawer-02"
1343  }, React.createElement("span", null, React.createElement("i", {
1344    class: "fa-solid fa-calendar-days"
1345  }), " Day 2"), " Tirupati Darshan & Return "), React.createElement("div", {
1346    class: "filter-drawer__content-wrapper tour_details"
1347  }, React.createElement("div", {
1348    class: "tour_content"
1349  }, React.createElement("p", null, React.createElement("i", {
1350    class: "fa-solid fa-arrow-right-long"
1351  }), " Early morning arrival in Tirupati."), React.createElement("p", null, React.createElement("i", {
1352    class: "fa-solid fa-arrow-right-long"
1353  }), " Hotel check-in, freshen up & breakfast."), React.createElement("p", null, React.createElement("i", {
1354    class: "fa-solid fa-arrow-right-long"
1355  }), " Tirupati Darshan Package from Bangalore - Complete Itinerary & Pricing"), React.createElement("p", null, React.createElement("i", {
1356    class: "fa-solid fa-arrow-right-long"
1357  }), " Free time after darshan (as schedule permits)."), React.createElement("p", null, React.createElement("i", {
1358    class: "fa-solid fa-arrow-right-long"
1359  }), " Visit to Padmavati Temple (as the schedule permits)."), React.createElement("p", null, React.createElement("i", {
1360    class: "fa-solid fa-arrow-right-long"
1361  }), " Snacks or dinner (as available)."), React.createElement("p", null, React.createElement("i", {
1362    class: "fa-solid fa-arrow-right-long"
1363  }), " Evening departure from Tirupati."), React.createElement("p", null, React.createElement("i", {
1364    class: "fa-solid fa-arrow-right-long"
1365  }), " Overnight return to Bangalore by A/C bus."))))), React.createElement("div", {
1366    className: "otherincluded"
1367  }, React.createElement("h3", null, "What's Included"), React.createElement("ul", null, React.createElement("li", null, React.createElement("i", {
1368    class: "fa-solid fa-arrow-right-long"
1369  }), " A/C and regular bus travel"), React.createElement("li", null, React.createElement("i", {
1370    class: "fa-solid fa-arrow-right-long"
1371  }), " Darshan assistance"), React.createElement("li", null, React.createElement("i", {
1372    class: "fa-solid fa-arrow-right-long"
1373  }), " Hotel stay & breakfast"), React.createElement("li", null, React.createElement("i", {
1374    class: "fa-solid fa-arrow-right-long"
1375  }), " On-ground support throughout the journey")))), React.createElement("div", {
1376    className: "tourright"
1377  }, React.createElement("img", {
1378    src: `${compDetails.companyData.DataFolder}/images/site/package_img.jpg`
1379  })))))), React.createElement("section", {
1380    className: "amenities_home maxwidth"
1381  }, React.createElement("div", {
1382    className: "amenitieswrap"
1383  }, React.createElement("div", {
1384    className: "container"
1385  }, React.createElement("div", {
1386    className: "amenitiespart"
1387  }, React.createElement("div", {
1388    className: "toptitle"
1389  }, React.createElement("span", null, "Bus Amenities"), React.createElement("h2", null, "Our ", React.createElement("label", null, "Facilities"), " During Journey")), React.createElement("div", {
1390    className: "amenitieslide"
1391  }, React.createElement("div", {
1392    className: "amenitiesbox"
1393  }, React.createElement("span", null), React.createElement("em", null), React.createElement("h4", null, "Water Bottle")), React.createElement("div", {
1394    className: "amenitiesbox amenitiesbox2"
1395  }, React.createElement("span", null), React.createElement("em", null), React.createElement("h4", null, "Pillow & Blanket")), React.createElement("div", {
1396    className: "amenitiesbox amenitiesbox3"
1397  }, React.createElement("span", null), React.createElement("em", null), React.createElement("h4", null, "Air Conditioners")), React.createElement("div", {
1398    className: "amenitiesbox amenitiesbox4"
1399  }, React.createElement("span", null), React.createElement("em", null), React.createElement("h4", null, "CCTV Camera")), React.createElement("div", {
1400    className: "amenitiesbox amenitiesbox5"
1401  }, React.createElement("span", null), React.createElement("em", null), React.createElement("h4", null, "GPS Tracking")), React.createElement("div", {
1402    className: "amenitiesbox amenitiesbox6"
1403  }, React.createElement("span", null), React.createElement("em", null), React.createElement("h4", null, "Hammer"))))))), React.createElement("section", {
1404    className: "service_home maxwidth"
1405  }, React.createElement("div", {
1406    className: "serviceswrap"
1407  }, React.createElement("div", {
1408    className: "container"
1409  }, React.createElement("div", {
1410    className: "servicespart"
1411  }, React.createElement("div", {
1412    className: "toptitle"
1413  }, React.createElement("span", null, "What We Do"), React.createElement("h2", null, "Our ", React.createElement("label", null, "Services"), " that we provide")), React.createElement("div", {
1414    className: "serviceslide"
1415  }, React.createElement("div", {
1416    className: "servicesbox"
1417  }, React.createElement("img", {
1418    src: `${compDetails.companyData.DataFolder}/images/site/service01.webp`
1419  }), React.createElement("span", null), React.createElement("h4", null, "Online Booking"), React.createElement("p", null, "Enjoy hassle-free bus travel with our easy online booking system. Find the best deals and travel with peace of mind.")), React.createElement("div", {
1420    className: "servicesbox servicesbox2"
1421  }, React.createElement("img", {
1422    src: `${compDetails.companyData.DataFolder}/images/site/service02.webp`
1423  }), React.createElement("span", null), React.createElement("h4", null, "Secure Payment"), React.createElement("p", null, "Make safe and secure online payments with our encryption technology and understand the importance of booking processes.")), React.createElement("div", {
1424    className: "servicesbox servicesbox3"
1425  }, React.createElement("img", {
1426    src: `${compDetails.companyData.DataFolder}/images/site/service03.webp`
1427  }), React.createElement("span", null), React.createElement("h4", null, "Exclusive Offers"), React.createElement("p", null, compDetails.companyData.CompanyName, " provide some special offers having discount schemes as well, Book your bus tickets now.")), React.createElement("div", {
1428    className: "servicesbox servicesbox4"
1429  }, React.createElement("img", {
1430    src: `${compDetails.companyData.DataFolder}/images/site/service04.webp`
1431  }), React.createElement("span", null), React.createElement("h4", null, "Customer Support"), React.createElement("p", null, "We have a team available 24*7 to resolve bookings, cancellations and any other queries or issues the customers have."))))))), React.createElement("section", {
1432    className: "app_home maxwidth"
1433  }, React.createElement("div", {
1434    className: "appwrap"
1435  }, React.createElement("div", {
1436    className: "container"
1437  }, React.createElement("div", {
1438    className: "appart"
1439  }, React.createElement("div", {
1440    className: "app_leftslide"
1441  }, React.createElement("div", {
1442    className: "toptitle"
1443  }, React.createElement("span", null, "Download Now"), React.createElement("h2", null, "Smart ", React.createElement("label", null, "application"))), React.createElement("div", {
1444    className: "app_content"
1445  }, React.createElement("div", {
1446    className: "app_features"
1447  }, React.createElement("h4", null, "Here are some mobile app features for bus traveler :"), React.createElement("div", {
1448    className: "app_featuresbox"
1449  }, React.createElement("label", null, React.createElement("span", null), "Instant Booking & E-Tickets"), React.createElement("label", null, React.createElement("span", null), "Easy Cancellation"), React.createElement("label", null, React.createElement("span", null), "Safety for Ladies"), React.createElement("label", null, React.createElement("span", null), "Multiple Payment Options"), React.createElement("label", null, React.createElement("span", null), "GPS Live Bus Tracking"), React.createElement("label", null, React.createElement("span", null), "24/7 Customer Support"))), React.createElement("div", {
1450    className: "app_vr_line"
1451  }), React.createElement("div", {
1452    className: "app_qr"
1453  }, React.createElement("p", null, "Experience an easy, reliable and convenient way to travel with our ", compDetail
1453s.companyData.CompanyName, " Application. Whether it's a daily commute, we will bring comfort and ease to your journey."), React.createElement("div", {
1454    className: "app_qr_box"
1455  }, React.createElement("span", null, "Scan QR Code & Download Our Application Now!"), React.createElement("img", {
1456    src: `${compDetails.companyData.DataFolder}/images/site/qr_code.png`
1457  })))), React.createElement("div", {
1458    className: "app_links"
1459  }, React.createElement("h3", null, "Travel stress-free with instant booking confirmations."), React.createElement("div", {
1460    className: "google_link"
1461  }, React.createElement("p", null, "Application Available on :"), React.createElement("a", {
1462    href: "https://play.google.com/store/apps/details?id=com.infinityinfoway.balajitourpackage",
1463    target: "_blank"
1464  }, React.createElement("img", {
1465    src: `${compDetails.companyData.DataFolder}/images/site/google_play.svg`
1466  }))))), React.createElement("div", {
1467    className: "app_rightslide"
1468  }, React.createElement("img", {
1469    src: `${compDetails.companyData.DataFolder}/images/site/app_mobile.jpg`
1470  })))))), React.createElement("section", {
1471    className: "cityroute_home maxwidth"
1472  }, React.createElement("div", {
1473    className: "cityroutewrap"
1474  }, React.createElement("div", {
1475    className: "container"
1476  }, React.createElement("div", {
1477    className: "cityroutepart"
1478  }, React.createElement("div", {
1479    className: "cityroutebox"
1480  }, React.createElement("div", {
1481    className: "toptitle"
1482  }, React.createElement("h2", null, "POPULAR ", React.createElement("label", null, "SEARCHES"))), React.createElement("div", {
1483    className: "route_boxes"
1484  }, React.createElement("a", null, "Bangalore to Tirupati Tour Packages"), React.createElement("a", null, "Tirupati Packages From Bangalore"), React.createElement("a", null, "Tirupati Car Packages from Bangalore"), React.createElement("a", null, "Balaji Package from Bangalore"))), React.createElement("div", {
1485    className: "cityroutebox"
1486  }, React.createElement("div", {
1487    className: "toptitle"
1488  }, React.createElement("h2", null, "QUICK ", React.createElement("label", null, "LINKS"))), React.createElement("div", {
1489    className: "route_boxes"
1490  }, React.createElement("a", null, "Shirdi Packages from Bangalore"), React.createElement("a", null, "Bangalore to Mysore Sightseeing Packages"), React.createElement("a", null, "Tirupati Car Package from Bangalore"), React.createElement("a", null, "Thirupathi Packages form Bangalore"))), React.createElement("div", {
1491    className: "cityroutebox cityroutebox2"
1492  }, React.createElement("div", {
1493    className: "toptitle"
1494  }, React.createElement("h2", null, "TOUR ", React.createElement("label", null, "CATEGORIES"))), React.createElement("div", {
1495    className: "route_boxes_2"
1496  }, React.createElement("div", {
1497    className: "route_boxes"
1498  }, React.createElement("a", null, "Mysore Sightseeing by Bus"), React.createElement("a", null, "Mysore Sightseeing by Car"), React.createElement("a", null, "Tirupati Balaji Package by Bus"), React.createElement("a", null, "Tirupati Balaji Package by car")), React.createElement("div", {
1499    className: "route_boxes"
1500  }, React.createElement("a", null, "Kerala Packages"), React.createElement("a", null, "Mysore-Ooty Packages"), React.createElement("a", null, "Book Online Tirupati Packages"), React.createElement("a", null, "Shirdi Tour Package by Bus")))))))), displayPopup && React.createElement(React.Fragment, null, React.createElement(Modelpopup, {
1501    popupData: popupData
1502  })), dlgMsg.open && React.createElement(Message, {
1503    Msg: dlgMsg,
1504    close: handleClose
1505  }));
1506};
1507
1508const Header = props => {
1509  const {
1510    compDetails
1511  } = props;
1512  let [dlgtrmsMsg, setdlgtrmsMsg] = useState({
1513    open: false,
1514    msg: ''
1515  });
1516  let [userName, setUserName] = useState('');
1517  let [dlgMsg, setdlMsg] = useState({
1518    open: false,
1519    msg: ''
1520  });
1521  let [callLogin, setCallLogin] = useState(false);
1522  let [myBookingObj, setMyBookingObj] = useState(0);
1523  const [isError, setIsError] = useState(false); ////this state for if logo is not found then diplay name 
1524
1525  const [logoFailed, setLogoFailed] = useState(false);
1526  useEffect(() => {
1527    (async function () {
1528      await loadDataHeader();
1529      await setUserName(compDetails.companyData.userName);
1530    })();
1531  }, []);
1532
1533  const loadDataHeader = () => {
1534    try {
1535      $(document).ready(function () {
1536        let sideslider = $('[data-toggle=collapse-side]');
1537        let sel = sideslider.attr('data-target');
1538        let sel2 = sideslider.attr('data-target-2');
1539        sideslider.click(function (event) {
1540          $(sel).toggleClass('in');
1541          $(sel2).toggleClass('out');
1542        });
1543        $('.fixedbtn').on('click', function () {
1544          $('.fixedbtn').toggleClass('topfixedicon');
1545        });
1546        let navbar = $('.navbar-nav li');
1547        navbar.click(function (event) {
1548          $(".fixedbtn").trigger("click");
1549        });
1550      });
1551      let str = location.href.toLowerCase();
1552      $('.cssmenu ul li a').click(function () {
1553        $('li a').removeClass("active");
1554        $(this).addClass("active");
1555      });
1556      window.addEventListener("scroll", function () {
1557        let header = document.querySelector(".headerin");
1558        header.classList.toggle("sticky", window.scrollY > 200);
1559      });
1560    } catch (error) {
1561      const id = CreateNewDiv();
1562      const root1 = ReactDOM.createRoot(document.getElementById(id));
1563      root1.render(React.createElement(Suspense, null, React.createElement(ErrorLog, {
1564        CustomErrorObj: {
1565          errorObj: error,
1566          developerName: "Ruturajsinh Jadeja"
1567        }
1568      })));
1569      RemoveDiv(id);
1570    } finally {
1571      $(".isLoader").hide();
1572    }
1573  };
1574
1575  const scroll = () => {
1576    try {
1577      _.autoScrollDown('chrt_Header', 100, 0);
1578    } catch (error) {
1579      const id = CreateNewDiv();
1580      const root1 = ReactDOM.createRoot(document.getElementById(id));
1581      root1.render(React.createElement(Suspense, null, React.createElement(ErrorLog, {
1582        CustomErrorObj: {
1583          errorObj: error,
1584          developerName: "Ruturajsinh Jadeja"
1585        }
1586      })));
1587      RemoveDiv(id);
1588    } finally {}
1589  };
1590
1591  const dynamicData = {
1592    /*img1: compDetails?.companyData?.CDNDataFolder + "/images/site/Logo.png?d=" + version,*/
1593    img1: compDetails?.companyData?.DataFolder + "/images/site/Logo.svg?d=" + version,
1594    Header_Menu_BG: compDetails?.companyData?.CDNDataFolder + "/images/site/Header_Menu_BG.webp?d=" + version
1595  };
1596
1597  const login_Click = async () => {
1598    try {
1599      await axios.post('/Web_Methods/MainPage.aspx/checkCustomerLogIn', {}).then(async response => {
1600        if (!response.data.d.isUrlExpired) {
1601          let data = await JSON.parse(response.data.d.data);
1602
1603          if (data.status == 1) {
1604            alertBox(data.statusMessage);
1605          } else {
1606            setdlgtrmsMsg({
1607              open: true,
1608              msg: ''
1609            });
1610          }
1611        } else {
1612          alertBox("Something Went Wrong");
1613        }
1614      });
1615    } catch (error) {
1616      const id = CreateNewDiv();
1617      const root1 = ReactDOM.createRoot(document.getElementById(id));
1618      root1.render(React.createElement(Suspense, null, React.createElement(ErrorLog, {
1619        CustomErrorObj: {
1620          errorObj: error,
1621          developerName: "Ruturajsinh Jadeja"
1622        }
1623      })));
1624      RemoveDiv(id);
1625    }
1626  };
1627
1628  const logout_Click = async () => {
1629    try {
1630      await axios.post('/Web_Methods/MainPage.aspx/customerLogOut', {}).then(async response => {
1631        compDetails.companyData.userName = "";
1632        setUserName(compDetails.companyData.userName);
1633      });
1634    } catch (error) {
1635      const id = CreateNewDiv();
1636      const root1 = ReactDOM.createRoot(document.getElementById(id));
1637      root1.render(React.createElement(Suspense, null, React.createElement(ErrorLog, {
1638        CustomErrorObj: {
1639          errorObj: error,
1640          developerName: "Ruturajsinh Jadeja"
1641        }
1642      })));
1643      RemoveDiv(id);
1644    }
1645  };
1646
1647  const handletrmsClose = () => {
1648    setdlgtrmsMsg({
1649      open: false,
1650      msg: ''
1651    });
1652
1653    try {
1654      axios.post('/Web_Methods/OtherWebMethod.aspx/checkCustomerLogIn', {}).then(async response => {
1655        if (!response.data.d.isUrlExpired) {
1656          let data = await JSON.parse(response.data.d.data);
1657          compDetails.companyData.userName = data.logindata[0].CustName;
1658          setUserName(data.logindata[0].CustName);
1659        }
1660      });
1661    } catch (error) {
1662      const id = CreateNewDiv();
1663      const root1 = ReactDOM.createRoot(document.getElementById(id));
1664      root1.render(React.createElement(Suspense, null, React.createElement(ErrorLog, {
1665        CustomErrorObj: {
1666          errorObj: error,
1667          developerName: "Ruturajsinh Jadeja"
1668        }
1669      })));
1670      RemoveDiv(id);
1671    }
1672  };
1673
1674  const handleLoginData = array => {
1675    try {
1676      handletrmsClose(); //logedin = logedin + 1;
1677      //setLogedin(logedin => ({...logedin}));
1678
1679      setMyBookingObj(_.random(123));
1680      setTimeout(function () {
1681        setCallLogin(true);
1682      }, 500);
1683    } catch (error) {
1684      const id = CreateNewDiv();
1685      const root1 = ReactDOM.createRoot(document.getElementById(id));
1686      root1.render(React.createElement(Suspense, null, React.createElement(ErrorLog, {
1687        CustomErrorObj: {
1688          errorObj: error,
1689          developerName: "Ruturajsinh Jadeja"
1690        }
1691      })));
1692      RemoveDiv(id);
1693    }
1694  };
1695
1696  const handleClose = () => {
1697    setdlMsg({
1698      open: false,
1699      msg: ''
1700    });
1701  };
1702
1703  const alertBox = mesage => {
1704    setdlMsg({
1705      open: true,
1706      msg: mesage
1707    });
1708  };
1709
1710  const callChildItem = childfun => {
1711    setCallLogin(childfun);
1712  };
1713
1714  let login_Data = {
1715    close: handletrmsClose,
1716    sendLoginData: handleLoginData,
1717    callType: 1,
1718    termCondition: compDetails,
1719
1720    /*callChildItem: callChildItem,*/
1721    rdrtMB: callLogin
1722  };
1723
1724  const LogoutName = Name => {
1725    setUserName(Name);
1726    compDetails.companyData.userName = Name;
1727  };
1728
1729  const UpdateMsg = mesage => {
1730    setdlMsg({
1731      open: true,
1732      msg: mesage
1733    });
1734  };
1735
1736  let logoutdata = {
1737    close: LogoutName,
1738    UpdateMsg: UpdateMsg,
1739    send: myBookingObj //send: _.random(123)
1740
1741  };
1742
1743  const MybookingCall = () => {
1744    scroll();
1745    setMyBookingObj(_.random(123));
1746  };
1747
1748  function Loadhdr() {
1749    //setCallLogin(false);
1750    setTimeout(function () {
1751      setCallLogin(false);
1752    }, 1000);
1753  }
1754
1755  const handleErrorlogo = () => setLogoFailed(true);
1756
1757  return React.createElement(React.Fragment, null, React.createElement("div", {
1758    id: "chrt_Header"
1759  }), React.createElement("section", {
1760    className: "headerin",
1761    id: "chrt_Header1"
1762  }, React.createElement("div", {
1763    className: "header maxwidth"
1764  }, React.createElement("div", {
1765    className: "topheaderpart"
1766  }, React.createElement("div", {
1767    className: "topheader"
1768  }, React.createElement("div", {
1769    className: "container"
1770  }, React.createElement("div", {
1771    className: "headercontacts"
1772  }, React.createElement("p", {
1773    className: "routeinq"
1774  }, "Route Related Inquiry : ", React.createElement("a", {
1775    href: 'tel: ' + compDetails.companyData.PhoneNo
1776  }, "+91 ", compDetails.companyData?.PhoneNo)), React.createElement("p", null, "Payment & Cancellation No : ", React.createElement("a", {
1777    href: 'tel: ' + compDetails.companyData.HelpLine
1778  }
1778, compDetails.companyData?.HelpLine))))), React.createElement("div", {
1779    className: "headerbottom"
1780  }, React.createElement("div", {
1781    className: "container"
1782  }, React.createElement("div", {
1783    className: "headerparts"
1784  }, React.createElement("div", {
1785    className: "sitelogo"
1786  }, React.createElement(Link, {
1787    to: "/"
1788  }, !logoFailed ? React.createElement("img", {
1789    src: `${compDetails?.companyData?.DataFolder}/images/site/logo.png`,
1790    alt: compDetails?.companyData?.CompanyName,
1791    onError: handleErrorlogo
1792  }) : React.createElement("span", null, compDetails?.companyData?.CompanyName))), React.createElement("div", {
1793    className: "headermenu"
1794  }, React.createElement("div", {
1795    className: "menufixed"
1796  }, React.createElement("div", {
1797    className: "navbar-header"
1798  }, React.createElement("button", {
1799    "data-toggle": "collapse-side",
1800    "data-target": ".side-collapse",
1801    "data-target-2": ".side-collapse-container",
1802    type: "button",
1803    className: "navbar-toggle pull-left fixedbtn"
1804  }, React.createElement("span", {
1805    className: "icon-bar"
1806  }), React.createElement("span", {
1807    className: "icon-bar"
1808  }), React.createElement("span", {
1809    className: "icon-bar"
1810  }))), React.createElement("div", {
1811    className: "navbar-inverse side-collapse in"
1812  }, React.createElement("nav", {
1813    role: "navigation",
1814    className: "navbar-collapse"
1815  }, React.createElement("div", {
1816    id: "cssmenu",
1817    className: "cssmenu",
1818    runat: "server"
1819  }), React.createElement("div", {
1820    className: "cssmenu"
1821  }, React.createElement("ul", {
1822    className: "nav navbar-nav"
1823  }, React.createElement("li", {
1824    id: "sendHome"
1825  }, React.createElement(Link, {
1826    to: "/",
1827    onClick: scroll
1828  }, "Home")), React.createElement("li", null, React.createElement(Link, {
1829    to: "/aboutus"
1830  }, "About Us")), React.createElement("li", null, React.createElement(Link, {
1831    to: "/mybooking",
1832    onClick: MybookingCall
1833  }, "My Booking")), React.createElement("li", null, React.createElement(Link, {
1834    to: "/cancellation"
1835  }, "Cancellation")), React.createElement("li", null, React.createElement(Link, {
1836    to: "/contactus",
1837    onClick: scroll
1838  }, "Contact Us")))))))), React.createElement("div", {
1839    className: "loginwrap"
1840  }, React.createElement("a", {
1841    href: "http://agent.balajitourpackage.in",
1842    target: "_blank"
1843  }, "Agent Login"), React.createElement("a", {
1844    href: "http://office.balajitourpackage.in/OfficeLogin.aspx",
1845    target: "_blank",
1846    className: "brnclogin"
1847  }, "Branch Login")))))))), React.createElement(React.Fragment, null, React.createElement(Suspense, {
1848    fallback: React.createElement("div", {
1849      id: "preloader",
1850      className: "isLoader"
1851    }, React.createElement("div", {
1852      className: "d-table"
1853    }, React.createElement("div", {
1854      className: "d-table-cell"
1855    }, React.createElement("div", {
1856      className: "sk-folding-cube"
1857    }, React.createElement("div", {
1858      className: "sk-cube1 sk-cube"
1859    }), React.createElement("div", {
1860      className: "sk-cube2 sk-cube"
1861    }), React.createElement("div", {
1862      className: "sk-cube4 sk-cube"
1863    }), React.createElement("div", {
1864      className: "sk-cube3 sk-cube"
1865    })))))
1866  }, React.createElement(Route, {
1867    path: "/aboutus",
1868    render: () => React.createElement(AboutUS, {
1869      compDetails: compDetails
1870    })
1871  }), React.createElement(Route, {
1872    path: "/termsandconditions",
1873    render: () => React.createElement(TermsAndConditions, {
1874      compDetails: compDetails
1875    })
1876  }), React.createElement(Route, {
1877    path: "/buscharter",
1878    render: () => React.createElement(BusCharter, {
1879      compDetails: compDetails
1880    })
1881  }), React.createElement(Route, {
1882    path: "/availbleroutes",
1883    render: () => React.createElement(AvailbleRoutes, {
1884      compDetails: compDetails
1885    })
1886  }), React.createElement(Route, {
1887    path: "/availableroutes",
1888    render: () => React.createElement(AvailbleRoutes, {
1889      compDetails: compDetails
1890    })
1891  }), React.createElement(Route, {
1892    path: "/eticket",
1893    render: () => React.createElement(ETicket, {
1894      compDetails: compDetails
1895    })
1896  }), React.createElement(Route, {
1897    path: "/information",
1898    render: () => React.createElement(Information, {
1899      compDetails: compDetails
1900    })
1901  }), React.createElement(Route, {
1902    path: "/cancelstatus",
1903    render: () => React.createElement(CancelStatus, {
1904      compDetails: compDetails
1905    })
1906  }), React.createElement(Route, {
1907    path: "/paymentfailed",
1908    render: () => React.createElement(PaymentFailed, {
1909      compDetails: compDetails
1910    })
1911  }), React.createElement(Route, {
1912    path: "/transtatus",
1913    render: () => React.createElement(TranStatus, {
1914      compDetails: compDetails
1915    })
1916  }), React.createElement(Route, {
1917    path: "/modifyticket",
1918    render: () => React.createElement(ModifyTicket, {
1919      compDetails: compDetails
1920    })
1921  }), React.createElement(Route, {
1922    path: "/mybooking",
1923    render: () => React.createElement(MyBooking, {
1924      compDetails: compDetails,
1925      logout: logoutdata
1926    })
1927  }), React.createElement(Route, {
1928    path: "/agentregistration",
1929    render: () => React.createElement(AgentRegistration, {
1930      compDetails: compDetails
1931    })
1932  }), React.createElement(Route, {
1933    path: "/privacypolicy",
1934    render: () => React.createElement(PrivacyPolicy, {
1935      compDetails: compDetails
1936    })
1937  }), React.createElement(Route, {
1938    path: "/feedback",
1939    render: () => React.createElement(Feedback, {
1940      compDetails: compDetails
1941    })
1942  }), React.createElement(Route, {
1943    path: "/contactus",
1944    render: () => React.createElement(ContactUS, {
1945      compDetails: compDetails
1946    })
1947  }), React.createElement(Route, {
1948    path: "/payonline",
1949    render: () => React.createElement(PayOnline, {
1950      compDetails: compDetails
1951    })
1952  }), React.createElement(Route, {
1953    path: "/cancellation",
1954    render: () => React.createElement(Cancellation, {
1955      compDetails: compDetails
1956    })
1957  }), React.createElement(Route, {
1958    path: "/refundstatus",
1959    render: () => React.createElement(RefundStatus, {
1960      compDetails: compDetails
1961    })
1962  }), React.createElement(Route, {
1963    path: "/gallery",
1964    render: () => React.createElement(Gallery, {
1965      compDetails: compDetails
1966    })
1967  }), React.createElement(Route, {
1968    path: "/downloadapp",
1969    render: () => React.createElement(Downloadapp, {
1970      compDetails: compDetails
1971    })
1972  }), React.createElement(Route, {
1973    path: "/cancellationandrefundpolicy",
1974    render: () => React.createElement(CancellationAndRefundPolicy, {
1975      compDetails: compDetails
1976    })
1977  }), React.createElement(Route, {
1978    path: "/my_booking",
1979    render: () => React.createElement(My_Booking, {
1980      compDetails: compDetails
1981    })
1982  }))), React.createElement("div", null, dlgtrmsMsg.open && React.createElement(Dialog, {
1983    open: dlgtrmsMsg.open,
1984    TransitionComponent: Transition,
1985    keepMounted: true,
1986    maxWidth: "xl",
1987    className: "login_popup_main",
1988    onClose: handletrmsClose,
1989    "aria-describedby": "alert-dialog-slide-description"
1990  }, React.createElement(DialogContent, null, React.createElement(Suspense, null, React.createElement(Login, {
1991    loginData: login_Data
1992  }))), React.createElement(DialogActions, {
1993    className: "changepaaswrd"
1994  }))), React.createElement("div", null, dlgMsg.open && React.createElement(Message, {
1995    Msg: dlgMsg,
1996    close: handleClose
1997  })), React.createElement("div", {
1998    style: {
1999      display: "none"
2000    }
2001  }, callLogin == true && React.createElement(React.Fragment, null, React.createElement(Suspense, null, React.createElement(Login, {
2002    loginData: login_Data
2003  })), _.defer(() => {
2004    Loadhdr();
2005    return '';
2006  }))));
2007};
2008
2009const Footer = props => {
2010  const {
2011    compDetails
2012  } = props;
2013  let [dlgtrmsMsg, setdlgtrmsMsg] = useState({
2014    open: false,
2015    msg: ''
2016  });
2017  let [dlgMsg, setdlMsg] = useState({
2018    open: false,
2019    msg: ''
2020  });
2021  let [callLogin, setCallLogin] = useState(false);
2022  const [isError, setIsError] = useState(false);
2023
2024  const handleError = () => {
2025    setIsError(true);
2026  };
2027
2028  const dynamicData = {
2029    img1: compDetails?.companyData?.DataFolder + "/images/site/Logo.png?d=" + version,
2030    infilogo: compDetails?.companyData?.DataFolder + "/images/INFINITY_Logo_Horizontal.png?d=" + version
2031  };
2032
2033  const scroll = () => {
2034    try {
2035      _.autoScrollDown('chrt_Header', 100, 0);
2036    } catch (error) {
2037      const id = CreateNewDiv();
2038      const root1 = ReactDOM.createRoot(document.getElementById(id));
2039      root1.render(React.createElement(Suspense, null, React.createElement(ErrorLog, {
2040        CustomErrorObj: {
2041          errorObj: error,
2042          developerName: "Ruturajsinh Jadeja"
2043        }
2044      })));
2045      RemoveDiv(id);
2046    } finally {}
2047  };
2048
2049  const login_Click = async () => {
2050    try {
2051      await axios.post('/Web_Methods/MainPage.aspx/checkCustomerLogIn', {}).then(async response => {
2052        if (!response.data.d.isUrlExpired) {
2053          let data = await JSON.parse(response.data.d.data);
2054
2055          if (data.status == 1) {
2056            alertBox(data.statusMessage);
2057          } else {
2058            setdlgtrmsMsg({
2059              open: true,
2060              msg: ''
2061            });
2062          }
2063        } else {
2064          alertBox("Something Went Wrong");
2065        }
2066      });
2067    } catch (error) {
2068      const id = CreateNewDiv();
2069      const root1 = ReactDOM.createRoot(document.getElementById(id));
2070      root1.render(React.createElement(Suspense, null, React.createElement(ErrorLog, {
2071        CustomErrorObj: {
2072          errorObj: error,
2073          developerName: "Ruturajsinh Jadeja"
2074        }
2075      })));
2076      RemoveDiv(id);
2077    }
2078  };
2079
2080  const handletrmsClose = () => {
2081    setdlgtrmsMsg({
2082      open: false,
2083      msg: ''
2084    });
2085  };
2086
2087  const handleLoginData = array => {
2088    try {
2089      handletrmsClose(); //setCallLogin(true);
2090
2091      setTimeout(function () {
2092        setCallLogin(true);
2093      }, 500);
2094    } catch (error) {
2095      const id = CreateNewDiv();
2096      const root1 = ReactDOM.createRoot(document.getElementById(id));
2097      root1.render(React.createElement(Suspense, null, React.createElement(ErrorLog, {
2098        CustomErrorObj: {
2099          errorObj: error,
2100          developerName: "Ruturajsinh Jadeja"
2101        }
2102      })));
2103      RemoveDiv(id);
2104    }
2105  };
2106
2107  const handleClose = () => {
2108    setdlMsg({
2109      open: false,
2110      msg: ''
2111    });
2112  };
2113
2114  const alertBox = mesage => {
2115    setdlMsg({
2116      open: true,
2117      msg: mesage
2118    });
2119  };
2120
2121  let login_Data = {
2122    close: handletrmsClose,
2123    sendLoginData: handleLoginData,
2124    callType: 1,
2125    termCondition: compDetails,
2126    rdrtMB: callLogin
2127  };
2128
2129  function Loadhdr() {
2130    //setCallLogin(false);
2131    setTimeout(function () {
2132      setCallLogin(false);
2133    }, 1000);
2134  }
2135
2136  return React.createElement(React.Fragment, null, React.createElement("footer", null, React.createElement("section", {
2137    className: "footer maxwidth"
2138  }, React.createElement("div", {
2139    className: "footer_wrapper"
2140  }, React.createElement("div", {
2141    className: "footer_site"
2142  }, React.createElement("div", {
2143    className: "footer_main"
2144  }, React.createElement("div", {
2145    className: "footer_bg"
2146  }, React.createElement("div", {
2147    className: "container"
2148  }, React.createElement("div", {
2149    className: "footer_navbar_address"
2150  }, React.createElement("div", {
2151    className: "aboutfooter"
2152  }, React.createElement("span", null, "Your Smart Companion for Easy Bus Travel"), React.createElement("h1", null, compDetails.companyData.CompanyName), React.createElement("p", null, "We strive to achieve numerous satisfied customers with our services. We have 24*7 customer support team, who listens and resolves any type of issues or queries of the customers."), React.createElement("div", {
2153    className: "socialicon"
2154  }, React.createElement("a", {
2155    href: "https://www.facebook.com/balajitourpackage/photos/?_rdr",
2156    target: "_blank"
2157  }, React.createElement("svg", {
2158    width: "9",
2159    height: "18",
2160    viewBox: "0 0 9 18",
2161    fill: "none",
2162    xmlns: "http://www.w3.org/2000/svg"
2163  }, React.createElement("path", {
2164    d: "M2.07426 18H5.53713V10.4116H8.65718L9 6.64105H5.53713V4.73684C5.53713 4.48558 5.62834 4.24462 5.79069 4.06695C5.95305 3.88929 6.17324 3.78947 6.40285 3.78947H9V0H6.40285C5.25483 0 4.15384 0.499059 3.34207 1.38739C2.53031 2.27572 2.07426 3.48055 2.07426 4.73684V6.64105H0.342824L0 10.4116H2.07426V18Z",
2165    fill: "#FFB900"
2166  }))), React.createElement("a", {
2167    href: "#"
2168  }, React.createElement("svg", {
2169    width: "18",
2170    height: "16",
2171    viewBox: "0 0 18 16",
2172    fill: "none",
2173    xmlns: "http://www.w3.org/2000/svg"
2174  }, React.createElement("path", {
2175    d: "M18.001 16H12.2734L0 0H5.72754L18.001 16ZM13.0908 14.3994H14.7275L4.90918 1.60059H3.27344L13.0908 14.3994Z",
2176    fill: "#FFB900"
2177  }), React.createElement("path", {
2178    d: "M14.3186 0H17.1823L3.27288 15.9998H0.40918L14.3186 0Z",
2179    fill: "#FFB900"
2180  }))), React.createElement("a", {
2181    href: "#"
2182  }, React.createElement("svg", {
2183    width: "18",
2184    height: "18",
2185    viewBox: "0 0 18 18",
2186    fill: "none",
2187    xmlns: "http://www.w3.org/2000/svg"
2188  }, React.createElement("path", {
2189    d: "M9 0C6.55762 0 6.2505 0.01125 5.29087 0.054C4.33125 0.099 3.67762 0.24975 3.105 0.4725C2.50407 0.697866 1.95991 1.05232 1.51088 1.51088C1.05232 1.95991 0.697866 2.50407 0.4725 3.105C0.24975 3.6765 0.097875 4.33125 0.054 5.2875C0.01125 6.24937 0 6.55538 0 9.00113C0 11.4446 0.01125 11.7506 0.054 12.7103C0.099 13.6688 0.24975 14.3224 0.4725 14.895C0.703125 15.4867 1.01025 15.9885 1.51088 16.4891C2.01038 16.9897 2.51213 17.298 3.10388 17.5275C3.67763 17.7502 4.33013 17.9021 5.28863 17.946C6.24938 17.9888 6.55538 18 9 18C11.4446 18 11.7495 17.9888 12.7103 17.946C13.6676 17.901 14.3235 17.7502 14.8961 17.5275C15.4966 17.302 16.0404 16.9475 16.4891 16.4891C16.9897 15.9885 17.2969 15.4867 17.5275 14.895C17.7491 14.3224 17.901 13.6688 17.946 12.7103C17.9888 11.7506 18 11.4446 18 9C18 6.55538 17.9888 6.24938 17.946 5.28863C17.901 4.33125 17.7491 3.6765 17.5275 3.105C17.3021 2.50407 16.9477 1.95991 16.4891 1.51088C16.0401 1.05232 15.4959 0.697866 14.895 0.4725C14.3212 0.24975 13.6665 0.097875 12.7091 0.054C11.7484 0.01125 11.4435 0 8.99775 0H9ZM8.19337 1.62225H9.00113C11.4041 1.62225 11.6887 1.63013 12.6371 1.674C13.5146 1.71338 13.9916 1.86075 14.3089 1.98338C14.7285 2.1465 15.0289 2.34225 15.3439 2.65725C15.6589 2.97225 15.8535 3.2715 16.0166 3.69225C16.1404 4.00838 16.2866 4.48538 16.326 5.36287C16.3699 6.31125 16.3789 6.59588 16.3789 8.99775C16.3789 11.3996 16.3699 11.6854 16.326 12.6337C16.2866 13.5112 16.1392 
218913.9871 16.0166 14.3044C15.8713 14.6946 15.6411 15.0478 15.3427 15.3383C15.0277 15.6532 14.7285 15.8479 14.3078 16.011C13.9928 16.1348 13.5157 16.281 12.6371 16.3215C11.6887 16.3643 11.4041 16.3744 9.00113 16.3744C6.59813 16.3744 6.31238 16.3643 5.364 16.3215C4.4865 16.281 4.01062 16.1348 3.69338 16.011C3.30281 15.8662 2.9493 15.6364 2.65837 15.3383C2.35943 15.0476 2.12887 14.694 1.98338 14.3032C1.86075 13.9871 1.71338 13.5101 1.674 12.6326C1.63125 11.6842 1.62225 11.3996 1.62225 8.9955C1.62225 6.59137 1.63125 6.309 1.674 5.36062C1.7145 4.48312 1.86075 4.00612 1.9845 3.68887C2.14762 3.26925 2.34337 2.96887 2.65837 2.65387C2.97337 2.33888 3.27262 2.14425 3.69338 1.98112C4.01062 1.85738 4.4865 1.71113 5.364 1.67062C6.19425 1.63238 6.516 1.62113 8.19337 1.62V1.62225ZM13.8049 3.11625C13.663 3.11625 13.5226 3.14419 13.3916 3.19846C13.2605 3.25274 13.1415 3.33229 13.0412 3.43257C12.9409 3.53286 12.8614 3.65192 12.8071 3.78295C12.7528 3.91398 12.7249 4.05442 12.7249 4.19625C12.7249 4.33808 12.7528 4.47852 12.8071 4.60955C12.8614 4.74058 12.9409 4.85964 13.0412 4.95993C13.1415 5.06021 13.2605 5.13976 13.3916 5.19404C13.5226 5.24831 13.663 5.27625 13.8049 5.27625C14.0913 5.27625 14.366 5.16246 14.5686 4.95993C14.7711 4.75739 14.8849 4.48268 14.8849 4.19625C14.8849 3.90982 14.7711 3.63511 14.5686 3.43257C14.366 3.23004 14.0913 3.11625 13.8049 3.11625ZM9.00113 4.3785C8.38808 4.36894 7.77926 4.48142 7.2101 4.70941C6.64094 4.9374 6.12283 5.27633 5.68592 5.70648C5.24901 6.13662 4.90203 6.64939 4.6652 7.21492C4.42836 7.78045 4.30639 8.38744 4.30639 9.00056C4.30639 9.61368 4.42836 10.2207 4.6652 10.7862C4.90203 11.3517 5.24901 11.8645 5.68592 12.2946C6.12283 12.7248 6.64094 13.0637 7.2101 13.2917C7.77926 13.5197 8.38808 13.6322 9.00113 13.6226C10.2145 13.6037 11.3717 13.1084 12.2231 12.2437C13.0745 11.3789 13.5516 10.2141 13.5516 9.00056C13.5516 7.78706 13.0745 6.62221 12.2231 5.75747C11.3717 4.89272 10.2145 4.39743 9.00113 4.3785ZM9.00113 5.99963C9.39514 5.99963 9.7853 6.07723 10.1493 6.22801C10.5133 6.3788 10.8441 6.5998 11.1227 6.87841C11.4013 7.15702 11.6223 7.48778 11.7731 7.85181C11.9239 8.21583 12.0015 8.60598 12.0015 9C12.0015 9.39402 11.9239 9.78417 11.7731 10.1482C11.6223 10.5122 11.4013 10.843 11.1227 11.1216C10.8441 11.4002 10.5133 11.6212 10.1493 11.772C9.7853 11.9228 9.39514 12.0004 9.00113 12.0004C8.20538 12.0004 7.44222 11.6843 6.87954 11.1216C6.31686 10.5589 6.00075 9.79575 6.00075 9C6.00075 8.20425 6.31686 7.44109 6.87954 6.87841C7.44222 6.31573 8.20538 5.99963 9.00113 5.99963Z",
2190    fill: "#FFB900"
2191  }))))), React.createElement("div", {
2192    className: "footer_right"
2193  }, React.createElement("div", {
2194    className: "footer_contact"
2195  }, React.createElement("p", null, React.createElement("span", null), React.createElement("a", {
2196    href: ""
2197  }, "+91 ", compDetails.companyData?.PhoneNo)), React.createElement("p", {
2198    className: "mailus"
2199  }, React.createElement("span", null), React.createElement("a", {
2200    href: ""
2201  }, compDetails.companyData.SupportEmail))), React.createElement("div", {
2202    className: "footer_nav_add"
2203  }, React.createElement("div", {
2204    className: "footer_navlinks"
2205  }, React.createElement("ul", null, React.createElement("li", null, React.createElement(Link, {
2206    to: "/",
2207    onClick: scroll
2208  }, "Home")), React.createElement("li", null, React.createElement(Link, {
2209    to: "/gallery",
2210    onClick: scroll
2211  }, "Gallery")), React.createElement("li", null, React.createElement(Link, {
2212    to: "/aboutus",
2213    onClick: scroll
2214  }, "About Us")), React.createElement("li", null, React.createElement(Link, {
2215    to: "/contactus",
2216    onClick: scroll
2217  }, "Contact Us")), React.createElement("li", null, React.createElement(Link, {
2218    to: "/privacypolicy",
2219    onClick: scroll
2220  }, "Privacy Policy")), React.createElement("li", null, React.createElement(Link, {
2221    to: "/termsandconditions",
2222    onClick: scroll
2223  }, "Terms & Conditions")))), React.createElement("div", {
2224    className: "footer_navlinks"
2225  }, React.createElement("ul", null, React.createElement("li", null, React.createElement(Link, {
2226    to: "my_booking",
2227    onClick: scroll
2228  }, "My Booking")), React.createElement("li", null, React.createElement(Link, {
2229    to: "PayOnline",
2230    onClick: scroll
2231  }, "Pay Online")), React.createElement("li", null, React.createElement(Link, {
2232    to: "cancellation",
2233    onClick: scroll
2234  }, "Cancellation")), React.createElement("li", null, React.createElement("a", {
2235    href: 'http://maps.itspl.net/infinity/geo-location-services/PNR.aspx?q=' + compDetail
2235s.companyData.Domain,
2236    target: "_blank"
2237  }, "Track Bus")), React.createElement("li", null, React.createElement(Link, {
2238    to: "/feedback",
2239    onClick: scroll
2240  }, "Feedback")), React.createElement("li", null, React.createElement(Link, {
2241    to: "/buscharter",
2242    onClick: scroll
2243  }, "Bus Charter")))), React.createElement("div", {
2244    className: "footer_address"
2245  }, React.createElement("span", null), React.createElement("p", null, "No.67, West of Chord Road, Stage 2, Nagapura, Bengalore, Karnataka 560086")))))))), React.createElement("div", {
2246    className: "bottomfooter_main"
2247  }, React.createElement("div", {
2248    className: "container"
2249  }, React.createElement("div", {
2250    className: "bottomfooter"
2251  }, React.createElement("div", {
2252    className: "copyrights"
2253  }, "\xA9 Copyright ", dayjs().year(), React.createElement("span", null, " ", React.createElement(Link, {
2254    to: "/"
2255  }, compDetails.companyData.CompanyName, ".")), " All rights reserved"), React.createElement("div", {
2256    className: "poweredby"
2257  }, React.createElement("span", null, "Powered By : "), React.createElement("a", {
2258    href: "http://infinityinfoway.com/",
2259    target: "_blank"
2260  }, React.createElement("img", {
2261    src: `${compDetails?.companyData?.DataFolder}/images/site/iiplicon.svg`,
2262    alt: compDetails?.companyData?.CompanyName || "Company"
2263  })))))))))), React.createElement("div", null, dlgtrmsMsg.open && React.createElement(Dialog, {
2264    open: dlgtrmsMsg.open,
2265    TransitionComponent: Transition,
2266    keepMounted: true,
2267    maxWidth: "xl",
2268    className: "login_popup_main",
2269    onClose: handletrmsClose,
2270    "aria-describedby": "alert-dialog-slide-description"
2271  }, React.createElement(DialogContent, null, React.createElement(Suspense, null, React.createElement(Login, {
2272    loginData: login_Data
2273  }))), React.createElement(DialogActions, {
2274    className: "changepaaswrd"
2275  }))), React.createElement("div", null, dlgMsg.open && React.createElement(Message, {
2276    Msg: dlgMsg,
2277    close: handleClose
2278  })), React.createElement("div", {
2279    style: {
2280      display: "none"
2281    }
2282  }, callLogin == true && React.createElement(React.Fragment, null, React.createElement(Suspense, null, React.createElement(Login, {
2283    loginData: login_Data
2284  })), _.defer(() => {
2285    Loadhdr();
2286    return '';
2287  }))));
2288};
2289
2290const Message = props => {
2291  const {
2292    Msg,
2293    close
2294  } = props;
2295  return React.createElement(React.Fragment, null, React.createElement(Snackbar, {
2296    key: new Date().getTime(),
2297    open: Msg.open,
2298    autoHideDuration: 4500,
2299    onClose: close,
2300    anchorOrigin: {
2301      horizontal: "center",
2302      vertical: "top"
2303    }
2304  }, React.createElement(Alert, {
2305    onClose: close,
2306    severity: "error",
2307    sx: {
2308      width: '100%'
2309    }
2310  }, Msg.msg)));
2311};
2312
2313const Modelpopup = obj => {
2314  const {
2315    close,
2316    images
2317  } = obj.popupData;
2318  useEffect(() => {
2319    (async function () {
2320      await loadDataindxpopup();
2321    })();
2322  }, []);
2323
2324  const loadDataindxpopup = () => {
2325    try {
2326      $(document).ready(function () {
2327        if (images.length > 0) {
2328          for (let i = 0; i < images.length; i++) {
2329            if (i == 0) {
2330              $('<div class ="carousel-item active"><img className="d-block" src="' + images[i].Details + '"/></div>').appendTo('.carousel-inner');
2331              $('<button type="button" data-bs-target="#demopopup" data-bs-slide-to="' + i + '" class="active">').appendTo('.carousel-indicators');
2332            } else {
2333              $('<div class ="carousel-item"><img className="d-block" src="' + images[i].Details + '"/></div>').appendTo('.carousel-inner');
2334              $('<button type="button" data-bs-target="#demopopup" data-bs-slide-to="' + i + '">').appendTo('.carousel-indicators');
2335            }
2336          }
2337
2338          $('#demopopup').carousel();
2339          $('#largeModal').modal('show');
2340        }
2341      });
2342    } catch (error) {
2343      insertError(error, "Ruturajsinh Jadeja");
2344    } finally {}
2345  };
2346
2347  return React.createElement(React.Fragment, null, React.createElement("div", {
2348    className: "banner_modal"
2349  }, React.createElement("div", {
2350    className: "container"
2351  }, React.createElement("div", {
2352    className: "modal fade",
2353    id: "largeModal",
2354    tabIndex: "-1",
2355    role: "dialog",
2356    "aria-labelledby": "basicModal",
2357    "aria-hidden": "true"
2358  }, React.createElement("div", {
2359    className: "modal-dialog modal-lg"
2360  }, React.createElement("div", {
2361    className: "modal-content"
2362  }, React.createElement("button", {
2363    type: "button",
2364    className: "btn-close",
2365    "data-bs-dismiss": "modal",
2366    onClick: close,
2367    style: {
2368      marginLeft: 'auto'
2369    }
2370  }), React.createElement("div", {
2371    id: "demopopup",
2372    className: "carousel slide",
2373    "data-bs-ride": "carousel"
2374  }, React.createElement("div", {
2375    className: "carousel-indicators"
2376  }), React.createElement("div", {
2377    className: "carousel-inner"
2378  }), React.createElement("button", {
2379    className: "carousel-control-prev",
2380    type: "button",
2381    "data-bs-target": "#demopopup",
2382    "data-bs-slide": "prev"
2383  }, React.createElement("span", {
2384    className: "carousel-control-prev-icon"
2385  })), React.createElement("button", {
2386    className: "carousel-control-next",
2387    type: "button",
2388    "data-bs-target": "#demopopup",
2389    "data-bs-slide": "next"
2390  }, React.createElement("span", {
2391    className: "carousel-control-next-icon"
2392  })))))))));
2393};

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.