!function(){if(!window.__tmWebkitMessageHandlersShim){window.__tmWebkitMessageHandlersShim=!0;var e=r(window,"webkit");if(e&&"object"==typeof e||(e={},n(window,"webkit",e))){var t=r(e,"messageHandlers");if((t&&"object"==typeof t||n(e,"messageHandlers",t={}))&&!t.__tmWebkitProxy&&"function"==typeof Proxy)try{n(e,"messageHandlers",new Proxy(t,{get:function(e,t){if("__tmWebkitProxy"===t)return!0;if(Object.prototype.hasOwnProperty.call(e,t))return e[t];if("symbol"==typeof t)return e[t];var r={postMessage:function(){}};return e[t]=r,r}}))}catch(r){n(e,"messageHandlers",t)}}}function r(e,t){try{if(null==e||"object"!=typeof e&&"function"!=typeof e)return;return e[t]}catch(e){return}}function n(e,t,r){try{return e[t]=r,!0}catch(e){return!1}}}();
!function(){if(!window.__tmWebkitMessageHandlersShim){window.__tmWebkitMessageHandlersShim=!0;var e=t(window,"webkit");if(e&&"object"==typeof e||(e={},o(window,"webkit",e))){var n=t(e,"messageHandlers");if((n&&"object"==typeof n||o(e,"messageHandlers",n={}))&&!n.__tmWebkitProxy&&"function"==typeof Proxy)try{o(e,"messageHandlers",new Proxy(n,{get:function(e,n){if("__tmWebkitProxy"===n)return!0;if(Object.prototype.hasOwnProperty.call(e,n))return e[n];if("symbol"==typeof n)return e[n];var t={postMessage:function(){}};return e[n]=t,t}}))}catch(t){o(e,"messageHandlers",n)}}}function t(e,n){try{if(null==e||"object"!=typeof e&&"function"!=typeof e)return;return e[n]}catch(e){return}}function o(e,n,t){try{return e[n]=t,!0}catch(e){return!1}}}(),function(){function e(e){return!!(e&&e.fn&&e.fn.jquery&&"tm-stub"!==e.fn.jquery&&"function"==typeof e.fn.val)}function n(){var n=window.__tmJQueryRef;if(e(n))return n;var t=window.jQuery;return e(t)?(window.__tmJQueryRef=t,t):null}function t(e,n){return!n||e.fn&&"function"==typeof e.fn[n]}function o(n,t){t(function(){e(t)&&"function"==typeof n&&n(t)})}function r(){var n=document.body;n&&(e(window.jQuery)?n.removeAttribute("data-bs-no-jquery"):n.hasAttribute("data-bs-no-jquery")||n.setAttribute("data-bs-no-jquery",""))}if(window.tmResolveJQuery=n,window.tmEnsureGlobalJQuery=function(){var t=n();return t?(e(window.jQuery)||(window.jQuery=t,window.$=t),r(),t):null},window.tmRefreshJQueryPin=function(){e(window.jQuery)&&(window.__tmJQueryRef=window.jQuery,r())},window.tmHasRealJQuery=function(){return!!n()},window.tmUpdateBootstrapJQueryBridge=r,window.tmWhenJQueryReady||(window.tmWhenJQueryReady=function(e,t){var r="number"==typeof t?t:200,i=0;!function t(){var a=n();a?o(e,a):i>=r||(i+=1,setTimeout(t,25))}()}),window.tmWhenJQueryPluginReady||(window.tmWhenJQueryPluginReady=function(e,r,i){var a="number"==typeof i?i:200,u=0,d="string"==typeof r?r:"";!function r(){var i=n();i&&t(i,d)?o(function(n){t(n,d)?"function"==typeof e&&e(n):u<a&&(u+=1,setTimeout(r,25))},i):u>=a||(u+=1,setTimeout(r,25))}()}),!window.__tmJQueryReadyGuard){window.__tmJQueryReadyGuard=!0,window.__tmPendingJQueryReady=window.__tmPendingJQueryReady||[];var i=window.__tmPendingJQueryReady;function a(e){if("function"==typeof e){var t=n();t?t(e):i.push(e)}}function u(e){if("function"==typeof e)return a(e),u;var n=[];if("string"==typeof e)try{n=Array.prototype.slice.call(document.querySelectorAll(e))}catch(e){n=[]}else e&&1===e.nodeType&&(n=[e]);return{length:n.length,ready:function(e){return a(e),this},trigger:function(e,t){return function(e,t){var o=u.Event(e,t);return n.forEach(function(e){e&&"function"==typeof e.dispatchEvent&&e.dispatchEvent(o)}),u}(e,t)},on:function(){return this},off:function(){return this}}}window.tmGetHiddenInputInt=function(e,n){var t=parseInt(n,10);isFinite(t)||(t=0);var o=document.getElementById(e);if(!o||"string"!=typeof o.value||""===o.value)return t;var r=parseInt(o.value,10);return isFinite(r)?r:t},u.ready=a,u.fn={jquery:"tm-stub"},u.Event=function(e,n){var t;if("function"==typeof window.Event)try{t=new window.Event(e,{bubbles:!0,cancelable:!0})}catch(n){(t=document.createEvent("Event")).initEvent(e,!0,!0)}else document.createEvent?(t=document.createEvent("Event")).initEvent(e,!0,!0):t={type:e};return n&&"object"==typeof n&&Object.keys(n).forEach(function(e){t[e]=n[e]}),t},window.tmQueueJQueryReady=a,e(window.jQuery)&&(window.__tmJQueryRef=window.jQuery),window.tmWhenJQueryReady(function(){!function(){var e=n();if(e&&i.length)for(;i.length;){var t=i.shift();try{e(t)}catch(e){}}}(),r()}),window.tmWhenBodyReady(function(){r()})}if(window.tmWhenBodyReady=function(e){"function"==typeof e&&(document.getElementsByTagName("body")[0]?e():document.addEventListener("DOMContentLoaded",e,{once:!0}))},"function"!=typeof window.closeFullScreen&&(window.closeFullScreen=function(){try{var e=document;if(e.fullscreenElement||e.webkitFullscreenElement||e.msFullscreenElement){var n=e.exitFullscreen||e.webkitExitFullscreen||e.msExitFullscreen;if(n){var t=n.call(e);t&&"function"==typeof t.catch&&t.catch(function(){})}}var o=e.getElementById("tm-video-fullscreen-overlay");o&&o.remove();var r=e.getElementById("modal-massagens");r&&(r.style.display="none");var i=e.getElementById("modal-beneficios");i&&(i.style.display="none"),e.querySelectorAll(".modal-overlay, .modal-overlay-massagens").forEach(function(e){e.style.display="none"}),"function"==typeof window.fecharModalBeneficios&&window.fecharModalBeneficios(),"function"==typeof window.fecharModalCidadesInclude&&window.fecharModalCidadesInclude();var a=e.getElementById("modal-18-plus");a&&"none"!==a.style.display&&null!==a.offsetParent||(e.body.style.overflow="",e.body.classList.remove("age-locked"))}catch(e){}}),function(){if(!window.__tmTurnstileFailureGuard){window.__tmTurnstileFailureGuard=!0;if(window.tmTurnstileIsKnownFailure=function(n){var t=e(n);return!!t&&(-1!==t.indexOf("turnstile")||-1!==t.indexOf("challenges.cloudflare")||-1!==t.indexOf("cloudflare.com/turnstile")||(-1!==t.indexOf("unreachable")||-1!==t.indexOf("did not contain")||-1!==t.indexOf("turnstile widget seem to have hung")||-1!==t.indexOf("hung")&&-1!==t.indexOf("widget")||(!(-1===t.indexOf("success")&&-1===t.indexOf("data")||-1===t.indexOf("undefined")&&-1===t.indexOf("null")&&-1===t.indexOf("is not an object")&&-1===t.indexOf("cannot read propert")&&-1===t.indexOf("can't find variable")&&-1===t.indexOf("reading"))||(-1!==t.indexOf("failed to fetch")||-1!==t.indexOf("networkerror")||-1!==t.indexOf("network request failed")||-1!==t.indexOf("load failed")||-1!==t.indexOf("err_blocked")||-1!==t.indexOf("blocked by client")||-1!==t.indexOf("blocked"))&&(-1!==t.indexOf("cloudflare")||-1!==t.indexOf("turnstile")||-1!==t.indexOf("captcha")||-1!==t.indexOf("challenges")))))},window.tmIsKnownBenignRejection=function(n){if(window.tmTurnstileIsKnownFailure(n))return!0;var t=e(n);return!!t&&(-1!==t.indexOf("the string did not match the expected pattern")||!(!n||"object"!=typeof n||12!==n.code)&&(-1!==t.indexOf("syntax")||-1!==t.indexOf("expected pattern")))},window.tmTurnstileNotifyUser=function(e,n){e=e||"Não foi possível carregar a verificação de segurança. Desative bloqueadores de anúncios ou rastreadores e recarregue a página.";var t=n||document.querySelector("[data-tm-turnstile-status]")||document.getElementById("tm-captcha-status")||document.querySelector(".cf-turnstile-wrap")||document.querySelector(".cf-turnstile");if(t){var o=t.parentNode||t;if(!o.querySelector(".tm-turnstile-notice")){var r=document.createElement("div");r.className="tm-turnstile-notice",r.setAttribute("role","alert"),r.textContent=e,r.style.cssText="margin-top:8px;padding:10px 12px;border-radius:8px;background:#fff3f3;color:#8b0038;font-size:14px;line-height:1.4;",o.appendChild(r)}}},window.tmTurnstileErrorCallback=function(){window.tmTurnstileNotifyUser()},window.tmTurnstileTimeoutCallback=function(){window.tmTurnstileNotifyUser("A verificação de segurança demorou demais. Desative bloqueadores de anúncios ou recarregue a página.")},t(document),window.tmWhenBodyReady(function(){t(document)}),"function"==typeof MutationObserver&&document.documentElement)new MutationObserver(function(e){e.forEach(function(e){e.addedNodes.forEach(function(e){e&&1===e.nodeType&&(e.matches&&(e.matches(".cf-turnstile")||e.matches(".cf-turnstile-wrap"))&&n(e),t(e))})})}).observe(document.documentElement,{childList:!0,subtree:!0});window.addEventListener("unhandledrejection",function(e){window.tmIsKnownBenignRejection&&window.tmIsKnownBenignRejection(e.reason)&&(e.preventDefault(),window.tmTurnstileIsKnownFailure&&window.tmTurnstileIsKnownFailure(e.reason)&&window.tmTurnstileNotifyUser())}),window.addEventListener("error",function(e){var n=e&&e.target,t=n&&(n.src||n.href);t&&-1!==String(t).indexOf("challenges.cloudflare.com/turnstile")&&window.tmTurnstileNotifyUser()},!0)}function e(e){var n=[];return e&&"object"==typeof e?(e.message&&n.push(String(e.message)),e.name&&n.push(String(e.name)),void 0!==e.code&&null!==e.code&&n.push(String(e.code)),e.stack&&n.push(String(e.stack))):null!=e&&n.push(String(e)),n.join(" ").toLowerCase()}function n(e){e&&1===e.nodeType&&(e.getAttribute("data-error-callback")||e.setAttribute("data-error-callback","tmTurnstileErrorCallback"),e.getAttribute("data-timeout-callback")||e.setAttribute("data-timeout-callback","tmTurnstileTimeoutCallback"))}function t(e){(e&&e.querySelectorAll?e:document).querySelectorAll(".cf-turnstile, .cf-turnstile-wrap").forEach(n)}}(),!document.getElementsByTagName("body")[0])try{Object.defineProperty(document,"body",{get:function(){return document.getElementsByTagName("body")[0]||document.documentElement},configurable:!0})}catch(d){}}(),function(){function e(e){return e&&"function"==typeof e.getItem?e:null}window.__tmSharedGuardsInit||(window.__tmSharedGuardsInit=!0,window.tmGetLocalStorage=function(){try{return e(window.localStorage)}catch(e){return null}},window.tmGetSessionStorage=function(){try{return e(window.sessionStorage)}catch(e){return null}},window.tmStorageGet=function(e,n){var t="session"===n?window.tmGetSessionStorage():window.tmGetLocalStorage();if(!t)return null;try{return t.getItem(e)}catch(e){return null}},window.tmStorageSet=function(e,n,t){var o="session"===t?window.tmGetSessionStorage():window.tmGetLocalStorage();if(!o)return!1;try{return o.setItem(e,n),!0}catch(e){return!1}},window.tmStorageRemove=function(e,n){var t="session"===n?window.tmGetSessionStorage():window.tmGetLocalStorage();if(!t||"function"!=typeof t.removeItem)return!1;try{return t.removeItem(e),!0}catch(e){return!1}},window.tmPararMapaLeaflet=function(e){if(e)try{"function"==typeof e.closePopup&&e.closePopup();var n=e.dragging;if(n){var t=n._draggable;t&&(t._moving||t._moved)&&"function"==typeof t.finishDrag&&t.finishDrag(!0)}"function"==typeof e.stop&&e.stop(),e._panAnim&&e._panAnim._inProgress&&"function"==typeof e._panAnim.stop&&e._panAnim.stop();var o=e._mapPane;o&&o.classList&&o.classList.remove("leaflet-pan-anim")}catch(e){}},window.tmLeafletMapOptions={fadeAnimation:!1,zoomAnimation:!1,inertia:!1})}();