"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[906],{1708:function(e,t,n){n.r(t),n.d(t,{AccordionBlockItem:function(){return h}});var r=n(27573);n(7653);var i=n(93054),a=n(37842),s=n(3749),l=n(47928),o=n(65818),c=n(99134),d=n(40476),u=n(77753);let h=e=>{let{title:t,children:n}=e,[h]=(0,i.useToken)("colors",["primary"]);return(0,r.jsx)(a.Q,{borderColor:"primary",itemProp:"mainEntity",itemScope:!0,itemType:"https://schema.org/Question",py:2,children:e=>{let{isExpanded:i}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(s.K,{justifyContent:"space-between",children:[(0,r.jsx)(l.x,{fontWeight:"bold",itemProp:"name",pr:4,textAlign:"left",children:t}),(0,r.jsx)(o.xu,{children:i?(0,r.jsx)(u.i,{"data-testid":"fa-minus",fill:h,size:16}):(0,r.jsx)(d.w,{"data-testid":"fa-plus",fill:h,size:16})})]}),(0,r.jsx)(c.H,{itemProp:"acceptedAnswer",itemScope:!0,itemType:"https://schema.org/Answer",children:(0,r.jsx)(o.xu,{itemProp:"text",children:n})})]})}})}},99784:function(e,t,n){n.r(t),n.d(t,{AccordionBlock:function(){return a}});var r=n(27573);n(7653);var i=n(61146);let a=e=>{let{children:t}=e;return(0,r.jsx)(i.U,{allowMultiple:!0,itemScope:!0,itemType:"http://schema.org/FAQPage",mt:4,width:"100%",children:t})}},83775:function(e,t,n){n.r(t),n.d(t,{BreadCrumbs:function(){return c}});var r=n(27573);n(7653);var i=n(52985),a=n(95557),s=n(9984),l=n(32514),o=n(68571);let c=e=>{let{breadCrumbs:t,pageTitle:n}=e,c=o.env.NEXT_PUBLIC_BASE_URL||"https://www.comparetravelinsurance.com.au",d=t.map((e,t)=>({"@context":"https://schema.org","@type":"ListItem",position:t+2,item:{"@id":"".concat(c,"/").concat(e),name:e.split("-").join(" ")}})),u={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,item:{"@id":"".concat(c,"/"),name:"Compare Travel Insurance"}},...d]},h=0===t.length;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("script",{dangerouslySetInnerHTML:{__html:JSON.stringify(u)},type:"application/ld+json"}),(0,r.jsxs)(i.a,{alignItems:"center",display:{base:"none",md:"flex"},flexWrap:"wrap",listProps:{flexWrap:"wrap",ml:0,pl:0},separator:(0,r.jsx)(l.o,{size:15}),children:[(0,r.jsx)(a.g,{my:0,children:(0,r.jsx)(s.A,{color:"primary",fontSize:"sm",href:"/",children:"Compare Travel Insurance"})}),h?(0,r.jsx)(a.g,{my:0,children:(0,r.jsx)(s.A,{color:"black",fontSize:"sm",margin:0,children:n})}):null,t.map((e,i)=>{let l=i===t.length-1;return(0,r.jsx)(a.g,{isCurrentPage:i===t.length-1,my:0,children:l?(0,r.jsx)(s.A,{color:"black",fontSize:"sm",margin:0,children:n}):(0,r.jsx)(s.A,{color:"primary",fontSize:"sm",href:"/".concat(e),textTransform:"capitalize",children:e.split("-").join(" ")})},e)})]})]})}},7346:function(e,t,n){n.d(t,{TableRow:function(){return C}});var r,i,a=n(27573),s=n(82417),l=n(34071),o=n(96317),c=n(27009),d=n(53674),u=n(64520),h=n(52517),m=n(65818),x=n(64135),p=n(83980),g=n(42922),f=n(87659),j=n(40476),b=n(23995),y=n(77753),w=n(47456),v=n(85321);(r=i||(i={})).CHECKMARK="CHECKMARK",r.UNKNOWN="UNKNOWN",r.NOT_APPLICABLE="NOT_APPLICABLE";let k=e=>e&&"object"==typeof e&&"name"in e;var S=n(9707),I=n(60331);let C=e=>{let{canCollapse:t,cellWidth:n,index:r,row:C,hasRedirectColumn:T}=e,{isFetching:A,setClickThroughUrlData:z}=(0,I.U)(),{isOpen:L,onToggle:E}=(0,s.q)(),N=[{key:i.CHECKMARK,icon:(0,a.jsx)(b.l,{})},{key:i.NOT_APPLICABLE,icon:(0,a.jsx)(w.Y,{})},{key:i.UNKNOWN,icon:(0,a.jsx)(v.g,{})}];return(0,a.jsx)(l.Tr,{_hover:{cursor:"pointer",background:"gray.100"},...t?{onClick:E}:{},children:C.map((e,r)=>{var i;let s=r+1;return(0,a.jsxs)(o.Td,{fontSize:14,padding:3,width:0===r?"20%":n,children:[0===r&&k(e)&&(0,a.jsxs)(c.U,{justifyContent:t?"flex-start":"center",children:[t?(0,a.jsx)(d.h,{"aria-label":"collapse button",borderRadius:50,height:25,icon:L?(0,a.jsx)(y.i,{"data-testid":"collapsable-minus"}):(0,a.jsx)(j.w,{"data-testid":"collapsable-plus"}),minHeight:"auto",minWidth:"auto",mr:4,padding:2,width:25}):null,null!==e.link?(0,a.jsxs)(f.default,{href:e.link,style:{width:75,textAlign:"center"},children:[(0,a.jsx)(u.E,{alt:e.name,src:(0,S.pt)({imageName:e.logo}),width:75}),e.name]}):(0,a.jsxs)(h.K,{alignItems:"center",justifyContent:"center",children:[(0,a.jsx)(u.E,{alt:e.name,src:(0,S.pt)({imageName:e.logo}),width:75}),(0,a.jsx)(m.xu,{children:e.name})]})]}),(0,a.jsx)(h.K,{alignItems:"center",justifyContent:"space-between",children:0!==r&&(i=e)&&"object"==typeof i&&"icon"in i&&"body"in i&&(0,a.jsxs)(a.Fragment,{children:[N.map((t,n)=>{if(t.key===e.icon)return(0,a.jsx)(h.K,{flex:1,my:2,children:t.icon},n)}),(0,a.jsx)(m.xu,{flex:1,children:t&&e.icon?(0,a.jsx)(x.U,{in:L,children:e.body}):(0,a.jsx)(m.xu,{dangerouslySetInnerHTML:{__html:e.body}})})]})}),s===C.length&&T&&k(C[0])&&C[0].compared?(0,a.jsx)(h.K,{alignItems:"center",children:(0,a.jsx)(p.z,{disabled:A,maxWidth:"200px",minHeight:"fit-content",onClick:e=>{e.stopPropagation(),k(C[0])&&z({providerID:C[0].providerId,clickThroughType:I.u.ARTICLE_TABLE})},padding:"0.5rem 0.75rem",variant:"buttonLink",width:"100%",children:A?(0,a.jsx)(g.$,{"data-testid":"spinner"}):"Quote"})}):null]},r)})},r)}},79298:function(e,t,n){n.r(t),n.d(t,{EmailCTA:function(){return k}});var r=n(27573),i=n(65818),a=n(67878),s=n(52517),l=n(64520),o=n(47928),c=n(68701),d=n(58207),u=n(27096),h=n(27009),m=n(83980),x=n(21684),p=n(48388),g=n(16226),f=n(56557),j=n(7653),b=n(25774),y=n(64388),w=n(9707);let v=()=>{let e=(0,b.p)(),[t,n]=(0,j.useState)(null),{control:r,formState:{errors:i},handleSubmit:a}=(0,p.cI)({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:{emailString:""}}),{isFetching:s,error:l}=(0,y.a)({queryKey:["emailResult",t],queryFn:async()=>fetch(w.U_,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:t})}).then(t=>{if(!t.ok)throw e({title:"Something Went Wrong",description:"Please try again later",status:"error",duration:3e3,isClosable:!0}),Error("Network response was not ok");return e({title:"Email Added",description:"Thanks for subscribing to our newsletter!",status:"success",duration:3e3,isClosable:!0}),t.json()}),enabled:!!t});return{control:r,error:l,formErrors:i,handleSubmit:a,isFetching:s,emailQuery:e=>{n(e.emailString)}}},k=()=>{var e;let{control:t,formErrors:n,handleSubmit:j,emailQuery:b}=v();return(0,r.jsx)(i.xu,{backgroundImage:"/assets/images/yu-kato-min.webp",backgroundSize:"cover",bgRepeat:"no-repeat",gap:8,children:(0,r.jsx)(a.W,{size:"md",children:(0,r.jsxs)(s.K,{alignItems:"strech",flexDir:{base:"column",md:"row"},children:[(0,r.jsx)(s.K,{flex:.5,justifyContent:"flex-end",children:(0,r.jsx)(l.E,{"aria-label":"I love Eugene",display:{base:"none",md:"block"},loading:"lazy",maxH:519,src:"/assets/images/eugene_heart.webp"})}),(0,r.jsx)(s.K,{_after:{display:{base:"none",md:"block"},content:"''",position:"absolute",top:0,left:"100%",width:"100vw",height:"100%",backgroundColor:"blueberry",zIndex:1},backgroundColor:"blueberry",flex:.5,justifyContent:"center",p:8,position:"relative",children:(0,r.jsxs)(s.K,{children:[(0,r.jsx)(g.w,{as:"h3",color:"white",fontFamily:"darker-grotesque",fontSize:35,fontWeight:600,lineHeight:"35px",title:"Our Travel Insurance Comparison Helps You Save Time, Worry And Loads Of Money!"}),(0,r.jsxs)(s.K,{width:"100%",children:[(0,r.jsx)(o.x,{color:"white",children:"Stay up to date with our latest news, deals and special offers."}),(0,r.jsx)(s.K,{width:"100%",children:(0,r.jsx)("form",{onSubmit:j(b),children:(0,r.jsxs)(c.NI,{display:"flex",flexDir:{base:"column"},gap:4,isInvalid:"emailString"in n,children:[(0,r.jsxs)(i.xu,{children:[(0,r.jsx)(p.Qr,{control:t,name:"emailString",render:e=>{let{field:t}=e;return(0,r.jsx)(d.I,{...t,"aria-label":"Enter your email address",placeholder:"Your email address"})},rules:{validate:e=>0===e.length?"Please enter an email address!":!!(0,f.oH)(e)||"Please enter a valid email address!"}}),(0,r.jsx)(u.J1,{fontWeight:"bold",children:null===(e=n.emailString)||void 0===e?void 0:e.message})]}),(0,r.jsxs)(h.U,{children:[(0,r.jsx)(m.z,{flex:.5,onClick:j(b),width:"100%",children:"SUBSCRIBE"}),(0,r.jsxs)(o.x,{color:"white",flex:.5,fontSize:18,children:["Your ",(0,r.jsx)(x.r,{color:"white",href:"/privacy-policy",textDecoration:"underline",children:"privacy"})," is important to us."]})]})]})})})]})]})})]})})})}},79547:function(e,t,n){n.d(t,{ReviewCTA:function(){return c}});var r=n(27573),i=n(52517),a=n(64520),s=n(83980),l=n(16226),o=n(82339);let c=e=>{let{title:t,textToStyle:n,children:c}=e;return(0,r.jsx)(o.$,{children:(0,r.jsxs)(i.K,{alignItems:"center",backgroundImage:"/assets/images/review-bg-icon.svg",backgroundPosition:{base:"50% 90%",md:"0% 20%"},backgroundSize:{base:255,md:350},bgRepeat:"no-repeat",flexDir:{base:"column-reverse",md:"row"},gap:8,py:16,children:[(0,r.jsx)(a.E,{alt:"cash money parrot",loading:"lazy",maxWidth:{base:200,md:300},src:"/assets/images/interface/travel-insurance-reviews-parrot.webp"}),(0,r.jsxs)(i.K,{alignItems:{base:"center",md:"flex-start"},children:[(0,r.jsx)(l.w,{as:"h2",fontSize:{base:"lg",md:"xl"},lineHeight:{base:"30px",md:"60px"},size:"xl",textToStyle:n||"Review",title:t||"Travel Insurance Review"}),c?(0,r.jsx)(i.K,{pb:8,children:c}):null,(0,r.jsxs)(i.K,{flexDir:{base:"row"},flexWrap:"wrap",width:"100%",children:[(0,r.jsx)(s.z,{as:"a",href:"/rate-travel-insurance",width:"auto",children:"Write A Review"}),(0,r.jsx)(s.z,{as:"a",href:"/travel-insurance-reviews",variant:"borderedButton",width:"auto",children:"Read Reviews"})]})]})]})})}},40455:function(e,t,n){n.d(t,{SearchForm:function(){return u}});var r=n(27573),i=n(65818),a=n(52517),s=n(64520),l=n(47928),o=n(21684),c=n(16226),d=n(82339);let u=()=>(0,r.jsxs)(d.$,{backgroundImage:"/assets/images/daniel-hernandez-min.webp",children:[(0,r.jsx)(i.xu,{backgroundColor:"rgba(0,0,0,0.4)",height:"100%",position:"absolute",top:0,width:"100%"}),(0,r.jsxs)(a.K,{alignItems:"center",flexDir:{base:"column",md:"row"},gap:4,id:"search-section",justifyContent:"space-between",py:{base:8,lg:12},width:"100%",children:[(0,r.jsx)(s.E,{alignSelf:"baseline","aria-label":"Ask Eugene a question",bottom:0,display:{base:"none",md:"block"},loading:"lazy",position:"absolute",right:{md:"60%",lg:"50%"},src:"/assets/images/ask-eugene.webp",width:250,zIndex:1}),(0,r.jsx)(i.xu,{}),(0,r.jsxs)(i.xu,{justifySelf:"flex-end",maxWidth:512,zIndex:2,children:[(0,r.jsx)(c.w,{as:"h2",color:"white",fontSize:{base:"lg",md:"xl"},lineHeight:{base:"30px",md:"60px"},mb:8,size:"xl",textAlign:"left",textToStyle:"At Your Service",textToStyleColor:"bananaLight",title:"Travel insurance extraordinaire at your service"}),(0,r.jsx)(l.x,{color:"white",fontSize:"md",children:"Need some help? Check out handy FAQS to help with all your curly travel insurance questions."}),(0,r.jsx)(o.r,{href:"/faqs",maxW:150,mt:4,variant:"buttonLink",children:"FAQs"})]})]})]})},82339:function(e,t,n){n.d(t,{$:function(){return o}});var r=n(27573);n(7653);var i=n(65818),a=n(67878),s=n(52517),l=n(16226);let o=e=>{let{title:t,textToStyle:n,backgroundColor:o,backgroundImage:c,centerContent:d=!0,children:u,containerSize:h="md",paddingTop:m={base:8,md:16},...x}=e;return(0,r.jsx)(i.xu,{backgroundColor:o,backgroundImage:c,backgroundSize:"cover",bgRepeat:"no-repeat",position:"relative",children:(0,r.jsx)(a.W,{size:h,children:(0,r.jsxs)(s.K,{alignItems:d?"center":"flex-start",pb:{base:8,md:16},pt:m,children:[t?(0,r.jsx)(l.w,{fontSize:{base:"lg",md:"xl"},lineHeight:{base:"30px",md:"60px"},maxWidth:800,mb:4,size:"xl",textAlign:d?"center":"left",textToStyle:n,title:t,...x}):null,u]})})})}},16226:function(e,t,n){n.d(t,{w:function(){return s}});var r=n(27573);n(7653);var i=n(7900),a=n(65818);let s=e=>{let{title:t,textToStyle:n,textToStyleColor:s="primary",...l}=e,o=n?n.toLowerCase():"",c=t.toLowerCase(),d=n?c.replace(o,""):t;return(0,r.jsxs)(i.X,{_firstLetter:{textTransform:"uppercase"},as:"h2",color:"secondary","data-testid":"styled-heading",...l,children:["".concat(d," "),n?(0,r.jsx)(a.xu,{color:s,display:"inline",children:o}):null]})}},60331:function(e,t,n){n.d(t,{U:function(){return c},u:function(){return i}});var r,i,a=n(7653),s=n(64388),l=n(25774),o=n(9707);(r=i||(i={})).ARTICLE_TABLE="article-table",r.PROVIDER_PAGE="provider-page",r.PROVIDER_LISTING_PAGE="provider-listing-page";let c=()=>{let[e,t]=(0,a.useState)({providerID:null,clickThroughType:null}),n=(0,l.p)(),{isFetching:r}=(0,s.a)({queryKey:["providerClickThroughURLData",e],queryFn:async()=>fetch((0,o.Gh)(e),{headers:{"Content-Type":"application/json"}}).then(e=>(e.ok||n({title:"Something Went Wrong",description:"Failed to fetch provider clickThroughURL",status:"error",duration:3e3,isClosable:!0}),e.json())).then(e=>(window.open(e.url,"_blank"),t({providerID:null,clickThroughType:null}),e)),enabled:!!e.providerID&&!!e.clickThroughType});return{isFetching:r,setClickThroughUrlData:t}}},56557:function(e,t,n){var r,i;function a(e){return/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}$/.test(e)}function s(e,t){return"$".concat((e/(null!=t?t:100)).toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2}))}n.d(t,{T4:function(){return s},oH:function(){return a}}),(i=r||(r={})).INDEX="INDEX",i.NOINDEX="NOINDEX",i.FOLLOW="FOLLOW",i.NOFOLLOW="NOFOLLOW"}}]);