PageSourceSearch

https://www.travomint.com.au/_next/static/chunks/1761-7e3b2e807f23fef6.js

js travomint.com.au collected 2026-10-08 17:29:11 UTC 18,403 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1761],{35762:function(e,n,s){var r=s(16835),t=(s(25675),s(67294)),a=s(89459),i=s(89018),l=s(21608),c=s(23914),o=s(76036),d=s(9473),u=(s(36282),s(11163)),m=s(61482),h=s(85893);n.Z=function(){(0,d.I0)(),(0,u.useRouter)();var e=(0,t.useState)((c.X9,"English")),n=e[0],s=(e[1],(0,o.Z)("currency")),p=(0,r.Z)(s,2),x=p[0],g=p[1],v=(0,m.Z)((null===x||void 0===x?void 0:x.currency_Name)||c.x_);(0,d.v9)((function(e){return e.testing_Reducer})).test_data;return(0,h.jsx)("div",{children:(0,h.jsxs)(a.Z,{className:"menuhlang disabled",autoClose:"inside",disabled:!0,children:[(0,h.jsxs)("div",{className:"btn-group selectgetbtn-btngroup notranslate",children:[(0,h.jsx)(a.Z.Toggle,{variant:"danger",className:"btn-siteorange search-fl selectgetbtn btn-1  pointer-events-none",children:n}),(0,h.jsxs)(a.Z.Toggle,{variant:"danger",className:"btn-siteorange search-fl selectgetbtn btn-2 pointer-events-none",children:[(0,h.jsx)("b",{className:"d-inline-block for-undeals text-sm align-middle font-600",children:(0,h.jsx)("img",{src:"".concat(c.rb,"/resources/images/").concat(null===v||void 0===v?void 0:v.currency_Logo_Img),className:"undeals-simg d-inline-block mx-2",alt:""})})," ",(null===x||void 0===x?void 0:x.currency_Name)||c.x_]})]}),(0,h.jsxs)("div",{className:"selectgetlang dropdown-menu",children:[(0,h.jsx)("h4",{className:"text-base text-dark font-semibold mb-3",children:"Select Currency"}),(0,h.jsx)(l.Z,{className:"formrow-exm notranslate",children:i.Aq.map((function(e,n){return(0,h.jsx)("div",{className:"col-3 col-md-6  select-currency mb-3 disabled",children:(0,h.jsx)(a.Z.ItemText,{className:"p-0  w-100",as:"button",children:(0,h.jsxs)("div",{className:"btn-currency-name  btn btn-outline-secondary btn-block d-flex align-items-center justify-content-between"+((null===x||void 0===x?void 0:x.currency_Name)===e.currency_Name?" active":""),onClick:function(){return function(e){"INR"!==e.currency_Name&&(window.location.href="https://travomint.com"),g("currency",JSON.stringify(e),"/")}(e)},children:[(0,h.jsx)("div",{children:(0,h.jsx)("span",{className:"align-middle d-inline-block mr-2 imgflag font-bold",children:e.currency_Logo})}),(0,h.jsx)("div",{children:(0,h.jsx)("span",{className:"align-middle d-inline-block currency-name-it",children:e.currency_Name})})]})})},n)}))}),(0,h.jsx)("hr",{className:"my-2"}),(0,h.jsx)("div",{className:"text-center mb-1",children:(0,h.jsx)(a.Z.Item,{as:"button",className:"text-primary fw-semibold tracking-wide",children:"Done"})})]})]})})}},36282:function(e,n,s){s(67294),s(11163),s(89018),s(9473),s(76036),s(23914),s(85893)},74523:function(e,n,s){s.d(n,{Z:function(){return M}});var r=s(16835),t=s(67294),a=s(10682),i=s(89459),l=s(30343),c=s(41664),o=s.n(c),d=s(11163),u=s(35762),m=s(9473),h=s(64738),p=s(23914),x=s(44080),g=s(46258),v={src:"/_next/static/media/logo-white.29adda1c.png",height:40,width:169,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAQAAADPnVVmAAAAKElEQVR42mP4V/Ev85/QP4l/0v8U/in9U2L4p/Uv71/Kv3gwTvsXBQBV3RRJ6WO7xgAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:2},j=s(21608),f=s(31555),b=s(25675),w=s.n(b),y=(s(80660),s(59499)),N=s(50029),_=s(87794),Z=s.n(_),A=s(97346),O=s(53758),S=s(9669),P=s.n(S),k=s(76036),E=s(86455),C=s.n(E),D=function(){var e=(0,t.useState)({}),n=e[0],s=e[1],r=function(){var e=(0,N.Z)(Z().mark((function e(n,r){var t,a,i,l;return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t={method:"POST",url:"".concat(p.b$,"/user/updatebyEmail"),params:{authcode:p.RN},headers:{"Content-Type":"application/json"},data:n},e.prev=1,e.next=4,P().request(t);case 4:return i=e.sent,e.next=7,i.data;case 7:1===(null===(l=e.sent)||void 0===l||null===(a=l.baseResponse)||void 0===a?void 0:a.status)?(s(l),C().fire("Good job!","Password is send in your email","success"),r(!1)):C().fire("Good job!","Password is send in your email","faliure"),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),C().fire({icon:"error",title:"Oops...",text:"Something went wrong!",footer:"Try again after some time..."});case 14:case"end":return e.stop()}}),e,null,[[1,11]])})));return function(n,s){return e.apply(this,arguments)}}();return[n,r]},I=function(){var e=(0,m.I0)(),n=(0,m.v9)((function(e){return e.testing_Reducer})).test_data,s=(0,t.useState)(""),a=s[0],i=s[1],l=(0,k.Z)(),c=(0,r.Z)(l,2),o=(c[0],c[1]),d=function(){var s=(0,N.Z)(Z().mark((function s(r,t){var a,l,c,d;return Z().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return a={method:"POST",url:"".concat(p.ok,"/user/login-travel"),params:{authcode:p.RN},headers:{"Content-Type":"application/json"},data:r},s.prev=1,s.next=4,P().request(a);case 4:return c=s.sent,s.next=7,c.data;case 7:1===(null===(d=s.sent)||void 0===d||null===(l=d.baseResponse)||void 0===l?void 0:l.status)?(i("Success"),t(),o("auth",JSON.stringify({status:d.baseResponse.status,user_id:d.response.user_id,user_name:d.response.user_name,user_email:d.response.user_email,mobile:d.response.mobile}),"/"),e(n?{type:h.tC,payload:!1}:{type:h.tC,payload:!0}
1)):i("Your email & password is invalid"),s.next=14;break;case 11:s.prev=11,s.t0=s.catch(1),i("Server Error");case 14:case"end":return s.stop()}}),s,null,[[1,11]])})));return function(e,n){return s.apply(this,arguments)}}();return[a,d]},R=s(85893);function T(e,n){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),s.push.apply(s,r)}return s}function B(e){for(var n=1;n<arguments.length;n++){var s=null!=arguments[n]?arguments[n]:{};n%2?T(Object(s),!0).forEach((function(n){(0,y.Z)(e,n,s[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):T(Object(s)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(s,n))}))}return e}var z=function(e){var n=e.changeAuthScreen,s=e.closeModal,i=I(),c=(0,r.Z)(i,2),o=c[0],d=c[1],u=D(),m=(0,r.Z)(u,2),h=(m[0],m[1]),p=(0,t.useState)({user_email:"",oldpassword:"",password:"",newpassword:"",type:""}),x=p[0],v=p[1],b=(0,t.useState)(!1),w=b[0],_=b[1],S=(0,t.useState)({user_email:"",type:"reset"}),P=S[0],k=S[1],E=function(){var e=(0,N.Z)(Z().mark((function e(n){return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),e.next=3,d(x,s);case 3:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),C=function(e){var n=e.target,s=n.name,r=n.value;v(B(B({},x),{},(0,y.Z)({},s,r)))};return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(f.Z,{xs:12,lg:6,className:"payment_new align-self-center p-0",children:(0,R.jsxs)("div",{className:"p-10",children:[(0,R.jsx)(g.V.Title,{as:"h3",className:"dialog-title",children:"Log In"}),(0,R.jsx)(g.V.Title,{as:"h3",className:"dialog-title",children:o}),(0,R.jsx)("div",{className:"mt-6",children:(0,R.jsxs)(A.Z,{onSubmit:E,children:[(0,R.jsxs)("div",{children:[(0,R.jsxs)(A.Z.Group,{className:"mb-4",controlId:"formBasicEmail",children:[(0,R.jsx)(O.Z,{type:"email",placeholder:"Enter email",spacing:!0,required:!0,name:"user_email",pattern:"[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$",onChange:function(e){return C(e)}}),(0,R.jsx)(A.Z.Text,{className:"text-muted form-text mt-1 d-block",children:"We'll never share your email with anyone else."})]}),(0,R.jsx)(A.Z.Group,{className:"mb-4",controlId:"formBasicPassword",children:(0,R.jsx)(O.Z,{type:"password",spacing:!0,placeholder:"Password",name:"password",required:!0,onChange:function(e){return C(e)}})}),(0,R.jsx)(j.Z,{className:"rememberpass",children:(0,R.jsx)(f.Z,{xs:12,className:"text-right ",children:(0,R.jsx)("span",{className:"cursor-pointer",onClick:function(){return _(!w)},children:"Forgot Password"})})})]}),(0,R.jsxs)("div",{className:"mt-4",children:[(0,R.jsx)("input",{type:"submit",value:"Submit",className:"btn btn-siteorange"}),(0,R.jsxs)("p",{className:"text-sm mt-3",onClick:function(){n("signup")},children:["Don't have an account?",(0,R.jsx)("span",{className:"text-orange-600 font-bold cursor-pointer mx-3",children:"Sign up"})]})]})]})})]})}),(0,R.jsx)(l.Z,{className:"modalbooknow-classic modalgetfare-cheap",size:"lg","aria-labelledby":"contained-modal-title-vcenter",centered:!0,show:w,onHide:function(){return _(!w)},children:(0,R.jsx)(l.Z.Body,{children:(0,R.jsx)("div",{className:"",children:(0,R.jsx)(a.Z,{children:(0,R.jsx)("div",{className:"row",children:(0,R.jsx)("div",{className:"col-xl-12 col-12",children:(0,R.jsx)("div",{className:"promo regcode-1",children:(0,R.jsx)("div",{className:"d-flexvpromo",children:(0,R.jsxs)("div",{className:"w-100",children:[(0,R.jsxs)("div",{className:"upper ml-4",children:[(0,R.jsxs)("h2",{id:"pageviews",children:[(0,R.jsx)("i",{className:"fas fa-user"}),"Forgot Password"," "]}),(0,R.jsx)("div",{className:"Small_Txt",children:(0,R.jsx)("p",{})})]}),(0,R.jsxs)("form",{className:"bottom",onSubmit:function(e){e.preventDefault(),h(P,_)},children:[(0,R.jsxs)("div",{className:"inputGetPromo",children:[(0,R.jsx)(O.Z,{type:"email",name:"user_email",className:"forn-control",placeholder:"Email Address",pattern:"[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$",spacing:!0,onChange:function(e){return function(e){var n=e.target,s=n.name,r=n.value;k(B(B({},P),{},(0,y.Z)({},s,r)))}(e)},required:!0}),(0,R.jsx)("input",{type:"submit",value:"Submit",className:"btn PromoButton w-1/3"})]}),(0,R.jsx)("div",{className:"new-policy",children:(0,R.jsxs)(j.Z,{children:[(0,R.jsx)(f.Z,{xs:12,md:8,children:(0,R.jsx)("span",{className:"font-semibold ml-4 d-block text-xs text_1",children:"Kindly fill your email ID and you will get a new password in your email shortly !"})}),(0,R.jsx)(f.Z,{xs:12,md:4})]})})]})]})})})})})})})})})]})},V=function(){var e=(0,t.useState)(""),n=e[0],s=e[1],r=function(){var e=(0,N.Z)(Z().mark((function e(n){var r,t,a,i,l=arguments;return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=l.length>1&&void 0!==l[1]?l[1]:function(){return!0},t={method:"POST",url:"".concat(p.b$,"/user/addUser"),params:{authcode:p.RN},headers:{"Content-Type":"application/json"},data:n},e.prev=2,e.next=5,P().request(t);case 5:return a=e.sent,e.next=8,a.data;case 8:return i=e.sent,[null,"null"].includes(i.response)?s("Your E-mail id is already registerted"):(s("Registerted Successfully"),C().fire("Good job!","Registerted Successfull!","success"),r()),e.abrupt("return",i);case 13:e.prev=13,e.t0=e.catch(2),s("Server Error");case 16:case"end":return e.stop()}}),e,null,[[2,13]])})));return function(n){return e.apply(this,arguments)}}();return[n,r]};function q(e,n){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),s.push.apply(s,r)}return s}function F(e){for(var n=1;n<arguments.length;n++){var s=null!=arguments[n]?arguments[n]:{};
1n%2?q(Object(s),!0).forEach((function(n){(0,y.Z)(e,n,s[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):q(Object(s)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(s,n))}))}return e}var L=function(e){var n=(new Date).getDate()+"/"+(new Date).getMonth()+"/"+(new Date).getFullYear()+" "+(new Date).getHours()+":"+(new Date).getMinutes()+":"+(new Date).getSeconds(),s=(0,t.useState)({login_id:"",user_type:6,registrationDate:'"'.concat(n,'"'),user_name:"",user_email:"",password:"",password_value:"",user_profile_photo:"trvo.png",user_permanentCountryId:99,mobile:"",referuser_code:"",parent_id:"1",login_status:"Online",account_status:"Active",user_profile_dob:"",nationality:"IN",brand_name:"1",deportment_id:0,gender:"1",role_id:6}),a=s[0],i=s[1],l=e.changeAuthScreen,c=V(),o=(0,r.Z)(c,2),d=o[0],u=o[1],m=(0,t.useState)(""),h=m[0],p=m[1],x=function(){l("login")},v=function(e){var n=e.target,s=n.name,r=n.value;i(F(F({},a),{},(0,y.Z)({},s,r)))};return(0,R.jsx)(R.Fragment,{children:(0,R.jsx)(f.Z,{xs:12,lg:6,className:"payment_new align-self-center p-0",children:(0,R.jsxs)("div",{className:"p-10",children:[(0,R.jsx)(g.V.Title,{as:"h3",className:"dialog-title",children:"Sign Up"}),(0,R.jsx)(g.V.Title,{as:"h3",className:"dialog-title text-danger",children:h||d}),(0,R.jsx)("div",{className:"mt-6",children:(0,R.jsxs)(A.Z,{onSubmit:function(e){e.preventDefault(),p(""),a.password===a.password_value?u(a,x):p("Password is not match")},children:[(0,R.jsx)(A.Z.Group,{className:"mb-4",controlId:"formBasicEmail",children:(0,R.jsx)(O.Z,{type:"text",placeholder:"Username",required:!0,value:a.user_name,name:"user_name",onChange:function(e){return v(e)}})}),(0,R.jsx)(A.Z.Group,{className:"mb-4",controlId:"formBasicEmail",children:(0,R.jsx)(O.Z,{type:"email",placeholder:"Email ID",pattern:"[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$",required:!0,value:a.user_email,name:"user_email",spacing:!0,onChange:function(e){return v(e)}})}),(0,R.jsx)(A.Z.Group,{className:"mb-4",controlId:"formBasicPassword",children:(0,R.jsx)(O.Z,{type:"password",placeholder:"Password",required:!0,value:a.password,name:"password",spacing:!0,onChange:function(e){return v(e)}})}),(0,R.jsx)(A.Z.Group,{className:"mb-4",controlId:"formBasicPassword",children:(0,R.jsx)(O.Z,{type:"password",placeholder:"Confirm Password",required:!0,value:a.password_value,name:"password_value",spacing:!0,onChange:function(e){return v(e)}})}),(0,R.jsxs)("div",{className:"mt-4",children:[(0,R.jsx)("input",{type:"submit",className:"btn btn-siteorange",value:"Submit"}),(0,R.jsxs)("p",{className:"text-sm mt-3",onClick:function(){return x()},children:["Already have an account!",(0,R.jsx)("span",{className:"text-orange-600 font-bold cursor-pointer mx-3",children:"Login"})]})]})]})})]})})})},U=function(e){var n=e.isOpen,s=e.closeModal,r=(0,t.useState)("login"),i=r[0],l=r[1];return(0,R.jsx)(R.Fragment,{children:(0,R.jsx)(x.u,{appear:!0,show:n,as:t.Fragment,children:(0,R.jsx)(g.V,{as:"div",className:"fixed bg-slate-200 inset-0 z-100 overflow-y-auto loginbox-journey-2",onClose:function(){return!0},children:(0,R.jsx)(x.u.Child,{as:t.Fragment,className:"d-flex align-items-center justify-content-center flex-column minh-100",enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:(0,R.jsx)("div",{className:"w-100",children:(0,R.jsxs)(a.Z,{className:"bg-white relative",children:[(0,R.jsx)("button",{onClick:function(){s(),l("login")},className:"btn-close"}),(0,R.jsxs)(j.Z,{className:"login-pagebox",children:[(0,R.jsx)(f.Z,{xs:12,lg:6,className:"image-bgtraovomint p-0",children:(0,R.jsx)("div",{className:"p-10 h-100 d-flex flex-column",children:(0,R.jsxs)("div",{className:"flex-grow-1",children:[(0,R.jsx)("div",{className:"mb-5 logowhite-169",children:(0,R.jsx)(w(),{src:v,alt:"G8",width:169,height:40})}),(0,R.jsx)("hr",{}),(0,R.jsx)("h3",{className:"text-white font-600",children:"Enjoy the journey and try to get better every day"})]})})}),"login"===i?(0,R.jsx)(z,{changeAuthScreen:l,closeModal:s}):(0,R.jsx)(L,{changeAuthScreen:l})]})]})})})})})})},G=s(61482),M=function(e){var n=(0,k.Z)("auth"),s=(0,r.Z)(n,3),c=s[0],p=(s[1],s[2]),x=(0,m.I0)(),g=(0,d.useRouter)(),v=(0,t.useState)(!1),j=v[0],f=v[1],b=(0,t.useState)(""),w=(b[0],b[1]);var y=(0,t.useState)(!1),N=y[0],_=y[1];(0,t.useEffect)((function(){(0,G.q6)("auth",c)}),[c]);var Z=function(){var e=(0,t.useState)({width:void 0,height:void 0}),n=e[0],s=e[1];return(0,t.useEffect)((function(){function e(){s({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",e),e(),function(){return window.removeEventListener("resize",e)}}),[]),n}().width;return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)("header",{className:"header-classic",children:(0,R.jsx)(a.Z,{fluid:!0,children:(0,R.jsxs)("nav",{className:" navbar navbar-expand-lg navbar-dark bg-unique p-0",children:[(0,R.jsx)("div",{className:"navbar-brand",children:(0,R.jsx)(o(),{href:"/",children:(0,R.jsx)("a",{className:"crsrpointer",children:(0,R.jsx)("img",{src:"/Image/logo.png",alt:"travomint",width:"120"})})})}),(0,R.jsxs)("div",{className:" d-flex justify-content-end align-items-center ml-auto",children:[(0,R.jsx)("div",{className:"d-none d-md-block",children:Z>=768?(0,R.jsx)(u.Z,{}):null}),1===(null===c||void 0===c?void 0:c.status)?(0,R.jsx)(R.Fragment,{children:(0,R.jsx)("div",{className:"",children:(0,R.jsxs)(i.Z,{children:[(0,R.jsxs)(i.Z.Toggle,{variant:"success",id:"dropdown-basic",className:"dropdown-basic-New  Newdropdown-basic",children:[(0,R.jsx)("div",{className:"avtar",children:null===c||void 0===c?void 0:c.user_name.split(" ")[0][0]}),(0,R.jsx)("div",{className:"Namesign",children:(null===c||void 0===c?void 0:c.user_name.length)>10?"".concat(null===c||void 0===c?void 0:c.user_name.slice(0,10),"..."):null===c||void 0===c?void 0:c.user_name})]}),(0,R.jsxs)(i.Z.Menu,{className:"menu-new ml-4",children:[(0,R.jsxs)(i.Z.Item,{className:"bg-graytravom
1int",children:[" ",(0,R.jsxs)("div",{className:"Login-wrapp d-flex align-items-center justify-content-start ",children:[(0,R.jsx)("div",{className:"avtar mr-4",children:null===c||void 0===c?void 0:c.user_name.split(" ")[0][0]}),(0,R.jsxs)("div",{className:"",children:[(0,R.jsx)("div",{children:null===c||void 0===c?void 0:c.user_name}),(0,R.jsx)("div",{children:null===c||void 0===c?void 0:c.user_email})]})]})]}),(0,R.jsxs)(i.Z.Item,{children:[" ",(0,R.jsx)("div",{onClick:function(){g.push("/mytrip")},children:"My Booking"})]}),"/mytrip"!==g.asPath&&(0,R.jsxs)(i.Z.Item,{children:[" ",(0,R.jsx)("div",{onClick:function(){return x({type:h.qp,payload:{isLoggedIn:!1,status:0,user_id:0,user_name:"",user_email:"",mobile:""}}),void p("auth","/")},children:"Log Out"})]})]})]})})}):(0,R.jsx)(R.Fragment,{})]})]})})}),(0,R.jsx)("div",{className:"header-classic-empty w-100"}),(0,R.jsx)(U,{closeModal:function(){w(""),f(!1)},isOpen:j}),(0,R.jsx)(l.Z,{show:N,onHide:function(){return _(!1)},children:(0,R.jsx)(l.Z.Body,{children:"Please Wait while we update"})})]})}}
1,29421:function(e,n){n.Z={src:"/_next/static/media/logo.16f9b65b.png",height:40,width:169,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAYAAABllJ3tAAAAQUlEQVR4nGO8oqVXwS7D9lFR9t/Kz9//sDEyMDAzMDCwAjETEDMwHlQw0VLQ/u0iLPz/258/DL+BYiBJEM0OxF8AaSERb1KXH9sAAAAASUVORK5CYII=",blurWidth:8,blurHeight:2}}}]);

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.