\n"; resumo += "\n"; /** * Detect where is the field Mail */ let FinalMail = ""; let TempMail = ""; //This is for get URL input hidden form-cotacao TempMail = document.getElementById("email").value; if (TempMail.length > 0) { if (checkMail(TempMail) == true) { FinalMail = TempMail; } } //This is for Modal "Receber cotação por e-mail" TempMail = document.querySelectorAll("#Modal2"); if (TempMail.length > 0) { TempMail = TempMail[0].querySelector("[type=email]").value; if (TempMail.length > 0) { if (checkMail(TempMail) == true) { FinalMail = TempMail; } } } //This is for PopUp right side of screen TempMail = document.querySelectorAll("#Modal1"); if (TempMail.length > 0) { TempMail = TempMail[0].querySelector("[type=email]").value; if (TempMail.length > 0) { if (checkMail(TempMail) == true) { FinalMail = TempMail; } } } /**@end*/ setTimeout(function () { enviarEmailCobertura(resumo, FinalMail); }, 0.99 * 1000); // } // return false; // } catch (err) { // alert(err); // alert( // "ERRO: Não foi possível tratar resposta do servidor para operação de pesquisa.\nPor favor, tente novamente." // ); // } // } // }; // let query = $("#cotacao").serialize(); // query += "&gestante=" + document.cotacao.gravidez.value; // //This is to send from EMAIL // xmlHttp.open("POST", "includes/cotacao3_ajax.php", true); // xmlHttp.setRequestHeader( // "Content-Type", // "application/x-www-form-urlencoded" // ); // xmlHttp.setRequestHeader( // "Cache-Control", // "no-store, no-cache, must-revalidate" // ); // xmlHttp.setRequestHeader("Cache-Control", "post-check=0, pre-check=0"); // xmlHttp.setRequestHeader("Pragma", "no-cache"); // xmlHttp.send(query); } function enviarEmailCobertura(t, e) { var a = "email=" + e; (a += "&partner=" + document.cotacao.parceiro.value), (a += "&html=" + t), (a += "&dias=" + document.cotacao.dias.value), (a += "&from=" + document.cotacao.from.value), (a += "&to=" + document.cotacao.to.value), (a += "&destino=" + document.cotacao.destino.value), (a += "&qtdViajantes=" + document.cotacao.qtdViajantes.value), (a += "&pessoas_ate70=" + document.cotacao.pessoas_ate70.value), (a += "&pessoas_mais70=" + document.cotacao.pessoas_mais70.value), (a += "&familia=S"), (a += "&gravidez=" + document.cotacao.gravidez.value), (a += "&motivo=" + document.cotacao.motivo.value), jQuery.ajax({ type: "post", dataType: "html", url: "includes/envia_cotacao_seguro_viagem_ajax.php", async: !0, data: a, success: function (t) { (void 0 === document.cotacao.email[1] || document.cotacao.email[1].value.length <= 0) && alert("Cotação enviada com sucesso"), $("#email, #btnCotacao").css("display", "block"), document .querySelectorAll("[id=enviandoEmail]") .forEach(function (t, e) { t.style.display = "none"; }), document .querySelectorAll("#email") .forEach(function (t, e) { t.value = ""; }); }, error: function (t) { $("#email, #btnCotacao").css("display", "block"), $("#enviandoEmail").css("display", "none"), alert("Erro ao enviar cotação"); }, }); } function configGestante() {} function cotarOutros() { var t = new Array(); (get_idades = "idades="), document.querySelectorAll(".divInput input[name*=idade]").length > 0 && document .querySelectorAll(".divInput input[name*=idade]") .forEach(function (e, a) { t.push(e.value); }), (get_idades += t.(",")); var e = new Array(), a = ""; document.cotacao.parceiro.value.length > 0 && ((a = "partner=" + document.cotacao.parceiro.value), e.push(a)), (a = "d=" + document.cotacao.destino.value), e.push(a), (a = "p=" + document.cotacao.from.value), e.push(a), (a = "r=" + document.cotacao.to.value), e.push(a), (a = "m=" + document.cotacao.motivo.value), e.push(a), (a = "qtdViajantes=" + document.cotacao.qtdViajantes.value), e.push(a), (a = "pessoas_ate70=" + document.cotacao.pessoas_ate70.value), e.push(a), (a = "pessoas_mais70=" + document.cotacao.pessoas_mais70.value), e.push(a), (a = "familia=S"), e.push(a), (a = "gravidez=" + document.cotacao.gravidez.value), e.push(a), (a = get_idades), e.push(a), (e = e.("&")); var o = link_site + "cotacao-seguro-viagem.php?" + e; window.location.replace(o); } function zeraCotacao() { (document.cotacao.totalOriginal.value = ""), (document.getElementById("valorTotal").value = ""), (document.getElementById("preco_boleto").value = ""), (document.getElementById("msgTotal").innerHTML = ""), (document.getElementById("msgComprar").style.display = "none"); } function FilterCotacao() { var t = new Array(), e = ""; return 0 == document.querySelectorAll("[name*=comparar]:checked").length ? (alert( "Por favor, selecione alguns planos antes de filtrar. Clique em COMPARAR de cada plano." ), !1) : (document .querySelectorAll("[name*=comparar]:checked") .forEach(function (e, a) { t[a] = e.value; }), (t = t.(",")), (e = window.location.href.split("#")[0] + "&planos=" + t), window.location.replace(e), !1); } function CopyCotacao() { var t = ""; if (document.querySelectorAll("[class*=itemCotacao]").length > 0) { document .querySelector("[id=cabecalhoCotacao]") .querySelectorAll("table tbody > tr") .forEach(function (e, a) { t += e.querySelector("td:first-child").innerHTML.trim() + " *" + e.querySelector("td:last-child b").innerHTML.trim() + "*\r\n"; }), (t += "\n\n"), document .querySelectorAll("[class*=itemCotacao]") .forEach(function (e) { if ( -1 != e.getAttribute("class").indexOf("PlanoEmDestaque") ) return !1; (t += "*" + e.querySelector("[class=tituloPlano]").innerHTML + "*\r\n"), e .querySelectorAll("[class=itensCoberturas] > div") .forEach(function (e, a) { 0 == a && (t += "Cobertura: " + e.querySelector( "[class=valorCobertura]" ).innerText + "\r\n"); }), "undefined" != typeof cupom && void 0 !== cupom.export ? e.querySelectorAll(".precoTotal.js-preco") .length > 0 && (t += "_" + e .querySelector(".precoTotal.js-preco") .innerHTML.replace(/<(?:.|\n)*?>/gm, "") .trim() + "_\r\n") : e.querySelectorAll("[class^=precoTotal]").length > 0 && (t += "_" + e .querySelector("[class^=precoTotal]") .innerHTML.replace(/<(?:.|\n)*?>/gm, "") + "_\r\n"), (t += "\r\n"); }); var e = document.createElement("textarea"); return ( document.body.appendChild(e), (e.innerHTML = t), e.select(), document.execCommand("copy"), document.body.removeChild(e), alert("Mensagem copiada com sucesso!"), !1 ); } } function CheckCoupon(f_this) { let self = f_this; let param = new Object(); let query = ""; let html_class = ""; let ActiveCupom = true; //check if input exist if (self.parentNode.querySelectorAll("[type=text]").length == 0) { return false; } //check if the value of input exist param.code = self.parentNode.querySelector("[type=text]").value; if (param.code.length == 0) { param.code = "Cupom de Desconto"; } //query to external query = "id_cupom=" + param.code; //activation Ajax Ajax("./modulos/php/", "mysql-cupom.php", query, "POST", function () { let data = new Object(); try { data = JSON.parse(this); } catch (e) { //Error to get the JSON format data.status = 0; data.message = "Erro na identificação do código."; } //apply information into HTML if (data.status == 1) { setTimeout(function () { ActiveCupom = false; }, 1000); //put request into param html, this is for protection POST avoid SESSION into COMPRA-SEGURO let TempTarget = document.querySelectorAll("[name=M]"); if (TempTarget.length > 0) { //this is import the standard cupom {vista, status} let TempCupom = cupom; //this is import the real data {external} TempCupom.export = data; TempTarget[0].value = JSON.stringify(TempCupom); document.cotacao.cupom_aplicado.value = data.status; } //Layout HTML if (self.parentNode.getAttribute("class").indexOf("active") == -1) { self.parentNode.classList.add("active"); self.parentNode.querySelector("button").innerText = "Cupom Aplicado"; } //send to external javascript if (typeof cupom != "undefined") { cupom.export = data; } //reload only cotation seguroViagem(true, true); } else if (data.status == 0) { //error, Layout HTML if (self.parentNode.getAttribute("class").indexOf("active") != -1) { self.parentNode.classList.remove("active"); self.parentNode.querySelector("button span").innerHTML = "Aplicar"; } } if (!ActiveCupom) { return false; } document.cotacao.cupom1.value = data.code; //Change HTML, This is standard for any REQUEST STATUS alert(data.message); }); } function InsertLead(f_this) { let self = f_this; let form = f_this.parentNode; if ( form.querySelector("[name=phone]").value.replace(/[^0-9]/g, "").length > 0 ) { if ( form.querySelector("[name=phone]").value.replace(/[^0-9]/g, "") .length < 10 ) { alert("Preencha o campo telefone corretamente."); form.querySelector("[name=phone]").focus(); return false; } } let email = ""; if (form.querySelector("[name=email]").value.length > 0) { email = form.querySelector("[name=email]").value; } form.querySelector("[type=submit]").style.display = "none"; let query = "email=" + email; query += "&phone=" + form.querySelector("[name=phone]").value; query += "&name=" + form.querySelector("[name=name]").value; query += "&url=" + encodeURIComponent(document.cotacao.url.value); Ajax("./modulos/php/", "new_lead.php", query, "GET", function () { if (email.length > 0) { document .querySelectorAll("#cabecalhoCotacao #email") .forEach(function (item) { item.value = email; }); cloneResult(); } form.querySelector("[type=submit]").style.display = "inline-block"; jQuery(f_this).closest(".modal").modal("hide"); return false; }); } function CheckFields1(t) { var e = "", a = !1; return ( (e = document.querySelectorAll("[name=from]")).length > 0 && e[0].value != decodeURIComponent(t.p) && (a = !0), (e = document.querySelectorAll("[name=to]")).length > 0 && e[0].value != decodeURIComponent(t.r) && (a = !0), !a || (alert("Favor pesquisar plano novamente!"), (document.querySelector("#planos-coberturas").style.display = "none"), !1) ); } function CheckFields(parameters) { let TempField = ""; let BlockPage = false; TempField = document.querySelectorAll("[name=from]"); if (TempField.length > 0) { if (TempField[0].value != parameters.p) { BlockPage = true; } } TempField = document.querySelectorAll("[name=to]"); if (TempField.length > 0) { if (TempField[0].value != parameters.r) { BlockPage = true; } } if (BlockPage) { alert("Favor pesquisar plano novamente!"); document.querySelector("#planos-coberturas").style.display = "none"; return false; } else { return true; } } var TempParameters = new Array(); function CheckFieldsDetalhes() { var t = arguments.length > 0 && void 0 !== arguments[0] && arguments[0], e = document.querySelectorAll("[id=cotacao]"), a = !1; if (0 == e.length) return !1; if (0 == TempParameters.length || 0 == t) { var o = 0; e[0].querySelectorAll("select, input").forEach(function (t) { "hidden" != t.getAttribute("type") && ((TempParameters[o] = new Object()), (TempParameters[o].name = t.getAttribute("name")), (TempParameters[o++].value = t.value)); }); } return ( !t || (e[0].querySelectorAll("select, input").forEach(function (t) { "hidden" != t.getAttribute("type") && ((-1 != t.getAttribute("name").indexOf("idade") && -1 != t.getAttribute("name").indexOf("qtdViajantes") && -1 != t.getAttribute("name").indexOf("destino") && -1 != t.getAttribute("name").indexOf("motivo")) || TempParameters.forEach(function (e) { if ( t.getAttribute("name") == e.name && t.value != e.value ) return (a = !0), !1; })); }), !a || (alert('Favor clicar em "FAZER COTAÇÃO" novamente.'), document.querySelectorAll("#msgComprar").length > 0 && (document.querySelectorAll("#msgComprar")[0].style.display = "none"), !1)) ); } function PopupRules_1() { var t = new Object(); if (0 == document.querySelectorAll("#ModalPopupLeaveOut_1").length) return !1; if ( 0 == document .querySelectorAll("#ModalPopupLeaveOut_1")[0] .querySelectorAll("[name=nome]").length ) return !1; if ( 0 == document .querySelectorAll("#ModalPopupLeaveOut_1")[0] .querySelectorAll("[name=nome]")[0].value.length ) return !1; if ( void 0 !== document .querySelectorAll("#ModalPopupLeaveOut_1")[0] .querySelectorAll("[name=nome]")[0] .getAttribute("placeholder") && document .querySelectorAll("#ModalPopupLeaveOut_1")[0] .querySelectorAll("[name=nome]")[0].value == document .querySelectorAll("#ModalPopupLeaveOut_1")[0] .querySelectorAll("[name=nome]")[0] .getAttribute("placeholder") ) return !1; if ( 0 == document .querySelectorAll("#ModalPopupLeaveOut_1")[0] .querySelectorAll("[name=email]").length ) return !1; if ( 0 == document .querySelectorAll("#ModalPopupLeaveOut_1")[0] .querySelectorAll("[name=email]")[0].value.length ) return !1; if ( void 0 !== document .querySelectorAll("#ModalPopupLeaveOut_1")[0] .querySelectorAll("[name=email]")[0] .getAttribute("placeholder") && document .querySelectorAll("#ModalPopupLeaveOut_1")[0] .querySelectorAll("[name=email]")[0].value == document .querySelectorAll("#ModalPopupLeaveOut_1")[0] .querySelectorAll("[name=email]")[0] .getAttribute("placeholder") ) return !1; (t.Partida = 0), (t.Retorno = 0), (t.id_plano = 0), (t.dias = 0), (t.motivo = 0), (t.destino = 0), (t.pessoas_ate70 = 0), (t.pessoas_mais70 = 0), (t.pagina = ""), document.querySelectorAll("#compra").length > 0 ? (document .querySelectorAll("#compra")[0] .querySelectorAll("[name=id_plano]").length > 0 && document .querySelectorAll("#compra")[0] .querySelectorAll("[name=id_plano]")[0].value.length > 0 && (t.id_plano = document .querySelectorAll("#compra")[0] .querySelectorAll("[name=id_plano]")[0].value), document .querySelectorAll("#compra")[0] .querySelectorAll("[name=dias]").length > 0 && document .querySelectorAll("#compra")[0] .querySelectorAll("[name=dias]")[0].value.length > 0 && (t.dias = document .querySelectorAll("#compra")[0] .querySelectorAll("[name=dias]")[0].value), document .querySelectorAll("#compra")[0] .querySelectorAll("[name=partida]").length > 0 && document .querySelectorAll("#compra")[0] .querySelectorAll("[name=partida]")[0].value.length > 0 && (t.Partida = document .querySelectorAll("#compra")[0] .querySelectorAll("[name=partida]")[0] .value.split("/")), document .querySelectorAll("#compra")[0] .querySelectorAll("[name=retorno]").length > 0 && document .querySelectorAll("#compra")[0] .querySelectorAll("[name=retorno]")[0].value.length > 0 && (t.Retorno = document .querySelectorAll("#compra")[0] .querySelectorAll("[name=retorno]")[0] .value.split("/")), document .querySelectorAll("#compra")[0] .querySelectorAll("[name=Others]").length > 0 && document .querySelectorAll("#compra")[0] .querySelectorAll("[name=Others]")[0].value.length > 0 && (t.Others = JSON.parse( document .querySelectorAll("#compra")[0] .querySelectorAll("[name=Others]")[0].value ))) : (document.querySelectorAll("[name=id_plano]").length > 0 && document.querySelectorAll("[name=id_plano]")[0].value.length > 0 && (t.id_plano = document.querySelectorAll("[name=id_plano]")[0].value), document.querySelectorAll("[name=dias]").length > 0 && document.querySelectorAll("[name=dias]")[0].value.length > 0 && (t.dias = document.querySelectorAll("[name=dias]")[0].value), document.querySelectorAll("[name=from]").length > 0 && document.querySelectorAll("[name=from]")[0].value.length > 0 && -1 != document .querySelectorAll("[name=to]")[0] .value.indexOf("/") && (t.Partida = document .querySelectorAll("[name=from]")[0] .value.split("/")), document.querySelectorAll("[name=to]").length > 0 && document.querySelectorAll("[name=to]")[0].value.length > 0 && -1 != document .querySelectorAll("[name=to]")[0] .value.indexOf("/") && (t.Retorno = document .querySelectorAll("[name=to]")[0] .value.split("/")), document.querySelectorAll("[name=motivo]").length > 0 && document.querySelectorAll("[name=motivo]")[0].value.length > 0 && (t.motivo = document.querySelectorAll("[name=motivo]")[0].value), document.querySelectorAll("[name=destino]").length > 0 && document.querySelectorAll("[name=destino]")[0].value.length > 0 && (t.destino = document.querySelectorAll("[name=destino]")[0].value), document.querySelectorAll("[name=pessoas_ate70]").length > 0 && document.querySelectorAll("[name=pessoas_ate70]")[0].value .length > 0 && (t.pessoas_ate70 = document.querySelectorAll( "[name=pessoas_ate70]" )[0].value), document.querySelectorAll("[name=pessoas_mais70]").length > 0 && document.querySelectorAll("[name=pessoas_mais70]")[0].value .length > 0 && (t.pessoas_mais70 = document.querySelectorAll( "[name=pessoas_mais70]" )[0].value), document.querySelectorAll("[name=pagina]").length > 0 && document.querySelectorAll("[name=pagina]")[0].value.length > 0 && (t.pagina = document.querySelectorAll("[name=pagina]")[0].value)), Array.isArray(t.Partida) && (t.Partida = t.Partida[2] + "-" + t.Partida[1] + "-" + t.Partida[0]), Array.isArray(t.Retorno) && (t.Retorno = t.Retorno[2] + "-" + t.Retorno[1] + "-" + t.Retorno[0]); var e = new Object(); return ( (e.nome = document .querySelectorAll("#ModalPopupLeaveOut_1")[0] .querySelectorAll("[name=nome]")[0].value), (e.telefone = document .querySelectorAll("#ModalPopupLeaveOut_1")[0] .querySelectorAll("[name=telefone]")[0].value != document .querySelectorAll("#ModalPopupLeaveOut_1")[0] .querySelectorAll("[name=telefone]")[0] .getAttribute("placeholder") ? document .querySelectorAll("#ModalPopupLeaveOut_1")[0] .querySelectorAll("[name=telefone]")[0].value : ""), (e.email = document .querySelectorAll("#ModalPopupLeaveOut_1")[0] .querySelectorAll("[name=email]")[0].value), (e.partida = t.Partida), (e.retorno = t.Retorno), (e.id_plano = t.id_plano), (e.dias = t.dias), void 0 !== t.Others ? (e = Object.assign(e, t.Others)) : ((e.id_plano = t.id_plano), (e.dias = t.dias), (e.motivo = t.motivo), (e.destino = t.destino), (e.pessoas_ate70 = t.pessoas_ate70), (e.pessoas_mais70 = t.pessoas_mais70), (e.pagina = t.pagina)), (e = JSON.stringify(e)), console.log("line 3633 ", e), Ajax( "./modulos/php/", "funopup_1.php", "data=" + e, "POST", function () { console.log(JSON.stringify(this)); var t = ""; try { t = JSON.parse(this); } catch (t) { console.log("erro pra salvar"), jQuery("#ModalPopupLeaveOut_1").modal("toggle"); } return ( 1 === t && jQuery("#ModalPopupLeaveOut_1").modal("toggle"), !1 ); } ), !1 ); } ("use strict"); function _typeof(t) { return (_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t; } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t; })(t); } !(function (t, a, e) { "function" == typeof define && define.amd ? define(["jquery"], t) : "object" == ("undefined" == typeof exports ? "undefined" : _typeof(exports)) && "undefined" == typeof Meteor ? (module.exports = t(require("jquery"))) : t(a || e); })( function (t) { var a = function (a, e, n) { var s = { invalid: [], getCaret: function () { try { var t, e = 0, n = a.get(0), r = document.selection, o = n.selectionStart; return ( r && -1 === navigator.appVersion.indexOf("MSIE 10") ? ((t = r.createRange()).moveStart( "character", -s.val().length ), (e = t.text.length)) : (o || "0" === o) && (e = o), e ); } catch (t) {} }, setCaret: function (t) { try { if (a.is(":focus")) { var e, n = a.get(0); n.setSelectionRange ? n.setSelectionRange(t, t) : ((e = n.createTextRange()).collapse(!0), e.moveEnd("character", t), e.moveStart("character", t), e.select()); } } catch (t) {} }, events: function () { a.on("keydown.mask", function (t) { a.data("mask-keycode", t.keyCode || t.which), a.data("mask-previus-value", a.val()), a.data("mask-previus-caret-pos", s.getCaret()), (s.maskDigitPosMapOld = s.maskDigitPosMap); }) .on( t.jMaskGlobals.useInput ? "input.mask" : "keyup.mask", s.behaviour ) .on("paste.mask drop.mask", function () { setTimeout(function () { a.keydown().keyup(); }, 100); }) .on("change.mask", function () { a.data("changed", !0); }) .on("blur.mask", function () { i === s.val() || a.data("changed") || a.trigger("change"), a.data("changed", !1); }) .on("blur.mask", function () { i = s.val(); }) .on("focus.mask", function (a) { !0 === n.selectOnFocus && t(a.target).select(); }) .on("focusout.mask", function () { n.clearIfNotMatch && !r.test(s.val()) && s.val(""); }); }, getRegexMask: function () { for (var t, a, n, s, r, i, l = [], c = 0; c < e.length; c++) (t = o.translation[e.charAt(c)]) ? ((a = t.pattern .toString() .replace(/.{1}$|^.{1}/g, "")), (n = t.optional), (s = t.recursive) ? (l.push(e.charAt(c)), (r = { digit: e.charAt(c), pattern: a, })) : l.push(n || s ? a + "?" : a)) : l.push( e .charAt(c) .replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&") ); return ( (i = l.("")), r && (i = i .replace( new RegExp( "(" + r.digit + "(.*" + r.digit + ")?)" ), "($1)?" ) .replace(new RegExp(r.digit, "g"), r.pattern)), new RegExp(i) ); }, destroyEvents: function () { a.off( [ "input", "keydown", "keyup", "paste", "drop", "blur", "focusout", "", ].(".mask ") ); }, val: function (t) { var e, n = a.is("input") ? "val" : "text"; return ( arguments.length > 0 ? (a[n]() !== t && a[n](t), (e = a)) : (e = a[n]()), e ); }, calculateCaretPosition: function () { var t = a.data("mask-previus-value") || "", e = s.getMasked(), n = s.getCaret(); if (t !== e) { var r = a.data("mask-previus-caret-pos") || 0, o = e.length, i = t.length, l = 0, c = 0, u = 0, f = 0, p = 0; for (p = n; p < o && s.maskDigitPosMap[p]; p++) c++; for (p = n - 1; p >= 0 && s.maskDigitPosMap[p]; p--) l++; for (p = n - 1; p >= 0; p--) s.maskDigitPosMap[p] && u++; for (p = r - 1; p >= 0; p--) s.maskDigitPosMapOld[p] && f++; if (n > i) n = 10 * o; else if (r >= n && r !== i) { if (!s.maskDigitPosMapOld[n]) { var k = n; (n -= f - u), (n -= l), s.maskDigitPosMap[n] && (n = k); } } else n > r && ((n += u - f), (n += c)); } return n; }, behaviour: function (e) { (e = e || window.event), (s.invalid = []); var n = a.data("mask-keycode"); if (-1 === t.inArray(n, o.byKeys)) { var r = s.getMasked(), i = s.getCaret(); return ( setTimeout(function () { s.setCaret(s.calculateCaretPosition()); }, t.jMaskGlobals.keyStrokeCompensation), s.val(r), s.setCaret(i), s.callbacks(e) ); } }, getMasked: function (t, a) { var r, i, l, c = [], u = void 0 === a ? s.val() : a + "", f = 0, p = e.length, k = 0, d = u.length, v = 1, h = "push", m = -1, g = 0, y = []; for ( n.reverse ? ((h = "unshift"), (v = -1), (r = 0), (f = p - 1), (k = d - 1), (i = function () { return f > -1 && k > -1; })) : ((r = p - 1), (i = function () { return f < p && k < d; })); i(); ) { var M = e.charAt(f), b = u.charAt(k), w = o.translation[M]; w ? (b.match(w.pattern) ? (c[h](b), w.recursive && (-1 === m ? (m = f) : f === r && f !== m && (f = m - v), r === m && (f -= v)), (f += v)) : b === l ? (g--, (l = void 0)) : w.optional ? ((f += v), (k -= v)) : w.fallback ? (c[h](w.fallback), (f += v), (k -= v)) : s.invalid.push({ p: k, v: b, e: w.pattern, }), (k += v)) : (t || c[h](M), b === M ? (y.push(k), (k += v)) : ((l = M), y.push(k + g), g++), (f += v)); } var C = e.charAt(r); p !== d + 1 || o.translation[C] || c.push(C); var j = c.(""); return s.mapMaskdigitPositions(j, y, d), j; }, mapMaskdigitPositions: function (t, a, e) { var r = n.reverse ? t.length - e : 0; s.maskDigitPosMap = {}; for (var o = 0; o < a.length; o++) s.maskDigitPosMap[a[o] + r] = 1; }, callbacks: function (t) { var r = s.val(), o = r !== i, l = [r, t, a, n], c = function (t, a, e) { "function" == typeof n[t] && a && n[t].apply(this, e); }; c("onChange", !0 === o, l), c("onKeyPress", !0 === o, l), c("onComplete", r.length === e.length, l), c("onInvalid", s.invalid.length > 0, [ r, t, a, s.invalid, n, ]); }, }; a = t(a); var r, o = this, i = s.val(); (e = "function" == typeof e ? e(s.val(), void 0, a, n) : e), (o.mask = e), (o.options = n), (o.remove = function () { var t = s.getCaret(); return ( o.options.placeholder && a.removeAttr("placeholder"), a.data("mask-maxlength") && a.removeAttr("maxlength"), s.destroyEvents(), s.val(o.getCleanVal()), s.setCaret(t), a ); }), (o.getCleanVal = function () { return s.getMasked(!0); }), (o.getMaskedVal = function (t) { return s.getMasked(!1, t); }), (o.init = function (i) { if ( ((i = i || !1), (n = n || {}), (o.clearIfNotMatch = t.jMaskGlobals.clearIfNotMatch), (o.byKeys = t.jMaskGlobals.byKeys), (o.translation = t.extend( {}, t.jMaskGlobals.translation, n.translation )), (o = t.extend(!0, {}, o, n)), (r = s.getRegexMask()), i) ) s.events(), s.val(s.getMasked()); else { n.placeholder && a.attr("placeholder", n.placeholder), a.data("mask") && a.attr("autocomplete", "off"); for (var l = 0, c = !0; l < e.length; l++) { var u = o.translation[e.charAt(l)]; if (u && u.recursive) { c = !1; break; } } c && a .attr("maxlength", e.length) .data("mask-maxlength", !0), s.destroyEvents(), s.events(); var f = s.getCaret(); s.val(s.getMasked()), s.setCaret(f); } }), o.init(!a.is("input")); }; t.maskWatchers = {}; var e = function () { var e = t(this), s = {}, r = e.attr("data-mask"); if ( (e.attr("data-mask-reverse") && (s.reverse = !0), e.attr("data-mask-clearifnotmatch") && (s.clearIfNotMatch = !0), "true" === e.attr("data-mask-selectonfocus") && (s.selectOnFocus = !0), n(e, r, s)) ) return e.data("mask", new a(this, r, s)); }, n = function (a, e, n) { n = n || {}; var s = t(a).data("mask"), r = JSON.stringify, o = t(a).val() || t(a).text(); try { return ( "function" == typeof e && (e = e(o)), "object" != _typeof(s) || r(s.options) !== r(n) || s.mask !== e ); } catch (t) {} }; (t.fn.mask = function (e, s) { s = s || {}; var r = this.selector, o = t.jMaskGlobals, i = o.watchInterval, l = s.watchInputs || o.watchInputs, c = function () { if (n(this, e, s)) return t(this).data("mask", new a(this, e, s)); }; return ( t(this).each(c), r && "" !== r && l && (clearInterval(t.maskWatchers[r]), (t.maskWatchers[r] = setInterval(function () { t(document).find(r).each(c); }, i))), this ); }), (t.fn.masked = function (t) { return this.data("mask").getMaskedVal(t); }), (t.fn.unmask = function () { return ( clearInterval(t.maskWatchers[this.selector]), delete t.maskWatchers[this.selector], this.each(function () { var a = t(this).data("mask"); a && a.remove().removeData("mask"); }) ); }), (t.fn.cleanVal = function () { return this.data("mask").getCleanVal(); }), (t.applyDataMask = function (a) { ((a = a || t.jMaskGlobals.maskElements) instanceof t ? a : t(a)) .filter(t.jMaskGlobals.dataMaskAttr) .each(e); }); var s, r, o, i = { maskElements: "input,td,span,div", dataMaskAttr: "*[data-mask]", dataMask: !0, watchInterval: 300, watchInputs: !0, keyStrokeCompensation: 10, useInput: !/Chrome\/[2-4][0-9]|SamsungBrowser/.test( window.navigator.Agent ) && ((s = "input"), (o = document.createElement("div")), (r = (s = "on" + s) in o) || (o.setAttribute(s, "return;"), (r = "function" == typeof o[s])), (o = null), r), watchDataMask: !1, byKeys: [9, 16, 17, 18, 36, 37, 38, 39, 40, 91], translation: { 0: { pattern: /\d/, }, 9: { pattern: /\d/, optional: !0, }, "#": { pattern: /\d/, recursive: !0, }, A: { pattern: /[a-zA-Z0-9]/, }, S: { pattern: /[a-zA-Z]/, }, }, }; (t.jMaskGlobals = t.jMaskGlobals || {}), (i = t.jMaskGlobals = t.extend(!0, {}, i, t.jMaskGlobals)) .dataMask && t.applyDataMask(), setInterval(function () { t.jMaskGlobals.watchDataMask && t.applyDataMask(); }, i.watchInterval); }, window.jQuery, window.Zepto ); function eventFiltroCovid() { let filtroCOVID = document.getElementById("filtroCOVID"); const texto = document .getElementsByClassName("Filter")[0] .querySelector("a font"); filtroCOVID.dispatchEvent(new Event("change")); if (filtroCOVID.checked == true) { filtroCOVID.checked = false; texto.innerHTML = 'COVID: Clique para ver planos com COVID'; } else { filtroCOVID.checked = true; texto.innerHTML = 'COVID: Clique para ver planos sem COVID'; } setTimeout(() => { document.getElementById("planos-coberturas").scrollIntoView({ behavior: "smooth", block: "start", }); }, 0); } function getCoberturaCovid(nome_plano, cobertura_medica, id_seguradora) { const nomePlanoSplit = nome_plano.split(" "); let coberturaCovid = 0; cobertura_medica = cobertura_medica .replace(/ate |até |Ate |Até /g, "") .split(" "); let prefix = cobertura_medica[0]; let valor = ""; if (id_seguradora != 11) { const valor_str = nomePlanoSplit[nomePlanoSplit.length - 1]; valor = valor_str.replace(/[.]/g, ""); valor = parseInt(valor, 10).toLocaleString("pt-br", { minimumFractionDigits: 2, }); coberturaCovid = `${prefix} ${valor}`; } else { valor = "30.000,00"; coberturaCovid = `${prefix} ${valor}`; } return coberturaCovid; } function openModalVideo(linkVideo, nomePlano) { setTimeout(() => { const tituloVideoDetalhes = (document.getElementById( "titulo-video-detalhes" ).innerHTML = nomePlano); const modalBody = document.getElementById("modal-body-detalhes"); const iframeVideoDetalhesElement = document.createElement("iframe"); iframeVideoDetalhesElement.setAttribute("id", "iframeDetalhes"); iframeVideoDetalhesElement.setAttribute("src", linkVideo); iframeVideoDetalhesElement.width = "100%"; iframeVideoDetalhesElement.height = "650"; modalBody.appendChild(iframeVideoDetalhesElement); $("#modalVideoDetalhes").modal(); $("#modalVideoDetalhes").on("hidden.bs.modal", () => { iframeVideoDetalhesElement.remove(); }); }, 100); } function detectMob() { const toMatch = [ /Android/i, /webOS/i, /iPhone/i, /iPad/i, /iPod/i, /BlackBerry/i, /Windows Phone/i, ]; return toMatch.some((toMatchItem) => { return navigator.Agent.match(toMatchItem); }); } function gravaLog(message, level, file, line, data = {}) { const url = "./modulos/php/gravaLog.php"; const params = { message: message, level: level, file: file, line: line, data: data, }; const config = { method: "POST", headers: { "Content-Type": "application/json", }, body: JSON.stringify(params), }; fetch(url, config) .then((response) => { if (!response.ok) { throw new Error("Erro na requisição"); } }) .catch((error) => { // Captura e trata erros durante o processo console.error("Erro:", error); }); } function queryToObject(query) { const parametros = {}; // Remove o ponto de interrogação no início da string da query, se presente const partes = query.substring(1).split('&'); for (const parte of partes) { const [chave, valor] = parte.split('='); // Decodifica a URI para tratar casos como %20 para espaços parametros[chave] = decodeURIComponent(valor.replace(/\+/g, ' ')); } return parametros; }

Seguro Viagem Internacional

Informe os dados para cotar seu Seguro Viagem :)

Idades:
*Compre online e receba sua apólice digital por e-mail e WhatsApp.
*O seguro não será válido se contratado para quem já está fora do Brasil.
Power Assist Seguro Viagem

POWER ASSIST SEGURO VIAGEM

Após 20 anos de atuação no mercado brasileiro nosso objetivo é atender as várias demandas de viagens pelo Brasil e para o exterior nos vários nichos de mercado, oferecendo sempre o seguro viagem adequado com serviços da mais alta confiabilidade, garantia e segurança.

Nossa Política de Sustentabilidade

Nossa empresa especializada no segmento de assistência para viagens, tem como missão garantir a seus clientes o melhor atendimento em qualquer parte do planeta, focada na qualidade dos serviços e na confiabilidade do relacionamento e no atendimento a legislação.

Sua política de sustentabilidade está baseada em três pilares:

  • Social: buscar o desenvolvimento e capacitação de todos os profissionais ligados diretamente a seu negócio e na transparência nos relacionamentos com foco na valorização do ser humano;
  • Econômico: buscar a melhoria contínua da qualidade dos serviços prestados e a simplicidade dos processos;
  • Ambiental: buscar a otimização dos recursos materiais e naturais com o objetivo de aumentar nossa eficiência operacional e diminuir os impactos sociais e ambientais.

Power Assist: Dados Legais

Razão Social: POWER ASSIST BRASIL LTDA
CNPJ: 16.638.214/0001-28
Endereço: São Paulo
Avenida Ipiranga, nº 324 – Edifício Vila Normanda – Bloco B – Conjunto 502,
CEP 01046-922 - República
Condições Gerais: Condições Gerais Power Assist

Seguradora: IZA Seguradora S.A. - CNPJ: 40.004.544/0001-46
Processo SUSEP: 15414.644857/2024-27




Como contatar a Power Assist

(Válido exclusivamente para quem já contratou o seguro)

Entrar em contato com a Power Assist é simples. Para isso, é só seguir o o a o a seguir:

Ligue à cobrar do exterior: +1 855 7090848

Ligue do Brasil: 0800 8783233

Whatsapp: +1 863 204-5029

E-mail: [email protected]


Observações:

1) Consulte também o voucher do seu seguro viagem para mais meios de contato com a seguradora.

2) Procure fazer ligações a partir de telefones fixos, mesmo que públicos.

3) Se tiver dificuldades para fazer a ligação internacional consulte instruções no site da Embratel.

Conheça abaixo os planos de seguro viagem Power Assist


Plano Cobertura Médica
(doença ou acidente)
Validade Geográfica + Coberturas / Cotação
Power Assist Power 20 Latam US$ 20.000,00 América Latina Ver detalhes e cotação
Power Assist Power 30 Mundo US$ 30.000,00 América do Norte Ver detalhes e cotação
Power Assist Power 35 Europa US$ 35.000,00 Europa e/ou Schengen Ver detalhes e cotação
Power Assist Power 35 Europa Senior US$ 35.000,00 Europa e/ou Schengen Ver detalhes e cotação
Power Assist Power 36 Latam US$ 36.000,00 América Latina Ver detalhes e cotação
Power Assist Power 36 Latam Senior US$ 36.000,00 América Latina Ver detalhes e cotação
Power Assist Power 60 Mundo US$ 60.000,00 América do Norte Ver detalhes e cotação
Power Assist Power 60 Europa US$ 60.000,00 Europa e/ou Schengen Ver detalhes e cotação
Power Assist Power 60 Latam US$ 60.000,00 América Latina Ver detalhes e cotação
Power Assist Power 60 Mundo Senior US$ 60.000,00 América do Norte Ver detalhes e cotação
Power Assist Power 60 Europa Senior US$ 60.000,00 Europa e/ou Schengen Ver detalhes e cotação
Power Assist Power 60 Latam Senior US$ 60.000,00 América Latina Ver detalhes e cotação
Power Assist Power 100 Mundo US$ 100.000,00 América do Norte Ver detalhes e cotação
Power Assist Power 100 Europa US$ 100.000,00 Europa e/ou Schengen Ver detalhes e cotação
Power Assist Power 100 Latam US$ 100.000,00 América Latina Ver detalhes e cotação
COMPARAR

O Assistente de Viagem utiliza cookies para garantir que você obtenha a melhor experiência. Ao navegar no site, você concorda com a nossa Política de Privacidade.