1import{S as R,F as P,a as B,M as O,T as E,b as J,c as W,g as j,r as I}from"./index.f25fefbe.js";import{h as m}from"./moment.9709ab41.js";import{_ as C}from"./@meforma.182dbe82.js";import{aQ as d,o as b,C as D,b as t,D as a,w as s,O as M,F as A,Q as H,aN as Y,aM as z,c as V,R as g}from"./@vue.99f29e55.js";import"./@capacitor.a19638eb.js";import"./vue-router.7864d401.js";import"./axios.04e16fa0.js";import"./@vuepic.a6f0b54b.js";import"./date-fns.5b6f9246.js";import"./vuetify.b7ff72f8.js";import"./@vuelidate.3aea9fc1.js";import"./vue3-tel-input.9bfd6447.js";import"./vue.584b46d0.js";/* empty css */import"./vue-identify-network.af5bb33e.js";import"./@capawesome.a144d74d.js";import"./vue-axios.516efde1.js";import"./vue3-ts-country-region-select.e762ca19.js";import"./vue-easy-lightbox.373297eb.js";import"./@chenfengyuan.c198da49.js";import"./vue-sweetalert2.891f877f.js";const $={name:"Sydney",components:{SearchBar:R,Footer:P,MobileFooter:B,MobiFooter:O,TabView:E,FlightCollapse:J},data:()=>({c_formatter:W,data:[],seen:!0,rdate:m().add(15,"day").toDate(),cabinType:"Economy",seen:!0,globalServices:j,searchData:{legs:[],passengers:{ADT:1},cabins:["Economy"],maxJourneyTime:300,maxSolutions:200,pricing:{currency:"PKR"},from_airport:"KHI",to_airport:"SYD"},flights:[],from_airports:[],to_airports:[],from_airport:"KHI",to_airport:"SYD",airports:{},datsss:[],exdata:{legs:[{from:"KHI",to:"SYD",departureDate:m().add(15,"day").format("yyyy-MM-DD")}],passengers:{ADT:1},cabins:["Economy"],maxJourneyTime:300,maxSolutions:200,pricing:{currency:"PKR"},from_airport:{id:1183,city_code:"KHI",city_name:"Karachi",country_code:"PK",country_name:"PAKISTAN",iata_code:"KHI",latitude:"5",longitude:"24.906547",name:"Quaid E Azam International",created_at:null,updated_at:null,country:"Pakistan"},to_airport:{id:5150,city_code:"SYD",city_name:"Sydney",country_code:"AU",country_name:"AUSTRALIA",iata_code:"SYD",latitude:"11",longitude:"-33.946111",name:"Sydney Kingsford Smith Arpt",created_at:null,updated_at:null,country:"Australia"},t_type:"one-way"},airports:[{id:1183,city_code:"KHI",city_name:"Karachi",country_code:"PK",country_name:"PAKISTAN",iata_code:"KHI",latitude:"5",longitude:"24.906547",name:"Quaid E Azam International",created_at:null,updated_at:null,country:"Pakistan"},{id:5150,city_code:"SYD",city_name:"Sydney",country_code:"AU",country_name:"AUSTRALIA",iata_code:"SYD",latitude:"11",longitude:"-33.946111",name:"Sydney Kingsford Smith Arpt",created_at:null,updated_at:null,country:"Australia"}]}),methods:{mountedFunction(){let e=JSON.parse(window.localStorage.getItem("s_data"));JSON.parse(window.localStorage.getItem("airports")),e&&e!=[]&&(this.datsss=e);const i=(r,u,p)=>({from:"KHI",to:"SYD",departureDate:p});this.searchData.legs.push(i(this.to_airport,this.from_airport,m(this.rdate).format("yyyy-MM-DD"))),this.globalServices.loader=!0,this.axios.post("ae/shop",this.searchData).then(r=>{this.globalServices.loader=!1,this.globalServices.searchData=r.data.data,r.data.data.map((u,p)=>{u.directions.map((_,x)=>{_.map((c,l)=>{var S,h,v,w;c.duration=this.duration((S=c.segments[0])==null?void 0:S.departure,(h=c.segments[c.segments.length-1])==null?void 0:h.arrival),c.duration_minuts=this.durationMinuts((v=c.segments[0])==null?void 0:v.departure,(w=c.segments[c.segments.length-1])==null?void 0:w.arrival)})})}),this.data=r.data.data})},Selected(){localStorage.removeItem("s_data"),localStorage.setItem("s_data",JSON.stringify(this.exdata)),localStorage.setItem("airports",JSON.stringify(this.airports)),I.push({name:"flight",query:{search:!0}}),this.globalServices.loader=!0,this.axios.post("ae/shop",this.exdata).then(e=>{this.globalServices.loader=!1,window.localStorage.setItem("f_data",JSON.stringify(e.data.data)),localStorage.setItem("s_data",JSON.stringify(this.exdata)),localStorage.setItem("airports",JSON.stringify(this.airports)),I.push({name:"flight"})})},timeFormater(e){if(e.split("T")[1]){let r=e.split("T")[1].split(".")[0];return m(r,"HH:mm:ss").format("h:mm a")}else return m(e).format("h:mm a")},currency(e){var i;if(e){let r=e.slice(3);return e.match(/.{1,3}/g),Math.round(r).toFixed(2).replace(/\d(?=(\d{3})+\.)/g,"$&,"),((i=this.globalServices)==null?void 0:i.currency)+" "+Math.round(r)}},duration(e,i){var r=m(e),u=m(i),p=r.diff(u,"hours"),_=r.diff(u,"minutes")%60;return`${Math.abs(p)}h ${Math.abs(_)}m`},durationMinuts(e,i){var r=m(e),u=m(i),p=r.diff(u,"minutes");return`${Math.abs(p)}`}},mounted(){this.mountedFunction()}},n=e=>(Y("data-v-c9a227f2"),e=e(),z(),e),Q={class:"mainer"},U=n(()=>t("div",{class:"main"},null,-1)),L={class:"bg-white ExploreDestinationImg"}
1,q={class:"mainHeaderBackground"},G={class:"DestinationHead"},X=n(()=>t("h1",{class:"text-white HeadFontSize"},"Welcome to Sydney!",-1)),Z=["id"],tt={class:"flight-cards-row"},et={class:"vTol"},at=["src"],st={class:"ti"},ot={class:"mt-2"},rt=n(()=>t("hr",{class:"hour-lines"},null,-1)),nt={class:"ti"},it={class:"mt-2"},lt={class:"mobile_select"},ct={style:{marginbottom:"10px",margintop:"10px"}},dt=n(()=>t("h2",{class:"mt-6 ReviewFontWeight ReviewHeading"},"About Sydney",-1)),mt=n(()=>t("p",{class:"text-center"}," Sydney, capital of New South Wales and one of Australia's largest cities, is best known for its harbourfront Sydney Opera House, with a distinctive sail-like design. Massive Darling Harbour and the smaller Circular Quay port are hubs of waterside life, with the arched Harbour Bridge and esteemed Royal Botanic Garden nearby. Sydney Tower\u2019s outdoor platform, the Skywalk, offers 360-degree views of the city and suburbs. ",-1)),ut=n(()=>t("h2",{class:"mt-6 ReviewFontWeight ReviewHeading"}," Why travellers love Sydney ",-1)),_t=n(()=>t("img",{class:"imgsize",src:"https://static.jasmytrip.com/DestinationImages/PopularDestinations/Sydney/harbour-bridge.png"},null,-1)),ht=n(()=>t("h1",{class:"ReviewFontWeight"},"Sydney Harbour Bridge",-1)),pt=n(()=>t("img",{class:"imgsize",src:"https://static.jasmytrip.com/DestinationImages/PopularDestinations/Sydney/tower-eye.png"},null,-1)),gt=n(()=>t("h1",{class:"ReviewFontWeight"}," Sydney Tower Eye ",-1)),yt=n(()=>t("img",{class:"imgsize",src:"https://static.jasmytrip.com/DestinationImages/PopularDestinations/Sydney/opera-house.png"},null,-1)),ft=n(()=>t("h1",{class:"ReviewFontWeight"},"Sydney Opera House",-1)),St=n(()=>t("img",{class:"imgsize",src:"https://static.jasmytrip.com/DestinationImages/PopularDestinations/Sydney/darling-harbour.png"},null,-1)),bt=n(()=>t("h1",{class:"ReviewFontWeight"},"Darling Harbour",-1)),vt={class:"news-letter my-5"},wt=n(()=>t("div",{class:"news-letter-subscribe text-center"},[t("h3",null,"Subscribe"),t("hr",{class:"subs-line"}),t("p",null,"Subscribe to our newsletter and stay updated")],-1));function Dt(e,i,r,u,p,_){const x=d("SearchBar"),c=d("v-container"),l=d("v-col"),S=d("v-btn"),h=d("v-row"),v=d("v-fade-transition"),w=d("v-text-field"),K=d("Footer"),T=d("MobiFooter"),N=d("MobileFooter");return b(),D("div",Q,[U,t("div",L,[t("div",q,[a(c,null,{default:s(()=>[t("div",G,[X,a(x,{class:"searchbarBackground",type:"sub"})])]),_:1})])]),a(c,null,{default:s(()=>[t("div",null,[a(h,null,{default:s(()=>[(b(!0),D(M,null,A(e.data,(y,k)=>
1(b(),V(l,{cols:"12"},{default:s(()=>[(b(!0),D(M,null,A(y==null?void 0:y.directions[0],(o,F)=>(b(),D("div",{class:"flight-filters mt-6 me-1",key:F,id:k+"-"+F},[t("div",tt,[a(h,{style:{"align-items":"center"},class:"rowh"},{default:s(()=>[a(l,{class:"text-center"},{default:s(()=>[t("div",et,[t("img",{src:`https://static.jasmytrip.com/airlines-logos/${o==null?void 0:o.platingCarrier}.png`,height:"60",width:"60",alt:"",style:{objectFit:"contain"}},null,8,at)])]),_:2},1024),a(l,{class:"flight-card-time text-center FlightCardMobile"},{default:s(()=>{var f;return[t("h1",st,g(_.timeFormater((f=o.segments[0])==null?void 0:f.departure)),1),t("p",ot,g(o.segments[0].from),1)]}),_:2},1024),a(l,{class:"flight-card-time text-center justify-center"},{default:s(()=>[t("p",null,g(o==null?void 0:o.duration),1),rt,t("p",null,g((o==null?void 0:o.segments.length)>1?`${(o==null?void 0:o.segments.length)-1} stop(s)`:"Non Stop"),1)]),_:2},1024),a(l,{class:"flight-card-time"},{default:s(()=>{var f;return[t("h1",nt,g(_.timeFormater((f=o.segments[o.segments.length-1])==null?void 0:f.arrival)),1),t("p",it,g(o.segments[o.segments.length-1].to),1)]}),_:2},1024),a(l,{class:""},{default:s(()=>[t("div",lt,[t("h1",ct,g(e.c_formatter(_.currency(y.totalPrice))),1),a(S,{class:"flight-card-btn",onClick:i[0]||(i[0]=f=>_.Selected())},{default:s(()=>[H(" Select ")]),_:1})])]),_:2},1024)]),_:2},1024)])],8,Z))),128))]),_:2},1024))),256))]),_:1})]),t("div",null,[dt,a(h,null,{default:s(()=>[a(l,{class:"MarginAuto",lg:"8",md:"8",sm:"12",xs:"12"},{default:s(()=>[mt]),_:1})]),_:1}),ut,a(h,{class:"d-flex justify-space-between mt-6"},{default:s(()=>[a(l,{class:"text-center",lg:"3"},{default:s(()=>[_t,ht]),_:1}),a(l,{class:"text-center",lg:"3"},{default:s(()=>[pt,gt]),_:1}),a(l,{class:"text-center",lg:"3"},{default:s(()=>[yt,ft]),_:1}),a(l,{class:"text-center",lg:"3"},{default:s(()=>[St,bt]),_:1})]),_:1})]),t("div",vt,[wt,a(h,{class:"mt-3 mb-3"},{default:s(()=>[a(l,{cols:"12"},{default:s(()=>[a(w,{class:"newss-input",modelValue:e.message,"onUpdate:modelValue":i[1]||(i[1]=y=>e.message=y),clearable:"",label:"Email",type:"text",variant:"outlined"},{"append-inner":s(()=>[a(v,{"leave-absolute":""},{default:s(()=>[a(S,{type:"submit",class:"submit-btn"},{default:s(()=>[H(" Submit ")]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})])]),_:1}),a(K,{class:"webFooter"}),a(T,{class:"MobileFooter"}),a(N,{class:"MobileFooter"})])}const Vt=C($,[["render",Dt],["__scopeId","data-v-c9a227f2"]]);export{Vt as default};
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.