{"id":70,"date":"2021-09-23T23:01:00","date_gmt":"2021-09-23T23:01:00","guid":{"rendered":"https:\/\/senhorviagens.com\/?p=70"},"modified":"2023-02-10T14:56:36","modified_gmt":"2023-02-10T14:56:36","slug":"comprar-passagem-havan","status":"publish","type":"post","link":"https:\/\/senhorviagens.com\/en\/comprar-passagem-havan\/","title":{"rendered":"How to buy tickets and packages in Havan?"},"content":{"rendered":"<!--advertisement--><div class=\"mx-5 sm:mx-0 sm:text-3xl text-2xl font-medium title-font mb-4 text-gray-900 text-left\">\n<h2 id=\"h-descubra-como-comprar-seu-proximo-pacote-ou-passagens-na-havan\">Find out how to buy your next package or tickets at Havan!<\/h2>\n<\/div><!--image--><div class=\"px-5 sm:px-0 sm:w-[800px] sm:ml-[50%] sm:-translate-x-2\/4 rounded-lg overflow-hidden mb-5 text-center\">\n<figure class=\"wp-block-image size-large\"><img width=\"1024\" height=\"576\" loading=\"lazy\" src=\"https:\/\/senhorviagens.com\/wp-content\/uploads\/2021\/09\/Havan-Viagens-2-1024x576.png\" alt=\"logo Havan Viagens\" class=\"w-full object-cover object-center border mx-auto wp-image-7252\" srcset=\"https:\/\/senhorviagens.com\/wp-content\/uploads\/2021\/09\/Havan-Viagens-2-1024x576.png 1024w, https:\/\/senhorviagens.com\/wp-content\/uploads\/2021\/09\/Havan-Viagens-2-300x169.png 300w, https:\/\/senhorviagens.com\/wp-content\/uploads\/2021\/09\/Havan-Viagens-2-768x432.png 768w, https:\/\/senhorviagens.com\/wp-content\/uploads\/2021\/09\/Havan-Viagens-2-150x84.png 150w, https:\/\/senhorviagens.com\/wp-content\/uploads\/2021\/09\/Havan-Viagens-2.png 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"mt-5 text-xs text-center border-b pb-4\" >Find out how to buy with the agency. Source: Havan Viagens.<\/figcaption><\/figure>\n<\/div><!--image--><div class=\"mx-5 sm:mx-0 prose leading-relaxed text-lg mb-5 text-left wp-paragraph\">\n<p>Buying a Havan ticket (or even complete packages and other services) is an easy way to plan your trips. After all, the agency has a series of destination, ticket and hotel options. <\/p>\n<\/div><div class=\"mx-5 sm:mx-0 prose leading-relaxed text-lg mb-5 text-left wp-paragraph\">\n<p>In fact, it adds new products and services to the central Havan company. So, if you want to make the process easier, below we direct you to the official page so you can continue the process of getting a package.<\/p>\n<\/div><div class=\"mx-5 sm:mx-0 prose leading-relaxed text-lg mb-5 text-left wp-paragraph\">\n<p><strong><em>Unfortunately, the Havan website is not available. While it doesn&#039;t work, check out how to take advantage of CVC travel packages below. They are safe and reliable for taking vacations!<\/em><\/strong><\/p>\n<\/div><div class=\"wp-block-lazyblock-cta lazyblock-cta-ZQ5kqR\">\n  <section class=\"cta mx-5 sm:mx-0 text-gray-600 body-font my-10 border-gray-200 border-b border-l border-r sm:border-0\">\n    <div class=\"h-1 bg-gray-200 rounded overflow-hidden\">\n      <div class=\"w-24 h-full\"><\/div>\n    <\/div>\n    <div class=\"container px-5 pt-6 pb-6 mx-auto flex flex-wrap\" data-anchor-target=\"lazyBlock\">    \n    \n              <a class=\"flex flex-wrap content-center w-full mb-4 md:hidden\" href=\"https:\/\/senhorviagens.com\/en\/como-comprar-pacote-de-viagem-na-cvc\/\"  data-analytics-label=\"ctaImage\" data-action=\"analytics#trackCTA\" aria-label=\"How to buy travel package at CVC?\">\n          <div class=\"m-auto float-none\">\n            <img loading=\"lazy\" src=\"https:\/\/senhorviagens.com\/wp-content\/uploads\/2022\/04\/1-11.jpg\" alt=\"Logo novo CVC\">\n          <\/div>\n        <\/a>\n            <h2 class=\"w-full sm:text-3xl text-2xl text-gray-900 font-medium title-font mb-2 text-center md:text-left md:w-2\/5\">\n        <a href=\"https:\/\/senhorviagens.com\/en\/como-comprar-pacote-de-viagem-na-cvc\/\" data-analytics-label=\"ctaTitle\" data-action=\"analytics#trackCTA\" aria-label=\"How to buy travel package at CVC?\">\n            How to buy travel package at CVC?        <\/a>\n      <\/h2>\n      <div class=\"w-full md:w-3\/5 md:pl-6\">\n        <p class=\"text-center md:text-left leading-relaxed text-base\">\n            Looking for travel options? So check out today how to buy travel package and air and bus tickets through CVC and start your rest and vacation plans on the right foot!\n        <\/p>\n        <div class=\"flex mt-6 w-full flex-1 justify-center ml-auto md:mt-4 md:justify-start\" style=\"font-weight: bold;\">\n          <a class=\"inline-flex items-center\" href=\"https:\/\/senhorviagens.com\/en\/como-comprar-pacote-de-viagem-na-cvc\/\"  data-analytics-label=\"ctaButton\" data-action=\"analytics#trackCTA\" >\n            Keep Reading            <svg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" class=\"w-4 h-4 ml-2\" viewbox=\"0 0 24 24\">\n              <path d=\"M5 12h14M12 5l7 7-7 7\"><\/path>\n            <\/svg>\n          <\/a>\n        <\/div>\n      <\/div>  \n          \n    <\/div>\n      <script type=\"module\"> function waitFor(conditionFunction) { const poll = resolve => { if(conditionFunction()) resolve(); else setTimeout(_ => poll(resolve), 400); }; return new Promise(poll); } import { Application, Controller } from \"\/wp-content\/themes\/twentytwentyone\/assets\/js\/stimulus.min.js\"; let Stimulus = Application.start(); Stimulus.register(\"anchor\", class extends Controller { static get targets() { return [ \"lazyBlock\", \"lazyBlockAnchor\" ]; } initialize() { this.active = false; this.passed = false; this.closed = false; this.anchorViews = 0; this.boundOnShowAnchor = this.onShowAnchor.bind(this); window.anchorReady = window.anchorReady || false; waitFor(_ => (window.scrollY > this.getHeightBlock() && !this.active)) .then(_ => { !window.anchorReady? this.visible() : ''; window.anchorReady = true; }); if (document.getElementById('landing')) { setTimeout(() => { !window.anchorReady ? this.visible() : ''; window.anchorReady = true; }, 1 * 30000); }; } connect() { this.onShowAnchor(); document.addEventListener(\"scroll\", this.boundOnShowAnchor); } disconnect() { document.removeEventListener(\"scroll\", this.boundOnShowAnchor); } visible() { if (document.getElementById('av-offerwall__wrapper')) { setTimeout(() => this.visible(), 20000); return; } if (document.getElementById('av-fixed__bottomWrapper') && document.getElementById('av-fixed__bottomWrapper').style.display !== 'none' && document.getElementById('av-fixed__bottomWrapper').getBoundingClientRect().height > 100) { setTimeout(() => this.visible(), 1000); return; } if (document.getElementById('av-fixed__bottomWrapper') && document.getElementById('av-fixed__bottomWrapper').style.display !== 'none' && document.getElementById('av-fixed__bottomWrapper').getBoundingClientRect().height > 10) { this.getAnchorElement().style.marginBottom = '60px'; } if (document.querySelector('[data-anchor-shown=\"true\"]') && document.querySelector('[data-anchor-shown=\"true\"]').style.bottom === '0px') { setTimeout(() => this.visible(), 1000); return; } if (!window.km2AnchorReady) { this.active = true; \/*this.getAnchorElement().style.animation = \"none\"; this.getAnchorElement().classList.remove('animate-show-down');*\/ \/*this.getAnchorElement().classList.add('animate-show-up');*\/ \/*setTimeout(() => {*\/ \/*this.getAnchorElement().style.animation = \"\";*\/ this.getAnchorElement().classList.add('animate-show-up'); this.getAnchorElement().classList.remove('hidden'); this.setAnchorViews(this.anchorViews+1); setTimeout(() => this.closeAnchor(), 20000); waitFor(_ => (document.getElementById('av-fixed__bottomWrapper') && document.getElementById('av-fixed__bottomWrapper').style.display !== 'none' && document.getElementById('av-fixed__bottomWrapper').getBoundingClientRect().height > 10 && this.getAnchorElement().style.marginBottom !== '60px')) .then(_ => { this.closeAnchor(); }); this.active = false; \/*}, 10);*\/ } } invisible() { this.active = true; this.getAnchorElement().style.animation = \"none\"; this.getAnchorElement().classList.remove('animate-show-up'); this.getAnchorElement().classList.add('animate-show-down'); setTimeout(() => { this.getAnchorElement().style.animation = \"\"; setTimeout(() => { this.getAnchorElement().classList.add('hidden'); this.active = false; }, 800); }, 10); } onShowAnchor() { let anchorReady = false;  \/*if (!this.active && !anchorReady) { if (this.getAnchorViews() <= 3) { if (window.scrollY > this.getHeightBlock()) { if (!this.passed && !this.closed) { this.visible(); this.passed = true; } } else { if (this.passed) { this.invisible(); this.passed = false; } } } else { if (!this.getAnchorElement().classList.contains('close')) { this.getAnchorElement().classList.add('close'); if (window.scrollY < this.getHeightBlock()) { this.invisible(); } } } }*\/ } closeAnchor() { if (this.closed) return; this.invisible(); this.getAnchorElement().classList.add('close'); this.closed = true; } getAnchorElement() { return this.lazyBlockAnchorTargets[0]; } getAnchorViews() { this.anchorViews = parseInt(sessionStorage.getItem(\"anchorViews\")) >= 1 ? parseInt(sessionStorage.getItem(\"anchorViews\")) : 0; return this.anchorViews; } setAnchorViews(views) { sessionStorage.setItem(\"anchorViews\", views); } getHeightBlock() { return this.lazyBlockTarget.offsetTop + this.lazyBlockTarget.offsetHeight - 110; } }) <\/script>  <div data-anchor-target=\"lazyBlockAnchor\" class=\"fixed w-full sm:w-96 px-3 py-2 bottom-0 left-0 hidden\" style=\"z-index: 999999;\" name=\"lazyBlockAnchor\">\n    <div class=\"grid justify-items-stretch\">        \n              <div class=\"relative justify-self-end top-4 -right-2\">\n          <button data-no-translation class=\"bg-white text-md font-medium text-center rounded-full h-7 w-7 border-2\" data-analytics-label=\"anchorCloseAnchor\" data-action=\"anchor#closeAnchor\" style=\"z-index: 999999;\">\n            X\n          <\/button>\n        <\/div>\n        <div class=\"justify-self-auto flex flex-col h-32 bg-white border-solid border-2 shadow-md rounded-md\">\n          <div class=\"flex my-0 h-full\">\n            <div class=\"w-2\/5 p-1 ml-2 mt-2 w-full\">\n              <a href=\"https:\/\/senhorviagens.com\/en\/como-comprar-pacote-de-viagem-na-cvc\/\"  data-analytics-label=\"anchorImage\" data-action=\"analytics#trackCTA\">          \n                <img loading=\"lazy\" alt=\"card\" class=\"w-full object-cover h-24 object-center rounded justify-self-auto border-2 border-gray-100\" src=\"https:\/\/senhorviagens.com\/wp-content\/uploads\/2022\/04\/1-11.jpg\">          \n              <\/a>\n            <\/div>\n            <div class=\"w-3\/5 my-2\">\n              <p class=\"px-4 text-center text-xs h-1\/2\">\n                How to buy travel package at CVC?              <\/p>\n              <a href=\"https:\/\/senhorviagens.com\/en\/como-comprar-pacote-de-viagem-na-cvc\/\"  data-analytics-label=\"anchorButton\" data-action=\"analytics#trackCTA\" >\n                <button class=\"flex w-5\/6 m-auto mt-2 border-0 py-1 px-3 focus:outline-none rounded\">                \n                  <p class=\"text-center w-full\" style=\"font-size: 0.67rem;\">\n                    Keep Reading                  <\/p>\n                <\/button>\n              <\/a>\n              <p class=\"text-gray-500 text-center mt-1\" style=\"font-size: 0.50rem;\">\n                You will remain on the same website              <\/p>\n            <\/div>\n          <\/div>\n        <\/div>\n          <\/div>\n  <\/div>\n  <\/section>\n\n<\/div><div class=\"mx-5 sm:mx-0 prose leading-relaxed text-lg mb-5 text-left wp-paragraph\">\n<p>In fact, did you know that there are special promotions and conditions for those who have a store card? If you are one of these people, you will have even more benefits and advantages!<\/p>\n<\/div><div class=\"mx-5 sm:mx-0 prose leading-relaxed text-lg mb-5 text-left wp-paragraph\">\n<p>But, if you&#039;re still unsure about how to buy with the agency, don&#039;t worry: we&#039;ve put together a detailed step-by-step guide. Below, then, see how to buy services and packages with the company!<\/p>\n<\/div><!--advertisement--><div class=\"mx-5 sm:mx-0 sm:text-3xl text-2xl font-medium title-font mb-4 text-gray-900 text-left\">\n<h2 id=\"h-passo-a-passo-para-comprar-passagem-e-pacotes-na-havan\">Step by step to buy tickets and packages in Havan<\/h2>\n<\/div><!--image--><div class=\"px-5 sm:px-0 sm:w-[800px] sm:ml-[50%] sm:-translate-x-2\/4 rounded-lg overflow-hidden mb-5 text-center\">\n<figure class=\"wp-block-image size-large\"><img width=\"1024\" height=\"682\" loading=\"lazy\" src=\"https:\/\/senhorviagens.com\/wp-content\/uploads\/2022\/12\/Havan-Viagens-1024x682.jpg\" alt=\"\" class=\"w-full object-cover object-center border mx-auto wp-image-7260\" srcset=\"https:\/\/senhorviagens.com\/wp-content\/uploads\/2022\/12\/Havan-Viagens-1024x682.jpg 1024w, https:\/\/senhorviagens.com\/wp-content\/uploads\/2022\/12\/Havan-Viagens-300x200.jpg 300w, https:\/\/senhorviagens.com\/wp-content\/uploads\/2022\/12\/Havan-Viagens-768x511.jpg 768w, https:\/\/senhorviagens.com\/wp-content\/uploads\/2022\/12\/Havan-Viagens-150x100.jpg 150w, https:\/\/senhorviagens.com\/wp-content\/uploads\/2022\/12\/Havan-Viagens.jpg 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"mt-5 text-xs text-center border-b pb-4\" >You can even buy a trip to Disney. Source: Pexels.<\/figcaption><\/figure>\n<\/div><!--image--><div class=\"mx-5 sm:mx-0 prose leading-relaxed text-lg mb-5 text-left wp-paragraph\">\n<p>If you are interested in purchasing tickets with Havan Viagens, know that it is possible to do so in just a few steps and without leaving home. Therefore, you can find the options and purchase them through the application or through the company&#039;s website.<\/p>\n<\/div><div class=\"mx-5 sm:mx-0 prose leading-relaxed text-lg mb-5 text-left wp-paragraph\">\n<p>Therefore, check out the items below for all the steps to ensure your trip and accommodation and make your vacation even more enjoyable.<\/p>\n<\/div><!--advertisement--><div class=\"mx-5 sm:mx-0 sm:text-3xl text-2xl font-medium title-font mb-4 text-gray-900 text-left\">\n<h3 id=\"h-faca-login-ou-cadastro-no-site\">Log in or register on the website<\/h3>\n<\/div><div class=\"mx-5 sm:mx-0 prose leading-relaxed text-lg mb-5 text-left wp-paragraph\">\n<p>Firstly, to buy a Havan ticket you must access the website and log in. If you haven&#039;t registered yet, however, no problem. You can do it online in just a few steps. Click on \u201cLogin\u201d and \u201cRegister\u201d.<\/p>\n<\/div><div class=\"mx-5 sm:mx-0 prose leading-relaxed text-lg mb-5 text-left wp-paragraph\">\n<p>Thus, fill in the data on the screen. When entering your email, remember to leave it in all lowercase letters. Otherwise, the registration will not be accepted.<\/p>\n<\/div><!--advertisement--><div class=\"mx-5 sm:mx-0 sm:text-3xl text-2xl font-medium title-font mb-4 text-gray-900 text-left\">\n<h3 id=\"h-encontre-os-servicos-que-voce-deseja\">Find the services you want<\/h3>\n<\/div><div class=\"mx-5 sm:mx-0 prose leading-relaxed text-lg mb-5 text-left wp-paragraph\">\n<p>After registering and logging in to buy a ticket at Havan Viagens, you must search for the option you want. Remember that both tickets and accommodation are available. <\/p>\n<\/div><div class=\"mx-5 sm:mx-0 prose leading-relaxed text-lg mb-5 text-left wp-paragraph\">\n<p>Likewise, a passport to Beto Carrero park and even trips to Disney. Therefore, provide information about the days (for example, round trip, or the beginning and end of the stay).<\/p>\n<\/div><!--advertisement--><div class=\"mx-5 sm:mx-0 sm:text-3xl text-2xl font-medium title-font mb-4 text-gray-900 text-left\">\n<h3 id=\"h-verifique-os-servicos\">Check services<\/h3>\n<\/div><div class=\"mx-5 sm:mx-0 prose leading-relaxed text-lg mb-5 text-left wp-paragraph\">\n<p>After selecting the services that interest you, check that the information on the number of people, age range and dates is correct. Furthermore, it is essential to check whether the flight has free baggage check-in or not.<\/p>\n<\/div><!--advertisement--><div class=\"mx-5 sm:mx-0 sm:text-3xl text-2xl font-medium title-font mb-4 text-gray-900 text-left\">\n<h3 id=\"h-preencha-os-dados-dos-passageiros\">Fill in passenger details<\/h3>\n<\/div><div class=\"mx-5 sm:mx-0 prose leading-relaxed text-lg mb-5 text-left wp-paragraph\">\n<p>Continuing the step-by-step guide to buy a ticket on Havan, you fill in the details of all passengers and\/or guests. So, enter names, dates of birth and document numbers, such as CPF and ID.<\/p>\n<\/div><!--advertisement--><div class=\"mx-5 sm:mx-0 sm:text-3xl text-2xl font-medium title-font mb-4 text-gray-900 text-left\">\n<h3 id=\"h-pague-e-conclua-a-compra-para-comprar-passagem-na-havan\">Pay and complete the purchase to buy a ticket at Havan<\/h3>\n<\/div><div class=\"mx-5 sm:mx-0 prose leading-relaxed text-lg mb-5 text-left wp-paragraph\">\n<p>Finally, select the payment method, which can be by Havan credit card or other types. So, fill in the details, the number of installments and complete the purchase, accepting the terms and conditions.<\/p>\n<\/div><div class=\"mx-5 sm:mx-0 prose leading-relaxed text-lg mb-5 text-left wp-paragraph\">\n<p>After that, just check the purchase confirmation. Also, check your boarding dates and ticket details when you log in to the website or in your email.<\/p>\n<\/div><!--advertisement--><div class=\"mx-5 sm:mx-0 sm:text-3xl text-2xl font-medium title-font mb-4 text-gray-900 text-left\">\n<h2 id=\"h-conheca-outras-alternativas-para-viajar-submarino-viagens\">Discover other alternatives to travel: Submarino Viagens<\/h2>\n<\/div><!--image--><div class=\"px-5 sm:px-0 sm:w-[800px] sm:ml-[50%] sm:-translate-x-2\/4 rounded-lg overflow-hidden mb-5 text-center\">\n<figure class=\"wp-block-image size-large\"><img width=\"1024\" height=\"579\" loading=\"lazy\" src=\"https:\/\/senhorviagens.com\/wp-content\/uploads\/2021\/12\/submarino_-youtube-1024x579.png\" alt=\"Logo Submarino com cachoeiras ao fundo\" class=\"w-full object-cover object-center border mx-auto wp-image-926\" srcset=\"https:\/\/senhorviagens.com\/wp-content\/uploads\/2021\/12\/submarino_-youtube-1024x579.png 1024w, https:\/\/senhorviagens.com\/wp-content\/uploads\/2021\/12\/submarino_-youtube-300x170.png 300w, https:\/\/senhorviagens.com\/wp-content\/uploads\/2021\/12\/submarino_-youtube-768x434.png 768w, https:\/\/senhorviagens.com\/wp-content\/uploads\/2021\/12\/submarino_-youtube.png 1358w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"mt-5 text-xs text-center border-b pb-4\" >Also discover Submarino Viagens. Source: Youtube Submarino.<\/figcaption><\/figure>\n<\/div><!--image--><div class=\"mx-5 sm:mx-0 prose leading-relaxed text-lg mb-5 text-left wp-paragraph\">\n<p>Still not sure if Havan Viagens is for you, or do you want to have other options at hand? In this case, be sure to check out Submarino Viagens, a tourism company that has several alternative products and services.<\/p>\n<\/div><div class=\"mx-5 sm:mx-0 prose leading-relaxed text-lg mb-5 text-left wp-paragraph\">\n<p>In fact, it also offers special promotions on tickets and packages. So, access below and find out how to buy with the agency. Follow below!<\/p>\n<\/div><div class=\"wp-block-lazyblock-cta lazyblock-cta-1HPYHA\">\n  <section class=\"cta mx-5 sm:mx-0 text-gray-600 body-font my-10 border-gray-200 border-b border-l border-r sm:border-0\">\n    <div class=\"h-1 bg-gray-200 rounded overflow-hidden\">\n      <div class=\"w-24 h-full\"><\/div>\n    <\/div>\n    <div class=\"container px-5 pt-6 pb-6 mx-auto flex flex-wrap\" data-anchor-target=\"lazyBlock\">    \n    \n              <a class=\"flex flex-wrap content-center w-full mb-4 md:hidden\" href=\"https:\/\/senhorviagens.com\/en\/como-comprar-passagem-no-submarino-viagens\/\"  data-analytics-label=\"ctaImage\" data-action=\"analytics#trackCTA\" aria-label=\"How to buy a ticket at Submarino Viagens?\">\n          <div class=\"m-auto float-none\">\n            <img loading=\"lazy\" src=\"https:\/\/senhorviagens.com\/wp-content\/uploads\/2021\/12\/Post.jpg\" alt=\"Logo Submarino\">\n          <\/div>\n        <\/a>\n            <h2 class=\"w-full sm:text-3xl text-2xl text-gray-900 font-medium title-font mb-2 text-center md:text-left md:w-2\/5\">\n        <a href=\"https:\/\/senhorviagens.com\/en\/como-comprar-passagem-no-submarino-viagens\/\" data-analytics-label=\"ctaTitle\" data-action=\"analytics#trackCTA\" aria-label=\"How to buy a ticket at Submarino Viagens?\">\n            How to buy a ticket at Submarino Viagens?        <\/a>\n      <\/h2>\n      <div class=\"w-full md:w-3\/5 md:pl-6\">\n        <p class=\"text-center md:text-left leading-relaxed text-base\">\n            Are you thinking about travelling? Then check out the step-by-step guide to buying a ticket at Submarino Viagens. With this, guarantee economy and practicality.\n\n        <\/p>\n        <div class=\"flex mt-6 w-full flex-1 justify-center ml-auto md:mt-4 md:justify-start\" style=\"font-weight: bold;\">\n          <a class=\"inline-flex items-center\" href=\"https:\/\/senhorviagens.com\/en\/como-comprar-passagem-no-submarino-viagens\/\"  data-analytics-label=\"ctaButton\" data-action=\"analytics#trackCTA\" >\n            Keep Reading            <svg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" class=\"w-4 h-4 ml-2\" viewbox=\"0 0 24 24\">\n              <path d=\"M5 12h14M12 5l7 7-7 7\"><\/path>\n            <\/svg>\n          <\/a>\n        <\/div>\n      <\/div>  \n          \n    <\/div>\n      <script type=\"module\"> function waitFor(conditionFunction) { const poll = resolve => { if(conditionFunction()) resolve(); else setTimeout(_ => poll(resolve), 400); }; return new Promise(poll); } import { Application, Controller } from \"\/wp-content\/themes\/twentytwentyone\/assets\/js\/stimulus.min.js\"; let Stimulus = Application.start(); Stimulus.register(\"anchor\", class extends Controller { static get targets() { return [ \"lazyBlock\", \"lazyBlockAnchor\" ]; } initialize() { this.active = false; this.passed = false; this.closed = false; this.anchorViews = 0; this.boundOnShowAnchor = this.onShowAnchor.bind(this); window.anchorReady = window.anchorReady || false; waitFor(_ => (window.scrollY > this.getHeightBlock() && !this.active)) .then(_ => { !window.anchorReady? this.visible() : ''; window.anchorReady = true; }); if (document.getElementById('landing')) { setTimeout(() => { !window.anchorReady ? this.visible() : ''; window.anchorReady = true; }, 1 * 30000); }; } connect() { this.onShowAnchor(); document.addEventListener(\"scroll\", this.boundOnShowAnchor); } disconnect() { document.removeEventListener(\"scroll\", this.boundOnShowAnchor); } visible() { if (document.getElementById('av-offerwall__wrapper')) { setTimeout(() => this.visible(), 20000); return; } if (document.getElementById('av-fixed__bottomWrapper') && document.getElementById('av-fixed__bottomWrapper').style.display !== 'none' && document.getElementById('av-fixed__bottomWrapper').getBoundingClientRect().height > 100) { setTimeout(() => this.visible(), 1000); return; } if (document.getElementById('av-fixed__bottomWrapper') && document.getElementById('av-fixed__bottomWrapper').style.display !== 'none' && document.getElementById('av-fixed__bottomWrapper').getBoundingClientRect().height > 10) { this.getAnchorElement().style.marginBottom = '60px'; } if (document.querySelector('[data-anchor-shown=\"true\"]') && document.querySelector('[data-anchor-shown=\"true\"]').style.bottom === '0px') { setTimeout(() => this.visible(), 1000); return; } if (!window.km2AnchorReady) { this.active = true; \/*this.getAnchorElement().style.animation = \"none\"; this.getAnchorElement().classList.remove('animate-show-down');*\/ \/*this.getAnchorElement().classList.add('animate-show-up');*\/ \/*setTimeout(() => {*\/ \/*this.getAnchorElement().style.animation = \"\";*\/ this.getAnchorElement().classList.add('animate-show-up'); this.getAnchorElement().classList.remove('hidden'); this.setAnchorViews(this.anchorViews+1); setTimeout(() => this.closeAnchor(), 20000); waitFor(_ => (document.getElementById('av-fixed__bottomWrapper') && document.getElementById('av-fixed__bottomWrapper').style.display !== 'none' && document.getElementById('av-fixed__bottomWrapper').getBoundingClientRect().height > 10 && this.getAnchorElement().style.marginBottom !== '60px')) .then(_ => { this.closeAnchor(); }); this.active = false; \/*}, 10);*\/ } } invisible() { this.active = true; this.getAnchorElement().style.animation = \"none\"; this.getAnchorElement().classList.remove('animate-show-up'); this.getAnchorElement().classList.add('animate-show-down'); setTimeout(() => { this.getAnchorElement().style.animation = \"\"; setTimeout(() => { this.getAnchorElement().classList.add('hidden'); this.active = false; }, 800); }, 10); } onShowAnchor() { let anchorReady = false;  \/*if (!this.active && !anchorReady) { if (this.getAnchorViews() <= 3) { if (window.scrollY > this.getHeightBlock()) { if (!this.passed && !this.closed) { this.visible(); this.passed = true; } } else { if (this.passed) { this.invisible(); this.passed = false; } } } else { if (!this.getAnchorElement().classList.contains('close')) { this.getAnchorElement().classList.add('close'); if (window.scrollY < this.getHeightBlock()) { this.invisible(); } } } }*\/ } closeAnchor() { if (this.closed) return; this.invisible(); this.getAnchorElement().classList.add('close'); this.closed = true; } getAnchorElement() { return this.lazyBlockAnchorTargets[0]; } getAnchorViews() { this.anchorViews = parseInt(sessionStorage.getItem(\"anchorViews\")) >= 1 ? parseInt(sessionStorage.getItem(\"anchorViews\")) : 0; return this.anchorViews; } setAnchorViews(views) { sessionStorage.setItem(\"anchorViews\", views); } getHeightBlock() { return this.lazyBlockTarget.offsetTop + this.lazyBlockTarget.offsetHeight - 110; } }) <\/script>  <div data-anchor-target=\"lazyBlockAnchor\" class=\"fixed w-full sm:w-96 px-3 py-2 bottom-0 left-0 hidden\" style=\"z-index: 999999;\" name=\"lazyBlockAnchor\">\n    <div class=\"grid justify-items-stretch\">        \n              <div class=\"relative justify-self-end top-4 -right-2\">\n          <button data-no-translation class=\"bg-white text-md font-medium text-center rounded-full h-7 w-7 border-2\" data-analytics-label=\"anchorCloseAnchor\" data-action=\"anchor#closeAnchor\" style=\"z-index: 999999;\">\n            X\n          <\/button>\n        <\/div>\n        <div class=\"justify-self-auto flex flex-col h-32 bg-white border-solid border-2 shadow-md rounded-md\">\n          <div class=\"flex my-0 h-full\">\n            <div class=\"w-2\/5 p-1 ml-2 mt-2 w-full\">\n              <a href=\"https:\/\/senhorviagens.com\/en\/como-comprar-passagem-no-submarino-viagens\/\"  data-analytics-label=\"anchorImage\" data-action=\"analytics#trackCTA\">          \n                <img loading=\"lazy\" alt=\"card\" class=\"w-full object-cover h-24 object-center rounded justify-self-auto border-2 border-gray-100\" src=\"https:\/\/senhorviagens.com\/wp-content\/uploads\/2021\/12\/Post.jpg\">          \n              <\/a>\n            <\/div>\n            <div class=\"w-3\/5 my-2\">\n              <p class=\"px-4 text-center text-xs h-1\/2\">\n                How to buy a ticket at Submarino Viagens?              <\/p>\n              <a href=\"https:\/\/senhorviagens.com\/en\/como-comprar-passagem-no-submarino-viagens\/\"  data-analytics-label=\"anchorButton\" data-action=\"analytics#trackCTA\" >\n                <button class=\"flex w-5\/6 m-auto mt-2 border-0 py-1 px-3 focus:outline-none rounded\">                \n                  <p class=\"text-center w-full\" style=\"font-size: 0.67rem;\">\n                    Keep Reading                  <\/p>\n                <\/button>\n              <\/a>\n              <p class=\"text-gray-500 text-center mt-1\" style=\"font-size: 0.50rem;\">\n                You will remain on the same website              <\/p>\n            <\/div>\n          <\/div>\n        <\/div>\n          <\/div>\n  <\/div>\n  <\/section>\n\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Find out in just a few steps how to buy a ticket or package with Havan, one of the best travel agencies. So, start shaping the trip of your dreams, as payment is easy!<\/p>","protected":false},"author":8,"featured_media":7259,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[864,6,9,5],"tags":[25,24,22],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v18.7 (Yoast SEO v19.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Como comprar passagem e pacotes na Havan? - Senhor Viagens<\/title>\n<meta name=\"description\" content=\"Saiba aqui como comprar passagem na Havan ou pacotes completos para sua viagem! \u00c9 tudo online e voc\u00ea pode reservar hot\u00e9is, ingressos e mais!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/senhorviagens.com\/en\/comprar-passagem-havan\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Como comprar passagem e pacotes na Havan?\" \/>\n<meta property=\"og:description\" content=\"Saiba aqui como comprar passagem na Havan ou pacotes completos para sua viagem! \u00c9 tudo online e voc\u00ea pode reservar hot\u00e9is, ingressos e mais!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/senhorviagens.com\/en\/comprar-passagem-havan\/\" \/>\n<meta property=\"og:site_name\" content=\"Senhor Viagens\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-23T23:01:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-10T14:56:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/senhorviagens.com\/wp-content\/uploads\/2021\/09\/Havan-Viagens-3.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sales\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/senhorviagens.com\/#website\",\"url\":\"https:\/\/senhorviagens.com\/\",\"name\":\"Senhor Viagens\",\"description\":\"As melhores dicas para voc\u00ea planejar sua pr\u00f3xima viagem\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/senhorviagens.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/senhorviagens.com\/comprar-passagem-havan\/#primaryimage\",\"url\":\"https:\/\/senhorviagens.com\/wp-content\/uploads\/2021\/09\/Havan-Viagens-3.png\",\"contentUrl\":\"https:\/\/senhorviagens.com\/wp-content\/uploads\/2021\/09\/Havan-Viagens-3.png\",\"width\":1200,\"height\":675,\"caption\":\"Fonte: Havan Viagens.\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/senhorviagens.com\/comprar-passagem-havan\/#webpage\",\"url\":\"https:\/\/senhorviagens.com\/comprar-passagem-havan\/\",\"name\":\"Como comprar passagem e pacotes na Havan? - Senhor Viagens\",\"isPartOf\":{\"@id\":\"https:\/\/senhorviagens.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/senhorviagens.com\/comprar-passagem-havan\/#primaryimage\"},\"datePublished\":\"2021-09-23T23:01:00+00:00\",\"dateModified\":\"2023-02-10T14:56:36+00:00\",\"author\":{\"@id\":\"https:\/\/senhorviagens.com\/#\/schema\/person\/f5e0edb0b87514d9d8058c53c628cbb1\"},\"description\":\"Saiba aqui como comprar passagem na Havan ou pacotes completos para sua viagem! \u00c9 tudo online e voc\u00ea pode reservar hot\u00e9is, ingressos e mais!\",\"breadcrumb\":{\"@id\":\"https:\/\/senhorviagens.com\/comprar-passagem-havan\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/senhorviagens.com\/comprar-passagem-havan\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/senhorviagens.com\/comprar-passagem-havan\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/senhorviagens.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Como comprar passagem e pacotes na Havan?\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/senhorviagens.com\/#\/schema\/person\/f5e0edb0b87514d9d8058c53c628cbb1\",\"name\":\"Sales\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/senhorviagens.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/18c935df8242b359fcafbc5cf4928397?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/18c935df8242b359fcafbc5cf4928397?s=96&d=mm&r=g\",\"caption\":\"Sales\"},\"url\":\"https:\/\/senhorviagens.com\/en\/author\/esther\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Como comprar passagem e pacotes na Havan? - Senhor Viagens","description":"Saiba aqui como comprar passagem na Havan ou pacotes completos para sua viagem! \u00c9 tudo online e voc\u00ea pode reservar hot\u00e9is, ingressos e mais!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/senhorviagens.com\/en\/comprar-passagem-havan\/","og_locale":"en_US","og_type":"article","og_title":"Como comprar passagem e pacotes na Havan?","og_description":"Saiba aqui como comprar passagem na Havan ou pacotes completos para sua viagem! \u00c9 tudo online e voc\u00ea pode reservar hot\u00e9is, ingressos e mais!","og_url":"https:\/\/senhorviagens.com\/en\/comprar-passagem-havan\/","og_site_name":"Senhor Viagens","article_published_time":"2021-09-23T23:01:00+00:00","article_modified_time":"2023-02-10T14:56:36+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/senhorviagens.com\/wp-content\/uploads\/2021\/09\/Havan-Viagens-3.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sales","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/senhorviagens.com\/#website","url":"https:\/\/senhorviagens.com\/","name":"Senhor Viagens","description":"As melhores dicas para voc\u00ea planejar sua pr\u00f3xima viagem","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/senhorviagens.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/senhorviagens.com\/comprar-passagem-havan\/#primaryimage","url":"https:\/\/senhorviagens.com\/wp-content\/uploads\/2021\/09\/Havan-Viagens-3.png","contentUrl":"https:\/\/senhorviagens.com\/wp-content\/uploads\/2021\/09\/Havan-Viagens-3.png","width":1200,"height":675,"caption":"Fonte: Havan Viagens."},{"@type":"WebPage","@id":"https:\/\/senhorviagens.com\/comprar-passagem-havan\/#webpage","url":"https:\/\/senhorviagens.com\/comprar-passagem-havan\/","name":"Como comprar passagem e pacotes na Havan? - Senhor Viagens","isPartOf":{"@id":"https:\/\/senhorviagens.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/senhorviagens.com\/comprar-passagem-havan\/#primaryimage"},"datePublished":"2021-09-23T23:01:00+00:00","dateModified":"2023-02-10T14:56:36+00:00","author":{"@id":"https:\/\/senhorviagens.com\/#\/schema\/person\/f5e0edb0b87514d9d8058c53c628cbb1"},"description":"Saiba aqui como comprar passagem na Havan ou pacotes completos para sua viagem! \u00c9 tudo online e voc\u00ea pode reservar hot\u00e9is, ingressos e mais!","breadcrumb":{"@id":"https:\/\/senhorviagens.com\/comprar-passagem-havan\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/senhorviagens.com\/comprar-passagem-havan\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/senhorviagens.com\/comprar-passagem-havan\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/senhorviagens.com\/"},{"@type":"ListItem","position":2,"name":"Como comprar passagem e pacotes na Havan?"}]},{"@type":"Person","@id":"https:\/\/senhorviagens.com\/#\/schema\/person\/f5e0edb0b87514d9d8058c53c628cbb1","name":"Sales","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/senhorviagens.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/18c935df8242b359fcafbc5cf4928397?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/18c935df8242b359fcafbc5cf4928397?s=96&d=mm&r=g","caption":"Sales"},"url":"https:\/\/senhorviagens.com\/en\/author\/esther\/"}]}},"_links":{"self":[{"href":"https:\/\/senhorviagens.com\/en\/wp-json\/wp\/v2\/posts\/70"}],"collection":[{"href":"https:\/\/senhorviagens.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/senhorviagens.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/senhorviagens.com\/en\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/senhorviagens.com\/en\/wp-json\/wp\/v2\/comments?post=70"}],"version-history":[{"count":0,"href":"https:\/\/senhorviagens.com\/en\/wp-json\/wp\/v2\/posts\/70\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/senhorviagens.com\/en\/wp-json\/wp\/v2\/media\/7259"}],"wp:attachment":[{"href":"https:\/\/senhorviagens.com\/en\/wp-json\/wp\/v2\/media?parent=70"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/senhorviagens.com\/en\/wp-json\/wp\/v2\/categories?post=70"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/senhorviagens.com\/en\/wp-json\/wp\/v2\/tags?post=70"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}