https://www.plus500.com/es-es/

已提交的 URL:
https://www.plus500.com/已重新導向
報告完成時間:

連結 · 找到 15 個

連結Text
https://investors.plus500.com/Relaciones de inversor
https://cdn-main.plus500.com/Regulatory/CySec/default/default/CFD/1728208808/PrivacyPolicy.pdfPolítica de privacidad
https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&page=loginIniciar sesión
https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=TrueNegocie
https://app.plus500.com/trade?cty=ES&hl=es&innerTags=_cc_&product=Invest&IsRealMode=True&ms=TrueEmpieza a invertir
https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&IsRealMode=True&ms=TrueTrading apalancado en acciones, materias primas, índices, divisas, criptomonedas y más82% de clientes minoristas pierden dinero.
https://app.plus500.com/trade?cty=ES&hl=es&innerTags=_cc_&product=Invest&ms=True¡Compre las acciones más populares con un corredor líder en la industria, sin cargos por depósito o retiro!Tu capital está en riesgo* La disponibilidad está sujeta al operador.
https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&IsRealMode=False&ms=TrueIniciar sesión ahora
https://cdn-main.plus500.com/Regulatory/CySec/default/default/CFD/1728209473/RiskDisclouserNotice.pdfNota informativa sobre riesgos
https://www.facebook.com/Plus500Facebook

JavaScript 變數 · 找到 118 個

名稱類型
0object
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
codeobject
_vwo_codeobject
_vwo_settings_timernumber
deleteCookiefunction
disableGoogleAnalyticsfunction
analyticsParametersobject

主控台記錄訊息 · 找到 0 條

HTML

<!DOCTYPE html><html class="no-js" lang="es" style="--viewh: 600px; --rwh: 100px;"><head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="referrer" content="unsafe-url">
    <meta name="google-site-verification" id="MetaWebMasterVerify" content="_BKCt60JDbUv1dQdr9-kaJrA5D_4s7gLqAS7d8OpKsw">
    <title>Trading de CFD en línea | Negociar en los Mercados | Plus500</title>
        <meta name="description" content="Trading de los mercados más populares del mundo: CFD en Forex, Criptomonedas, Acciones, Materias primas, Índices, ETF y Opciones.">

        <meta name="keywords" content="Plus500, Plus 500, +500, fórex, CFDs, CFD, trading de Bitcoin, trading de criptomonedas, trading en línea, trading en Fórex, trading de Petróleo, trading de Oro, trading de índices, trading de acciones, trading de materias primas, plataforma de trading, comercio del día de Criptomonedas, negociar acciones, negociar en fórex, negociar títulos, negociar materias primas, negociar participaciones, negociar CFD, negociar divisas, negociar valores.">

        <link rel="canonical" href="https://www.plus500.com/es-es/">
    <link rel="shortcut icon" type="image/x-icon" href="/es-es/favicon.ico">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">

    <link rel="preconnect" href="https://www.google-analytics.com" crossorigin="">
    <link rel="dns-prefetch" href="https://www.google-analytics.com">
    <link rel="preconnect" href="https://stats.g.doubleclick.net">

            <link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500&amp;display=swap" as="style" rel="stylesheet" onload="this.rel='stylesheet'; this.onload=null;" crossorigin="">
            <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&amp;display=swap" as="style" rel="stylesheet" onload="this.rel='stylesheet'; this.onload=null;" crossorigin="">
    
    <link rel="preload" as="image" href="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/img/hero-slider-cfd-mobile.webp">

    
    <link rel="stylesheet" href="https://cdn-main.plus500.com/1.0.0.120605/Resources/CSS/home.css">



    
    
    <!-- Start VWO Async SmartCode -->
    <link rel="preconnect" href="https://dev.visualwebsiteoptimizer.com">
    <script type="text/javascript" async="" src="https://www.googletagmanager.com/gtag/destination?id=DC-8307440&amp;l=dataLayer&amp;cx=c"></script><script type="text/javascript" async="" src="https://www.googletagmanager.com/gtag/js?id=G-X6GLD6K91S&amp;l=dataLayer&amp;cx=c"></script><script data-ot-ignore="" async="" src="https://www.googletagmanager.com/gtm.js?id=GTM-RQS5"></script><script type="text/javascript" id="vwoCode">
        window._vwo_code || (function () {
            var account_id = 697204,
                version = 2.1,
                settings_tolerance = 2000,
                hide_element = 'body',
                hide_element_style = 'opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important',
                /* DO NOT EDIT BELOW THIS LINE */
                f = false, w = window, d = document, v = d.querySelector('#vwoCode'), cK = '_vwo_' + account_id + '_settings', cc = {}; try { var c = JSON.parse(localStorage.getItem('_vwo_' + account_id + '_config')); cc = c && typeof c === 'object' ? c : {} } catch (e) { } var stT = cc.stT === 'session' ? w.sessionStorage : w.localStorage; code = { use_existing_jquery: function () { return typeof use_existing_jquery !== 'undefined' ? use_existing_jquery : undefined }, library_tolerance: function () { return typeof library_tolerance !== 'undefined' ? library_tolerance : undefined }, settings_tolerance: function () { return cc.sT || settings_tolerance }, hide_element_style: function () { return '{' + (cc.hES || hide_element_style) + '}' }, hide_element: function () { if (performance.getEntriesByName('first-contentful-paint')[0]) { return '' } return typeof cc.hE === 'string' ? cc.hE : hide_element }, getVersion: function () { return version }, finish: function (e) { if (!f) { f = true; var t = d.getElementById('_vis_opt_path_hides'); if (t) t.parentNode.removeChild(t); if (e) (new Image).src = 'https://dev.visualwebsiteoptimizer.com/ee.gif?a=' + account_id + e } }, finished: function () { return f }, addScript: function (e) { var t = d.createElement('script'); t.type = 'text/javascript'; if (e.src) { t.src = e.src } else { t.text = e.text } d.getElementsByTagName('head')[0].appendChild(t) }, load: function (e, t) { var i = this.getSettings(), n = d.createElement('script'), r = this; t = t || {}; if (i) { n.textContent = i; d.getElementsByTagName('head')[0].appendChild(n); if (!w.VWO || VWO.caE) { stT.removeItem(cK); r.load(e) } } else { var o = new XMLHttpRequest; o.open('GET', e, true); o.withCredentials = !t.dSC; o.responseType = t.responseType || 'text'; o.onload = function () { if (t.onloadCb) { return t.onloadCb(o, e) } if (o.status === 200) { _vwo_code.addScript({ text: o.responseText }) } else { _vwo_code.finish('&e=loading_failure:' + e) } }; o.onerror = function () { if (t.onerrorCb) { return t.onerrorCb(e) } _vwo_code.finish('&e=loading_failure:' + e) }; o.send() } }, getSettings: function () { try { var e = stT.getItem(cK); if (!e) { return } e = JSON.parse(e); if (Date.now() > e.e) { stT.removeItem(cK); return } return e.s } catch (e) { return } }, init: function () { if (d.URL.indexOf('__vwo_disable__') > -1) return; var e = this.settings_tolerance(); w._vwo_settings_timer = setTimeout(function () { _vwo_code.finish(); stT.removeItem(cK) }, e); var t; if (this.hide_element() !== 'body') { t = d.createElement('style'); var i = this.hide_element(), n = i ? i + this.hide_element_style() : '', r = d.getElementsByTagName('head')[0]; t.setAttribute('id', '_vis_opt_path_hides'); v && t.setAttribute('nonce', v.nonce); t.setAttribute('type', 'text/css'); if (t.styleSheet) t.styleSheet.cssText = n; else t.appendChild(d.createTextNode(n)); r.appendChild(t) } else { t = d.getElementsByTagName('head')[0]; var n = d.createElement('div'); n.style.cssText = 'z-index: 2147483647 !important;position: fixed !important;left: 0 !important;top: 0 !important;width: 100% !important;height: 100% !important;background: white !important;'; n.setAttribute('id', '_vis_opt_path_hides'); n.classList.add('_vis_hide_layer'); t.parentNode.insertBefore(n, t.nextSibling) } var o = 'https://dev.visualwebsiteoptimizer.com/j.php?a=' + account_id + '&u=' + encodeURIComponent(d.URL) + '&vn=' + version; if (w.location.search.indexOf('_vwo_xhr') !== -1) { this.addScript({ src: o }) } else { this.load(o + '&x=true') } } }; w._vwo_code = code; code.init();
        })();
    </script>
    <!-- End VWO Async SmartCode -->
    
    <script>
        function deleteCookie(name, domain, path){
            document.cookie = name + "=;expires=Thu, 01 Jan 1970 00:00:00 GMT; path=" + path +"; domain=" + domain;
        }
        function disableGoogleAnalytics(disable){
            window['ga-disable-UA-7008980-19'] = disable;
            if(disable){
                var cookiesDomain = "localhost";
                if (window.location.host.lastIndexOf("localhost", 0) !== 0){
                    cookiesDomain = "." + window.location.host.split(".").slice(1).join(".");
                }
                deleteCookie("_ga", cookiesDomain, '/')
                deleteCookie("_gid", cookiesDomain, '/')
                deleteCookie("_gat_UA-7008980-19", cookiesDomain, '/')
            }
        }
        if (window.localStorage["Disable3rdPartyAnalytics"] === "true"){
            disableGoogleAnalytics(true)
        }
    </script>
        <script>
            window.dataLayer = window.dataLayer || [];
            //TODO: remove this block when using GA4 only
            window.dataLayer.push(
                {
                    'customPagePath': '/', //TODO: remove when using GA4 only
                    'urlCountry': 'ES', //TODO: remove when using GA4 only
                    'language': 'es', //TODO: remove when using GA4 only
                    'IsInAppView': 'false' //TODO: remove when using GA4 only
                }
            );
            var analyticsParameters = {};
                
                        analyticsParameters['userCountry']='ES'
                
                
                        analyticsParameters['mainSiteSubdomain']='Main'
                
                
                        analyticsParameters['pageType']='Home'
                
                
                        analyticsParameters['experimentName_0']='IdHomeViewExp'
                
                
                        analyticsParameters['experimentVariant_0']='undefined'
                
                
                        analyticsParameters['experimentName_1']='ExternalCmp'
                
                
                        analyticsParameters['experimentVariant_1']='undefined'
                
                
                        analyticsParameters['pageLanguage']='es'
                
                
                        analyticsParameters['operator']='Plus500CY'
                
                
                        analyticsParameters['productType']='CFD'
                
            window.dataLayer.push({
                'event': 'pageMetaData',
                 ...analyticsParameters
            });
        </script>
        <!-- Google Tag Manager -->
        <script>
            (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
            new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
            j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.setAttributeNode(d.createAttribute('data-ot-ignore'));j.async=true;j.src=
            'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
            })(window,document,'script','dataLayer','GTM-RQS5');
        </script>
        <!-- End Google Tag Manager -->
    <script>
        let loadedJS = [];
        function loadJS(url, element, callback, async = true) {
            if (loadedJS.indexOf(url) > -1) {
                if (callback !== undefined) {
                    callback();
                }
                return;
            }
            const script = document.createElement("script");
            script.async = async;
            script.src = url;
            element.appendChild(script);

            script.addEventListener("load", function () {
                loadedJS.push(url);
                if (callback !== undefined) {
                    callback();
                }
            });
        }
    </script>

<link rel="alternate" href="https://www.plus500.com/cs/" hreflang="cs-CZ">
<link rel="alternate" href="https://www.plus500.com/en-cz/" hreflang="en-CZ">
<link rel="alternate" href="https://www.plus500.com/nl/" hreflang="nl-NL">
<link rel="alternate" href="https://www.plus500.com/en-nl/" hreflang="en-NL">
<link rel="alternate" href="https://www.plus500.com/en-au/" hreflang="en-AU">
<link rel="alternate" href="https://www.plus500.com/ar/" hreflang="ar">
<link rel="alternate" href="https://www.plus500.com/zh/" hreflang="zh">
<link rel="alternate" href="https://www.plus500.com/bg/" hreflang="bg-BG">
<link rel="alternate" href="https://www.plus500.com/en-bg/" hreflang="en-BG">
<link rel="alternate" href="https://www.plus500.com/da/" hreflang="da-DK">
<link rel="alternate" href="https://www.plus500.com/en-dk/" hreflang="en-DK">
<link rel="alternate" href="https://www.plus500.com/de-at/" hreflang="de-AT">
<link rel="alternate" href="https://www.plus500.com/en-at/" hreflang="en-AT">
<link rel="alternate" href="https://www.plus500.com/de-li/" hreflang="de-LI">
<link rel="alternate" href="https://www.plus500.com/en-li/" hreflang="en-LI">
<link rel="alternate" href="https://www.plus500.com/de/" hreflang="de-DE">
<link rel="alternate" href="https://www.plus500.com/en-de/" hreflang="en-DE">
<link rel="alternate" href="https://www.plus500.com/el-cy/" hreflang="el-CY">
<link rel="alternate" href="https://www.plus500.com/en-cy/" hreflang="en-CY">
<link rel="alternate" href="https://www.plus500.com/el-gr/" hreflang="el-GR">
<link rel="alternate" href="https://www.plus500.com/en-gr/" hreflang="en-GR">
<link rel="alternate" href="https://www.plus500.com/en/" hreflang="en-GB">
<link rel="alternate" href="https://www.plus500.com/en-ie/" hreflang="en-IE">
<link rel="alternate" href="https://www.plus500.com/en-nz/" hreflang="en-NZ">
<link rel="alternate" href="https://www.plus500.com/en-sz/" hreflang="en-SZ">
<link rel="alternate" href="https://www.plus500.com/en-za/" hreflang="en-ZA">
<link rel="alternate" href="https://www.plus500.com/es-es/" hreflang="es-ES">
<link rel="alternate" href="https://www.plus500.com/en-es/" hreflang="en-ES">
<link rel="alternate" href="https://www.plus500.com/et/" hreflang="et-EE">
<link rel="alternate" href="https://www.plus500.com/en-ee/" hreflang="en-EE">
<link rel="alternate" href="https://www.plus500.com/fi/" hreflang="fi-FI">
<link rel="alternate" href="https://www.plus500.com/en-fi/" hreflang="en-FI">
<link rel="alternate" href="https://www.plus500.com/fr-gf/" hreflang="fr-GF">
<link rel="alternate" href="https://www.plus500.com/fr-gp/" hreflang="fr-GP">
<link rel="alternate" href="https://www.plus500.com/fr-lu/" hreflang="fr-LU">
<link rel="alternate" href="https://www.plus500.com/fr-mq/" hreflang="fr-MQ">
<link rel="alternate" href="https://www.plus500.com/fr-re/" hreflang="fr-RE">
<link rel="alternate" href="https://www.plus500.com/en-fr/" hreflang="en-FR">
<link rel="alternate" href="https://www.plus500.com/fr/" hreflang="fr-FR">
<link rel="alternate" href="https://www.plus500.com/he/" hreflang="he-IL">
<link rel="alternate" href="https://www.plus500.com/en-il/" hreflang="en-IL">
<link rel="alternate" href="https://www.plus500.com/hr/" hreflang="hr-HR">
<link rel="alternate" href="https://www.plus500.com/en-hr/" hreflang="en-HR">
<link rel="alternate" href="https://www.plus500.com/is/" hreflang="is-">
<link rel="alternate" href="https://www.plus500.com/en-is/" hreflang="en-IS">
<link rel="alternate" href="https://www.plus500.com/it/" hreflang="it-IT">
<link rel="alternate" href="https://www.plus500.com/en-it/" hreflang="en-IT">
<link rel="alternate" href="https://www.plus500.com/lt/" hreflang="lt-LT">
<link rel="alternate" href="https://www.plus500.com/lv/" hreflang="lv-LV">
<link rel="alternate" href="https://www.plus500.com/no/" hreflang="no-NO">
<link rel="alternate" href="https://www.plus500.com/pl/" hreflang="pl-PL">
<link rel="alternate" href="https://www.plus500.com/en-pl/" hreflang="en-PL">
<link rel="alternate" href="https://www.plus500.com/pt/" hreflang="pt-PT">
<link rel="alternate" href="https://www.plus500.com/ro/" hreflang="ro-RO">
<link rel="alternate" href="https://www.plus500.com/sk/" hreflang="sk-SK">
<link rel="alternate" href="https://www.plus500.com/sl/" hreflang="sl-SI">
<link rel="alternate" href="https://www.plus500.com/sv/" hreflang="sv-SE">
<link rel="alternate" href="https://www.plus500.com/es/" hreflang="es">
<link rel="alternate" href="https://www.plus500.com/en-sg/" hreflang="en-SG">
<link rel="alternate" href="https://www.plus500.com/hu/" hreflang="hu-HU">
<link rel="alternate" href="https://www.plus500.com/en-ae/" hreflang="en-AE">
<link rel="alternate" href="https://www.plus500.com/en-qa/" hreflang="en-QA">
<link rel="alternate" href="https://www.plus500.com/en-bh/" hreflang="en-BH">
<link rel="alternate" href="https://www.plus500.com/de-ch/" hreflang="de-CH">
<link rel="alternate" href="https://jp.plus500.com/" hreflang="ja">
    
    

    <!-- Add default OpenGraph image tag -->
<meta property="og:image:secure_url" content="https://cdn.plus500.com/Media/website-instruments-thumbnails/plus500-logo.png">
<meta property="og:image" content="https://cdn.plus500.com/Media/website-instruments-thumbnails/plus500-logo.png">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="400">
<meta property="og:image:height" content="400">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="https://cdn.plus500.com/Media/website-instruments-thumbnails/plus500-logo.png">
<meta name="twitter:image:src" content="https://cdn.plus500.com/Media/website-instruments-thumbnails/plus500-logo.png">
<script type="text/javascript">(function(){function _vwo_err(e){var vwo_e="https://dev.visualwebsiteoptimizer.com/ee.gif?a=697204&s=j.php&_cu="+encodeURIComponent(window.location.href)+"&e="+encodeURIComponent(e&&e.message&&e.message.substring(0,1e3)+"&vn=")+(e&&e.code?"&code="+e.code:"")+(e&&e.type?"&type="+e.type:"")+(e&&e.status?"&status="+e.status:"");typeof navigator.sendBeacon==="function"?navigator.sendBeacon(vwo_e):(new Image).src=vwo_e}try{window._VWO_Jphp_StartTime = (window.performance && typeof window.performance.now === 'function' ? window.performance.now() : new Date().getTime());;(function(){window._VWO=window._VWO||{};var aC=window._vwo_code;if(typeof aC==='undefined'){window._vwo_mt='dupCode';return;}if(window._VWO.sCL){window._vwo_mt='dupCode';window._VWO.sCDD=true;try{if(aC){clearTimeout(window._vwo_settings_timer);var h=document.querySelectorAll('#_vis_opt_path_hides');var x=h[h.length>1?1:0];x&&x.remove();}}catch(e){}return;}window._VWO.sCL=true;;window._vwo_mt="live";var localPreviewObject={};var previewKey="_vis_preview_"+697204;var wL=window.location;try{localPreviewObject[previewKey]=window.localStorage.getItem(previewKey);JSON.parse(localPreviewObject[previewKey])}catch(e){localPreviewObject[previewKey]=""}try{window._vwo_tm="";var getMode=function(e){var n;if(window.name.indexOf(e)>-1){n=window.name}else{n=wL.search.match("_vwo_m=([^&]*)");n=n&&n[1]}return n&&JSON.parse(decodeURIComponent(n))};var ccMode=getMode("_vwo_cc");if(window.name.indexOf("_vis_heatmap")>-1||window.name.indexOf("_vis_editor")>-1||ccMode||window.name.indexOf("_vis_preview")>-1){try{if(window.name&&JSON.parse(window.name)){window._vwo_mt=window.name}else if(ccMode){window._vwo_mt=decodeURIComponent(wL.search.match("_vwo_m=([^&]*)")[1])}}catch(e){if(window._vwo_tm)window._vwo_mt=window._vwo_tm}}else if(window._vwo_tm.length){window._vwo_mt=window._vwo_tm}else if(location.href.indexOf("_vis_opt_preview_combination")!==-1&&location.href.indexOf("_vis_test_id")!==-1){window._vwo_mt="sharedPreview"}else if(localPreviewObject[previewKey]){window._vwo_mt=JSON.stringify(localPreviewObject)}if(window._vwo_mt!=="live"){if(!getMode("_vwo_cc")){_vwo_code.load('https://dev.visualwebsiteoptimizer.com/j.php?mode=' + encodeURIComponent(window._vwo_mt) + '&a=697204&f=1&u=' + encodeURIComponent(window._vis_opt_url||document.URL)+'&eventArch=true'+'&x=true');}else{(function(){window._vwo_code&&window._vwo_code.finish();_vwo_ccc={u:"/j.php?a=697204&u=https%3A%2F%2Fwww.plus500.com%2Fes-es%2F&vn=2.1&x=true"};var s=document.createElement("script");s.src="https://app.vwo.com/visitor-behavior-analysis/dist/codechecker/cc.min.js?r="+Math.random();document.head.appendChild(s)})()}}}catch(e){var vwo_e=new Image;vwo_e.src="https://dev.visualwebsiteoptimizer.com/ee.gif?s=mode_det&e="+encodeURIComponent(e&&e.stack&&e.stack.substring(0,1e3)+"&vn=");aC&&window._vwo_code.finish()}})();
;;window._vwo_cookieDomain="plus500.com";;;if(window._vwo_mt==="live"){window.VWO=window.VWO||[];window._vwo_acc_id=697204;if(window._vwo_acc_id===744263){_vwo_err({message:"Jphp loaded on variation",referrer:document.referrer})};window.VWO.visUuid="DDC3805664941FA8C86284911BD1F6AD3|f6b0b1c411b6410d8d7bcfe624c75f26";
;_vwo_code.sT=_vwo_code.finished();(function(c,a,e,d,b,z,g){if(window.VWO._&&window.VWO._.isBot)return;function f(a,b,d){e.cookie=a+"="+b+"; expires="+new Date(864e5*d+ +new Date).toGMTString()+"; domain="+g+"; path=/"}-1==e.cookie.indexOf("_vis_opt_out")&&-1==d.location.href.indexOf("vwo_opt_out=1")&&(a=e.cookie.replace(/(?:(?:^|.*;\s*)_vwo_uuid_v2\s*=\s*([^;]*).*$)|^.*$/,"$1")||a,a=a.split("|"),b=new Image,c=d.location.hostname.replace(/^www\./,"")||c,g=window._vis_opt_domain||c||d.location.hostname.replace(/^www\./,""),b.src="https://dev.visualwebsiteoptimizer.com/v.gif?cd="+(window._vis_opt_cookieDays||0)+"&a=697204&d="+encodeURIComponent(c)+"&u="+a[0]+"&h="+a[1]+"&t="+z,d.vwo_iehack_queue=[b],f("_vwo_uuid_v2",a.join("|"),366))})("plus500.com",window.VWO.visUuid,document,window,0,_vwo_code.sT);
;clearTimeout(window._vwo_settings_timer);if(window._vwo_acc_id===750455){window._vwo_settings_timer=null};;;var vwoCode=window._vwo_code;if(vwoCode.filterConfig&&vwoCode.filterConfig.filterTime==="balanced"){vwoCode.removeLoaderAndOverlay()}var vwo_CIF=false;var UAP=false;;var _vwo_style=document.getElementById('_vis_opt_path_hides'),_vwo_css=(vwoCode.hide_element_style?vwoCode.hide_element_style():'{opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;transition:none !important;}')+':root {--vwo-el-opacity:0 !important;--vwo-el-filter:alpha(opacity=0) !important;--vwo-el-bg:none !important;--vwo-el-ts:none !important;}',_vwo_text="" + _vwo_css ; var checkText = window._vwo_acc_id === 744263 ? _vwo_text !== "body" && !_vwo_text.includes("body,") : true; if (_vwo_style && checkText) { var e = _vwo_style.classList.contains("_vis_hide_layer") && _vwo_style; if (UAP && !UAP() && vwo_CIF && !vwo_CIF()) { e ? e.parentNode.removeChild(e) : _vwo_style.parentNode.removeChild(_vwo_style) } else { if (e) { var t = _vwo_style = document.createElement("style"), o = document.getElementsByTagName("head")[0], s = document.querySelector("#vwoCode"); t.setAttribute("id", "_vis_opt_path_hides"), s && t.setAttribute("nonce", s.nonce), t.setAttribute("type", "text/css"), o.appendChild(t) } if (_vwo_style.styleSheet) _vwo_style.styleSheet.cssText = _vwo_text; else { var l = document.createTextNode(_vwo_text); _vwo_style.appendChild(l) } e ? e.parentNode.removeChild(e) : _vwo_style.removeChild(_vwo_style.childNodes[0])}};((function(){var push_api=[{"api":"modifyClickPauseTime","arg":{"time":"0"}}];for(var i of push_api){window.VWO.push([i.api,i.arg])}}))();VWO._=VWO._||{};window._vwo_clicks=false;VWO._.allSettings=(function(){return{dataStore:{campaigns:{},plugins:{"IP":"104.28.154.61","PIICONFIG":false,"UA":{"os":"Windows","de":"Other","ps":"desktop:false:Windows:10:Chrome:119:Other","br":"Chrome","dt":"desktop"},"GEO":{"cEU":"1","c":"Chamartin","r":"MD","cn":"Spain","vn":"geoip2","conC":"EU","cc":"ES"},"DACDNCONFIG":{"SPA":true,"AST":false,"FB":false,"BSECJ":false,"CINSTJS":false,"CKLV":false,"CRECJS":false,"eNC":false,"IAF":false,"SPAR":false,"SST":false,"PRTHD":false,"jsConfig":{"earc":1,"ast":0},"UCP":false,"DT":{"DEVICE":"mobile","TC":"function(){ return _vwo_t.cm('eO','js',VWO._.dtc.ctId); };","SEGMENTCODE":"function(){ return _vwo_s().f_e(_vwo_s().dt(),'mobile') };","DELAYAFTERTRIGGER":1000},"DONT_IOS":false,"CJ":false,"RDBG":false,"DNDOFST":1000,"SD":false,"SCC":"{\"cache\":0}","CSHS":false},"LIBINFO":{"WORKER":{"HASH":"70faafffa0475802f5ee03ca5ff74179br"},"OPA":{"PATH":"\/4.0","HASH":"50eef0a750e4e7bca8b3cfe3ecf53299br"},"TRACK":{"HASH":"4ef6cfea160b35c6d33fa6584de68830br","LIB_SUFFIX":""},"SURVEY":{"HASH":"bf9bb4ff8e602137a6cdc3f1036d9953"}}},vwoData:{"gC":null},crossDomain:{},integrations:{},events:{"vwo_survey_complete":{},"vwo_revenue":{},"vwo_leaveIntent":{},"vwo_timer":{"nS":["timeSpent"]},"vwo_selection":{},"vwo_copy":{},"vwo_quickBack":{},"vwo_pageRefreshed":{},"vwo_cursorThrashed":{},"vwo_recommendation_block_shown":{},"vwo_errorOnPage":{},"vwo_surveyExtraData":{},"vwo_surveyQuestionAttempted":{},"vwo_surveyDisplayed":{},"vwo_pageUnload":{},"vwo_variationShown":{},"vwo_orientationChanged":{},"vwo_mouseout":{},"vwo_appComesInForeground":{},"vwo_appGoesInBackground":{},"vwo_appLaunched":{},"vwo_networkChanged":{},"vwo_autoCapture":{},"vwo_zoom":{},"vwo_longPress":{},"vwo_scroll":{},"vwo_doubleTap":{},"vwo_singleTap":{},"vwo_surveyQuestionDisplayed":{},"vwo_appCrashed":{},"vwo_rC":{},"vwo_surveyClosed":{},"vwo_survey_submit":{},"vwo_survey_reachedThankyou":{},"vwo_survey_questionShown":{},"vwo_survey_questionAttempted":{},"vwo_survey_display":{},"vwo_survey_close":{},"vwo_sessionSync":{},"vwo_customConversion":{},"vwo_screenViewed":{},"vwo_customTrigger":{},"vwo_dom_scroll":{"nS":["bottom","pxTop","pxBottom","top"]},"vwo_conversion":{},"register_event":{},"vwo_surveyAttempted":{},"vwo_surveyCompleted":{},"vwo_appTerminated":{},"vwo_page_session_count":{},"vwo_surveyQuestionSubmitted":{},"vwo_vA":{},"vwo_appNotResponding":{},"vwo_syncVisitorProp":{},"vwo_survey_surveyCompleted":{},"vwo_survey_attempt":{},"vwo_analyzeForm":{},"vwo_analyzeHeatmap":{},"vwo_analyzeRecording":{},"vwo_trackGoalVisited":{},"vwo_newSessionCreated":{},"vwo_dom_submit":{},"vwo_pageView":{},"vwo_dom_click":{"nS":["target","target.innerText"]},"vwo_fling":{},"vwo_goalVisit":{"nS":["expId"]}},visitorProps:{},uuid:"DDC3805664941FA8C86284911BD1F6AD3",syV:{},syE:{},cSE:{},CIF:false,syncEvent:"sessionCreated",syncAttr:"sessionCreated"},triggers:{"75":{"cnds":[{"id":99,"event":"vwo_urlChange"}]},"5":{"cnds":[{"id":101,"event":"vwo_postInit"}]},"8":{"cnds":[{"id":102,"event":"vwo_pageView"}]},"9":{"cnds":[{"id":105,"event":"vwo_groupCampTriggered"}]},"2":{"cnds":[{"id":100,"event":"vwo_variationShown"}]}},tags:{},rules:[{"tags":[{"id":"urlChange"}],"triggers":["75"]},{"tags":[{"id":"checkEnvironment"}],"triggers":["5"]},{"tags":[{"priority":2,"id":"groupCampaigns"},{"priority":3,"id":"prePostMutation"}],"triggers":["8"]},{"tags":[{"priority":2,"id":"visibilityService"}],"triggers":["9"]},{"tags":[{"id":"runTestCampaign"}],"triggers":["2"]}],pages:{"ec":[{"1564764":{"inc":["o",["url","urlReg","(?i).*"]]}}]},pagesEval:{"ec":[1564764]}}})();
;;var commonWrapper=function(argument){if(!argument){argument={valuesGetter:function(){return{}},valuesSetter:function(){},verifyData:function(){return{}}}}var pollInterval=100;var timeout=6e4;return function(){var accountIntegrationSettings={};var _interval=null;function waitForAnalyticsVariables(){try{accountIntegrationSettings=argument.valuesGetter()}catch(error){accountIntegrationSettings=undefined}if(accountIntegrationSettings&&argument.verifyData(accountIntegrationSettings)){argument.valuesSetter(accountIntegrationSettings);return 1}return 0}var currentTime=0;_interval=setInterval((function(){currentTime=currentTime||performance.now();var result=waitForAnalyticsVariables();if(result||performance.now()-currentTime>=timeout){clearInterval(_interval)}}),pollInterval)}};
        commonWrapper({valuesGetter:function(){return {"ga4s":0}},valuesSetter:function(data){var singleCall=data["ga4s"]||0;if(singleCall){window.sessionStorage.setItem("vwo-ga4-singlecall",true)}var ga4_device_id="";if(typeof window.VWO._.cookies!=="undefined"){ga4_device_id=window.VWO._.cookies.get("_ga")||""}if(ga4_device_id){window.vwo_ga4_uuid=ga4_device_id.split(".").slice(-2).join(".")}},verifyData:function(data){if(typeof window.VWO._.cookies!=="undefined"){return window.VWO._.cookies.get("_ga")||""}else{return false}}})();
        var pushBasedCommonWrapper=function(argument){var firedCamp={};if(!argument){argument={integrationName:"",getExperimentList:function(){},accountSettings:function(){},pushData:function(){}}}return function(){window.VWO=window.VWO||[];var sendDebugLogs=function(expId,variationId,isTimeout,user_type){try{var errorPayload={f:argument["integrationName"]||"",a:window._vwo_acc_id,url:window.location.href,exp:expId,v:variationId,vwo_uuid:VWO._&&VWO._.cookies&&VWO._.cookies.get("_vwo_uuid"),user_type:user_type};if(isTimeout){errorPayload["timeout"]=true}if(window.VWO._.customError){window.VWO._.customError({msg:"integration debug",url:window.location.href,lineno:"",colno:"",source:JSON.stringify(errorPayload)})}}catch(e){var vwo_error=""}};const callbackFn=function(data){if(!data)return;var expId=data[1],variationId=data[2],repeated=data[0],singleCall=0,debug=0;var experimentList=argument.getExperimentList();var integrationName=argument["integrationName"]||"vwo";if(typeof argument.accountSettings==="function"){var accountSettings=argument.accountSettings();if(accountSettings){singleCall=accountSettings["singleCall"];debug=accountSettings["debug"]}}if(singleCall&&repeated==="vS"||firedCamp[expId]){return}window.expList=window.expList||{};var expList=window.expList[integrationName]=window.expList[integrationName]||[];if(expList.indexOf(expId)!==-1){return}if(expId&&variationId&&["VISUAL_AB","VISUAL","SPLIT_URL"].indexOf(_vwo_exp[expId].type)>-1){if(experimentList.indexOf(+expId)!==-1){firedCamp[expId]=variationId;var pollInterval=100;var currentTime=0;var timeout=6e4;var user_type=_vwo_exp[expId].exec?"vwo-retry":"vwo-new";var interval=setInterval((function(){currentTime=currentTime||performance.now();var toClearInterval=argument.pushData(expId,variationId);if(debug&&toClearInterval){sendDebugLogs(expId,variationId,false,user_type)}var isTimeout=performance.now()-currentTime>=timeout;if(isTimeout&&debug){sendDebugLogs(expId,variationId,true,user_type)}if(toClearInterval||isTimeout){clearInterval(interval)}if(toClearInterval){window.expList[integrationName].push(expId)}}),pollInterval||100)}}};window.VWO.push(["onVariationApplied",callbackFn]);window.VWO.push(["onVariationShownSent",callbackFn])}};
    var surveyDataCommonWrapper=function(argument){if(!argument){argument={getCampaignList:function(){return[]},surveyStatusChange:function(){},answerSubmitted:function(){}}}return function(){window.VWO=window.VWO||[];function getValuesFromAnswers(answers){var values=[];for(var i=0;i<answers.length;i++){values.push(answers[i].value)}return values}function commonSurveyCallback(data,callback,surveyStatus){if(!data)return;var surveyId=data.surveyId;var campaignList=argument.getCampaignList();if(surveyId&&campaignList.indexOf(+surveyId)!==-1){var pollInterval=100;var currentTime=0;var timeout=6e4;var surveyData={accountId:data.accountId,surveyId:data.surveyId,uuid:data.uuid};if(surveyStatus==="surveySubmitted"){surveyData=Object.assign(surveyData,{questionType:data.questionType,questionText:data.questionText,answers:data.answers,answersValue:getValuesFromAnswers(data.answers),skipped:data.skipped})}var interval=setInterval((function(){currentTime=currentTime||performance.now();var toClearInterval=callback(surveyId,surveyStatus,surveyData);var isTimeout=performance.now()-currentTime>=timeout;if(toClearInterval||isTimeout){clearInterval(interval)}}),pollInterval)}}window.VWO.push(["onSurveyShown",function(data){commonSurveyCallback(data,argument.surveyStatusChange,"surveyShown")}]);window.VWO.push(["onSurveyCompleted",function(data){commonSurveyCallback(data,argument.surveyStatusChange,"surveyCompleted")}]);window.VWO.push(["onSurveyAnswerSubmitted",function(data){commonSurveyCallback(data,argument.answerSubmitted,"surveySubmitted")}])}};
    (function(){var VWOOmniTemp={};window.VWOOmni=window.VWOOmni||{};for(var key in VWOOmniTemp)Object.prototype.hasOwnProperty.call(VWOOmniTemp,key)&&(window.VWOOmni[key]=VWOOmniTemp[key]);pushBasedCommonWrapper({integrationName:"GA4",getExperimentList:function(){return [144]},accountSettings:function(){var accountIntegrationSettings={};if(accountIntegrationSettings["debugType"]=="ga4"&&accountIntegrationSettings["debug"]){accountIntegrationSettings["debug"]=1}else{accountIntegrationSettings["debug"]=0}return accountIntegrationSettings},pushData:function(expId,variationId){var accountIntegrationSettings={};var ga4Setup=accountIntegrationSettings["setupVia"]||"gtag";if(typeof window.gtag!=="undefined"&&ga4Setup=="gtag"){window.gtag("event","VWO",{vwo_campaign_name:window._vwo_exp[expId].name+":"+expId,vwo_variation_name:window._vwo_exp[expId].comb_n[variationId]+":"+variationId});window.gtag("event","experience_impression",{exp_variant_string:"VWO-"+expId+"-"+variationId});return true}return false}})();pushBasedCommonWrapper({integrationName:"GA4-GTM",getExperimentList:function(){return [144]},accountSettings:function(){var accountIntegrationSettings={};if(accountIntegrationSettings["debugType"]=="gtm"&&accountIntegrationSettings["debug"]){accountIntegrationSettings["debug"]=1}else{accountIntegrationSettings["debug"]=0}return accountIntegrationSettings},pushData:function(expId,variationId){var accountIntegrationSettings={};var ga4Setup=accountIntegrationSettings["setupVia"]||"gtm";var dataVariable=accountIntegrationSettings["dataVariable"]||"dataLayer";if(typeof window[dataVariable]!=="undefined"&&ga4Setup=="gtm"){window[dataVariable].push({event:"vwo-data-push-ga4",vwo_exp_variant_string:"VWO-"+expId+"-"+variationId});return true}return false}})();
            ;})();(function(){window.VWO=window.VWO||[];var pollInterval=100;var _vis_data={};var intervalObj={};var analyticsTimerObj={};var experimentListObj={};window.VWO.push(["onVariationApplied",function(data){if(!data){return}var expId=data[1],variationId=data[2];if(expId&&variationId&&["VISUAL_AB","VISUAL","SPLIT_URL"].indexOf(window._vwo_exp[expId].type)>-1){}}])})();;
;var vD=VWO.data||{};VWO.data={content:{"fns":{"list":{"vn":1,"args":{"1":{}}}}},as:"r2.visualwebsiteoptimizer.com",dacdnUrl:"https://dev.visualwebsiteoptimizer.com",accountJSInfo:{"ts":1730139536,"pvn":0,"noSS":false,"rp":30,"pc":{"a":0,"t":0}}};for(var k in vD){VWO.data[k]=vD[k]};;var gcpfb=function(a,loadFunc,status,err,success){if(a.indexOf("/cdn/")!==-1){loadFunc(a.replace("cdn/",""),err,success); _vwo_err({message:"Google_Cdn failing for " + a + ". Trying Fallback..",code:"cloudcdnerr",status:status}); return true;}};window.VWO=window.VWO || [];window.VWO._= window.VWO._ || {};window.VWO._.gcpfb=gcpfb;;var d={cookie:document.cookie,URL:document.URL,referrer:document.referrer};var w={VWO:{_:{}},location:{href:window.location.href,search:window.location.search},_vwoCc:window._vwoCc};;window._vwo_cdn="https://dev.visualwebsiteoptimizer.com/cdn/";window._VWO=window._VWO||{};window._VWO.fSeg=["144"];window._VWO.dcdnUrl="/dcdn/settings.js";window.VWO.sTs=1729847941;window._VWO._vis_nc_lib=window._vwo_cdn+"edrv/nc-30dbb912bd7c8407a937fdd2206023f3br.js";var loadWorker=function(url){_vwo_code.load(url,{dSC: true, onloadCb: function(xhr,a){window._vwo_wt_l=true;if(xhr.status===200 ||xhr.status===304){var code="var window="+JSON.stringify(w)+",document="+JSON.stringify(d)+";window.document=document;"+xhr.responseText;var blob=new Blob([code||"throw new Error('code not found!');"],{type:"application/javascript"}),url=URL.createObjectURL(blob);window.mainThread={webWorker:new Worker(url)};window.vwoChannelFW=new MessageChannel();window.vwoChannelToW=new MessageChannel();window.mainThread.webWorker.postMessage({vwoChannelToW:vwoChannelToW.port1,vwoChannelFW:vwoChannelFW.port2},[vwoChannelToW.port1, vwoChannelFW.port2]);if(!window._vwo_mt_f)return window._vwo_wt_f=true;_vwo_code.addScript({text:window._vwo_mt_f});delete window._vwo_mt_f}else{if(gcpfb(a,loadWorker,xhr.status)){return;}_vwo_code.finish("&e=loading_failure:"+a)}}, onerrorCb: function(a){if(gcpfb(a,loadWorker)){return;}window._vwo_wt_l=true;_vwo_code.finish("&e=loading_failure:"+a);}})};loadWorker("https://dev.visualwebsiteoptimizer.com/cdn/edrv/worker-47509eaaad0e2de025e90c8ee0a2615bbr.js");;var _vis_opt_file;var _vis_opt_lib;if(window.VWO._.allSettings.dataStore.previewExtraSettings!=undefined&&window.VWO._.allSettings.dataStore.previewExtraSettings.isSurveyPreviewMode){var surveyHash=window.VWO._.allSettings.dataStore.plugins.LIBINFO.SURVEY.HASH;_vis_opt_file="va_survey_debug_events-"+surveyHash+".js";_vis_opt_lib="https://dev.visualwebsiteoptimizer.com/"+_vis_opt_file}else if(window.VWO._.allSettings.dataStore.mode!=undefined&&window.VWO._.allSettings.dataStore.mode=="PREVIEW"){var path1="evad.js?va=";var path2="&d=debugger_new&h=-df0a59ce34747be8275e6cf855af7aa7";_vis_opt_file=vwoCode.use_existing_jquery&&typeof vwoCode.use_existing_jquery()!=="undefined"?vwoCode.use_existing_jquery()?path1+"vanj"+path2:path1+"va_gq"+path2:path1+"edrv/va_gq-629ac3826461132b7f62f2fd7722ee5fbr.js"+path2;_vis_opt_lib="https://dev.visualwebsiteoptimizer.com/"+_vis_opt_file}else{_vis_opt_file=vwoCode.use_existing_jquery&&typeof vwoCode.use_existing_jquery()!=="undefined"?vwoCode.use_existing_jquery()?"edrv/vanj-b605cbfee9c84eb669b2bcaaa94a8065br.js":"edrv/va_gq-629ac3826461132b7f62f2fd7722ee5fbr.js":"edrv/va_gq-629ac3826461132b7f62f2fd7722ee5fbr.js"}window._vwo_library_timer=setTimeout((function(){vwoCode.removeLoaderAndOverlay&&vwoCode.removeLoaderAndOverlay();vwoCode.finish()}),vwoCode.library_tolerance&&typeof vwoCode.library_tolerance()!=="undefined"?vwoCode.library_tolerance():2500),_vis_opt_lib=typeof _vis_opt_lib=="undefined"?window._vwo_cdn+_vis_opt_file:_vis_opt_lib;var loadLib=function(url){_vwo_code.load(url, {dSC: true, onloadCb:function(xhr,a){window._vwo_mt_l=true;if(xhr.status===200 || xhr.status===304){if(!window._vwo_wt_f)return window._vwo_mt_f=xhr.responseText;_vwo_code.addScript({text:xhr.responseText});delete window._vwo_wt_f;}else{if(gcpfb(a,loadLib,xhr.status)){return;}_vwo_code.finish("&e=loading_failure:"+a);}}, onerrorCb: function(a){if(gcpfb(a,loadLib)){return;}window._vwo_mt_l=true;_vwo_code.finish("&e=loading_failure:"+a);}})};loadLib(_vis_opt_lib);VWO.load_co=window._vwo_code.load.bind(window._vwo_code);;;}}catch(e){_vwo_code.finish();_vwo_code.removeLoaderAndOverlay&&_vwo_code.removeLoaderAndOverlay();_vwo_err(e);window.VWO.caE=1}})();
</script><script type="text/javascript">// This file uses references and method signatures that can be found in jquery.js and cash.js.
// Copyright JS Foundation and other contributors, https://js.foundation/
// Copyright (c) 2014-present Ken Wheeler
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
//  * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
//  * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
//  * permit persons to whom the Software is furnished to do so, subject to the following conditions:
//  *
//  * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
//  * Software.
//  *
//  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
//  * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
//  * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
//  * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
(function(){"use strict";var e,t,n,o,i,r,s;window.VWO=window.VWO||[],window.VWO.v="7.0",window.VWO.v_e="57bdba60e",window._VWO_VaGQ_StartTime=performance.now(),window.VWO.modules={vwoUtils:{cookies:{}},utils:{},tags:{},phoenixPlugins:{events:{predefinedEvents:{}}},otherLibDeps:{}},window.VWO._=window.VWO._||{},Object.defineProperty(window.VWO._,"phoenixMT",{value:{bus:{},idMapping:{},counter:0,eventHistory:{},on:function(e,t,n){this.bus[e]=this.bus[e]||[],n&&n.syncToDataLayer&&(t.syncToDataLayer=!!n.syncToDataLayer);const o=this.bus[e].push(t);return this.idMapping[this.counter]=[e,o-1],this.counter++},once:function(e,t){this.bus[e]&&1==this.bus[e].length?this.bus[e][0]=t:this.on(e,t)},getAllEvents:function(){return Object.keys(this.bus)},trigger:function(e,t={}){var n;let o=[];if(!this.bus[e])return this.eventHistory[e]=this.eventHistory[e]||[],this.eventHistory[e].push(t);((null===(n=window._vwoCc)||void 0===n?void 0:n.delayCustomGoal)||"vwo_campaignsLoaded"===e)&&(this.eventHistory[e]=this.eventHistory[e]||[],this.eventHistory[e].push(t));for(let n=(this.bus[e]||[]).length-1;n>=0;n--)if(this.bus[e][n])try{const i=this.bus[e][n];i.syncToDataLayer?o.push(i):i.call(this,t)}catch(e){}const i=o.length;if(i){for(let e=i-1;e>=0;e--)o[e].call(this,t);this.mergeEventPayloadAndDispatchCall(t)}},getEventHistory:function(e){return this.eventHistory[e]},clearEventHistory:function(e){delete this.eventHistory[e]},mergeEventPayloadAndDispatchCall(e){var t,n,o,i,r;const s=(null===(t=e._vwo)||void 0===t?void 0:t.syncEventData)||{},a=(null===(n=e._vwo)||void 0===n?void 0:n.eventDataConfig)||{};let c=(null===(r=null===(i=null===(o=window.VWO)||void 0===o?void 0:o.nls)||void 0===i?void 0:i.getEventsProps)||void 0===r?void 0:r.call(i,e))||{};const d=window.VWO._.cookies.get("_vwo_uuid");let l={};if(Object.keys(c).length&&Object.keys(a).length&&!a.multipleDomainCallSent){const e=Object.keys(a);for(let t=e.length-1;t>=0;--t){const n=e[t];d===n?(l[n]=Object.assign(Object.assign({},a[n]),c),l[n].addVwoPageMeta=!0):(l[n]=a[n],l[d]=c,l[d].addVwoPageMeta=!0,a.multipleDomainCallSent=!0)}}else l=Object.keys(c).length?{[d]:Object.assign(Object.assign({},c),{addVwoPageMeta:!0})}:a||{};s._vwo=s._vwo||{},s._vwo.eventDataConfig=l,Object.keys(s).length&&this.trigger("syncDataToDataLayer",{event:e,eventName:e.vwoEventName,syncEventData:s})},triggerForBothSides:function(e,t={}){this.trigger(e,t),window.VWO.phoenix('trigger("${{1}}", "${{2}}")',null,{captureGroups:[e,t]})},off:function(e){if(this.idMapping[e]){const[t,n]=this.idMapping[e];t&&(this.bus[t][n]=null,delete this.idMapping[e])}},clearEvent:function(e){if(this.bus[e]&&0!==this.bus[e].length){for(let t=0;t<this.counter;t++)this.idMapping[t]&&this.idMapping[t][0]===e&&(this.idMapping[t]=[]);delete this.bus[e]}}},enumerable:!1,writable:!1}),window.VWO._.native={},window.VWO._.native.JSON=window.JSON,function(e){e.DOM="vwo_dom"}(e||(e={})),function(e){e.WILD_CARD="*",e.TRIGGER="trigger",e.POST_INIT="post-init",e.TIMER="vwo_timer"}(t||(t={})),function(e){e.URL_CHANGE="vwo_urlChange",e.LEAVE_INTENT="vwo_leaveIntent",e.CLICK_EVENT="vwo_dom_click",e.SUBMIT_EVENT="vwo_dom_submit",e.PAGE_LOAD_EVENT="vwo_page_load"}(n||(n={})),function(e){e.PAGE_VIEW="vwo_pageView",e.PAGE_UNLOAD_EVENT="vwo_pageUnload"}(o||(o={})),function(e){e.EXIT_CONDITIONS="__exitConditions"}(i||(i={})),function(e){e.DOM_CONTENT_LOADED="DOMContentLoaded",e.SCROLL="scroll",e.CLICK="click",e.SUBMIT="submit"}(r||(r={})),function(e){e[e.DEBUG=0]="DEBUG",e[e.INFO=1]="INFO",e[e.WARN=2]="WARN",e[e.ERROR=3]="ERROR"}(s||(s={}));class a{constructor(e){this.setLevel(e)}setLevel(e="warn"){this.logLevel=s[e.toUpperCase()]}info(e,t={}){this.customLog(s.INFO,e,t)}debug(e,t={}){this.customLog(s.DEBUG,e,t)}warn(e,t={}){var n,o;this.customLog(s.WARN,e,t,null===(o=null===(n=window.VWO)||void 0===n?void 0:n._)||void 0===o?void 0:o.customError)}error(e,t={}){var n,o;this.customLog(s.ERROR,e,t,null===(o=null===(n=window.VWO)||void 0===n?void 0:n._)||void 0===o?void 0:o.customError)}customLog(e,t,n,o=null){var i,r,s;if(e>=this.logLevel){const a=this.formatMessage(e,t,n);null===(s=null===(r=null===(i=window.VWOEvents)||void 0===i?void 0:i.store)||void 0===r?void 0:r.actions)||void 0===s||s.addLogsForDebugging(a),o?o(a):this.consoleLog(e,[a])}}consoleLog(e,t){switch(e){case s.INFO:console.info(...t);break;case s.WARN:console.warn(...t);break;case s.ERROR:console.error(...t);break;default:console.log(...t)}}formatMessage(t,n,o){var i,a;const c=Object.keys(o).reduce(((e,t)=>e.replace(new RegExp(`{{${t}}}`,"g"),o[t])),n),d=`${e.DOM}_`;let l=o;const u=(null===(i=o.data)||void 0===i?void 0:i.vwoEventName)||o.vwoEventName;u!==d+r.CLICK&&u!==d+r.SUBMIT||(l=o.data?null===(a=o.data)||void 0===a?void 0:a.props:l.props,l=l||{name:u});let w=JSON.stringify;try{w=window.VWO._.native.JSON.stringify||JSON.stringify}catch(e){}return`VWO: [${s[t].toUpperCase()}] [${(new Date).toUTCString()}] ${c} ${w(l)}`}}var c=new a("warn");
/*! *****************************************************************************
    Copyright (c) Microsoft Corporation.

    Permission to use, copy, modify, and/or distribute this software for any
    purpose with or without fee is hereby granted.

    THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
    REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
    AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
    INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
    LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
    OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
    PERFORMANCE OF THIS SOFTWARE.
    ***************************************************************************** */function d(e,t,n,o){return new(n||(n=Promise))((function(i,r){function s(e){try{c(o.next(e))}catch(e){r(e)}}function a(e){try{c(o.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}c((o=o.apply(e,t||[])).next())}))}const l=function(...e){window.fetcher.getValue("VWO._.triggerEvent",e)};var u={PARSE_TLD:"pTLD"},w=["co","org","com","net","edu","au","ac"];function _(e){var t,n=e.split("."),o=n.length,i=n[o-2];return i&&w.includes(i)?(t=n[o-3]+"."+i+"."+n[o-1],l(u.PARSE_TLD,e,t),t):(t=i+"."+n[o-1],l(u.PARSE_TLD,e,t),t)}const h={SET_COOKIE:"sC",GET_COOKIE:"gC",ERASE_COOKIE:"eC",SET_THIRD_PARTY_COOKIE:"sTPC",SET_THIRD_PARTY_COOKIE_ERROR:"sTPCE"};window._vwo_evq=window._vwo_evq||[];var p="jI",g=window._vwo_evq;const v=window._vwo_ev=window._vwo_ev||function(...e){if(!e[0])throw new Error("Invalid Event:"+e[0]);e[0]!==p?g.push([].slice.call(arguments)):g.unshift([p])};let f;window.VWO._.triggerEvent=window._vwo_ev;const O={get:e=>{try{return window.localStorage.getItem(e)}catch(e){return""}},set:(e,t)=>{try{return f._setItem(e,t)}catch(e){return""}},remove:e=>{try{return f._removeItem(e)}catch(e){return!1}},getItem:function(e){return this.get(e)},setItem:function(e,t){this.set(e,t)},deleteAll:function(){},deleteItem:function(e){this.remove(e)}};function m(e){f=e}let E;function S(e){E=e}function T(e){window.VWO=null!=e?e:E}window.VWO._.localStorageService=O;const C=window.VWO._&&window.VWO._.customError||function(){},y=window.encodeURIComponent,I=window.decodeURIComponent,V=function(e){return btoa&&E._.ac&&E._.ac.bsECJ?btoa(e):y(e)},A=function(e){if(atob)try{return atob(e)}catch(e){}return I(e)},N=O.set,b=O.get,R=window.clearTimeout,L=window.setTimeout,W=Math.floor,P=Math.pow,D="(",x=")",U="_vis_opt_",k="_vwo_",M="_vis_",G=864e5,F=31536e6,$={[U+"out"]:0,[U+"exp_*_combi"]:10,[U+"exp_*_combi_choose"]:11,[U+"exp_*_goal_*"]:12,[U+"exp_*_exclude"]:13,[U+"exp_*_split"]:14,[U+"test_cookie"]:20,[U+"s"]:21,[k+"ds"]:22,[k+"sn"]:23,[k+"referrer"]:24,[k+"uuid"]:30,[k+"uuid_*"]:31,[k+"uuid_v2"]:32,[k+"app_version_*_*"]:40,[M+"preview_*"]:41,[M+"editor"]:42,[M+"heatmap_*"]:43};let j;for(const e in $)$[e]=z($[e]),$["debug"+e]="d"+$[e];function H(){for(var e=document.cookie.split(/; ?/),t={},n=0;n<e.length;n++){var o=e[n].split("=");try{const e=I(o[0]);let n;n="_vwo"===e?A(o[1]):I(o[1]),t[e]=n}catch(e){}}return t}function B(e){return["_vis_opt_out","_vwo_ssm","_vwo_ss","_vwo_global_opt_out"].indexOf(e)<0&&(e.indexOf("_vis_opt_")>-1||e.indexOf("_vwo_")>-1||e.indexOf("_vis_")>-1)}function J(e){let t,n;return()=>(n=n||L((()=>{n=t=void 0}),1),t=t||e())}let K=J(H);function q(e){return K()[I(e)]}function Y(e,t,n,o=4e12){t="_vwo"===e?V(t):y(t);let i=y(e)+"="+t+"; ";n&&(i+="domain="+n+"; "),"_vwo"===e&&(o=Date.now()+F),o&&(i+="expires="+new Date(o).toUTCString()+"; "),i+="path=/",window.VWO._=window.VWO._||{},window.VWO._.ss&&(i+="; secure; samesite=none; Partitioned;"),document.cookie=i,K=J(H)}function X(){K=J(H)}function z(e){"string"==typeof e&&(e=+e),e<0&&(e=0);let t="";for(;e;){const n=e%64;let o=n.toString(36);n>=36&&(o=String.fromCharCode(n+29)),62===n&&(o="_"),63===n&&(o="-"),t=o+t,e=W(e/64)}return t||e+""}function Q(e){let t=0,n=0;for(;e;){const o=e.slice(-1);let i=26*+/[A-Z]/.test(o)+parseInt(o,36);"_"===o&&(i=62),"-"===o&&(i=63),t+=i*P(64,n++),e=e.slice(0,-1)}return t}function Z(e,t){return!e||"number"!=typeof e[2]||Date.now()>t+e[2]*G}class ee{constructor(e,t,n="cookie",o=!0,i,r,s){var a,c,d,l;this.threadInstanceSync=!1,this.defaultDelim1=(null===(c=null===(a=window._vwoCc)||void 0===a?void 0:a.cJ)||void 0===c?void 0:c.pd)||"~",this.delim1=(null===(l=null===(d=window._vwoCc)||void 0===d?void 0:d.cJ)||void 0===l?void 0:l.cd)||this.defaultDelim1,this.backwardCompatible=o,this.cookieSyncUrl=i,this.jarName=e,this.cookieStorageStrategy=n,this.domain=t,this.syncingOff=r,this.strategyConfig=s,this.syncingOff?this.cookies=this.syncFromTPCValue():this.cookies=this.syncFromCookies(),this.strategyConfig&&(this.strategyConfig.callback=this.strategyConfig.callback||function(){},this.strategyConfig.cookieJarValue=this.strategyConfig.cookieJarValue||""),j=Q(this.getInJar("ts")||"0")||Date.now(),this.setInJar("ts",z(j),2e3),this.backwardCompatible&&this.getAll(!1,!0),this.backwardCompatible||this.syncingOff||"custom"===n||this.syncCookiesToJar(),this.threadInstanceSync=!0}syncCookiesToJar(){const e=document.cookie.split(/; ?/),t=this.getAll();for(var n=0;n<e.length;n++){const o=e[n].split("="),i=t[o[0]];B(o[0])&&!i&&(this.setInJar(I(o[0]),I(o[1]),100),window.VWO._.cookies.create(o[0],o[1],void 0,void 0,-1,!0))}}getInJar(e,t=!1){if(e=this.mapKey(e),!this.cookies)return;const n=this.cookies[e];return Z(n,j)?(delete this.cookies[e],void(this.syncingOff||this.syncToCookies())):t?n.slice(1):n[1]}expired(e){e=this.mapKey(e);const t=this.cookies[e];if(t)return Z(t,j)}setInJar(e,t,n){return e=this.mapKey(e),this.cookies[e]=[e,t,n+(Date.now()-j)/G],this.threadInstanceSync&&this.otherSide("updateJarMemory",[e,this.cookies[e]]),this.syncingOff||this.syncToCookies(),this.getInJar(e)}syncToCookies(){let e="";for(const t in this.cookies){const n=this.cookies[t];e+=(e?x:"")+this.encodeCookie(...n)}if("custom"===this.cookieStorageStrategy)return X(),e=V(e),void this.strategyConfig.callback(e);"ls"!==this.cookieStorageStrategy&&"both"!==this.cookieStorageStrategy||N(this.jarName,e),"cookie"!==this.cookieStorageStrategy&&"both"!==this.cookieStorageStrategy||Y(this.jarName,e,this.domain)}getStoredJarValue(e){let t="";for(const e in this.cookies){const n=this.cookies[e];t+=(t?x:"")+this.encodeCookie(...n)}return e?V(t):t}syncFromTPCValue(){let e=window.VWO.data.tpc?window.VWO.data.tpc._vwo:void 0;const t={};if(!e)return t;e=e.split(x);for(let n=0;n<e.length;n++){const o=this.decodeCookie(e[n],this.cookieStorageStrategy);o&&(t[o[0]]=o)}return t}syncFromCookies(){let e="";this.cookies={},"custom"===this.cookieStorageStrategy?e=A(this.strategyConfig.cookieJarValue):"ls"===this.cookieStorageStrategy?e=b(this.jarName):"cookie"===this.cookieStorageStrategy?e=q(this.jarName):"both"===this.cookieStorageStrategy&&(e=q(this.jarName)||b(this.jarName)),e=e||"";const t=e.split(x);for(let n=0;e&&n<t.length;n++){const e=this.decodeCookie(t[n],this.cookieStorageStrategy);e&&(this.cookies[e[0]]=e)}return this.cookies}encodeCookie(e,t,n){return`${e}${this.delim1}${t}${D}${z(W(100*n))}`}decodeCookie(e,t){try{let t;const n=e.indexOf(this.delim1)>-1?this.delim1:this.defaultDelim1;if(e.indexOf(n)>-1)t=e.split(n);else{const n=/ts(.)/.exec(e),o=n&&n[1];o&&(t=e.split(o),this.delim1=o)}const o=t[1].split(D);return[t[0],o[0],Q(o[1])/100]}catch(n){const o=`Error occurred while decoding the cookie in cookieJar for strategy: ${t}. Cookie Value to be decoded: ${e}. ${n}`;return void C({msg:o,url:"cookie-jar.js",lineno:257,colno:26,source:y(o)})}}mapKey(e){if($[e])return $[e];const t=/([0-9]+)/g,n=e.replace(t,"*");if($[n]){const o=e.match(t)||[];return $[n]+"*"+o.map(z).join("*")}return e}unmapKey(e){const t=e.split("*"),n=t[0];let o="";for(const e in $)if($[e]===n){o=e;break}for(let e=1;e<t.length;e++)o=o.replace("*",""+Q(t[e]));return(o||"ts"===e)&&o||e}getAll(e=!1,t=!1){const n={};for(const o in this.cookies){const i=this.unmapKey(o);let r=this.cookies[o][1];"ts"!==o&&(r=this.get(i,t)),!1===this.expired(o)&&(n[i]=e?[r,new Date(this.cookies[o][2]*G+j)]:r)}return n}get(e,t=!1){const n=this.expired(e),o=this.getInJar(e,!0);let i,r;o&&([i,r]=o);const s="*"===i;if("custom"!==this.cookieStorageStrategy&&s){const t=q(e);return!t&&i&&this.setInJar(e,"",-1),t}if(this.backwardCompatible){const o=q(e);return o&&n?void Y(e,"",this.domain,-1):(!t||!i||"ts"===e||o&&o!==i||Y(e,i,this.domain,j+r*G),o||!i||t||"ts"===e?(o&&i&&o!==i&&this.setInJar(e,o,r-(Date.now()-j)/G),o||i):void this.setInJar(e,"",-1))}return this.getInJar(e)}xmlSuccess(){window.VWO._.cookies.create("_vis_opt_test_cookie",1,void 0,void 0,void 0,!0)}set(e,t,n){if(t+="","number"==typeof n?this.setInJar(e,t,n):this.setInJar(e,"*",2e3),"custom"!==this.cookieStorageStrategy&&(this.backwardCompatible||"number"!=typeof n)){let o;o=null===n?null:Date.now()+n*G,Y(e,t,this.domain,o)}this.cookieSyncUrl&&(R(this.cookieSyncTimeout),this.cookieSyncTimeout=L((()=>{this.syncViaXML(this.xmlSuccess)}),1e3))}updateJarMemory(e,t){this.cookies[e]=t}otherSide(...e){e[0]="VWO.modules.vwoUtils.cookies.CookieJar."+e[0],window.fetcher.getValue(...e)}}const te={primary:(e,t,n=!1,o,i)=>new Proxy(t,{construct(t,r){this.store=this.store||["1"];const s=new t(...r),a=this.store.length;this.store.push(s);let c=r;n&&(c=o(s)),Object.defineProperty(s,"otherSideCreated",{value:!1,enumerable:!1,writable:!0}),s.otherSide=(...e)=>s.otherSideCreated.then((()=>s.otherSide(...e).then((e=>e))));const d={type:"vwoClassInstanceBridge",id:a,args:c,path:e};return s.otherSideCreated=new Promise((t=>{window.fetcher.request(d).send().then((n=>{s.otherSide=(...t)=>{const o=e.dest+"."+n+"."+t[0];return t[0]=o,window.fetcher.getValue(...t)},t(null),i&&i(n)}))})),s},get(e,t){return"symbol"==typeof t||isNaN(+t)?e:this.store[t]}}),secondary:(e,t,n)=>new Proxy(t,{construct(e,t){this.store=this.store||["1"];const o=new e(...t),i=this.store.length;return this.store.push(o),n&&n(o),[i,o]},get(e,t){return"symbol"==typeof t||isNaN(+t)?e:this.store[t]}})};class ne extends ee{syncViaXML(e){if(!window.XMLHttpRequest)return;const t=new XMLHttpRequest;t.addEventListener("load",e),t.open("GET",this.cookieSyncUrl,!0),t.withCredentials=!0,t.send(null)}}const oe=te.primary({src:"VWO.modules.vwoUtils.cookies.CookieJar",dest:"VWO.modules.vwoUtils.cookies.CookieJar"},ne);function ie(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}window.VWO.modules.vwoUtils.cookies.CookieJar=oe;var re={},se;function ae(e,t){const n=document.createEvent("Event");e="vwo."+e,n.initEvent&&(n.initEvent(e,!1,!1),n.data=t,document.dispatchEvent&&document.dispatchEvent(n))}function ce(e,t){re.queue=re.queue||[];const n=window.VWO._.ac&&window.VWO._.ac.rdbg;if("meta"==e&&!n)return;if(!document.createEvent)return;const o=window.VWO;if(!o.nls||!o.nls.Recording)return void re.queue.push({eventName:e,data:t});re.queue.push({eventName:e,data:t});const i=re.queue.splice(0);for(var r of i)ae(r.eventName,r.data)}window.VWO.modules.vwoUtils.utils={customEvent:ce},function(e){e[e.Object=0]="Object",e[e.Property=1]="Property",e[e.Document=2]="Document",e[e.Variable=3]="Variable",e[e.OverWrite=4]="OverWrite",e[e.Delete=5]="Delete"}(se||(se={}));const de={CAMPAIGN_FLOW_START:"cFS",TEST_NOT_RUNNING:"tNR",CAMPAIGN_FLOW_END:"cFE",REGISTER_CONVERSION:"vwo_rC",CONVERT_GOAL_FOR_ALL_EXPERIMENTS:"cGFAE",UNHIDE_ALL_VARIATIONS:"uAV",DIMENSION_TAG_PUSHED:"dTP",CONVERT_VISIT_GOAL_FOR_EXPERIMENT:"cVGFE",UNHIDE_SECTION:"uS",EXCLUDE_URL:"eURL",BEFORE_REDIRECT_TO_URL:"bRTR",URL_CHANGED:"uC",HIDE_ELEMENTS:"hE",ELEMENT_LOAD_ERROR:"eLTTE",NOT_REDIRECTING:"vwo_notRedirecting",VISIBILITY_TRIGGERED:"vwo_visibilityTriggered",VARIATION_APPLIED:"vwo_vA",ELEMENT_LOAD_TIMER_STOP:"eLTSt",SEND_NEW_VISITOR_CALL:"sNVC",CONVERT_REVENUE_GOALS_FOR_EXPERIMENT:"cRGFE",CHOOSE_COMBINATION:"cC",START_APPLY_CHANGES:"sAC",END_APPLY_CHANGES:"eAC",CAMPAIGN_COMBI_CREATED:"cCC",ELEMENT_LOADED:"eL",ELEMENT_NOT_LOADED:"eNL",MATCH_WILDCARD:"mW",DELETE_CSS_RULE:"dCSSR",SPLIT_READY_TO_REDIRECT:"sURL",SESSION:"vwo_session",NEW_SESSION:"newSession",UNHIDE_VARIATION:"uV",NEW_SESSION_CREATED:"newSessionCreated",PAUSE:"pause",SPLIT_URL:"sURL",SHOULD_EXECUTE_LIB_ERROR:"shouldExecLib",UPDATE_SETTINGS_CALL:"uSC",EXCLUDE_GOAL_URL:"eGURL",HEATMAP_CLICK:"hCl",POST_URL_CHANGE:"hC",AFTER_SAMPLING_TRIGGER:"sT",CONVERT_ALL_VISIT_GOALS_FOR_EXPERIMENT:"cAVGFE",OPT_OUT:"oO",POST_INIT:"vwo_postInit",PAGE_VIEW:"vwo_pageView",ELEMENT_CHANGES_APPLIED:"elementChangesApplied",REGISTER_HIT:"registerHit",REDIRECT_DECISION:"rD",RETRACK_VISITOR:"retrackVisitor",CAMPAIGN_NOT_ELIGIBLE:"runCampaign.notEligible",UNHIDE_ELEMENT:"unhideElement",TOGGLE_VISIBILITY_LOCK:"runCampaign.toggleVisibilityLock",CAMPAIGN_READY:"runCampaign.campaignReady",MODIFIED_ELEMENT:"runTestCampaign.modifiedEl",ERROR:"error",SSR_COMPLETE:"vwo_mutationObserved",SET_ENV:"setEnvironment",ACTIVATED:"vwo_activated",_ACTIVATED:"vwo__activated",RECORDING_NOT_ELIGIBLE:"rNE",VARIATION_SHOWN:"vwo_variationShown",NEW_SURVEY_FOUND:"nSF",SYNC_VISITOR_PROP:"vwo_syncVisitorProp",TAG_EVALUATED:"vwo_tagEval",HTML_ELEMENT_LOADED:"vwo_elementLoaded",CAMPAIGN_UNLOADED:"vwo_campUnload",CAMPAIGNS_LOADED:"vwo_campaignsLoaded",EXECUTE_FUNNEL_FOR_GOAL_CAMPAIGN:"executeFunnelCampForGoalCampaign",EDITOR_APPLY_CHANGES_COMPLETE:"editorApplyChangesComplete",INIT_VWO_INTERNALS:"initVWOInternals",SET_CAMPAIGN_TO_OBSERVE:"setCampaignToObserve",SEGMENTATION_EVALUATED:"sE",ELEMENTS_SHOWN_WITHOUT_CHANGES:"eSWC",CUSTOM_CONVERSION:"vwo_conversion",REVENUE_CONVERSION:"vwo_revenue",DOM_SUBMIT:"vwo_dom_submit",DOM_CLICK:"vwo_dom_click",ERROR_ONPAGE:"vwo_errorOnPage",CURSOR_THRASHED:"vwo_cursorThrashed",PAGE_REFRESHED:"vwo_pageRefreshed",QUICK_BACK:"vwo_quickBack",COPY:"vwo_copy",SELECTION:"vwo_selection",MOUSEOUT:"vwo_mouseout",LEAVE_INTENT:"vwo_leaveIntent",EXCESSIVE_SCROLLED:"vwo_excessiveScrolled",GOAL_CONVERTED:"vwo_goalConverted",GOAL_VISIT:"vwo_goalVisit",EVALUATE_GOAL_PAGE_FOR_PREJS:"vwo_evalPreCampJs",GROUP_WINNER_CHOOSEN:"vwo_groupWinnerChosen",CHECK_SEGMENTATION:"checkSegmentation",TRACK_NEW_SESSION_CREATED:"tnSC",TRACK_SESSION_CREATED:"tSC",PAGE_UNLOAD:"vwo_pageUnload",SPA_VISIBILITY_SERVICE:"visibilityForSpa",SESSION_INIT_COMPLETE:"vwo_sessionInitComplete",TIB_DONE:"vwo_topInitializeBeginDone",TOGGLE_MUT_OBSERVER:"toggleMutationObserver",DOM_CONTENTLOADED:"vwo_dom_DOMContentLoaded",SPLIT_VARIATION_SHOWN:"splitVariationShown",VWO_EXECUTED:"vE",ACTIVATE_API_TRIGGERED:"aAT",CAMPAIGN_TAG_EXECUTED:"cTE",RUN_REVERT_TAGS:"runrT",VARIATION_SHOWN_SENT:"vwo_variationShownSent",PAGE_EXIT:"pageExitEvent",COOKIE_CONSENT_ACCEPTED:"cCA",COOKIE_CONSENT_REJECTED:"cCR",COOKIE_CONSENT_TIMEOUT:"cCT",LOAD_SURVEY_LIB:"loadSurveyLib",NATIVE_DOM_CONTENT_LOADED:"vwo_domReady",RECOM_BLOCK_SHOWN:"vwo_recommendation_block_shown",SYNC_EVENTS_COMPLETED:"vwo_syncEventsCallCompleted",SEND_SYNC_CALL:"vwo_sendSyncCall"};class le{constructor(){this.handleEmptyValue=e=>""===e?"~":e,this.revertEmptyValue=e=>"~"===e?"":e,this.encodeData=e=>{const t=Object.entries(e);let n="";for(let e=0;e<t.length;e++){const[o,i]=t[e],{sId:r,mId:s,p:a,id:c}=i,d=`p.rU:${encodeURIComponent(this.handleEmptyValue(a.rU))},p.t:${encodeURIComponent(this.handleEmptyValue(a.t))},p.u:${encodeURIComponent(this.handleEmptyValue(a.u))}`;n+=`${o}:${this.handleEmptyValue(r)},${this.handleEmptyValue(s)},${d},${this.handleEmptyValue(c)}|`}return n.slice(0,-1)},this.decodeData=e=>{if("~"===e)return;const t={},n=e.split("|");for(let e=0;e<n.length;e++){const[o,...i]=n[e].split(":"),[r,s,...a]=i.join(":").split(","),c=this.revertEmptyValue(a.pop()||""),d={};for(let e=0;e<a.length;e++){const t=a[e],[n,...o]=t.split(":");if(n.startsWith("p.")){d[n.slice(2)]=this.revertEmptyValue(decodeURIComponent(o.join(":")))}}t[o]={sId:this.revertEmptyValue(r),mId:this.revertEmptyValue(s),p:d,id:c}}return t},this.consentMode=window.VWO.consentMode||!1,this.goalCookieStore={}}processQueue(){var e;const t=this.consentMode.deferredQueue||[];for(;t.length>0;){const n=t.shift();null===(e=n.payload)||void 0===e||e.call(n)}}extractSavedCalls(){const e=this.getSyncDataFromConsentCookie();if(e)return this.decodeData(e)}overrideCookies(e){const t=e._create;e._create=(...n)=>{if(!this.consentMode.dT)return this.consentMode.hT&&n[0].includes("_goal")?(this.setGoalCookie(n[0],n[1]),void this.consentMode.deferredQueue.push({method:"fn",payload:()=>t.apply(e,n)})):t.apply(e,n)};const n=e.createThirdParty;e.createThirdParty=function(...t){const o=window.VWO.consentMode;if(!o.dT){if(!o.hT)return n.apply(e,t);{const[i,r,s,a]=t;if(window.VWO.modules.utils.consentModeUtils.triggerEvent(h.SET_COOKIE,i,r,s,a,!0),"_vwo"!==i&&this._create(i,r,s,a),"_combi_choose"===i.slice(-13))return;o.deferredQueue.push({method:"fn",payload:()=>n.apply(e,t)})}}};const o=e.get;e.get=(...t)=>{if(!this.consentMode.dT||"_vis_opt_test_cookie"!==t[0]){if(this.consentMode.hT){const e=this.getGoalCookie(t[0]);if(e)return e}return o.apply(e,t)}};const i=e.waitForThirdPartySync;e.waitForThirdPartySync=function(t){return window.VWO.consentMode.hT?t():i.apply(e,t)}}initConsentMode(){const e=this.consentMode||{};if(e.goalLogs=[],window.VWO.consentMode.deferredQueue=window.VWO.consentMode.deferredQueue||[],e.timeOut&&(this.consentMode.wFC=!1,this.consentMode.dT=!0,this.triggerEvent(de.COOKIE_CONSENT_TIMEOUT)),"P"===e.cConfig.cPB&&this.handlePartiallyBlocked(e),e.preview)return this.handlePreviewMode(e);this.handleConsentRejected()}handlePartiallyBlocked(e){if(e.savedCalls=this.extractSavedCalls(),e.hT&&this.setupConsentAcceptedListener(e),e.cCA&&e.savedCalls&&window.VWO._.phoenixMT.on("vwo_phoenixInitialized",(()=>{this.syncSaved(e.savedCalls),this.updateConsentCookie("~"),delete e.savedCalls})),!1===e.hT&&e.preview&&!e.dT&&!e.cCA){let e;for(const t in window._vwo_exp){e=window._vwo_exp[t];break}const t=window.VWO._.cookies.get("_vis_opt_exp_"+e.id+"_combi");if(e.multiple_domains&&t){const n="SPLIT_URL"===e.type||null,o={id:e.id,mId:""};this.syncTpc(o,t,n,e,!0)}}}setupConsentAcceptedListener(e){const t=window.VWO._.phoenixMT.on(de.COOKIE_CONSENT_ACCEPTED,(()=>{e.savedCalls&&(this.syncSaved(e.savedCalls),delete e.savedCalls),this.processQueue(),!e.preview&&this.triggerEvent(de.COOKIE_CONSENT_ACCEPTED),this.updateConsentCookie("~"),window.VWO._.phoenixMT.off(t)}))}queueGoalLogs(e,t,n,o){const i=window.VWO.consentMode;if(!i||!i.preview)return!0;if(i.dT)return!1;if(!i.hT)return!0;if(!window.mainThread)return window.fetcher.getValue('VWO.modules.utils.consentModeUtils.queueGoalLogs("${{1}}","${{2}}", "${{3}}", "${{4}}")',null,{captureGroups:[e,t,n,o]}),!1;let{goalLogs:r}=i;return r.push({expId:e,goalId:t,revenue:n,success:o}),!1}triggerGoalLogs(){const e=window.VWO.consentMode.goalLogs;for(;e.length>0;){const t=e.shift(),{expId:n,goalId:o,revenue:i,success:r}=t;window.VWO.modules.tags.wildCardCallback({oldArgs:[n,o,i,r],campaignId:n,goalId:o},de.REGISTER_CONVERSION)}}handlePreviewMode(e){e.hT&&window.VWO.phoenix&&window.VWO.phoenix('on("${{1}}", "${{2}}")',null,{captureGroups:[de.URL_CHANGED,()=>{window.fetcher.setValue("VWO.consentMode.goalLogs",[])}]}),this.setupConsentTimeoutListener(e),this.setupConsentAcceptedListenerForPreview(e),this.setupConsentRejectedListenerForPreview(e)}setupConsentTimeoutListener(e){window.VWO._.phoenixMT.on(de.COOKIE_CONSENT_TIMEOUT,(()=>{this.triggerEvent(de.COOKIE_CONSENT_TIMEOUT),e.wFC&&window.fetcher.setValue("VWO.consentMode.wFC",!1),window.fetcher.setValue("VWO.consentMode.dT",!0)}))}setupConsentAcceptedListenerForPreview(e){window.VWO._.phoenixMT.on(de.COOKIE_CONSENT_ACCEPTED,(()=>{this.triggerEvent(de.COOKIE_CONSENT_ACCEPTED),this.triggerGoalLogs(),e.wFC&&window.fetcher.setValue("VWO.consentMode.wFC",!1),!e.dT&&window.fetcher.setValue("VWO.consentMode.dT",!1)}))}setupConsentRejectedListenerForPreview(e){window.VWO._.phoenixMT.on(de.COOKIE_CONSENT_REJECTED,(()=>{this.triggerEvent(de.COOKIE_CONSENT_REJECTED),window.fetcher.setValue("VWO.consentMode.dT",!0)}))}handleConsentRejected(){window.VWO._.phoenixMT.on(de.COOKIE_CONSENT_REJECTED,(()=>{window.fetcher.setValue("VWO.consentMode.dT",!0)}))}triggerEvent(e){window.VWO.phoenix&&window.VWO.phoenix('trigger("${{1}}")',null,{captureGroups:[e]})}getGoalCookie(e){return this.goalCookieStore[e]}setGoalCookie(e,t){return window.mainThread&&window.fetcher.getValue('VWO.modules.utils.consentModeUtils.setGoalCookie("${{1}}","${{2}}")',null,{captureGroups:[e,t]}),this.goalCookieStore[e]=t}deferOnConsent(e,t,n,o,i,r,...s){if(!this.consentMode)return;const{dT:a,hT:c,deferredQueue:d}=this.consentMode;if(a)return!0;if(c){if(["applySyncRequest","handlerForReqFromWT"].includes(e)){if(!i.includes("_goal"))return!1;if(this.setGoalCookie(i,r),"handlerForReqFromWT"===e)return d.push({method:e,payload:()=>document.cookie=s[0]})}return i&&i.name===de.VARIATION_SHOWN&&this.saveForSync(r.d),n&&n(o||{}),d.push({method:e,payload:()=>t[e].apply(t,s)}),!0}}prepareDataForSync(e,t,n){const o={d:{}};o.d.msgId=e.mId,o.d.visId=e.mId.split("-")[0],o.d.sessionId=e.sId;const i={title:e.p.t,url:e.p.u,referrerUrl:e.p.rU};return this.consentMode.customParams=i,o.d.event={props:{page:i,id:e.id,variation:t,isFirst:1},name:de.VARIATION_SHOWN,time:Date.now()},null!=n&&(o.d.event.props.isSplitVariation=n),o}addCustomParams(e){const t=this.consentMode;return!t||(!t.customParams||(!e.includes(de.VARIATION_SHOWN)&&!e.includes("l.gif")||"P"!==t.cConfig.cPB||!("P"===t.cConfig.cPB&&!t.hT)))}syncSaved(e){const t={VWO:{firedTime:Date.now()},executingTagTrigger:null,name:de.VARIATION_SHOWN,props:{},time:Date.now()};Object.keys(e).map((n=>{const o=e[n],i=window._vwo_exp[o.id];let r=null,s=null;if("SPLIT_URL"===i.type&&(r=!0,s="1"!=n),!window.VWO._.cookies.get("_vis_opt_exp_"+o.id+"_combi"))return;const a=this.prepareDataForSync(o,n,s);window.VWO.modules.tags.dataSync.utils.addDataFromMTAndSend(null,null,a,null,!0,null,t,+o.id),this.syncImg(o,n,i),this.syncTpc(o,n,r,i)}))}syncTpc(e,t,n,o,i=!1){if(!o.multiple_domains)return;const r=[`_vwo_uuid_${e.id}`,e.mId.split("-")[0],3650,void 0,e.id,void 0,o];!i&&window.VWO._.cookies.createThirdParty(...r),r[0]=`_vis_opt_exp_${e.id}_combi`,r[1]=t,r[3]=100,window.VWO._.cookies.createThirdParty(...r),null!=n&&(r[0]=`_vis_opt_exp_${e.id}_split`,window.VWO._.cookies.createThirdParty(...r))}syncImg(e,t,n){let o=window.VWO.modules.utils.libUtils.extraData2();const i=encodeURIComponent(o);o=n.ps||void 0===n.ps?"&ed="+i:"";const r="l.gif?experiment_id="+e.id+"&account_id="+window._vwo_acc_id+"&cu="+encodeURIComponent(e.p.u)+"&combination="+t+"&s=1&sId="+e.sId+"&u="+e.mId.split("-")[0]+o;window.VWO.modules.tags.dataSync.utils.sendCall(null,{url:r},null,null,!0)}saveForSync(e){let t=this.getSyncDataFromConsentCookie(),n=t?this.decodeData(t):{};const o={rU:e.event.props.page.referrerUrl,u:e.event.props.page.url,t:e.event.props.page.title},i={sId:e.sessionId,mId:e.msgId,p:o,id:e.event.props.id},r=Object.assign(Object.assign({},n),{[e.event.props.variation]:i});let s=this.encodeData(r);this.updateConsentCookie(s)}getSyncDataFromConsentCookie(){const e=document.cookie.split("; ").find((e=>e.startsWith("_vwo_consent=")));if(e){const t=decodeURIComponent(e.split("=")[1]).split(":");if(t.length>1)return t.shift(),"~"===t[0]?null:t.join(":")}return null}updateConsentCookie(e){const t=document.cookie.match(/(^|;\s*)_vwo_consent=([^;]*)/),n=t?t[2]:null;let o="";if(n){o=decodeURIComponent(n).split(":")[0]}const i=encodeURIComponent(`${o}:${e}`);document.cookie=`_vwo_consent=${i}; path=/; domain=.${window.VWO.consentMode.domain}; max-age=31536000`}}const ue=function(){const e=window.VWO.consentMode;return!!e&&!!e.dT},we=new le;window.VWO.modules.utils.consentModeUtils=we;const{toString:_e}=Object.prototype;function he(e){return"[object Object]"===_e.call(e)}function pe(e){return"[object Array]"===_e.call(e)}function ge(e){return"[object Null]"===_e.call(e)}function ve(e){return"[object Undefined]"===_e.call(e)}function fe(e){return!ve(e)&&!ge(e)}function Oe(e){return!Number.isNaN(e)&&"[object Number]"===_e.call(e)}function me(e){return"[object String]"===_e.call(e)}let Ee=!1;function Se(e){return e.split(";").reduce(((e,t)=>{const n=t.indexOf("=");if(-1!==n){const o=t.substring(0,n).trim(),i=t.substring(n+1).trim();e[o]=i}else e[t.trim()]="";return e}),{})}class Te{constructor(){this.operations=[]}push(e,t){this.operations.push({name:e,value:t})}pop_front(){this.operations.splice(0,1)}fullfil(e,t=!0){const n=Se(e);t&&this.pop_front(),this.operations.forEach((e=>{n[e.name]=e.value}));return Object.entries(n).map((e=>e.join("="))).join("; ")}}class Ce{static internalUtils(){var e,t;return{isCookiePayloadObject:e=>!(!he(e)||!["value","fromThread","origin"].reduce(((t,n)=>t&&n in e),!0)),isCurrentContextMT:!!(null===(t=null===(e=window)||void 0===e?void 0:e.mainThread)||void 0===t?void 0:t.webWorker)}}getSetter(e){return t=>{if("string"==typeof t)t={value:t};else if(!Ce.internalUtils().isCookiePayloadObject(t))return void console.error("Invalid value type!");const{value:n,fromThread:o}=t;let{origin:i}=t,r=!0;return(Ce.internalUtils().isCurrentContextMT||"MAIN"===o)&&(document.__cookie=n,r="MAIN"!==o),r&&e({type:"sync",data:{propertyName:"cookie",value:{value:Ce.internalUtils().isCurrentContextMT?document.__cookie:n,fromThread:Ce.internalUtils().isCurrentContextMT?"MAIN":"WORKER",origin:Ee?"WORKER":i}},syncType:se.Document}),!0}}}function ye(e){if(!Ce.internalUtils().isCookiePayloadObject(e))return void console.error("Invalid value type!");const{value:t}=e;if(window.VWO.consentMode){if(ue())return;let e=t.split("=");if(we.deferOnConsent("handlerForReqFromWT",null,null,null,e[0],e[1],t))return}Ee=!0,document.cookie=t,Ee=!1}let Ie={};{class e{constructor(){this.enabled=!1,this.lastSentCookieString=""}isEnabled(){return this.enabled}enable(){this.enabled||(this.enabled=!0,window.fetcher.setValue("window.VWO._.isCookieFallbackEnabled",!0))}syncCookieToWorkerThread(e=(Ce.internalUtils().isCurrentContextMT?"MAIN":"WORKER")){!this.enabled||this.lastSentCookieString===document.cookie&&"WORKER"!==e||(this.lastSentCookieString=document.cookie,window.fetcher.postMessage({type:"sync",data:{propertyName:"cookie",value:{value:document.cookie,fromThread:Ce.internalUtils().isCurrentContextMT?"MAIN":"WORKER",origin:e}},syncType:se.Document}))}applySyncRequest(e){const{value:t}=e;if(!t)return window.VWO&&window.VWO._&&window.VWO._.customError&&window.VWO._.customError({msg:"Syncing error occurred in cookie fallback mode - value not present!",url:"fallback/cookies.ts",lineno:65,colno:10,source:window.VWO._.native.JSON.stringify(t)});if(window.VWO.consentMode){if(ue())return;let n=t.split("=");if(we.deferOnConsent("applySyncRequest",this,null,null,n[0],n[1],e))return}document.cookie=t,this.syncCookieToWorkerThread("WORKER")}}Ie=new e}var Ve,Ae=window._vwo_acc_id,Ne=[],be=0,Re,Le=!1,We=function(){for(var e=0;e<Ne.length;e++)Ne[e].d||(Ne[e].c(),Ne[e].d=!0)};function Pe(){return window._vis_debug}function De(e){const t=window.VWO;return t._.cLFE||!t.data.cj||Object.values(t.data.cj).every((e=>void 0===e))||(e.backwardCompatible=t.data.cj.bc||!1,e.strategy=e.strategy||t.data.cj.s),e}const xe={domain:void 0,_create:function(e,t,n,o,i,r,s){var a,c;Pe()&&0!==e.indexOf("debug")&&(e="debug"+e);const d=n>0;let l=window._vis_opt_cookieDays;window.VWO._.cLFE&&(r=!1),"_vwo_sn"!==e&&"_vwo_ds"!==e&&"_vis_opt_test_cookie"!==e&&!isNaN(l=parseFloat(l))&&isFinite(l)&&d&&(n=l);var u="";if(i?u+="; expires="+new Date(i).toGMTString():n?u+="; expires="+new Date((new Date).getTime()+864e5*n).toGMTString():!1===n&&(u="; expires=Thu, 01 Jan 1970 00:00:01 GMT"),o||(o=xe.domain),void 0!==o){o=(null===(c=null===(a=window.VWO._.allSettings.dataStore.plugins.DACDNCONFIG)||void 0===a?void 0:a.jsConfig)||void 0===c?void 0:c.dNISD)&&!window._vis_opt_domain?"":"; domain=."+o}const w=e+"="+encodeURIComponent(t)+u+(o||"")+"; path=/";window.VWO._.ss&&!s?(document.cookie=w+"; secure; samesite=none; Partitioned;",6===window._vwo_acc_id&&e.indexOf("_vwo_ds")>-1&&!Le&&(this.create(e,"",!1,o,1,r,!0),Le=!0)):document.cookie=w},create:function(e,t,n,o,i,r,s){this._create(e,t,n,o,i,r,s),Ie.syncCookieToWorkerThread(),v(h.SET_COOKIE,e,t,n,i),ce("meta",{ckName:e,ckValue:t,ckDays:n,ckExpiryTs:i})},get:function(e,t,n){var o;e=e.trim(),!n&&Pe()&&(e="debug"+e),window.VWO._.cLFE;var i=document.cookie.match(new RegExp("(?:^|;)\\s*"+e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")+"=(.*?)(?:;|$)","i"));return o=i&&decodeURIComponent(i[1]),v(h.GET_COOKIE,e,o),o},erase:function(e,t,n){this.create(e,"",!1,t,1,n),v(h.ERASE_COOKIE,e)},mergeInFPJar:function(){if(window.VWO._.cLFE)return;const e=this.createThirdPartyJar().getAll(!0);for(const t in e){if("ts"===t)continue;const n=e[t][1],o=e[t][0];window.VWO._.jar.set(t,o,(n-Date.now())/864e5)}},createThirdPartyJar:function(){return Ve||(Ve=new oe("_vwo_third_party",xe.domain,void 0,!1,void 0,!0),window.VWO._.tpj=Ve,Ve)},setThirdPartyCookiesInJar:function(e,t,n,o){const i=this.createThirdPartyJar(),r=o?(o-Date.now())/864e5:n;i.set(e,t,r)},getThirdPartyJarValue:function(){const e=Ve.getStoredJarValue();return e.length?e:null},createThirdParty:function(e,t,n,o,i,r,s){if(!window.mainThread)return window.fetcher.getValue("VWO._.cookies.createThirdParty",[e,t,n,o,i,r,s]);var a,c,d,l;let u=!1;if(i&&(u=s?s.multiple_domains:window._vwo_exp[i].multiple_domains),"_vwo"!==e&&this._create(e,t,n,o),Pe()&&0!==e.indexOf("debug")&&(e="debug"+e),!((l=window.vwo_$)&&i&&u||r||"_vwo"===e))return void v(h.SET_THIRD_PARTY_COOKIE_ERROR,e,t,n,o);a=l("<iframe>").attr({height:"1px",width:"1px",border:"0",class:"vwo_iframe",name:"vwo_"+Math.random(),style:"position: absolute; left: -2000px; display: none"}).appendTo("head").load((function(){-1!==e.indexOf("split")&&this.parentNode.removeChild(this),--be||We()})),be++;const w=window._vwo_server_url||"https://dev.visualwebsiteoptimizer.com";c=w+"/ping_tpc.php?account="+Ae+"&name="+encodeURIComponent(e)+"&value="+encodeURIComponent(t)+"&days="+n+"&random="+Math.random(),/MSIE (\d+\.\d+);/.test(navigator.userAgent)?a.attr("src",c):767218===window._vwo_acc_id||window.VWO._.lastPageUnloadURL?window.VWO.modules.tags.dataSync.utils.sendCall(null,{url:"/ping_tpc.php?account="+Ae+"&name="+encodeURIComponent(e)+"&value="+encodeURIComponent(t)+"&days="+n+"&random="+Math.random()},null,We,!0):((d=l("<form>").attr({action:w+"/ping_tpc.php","accept-charset":"UTF-8",target:a.attr("name"),enctype:"application/x-www-form-urlencoded",method:"post",id:"vwo_form",style:"display:none"}).appendTo("head")).attr("action",c).submit(),d.remove()),v(h.SET_COOKIE,e,t,n,i,!0)},waitForThirdPartySync:function(e){return d(this,void 0,void 0,(function*(){window.mainThread?Ne.push({c:e}):yield window.fetcher.getValue('VWO._.cookies.waitForThirdPartySync("${{1}}")',null,{captureGroups:[e]})}))},setJar(e){window.VWO._.jar=Re=e},init:function(e){window.VWO._.jar=null},getAll:function(e=!1){const t=document.cookie.split(/; ?/),n={};for(let e=0;e<t.length;e++){const o=t[e].split("="),i=o[0],r=o[1];try{n[i]=r}catch(e){}}return n},getItem:function(e,t=!1){return e.indexOf("_vis_opt_")>-1||e.indexOf("_vwo_")>-1?this.get(e)||this.get(e,!0):this.get(e,!0,!0)},setItem:function(e,t){this.create(e,t)},deleteAll:function(){},deleteItem:function(){},includes:function(e,t=!1){const n=new RegExp(e),o=Object.keys(xe.getAll());for(let e=0;e<o.length;e++)if(n.test(o[e]))return 1;return 0}};var Ue;window.VWO._.cookies=xe;const ke={init:function(){Ue=xe.get("_vwo_referrer"),xe.erase("_vwo_referrer"),"string"!=typeof Ue&&(Ue=document.referrer)},get:function(){return-1!==location.search.search("_vwo_test_ref")?document.referrer:Ue},set:function(){xe.create("_vwo_referrer",Ue,18e-5)}};window.VWO.modules.vwoUtils.referrer=ke;const Me={get navigator(){return navigator},get pageTitle(){return document.title},get doNotTrack(){return window.doNotTrack},get windowName(){return window.name},get currentUrl(){return window._vis_opt_url||window.location.href},get location(){return window.location},get document(){return window.location},get history(){return window.history},get accountId(){return window._vwo_acc_id},get smartCodeVersion(){return window._vwo_code_version},get serverUrl(){return window._vwo_server_url||"https://dev.visualwebsiteoptimizer.com/"},get vwoText(){return window._vwo_text},get vwoCode(){return window._vwo_code},get MutationObserver(){let e=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;return window.Zone&&window.Zone.__symbol__&&(e=window[window.Zone.__symbol__("MutationObserver")]),e},get vwoInternalProperties(){return window.VWO._},get cookie(){return document.cookie},get visDebug(){return window._vis_debug},get cookieDomain(){return window._vis_opt_domain||window._vwo_cookieDomain||_(window.location.host||new URL(document.URL).host)},get vwoStyle(){return window._vwo_style},get screen(){return window.screen},get vwoCss(){return window._vwo_css},get visOptUrl(){return window._vis_opt_url},get allSettings(){return window.VWO._.allSettings},get apiSectionCallback(){return window._vwo_api_section_callback},get encodeURIComponent(){return window.encodeURIComponent},get page(){return{title:Me.pageTitle,url:Me.currentUrl,referrerUrl:ke.get()}},get timeSpentInASession(){var e,t,n,o,i,r;return+Date.now()-1e3*+(null===(n=null===(t=null===(e=window.VWO.phoenix)||void 0===e?void 0:e.store)||void 0===t?void 0:t.getters)||void 0===n?void 0:n.sessionStart)?(+Date.now()-1e3*+(null===(r=null===(i=null===(o=window.VWO.phoenix)||void 0===o?void 0:o.store)||void 0===i?void 0:i.getters)||void 0===r?void 0:r.sessionStart))/1e3:0},get vwoUUID(){return window._vwo_uuid}};let Ge;function Fe(e){if(!e)return e;try{e=window.decodeURIComponent(e)}catch(e){}return e}window.VWO.modules.dataStorePlugin=Me;const $e=function(){if(void 0!==Ge)return Ge;const e=[],t=window.VWO._.allSettings.dataStore.campaigns;let n,o;for(let n in t)e.push(n);return Ge=!!(n=(window.location.search+window.location.hash).match(/.*_vis_test_id=(.*?)&.*_vis_opt_preview_combination=(.*)$/))&&(!(!e.includes(n[1])||!t[n[1]]||void 0===t[n[1]].combs[o=Fe(n[2])])&&o),Ge},je="lT",He="sT",Be="ivp",Je="ca",Ke=10,qe="custom",Ye=function(){},Xe=[739074,714884,708439,765649],ze={VS_DATA:"vwoVsData"},Qe="vwoStandardTrigger",Ze={get campaignCookies(){return new RegExp("_vis_opt_exp_(\\d+)_(.+)")},get uuidCookie(){return new RegExp("_vwo_uuid_(\\d+)")}};var et=parseInt(+new Date/1e3,10),tt,nt=function(){return tt||(tt=window.VWO.data.ts||et)};const ot=Object.keys;function it(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}function rt(e,t){var n;if(e&&"function"==typeof t)if(e instanceof Array){for(n=0;n<e.length;n++)if(!1===t(e[n],n))return}else for(n in e)if(e.hasOwnProperty(n)&&!1===t(e[n],n))return}function st(e,t){if(!(e instanceof Array))return-1;for(var n=0;n<e.length;n++)if(t===e[n])return n;return-1}function at(e,t){for(var n=this.getKeys(t),o=0;o<n.length;o++)e.setAttribute(n[o],t[n[o]])}function ct(e){return/^(https?:\/\/|\/\/)/.test(e)}function dt(e,t){for(var n=[],o=0;o<e.length;o++)n.push(t(e[o]));return n}function lt(e,t){for(var n=[],o=0;o<e.length;o++)t(e[o],o)&&n.push(e[o]);return n}function ut(e){var t=nt();return e?t:1e3*t+ +new Date%1e3}function wt(e){var t=nt(),n=parseInt(+new Date/1e3,10)-et;return e?t+n:1e3*(t+n)+ +new Date%1e3}function _t(){return(new Date).getTimezoneOffset()/60}function ht(e,t){var n=!1;return function(){n||(e.call(),n=!0,setTimeout((function(){n=!1}),t))}}function pt(e,t){var n=!1;return function(...o){n||(n=!0,setTimeout((()=>{n=!1,e.apply(this,o)}),t))}}function gt(e,t,n){var o,i,r,s=!1;return-1===t||n?(i=requestAnimationFrame,r=cancelAnimationFrame):(i=setTimeout,r=clearTimeout),function(...n){s&&(r(o),o=null),o=i((function(){e.apply(this,n)}),t),s=!0}}let vt=0;const ft={};function Ot(e,t){const n=++vt;ft[n]={executeCallback:()=>{delete ft[n],e()},animationFrameId:null,timeOutId:null};const o=function(){return window.setTimeout((()=>{ft[n]&&(null!==ft[n].animationFrameId&&cancelAnimationFrame(ft[n].animationFrameId),ft[n].executeCallback())}),1e3/60)},i=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||o;t||E&&E._&&E._.ac&&E._.ac.aSP?(ft[n].animationFrameId=i((()=>{ft[n]&&(null!==ft[n].timeOutId&&clearTimeout(ft[n].timeOutId),ft[n].executeCallback())})),o!=i&&(ft[n].timeOutId=o())):e()}function mt(){var e,t,n;return(null===(n=null===(t=null===(e=window.google_tag_manager)||void 0===e?void 0:e[Object.getOwnPropertyNames(window.google_tag_manager).filter((e=>-1!==e.indexOf("GTM")))[0]])||void 0===t?void 0:t.dataLayer)||void 0===n?void 0:n.name)||"dataLayer"}function Et(e,t,n=""){try{if(!t||"object"!=typeof t)return;let o,i;if(e.endsWith("]")){const t=e.match(/(.+?)\[(\d+)\]/);t&&(i=e,e=t[1],o=parseInt(t[2]))}if(t.hasOwnProperty(e)){let i=t[e];if(void 0!==o){if(!Array.isArray(i))return;i=i[o]}return n?Et(n.slice(1),i):i}{const o=(e=i||e).lastIndexOf(".");if(-1===o)return;const r=e.substring(0,o);return Et(r,t,e.substring(o)+n)}}catch(e){}}function St(e,t){return e.length>t?e.slice(0,t-1)+"...":e}function Tt(e){return e?Math.round(100*e)/100:0}function Ct(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function yt(){}try{yt.prototype=Object.create(Array.prototype),Object.defineProperty(yt.prototype,"clear",{value:void 0,writable:!0,enumerable:!1})}catch(e){}var It=Object.freeze({__proto__:null,getKeys:ot,extend:it,forEach:rt,arrayContains:st,setAttrs:at,isAbsoluteUrl:ct,map:dt,filter:lt,getServerStartTimestamp:ut,getCurrentTimestamp:wt,getTimeZoneOffset:_t,throttle:ht,throttle2:pt,debounce:gt,processCallbackInRequestAnimationFrame:Ot,getdLName:mt,getVariableValue:Et,truncateData:St,roundNumber:Tt,isObject:Ct,ArrayPrototypeCopy:yt});const Vt=/:nth-parent\((\d+)\)$/,At=/[A-Za-z1-9]*?:tm\(["']([\s\S]*?)["']\)(?:\:nth-parent\(\d\))?/,Nt=e=>e.indexOf(":tm(")>-1,bt=e=>!!Nt(e),Rt=e=>{const t=e.match(Vt)||[];if(t.length<2)return;const n=+t[1];return isNaN(n)?void 0:n};function Lt(){const e={};return function(t){if(e[t])return e[t];if(Nt(t)){const{targetElement:n,targetText:o,ancestorLevelCount:i,childSel:r}=(e=>{const t=e.match(At)||[e],n=t[0],[o]=e.split(":tm("),i=t[1],r=Rt(n),s=void 0!==t.index?e.slice(t.index+n.length,e.length).trim():"",a=o.trim().split(" ");return{targetElement:1==a.length?a[0].toUpperCase():a.map((e=>(-1===e.search(/(\.|#)/)&&(e=e.toUpperCase()),e))).join(" "),targetText:i,ancestorLevelCount:r,childSel:s}})(t);return e[t]={targetElement:n,targetText:o,ancestorLevelCount:i,childSel:r}}return{targetElement:"",targetText:""}}}const Wt=Lt(),Pt={};function Dt(e){if(Array.isArray(Pt[e]))return Pt[e];const t=e.split("<vwo_sep>");return 1===t.length?Pt[e]=[{sel:e,isTxtSel:!0}]:Pt[e]=t.map((e=>({sel:e.trim(),isTxtSel:bt(e)})))}const xt=e=>"number"==typeof e,Ut=(e,t)=>!(!e||e.sel!==t),kt=(e,t)=>xt(e)&&e===t,Mt=({targetElement:e,targetText:t,ancestorLevelCount:n,childSel:o},i,r)=>{const s=[e,t].join(".");if(!r||!Array.isArray(r[s]))return null;for(let e=0;e<r[s].length;e++){const t=i[r[s][e]];if(!t)return null;const a=!n&&!t.d||kt(n,t.d),c=!o&&!t.cd||Ut(t.cd,o);if(a&&c)return t}return null},Gt=e=>{const t=Dt(e),n=window.VWO._.txtCfg||{},o=n.mp=n.mp||{};let i="";const r=e=>{i+=e+","};for(const e of t)if(e.isTxtSel)if(o[e.sel])r(o[e.sel]);else{const t=Wt(e.sel),i=Mt(t,n.t,n.txtSelMap);if(i&&i.s){const t="."+i.s;r(t),o[e.sel]=t}}else r(e.sel);return i},Ft=()=>{window.VWO._.txtCfg&&window.VWO._.txtCfg.mp&&window.fetcher.setValue("window.VWO._.txtCfg.mp",window.VWO._.txtCfg.mp)};class $t{constructor(){this.uuid="",this.TPJarExpiry=730,this.preview=$e,this.hideElExpression="{opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;}",this.domIndependentCampaigns=["ANALYSIS","SURVEY","ANALYZE_RECORDING","ANALYZE_HEATMAP","ANALYZE_FORM","TRACK","FUNNEL","INSIGHTS_FUNNEL","INSIGHTS_METRIC"],this.sessionBasedCampaigns=["ANALYZE_RECORDING","ANALYZE_HEATMAP","ANALYZE_FORM","TRACK","FUNNEL","INSIGHTS_FUNNEL","INSIGHTS_METRIC"]}otherSide(...e){return e[0]="VWO.modules.utils.libUtils."+e[0],e[2]&&(e[2]={captureGroups:e[2]}),window.fetcher.getValue(...e)}isDomDependent(e){return"VISUAL_AB"===e||"VISUAL"===e}isTestingCampaign(e){return this.isDomDependent(e)||"SPLIT_URL"===e}generateUUID(){return"Jxxxxxxxxxxx4xxxyxxxxxx5xxxxxxxx9".replace(/[xy]/g,(function(e){const t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16).toUpperCase()}))}isDomIndependentCampaign(e){return-1!==this.domIndependentCampaigns.indexOf(e)}isSessionBasedCampaign2(e){const t=e.type;return-1!==this.sessionBasedCampaigns.indexOf(t)}hasInsightsMetric(e){return"INSIGHTS_FUNNEL"===e||"INSIGHTS_METRIC"===e}isBot2(){return window.VWO._.isBot||window.navigator.userAgent.toLowerCase().indexOf("bot")>=0||window.navigator.userAgent.toLowerCase().indexOf("spider")>=0||window.navigator.userAgent.toLowerCase().indexOf("preview")>=0}isPageBasedGoal(e){return"SEPARATE_PAGE"===e||"CUSTOM_GOAL"===e||"REVENUE_TRACKING"===e}isSplitVariation(e){return"SPLIT_URL"===e.type&&e[Be]}shouldTrackUserForCampaign(e){return"number"==typeof e&&(e=window._vwo_exp[e]),!e||!window._vwo_code||!window._vwo_code[je]&&!window._vwo_code[He]||(this.isDomIndependentCampaign(e.type)||this.isSplitVariation(e))}getUUIDString(e){return e?"&u="+e:""}isAnalyzeCampaign(e){return"ANALYZE_RECORDING"===e||"ANALYZE_HEATMAP"===e||"ANALYZE_FORM"===e}updateGoalsKind(e){const t={};Object.keys(e).forEach((n=>{const o=e[n],i=e[n].mt;i&&Object.keys(o.goals).length&&Object.entries(i).forEach((([e,o])=>{const i=this.getGoalKind(o);i&&(t[n]=t[n]||{},t[n][e]=i)}))})),window.VWO._.goalsToBeConvertedSynchronously=t}getGoalKind(e){let t;const n=window.VWO._.allSettings.triggers[e];if(n)if("object"==typeof n.cnds[0]){switch(n.cnds[0].event){case de.DOM_CLICK:t="CLICK_ELEMENT";break;case de.DOM_SUBMIT:t="FORM_SUBMIT";break;case de.PAGE_UNLOAD:t="PAGE_UNLOAD"}}else{switch(n.cnds[1].event){case de.DOM_SUBMIT:case de.DOM_CLICK:t="ENGAGEMENT"}}return t}isXpathAllHead(e,t,n=!1){if(e.muts=e.muts||{},"boolean"==typeof e.muts.pvtMut&&!n)return e.muts.pvtMut;const o=t.split(",");let i=!0;for(let e=0;e<o.length;e++)if(o[e].trim()&&"head"!==o[e].toLowerCase()){i=!1;break}return n||(e.muts.pvtMut=i),i}isEligibleToSendCall(e,t){return!$e()&&(t&&!t.visDebug||!window._vis_debug)&&this.shouldTrackUserForCampaign(e)&&(t&&t.vwoInternalProperties.shouldExecuteLib||window.VWO._.shouldExecuteLib)}isPersonalizeCampaign(e){var t;return"TARGETING"===(null===(t=e.iType)||void 0===t?void 0:t.type)}doNotHideElements(e){return e&&"boolean"==typeof e}getMatchedCookies(e){let t=[];return document.cookie&&(t=document.cookie.match(e)||[]),t}getCombinationCookie(){let e=this.getMatchedCookies(/(?:^|;)\s?(_vis_opt_exp_\d+_combi=[^;$]*)/gi);e=e.map((function(e){try{const t=decodeURIComponent(e);return/_vis_opt_exp_\d+_combi=(?:\d+,?)+\s*$/.test(t)?t:""}catch(e){return""}}));const t=[];return e.forEach((function(e){const n=e.match(/([\d,]+)/g);n&&t.push(n.join("-"))})),t.join("|")}getSelectorPath(e,t){let n="",o="",i=t.sections[1].variations[e];if("string"==typeof i&&(i=vwo_$.parseJSON(i)),i)for(let e=0;e<i.length;e++){let r=i[e].xpath;r&&(i[e].dHE?t.dHE=!0:(t.mSP&&(r=r.replace(/html\.vwo_p_s_\w+\s*/g,"")),bt(r)?n+=Gt(r):n+=r+",")),i[e].cpath&&!i[e].dHE&&(o+=i[e].cpath+",")}return{variationXPathSelector:n,variationCPathSelector:o}}getCampaignXPath(e){const t={selector:"",selectorPerVariation:{},cPathSelector:"",cPathSelectorPerVariation:{}};if(e.xPath)return t.selector=e.xPath,t.cPathSelector=e.cPath,t;if(!this.isDomDependent(e.type))return t;let n=e.combination_chosen||e.cc;const o=e.sections;if("VISUAL_AB"===e.type){if(n)1!=n&&(t.selector=this.getSelectorPath(n,e).variationXPathSelector);else for(n in e.combs)if(e.combs.hasOwnProperty(n)){const{variationXPathSelector:o,variationCPathSelector:i}=this.getSelectorPath(n,e);t.selector+=o,t.cPathSelector+=i,t.cPathSelectorPerVariation[n]=i,t.selectorPerVariation[n]=o.substring(0,o.length-1)}}else{const e=ot(o);let n=e.length;for(;n--;)o[e[n]].path&&(t.selector+=o[e[n]].path+",")}return!e.dHE||t.selector&&!this.isXpathAllHead(e,t.selector,!0)||(t.selector=(t.selector||"")+".vwo_dummy_selector,"),t.cPathSelector&&(t.cPathSelector=t.cPathSelector.substring(0,t.cPathSelector.length-1)),t.selector&&(t.selector=t.selector.substring(0,t.selector.length-1)),Ft(),t}}const jt=window.VWO.TRACK_SESSION_COOKIE_EXPIRY_CUSTOM||1/48,Ht={TRACK_GLOBAL_COOKIE_NAME:"_vwo_ds",TRACK_SESSION_COOKIE_NAME:"_vwo_sn",TRACK_SESSION_COOKIE_EXPIRY:jt,SESSION_TIMER_EXPIRE:60*jt*60*1e3*24,COOKIE_VERSION:3,COOKIE_TS_INDEX:1,COOKIE_VERSION_INDEX:0,FIRST_SESSION_ID_INDEX:0,PC_TRAFFIC_INDEX:1,RELATIVE_SESSION_ID_INDEX:0,PAGE_ID_INFORMATION_INDEX:1,SESSION_SYNCED_STATE_INDEX:4,PAGE_ID_EXPIRY:15,GLOBAL_OPT_OUT:"_vwo_global_opt_out",OPT_OUT:"_vis_opt_out",TEST_COOKIE:"_vis_opt_test_cookie",COOKIE_JAR:"_vwo",SAME_SITE:"_vwo_ssm",UUID:"uuid",UUID_V2:"uuid_v2",VWO_COOKIE_QUERY_PARAM:"vwo_q",DEFAULT_EXPIRY:100,UUID_COOKIE_EXPIRY:365.2425};function Bt(){return Math.min(window.VWO.TRACK_GLOBAL_COOKIE_EXPIRY_CUSTOM||window.VWO.data.rp||90,90)}const Jt=window.JSON&&window.window.VWO._.native.JSON.parse||function(e){return new Function("return "+e)()},Kt=window.JSON&&window.window.VWO._.native.JSON.stringify||function(e){return new Function("return "+e)()};var qt=Object.freeze({__proto__:null,jsonParse:Jt,jsonStringify:Kt});class Yt{modifyTriggerConditions(e,t){const n=[];return Array.isArray(e)?(e.forEach((e=>{if(Array.isArray(e))n.push(this.modifyTriggerConditions(e,t));else{const o=t(e);n.push(o)}})),n):e}getExitTrigger(e){for(let t=0;t<e.length;t++){if(Array.isArray(e[t])){const n=this.getExitTrigger(e[t]);if(n)return n}if("object"==typeof e[t]&&null!==e[t]&&e[t].exitTrigger)return e[t].exitTrigger}}}var Xt=new Yt;const zt={state:{}},Qt=e=>e&&"object"==typeof e&&!Array.isArray(e),[Zt,en]=function(){let e={};return window.VWO._.phoenixMT.on("vwo_urlChangeMt",(()=>{e={}})),[(t,n)=>{e[t]=e[t]||{},e[t][n]=!0},(t,n)=>Qt(e[t])&&!!e[t][n]]}();function tn({triggerId:e,eventName:t,triggerObj:n}){const o=(n||window.VWO._.allSettings.triggers[e]||{}).cnds||[];for(let e=0;e<o.length;e++)if(t.indexOf(o[e].event)>-1)return!0;return!1}function nn(){let e,t=!1,n={};const o=window.VWO._.phoenixMT,i={attach:()=>{if(!t){e=new MutationObserver((()=>{Object.keys(n).forEach((e=>{o.trigger(e)}))}));try{e.observe(document.querySelector("body"),{childList:!0,subtree:!0}),t=!0}catch(e){}}},remove:()=>{e&&(e.disconnect(),e=null,t=!1)},fireEventOnMutation:e=>{n[e]=1}};return o.on("vwo_urlChangeMt",(()=>{i.remove(),o.getAllEvents().forEach((e=>{e.indexOf("vwo_mutObs")>-1&&o.clearEvent(e)})),n={}})),i}const on=nn();function rn(e){Qt(e)&&Object.assign(zt.state,e)}function sn(e){window.fetcher.getValue('window.VWO.modules.utils.tagExecutor.fireTagEvaluatedEvent("${{1}}")',null,{captureGroups:[e]})}function an(e,t){const{amt:n,campId:o}=e,i=e.t,r=()=>{try{t(),zt.state[i]=!0}catch(e){window.VWO&&window.VWO._&&window.VWO._.customError&&window.VWO._.customError({msg:`Error occurred while executing "${i}" trigger`,url:"triggerBasedTagExecutorMT.ts",lineno:141,colno:10,source:e})}};n&&(on.attach(),on.fireEventOnMutation(`vwo_mutObs.${i}`));const s=tn({triggerId:i,eventName:de.CAMPAIGN_UNLOADED});if((!i||zt.state[i])&&!s)return r();en(e.tag,i)||(Zt(e.tag,i),window.fetcher.getValue('window.VWO.modules.utils.tagExecutor.attachTriggerListenersForTagExecution("${{1}}", "${{2}}", "${{3}}")',null,{captureGroups:[i,r,{isWaitForElementEvent:n,campId:o,preventCallBackRemovalOnSpa:s,isCampUnloadEvent:s}]}))}function cn(e){if("object"!=typeof e)return'"'+e+'"';let t="";try{const n=ot(e);let o=n.length;for(;o--;){const i=n[o];t+='"'+i+'":'+cn(e[i])+","}t="{"+t.slice(0,-1)+"}"}catch(t){window.VWO._.customError&&window.VWO._.customError({msg:"Error in json stringify - "+e,url:"utils.js",lineno:98,colno:9,source:encodeURIComponent("json-stringify")})}return t}function dn(e,t){let n=!1;return function(){n||(e.call(this,arguments),n=!0,setTimeout((function(){n=!1}),t))}}function ln(e,t){let n,o=!1;return function(...i){o&&(clearTimeout(n),n=null),n=setTimeout((function(){e.apply(null,i)}),t),o=!0}}function un(e,t,n){let o=document.URL;e&&window.history?function(e,t){const n=function(n){const i=e[n];e[n]=function(n){const r=i.apply(e,[].slice.call(arguments));return window.fetcher.postMessage({type:"sync",property:"URL",value:document.URL,syncType:2}),t({state:n,currentUrl:document.URL,previousUrl:o}),o=document.URL,r}};n("pushState"),n("replaceState")}(window.history,t):window.addEventListener("hashchange",t,!1)}function wn(e){e.fn.nonEmptyContents=function(){if(!this||!this.length)return this.contents();const e=this.contents();let t;for(let n=e.length;n--;)t=e.get(n),3!==t.nodeType||/\S/.test(t.nodeValue)||e.splice(n,1);return e};const t=function(e,t,n){(navigator.userAgent.indexOf("MSIE ")>-1||navigator.userAgent.indexOf("Trident/")>-1)&&e.style.setProperty(t,n.replace("!important","").trim()),e.style.setProperty(t,n.replace("!important",""),"important")};e.fn.vwoCss=function(){let n;if(window._vwo_spaR)try{this.each((function(){this.hasOwnProperty("__vwoControlStyleAttr")||(this.__vwoControlStyleAttr=this.getAttribute("style")||"")}))}catch(e){const t="[JSLIB] Error during storing control style attribute value";window.VWO._.customError&&window.VWO._.customError({msg:t,url:"utils.js",source:encodeURIComponent(t)})}if(1===arguments.length){if("string"==typeof arguments[0])return this.css(arguments[0]);for(const e in arguments[0])arguments[0].hasOwnProperty(e)&&(n=arguments[0][e].toString(),n.indexOf("important")>-1?this.each((function(){t(this,e,n)})):this.css(arguments[0]))}else if(2===arguments.length){const e=arguments[0].toString();n=arguments[1]?arguments[1].toString():null,n&&n.indexOf("important")>-1?this.each((function(){t(this,e,n)})):this.css(e,n)}else e.fn.css.apply(this,arguments);return this},e.fn.vwoAttr=function(){if(this&&this.length){if(2!==arguments.length){if(1===arguments.length){if("string"==typeof arguments[0])return this.attr(arguments[0]);{var t=arguments[0];if(window._vwo_spaR)try{this.each((function(){if(!this.hasOwnProperty("__vwoControlVwoAttr")){this.__vwoControlVwoAttr={};Object.keys(t).forEach((e=>{switch(e){case"class":this.hasAttribute(e)?(this.__vwoControlVwoAttr.attrsToAddOrModify=this.__vwoControlVwoAttr.attrsToAddOrModify||[],this.__vwoControlVwoAttr.attrsToAddOrModify.push({name:e,value:this.getAttribute(e)})):(this.__vwoControlVwoAttr.attrsToRemove=this.__vwoControlVwoAttr.attrsToRemove||[],this.__vwoControlVwoAttr.attrsToRemove.push(e));break;case"removedAttributes":t.removedAttributes.forEach((e=>{this.hasAttribute(e)&&(this.__vwoControlVwoAttr.attrsToAddOrModify=this.__vwoControlVwoAttr.attrsToAddOrModify||[],this.__vwoControlVwoAttr.attrsToAddOrModify.push({name:e,value:this.getAttribute(e)}))}));break;default:this.hasAttribute(e)?(this.__vwoControlVwoAttr.attrsToAddOrModify=this.__vwoControlVwoAttr.attrsToAddOrModify||[],this.__vwoControlVwoAttr.attrsToAddOrModify.push({name:e,value:this.getAttribute(e)})):(this.__vwoControlVwoAttr.attrsToRemove=this.__vwoControlVwoAttr.attrsToRemove||[],this.__vwoControlVwoAttr.attrsToRemove.push(e))}}))}}))}catch(e){const t="[JSLIB] Error during storing control attributes values";window.VWO._.customError&&window.VWO._.customError({msg:t,url:"utils.js",source:encodeURIComponent(t)})}const n=e.extend({},t);if(Array.isArray(n.removedAttributes))for(let e=n.removedAttributes.length-1;e>=0;e--)n[n.removedAttributes[e]]&&delete n[n.removedAttributes[e]];else delete n.removedAttributes;const o=["type","height","width"],i=this.get(0);for(let e in o)if(o.hasOwnProperty(e)){const t=o[e];n[t]&&(i.setAttribute(t,n[t]),delete n[t])}if(n.class){const e=n.class.addedClasses,t=n.class.removedClasses;e&&e.length>0&&this.addClass(e.join(" ")),t&&t.length>0&&this.removeClass(t.join(" ")),delete n.class}if(n.removedAttributes&&n.removedAttributes.length>0){for(let e=0;e<n.removedAttributes.length;e++)this.each((function(){this.removeAttribute(n.removedAttributes[e])}));delete n.removedAttributes}const r="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==";if(n.src&&n.loader){const t=`vwo-loader-el-${n.loaderConfig.id}`;if(this.attr("src")!==n.src&&!this.hasClass(t)){this.attr("src",r);const o=n.src,i=n.srcSet;i&&this.removeAttr("srcset"),e("head").append(`<style type="text/css" id="${t}">.${t}{width:${n.width}px;height:${n.height}px;animation-timing-function: linear;animation-duration: ${n.loaderConfig.as};animation-iteration-count: infinite;animation-name: placeHolderShimmer;background: #ccc;background: linear-gradient(to right, ${n.loaderConfig.pc} 8%, ${n.loaderConfig.sc} 38%, ${n.loaderConfig.pc} 54%);display: inline-block;}@keyframes placeHolderShimmer{0%{background-position: -468px 0}100%{background-position: 468px 0}}</style>`);const s=new Image;s.onload=s.onerror=()=>{window._vwo_handleMutations&&window._vwo_handleMutations(this.get(0),(()=>{this.attr("src",o),i&&this.attr("srcset",i),e(`#${t}`).remove(),this.removeClass(t)}))},s.src=o,i&&(s.srcset=i),this.addClass(t)}["src","srcSet","loader","loaderConfig"].forEach((e=>{delete n[e]}))}else if(E&&E._&&E._.ac&&E._.ac.hIF&&n.src&&"IMG"===this.get(0).tagName){let e=n.src,t=n.srcSet;n.src=r,n.srcSet&&(n.srcSet=r),setTimeout((()=>{window._vwo_handleMutations&&window._vwo_handleMutations(this.get(0),(()=>{this.attr("src",e),t&&this.attr("srcset",t)}))}),0)}return window.VWOspvEventListenerAdded||document.addEventListener("securitypolicyviolation",(e=>{e.blockedURI.includes(".vwo.io")&&(window.VwoIoImageLoadFailed=!0)})),window.VWOspvEventListenerAdded=!0,"IMG"===i.tagName&&t.src&&t.src.includes(".vwo.io")&&(i.onerror=()=>{window.VwoIoImageLoadFailed&&window._vwo_handleMutations&&window._vwo_handleMutations(i,(()=>{this.attr("src",t.src.replace("vwo.io","visualwebsiteoptimizer.com")),t.srcset&&this.attr("srcset",t.srcset.replace("vwo.io","visualwebsiteoptimizer.com")),delete window.VwoIoImageLoadFailed}))}),this.attr(n)}}return e.fn.attr.apply(this,arguments)}this.get(0).setAttribute(arguments[0],arguments[1])}return this};const n=window._vwo_editorOperationTracker={},o={};window.VWO._.phoenixMT.once("vwo_domClicked",(e=>{const t=Object.keys(o);for(let n=0;n<t.length;n++)o[t[n]](e)})),e.fn.vwoElement=function(t){const i=`vwo_w_${t.id}`,r=t.id&&`#vwo-widget-${t.id}`||"";let s=!1,a=!1;const d=t.opId,l=e=>{d&&(e?n[d]=e:delete n[d])},u=()=>{l("sw-attached");const n=n=>{E.phoenix('on("${{1}}", "${{2}}")',null,{captureGroups:[n,()=>{l("sw-executed");let n=!1;t.sw.skipExecuteOnce=a,!t.sw.executed||!t.sw.skipExecuteOnce||e(r).length||p()||s||(n=!0,t.sw.executed=!1),!t.sw.executed&&w(n),t.sw.executed=!0,s=!1}]})};"string"==typeof t.sw.p_dsl?E.phoenix(`settings.currentSettings.triggers.${t.sw.p_dsl}`).then((e=>{e?(e.cnds=Xt.modifyTriggerConditions(e.cnds,(e=>(!he(e)||"vwo_pageView"!==e.event&&"vwo_session"!==e.event||(e.persistState=!0),e))),tn({triggerObj:e,eventName:de.DOM_CLICK})&&(a=!0),n(e)):c.error(`Trigger for show when p_dsl ${t.sw.p_dsl} not found.`)})):n(t.sw.p_dsl),E.phoenix('trigger("${{1}}")',null,{captureGroups:[`widget-${t.id}-sw-ready`]})},w=n=>{this[t.position](t.html),l(),t.js&&(E.phoenix('on("${{1}}", "${{2}}")',null,{captureGroups:[t.js.p_dsl,()=>{}]}),E.phoenix('trigger("${{1}}")',null,{captureGroups:[`widget-${t.id}-js-ready`]})),r&&(t=>{const n=e(t);n.length&&n.get(0).addEventListener("close_button_clicked",(function(){s=!0,l("disconnected")}))})(r),t.rec&&!n&&_(),t.hw&&(E.phoenix('on("${{1}}", "${{2}}")',null,{captureGroups:[t.hw.p_dsl,()=>{let n=O.get(i);n&&(n=Jt(n),n.d=1,O.set(i,cn(n))),(t=>{e(t).remove()})(`#vwo-widget-${t.id}`)}]}),E.phoenix('trigger("${{1}}")',null,{captureGroups:[`widget-${t.id}-hw-ready`]})),a&&(o[`vwo_domClicked.${t.id}`]=()=>{s=!1})},_=()=>{let e=O.get(`vwo_w_${t.id}`);if(e){e=Jt(e);for(const t in e)switch(t){case"v":e[t]=parseInt(e[t])+1;break;case"l_ts":e[t]=Date.now()}O.set(`vwo_w_${t.id}`,cn(e))}else h(e)},h=e=>{!e&&(e=O.get(`vwo_w_${t.id}`)),e||O.set(`vwo_w_${t.id}`,cn(t.sks))},p=()=>{t.sks&&h();let e=O.get(`vwo_w_${t.id}`);return!!e&&(e=Jt(e),1==e.d)};return t&&this.length&&t.position&&!p()&&(t.rec?(l("rec-attached"),E.phoenix('on("${{1}}", "${{2}}")',null,{captureGroups:[t.rec.p_dsl,()=>{l("rec-executed"),t.sw?u():w()}]}),E.phoenix('trigger("${{1}}")',null,{captureGroups:[`widget-${t.id}-rec-ready`]})):t.sw?u():w()),this};const i={};e.fn.performOp=function(t){try{if((n&&("sw-executed"===n[t]||"rec-executed"===n[t])||i[t]&&!(e=>{try{return"isConnected"in e?e.isConnected:document.body.contains(e)}catch(e){return!1}})(i[t]))&&delete n[t],this&&this.length)return i[t]=this[0],n[t]?e():(n[t]="in-progress",this)}catch(e){}return this},e.fn.execCode=function(e){try{e.call(this)}catch(e){const t="[JSLIB] Error while running custom Code through execCode";window.VWO._.customError&&window.VWO._.customError({msg:t,url:"HelperFunctionMT.ts",source:encodeURIComponent(t)})}return this},e(window).bind("beforeunload",(function(){try{const e=[],t=E.queue||E;if(null==t||t.map((t=>{var n;(null===(n=null==t?void 0:t[0])||void 0===n?void 0:n.startsWith("track"))&&e.push(t)})),!e.length)return;O.set(`_vwo_track_data_${window._vwo_acc_id}`,cn(e))}catch(e){const t="[JSLIB EVENT] Error unload event.";window.VWO._.customError&&window.VWO._.customError({msg:t,url:"helperFunction.ts",source:encodeURIComponent(t)})}})),e.fn.replaceWith2=e.fn.vwoSPAReplaceWith=function(e){return this.length?this.each((function(t,n){var o=document.createElement("div");o.innerHTML="object"==typeof e?e.nodeValue:e,o.firstChild&&(o.firstChild.__vwoControlOuterHTML=n.__vwoControlOuterHTML||n.outerHTML);try{const e=Array.from(o.querySelectorAll("script"));if(e.length>0)for(const t of e)if(-1!==t.textContent.indexOf("_vwo_api_section_callback")){t.remove();const e=document.createElement("script");e.textContent=t.textContent,document.head.appendChild(e)}}catch(n){}n.parentNode&&n.parentNode.replaceChild(o.firstChild,n)})):this},e.fn.vwoRevertHtml=function(){try{return this.length&&this.each((function(){var t=this.innerHTML;this.hasOwnProperty("__vwoControlInnerHTML")&&t===this.__vwoExpInnerHTML&&(e(this).html(this.__vwoControlInnerHTML),delete this.__vwoControlInnerHTML,delete this.__vwoExpInnerHTML)})),this}catch(e){const t="[JSLIB] Error during vwoRevertHtml";window.VWO._.customError&&window.VWO._.customError({msg:t,url:"helperFunction.ts",source:encodeURIComponent(t)})}},e.fn.vwoRevertAttr=function(){try{return this.length&&this.each((function(){if(this.hasOwnProperty("__vwoControlVwoAttr")){var t=this.__vwoControlVwoAttr;t.hasOwnProperty("attrsToAddOrModify")&&t.attrsToAddOrModify.forEach((t=>{e(this).attr(t.name,t.value)})),t.hasOwnProperty("attrsToRemove")&&t.attrsToRemove.forEach((t=>{e(this).removeAttr(t)})),delete this.__vwoControlVwoAttr}})),this}catch(e){const t="[JSLIB] Error during vwoRevertAttr";window.VWO._.customError&&window.VWO._.customError({msg:t,url:"helperFunction.ts",source:encodeURIComponent(t)})}},e.fn.vwoRevertCss=function(){try{return this.length&&this.each((function(){this.hasOwnProperty("__vwoControlStyleAttr")&&(e(this).attr("style",this.__vwoControlStyleAttr),delete this.__vwoControlStyleAttr)})),this}catch(e){const t="[JSLIB] Error during vwoRevertCss";window.VWO._.customError&&window.VWO._.customError({msg:t,url:"helperFunction.ts",source:encodeURIComponent(t)})}},e.fn.vwoRevertRearrange=function(t,n,o){try{return this.length?this.each((function(){e(this).parent().removeAttr(`vwo-op-${t}`);var i=e(n),r=i.nonEmptyContents().eq(o);i.length||e(this).remove(),r.length?r.before(this):i.append(this)})):this}catch(e){const t="[JSLIB] Error during vwoRevertRearrange";window.VWO._.customError&&window.VWO._.customError({msg:t,url:"helperFunction.ts",source:encodeURIComponent(t)})}},e.fn.revertContentOp=function(){try{return this.length&&this.each((function(){if(this.hasOwnProperty("__vwoControlOuterHTML")){var t=e(this);e.fn.replaceWith.apply(t,[this.__vwoControlOuterHTML])}})),this}catch(e){const t="[JSLIB] Error during revertContentOp";window.VWO._.customError&&window.VWO._.customError({msg:t,url:"helperFunction.ts",source:encodeURIComponent(t)})}},e.fn.vwoVal=function(){try{if(window._vwo_spaR)try{this.each((function(){this.hasOwnProperty("__vwoControlVal")||(this.__vwoControlVal=this.value||"")}))}catch(e){const t="[JSLIB] Error during storing control element value";window.VWO._.customError&&window.VWO._.customError({msg:t,url:"helperFunctionMT.ts",source:encodeURIComponent(t)})}return e.fn.val.apply(this,arguments),this}catch(e){const t="[JSLIB] Error during vwoVal";window.VWO._.customError&&window.VWO._.customError({msg:t,url:"helperFunction.ts",source:encodeURIComponent(t)})}},e.fn.vwoRevertVal=function(){try{return this.length&&this.each((function(){this.hasOwnProperty("__vwoControlVal")&&(e(this).val(this.__vwoControlVal),delete this.__vwoControlVal)})),this}catch(e){const t="[JSLIB] Error during vwoRevertVal";window.VWO._.customError&&window.VWO._.customError({msg:t,url:"helperFunction.ts",source:encodeURIComponent(t)})}}}window.VWO.modules.utils.tagExecutor={updateTriggerStates:rn};const _n=(e,t)=>{for(;--t>=0&&e.parentElement;)e=e.parentElement;return t<0?e:null};function hn(){if(!window.vwo_$)return;const e=(e,t,n)=>{var o;const i=(null===(o=n.iT?e.innerText:e.textContent)||void 0===o?void 0:o.trim())||"";return!!i&&i===t.trim()};let t,n=0;const o=window.vwo_$;window.vwo_$=(...i)=>{const r=i[0]||"",s=(a=i[1])&&!Array.isArray(a)&&"object"==typeof a?i[1]:{};var a;if(void 0!==s.iT&&i.splice(1,1),!r||"string"!=typeof r||-1===r.indexOf(":tm(")||/<.*(script|style)\b[^>]*>/g.test(r))return o(...i);try{const i=Dt(r);if(i.length>1){var c=[];for(const e of i){const t=window.vwo_$(e.sel);for(const e of t)e._vwo_visited||(e._vwo_visited=!0,c.push(e))}for(const e of c)delete e._vwo_visited;return o(c)}const a=Wt(i[0].sel),{targetElement:d,targetText:l,ancestorLevelCount:u,childSel:w}=a,_=window.VWO._.txtCfg||{};if(_.txtSelMap){const e=Mt(a,_.t,_.txtSelMap);if(e&&e.s){const t=window.vwo_$("."+e.s);if(t.length>0)return t}}let h=o();const p=e=>{if(u){const t=_n(e,u);t&&(w?[].push.apply(h,Array.from(t.querySelectorAll(w))):[].push.apply(h,[t]))}else[].push.apply(h,[e])};if(d){const o=((o,i,r)=>{const s=o.split(" "),a=s.length>1?s[1].toUpperCase():s[0].toUpperCase(),c=s.length>1?document.querySelector(s[0]):document.body;return document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>o.tagName!==a?NodeFilter.FILTER_SKIP:e(o,i,r)?(t=o,n=o.querySelectorAll(a).length,n?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT):(n--,t&&!n?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP)})})(d,l,s);let i;for(;i=o.nextNode();)p(t),t=null}else{const t=document.createTreeWalker(document.body,NodeFilter.SHOW_TEXT);for(;t.nextNode();){const n=t.currentNode;n&&(e(n.parentElement,l,s)&&p(n.parentElement))}}return n=0,h}catch(e){return o()}},Object.assign(window.vwo_$,o)}window.VWO.modules.utils.helperFunctions={onUrlChange:un};const pn=window.performance||window.workerThread.performance,gn={mark:(e="")=>{e="vwo-"+e,pn.mark&&pn.mark(e)},measure:(e,t,n)=>{t="vwo-"+t,n="vwo-"+n;try{pn.measure&&pn.measure(e,t,n)}catch(e){c.debug(e)}}},vn={VISITOR_IS_NOT_OPTED_OUT:"visitorIsNotOptedOut",VISITOR_IS_OPTED_OUT_COMPLETELY:"visitorIsOptedOutCompletely",VISITOR_IS_OPTED_OUT:"visitorIsOptedOut"};var fn;!function(e){e[e.OPTED_OUT_WITH_EXPERIENCE=0]="OPTED_OUT_WITH_EXPERIENCE",e[e.OPTED_OUT_PARTIALLY=1]="OPTED_OUT_PARTIALLY",e[e.OPTED_OUT_COMPLETELY=2]="OPTED_OUT_COMPLETELY"}(fn||(fn={}));class On{setOptOutStateConfig(){let e,t,n,o;switch(e=window.VWO._.isWorkerThread?window.phoenix.storages.storages.cookies.get("_vis_opt_out",!0):window.VWO._.cookies.get("_vis_opt_out",!0),e&&(e=Number(e)),e){case 0:t=vn.VISITOR_IS_OPTED_OUT,n=!0,o=!1;break;case 1:case 2:t=vn.VISITOR_IS_OPTED_OUT_COMPLETELY,n=!1,o=!1;break;default:t=vn.VISITOR_IS_NOT_OPTED_OUT,n=!0,o=!0}window.VWO.phoenix&&window.fetcher.setValue("window.VWO._.optOutStates",{state:t,executeLib:n,shouldWeTrackVisitor:o}),window.VWO._.optOutStates={state:t,executeLib:n,shouldWeTrackVisitor:o}}callStopAnalyzeAndSurvey(){window.VWO._.optOutStates.shouldWeTrackVisitor||(window.VWO._.isWorkerThread?window.fetcher.getValue("window.VWO.modules.otherLibDeps.stopAnalyzeAndSurvey"):window.VWO.modules.otherLibDeps.stopAnalyzeAndSurvey())}getOptOutStateConfig(){return window.VWO._.optOutStates}shouldExecuteLibOnBasisOfCurrentOptOutState(){return!(!$e()&&!window._vis_debug)||(this.getOptOutStateConfig().executeLib||window._removeVwoGlobalStyle(),this.getOptOutStateConfig().executeLib)}shouldWeTrackVisitor(){return!(!$e()&&!window._vis_debug)||this.getOptOutStateConfig().shouldWeTrackVisitor}isVisitorOptedOut(){return!$e()&&!window._vis_debug&&this.getOptOutStateConfig().state!==vn.VISITOR_IS_NOT_OPTED_OUT}}const mn=new On;function En(e,t){if(e){var n,o="."+e,i=window.vwo_$;if((t=t||{})[e])return!1;try{n=i(o)}catch(e){n=""}return 1===n.length||(t[e]=!0,!1)}}function Sn(e){if(e){var t,n=window.vwo_$;try{t=n("#"+e)}catch(e){t=""}return t.length}}function Tn(e,t){var n=t[e](),o=t.get(0);if(!n){if(window.getComputedStyle&&void 0!==(n=getComputedStyle(o)[e])&&(n=parseInt(n,10),!isNaN(n)&&n))return n;n=o["client"+e.toUpperCase()[0]+e.substring(1,e.length)]}return n}function Cn(e){if(e.previousElementSibling)return e.previousElementSibling;for(;e=e.previousSibling;)if(1===e.nodeType)return e}function yn(e,t){if(!e)return null;if(e===document)return"#document";t=t||{};var n,o,i,r,s,a=e,c=[],d=e.tagName,l=window.vwo_$;if("string"==typeof d&&("body"===d.toLowerCase()||"head"===d.toLowerCase()))return d;for(;e;){n=(d="undefined"!=typeof ShadowRoot&&e instanceof ShadowRoot?"shadow-root":e.tagName)&&d.match(/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/),d&&n&&(n&&n[0])===d||(d="*");const w=["INPUT","SELECT"].indexOf(e.tagName)>-1;try{o=l(e).attr("id")}catch(a){o=e.id}w&&e.name?d=d+'[name="'+e.name+'"]':o&&"string"==typeof o&&Sn(o)&&(d=d+"#"+o),i=(i=e.getAttribute&&e.getAttribute("class"))?i.split(/\s+/):[];for(var u=0;u<i.length;u++)if(s="."+(r=i[u]),En(r,t)){d+=s;break}c.unshift(d),e=Cn(e)}return-1!==c[0].indexOf("#")||a.parentNode&&"HEAD"===a.parentNode.nodeName||a.host||(c[0]+=":first-child"),yn("undefined"!=typeof ShadowRoot&&a instanceof ShadowRoot&&a.host?a.host:a.parentNode,t)+" > "+c.join(" + ")}function In(e){return e instanceof SVGElement&&e.tagName&&"svg"!==e.tagName.toLowerCase()?In(e.parentNode):e}function Vn(e){return Tn("width",e)}function An(e){return Tn("height",e)}window.VWO.modules.vwoUtils.optOut=mn;const Nn=()=>window._vwoCc||{},bn=e=>{const t=Nn();return t.SPA_SPLIT=t.SPA_SPLIT||{},!!t.SPA_SPLIT[e]},Rn=(()=>{const e=Nn().debugConfig||{};return{CLICK_DEBUG:e.CLICK_DEBUG,TIMEOUT_DEBUG:e.TIMEOUT_DEBUG,GA_DEBUG:e.GA_DEBUG,URL_DEBUG:e.URL_DEBUG}})(),Ln=()=>Nn().disableAsp;function Wn(e){try{return e()}catch(e){return}}function Pn(e,t){try{return e()}catch(e){return void(t&&!t.disabledErrLog&&console.error("Error occurred:",e))}}const Dn=e=>e&&"object"==typeof e&&!Array.isArray(e),xn=()=>{const e=/^(_vis_opt_exp|_vwo)/,t=document.cookie.split(";");let n="";return t.forEach((t=>{const[o,i]=t.trim().split("=");e.test(o)&&(n+=o.trim()+"="+(i?i.trim():"")+";")})),n},Un=e=>{const t={getParsed:()=>{let t;try{t=window.VWO._.native.JSON.parse(localStorage.getItem(e))}catch(e){}return Dn(t)||(t={}),t},get:e=>{const n=t.getParsed();return n[e]?n[e]:null},update:(n,o)=>{const i=t.getParsed();i[n]=o,localStorage.setItem(e,window.VWO._.native.JSON.stringify(i))}};return t},kn=(e,t=[])=>{try{const{msg:n,url:o=window.location.href,navType:i="",additionalOptions:r={}}=e,s=window._vwo_code||{},a=Object.assign({uuid:window._vwo_uuid,url:window.location.href,referrer:document.referrer,nav:i,aId:window._vwo_acc_id,sT:s.sT,lT:s.lT,aC:!!window._vwo_code,cookies:t.length?t:xn()},r);window.VWO._.customError&&window.VWO._.customError({msg:n,url:encodeURIComponent(o),source:window.VWO._.native.JSON.stringify(a)})}catch(e){}},Mn=e=>{var t;try{if(!Rn.CLICK_DEBUG)return;const n=Wn((()=>Rn.CLICK_DEBUG.filters))||{},o=window.sessionStorage.getItem("referred"),{local_referred_url:i,referred_url:r}=o&&window.VWO._.native.JSON.parse(o)||{},s=e.event.target.tagName.toLowerCase();if(Object.keys(n).length>0&&!n[s])return;const a="a"===s&&e.event.target.href,c=String(yn(e.event.target));window.VWO._.customError&&window.VWO._.customError({msg:null!==(t=e.msg)&&void 0!==t?t:"Click Debug Log",url:encodeURIComponent(window.location.href),source:window.VWO._.native.JSON.stringify({cookies:xn(),uuid:window._vwo_uuid,targetEl:e.event.target.innerText,referrerSession:r,referrerPage:i,targetUrl:a,targetXP:c})})}catch(e){}},Gn=(e,t)=>{try{if(e.includes("order-placed")&&779155===window._vwo_acc_id){const n=window.sessionStorage.getItem("referred"),{local_referred_url:o,referred_url:i}=n&&window.VWO._.native.JSON.parse(n)||{};kn({msg:"We have reached Order-placed Url.",url:e,navType:t,additionalOptions:{referrerSession:i,referrerPage:o}})}if(window._vwoCc&&Dn(window._vwoCc.debugCamps))for(const n in window._vwoCc.debugCamps)if(Dn(window._vwoCc.debugCamps[n])){const{urlRegex:o,preventStoring:i}=window._vwoCc.debugCamps[n];if(o&&new RegExp(o).test(location.href)){const o=Un("_vis_opt_log_"+n);o.get(location.href)||(kn({msg:"Current URL matched the debug URL!",url:e,navType:t,additionalOptions:{campId:n}}),i||o.update(location.href,1))}}window._vwoCc&&window._vwoCc.clearLogKey&&Object.keys(window.localStorage).forEach((e=>{e.indexOf("_vis_opt_log_")>-1&&window.localStorage.removeItem(e)}))}catch(e){}},Fn=e=>{if(!window._vwoCc)return;const t=window._vwoCc||{};try{if(t.canLogAttributes){(t.logAttributesList||[]).forEach((t=>{t in e&&kn({msg:`Received value for "${t}" attribute`,url:"VwoBaseMT",additionalOptions:{page:location.href,attrVal:e[t]}})}))}}catch(e){}},$n=(...e)=>{Wn((()=>window._vwoCc.debugLogs))&&kn.call(void 0,...e)},jn=()=>({get:()=>localStorage.getItem("destinationLink")||"",setInLs:e=>{localStorage.setItem("destinationLink",window.VWO._destinationLink||e)},setInWin:e=>{window.VWO._destinationLink=e}}),Hn=jn(),Bn=new Proxy(window.location,{get:function(e,t){"href"!==t||window.VWO._destinationLink||Hn.setInWin(e[t])}});function Jn(){var e;if("debug"!==(null===(e=window._vwoCc)||void 0===e?void 0:e.logLevel))return;window.VWO._.phoenixMT.on(de.PAGE_EXIT,(()=>{const e=Bn.href;Hn.setInLs(e)}));const t=Hn.get();document.referrer&&document.referrer===t||t&&t!==window.location.href&&kn({msg:"URL mismatch detected",url:window.location.href,additionalOptions:{targetUrl:t}})}const Kn=()=>{Rn.GA_DEBUG&&Wn((()=>{const e=Rn.GA_DEBUG.expIds,t="function"==typeof window.fetch;let n=0;if(t&&Object.keys(e||{}).some((e=>!!window.VWO._.allSettings.dataStore.campaigns[e]))){const t=window.fetch;window.fetch=function(...o){return Wn((()=>{const t=o[0]||"",i=(o[1]||{}).body,r=/VWO-(\d+)-(\d+)/,s=r.exec(t)||r.exec(i)||[];t.includes("analytics.google.com/g/collect")&&s.length>0&&e[s[1]]&&(kn({msg:"GA Collect Log",additionalOptions:{data:Array.from(s),userType:Wn((()=>window.VWO.data.vi.vt))||"unknown",ogUUID:zn.getUUID()}}),++n)})),t.call(this,...o)}}window.VWO._.phoenixMT.on(de.PAGE_EXIT,(()=>{const e=document.cookie.split(";").filter((e=>e.includes("_vis_opt_exp_")));let o=-1;Wn((()=>{const[e]=performance.getEntriesByType("navigation"),t=e.startTime;o=(performance.now()-t)/1e3})),kn({msg:"Page Exit Logs",additionalOptions:{userType:Wn((()=>window.VWO.data.vi.vt))||"unknown",dL:Array.isArray(window.dataLayer),doesFetchExist:t,didCollectCallGo:n,timeSpent:Wn((()=>performance.now()-window._VWO_VaGQ_StartTime))||-1,timeSpent2:o}},e)}));const o=Object.keys(e).reduce(((e,t)=>{const n=window.VWO._.cookies.get(`_vis_opt_exp_${t}_combi`);return Object.assign(Object.assign({},e),{[t]:!!n})}),{});e&&window.VWO.push(["onVariationApplied",t=>{e[t[1]]&&kn({msg:`Variation Applied => ${t[1]}-${t[2]}`,additionalOptions:{dL:Array.isArray(window.dataLayer),didCollectCallGo:n,userType:Wn((()=>window.VWO.data.vi.vt))||"unknown",doesCombiCookieExist:o,ogUUID:zn.getUUID()}})}])}))},qn=()=>{Wn((()=>{if(!Rn.URL_DEBUG)return;const{rgx:e}=Rn.URL_DEBUG,t=window.location.href;new RegExp(e).test(t)&&kn({msg:"URL Debug Log",url:t})}))};function Yn(e){return d(this,void 0,void 0,(function*(){yield E.phoenix('store.actions.addValues("${{1}}", "${{2}}" )',null,{captureGroups:[e,"vwoInternalProperties"]})}))}window.VWO._.sendErrorLog=kn;class Xn extends $t{constructor(){super(),this.loadScriptLoadedScripts={},this.isInsightsActivated=!1,this.isCampaignsLoaded=!1,this.noopFn=()=>{},window.VWO._.phoenixMT.on(de.RUN_REVERT_TAGS,this.runRevertTagsAndUpdateInfo.bind(this))}deleteAllCss(){const e=document.getElementById("_vis_opt_path_hides");e&&e.parentNode.removeChild(e)}getUUID(e){e=e||{},this.uuid=Me.vwoUUID;const t=e&&e.id&&e.multiple_domains&&xe.get("_vwo_uuid_"+e.id)||xe.get("_vwo_uuid");return this.uuid=t||this.uuid||this.generateUUID()}createUUIDCookie2(e){if(mn.isVisitorOptedOut())return;const t=this.getUUID(e),n=e&&e.id&&e.multiple_domains?"_"+e.id:"";return xe.get("_vwo_uuid"+n)||this.createCookieMT("_vwo_uuid"+n,t,Ht.UUID_COOKIE_EXPIRY,e,!0),E.data=E.data||{},E.data.vin=E.data.vin||{},E.data.vin.uuid=t,t}setVin(e){if(mn.isVisitorOptedOut())return;const t=this.getUUID(e);return E.data=E.data||{},E.data.vin=E.data.vin||{},E.data.vin.uuid=t,t}extraData2(e,t){var n,o,i,r,s={},a=E.modules.tags.sessionInfoService.getInfo(),c=e?a.r:ke.get();const d=window.screen.width,l=window.screen.height;return s.sr=d+"x"+l,s.sc=window.screen.colorDepth,s.de=document.characterSet||document.charset,s.ul=window.navigator.language.toLocaleLowerCase(),window._vwoCc&&window._vwoCc.rTD||(s.r=c),s.lt=(new Date).getTime(),s.tO=_t(),s.tz=(null===(r=null===(i=null===(o=null===(n=null===Intl||void 0===Intl?void 0:Intl.DateTimeFormat)||void 0===n?void 0:n.call(Intl))||void 0===o?void 0:o.resolvedOptions)||void 0===i?void 0:i.call(o))||void 0===r?void 0:r.timeZone)||"",t?s:window.VWO._.native.JSON.stringify(s)}isBotScreen(){return+(screen.height-window.innerHeight<0)}createCookie(e,t,n,o,i){return d(this,void 0,void 0,(function*(){return this.otherSide('createCookie("${{1}}", "${{2}}", "${{3}}", "${{4}}", "${{5}}")',null,[null,t,n,o,i])}))}createCookieMT(e,t,n,o,i){(i||this.shouldTrackUserForCampaign(o))&&(o&&o.multiple_domains?xe.createThirdParty(e,t,n,void 0,o.id,void 0,o):xe.create(e,t,n))}setTPCJarValue(e,t,n,o,i,r){xe.setThirdPartyCookiesInJar(e,t,n,i),this.__vwoCookie=xe.getThirdPartyJarValue(),this.dTP=this.dTP||ln((()=>window.VWO._.cookies.createThirdParty.call(window.VWO._.cookies,"_vwo",this.__vwoCookie,this.TPJarExpiry,void 0,void 0,void 0,r)),50),this.__vwoCookie&&this.dTP()}isSSApp(){var e,t,n;const o=null===(n=null===(t=null===(e=window.VWO._.allSettings.dataStore)||void 0===e?void 0:e.plugins)||void 0===t?void 0:t.DACDNCONFIG)||void 0===n?void 0:n.SST,i=o&&o.SSTD;if(!i)return!1;if(E._.ssdm)return o&&E._.ssdm;try{const e=window.document.domain.match(i);if(e&&e.length>0)return o}catch(e){return window.VWO&&window.VWO._&&window.VWO._.customError&&window.VWO._.customError({msg:`Invalid regex for domain. sstd = ${i}`,source:encodeURIComponent(`Invalid regex for domain. VWO._.sstd = ${i}`)}),!1}}doesUuidCookiesExist(){return!!xe.get("_vwo_uuid")||!!lt(document.cookie.split(";"),(function(e){return 0===e.trim().indexOf("_vwo_uuid_")&&0!==e.trim().indexOf("_vwo_uuid_v2")})).length}doNotTrack(e){if(e.settings.vwoData.dntEnabled)return"yes"===e.navigator.doNotTrack||"1"==e.navigator.doNotTrack||"1"==e.navigator.msDoNotTrack||"1"==e.doNotTrack}isGloballyOptedOut(){return!!parseInt(xe.get(Ht.GLOBAL_OPT_OUT,!0),10)}_optOut(e,t){return t.trigger(de.OPT_OUT,{oldArgs:[!1]}),!1}doesSessionBasedCampaignExistsInTags(e){var t=e&&Jt(e),n=0,o=t&&"object"==typeof t&&t.si;if(o&&"object"==typeof o)for(var i in o)if(o.hasOwnProperty(i)&&(n=this.isSessionBasedCampaign2(window._vwo_exp[i])?1:0))return n;return n}delCSSWrapper({campaignData:e,ruleName:t,rulesArr:n}){var o;if(Array.isArray(n)&&n.length>0)for(let t=0;t<n.length;t++){const i=(null===(o=n[t])||void 0===o?void 0:o.split(","))||[];i.length>1?this.delCSSWrapper({rulesArr:i,campaignData:e}):this.delCSS({ruleName:n[t],campaignData:e})}t&&this.delCSS({ruleName:t,campaignData:e})}delCSS({ruleName:e,campaignData:t}){var n;if("string"!=typeof e)return;if((null===(n=window._vwoCc)||void 0===n?void 0:n.enableMultiRuleSupport)&&e.includes(","))return void e.split(",").forEach((e=>this.delCSS({ruleName:e.trim(),campaignData:t})));if("*"===e&&(clearTimeout(window._vwo_oscTimeout),delete window._vwo_oscTimeout),window.VWO._.txtCfg&&bt(e)){const n=Dt(e);if(n.length>1){for(let e=0;e<n.length;e++)this.delCSS({ruleName:n[e].sel,campaignData:t});return}if(!(e=window.VWO._.txtCfg.mp&&window.VWO._.txtCfg.mp[e]))return}let o,i,r,s,a,c,d;if(e=e.toLowerCase(),t){const e="_vis_opt_path_hides_"+t.id,n=t.variation?e+"_"+t.variation:e;o=document.getElementById(n);let i="";(window._vwo_acc_id>742099||718480===window._vwo_acc_id)&&(i="-webkit-transform:none;-ms-transform:none;transform:none;"),d=`{opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;${i}}`}else o=window._vwo_style||document.getElementById("_vis_opt_path_hides"),d=window._vwo_css;if(o){if(o)if(o.sheet){o.styleSheet||(e=e.replace(/\*:/g,":")),i=o.sheet,r=i.cssRules.length&&i.cssRules[0].selectorText?i.cssRules[0].selectorText.split(","):"",s="";let t=0;for(a=0;a<r.length;a++)vwo_$.trim(r[a]).toLowerCase()!==e||t?s+=r[a]+",":t||(t=1);if(s&&t){s=s.substr(0,s.length-1);try{i.insertRule(s+d,1)}catch(e){}finally{i.deleteRule(0)}}else o&&o.parentNode&&o.parentNode.removeChild(o)}else if(o.styleSheet){i=o.styleSheet,a=0;do{c=i.rules[a],c&&c.selectorText.toLowerCase()===e?i.removeRule(a):a++}while(c)}"*"!=e||t||(window.VWO.dNR=1),gn.mark(`el-${e}-shown`),gn.measure(`elHidden-${e}`,`el-${e}-hidden`,`el-${e}-shown`),window.fetcher.getValue('phoenix.trigger("${{1}}","${{2}}")',null,{captureGroups:[de.DELETE_CSS_RULE,{oldArgs:[e]}]})}}insertCSS(e,t){let n,o;"object"!=typeof e||e instanceof Array||(n=e,e=n.id,o=n.className);let i=document.getElementById(e);if([708799].includes(window._vwo_acc_id)&&("body"===t||t.includes("body,"))){const t=document.getElementsByTagName("head")[0],n=document.createElement("div");n.style.cssText="z-index: 2147483647 !important;position: fixed !important;left: 0 !important;top: 0 !important;width: 100% !important;height: 100% !important;background: white !important;",e&&n.setAttribute("id",e),o&&n.classList.add(o),t.parentNode.insertBefore(n,t.nextSibling)}else{if(i)try{i.removeChild(i.childNodes[0])}catch(e){}else{const t=document.getElementsByTagName("head")[0];i=document.createElement("style"),e&&i.setAttribute("id",e),o&&i.setAttribute("class",o),i.setAttribute("type","text/css"),t.appendChild(i)}if(i.styleSheet)i.styleSheet.cssText=t;else{const e=document.createTextNode(t);i.appendChild(e)}}}isCustomEvent(e){return e&&"string"==typeof e&&e.startsWith(qe)}removeCampaignLevelStyleTag(e){var t=document.getElementById("_vis_opt_path_hides_"+e);t&&t.parentNode&&t.parentNode.removeChild(t)}loadScript(e,t){if(this.loadScriptLoadedScripts[e])return void(t&&t());this.loadScriptLoadedScripts[e]=1;const n=document.createElement("script");n.src=e,/\/web\/.*\/tag-/.test(e)&&(n.crossOrigin="anonymous"),n.type="text/javascript",t=t||this.noopFn,n.onerror=function(){t()},document.getElementsByTagName("head")[0].appendChild(n),n.parentNode?n.parentNode.removeChild(n):window.setTimeout((function(){n.parentNode&&n.parentNode.removeChild(n)}),100)}setCampaignIds(e){window._vwo_exp_ids=window._vwo_exp_ids||[],e=e||[],window._vwo_exp_ids.push(...e),Yn({experimentIds:window._vwo_exp_ids})}getSplitDecision(e){return xe.get("_vis_opt_exp_"+e+"_split")}isCookieLessModeEnabled(){var e,t,n;if(!window.workerThread){window.parent,window.self,null===(n=null===(t=null===(e=window.VWO._.allSettings.dataStore)||void 0===e?void 0:e.plugins)||void 0===t?void 0:t.DACDNCONFIG)||void 0===n||n.CKLV;return!1}return!1}shouldStopExecWhenSsmNotFound(){if("https:"===window.location.protocol)return!1;xe.create("_vwo_ssm",1,3650,void 0,void 0,!0);const e=xe.get("_vwo_ssm",!0);return xe.erase("_vwo_ssm",void 0,!0),!e}areCookiesDisabled(e){let t=!1;e&&!xe.get(Ht.TEST_COOKIE,!0)&&(t=!0),t&&xe.create(Ht.TEST_COOKIE,"1",void 0,void 0,void 0,!0);const n=!xe.get(Ht.TEST_COOKIE,!0);return t&&xe.create(Ht.TEST_COOKIE,"",-1,void 0,void 0,!0),n}updateGlobalOptOutCookie(e){e?xe._create(Ht.GLOBAL_OPT_OUT,1,100,window._vwo_cookieDomain,void 0,!0):xe.erase(Ht.GLOBAL_OPT_OUT,window._vwo_cookieDomain,!0)}syncThirdPartyGlobalCookies(){var e,t=null===(e=window.VWO.data.accountJSInfo)||void 0===e?void 0:e.tpc;for(var n in t)t.hasOwnProperty(n)&&n===Ht.GLOBAL_OPT_OUT&&this.updateGlobalOptOutCookie(!!parseInt(t[n],10))}removeGlobalStyle(){const e=window._vwo_style||document.getElementById("_vis_opt_path_hides");e&&e.parentNode&&e.parentNode.removeChild(e)}filterEventObjectForWT(e){const t={};return Object.keys(e).forEach((n=>{try{window.VWO._.native.JSON.stringify(e[n])}catch(e){return}t[n]=e[n]})),t}syncCachedSettingsInSessionStorage(){const e=`_vwo_${window._vwo_acc_id}_settings`,t={};return window.sessionStorage.getItem(e)&&(t[e]=!0),t}getSelectedVariationForPreviewMode(e){let t=null;if(e.debug&&(t=e.debug.v,-1===window.name.indexOf(`_vis_preview_${window._vwo_acc_id}`))){let n=xe.get("_vis_preview_"+window._vwo_acc_id);if(n)try{n=window.VWO._.native.JSON.parse(n);const o=e.id;n&&n[o]&&(!e.debug.ts||n[o].ts>e.debug.ts)&&(t=n[o].v||t)}catch(e){}}return t}setOnLocalStorageOnBothThreads(e,t,n=[]){if("object"!=typeof t||null===t)return;let o=window.localStorage.getItem(e),i=null;if(o){try{o=window.VWO._.native.JSON.parse(o)||{}}catch(e){o={}}for(const e in t)n.includes(e)&&Object.prototype.hasOwnProperty.call(o,e)&&delete t[e];i=window.VWO._.native.JSON.stringify(Object.assign(o,t))}else i=window.VWO._.native.JSON.stringify(t);i&&(window.fetcher.getValue('window.localStorage.setItem("${{1}}", "${{2}}")',null,{captureGroups:[e,i]}),window.localStorage.setItem(e,i))}updateRTagsInfo(e,t){const n=window.VWO._.rTagInfo||{};n[t]=n[t]||[],n[t].includes(e)||n[t].push(e),window.VWO._.rTagInfo=n}runRevertTagsAndUpdateInfo(){const e=window._vwo_exp,t=this.extractRTagsFromRule(),n=window.VWO._.rTagInfo;if(n)for(const o in n){const i=n[o],r=e[o];if(r&&(null==i?void 0:i.length)&&(!r.isApplicable||r.mSP||r.ss&&(r.ss.csa||r.ss.cta))){r.cA=!1;for(const e of i)if(!t.includes(e)){(window.VWO._.allSettings.tags[e].fn||Ye)()}delete window.VWO._.rTagInfo[o]}}}extractRTagsFromRule(){const{rules:e}=E._.allSettings,t=[];for(let n=0;n<e.length;n++){const o=e[n];if(o.tags&&o.tags[0].id.startsWith("R_")){t.push(...o.tags.map((e=>e.id)));break}}return t}fireVariationShownSentForSplit(){const e=window._vwo_code&&_vwo_code.finished();if(744263===window._vwo_acc_id&&kn({msg:"fireVariationShownSentForSplit - fromInit(timeout)",url:window.location.href,additionalOptions:{timeout:e,referrer:document.referrer}}),!e)return;const t=window.VWO._.native.JSON.parse(localStorage.getItem(ze.VS_DATA)||"{}");Object.keys(t).forEach((e=>{const n=t[e].v;t[e].u===window.location.href&&(window.VWO.phoenix('trigger("${{1}}", "${{2}}")',null,{captureGroups:[de.VARIATION_SHOWN_SENT,{oldArgs:[e,n]}]}),window.VWO._.phoenixMT.trigger(de.VARIATION_SHOWN_SENT,e),744263===window._vwo_acc_id&&kn({msg:"fireVariationShownSentForSplit - fromInit(timeout)",url:window.location.href,additionalOptions:{referrer:document.referrer}}))}))}fireAuxiliaryPageView(){this.isInsightsActivated&&this.isCampaignsLoaded&&this.otherSide("fireAuxiliaryPageView")}initAuxiliaryPageView(){window.VWO._.phoenixMT.on("vwo_insightsActivated",(()=>{this.isInsightsActivated=!0,this.fireAuxiliaryPageView()})),window.VWO._.phoenixMT.on("vwo_campaignsLoaded",(()=>{this.isCampaignsLoaded=!0,this.fireAuxiliaryPageView()}))}resetAuxDependencies(){this.isCampaignsLoaded=!1,this.isInsightsActivated=!1}saveVSDataInStorageForSplit(e,t,n){const o=window.VWO._.native.JSON.parse(window.localStorage.getItem(ze.VS_DATA)||"{}");o[e]={},o[e].v=t,o[e].u=n,window.localStorage.setItem(ze.VS_DATA,window.VWO._.native.JSON.stringify(o))}sendErrorLogsInCaseOfTimeout(){Rn.TIMEOUT_DEBUG&&Wn((()=>{const e=window.performance.getEntries().reduce(((e,t)=>(t.name.indexOf("j.php")>-1?(t.jPhp={},e.push(t)):t.name.indexOf("va_gq")>-1&&(t.vaGq={},e.push(t)),e)),[]),t=Wn((()=>e.map((e=>{const t={name:e.name,duration:e.duration,downloadTime:e.responseEnd-e.responseStart,totalTime:e.responseEnd-e.startTime};return e.jPhp&&"number"==typeof window._VWO_Jphp_StartTime&&(t.jPhp={startTimeDiff:window._VWO_Jphp_StartTime-e.startTime,execDiff:window._VWO_Jphp_StartTime-e.responseEnd}),e.vaGq&&"number"==typeof window._VWO_VaGQ_StartTime&&(t.vaGq={startTimeDiff:window._VWO_VaGQ_StartTime-e.startTime,execDiff:window._VWO_VaGQ_StartTime-e.responseEnd}),t})))),n=window.navigator||{},o=n.connection||n.mozConnection||n.webkitConnection||{},i=window.performance.memory||{},r={pf:t,sT:window._vwo_code.sT,lT:window._vwo_code.lT,effectiveType:Wn((()=>o.effectiveType)),downlink:Wn((()=>o.downlink)),rtt:Wn((()=>o.rtt)),memoryInfo:{totalJSHeapSize:Wn((()=>i.totalJSHeapSize/1048576)),usedJSHeapSize:Wn((()=>i.usedJSHeapSize/1048576)),jsHeapSizeLimit:Wn((()=>i.jsHeapSizeLimit/1048576))}};Wn((()=>window.VWO._.customError({msg:"Timeout detected",url:"init.ts",lineno:157,colno:16,source:window.VWO._.native.JSON.stringify(r)})))}))}loadNcLib(e){const t=e||Wn((()=>window._VWO._vis_nc_lib)),n={dSC:!0,onloadCb:function(e,t){200===e.status||304===e.status?_vwo_code.addScript({text:e.responseText}):window.VWO._.gcpfb(t,window.VWO.modules.utils.libUtils.loadNcLib,e.status)},onerrorCb:function(e){window.VWO._.gcpfb(e,window.VWO.modules.utils.libUtils.loadNcLib)||window.VWO._.customError&&window.VWO._.customError({msg:"Error in loading nc library"})}};vwo_$(document).ready((function(){2===window.VWO.load_co.length?window.VWO.load_co(t,n):window.VWO.load_co(t)}))}}const zn=new Xn;window.VWO.modules.utils.libUtils=zn;class Qn{constructor(){this.settingsKey=`_vwo_${Me.accountId}_settings`,this.configKey=`_vwo_${Me.accountId}_config`,this.CACHING_DELAY=2e3,this.storageNamesForWT=[`window.localStorage.value.${this.settingsKey}`,`window.cachedSettingsInSessionStorage.${this.settingsKey}`],this.smartCodeVersion=window._vwo_code&&_vwo_code.getVersion&&_vwo_code.getVersion(),this.smartCodeConfig=this.getAndUpdateSmartCodeConfig(),this.cachingConfig=this.getCachingConfig()}initializeCaching(){2!==this.smartCodeVersion&&this.cachingConfig.cache?setTimeout(this.syncSettings.bind(this),this.CACHING_DELAY):0===this.cachingConfig.cache&&this.flushCache()}getCachingConfig(){var e,t,n,o,i;const r=(null===(e=this.smartCodeConfig)||void 0===e?void 0:e.stT)||"local",s=(null===(t=this.smartCodeConfig)||void 0===t?void 0:t.sL)||2;return{stT:r,ttl:(null===(n=this.smartCodeConfig)||void 0===n?void 0:n.ttl)||6e5,sL:s,cache:null!==(i=null===(o=this.smartCodeConfig)||void 0===o?void 0:o.cache)&&void 0!==i?i:this.isCachingByDefault()}}isCachingByDefault(){return 0}getAndUpdateSmartCodeConfig(){const e=window.VWO._.allSettings.dataStore.plugins.DACDNCONFIG;let t=null==e?void 0:e.SCC;if(t)try{t=window.VWO._.native.JSON.parse(t);const{sT:e,hE:n,hES:o,stT:i}=t;return this.smartCodeVersion>=2&&window.localStorage.setItem(this.configKey,window.VWO._.native.JSON.stringify({sT:e,hE:n,hES:o,stT:i})),t}catch(e){}}syncSettings(){return d(this,void 0,void 0,(function*(){const e=Me.accountId,t=zn.getCombinationCookie(),n="https://dev.visualwebsiteoptimizer.com/j.php?a="+e+"&u="+encodeURIComponent(document.URL)+"&type=sync"+(t?"&c="+t:"");try{const e=yield fetch(n);if(200==e.status){const t=yield e.text();t&&this.setSettings(t)}}catch(e){}}))}flushCache(){window.localStorage.removeItem(this.settingsKey),window.sessionStorage.removeItem(this.settingsKey)}getKBSize(e){return Math.floor(new Blob([e]).size)/1024}setSettings(e){try{const{stT:t,ttl:n,sL:o}=this.cachingConfig,i="local"===t?window.localStorage:window.sessionStorage,r="local"===t?this.storageNamesForWT[0]:this.storageNamesForWT[1];if(this.getKBSize(e)>1e3*o)return void this.flushCache();const s={s:e,e:(new Date).getTime()+n};i.setItem(this.settingsKey,window.VWO._.native.JSON.stringify(s)),window.fetcher.setValue(r,!0)}catch(e){"QuotaExceededError"===e.name&&this.flushCache()}}}const Zn=new Qn,eo=Zn.initializeCaching.bind(Zn);var to;window.VWO.modules.settingsCaching={initializeCaching:eo},function(e){e.ANALYSIS="r",e.ANALYZE_FORM="a",e.ANALYZE_HEATMAP="a",e.ANALYZE_RECORDING="a",e.FUNNEL="t",e.SURVEY="s",e.TRACK="t",e.INSIGHTS_FUNNEL="t",e.INSIGHTS_METRIC="t"}(to||(to={}));class no{otherSide(...e){return e[0]="VWO.modules.tags.dataSync."+e[0],window.fetcher.getValue(...e)}}function oo(e){window.vwo_iehack_queue||(window.vwo_iehack_queue=[]),window.vwo_iehack_queue.push(e)}function io(e){const{data:t,apiToUse:n,headers:o,success:i,complete:r,error:s}=e,{url:a}=e,c=n&&new(n.get("XMLHttpRequest"))||new XMLHttpRequest;if(c.open("POST",a,!0),o)for(const e in o)o.hasOwnProperty(e)&&c.setRequestHeader(e,o[e]);t instanceof FormData&&(c.formData=t),c.send(t),c.onload=function(){i.call(this),r.call(this,e.callbackContext)},c.onerror=function(){s.call(this),r.call(this,e.callbackContext)}}function ro(e,t){const{apiToUse:n,success:o,error:i,complete:r,callbackContext:s}=e;let{url:a}=e;const c=n&&new(n.get("Image"))||new Image;a+=t?"&_bf=1":"",c.src=a,c.onload=function(){o.call(this),r.call(this,s)},c.onerror=function(){i.call(this),r.call(this,{isError:!0})},oo(c)}function so(e,t){e.data?io(e):ro(e,false)}function ao(e){let{url:t,miscOptions:n}=e;t.indexOf("?")<0&&(t+="?");return t+=n?"&vn="+n.vn+"&vns="+n.vns+"&vno="+n.vno:"",t.indexOf("&cu=")<0&&t.indexOf("&url=")<0&&we.addCustomParams(t)&&(t+="&_cu="+encodeURIComponent(window.VWO._.lastPageUnloadURL||document.URL.slice(0,100))),t.indexOf("&cu=")<0&&!we.addCustomParams(t)&&(t+="&_cu="+encodeURIComponent(window.VWO.consentMode.customParams.url.slice(0,100))),document.referrer&&t.indexOf("&ru=")<0&&we.addCustomParams(t)&&(t+="&_ru="+encodeURIComponent(document.referrer.slice(0,100))),t.indexOf("?&")>0&&(t=t.replace("?&","?")),t}const co=function(e){const t=function(){};let n=!1;(e.success||e.error)&&(n=!0),e.success=e.success||t,e.error=e.error||t,e.complete=e.complete||t,e.url=ao(e),e.callbackContext=e.callbackContext||{},e.apiToUse=window.DISABLE_NATIVE_CONSTANTS?void 0:window.VWO._.nativeConstants;const{data:o,url:i,useBeacon:r,complete:s}=e;if(n&&!r)return so(e,!1),{typeOfCall:co.callTypes.NONBEACON};{const t=Wn((()=>window.VWO._.nativeConstants.get("navigator")))||window.navigator;return"function"==typeof t.sendBeacon&&(window.VWO.data&&window.VWO.data.fB||r)&&t.sendBeacon(i,o)?(s(e.callbackContext),{typeOfCall:co.callTypes.BEACON}):(so(e,!0),{typeOfCall:co.callTypes.NONBEACON})}};co.shouldCompress=function(e){return e.length>1800},co.callTypes={BEACON:"beacon",NONBEACON:"non-beacon"};const lo={[de.VARIATION_SHOWN]:{ignoreMetricDataCheck:!0},[de.ERROR_ONPAGE]:{},[de.CURSOR_THRASHED]:{},[de.PAGE_REFRESHED]:{},[de.QUICK_BACK]:{},[de.COPY]:{},[de.SELECTION]:{},[de.MOUSEOUT]:{},[de.LEAVE_INTENT]:{},[de.EXCESSIVE_SCROLLED]:{},[de.PAGE_VIEW]:{},[de.DOM_CLICK]:{},[de.DOM_SUBMIT]:{},[de.CUSTOM_CONVERSION]:{},[de.REVENUE_CONVERSION]:{},[de.SYNC_VISITOR_PROP]:{ignoreMetricDataCheck:!0},[de.PAGE_UNLOAD]:{}},uo=e=>!!lo[e],wo=e=>!!Wn((()=>window.VWO._.allSettings.dataStore.events[e].ls)),_o=e=>Wn((()=>!!window.VWO._.allSettings.dataStore.events[e]));class ho{constructor(){this.vwoEventsToBeSynced=Object.assign({},lo),this.allowedMetaDataProps={ogName:!0,source:!0}}otherSide(...e){return e[0]="VWO.modules.tags.dataSync.utils."+e[0],window.fetcher.getValue(...e)}shouldSendEventCall(e,t){var n;const o=t.name;if(!o)return!1;const i=this.vwoEventsToBeSynced[t.name];if(void 0===i&&!t.props.isCustomEvent&&!t.props.isSurveyEvent)return!1;if(!window.VWO._.allSettings.dataStore.events[o]){let e;try{e=window.VWO._.native.JSON.parse(window.localStorage.getItem(ho.UNREG_EVENT_LOCAL_STORAGE_NAME))||{}}catch(t){e={}}if(e[o])return!1;{e[o]=!0;const t=window.VWO._.native.JSON.stringify(e);window.localStorage.setItem(ho.UNREG_EVENT_LOCAL_STORAGE_NAME,t)}}if(t.props.isCustomEvent||t.props.isSurveyEvent||t.props.forceCall)return!0;if(!i||!i.ignoreMetricDataCheck){const e=null===(n=t._vwo)||void 0===n?void 0:n.eventDataConfig;if(!e||Object.keys(e).length<=0)return!1}if(t.name!==de.VARIATION_SHOWN)return!0;let r="non-analytics";location.href.includes("jsMode=Any")&&(r="analytics");const s=null==t?void 0:t.props,a=null==s?void 0:s.id;if(!s||!a)return!1;const c=e.currentSettings.dataStore.campaigns[a]||window._vwo_exp[a],d=window.VWO.modules.utils.libUtils.isSessionBasedCampaign2(c),l="SURVEY"===c.type;return!(!("analytics"===r||"non-analytics"===r&&s.isFirst)||d||l)}evaluateDataForEventsCall(e,t,n){var o,i,r,s,a;let c=!0;const d=null===(i=null===(o=n._vwo)||void 0===o?void 0:o.eventDataConfig)||void 0===i?void 0:i.addVwoPageMeta;null===(s=null===(r=n._vwo)||void 0===r?void 0:r.eventDataConfig)||void 0===s||delete s.addVwoPageMeta,this.syncAdditionalDataWithEventsData(null===(a=n._vwo)||void 0===a?void 0:a.eventDataConfig,n);const l=n.eventUuid,u={d:{}};if(u.d.msgId=`${t}-${+new Date}`,u.d.visId=t,l&&(u.d.eventUuid=l),u.d.event={props:this.excludeEventPropsNotToBeSynced(e,n.name,n.props),name:n.name,time:n.time},n.props.$metaData){const e={},t=n.props.$metaData;for(const n in t)Object.prototype.hasOwnProperty.call(this.allowedMetaDataProps,n)&&(e[n]=t[n]);Object.keys(e).length>0&&(u.d.event.props.vwoMeta=u.d.event.props.vwoMeta||{},Object.assign(u.d.event.props.vwoMeta,e)),delete u.d.event.props.$metaData}return n.props.$visitor&&(u.d.visitor=n.props.$visitor,delete n.props.$visitor,Object.keys(u.d.visitor.props).length<=0&&(c=!1)),u.d.event.props.page=n.page||this.getPageInfo(d),this.resetDataForCurrentEvent(n),{payload:u,shouldSyncCall:c}}getPageInfo(e){var t;const n=Me.page;return e&&(n.cnnUrl=document.querySelector&&((null===(t=document.querySelector("link[rel='canonical']"))||void 0===t?void 0:t.href)||""),n.pageViewId=window.VWO._.track.getTrackPageId&&window.VWO._.track.getTrackPageId()||window.VWO._.pageId),n}syncAdditionalDataWithEventsData(e,t){if(e)for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&"shouldSyncData"!==n){const o=e[n];if(void 0===o)continue;t.props?t.props[n]=o:t[n]=o}}resetDataForCurrentEvent(e){var t;let n=(null===(t=e._vwo)||void 0===t?void 0:t.eventDataConfig)||{};(n||e.props)&&(n={},e.props={})}excludeEventPropsNotToBeSynced(e,t,n){var o,i,r,s,a,c,d;const l=["fireLinkedTagSync","isTrusted","page","$visitor","isCustomEvent","forceCall","VWO"];if(!n.isCustomEvent){const n=(null===(s=null===(r=null===(i=null===(o=e.currentSettings)||void 0===o?void 0:o.dataStore)||void 0===i?void 0:i.events)||void 0===r?void 0:r[t])||void 0===s?void 0:s.nS)||(null===(d=null===(c=null===(a=window.VWO._.allSettings.dataStore)||void 0===a?void 0:a.events)||void 0===c?void 0:c[t])||void 0===d?void 0:d.nS)||[];Array.prototype.push.apply(l,n)}if(!l||!l.length)return n;const u={},w=window.VWO._.allSettings.dataStore.events[t];for(const e in n)if(Object.prototype.hasOwnProperty.call(n,e)){const t=n[e];l.indexOf(e)>-1?delete u[e]:u[e]=!w&&t?St(t,100):t}return u}}var po;ho.UNREG_EVENT_LOCAL_STORAGE_NAME="vwoUnRegEvents",function(e){e.PRE="PRE",e.POST="POST"}(po||(po={}));const go=()=>{let e=[],t=[],n=!1;const o=n=>{const o=e.length>0,i=t.length>0;return n?n===po.PRE?o:n===po.POST?i:void 0:o||i},i=(i,r)=>{if(!n||!o(i))return r;const s=!r||!Ct(r),a=Object.assign({},Wn((()=>r.d.event.props))||{}),d=Wn((()=>r.d.event.name));let l=Object.assign({},r);const u=i===po.POST?t:e;for(const e of u)if("function"==typeof e)try{l=e(l)||l}catch(e){c.warn(`Error while running ${i}-Hook callback!`)}return s?r:(i===po.PRE&&uo(d)&&((e,t)=>{const n=e.d.event.name,o=window.VWO._.allSettings.dataStore.events[n];if(!o.wP)return;Object.assign(t,o.wP||{});const i=e.d.event.props;for(const e in i)Object.prototype.hasOwnProperty.call(i,e)&&!(e in t)&&delete i[e]})(l,a),l)};return{init:(o,i)=>{Array.isArray(i.preHookList)&&(e=[...e,...i.preHookList]),Array.isArray(i.postHookList)&&(t=[...t,...i.postHookList]),o.event.addPreHook=t=>(e.push(t),e.length-1),o.event.addPostHook=e=>(t.push(e),t.length-1),n=!0},runAllHooks(e,t){const n=i(po.PRE,e);return{processedData:n,wrappedCallback:(...e)=>{i(po.POST,n),t(...e)}}},canRunHook:o}},vo=go();class fo extends ho{handleDomTriggeredEvent(e){const t=e.name;t.indexOf("vwo_dom_")<0||(t===de.DOM_CLICK&&(e.name="click"),t===de.DOM_SUBMIT&&(e.name="submit"))}sendCall(e,t,n,o,i,r,s,a){var c;if(!mn.shouldWeTrackVisitor()||zn.isBot2()||we.deferOnConsent("sendCall",this,o,r,s,n,e,t,n,o,i,r,s,{cu:window.VWO._.lastPageUnloadURL||document.URL.slice(0,100),ru:document.referrer}))return;const d=null==t?void 0:t.successCallback,l=null==t?void 0:t.errorCallback,u=(null===(c=window.VWO.data.accountJSInfo)||void 0===c?void 0:c.collUrl)||Me.serverUrl,w=Me.accountId,_=u.endsWith("/");let h=o,p=u;if(s){p+=`${_?"":"/"}events/${_o(s.name)?"t":"t/u"}?en=${s.name}&a=${w}&v=${window.VWO.v_e}`;let e=h;if(vo.canRunHook()){const t=vo.runAllHooks(n,e);n=t.processedData,e=t.wrappedCallback}Wo(s.name),h=function(...t){e.call(this,...t),Po(s.name,Object.assign(Object.assign(Object.assign({},s),n.d.event.props),{url:void 0}))}}else{if(!t)return;p=p+t.url+"&vn="+t.vn+"&vns="+t.vns+"&vno="+t.vno+"&eTime="+wt()+"&v="+window.VWO.v_e}window.VWO.consentMode&&a&&(p.indexOf("&cu=")<0&&(p+="&cu="+encodeURIComponent(a.cu.slice(0,100))),document.referrer&&p.indexOf("&ru=")<0&&a.ru&&(p+="&ru="+encodeURIComponent(a.ru.slice(0,100)))),window.VWO._.isBeaconAvailable=!0,i=window.VWO.data.tB&&(window.VWO._.isLinkRedirecting||i);let g=n&&"object"==typeof n&&0===Object.keys(n).length?"":n;g&&"string"!=typeof g&&(g=window.VWO._.native.JSON.stringify(g));co({url:p,complete:h,success:d,error:l,data:g,useBeacon:i,callbackContext:r}).typeOfCall!==co.callTypes.BEACON&&(window.VWO._.isBeaconAvailable=!1)}addDataFromMTAndSend(e,t,n,o,i,r,s,a){if(o=o||Ye,s&&s.name===de.VARIATION_SHOWN){s.props.extraData=zn.extraData2(!1,!0);try{const e=window.VWO._.native.JSON.parse(O.get("vwoSn")||"{}"),t={r:window.VWO.data.vi&&"new"===window.VWO.data.vi.vt?0:1,su:decodeURIComponent(e.cu)||"",ru:decodeURIComponent(e.r)||"",ed:s.props.extraData};n.d&&(n.d.sD=t)}catch(e){window.VWO._.customError&&window.VWO._.customError({msg:"Issue with session data payload to be sent in events call",url:"dataSync/utils.ts"})}if("SPLIT_URL"==_vwo_exp[a].type){const e=o;o=function(){e(r),window.VWO._.phoenixMT.trigger(`vwo_vSCallSent_${a}`,{id:a,comb:_vwo_exp[a].combination_chosen}),_vwo_exp[a].vSCallSent=!0},[708427].includes(window._vwo_acc_id)&&5==a&&kn({msg:"Variation shown sent."})}}this.sendCall(e,t,n,o,i,r,s)}getDataForEventsCall(e,t,n){const o=window.VWO.modules.tags.sessionInfoService,{payload:i,shouldSyncCall:r}=this.evaluateDataForEventsCall(e,t,n);return i.d.sessionId=o.getSessionId(),{data:i,shouldSyncCall:r}}}const Oo=new fo;window.VWO.modules.tags.dataSync={utils:Oo};var mo=new fo;class Eo extends no{execute({event:e},t,n,o,i,r){if(o=o||Ye,window._vis_debug)o&&o(i);else if(mo.shouldSendEventCall({eventDataConfig:t},e)){r=r||zn.createUUIDCookie2(n);const{data:s,shouldSyncCall:a}=mo.getDataForEventsCall({eventDataConfig:t},r,e);a&&mo.sendCall(null,null,s,o,!0,i,e)}else o&&o(i)}}const So=new Eo,To=So.execute.bind(So);function Co(e,t){var n;const o=e.conflictingPropsData||{};if(!e.props){e.props={};const n=["name","props","_vwo","_meta","conflictingPropsData","eventUuid"];for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n.includes(t)||(e.props[t]=e[t]));Object.assign(e.props,o),Object.keys(t).forEach((n=>{e.props[n]=t[n]}))}e.aux&&(e.props.aux=e.aux),e.time=e.time||(null===(n=e.VWO)||void 0===n?void 0:n.firedTime)||+new Date}window.VWO.modules.tags.dataSync=Object.assign(window.VWO.modules.tags.dataSync,To);class yo{toAbsURL(e){return new URL(e,document.baseURI).href}isHashPresent(e){return-1!==e.indexOf("#")}isQueryParamPresent(e,t){var n=e.indexOf("#"),o=e.indexOf("?"),i=t?-1:e.indexOf("=");return-1===n?-1!==o||-1!==i:-1!==o&&n>o||-1!==i&&n>i}otherSide(...e){return e[0]="VWO.modules.vwoUtils.urlUtils."+e[0],window.fetcher.getValue(...e)}}class Io extends yo{getUrlVars(e){var t,n,o,i={};for(-1!==e.indexOf("#")&&(e=e.slice(0,e.indexOf("#"))),n=(o=e.slice(e.indexOf("?")+1).split("&").reverse()).length;n--;)if(void 0===i[(t=o[n].split("="))[0]]){let e=t[1];(478778==window._vwo_acc_id||window._vwo_acc_id>495077)&&(e=t.slice(1).join("=")),i[t[0]]=e}else i[t[0]]=i[t[0]]+"&"+t[0]+"="+t[1];return i}}const Vo=new Io;function Ao(e,t,n,o=null){return window.fetcher.getValue('VWO.modules.events.fireEventAndSyncData("${{1}}","${{2}}","${{3}}", "${{4}}" )',null,{captureGroups:[null,t,n,o]})}function No(e,t,n={},o=null){var i;let r;t.name=e||t.name,Co(t,n),t.name===de.DOM_SUBMIT||t.name===de.DOM_CLICK&&t.targetUrl?t.props.targetUrl=t.targetUrl=Vo.toAbsURL(t.targetUrl):t.name===de.VARIATION_SHOWN&&(r=window._vwo_exp[t.props.id]);const s=null===(i=t._vwo)||void 0===i?void 0:i.eventDataConfig;if(s){const e=Object.keys(s);for(let n=e.length-1;n>=0;--n){const i=e[n];t._vwo.eventDataConfig=s[i],delete s[i],To({event:t},s,null,o,null,i)}}else To({event:t},r)}window.VWO.modules.vwoUtils.urlUtils=Vo;let bo={};function Ro(e){e?bo[e]={}:bo={}}function Lo(e,{shouldNotUnhide:t,tagName:n,campId:o}){bo[o]=bo[o]||{},t||n&&bo[o][n]||(n&&(bo[o][n]=!0),window.VWO._.phoenixMT.trigger(de.UNHIDE_ELEMENT,e))}const Wo=e=>{Wn((()=>{window.fetcher.getValue('window.VWO.modules.events.markEventSyncedWT("${{1}}")',null,{captureGroups:[e]}).catch((e=>{}))}))},Po=(e,t)=>{wo(e)&&window.fetcher.getValue('window.VWO.modules.eventHistHandler.updateEventHist("${{1}}","${{2}}")',null,{captureGroups:[e,t]})};window.VWO.modules.events={syncEventsDataToDataLayer:No,fireEventAndSyncData:Ao};const Do={getDataStore:function(){return this.getDSCookieValueByIndex(1)},setDataStore:function(e){xe.create(Ht.TRACK_GLOBAL_COOKIE_NAME,this.getMetaStore()+"$"+e,Bt())},getMetaStore:function(){return this.getDSCookieValueByIndex(0)||""},setMetaStore:function(e){xe.create(Ht.TRACK_GLOBAL_COOKIE_NAME,e+"$"+this.getDataStore(),Bt())},getMetaInfoByIndex:function(e){return this.getMetaStore().split(":")[e]},setMetaInfoByIndex:function(e,t){var n=this.getMetaStore().split(":");n[e]=t,this.setMetaStore(n.join(":"))},setDataInfoByIndex:function(e,t){var n=this.getDataStore().split(":");n[e]=t,this.setDataStore(n.join(":"))},getDataInfoByIndex:function(e){return this.getDataStore().split(":")[e]},getDSCookieValueByIndex:function(e){var t=xe.get(Ht.TRACK_GLOBAL_COOKIE_NAME);return t?t.split("$")[e]:null},getCookieVersion:function(){return xe.get(Ht.TRACK_GLOBAL_COOKIE_NAME).split("$")[0].split(":")[Ht.COOKIE_VERSION_INDEX]},deleteDataStoreInfoByIndex:function(e){var t=this.getDataStore();t&&((t=t.split(":"))[e]="",t=t.join(":"),this.setDataStore(t))}};window.VWO._.commonCookieHandler=Do;const xo=1,Uo=2;function ko(){const e=Do.getMetaStore().split(":")[xo];return!!new RegExp("(,|^)"+to.INSIGHTS_FUNNEL+"_1").test(e)&&"1"}function Mo(e,t){var n=Uo,o=[e,t].join("_"),i=Do.getDataStore(),r=i.split(":");if(!r[n])for(let e=r.length;e<=n;e++)r[e]="";r[n].match(new RegExp("(?:^|,)("+e+"_[^,]+)"))?r[n]=r[n].replace(new RegExp("(^|,)("+e+"_[^,]+)"),"$1"+o):r[n]+=(0===r[n].length?"":",")+o,i=r.join(":"),Do.setDataStore(i)}function Go(e){Mo(e,1)}function Fo(e){Mo(e,0)}function $o(e,t){const n=Do.getDataStore().split(":")[Uo];return new RegExp("(,|^)"+e+"_"+t+"(,|$)").test(n)?"1":""}function jo(e){return $o(e,1)}function Ho(e){return $o(e,0)}function Bo(){var e;return d(this,void 0,void 0,(function*(){if(!(null===(e=window.VWO._.track)||void 0===e?void 0:e.loaded)&&ko()){const e=Object.keys(window._vwo_exp).map((function(e){return d(this,void 0,void 0,(function*(){const t=window._vwo_exp[e].type;zn.hasInsightsMetric(t)&&(yield Ao(window.VWO.phoenix,de._ACTIVATED,{id:e}))}))}));yield Promise.all(e),window.VWO._.phoenixMT.trigger("vwo_insightsActivated")}}))}window.VWO._.insightsUtils={isVisBucketedForTrack:ko,includeFunnel:Go,excludeFunnel:Fo,isFunnelIncluded:jo,isFunnelExcluded:Ho,activateFunnels:Bo};class Jo{mergeNestedObjects(...e){return e.reduce(((e,t)=>this.recursivelyMerge(e,t)))}mergeNestedObjectsV2(e={mergeArrays:!1},...t){return t.reduce(((t,n)=>this.recursivelyMerge(t,n,{},e)))}createNestedObjects(e,t){let n=e;return t&&t.split(".").forEach((e=>{Object.prototype.hasOwnProperty.call(n,e)||(n[e]={}),n=n[e]})),n}clearNestedObject(e,t){let n=e;const o=t.split("."),i=o[o.length-1];for(let e=0;e<o.length-1;e++)n=n[o[e]];he(n[i])?n[i]={}:delete n[i]}recursivelyMerge(e,t,n={},o={mergeArrays:!1}){if(he(e)&&he(t)){const i={};Object.keys(e).concat(Object.keys(t)).forEach((e=>{i[e]=1}));const r=Object.getOwnPropertyDescriptors(e),s=Object.getOwnPropertyDescriptors(t);return Object.keys(i).forEach((i=>{s[i]?Object.defineProperty(n,i,s[i]):Object.defineProperty(n,i,r[i]),this.recursivelyMerge(e[i],t[i],n[i],o)})),n}return o.mergeArrays&&pe(e)&&pe(t)?(pe(n)||(n=[]),n.splice(0,n.length,...e.concat(t)),n):t||e}}var Ko=new Jo;const qo=function(e){const t=e.toString();let n,o;((n=t.match(/^(?:async\s+)?([A-Za-z0-9_$]*)\s*=>/))||(n=t.match(/^(?:async\s+)?\((.*)\)\s*=>/))||(n=t.match(/^(?:async\s+)?function(?:\s+[A-Za-z_$]*)?\s*\((.*)\)\s*{/)))&&(o=n[1]);const i={};let r=!1;return o.split(",").forEach(((e,t)=>{"vwo_$"===e.trim()&&(i[t]=window.vwo_$,r=!0)})),r?function(...t){return Object.keys(i).forEach((e=>{+e<t.length&&(t[e]=i[e])})),e(...t)}:e};var Yo={};function Xo(e,t){const n=window.VWO._.allSettings.dataStore.campaigns||{};if(Object.hasOwnProperty.call(n,e)){if(xe.get("_vis_opt_exp_"+e+"_combi"))return delete Yo[e],!0;const o=n[e].combs||{};if(Object.hasOwnProperty.call(o,t))for(const e in o)Object.hasOwnProperty.call(o,e)&&(o[e]=e===t?1:0);return delete Yo[e],!0}return!1}function zo(e){if(!window._vis_debug&&!$e())if(Array.isArray(e)&&e.length)for(const t of e){const{e:e,v:n}=t;Xo(e,n)||(Yo[e]=n)}else for(const e in Yo)Object.hasOwnProperty.call(Yo,e)&&Xo(e,Yo[e])}var Qo=function(){};function Zo(e){window.vwo_iehack_queue||(window.vwo_iehack_queue=[]),window.vwo_iehack_queue.push(e)}function ei(e,t,n,o=!1){var i,r;if(!o&&!mn.shouldWeTrackVisitor())return;if(we.deferOnConsent("sendCall",this,t,null,null,null,e,null,n,o))return;var s,a=new Image;t=t||Qo,n=n||Qo,a.onload=function(){s||(s=1,t())},a.onerror=function(){s||(s=1,n())},e.serverUrl=(null===(r=null===(i=window.VWO.data)||void 0===i?void 0:i.accountJSInfo)||void 0===r?void 0:r.collUrl)||e.serverUrl||window._vwo_server_url;var c=e.serverUrl+e.url+"&vn="+e.vn+"&vns="+e.vns+"&vno="+e.vno+"&eTime="+wt()+"&v="+window.VWO.v_e;e.url.indexOf("&cu=")<0&&e.url.indexOf("&url=")<0&&(c+="&_cu="+encodeURIComponent(document.URL.slice(0,100))),document.referrer&&e.url.indexOf("&ru=")<0&&(c+="&_ru="+encodeURIComponent(document.referrer.slice(0,100))),c+="&random="+Math.random();const d=Wn((()=>window.VWO._.nativeConstants.get("navigator")))||window.navigator;"function"==typeof d.sendBeacon?d.sendBeacon(c):(a.src=c,Zo(a))}window.VWO.modules.vwoUtils.sendCall=ei;var ti={};const ni=function(e,t){this.dependencies={},this.callback=e,this.name=t};ni.prototype.add=function(e){e&&(this.dependencies[e]=0)},ni.prototype.unResolve=function(e){if(e)for(var t in this.dependencies)this.dependencies.hasOwnProperty(t)&&t===e&&(this.remove(e),this.add(e))},ni.prototype.resolve=function(e){if(e){for(var t in this.dependencies)this.dependencies.hasOwnProperty(t)&&t===e&&(this.dependencies[t]=1);this.canResolve(this.dependencies)&&this.callback()}},ni.prototype.remove=function(e){delete this.dependencies[e]},ni.prototype.canResolve=function(){for(var e in this.dependencies)if(this.dependencies.hasOwnProperty(e)&&!this.dependencies[e])return!1;return!0};const oi={init:function(e,t){var n=new ni(e,t);return t&&(ti[t]=n),n},getDependencyManager:function(e){return ti[e]}};let ii=3,ri=50,si=window._vwo_server_url||"https://dev.visualwebsiteoptimizer.com/",ai={TPC_SUPPORT_DETECTION_FAILED:"TPC_SUPPORT_DETECTION_FAILED",TPC_NOT_SUPPORTED:"TPC_NOT_SUPPORTED",LOCAL_OPT_OUT_PARTIALLY_FAILED:"LOCAL_OPT_OUT_PARTIALLY_FAILED",GLOBAL_OPT_OUT_DETECTON_FAILED:"GLOBAL_OPT_OUT_DETECTON_FAILED",GLOBAL_OPT_OUT_PARTIALLY_FAILED:"GLOBAL_OPT_OUT_PARTIALLY_FAILED"},ci={GLOBAL_OPT_OUT:"_vwo_global_opt_out",OPT_OUT:"_vis_opt_out",UUID:"_vwo_uuid",UUID_V2:"_vwo_uuid_v2",_VIS_OPT_:"_vis_opt_",_VWO_:"_vwo_"},di=function(){},li;const ui=function(e,t){const n=document.createElement("script"),o=100*Math.random(),i="jsonpCallback"+parseInt(o,10),r=document.getElementsByTagName("head")[0];window[i]=function(e){delete window[i],r.removeChild(n),t(e)},n.src=e+"?callback="+i+"&random="+Math.random(),r.appendChild(n)},wi={init:function(e){e&&(wi.options=e,wi.serverUrl=si,e.exG?(li=oi.init((function(){e.success(hi)}),"optOutDM"),li.add("thirdPartyCookieSupport"),li.add("globalOptOutStatus"),hi.isThirdPartyCookiesSupported({success:function(t){t?li.resolve("thirdPartyCookieSupport"):e.error({errorType:ai.TPC_NOT_SUPPORTED})},error:function(){e.error({errorType:ai.TPC_SUPPORT_DETECTION_FAILED})}}),hi.checkGlobalOptOutStatus({success:function(){li.resolve("globalOptOutStatus")},error:function(){e.error({errorType:ai.GLOBAL_OPT_OUT_DETECTON_FAILED})}})):(_i.isOptedOut=_i.checkOptOutStatus(),e.success(_i)))},process:function(e,t){const n=xe.get(ci.OPT_OUT,!0),o=window.location.href.indexOf("vwo_disable_alert")>-1;if(n||window.location.href.indexOf("vwo_opt_out=1")>-1)return n||o||alert("You have successfully opted out of VWO for this website."),_i.isOptedOut=!0,"0"!==n&&("2"!==n?wi.optOut(e,t):pi(),!0)},optOut:function(e,t){if(!e)return;mn.callStopAnalyzeAndSurvey(),e.domain||(e.domain=window._vwo_cookieDomain),(t=t||{}).success=t.success||di,t.error=t.error||di;const n=e.optOutExpiry||3650,o=xe.get(ci.OPT_OUT,!0);if(e.config&&e.config.maintainExperiences)return xe.create(ci.OPT_OUT,0,n,e.domain,void 0,!0),void mn.setOptOutStateConfig();o&&"0"!==o||(xe.create(ci.OPT_OUT,1,100,e.domain,void 0,!0),mn.setOptOutStateConfig()),e.url="cdc?cookies="+window.VWO._.native.JSON.stringify([{name_regex:"_vwo_uuid_*",isDeleted:1}])+"&accountId="+e.accountId+"&r="+Math.random(),e.serverUrl=si,e.retryRequest=e.retryRequest||0;const i=document.cookie.split(";");for(let t=0;t<i.length;t++)if((i[t].indexOf(ci._VIS_OPT_)>-1||i[t].indexOf(ci._VWO_)>-1)&&i[t].indexOf(ci.OPT_OUT)<0){const[n,o]=i[t].split("=");n&&xe.erase(n.trim(),e.domain,!0)}pi(),gi(),ei(e,(function(){gi(),xe.create(ci.OPT_OUT,2,100,e.domain,void 0,!0),window.VWO.phoenix&&window.VWO.phoenix("deactivate"),mn.setOptOutStateConfig(),t.success()}),(function(){e.retryRequest++,e.retryRequest<=ii?setTimeout((function(){wi.optOut(e,t)}),ri):t.error({errorType:ai.LOCAL_OPT_OUT_PARTIALLY_FAILED})}),!0)},updateGlobalOptOutState:function(e,t){wi.options=e,hi.checkGlobalOptOutStatus(t)}},_i={checkOptOutStatus:function(){return!!xe.get(ci.OPT_OUT,!0)},optOut:function(e,t){e?wi.process(wi.options,t):(xe.erase(ci.OPT_OUT,wi.options.domain,!0),_i.isOptedOut=!1)}},hi={globalOptOut:function(e,t){const n=wi.options,o=e?1:0,i=[{name:ci.GLOBAL_OPT_OUT,value:o,isDeleted:0}];t=t||{},n.url="cdc?cookies="+window.VWO._.native.JSON.stringify(i)+"&accountId="+n.accountId+"&r="+Math.random(),n.serverUrl=si,ei(n,(function(){hi.isGloballyOptedOut=e,t.success()}),(function(){t.error(ai.GLOBAL_OPT_OUT_PARTIALLY_FAILED)}),!0)},checkGlobalOptOutStatus:function(e){(e=e||{}).success=e.success||di,e.error=e.error||di,hi.isThirdPartyCookiesSupported({success:function(t){hi.isGloballyOptedOut=!!t&&!!parseInt(t[ci.GLOBAL_OPT_OUT],10),e.success(hi.isGloballyOptedOut)},error:e.error})},isThirdPartyCookiesSupported:function(e){(e=e||{}).success=e.success||di,e.error=e.error||di;const t=wi.options.accountId;ei({url:"cdc?cookies="+window.VWO._.native.JSON.stringify([{name:"_vis_opt_test_cookie",value:1,isDeleted:0}])+"&accountId="+t+"&r="+Math.random(),serverUrl:si,vn:window.VWO.v_e},(function(){ui(si+"cdc",(function(n){n&&n["_vis_opt_test_cookie_"+t]?(hi.tpc=!0,e.success(n)):(hi.tpc=!1,e.success(hi.tpc))}))}),(function(){e.error({errorType:ai.TPC_SUPPORT_DETECTION_FAILED})}),!0)}};function pi(){let e=window.VWO._.localStorageService;window.VWO._.jar&&(window.VWO._.jar.cookies={},window.VWO._.jar.syncingOff=!0,window.fetcher.setValue("window.VWO._.jar.syncingOff",!0)),xe.erase("_vwo",window._vwo_cookieDomain,!0),e.deleteItem("_vwo");try{e.deleteItem("vwoSn"),e.deleteItem("_vwo_nls_q_"+window._vwo_acc_id)}catch(e){}}function gi(){const e=window._vwo_exp_ids||[];for(let t=0;t<e.length;t++){const n=e[t];if(n&&window._vwo_exp[n]){const e=document.getElementById(`_vis_opt_path_hides_${n}`);e&&e.parentNode&&e.parentNode.removeChild(e)}}window._removeVwoGlobalStyle()}function vi(){const e=window.VWO;xe.erase(Ht.OPT_OUT,window._vwo_cookieDomain,!0),window.VWO.phoenix&&!mn.shouldExecuteLibOnBasisOfCurrentOptOutState()||(mn.setOptOutStateConfig(),e.nls&&delete e.nls.stopRecording,e.survey&&delete e.survey.stopCollectingData)}function fi(e={}){window.VWO.modules.otherLibDeps.stopAnalyzeAndSurvey(),wi.optOut({accountId:window._vwo_acc_id,config:e})}var Oi;!function(e){e[e.EVENT=40]="EVENT",e[e.ATTRIBUTE=40]="ATTRIBUTE"}(Oi||(Oi={}));const mi={EMPTY_EVENT:"Event name cannot be empty!",EVENT_MORE_THAN_LIMIT:"Event name should not be greater than 40 characters!",EVENT_NOT_STRING:"Invalid event name: event name can only be a string!",ATTRIBUTE_MORE_THAN_LIMIT:"Attribute name should not be greater than 40 characters!",ATTRIBUTE_NOT_OBJECT:"Invalid attribute type: attribute can only be an object!"};class Ei{static toCamelCase(e){return e.replace(/[^\w\s-.][\w]/g,(function(e){return e.toUpperCase()})).replace(/[^\w\s-.]/g,"").replace(/ [\w]/g,(function(e){return e.toUpperCase()})).replace(/ /g,"")}static filterPropertyName(e){let t=Ei.toCamelCase(e.slice(e.search(/[\w-.]/g)));return t=t.replace(/^(_|vwo_|\.|v_|i_|-)*/g,""),"props"===t?"":t}static filterEventName(e){if(this.whiteListedEvents[e])return e;let t=Ei.toCamelCase(e.slice(e.search(/[\w-.]/g)));return t=t.replace(/^(_|vwo_|\.|v_|i_|-)*/g,""),"visitors"===t.toLowerCase()&&(t+="_1"),t}static filterAttributeObjectKeys(e){if("object"!=typeof e||Array.isArray(e))return Ei.logWarningAndReportError(mi.ATTRIBUTE_NOT_OBJECT);const t={};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){let o=Ei.whiteListedProps[n]?n:Ei.filterPropertyName(n);if(!o.trim())return Ei.logWarningAndReportError(`Invalid attribute name: '${n}' is not allowed as an attribute name!`);o.length>40&&(o=o.slice(0,40),console.warn(mi.ATTRIBUTE_MORE_THAN_LIMIT));const i=he(e[n])||pe(e[n])?window.VWO._.native.JSON.stringify(e[n]):e[n];["name","time"].includes(o)?(t.conflictingPropsData=t.conflictingPropsData||{},t.conflictingPropsData[o]=i):t[o]=i}return t}static logWarningAndReportError(e){console.log("%cVWO Event API Error:","font-weight:bold;",e),window.VWO._.customError&&window.VWO._.customError({msg:"VWO Event API Error: "+e,url:"NamingUtil.ts",lineno:80,colno:10})}}Ei.whiteListedProps={vwo_hubspot_id:!0},Ei.whiteListedEvents={[de.RECOM_BLOCK_SHOWN]:!0};const Si={combi:"cb",goal:"gl",exclude:"ex",uuid:"ud",split:"sp"},Ti=()=>{const e={q:Ht.VWO_COOKIE_QUERY_PARAM,d:""};try{let t="";const n=window._vwo_exp||{},o=window.VWO._.cookies.getAll(),i={};for(const e in o)if(o[e]){const r=o[e],s=Ze.campaignCookies.exec(e),a=Ze.uuidCookie.exec(e),c=(s||a||[])[1];if(!c||n[c]&&!n[c].multiple_domains)continue;if(a&&a[1])t+=`ud_${a[1]}=${r}`;else if(s&&s[1]){const e=s[2].split("_"),n=e[0],o=e[1],a=Si[n];if(!a)continue;if("goal"===n){const e=`${a}_${c}`;if(+r>1)t+=`${e}_${o}=${r}`;else{i[e]=i[e]||"";const t=i[e].length;t>0&&","!==i[e][t-1]&&(i[e]+=","),i[e]+=o}}else t+=`${a}_${c}=${r}`}"|"!==t[t.length-1]&&(t+="|")}Object.keys(i).forEach((e=>{t+=`${e}_${i[e]}=1|`})),e.d=t&&encodeURIComponent(t.slice(0,t.length-1))}catch(e){}return e},Ci=()=>{if(!window._vwo_code)return null;const e=window._vwo_code||{},t=window.performance.getEntriesByType("resource").find((e=>e.name.includes("/j.php?a=")));let n=-1,o=-1;if(t){const e=Math.abs(t.fetchStart-t.startTime),i=Math.abs(t.requestStart-t.fetchStart),r=Math.abs(t.responseEnd-t.responseStart),s=+window._VWO_Jphp_StartTime;o=e+i+r,n=isNaN(s)?-1:s-t.responseEnd}return{settings_tolerance:Wn((()=>e.settings_tolerance())),library_tolerance:Wn((()=>e.library_tolerance())),settingsTimedOut:!!e.sT,libraryTimedOut:!!e.lT,timeToStartExecuteJphp:n,totalDownloadTime:o}};function yi(e,t){const n=(e=-1,t="")=>{switch(e){case 0:return Ei.logWarningAndReportError(mi.EMPTY_EVENT);case 1:return console.warn(mi.EVENT_MORE_THAN_LIMIT);case 2:return Ei.logWarningAndReportError(`Invalid event name: '${t}' is not allowed as an event name!`);default:return Ei.logWarningAndReportError(mi.EVENT_NOT_STRING)}};if("string"!=typeof e)return n();if(!(e=e.trim()))return n(0);const o=e;if(!(e=Ei.filterEventName(e)))return n(2,o);e.length>40&&(n(1),e=e.slice(0,40));const i=Ei.filterAttributeObjectKeys(t);return i?{eventName:e,filteredAttributeObject:i}:void 0}function Ii(e,t,n){const o=window.VWO;switch(e.toLowerCase()){case"tags":o.phoenix.tags.add(t,n.fn);break;case"operators":o.phoenix.operators.add(n.fn);break;case"storages":o.phoenix.storages.add(n);break;case"store":o.phoenix.store.actions.addValues(n)}}class Vi{constructor(e){if(this.state="loading",this.preInitializedEventHooks={},this.getPerformanceEntries=Ci,this.getCrossDomainInfo=Ti,this.visitorConfig=(()=>{const e=new Promise((e=>{const t=window.VWO._.destroySession;"function"==typeof t?e(t):window.VWO._.destroySession=t=>{e(t)}})).then((e=>(delete window.VWO._.destroySession,e)));return{destroySession(){return d(this,void 0,void 0,(function*(){(yield e)()}))}}})(),e instanceof Vi)return void Object.keys(e).forEach((t=>{this[t]=e[t]}));this.queue=e.slice(),this._=e._||{},this._.performance=gn,this._.isWorkerThread=!1,this.nonce=e.nonce,Object.defineProperty(this,"modules",{value:e.modules,enumerable:!1,configurable:!1}),this.sTs=e.sTs,this.data=e.data||{},this.TRACK_SESSION_COOKIE_EXPIRY_CUSTOM=e.TRACK_SESSION_COOKIE_EXPIRY_CUSTOM,this.onEventReceive=e.onEventReceive,this.onVariationApplied=e.onVariationApplied,this.onSurveyShown=e.onSurveyShown,this.onSurveyCompleted=e.onSurveyCompleted,this.onSurveyAnswerSubmitted=e.onSurveyAnswerSubmitted,this.onVWOLoaded=e.onVWOLoaded,this.onVariationShownSent=e.onVariationShownSent,this.optOut=wi,this.init=e.init,this.consentMode=e.consentMode,this.preInitializedEventHooks=e.event||{},this.addPreHook=e=>{this.preInitializedEventHooks?(this.preInitializedEventHooks.preHookList=this.preInitializedEventHooks.preHookList||[],this.preInitializedEventHooks.preHookList.push(e)):this.event.addPreHook(e)},this.addPostHook=e=>{this.preInitializedEventHooks?(this.preInitializedEventHooks.postHookList=this.preInitializedEventHooks.postHookList||[],this.preInitializedEventHooks.postHookList.push(e)):this.event.addPostHook(e)},this.optInVisitor=vi,this.optOutVisitor=fi,this.load_co=e.load_co,this.tag=e.tag,this.v_e=e.v_e,this.v=e.v;let t=0;for(const e of this.queue)this[t]=e,t++;this.length=this.queue.length}config(e){return e&&(this.configSettings=e),this.configSettings}definePlugin(e,t={}){const n=e.split(".")[0],o=e.split(".")[1],i=window.VWO;i.phoenix?Ii(n,o,t):(i.pluginStorage=i.pluginStorage||{},i.pluginStorage[n]=i.pluginStorage[n]||{},o?(i.pluginStorage[n][o]=i.pluginStorage[n][o]||{},i.pluginStorage[n][o]=Ko.mergeNestedObjects(i.pluginStorage[n][o],t)):i.pluginStorage[n]=Ko.mergeNestedObjects(i.pluginStorage[n],t))}addPhoenix(e){this.event=function(e,t,n){var o,i;const r=yi(e,t=t||{});if(!r)return;let s=null;he(n)&&("function"==typeof n.cb&&(s=n.cb),delete n.cb,r.filteredAttributeObject.$metaData=n),(null===(o=window._vwoCc)||void 0===o?void 0:o.delayCustomGoal)?(null===(i=window.VWO._.phoenixMT.getEventHistory("vwo_campaignsLoaded"))||void 0===i?void 0:i.length)>0?this.otherSide("event",[r.eventName,r.filteredAttributeObject,s]):window.VWO._.phoenixMT.on("vwo_campaignsLoaded",(()=>this.otherSide("event",[r.eventName,r.filteredAttributeObject,s]))):this.otherSide("event",[r.eventName,r.filteredAttributeObject,s])},vo.init(this,this.preInitializedEventHooks),delete this.preInitializedEventHooks,this.visitor=function(e,t){if(!e)return;const n=Ei.filterAttributeObjectKeys(e);n&&(he(t)&&(n.$metaData=t),this.otherSide("visitor",[n]),Fn(n))},this.syncAttributes=function(){this.otherSide("syncAttributes",[])},this.syncEvents=function(){this.otherSide("syncEvents",[])},this.setVariation=zo,this.phoenix=e}splice(...e){const t=this.queue.splice.apply(this.queue,e);return this.length=this.queue.length,t}push(...e){const t=this.queue.push.apply(this.queue,e);return this.length=this.queue.length,this[this.length-1]=this.queue[this.queue.length-1],t}sort(...e){return this.queue.sort.apply(this.queue,e)}updateSettings(e,t){const n=e.tags;for(var o in Object.keys(n).forEach((e=>{n[e].fn=qo(n[e].fn)})),window.VWO._.allSettings.triggers=Object.assign(Object.assign({},window.VWO._.allSettings.triggers),e.triggers),e.tags)window.VWO._.allSettings.tags[o]||(window.VWO._.allSettings.tags[o]=e.tags[o]);this.pageGroup.add(e.pages,e.pagesEval);const i=e.dataStore.plugins.PIICONFIG;i&&(window.VWO._.allSettings.dataStore.plugins.PIICONFIG={globalBlacklist:i.GBBL,queryParamSettings:window.VWO._.native.JSON.parse(i.QPS),globalValueRegex:i.GVR}),delete window.VWO._.goalsToBeConvertedSynchronously;const r=!!ie(window.VWO._.track).length;window.fetcher.setValue("window.VWO.sTs",window.VWO.sTs),this.otherSide("updateSettings",[r,e,t])}otherSide(...e){e[0]="VWO."+e[0],window.fetcher.getValue(...e)}}var Ai=[];const Ni=["dev.visualwebsiteoptimizer.com","d5phz18u4wuww.cloudfront.net","cdn-cn.vwo-analytics.com"];function bi(e){let t=!1;for(let n=0;n<Ni.length;n++)if(e.indexOf(Ni[n])>=0){t=!0;break}return t}var Ri=function(e){if(bi(e&&e.url||""))for(var t=0;t<Ai.length;t++)Ai[t](e)};function Li(e){var t,n,o,i={msg:e.message||(null===(t=e.reason)||void 0===t?void 0:t.message),stack:(null===(n=e.error)||void 0===n?void 0:n.stack)||(null===(o=e.reason)||void 0===o?void 0:o.stack),url:e.filename||e.reason&&(e.reason.stack||e.reason.message),lineno:e.lineno,colno:e.colno,source:"uncaughtErr"};Ri(i)}window.addEventListener?(window.addEventListener("error",Li),window.addEventListener("unhandledrejection",Li)):window.attachEvent&&window.attachEvent("onerror",(function(e,t,n,o){Ri({msg:e,url:t,lineno:n,colno:o,source:"uncaughtErr"})}));const Wi=function(e){e&&"function"==typeof e&&Ai.push(e)};class Pi{formatErrorObject(e){return"string"==typeof e&&(e={msg:e}),e}setCustomError(e){const t=this;window.VWO._.customError=function(n){n=t.formatErrorObject(n),e(n)}}}let Di;class xi extends Pi{setErrorTrackingCallback(e){var t;const n=e.encodeURIComponent,o=e.accountId,i=(null===(t=window.VWO.data.accountJSInfo)||void 0===t?void 0:t.collUrl)||e.serverUrl,r=this;var s=0;const a=function(e){var t,a=(e=e||{}).msg&&e.msg.substring(0,1e3),c=e.stack&&e.stack.substring(0,1e3);const d=e.lineno,l=e.colno,u=e.source,w=e.url,_=Di||r.getEmptyTriggerIdsIfAny(),h="ee.gif?"+(w?"f="+n(e.url):"")+(d?"&l="+d:"")+(l?"&c="+e.colno:"")+"&a="+o+(u?"&s="+n(u):"")+(Array.isArray(_)&&_.length?"&eT="+n(_.join()):"")+"&e="+n(a)+"&stack="+n(c);if(s<50&&(s++,ei({url:h,serverUrl:i},void 0,void 0,!0)),null==_?void 0:_.length){null===(t=window._vwo_code)||void 0===t||t.finish();const e=vwo_$('[id^="_vis_opt_path_hides"]');if(e.length)for(let t=0;t<e.length;t++)vwo_$(e[t]).remove()}};return Wi(a),a}getEmptyTriggerIdsIfAny(){const{triggers:e}=window.VWO._.allSettings||{},t=[];return Object.keys(e).forEach((n=>{Object.keys(e[n]).length||t.push(n)})),Di=t,t}errorTracking({getters:e}){const t=this.setErrorTrackingCallback(e);this.setCustomError(t)}}const Ui=new xi,ki=Ui.errorTracking.bind(Ui);window.VWO.modules.tags=window.VWO.modules.tags||{},window.VWO.modules.tags.errorTracking=ki,window.VWO.modules.tags.errorTrackingCallback=Ui.setErrorTrackingCallback;var Mi=window.console||{log:function(){}},Gi;window.VWO._.prVWO=window.VWO._.prVWO||[];const Fi={processEvent:function(e,t,n,o,i){if("[object Array]"!==Object.prototype.toString.call(e))return 0;try{var r,s,a,c=e[0],d=e.slice(1),l=-1!==c.indexOf(".");return l&&0===c.indexOf(t)||!l?(l?(r=n[(s=c.split("."))[0]][s[1]],a=n[s[0]]):(r=n[c],a=n),r?(window.VWO._.prVWO=window.VWO._.prVWO.concat(i.queue?i.splice(o,1):i.queue),r.apply(a,d),1):0):0}catch(t){return Mi.log("Error occured in VWO Process Event ("+(e&&e[0])+"): ",t),0}},addPushListener:function(e,t,n){var o=t.push;t.push=function(...i){let r=0;return i.forEach((i=>{r=function(i){const r=o.apply(t,[].slice.call(arguments));return t.queue&&t.queue[t.queue.length-1]===i?Fi.processEvent(i,e,n,t.queue.length-1,t):t.queue||t[t.length-1]!==i||Fi.processEvent(i,e,n,t.length-1,t),r}(i)})),r}},init:function(e,t,n,o,i=!0){Gi=n?t[n]=t[n]||[]:t||[],this.vwoApi=o,Fi.process(e,Gi,t),i&&Fi.addPushListener(e,Gi,t)},initTrack:function(e,t){Fi.init(e,window.VWO,t)},process:function(e,t,n){var o=0;t.sort((function(e){return"config"===e[0]?-1:0}));const i=t.queue?t.queue:t;for(;o<i.length;)0===Fi.processEvent(i[o],e,n,o,t)&&o++}};window.VWO&&(window.VWO._=window.VWO._||{},window.VWO._.vwoLib=Fi);class $i{}class ji{}const Hi=function(){let e;if(window.VWO._.eventsManager)return window.VWO._.eventsManager;var t=[],n=!0,o=[],i=[],r={bind:"unbind",live:"die",on:"off"},s=[];var a=/iPhone|iPad/.test(navigator.userAgent);function c(e){return!window.VWO.DONT_IOS&&(!("touchmove"!==e&&"touchstart"!==e&&"touchend"!==e||!a)||void 0)}function d(e,t){n&&s.push({type:e,state:t,ref:e[t]})}function l(){for(var e=s.length-1;e>=0;e--){var t=s[e];t.type[t.state]=t.ref}}return e={addEventListener:function(o,i,r,s){if(!c(i))return n&&t.push({$el:o,name:i,callback:r,capture:s}),o.addEventListener?o.addEventListener(i,r,s):o.attachEvent&&o.attachEvent("on"+i,r,s),e},addMutationObserver:function(e,t,n,o){var r;if(void 0!==window.MutationObserver?r=window.MutationObserver:void 0!==window.WebKitMutationObserver&&(r=window.WebKitMutationObserver),r)try{const r=new MutationObserver(e.bind(o));i.push(r),r.observe(t,n)}catch(e){}},clearAllListeners:function(){for(var n=0;n<t.length;n++){var a=t[n],c=a.$el;a.jqType?(d=c,u=a.jqType,w=a.eventName,_=a.callback,h=a.selector,p=a.capture,u&&(h?d[r[u]]&&d[r[u]](w,h,_,p):d[r[u]]&&d[r[u]](w,_,p))):c.removeEventListener?c.removeEventListener(a.name,a.callback,a.capture):c.detachEvent&&c.detachEvent("on"+a.name,a.callback)}var d,u,w,_,h,p;return i.forEach((e=>{e.disconnect()})),function(){for(var e=0;e<o.length;e++){var t=o[e];"interval"===t.type?clearInterval(t.name):clearTimeout(t.name)}}(),l(),t.length=0,s.length=0,i.length=0,o.length=0,e},addJqEventListener:function(o,i,r,s,a,d){return c(r)||(n&&t.push({$el:o,jqType:i,eventName:r,callback:s,selector:a,capture:d}),a?o[i](r,a,s,d):o[i](r,s,void 0,d)),e},pushTimers:function(t,i){if(n)return o.push({name:t,type:i}),e},addOverrideState:d,overrideHistoryPush:function(e,t,o){if(n){var i=e[o];d(e,o),e[o]=function(n){var o=i.apply(e,[].slice.call(arguments));try{t({state:n})}catch(e){}return o}}},revertOverriddenStates:l,init:function(e){n=e.shouldPushToQueue}},window.VWO._.eventsManager=e,e}(),Bi={};let Ji=!1,Ki=[];const qi=gt((function(e){const t=window[e].push({event:"VWO"});Ji&&Ki&&Ki.push(t-1),"dataLayer"!==e&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"VWO"}))}),1);function Yi(e){var t=setInterval((function(){if(window.GoogleAnalyticsObject||window.ga){var n=window.GoogleAnalyticsObject||"ga";if(window[n].getAll){clearInterval(t);var o=window[n].getAll(),i=!1;window.gtag&&o&&o[0]&&o[0].get("name").indexOf("gtag")>=0&&(i=!0),e(i,n)}}}),100);Hi.pushTimers(t,"interval")}function Xi(e,t,n,o,i){Yi((function(r,s){if(r){var a=i,c={event_category:o,non_interaction:!0};c[e]=t,i&&(c.send_to=a),window.gtag("event",n,c)}else{(window[s]=window[s]||function(){(window[s].q=window[s].q||[]).push(arguments)})((function(r){(r=window[s].getByName(i)||r).set(e,t),r.send("event",o,n,{nonInteraction:!0})}))}}))}function zi(e,t,n,o){if(!$e()&&!window._vis_debug)try{o=o||"GA",n&&""!==n?"GA"===o&&(n+="."):n="";var i="GA"===o?4:1;if(t=t||window._vis_opt_GA_slot||i,Bi[e].c)if("GA"===o)window._gaq=window._gaq||[],window._gaq.push((function(){void 0===window.pageTracker||n?window._gaq.push([n+"_setCustomVar",t,"VWO-"+e,Bi[e].n,1],[n+"_trackEvent","VWO","Visit","",0,!0]):(window.pageTracker._setCustomVar(t,"VWO-"+e,Bi[e].n,1),window.pageTracker._trackEvent("VWO","Visit","",0,!0))}));else{var r="dimension"+t,s="CampId:"+e+", VarName:"+Bi[e].n;Xi(r,s,"Custom","VWO",n)}}catch(t){window.VWO._.customError&&window.VWO._.customError({msg:"Error while pushing data in GA for experiment id - "+e,url:"core.js",lineno:2922,colno:9,source:encodeURIComponent("VWO-GA-push")})}}function Qi(){let e,t;e=setInterval((()=>{if(window.google_tag_manager){const n=mt();window.dataLayer&&window.dataLayer.length&&"dataLayer"!==n&&window.dataLayer.filter(((e,t)=>-1!==Ki.indexOf(t))).forEach((e=>{window[n]=window[n]||[],window[n].push(e)})),Ki=void 0,clearInterval(e),clearTimeout(t)}}),50),t=setTimeout((function(){clearInterval(e)}),5e3)}function Zi(e,t){const n=window._vwo_exp;if(zn.isSessionBasedCampaign2(n[e]))return;let o=0;Bi[e]={},Bi[e].c=t,Bi[e].n=n[e].comb_n[Bi[e].c]||"";const i=n[e].GA?"GA":n[e].UA?"UA":"";let r;if(i&&!n[e][i].tracked&&(zi(e,n[e][i].s,n[e][i].p,i),n[e][i].tracked=!0),n[e].GTM){Ji||window.google_tag_manager||(Qi(),Ji=!0),r=mt();const t={};t["Campaign-"+e]=Bi[e].n,window[r]=window[r]||[];const n=window[r].push(t);Ji&&Ki&&Ki.push(n-1),"dataLayer"!==r&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push(t)),o=1}o&&qi(r)}window.VWO.modules.utils.collectAndSendDataForGA=Zi;class er extends ji{executeCode(e){if(e)try{vwo_$("head").append(e)}catch(e){}}}class tr{otherSide(...e){return e[0]="window.VWO.modules.utils.campaignUtils."+e[0],window.fetcher.getValue(...e)}updateGoalCookieValueForExperience(e,t){let n=e?e.split("mE_")[1].split(","):[];return n.includes(t)||n.push(t),`mE_${n.join(",")}`}isGoalTriggeredForExperience(e,t){return(e?e.split("mE_")[1].split(","):[]).includes(t)}}var nr=function(e){return e.replace(/^(https?:\/\/)(?:w{3}\.)?(.*?)(?:\/(?:home|default|index)\..{3,4}|\/$)?(?:\/)?([\?#].*)?$/i,"$1$2$3")},or=function(e){return e.replace(/^(https?:\/\/)(?:w{3}\.)?(.*?)(?:(?:home|default|index)\..{3,4})?([\?#].*)?$/i,"$1$2$3")},ir=function(e){return or(e).replace(/\/\?/gi,"?")},rr=window._vis_opt_url,sr;class ar{constructor(){sr=this}regexEscape(e){return e.replace(/[\-\[\]{}()*+?.,\/\\^$|#\s]/g,"\\$&")}cleanURL(e,t){return rr&&!t?rr:e.replace(/^(.*[^\*])(\/(home|default|index)\..{3,4})((\?|#).*)*$/i,"$1$4")}removeWWW(e,t){return e=e.replace(/^(https?:\/\/)(www\.)?(.*)$/i,"$1$3"),t&&(e=e.replace(/(^\*?|\/\/)www\./i,"$1")),e}stripSlashes(e,t,n){if(e=e.replace(/\/$/,""),t){var o=e.indexOf("/?");e.indexOf("?")-1===o&&(e=e.replace(/\/\?([^\?]*)(.*)/,"?$1$2"))}if(n){var i=e.indexOf("/#");e.indexOf("#")-1===i&&(e=e.replace(/\/#([^#]*)(.*)/,"#$1$2"))}return e}cleanPattern(e){let t="";return{regex:e.replace(/\(\?([a-zA-Z])\)/g,((...e)=>(e[1]&&(t+=e[1]),""))),flags:t}}matchRegex(e,t,n,o){if("string"!=typeof e||"string"!=typeof t)return!1;let i="ig";if(o){const{regex:n,flags:o}=sr.cleanPattern(t);i=o||"g";try{return new RegExp(n,i).exec(e)||sr.matchRelativeUrl(e,n,i)}catch(e){const o="Failed to create regex for the pattern: "+t+", the cleaned regex derived from the pattern is: "+n+" and regexFlag is: "+i;return c.error(o),!1}}var r=function(n){return new RegExp(t,i).exec(e)||new RegExp(t,i).exec(n(e))||sr.matchRelativeUrl(e,t,i,n)};let s=nr,a=!1;390187==window._vwo_acc_id&&(a=!0),a&&(s=ir);var d=r(s);return d&&!a?(s=or,n&&r(s)||d):d}matchRelativeUrl(e,t,n,o){if(0===e.indexOf("http"))return!1;const i=(new yo).toAbsURL(e);var r=new RegExp(t,n).exec(i);return o&&!r&&(r=new RegExp(t,n).exec(o(i))),!!r}matchWildcard(e,t,n){if("string"!=typeof e||"string"!=typeof t)return!1;const o=new yo;var i=o.isQueryParamPresent(t),r=o.isHashPresent(t),s=o.isQueryParamPresent(e),a=o.isHashPresent(e);i||(s&&a?e=e.replace(/^(.*?)(\?[^#]*)(#?.*)$/,"$1$3"):s&&!a&&(e=e.replace(/^(.*)(\?.*)$/,"$1"))),r||a&&(e=e.replace(/^(.*?)(#.*)$/,"$1")),"/"!==e&&(e=sr.stripSlashes(e,s,a)),"/"!==t&&(t=sr.stripSlashes(t,i,r));var c,d,l=new RegExp("^"+sr.regexEscape(t).replace(/\\\*/g,"(.*)")+"$","gi");return l.test(e)?(l=new RegExp("^"+sr.regexEscape(t).replace(/\\\*/g,"(.*)")+"$","gi"),!n||l.exec(e)):(e=sr.removeWWW(e),t=sr.removeWWW(t,!0),(l=new RegExp("^"+sr.regexEscape(t).replace(/\\\*/g,"(.*)")+"$","gi")).test(e)?(l=new RegExp("^"+sr.regexEscape(t).replace(/\\\*/g,"(.*)")+"$","gi"),!n||l.exec(e)):(c=sr.cleanURL(t,!0),-1===t.indexOf("*")&&((d=sr.removeWWW(o.toAbsURL(e)).replace(/\/$/,"").replace(/\/\?/,"?"))===t||d===c)||(e=sr.cleanURL(e),t=c,!!(l=new RegExp("^"+sr.regexEscape(t).replace(/\\\*/g,"(.*)")+"$","gi")).test(e)&&(l=new RegExp("^"+sr.regexEscape(t).replace(/\\\*/g,"(.*)")+"$","gi"),!n||l.exec(e)))))}}const cr=new ar;window.VWO.modules.vwoUtils.url=cr,window.VWO._.matchRegex=cr.matchRegex;class dr{verifyUrl(e,t,n,o){let i=!1;const r=o?e:this.getCleanedUrl(e);if(t)if(o)i=!!cr.matchRegex(r,t,null,o);else{const n=this.getCleanedUrl(e,!0);i=!(!cr.matchRegex(r,t,null,o)&&!cr.matchRegex(n,t,!0,o))}else i=cr.matchWildcard(r,n)||cr.matchWildcard(e,n);return i}getCleanedUrl(e,t){if(!e)return;let n;return-1!==e.search(/_vis_(test_id|hash|opt_(preview_combination|random))=[a-z\.\d,]+&?/)?(n=e.replace(/_vis_(test_id|hash|opt_(preview_combination|random))=[a-z\.\d,]+&?/g,""),n=t?n.replace(/(\??&?)$/,""):n.replace(/(\/?\??&?)$/,"")):n=t?e:e.replace(/\/$/,""),n}compareUrlWithIncludeExcludeRegex(e,t,n,o){const i={};return n&&cr.matchRegex(e,n)?(i.didMatch=!1,i.reason=1,i):(i.didMatch=this.verifyUrl(e,t,o),i.reason=i.didMatch?2:3,i)}}const lr=new dr;class ur extends tr{clearTimeouts(e){this.otherSide("clearTimeouts",e)}markGoalTriggered(e,t){if(!mn.shouldWeTrackVisitor())return;const n=window.tracklib||window.VWO._.track;if("TRACK"===e.type)n.markGoalTriggered(e.id,t);else{let n=xe.get("_vis_opt_exp_"+e.id+"_goal_"+t);if(e.mE){const t=xe.get("_vis_opt_exp_"+e.id+"_combi");n=this.updateGoalCookieValueForExperience(n,t)}else e.goals[t].mca&&n&&(n=+n+1);zn.createCookieMT("_vis_opt_exp_"+e.id+"_goal_"+t,String(null!=n?n:1),100,e)}}clearTimeoutsHandler(e){var t;e.timeout=null===(t=window._vwo_exp[e.id])||void 0===t?void 0:t.timeout,cancelAnimationFrame(e.timeout),delete e.timeout}isGoalTriggered(e,t){if("TRACK"===e.type)return!window.VWO._.track.shouldTriggerGoal(e.id,t);if(e.goals[t].mca)return null;const n=xe.get("_vis_opt_exp_"+e.id+"_goal_"+t);if(e.mE){const t=xe.get("_vis_opt_exp_"+e.id+"_combi");return this.isGoalTriggeredForExperience(n,t)}return n}doExperimentHere(e,t={}){const{currentUrl:n}=Me;let o;if(e.pg_config){const t=e.pg_config[0];o=window.VWO.pageGroup.validatePage(t,null,n)}else o=lr.compareUrlWithIncludeExcludeRegex(n,t.urlRegex||e.urlRegex,t.excludeUrl||e.exclude_url,t.urlPattern||e.url_pattern);return[o.didMatch,o.reason]}getCombiCookie(e){return xe.get("_vis_opt_exp_"+e+"_combi")}getTrackGoalIdFromExp(e){return ie(window._vwo_exp[e].goals)[0]}getCombi(e,t){const n=E._.track,o=E._.insightsUtils;if("TRACK"===e.type)return n.isGoalIncluded?n.isGoalIncluded(this.getTrackGoalIdFromExp(e.id)):void(t||E.push(["track.delayedGoalConversion",{campaignId:e.id,type:"TRACK",goalId:this.getTrackGoalIdFromExp(e.id)}]));if("FUNNEL"===e.type)return n.isFunnelIncluded?n.isFunnelIncluded(e.id):void(t||E.push(["track.delayedGoalConversion",{campaignId:e.id,type:"FUNNEL"}]));if("INSIGHTS_FUNNEL"===e.type)return o.isFunnelIncluded(e.id);if(zn.hasInsightsMetric(e.type)){if(e.ready)return window.VWO._.insightsUtils.isVisBucketedForTrack()}else if(zn.isAnalyzeCampaign(e.type))return n.isAnalyzeCampaignIncluded?n.isAnalyzeCampaignIncluded(e.id):void(t||E.push(["track.delayedGoalConversion",{campaignId:e.id,type:e.type}]));return this.getCombiCookie(e.id)}}const wr=new ur;window.VWO.modules.utils.campaignUtils=wr;class _r extends dr{}const hr=new _r;window.VWO.modules.utils.urlUtils=hr;class pr extends er{constructor(){super(),this.preview=$e,this.currentCombinationXPaths={},window.VWO._.phoenixMT.on(de.CAMPAIGN_TAG_EXECUTED,(({rtag:e,id:t})=>{e&&zn.updateRTagsInfo(e,t)})),window.VWO._.phoenixMT.on("vwo_urlChangeMt",(()=>{Ro()})),window._vwo_api_section_callback={}}getElementIdentifierString(e,t){let n="vwo_loaded_"+e.id;return"VISUAL"!==e.type&&null!=t&&(n+="_"+t),n}isChangeAppliedOnElForCampaign(e,t,n){const o="string"==typeof e?e:e.tagName;return"head"===(null==o?void 0:o.toLowerCase())&&(n=null),vwo_$(e).hasClass("vwo_loaded")&&vwo_$(e).hasClass(this.getElementIdentifierString(t,n))}markChangeAppliedOnElForCampaign(e,t,n,o,i){"head"===(null==e?void 0:e.toLowerCase())&&(n=null);const r=this.getElementIdentifierString(t,n);return o&&vwo_$(o).addClass("vwo_loaded vwo_loaded_"+t.id+" _vwo_variation_"+i),vwo_$(e).addClass("vwo_loaded "+r)}unhideElementPerVariationEntry(e,t,n,o){const i={ruleName:"",rulesArr:[],campaignData:t,variation:zn.isPersonalizeCampaign(t)?o.combination:null};n&&n.cpath?i.rulesArr=[e,n.cpath]:i.ruleName=e,Lo(i,{shouldNotUnhide:o.shouldNotUnhide,tagName:n&&n.tag,campId:t.id})}tryApplyingChanges(e,t,n,o){var i,r,s;zn.isDomIndependentCampaign(t.type)||((null===(i=window._vwoCc)||void 0===i?void 0:i.disableRetryWhenMutDisabled)||(null===(s=null===(r=t.muts)||void 0===r?void 0:r.post)||void 0===s?void 0:s.enabled)||!t.xPath||zn.isXpathAllHead(t,t.xPath)||(t.timeout=requestAnimationFrame((()=>{this.tryApplyingChanges(e,t,n,o)})),window._vwo_exp[t.id]&&(window._vwo_exp[t.id].timeout=t.timeout)),Ro(t.id),this.applyChanges(e,t,n,o),window._vwo_exp[t.id]&&(window._vwo_exp[t.id].mutElg=!0))}applyChanges(e,t,n,o,i=[]){var r,s,a;n||(n={trigger:function(e,t){return d(this,void 0,void 0,(function*(){yield window.VWO.phoenix('trigger("${{1}}", "${{2}}")',null,{captureGroups:[e,t]})}))}}),t.cA=!0;const l=window.VWO;let u,w,_,h,p,g,v,f,O=e.split(","),m=0;const E=t.type,S=t.sections,T=window._vwo_exp[t.id].sections,C=Me.apiSectionCallback||{},y=window.vwo_$;try{for("VISUAL_AB"===E&&(v=i.length>0?i:S[1].variations[e],v?("object"!=typeof v&&(v=vwo_$.parseJSON(v)),O=new Array(v.length)):O=[]),g=O.length,null===(r=window.VWO._.phoenixMT)||void 0===r||r.trigger(de.SET_CAMPAIGN_TO_OBSERVE,{campaignId:t.id}),p=0;p<g;p++){u=void 0;const r=null==v?void 0:v[p],c=null==r?void 0:r.dHE;w=null==r?void 0:r.rtag;const d=v&&v[p].entryIndex||p;if(v&&(null===(s=v[p])||void 0===s?void 0:s.iT)?window.vwo_$.setItCallback||(window.vwo_$=(...e)=>(e.push({iT:!0}),y(...e)),Object.assign(window.vwo_$,y),window.vwo_$.setItCallback=!0):window.vwo_$!==y&&(window.vwo_$=y),"VISUAL_AB"===E){if(m=1,!(_=r.xpath))continue;"head"===_.toLowerCase()||this.isChangeAppliedOnElForCampaign(_,t,d)?delete this.currentCombinationXPaths[_]:this.currentCombinationXPaths[_]=[m,e],u=l._.allSettings.tags[r.tag].fn}else{if(_=S[++m].path,!_)continue;if("head"===_.toLowerCase()||this.isChangeAppliedOnElForCampaign(_,t,d)||(this.currentCombinationXPaths[_]=[m,O[p]]),1===t.version&&1===parseInt(O[p],10)){n.trigger(de.ELEMENT_LOADED,{oldArgs:[t.id,m,O[p],_]}),this.markChangeAppliedOnElForCampaign(_,t,d),this.unhideElementPerVariationEntry(_,t,v&&v[p],{combination:e,shouldNotUnhide:c});continue}S[m].variations[O[p]].length>0&&(u=window.VWO._.allSettings.tags[S[m].variations[O[p]][0].tag].fn||Ye)}const g=u?u.toString():"";if(v&&v[p].t&&0===i.length){const i=[Object.assign(Object.assign({},v[p]),{entryIndex:p})];an(Object.assign(Object.assign({},v[p]),{campId:t.id}),function(){this.applyChanges(e,t,n,o,i)}.bind(this));continue}if("head"===_.toLowerCase()){if(T[m].loaded=T[m].loaded||{},!0===T[m].loaded[d])continue;n.trigger(de.ELEMENT_LOADED,{oldArgs:[t.id,m,O[p],_]}),n.trigger(de.ELEMENT_CHANGES_APPLIED,{oldArgs:[t.id,m,"VISUAL"===E?O[p]:e,_,g]}),Ao(n,de.MODIFIED_ELEMENT,{id:t.id,section_id:m,combination:"VISUAL"===E?O[p]:e,path:_,content:u})}f=vwo_$(_);const I=this;if(f&&f.length){if(h=f.filter((function(e,n){return!I.isChangeAppliedOnElForCampaign(n,t,d)})),h.length||"head"!==_.toLocaleLowerCase()||T[m].loaded[d]||(h=f),0<h.length){"head"===_.toLowerCase()&&(T[m].loaded[d]=!0),"VISUAL"===E?n.trigger(de.ELEMENT_LOADED,{oldArgs:[t.id,m,O[p],_]}):n.trigger(de.ELEMENT_LOADED,{oldArgs:[t.id,"1",e,_]}),delete this.currentCombinationXPaths[_];const o=[];let i;const r=function(e,t){o.push({path:t,changes:String(e).split(" ")})};-1!==g.indexOf("_vwo_api_section_callback")&&(i=[],h.each((function(){i.push(vwo_$(this).clone())}))),window.VWO_SECTION_ID=m;const s=u&&u(r,"",{id:t.id});window.VWO._.phoenixMT.trigger(de.CAMPAIGN_TAG_EXECUTED,{rtag:w,id:t.id}),void 0!==i&&vwo_$(i).each((function(){C[m]&&"function"==typeof C[m]&&C[m](vwo_$(_),this)})),this.unhideElementPerVariationEntry(_,t,v&&v[p],{combination:e,shouldNotUnhide:c}),this.markChangeAppliedOnElForCampaign(_,t,d,s,m),null===(a=window.VWO._.phoenixMT)||void 0===a||a.trigger(de.INIT_VWO_INTERNALS,{elementSelector:_,campaignId:t.id}),"VISUAL"===E?(n.trigger(de.ELEMENT_CHANGES_APPLIED,{oldArgs:[t.id,m,O[p],_,g,o]}),Ao(n,de.MODIFIED_ELEMENT,{name:de.MODIFIED_ELEMENT,time:+new Date,props:{id:t.id,section:m,combination:O[p],path:_,content:u,debugLog:o}})):(n.trigger(de.ELEMENT_CHANGES_APPLIED,{oldArgs:[t.id,"1",e,_,g,o]}),Ao(n,de.MODIFIED_ELEMENT,{name:de.MODIFIED_ELEMENT,time:+new Date,props:{id:t.id,section:"1",combination:e,path:_,content:u,debugLog:o}})),Ao(n,de.ELEMENT_CHANGES_APPLIED,{name:de.ELEMENT_CHANGES_APPLIED,time:+new Date,props:{id:t.id,section:"1",combination:e,path:_}}),t[Je]=1}else this.unhideElementPerVariationEntry(_,t,v&&v[p],{combination:e,shouldNotUnhide:c});v&&v[p].frEvt&&sn(v[p].tag)}else this.unhideElementPerVariationEntry(_,t,v&&v[p],{combination:e,shouldNotUnhide:c});null!=(o=window.VWO._[`keepElementLoadedRunning_${t.id}`]||o)&&l._.coreLib.finished&&this.shouldCancelInterval(o,t.id,t)&&wr.clearTimeouts(t)}}catch(o){n.trigger(de.ELEMENT_LOAD_ERROR,{oldArgs:[t.id,e,o]}),c.error(o)}window.vwo_$=y,delete window.VWO_SECTION_ID}processRedirect({getters:e,campaignData:t,redirectURL:n,isNewVisitor:o}){window.VWO._.triggerEvent(de.REDIRECT_DECISION,!0,t.id);let i,r,s,a,c,d,l,u,w=!1;const _=e.location;if(w=t.urlRegex?cr.matchRegex(hr.getCleanedUrl(e.currentUrl,!0),t.urlRegex,!0):cr.matchWildcard(hr.getCleanedUrl(e.currentUrl,!0),t.url_pattern,!0),w&&1!==w.length){for(a="",l=n.split("*"),i=1,r=l.length;i<r;i++){if(t.urlRegex&&w[i]&&(Vo.isQueryParamPresent(w[i])||Vo.isHashPresent(w[i]))){const e=t.sections[1].variations[1];Vo.isQueryParamPresent(e)||Vo.isHashPresent(e)?Vo.isHashPresent(e)&&!Vo.isQueryParamPresent(e)?w[i]=w[i].replace(/^(.*?)(?:\?[^#]*)(#?.*)$/,"$1$2"):!Vo.isHashPresent(e)&&Vo.isQueryParamPresent(e)&&(w[i]=w[i].replace(/#.*/,"")):w[i]=w[i].replace(/[\?#].*/,"")}a+=l[i-1]+(w[i]||"")}a+=l[l.length-1]}else a=n;if(a=a.replace(/\*/g,""),_.search)if(Vo.isQueryParamPresent(a,!0))for(d=Vo.getUrlVars(_.search),c=Vo.getUrlVars(a),u=ie(d),r=u.length;r--;)s=u[r],void 0===c[s]&&(a+="&"+s+"="+d[s]);else Vo.isHashPresent(a)?a=a.replace(/(.*?)#(.*)/,"$1"+_.search+"#$2"):a+=_.search;if(_.hash&&-1===a.indexOf("#")&&(a+=_.hash),window.fetcher.getValue('phoenix.trigger("${{1}}","${{2}}")',null,{captureGroups:[de.BEFORE_REDIRECT_TO_URL,{oldArgs:[t.id,a]}]}),e.flags.cookieLessModeEnabled){if(!e.vwoInternalProperties.jar)throw new Error("CooKie less feature is enabled but CookieJar is not created i.e. VWO._.jar is undefined");const t=e.storages.storages.cookies.getStoredJarValue(!0);if(!(a.indexOf("_vwo_store=")>-1))throw new Error("CooKie Less feature is enabled but _vwo_store= do not exists in URL's query Param");{let e=a.match(/.*_vwo_store=([^&]*)/);e=e?e[1]:"",a=a.replace(`_vwo_store=${e}`,`_vwo_store=${t}`)}}const h=e=>{try{const n=bn(t.id);let o=!1;if(o=new URL(e).origin===_.origin,n&&o)return history.replaceState(null,null,e),void zn.removeCampaignLevelStyleTag(t.id)}catch(e){}_.replace(e)};if(window.VWO._.willRedirectionOccur=!1,window._vis_debug||!o||window._vwo_exp[t.id].vSCallSent)zn.saveVSDataInStorageForSplit(t.id,window._vwo_exp[t.id].combination_chosen,a),h(a);else{const e=window.VWO._.phoenixMT.on(`vwo_vSCallSent_${t.id}`,(({id:t,comb:n})=>{window.VWO._.phoenixMT.off(e),zn.saveVSDataInStorageForSplit(t,n,a),h(a)}))}}shouldCancelInterval(e,t,n){return!e||0==e||1!==e&&!0!==e&&(2===e?!t||(!zn.isDomDependent(n.type)||!!n[Je]):3!==e&&void 0)}otherSide(...e){e[0]="tags.runTestCampaign.utils."+e[0],window.fetcher.getValue(...e)}}const gr=new pr;window.VWO.modules.tags.runTestCampaign=window.VWO.modules.tags.runTestCampaign||{},window.VWO.modules.tags.runTestCampaign.utils=gr;const vr={SURVEY_INIT:"s.init",SURVEY_SHOWN:"s.shn",SURVEY_READY:"s._ready",SURVEY_COMPLETED:"s.cmtd",SURVEY_ATTEMPTED:"s.atd",SURVEY_CLOSED:"s.cld",SURVEY_MINIMIZED:"s.mnmz"},fr={TRACK_SESSION_CREATED:"tSC",RETRACK_VISITOR:"rV",NEW_SESSION_CREATED:"nSC'",TOP_INITIALIZE_BEGIN:"tIB",TOP_INITIALIZE_ERROR:"tIE",TOP_INITIALIZE_END:"tIEn",UNHIDE_ALL_VARIATIONS:"uAV",UNHIDE_VARIATION:"uV",UNHIDE_SECTION:"uS",EXCLUDE_URL:"eURL",BEFORE_REDIRECT_TO_URL:"bRTR",URL_CHANGED:"uC",NOT_REDIRECTING:"nR",REGISTER_HIT:"rH",UPDATE_SETTINGS_CALL:"uSC",REGISTER_CONVERSION:"rC",CONVERT_ALL_VISIT_GOALS_FOR_EXPERIMENT:"cAVGFE",CONVERT_REVENUE_GOALS_FOR_EXPERIMENT:"cRGFE",HIDE_ELEMENTS:"hE",POST_URL_CHANGE:"hC",AFTER_SAMPLING_TRIGGER:"sT",ELEMENT_LOAD_ERROR:"eLTTE",ELEMENT_LOAD_TIMER_STOP:"eLTSt",CHOOSE_COMBINATION:"cC",BOTTOM_INITIALIZE_BEGIN:"bIB",BOTTOM_INITIALIZE_END:"bIE",ELEMENT_LOADED:"eL",ELEMENT_NOT_LOADED:"eNL",SPLIT_URL:"sURL",MATCH_WILDCARD:"mW",DELETE_CSS_RULE:"dCSSR",HEATMAP_CLICK:"hCl",CONVERT_GOAL_FOR_ALL_EXPERIMENTS:"cGFAE",TEST_NOT_RUNNING:"tNR",EXCLUDE_GOAL_URL:"eGURL",VARIATION_SHOWN:"vS",VARIATION_SHOWN_SENT:"vSS",RECORDING_NOT_ELIGIBLE:"rNE",VARIATION_APPLIED:"vA",NEW_SURVEY_FOUND:"nSF",SURVEY_INIT:"s.init",SURVEY_READY:"s._ready",SURVEY_ATTEMPTED:"s.atd",SURVEY_SHOWN:"s.shn",SURVEY_COMPLETED:"s.cmtd",SURVEY_CLOSED:"s.cld",SURVEY_MINIMIZED:"s.mnmz",ELEMENT_CHANGES_APPLIED:"eCA",SEGMENTATION_EVALUATED:"sE",ELEMENTS_SHOWN_WITHOUT_CHANGES:"eSWC",ON_SURVEY_SHOWN:"oSS",ON_SURVEY_COMPLETED:"oSC",ON_SURVEY_ANSWER_SUBMITTED:"oSASUB",OPT_OUT:"oO",TRACK_NEW_SESSION_CREATED:"tnSC",ACTIVATE_API_TRIGGERED:"aAT",COOKIE_CONSENT_DENIED:"cCD",COOKIE_CONSENT_ACCEPTED:"cCA",COOKIE_CONSENT_REJECTED:"cCR",COOKIE_CONSENT_TIMEOUT:"cCT",DOM_CLICK:"vwo_dom_click",ERROR_ONPAGE:"vwo_errorOnPage",CURSOR_THRASHED:"vwo_cursorThrashed",PAGE_REFRESHED:"vwo_pageRefreshed",QUICK_BACK:"vwo_quickBack",COPY:"vwo_copy",SELECTION:"vwo_selection",MOUSEOUT:"vwo_mouseout",LEAVE_INTENT:"vwo_leaveIntent",EXCESSIVE_SCROLLED:"vwo_excessiveScrolled"},Or={[de.VARIATION_SHOWN]:"VARIATION_SHOWN",[de.SPLIT_VARIATION_SHOWN]:"VARIATION_SHOWN",[de.VARIATION_APPLIED]:"VARIATION_APPLIED",[de.ELEMENT_CHANGES_APPLIED]:"ELEMENT_CHANGES_APPLIED",[de.REGISTER_CONVERSION]:"REGISTER_CONVERSION",[de.VWO_EXECUTED]:"VWO_EXECUTED",[de.VARIATION_SHOWN_SENT]:"VARIATION_SHOWN_SENT",[de.ACTIVATE_API_TRIGGERED]:"ACTIVATE_API_TRIGGERED",[de.COOKIE_CONSENT_REJECTED]:"COOKIE_CONSENT_REJECTED",[de.COOKIE_CONSENT_ACCEPTED]:"COOKIE_CONSENT_ACCEPTED",[de.COOKIE_CONSENT_TIMEOUT]:"COOKIE_CONSENT_TIMEOUT",sE:"SEGMENTATION_EVALUATED",eSWC:"ELEMENTS_SHOWN_WITHOUT_CHANGES",tNR:"TEST_NOT_RUNNING",hC:"POST_URL_CHANGE",sT:"AFTER_SAMPLING_TRIGGER",nSC:"NEW_SESSION_CREATED",cFS:"TOP_INITIALIZE_BEGIN",cGFAE:"CONVERT_GOAL_FOR_ALL_EXPERIMENTS",hCl:"HEATMAP_CLICK",eGURL:"EXCLUDE_GOAL_URL",cAVGFE:"CONVERT_ALL_VISIT_GOALS_FOR_EXPERIMENT",cFE:"TOP_INITIALIZE_END",uAV:"UNHIDE_ALL_VARIATIONS",uS:"UNHIDE_SECTION",shouldExecLib:"TOP_INITIALIZE_ERROR",eURL:"EXCLUDE_URL",cRGFE:"CONVERT_REVENUE_GOALS_FOR_EXPERIMENT",bRTR:"BEFORE_REDIRECT_TO_URL",uC:"URL_CHANGED",hE:"HIDE_ELEMENTS",eLTTE:"ELEMENT_LOAD_ERROR",eLTSt:"ELEMENT_LOAD_TIMER_STOP",cC:"CHOOSE_COMBINATION",sAC:"BOTTOM_INITIALIZE_BEGIN",uSC:"UPDATE_SETTINGS_CALL",eAC:"BOTTOM_INITIALIZE_END",eL:"ELEMENT_LOADED",eNL:"ELEMENT_NOT_LOADED",registerHit:"REGISTER_HIT",mW:"MATCH_WILDCARD",dCSSR:"DELETE_CSS_RULE",sURL:"SPLIT_URL",nSF:"NEW_SURVEY_FOUND",oSS:"ON_SURVEY_SHOWN",oSC:"ON_SURVEY_COMPLETED",oSASUB:"ON_SURVEY_ANSWER_SUBMITTED",oO:"OPT_OUT",[de.RETRACK_VISITOR]:"RETRACK_VISITOR",[vr.SURVEY_INIT]:"SURVEY_INIT",[vr.SURVEY_READY]:"SURVEY_READY",[vr.SURVEY_ATTEMPTED]:"SURVEY_ATTEMPTED",[vr.SURVEY_SHOWN]:"SURVEY_SHOWN",[vr.SURVEY_COMPLETED]:"SURVEY_COMPLETED",[vr.SURVEY_CLOSED]:"SURVEY_CLOSED",[vr.SURVEY_MINIMIZED]:"SURVEY_MINIMIZED"},mr={[de.VARIATION_SHOWN]:function(e){return[e.id+"",e.variation]}};class Er extends $i{constructor(){super(),this.isNotRedirectingEventFired=!1,this.vwoEvents={trigger:function(e,t){return d(this,void 0,void 0,(function*(){yield window.VWO.phoenix('trigger("${{1}}", "${{2}}")',null,{captureGroups:[e,t]})}))}},window.VWO._.phoenixMT.on(de.VARIATION_SHOWN_SENT,(e=>{const t=window.VWO._.native.JSON.parse(localStorage.getItem(ze.VS_DATA));t&&delete t[e]&&(Object.keys(t).length>0?localStorage.setItem(ze.VS_DATA,window.VWO._.native.JSON.stringify(t)):localStorage.removeItem(ze.VS_DATA))}))}execute(){var e,t;window._vis_opt_goal_conversion=function(e){var t,n;(null===(t=window._vwoCc)||void 0===t?void 0:t.delayCustomGoal)?(null===(n=window.VWO._.phoenixMT.getEventHistory("vwo_campaignsLoaded"))||void 0===n?void 0:n.length)>0?Ao(null,de.CUSTOM_CONVERSION,{gId:e,["gId_"+e]:1}):window.VWO._.phoenixMT.on("vwo_campaignsLoaded",(()=>{Ao(null,de.CUSTOM_CONVERSION,{gId:e,["gId_"+e]:1})})):Ao(null,de.CUSTOM_CONVERSION,{gId:e,["gId_"+e]:1})},window._vis_opt_register_conversion=function(e,t){var n,o;(null===(n=window._vwoCc)||void 0===n?void 0:n.delayCustomGoal)?(null===(o=window.VWO._.phoenixMT.getEventHistory("vwo_campaignsLoaded"))||void 0===o?void 0:o.length)>0?Ao(null,de.CUSTOM_CONVERSION,{cId:t,gId:e,["gId_"+e]:1}):window.VWO._.phoenixMT.on("vwo_campaignsLoaded",(()=>{Ao(null,de.CUSTOM_CONVERSION,{cId:t,gId:e,["gId_"+e]:1})})):Ao(null,de.CUSTOM_CONVERSION,{cId:t,gId:e,["gId_"+e]:1})},window._vis_opt_revenue_conversion=function(e){var t,n;(null===(t=window._vwoCc)||void 0===t?void 0:t.delayCustomGoal)?(null===(n=window.VWO._.phoenixMT.getEventHistory("vwo_campaignsLoaded"))||void 0===n?void 0:n.length)>0?Ao(null,de.REVENUE_CONVERSION,{revenue:e}):window.VWO._.phoenixMT.on("vwo_campaignsLoaded",(()=>{Ao(null,de.REVENUE_CONVERSION,{revenue:e})})):Ao(null,de.REVENUE_CONVERSION,{revenue:e})},window.VWO.track=window.VWO.track||{},window.VWO.track.goalConversion=function(e){return d(this,void 0,void 0,(function*(){yield window.fetcher.getValue("VWO.modules.tags.backwardCompatibilityUtils.customGoalConversion",[e,!0])}))},window.VWO.track.revenueConversion=function(e){return d(this,void 0,void 0,(function*(){yield window.fetcher.getValue("VWO.modules.tags.backwardCompatibilityUtils.customRevenueConversion",[e,!0])}))},window.VWO.track.delayedGoalConversion=function(e){return d(this,void 0,void 0,(function*(){yield window.fetcher.getValue("VWO.modules.tags.backwardCompatibilityUtils.delayedGoalConversion",[e])}))},window._vis_opt_createCookie=function(e,t,n,o){zn.createCookieMT(e,t,n,window._vwo_exp[o])},null===(t=null===(e=window.VWO_d)||void 0===e?void 0:e.resetPreviewData)||void 0===t||t.call(e),window._vis_opt_readCookie=xe.get,window._vis_opt_element_loaded=gr.tryApplyingChanges}checkIfNotRedirecting(e){this.isNotRedirectingEventFired||e.name!==de.PAGE_VIEW||this.isNotRedirectingEventFired||(this.isNotRedirectingEventFired=!0,v.apply(v,[fr.NOT_REDIRECTING]))}wildCardCallback(e,t){this.checkIfNotRedirecting(e);const n=Or[t];if(n&&de.VARIATION_APPLIED!==t){const o=fr[n];let i,r=null==e?void 0:e.oldArgs;if(r?i=!0:r=[],!i&&mr[t]&&(r=mr[t](e.props)),t!==de.VARIATION_SHOWN||e.props.isFirst||e.props.isSplitVariation?t===de.ELEMENT_CHANGES_APPLIED?i&&v.apply(v,[o,...r]):t!==de.VARIATION_SHOWN&&(t==de.CAMPAIGN_FLOW_START&&window._vwo_code&&(window._vwo_code.libExecuted=1,window.fetcher.setValue("_vwo_code.libExecuted",1)),v.apply(v,[o,...r]),t==de.CAMPAIGN_FLOW_START&&window.VWO.phoenix('trigger("${{1}}")',null,{captureGroups:[de.TIB_DONE]})):v.apply(v,[o,...r]),t===de.VARIATION_SHOWN&&!e.props.isFirst&&!e.props.isSplitVariation||t===de.SPLIT_VARIATION_SHOWN||t==de.REGISTER_HIT){const e=Or[de.VARIATION_APPLIED],t=fr[e];v.apply(v,[t,...r]),this.vwoEvents.trigger(de.VARIATION_APPLIED,{oldArgs:r,campaignId:parseInt(r[0],Ke),combi:r[1].includes(",")?r[1]:parseInt(r[1],Ke)})}}}}const Sr=new Er,Tr=Sr.execute.bind(Sr),Cr=Sr.wildCardCallback.bind(Sr);window.VWO.modules.tags.backwardCompatibility=Tr,window.VWO.modules.tags.wildCardCallback=Cr;class yr{otherSide(...e){return e[0]="VWO.modules.tags.backwardCompatibilityUtils."+e[0],e[2]&&(e[2]={captureGroups:e[2]}),window.fetcher.getValue(...e)}}let Ir;function Vr(e){return d(this,void 0,void 0,(function*(){yield E.phoenix('store.actions.addValues("${{1}}", "${{2}}" )',null,{captureGroups:[e,"vwoInternalProperties"]})}))}class Ar{constructor(){this.apiCallbacks={}}register(e,t){this.apiCallbacks[e]=this.apiCallbacks[e]||[],this.apiCallbacks[e].push(t)}executeAll(e,t){this.apiCallbacks[e]&&this.apiCallbacks[e].forEach((e=>{e(t)}))}}const Nr=new Ar;let br=!1;class Rr extends yr{postPhoenixMTHook(){this.makeSessionAndTagCall()}declareVWOAPI(){E.applyChanges=function(e){return d(this,void 0,void 0,(function*(){const t=[],n=(yield E.phoenix("store.getters")).currentSettings.dataStore.campaigns;for(const e in n)t.push(e);e=e||t;for(var o=0;o<e.length;o++){const t=e[o],i=zn.isBotScreen();yield window.fetcher.getValue('VWO.modules.events.events.variationShown("${{1}}", "${{2}}", "${{3}}")',null,{captureGroups:[null,Object.assign({id:t,variation:"",isFirst:0},i&&{vwoMeta:{isBot:i}}),n[t]]})}}))},E.activate=function(e,t,n,o){var i;return d(this,void 0,void 0,(function*(){if(!$e()&&!window._vis_debug||!window.VWO._.blockedState){window.VWO.phoenix('trigger("${{1}}")',null,{captureGroups:[de.ACTIVATE_API_TRIGGERED]});var n,r={};if("object"==typeof e&&(e=(r=e).keepElementLoadedRunning,t=r.expIds,r.manual,o=r.customUrl,n=r.virtualPageUrl),o){if((Wn((()=>window._vwoCc.activateApiOnce))||window._vwo_acc_id>81e4)&&o===window._vis_opt_url)return;window._vis_opt_url=o,window.fetcher.setValue("_vis_opt_url",window._vis_opt_url)}if(t=t||window._vwo_exp_ids,"string"==typeof n&&n.trim())window._vis_opt_url=n,(null===(i=window._vwoCc)||void 0===i?void 0:i.enableSpaVisibility)&&window.VWO._.phoenixMT.trigger(de.SPA_VISIBILITY_SERVICE),yield window.fetcher.getValue('phoenix.trigger("${{1}}", "${{2}}")',null,{captureGroups:["vwo_urlChange",{virtualPageUrl:n,location:{href:window.location.href,search:window.location.search,hash:window.location.hash}}]});else if(t&&t.length){for(const n of t){const t=window._vwo_exp[n];if(t){if(zn.isSessionBasedCampaign2(t)){Ao(null,de._ACTIVATED,{id:n});continue}(null==t?void 0:t.manual)&&(window.VWO._[`keepElementLoadedRunning_${n}`]=e,Vr({[`keepElementLoadedRunning_${n}`]:e}),Ao(null,de.ACTIVATED,{id:n}))}}o&&(yield window.fetcher.getValue("VWO.modules.tags.activate"))}}}))},E.revertChanges=function(e){return d(this,void 0,void 0,(function*(){const t=(yield E.phoenix("store.getters")).currentSettings.dataStore.campaigns[e];if(t&&t.sections)for(var n=ot(t.sections),o=0;o<n.length;o++)vwo_$(".vwo_loaded.vwo_loaded_"+e+"._vwo_variation_"+n[o]).remove(),delete t.sections[n[o]].loaded,yield window.fetcher.setValue(`VWO._.allSettings.dataStore.campaigns.${e}.sections.${n[o]}.loaded`,void 0)}))},E.modifyClickPauseTime=function(e){e=e||{time:0,useBeacon:!1},E._.redirectionDelayTime=e.time,e.useBeacon&&(E.data.tB=!0)},E.destroy=function(){return d(this,void 0,void 0,(function*(){yield E.phoenix("destroy()"),Hi.clearAllListeners()}))},E.setFetchSettingsDelay=function(e){Vr({SPA_SETTINGS_DELAY:e})},E.disableAutofetchSettings=function(){Vr({disableAutofetchSettings:!0})};const e=(e,t)=>{var n=vwo_$(e),o=Array.from(n[0].classList);for(let e=0;e<o.length;e++)if(o[e].indexOf(t)>-1)return n.removeClass(o[e]),!0;return!1};E.refreshElements=function(t,n){var o;return d(this,void 0,void 0,(function*(){if(!t)return;t instanceof Array||(t=[t]);const i=yield E.phoenix("store.getters"),r=[];for(const e in i.currentSettings.dataStore.campaigns)r.push(e);n=n||r;for(var s=vwo_$(t.join(",")),a=0;a<n.length;a++){var c="vwo_loaded_"+n[a];s.each((function(t,n){if(!e(n,c)){const t=Array.from(vwo_$(n).parents());for(let n=0;n<t.length&&!e(t[n],c);n++);}}))}for(const e of n){const t=null===(o=i.currentSettings.dataStore.campaigns)||void 0===o?void 0:o[e];if(t&&t.ready){const n=zn.isBotScreen();yield window.fetcher.getValue('VWO.modules.events.events.variationShown("${{1}}", "${{2}}", "${{3}}")',null,{captureGroups:[null,Object.assign({id:e,variation:"",isFirst:0},n&&{vwoMeta:{isBot:n}}),t]})}}}))},E.fetchPCSettings=function(){Ir||(Ir=!0,Vr({loadPC:!0}))},E.enableSPA=function(e){Vr(void 0===e||e?{isSpaEnabled:!0}:{isSpaEnabled:e})},E.updateSPAWaitTime=function(e){Vr({SPA_ELEMENT_WAIT_TIMEOUT:e})},E.onEventTriggered=function(e){Nr.register("onEventTriggered",e),br||(br=!0,window.VWO.phoenix('on("${{1}}", "${{2}}")',null,{captureGroups:["*",e=>{if(e.isCustomEvent){const t={event:e.name};e.$metaData&&(t.metaData=e.$metaData,delete e.$metaData),delete e.page,delete e.isCustomEvent,delete e.name,Object.keys(e).length>0&&(t.props=e),Nr.executeAll("onEventTriggered",t)}}]}))},E.onVWOCampaignsLoaded=function(e,t){"object"==typeof t&&+t.count>0&&Object.assign(e,t),window.VWO._.bucketedCampaignsAPIStore=window.VWO._.bucketedCampaignsAPIStore||{},window.VWO._.bucketedCampaignsAPIStore.callbacks=window.VWO._.bucketedCampaignsAPIStore.callbacks||[],window.VWO._.bucketedCampaignsAPIStore.campaigns&&(e({bucketed_campaigns:window.VWO._.bucketedCampaignsAPIStore.campaigns}),Wn((()=>"number"==typeof e.count))&&--e.count),window.VWO._.bucketedCampaignsAPIStore.callbacks.push(e)};const t={state:!1,decisionState:null,cb:[]};window.VWO._.phoenixMT.on("vwoRedirectDecision",(e=>{t.state||(t.state=!0,t.decisionState=e,t.cb.forEach((t=>t(e))))})),window.VWO._.phoenixMT.on("vwo_urlChangeMt",(()=>{t.state=!1,t.decisionState=null})),E.onSplitRedirectionDecided=e=>{t.state&&e(t.decisionState),t.cb.push(e)},E.deactivate=function(e){return d(this,void 0,void 0,(function*(){const t=yield E.phoenix("store.getters");for(const n of e)t.settings.campaigns[n].dontKillTimer=!1,yield window.fetcher.setValue(`VWO._.allSettings.dataStore.campaigns.${n}.dontKillTimer`,!1)}))}}makeSessionAndTagCall(){window.VWO._.phoenixMT.on(de.NEW_SESSION_CREATED,(e=>{let t={};e&&e.props&&(t=e.props),t.cq=0,window._vis_debug||$e()||this.makeCallForTagsAndSession(t,"newSession")})),window.VWO._.phoenixMT.on(de.DIMENSION_TAG_PUSHED,(e=>{const t=e;this.makeCallForTagsAndSession(t,"sessionUpdate")}))}makeCallForTagsAndSession(e,t){return d(this,void 0,void 0,(function*(){const n=window.VWO._.sessionInfoService;void 0!==E._.insightsOnConsentPromise&&(yield E._.insightsOnConsentPromise);n.isSessionInfoSynced()||n.setSNCookieValueByIndex2(Ht.SESSION_SYNCED_STATE_INDEX,1);const o=n.getSessionId(),i=n.getPageId();if((isNaN(o)||isNaN(i))&&window.VWO._.customError){const e={_vwo_sn:xe.get(Ht.TRACK_SESSION_COOKIE_NAME),_vwo_ds:xe.get(Ht.TRACK_GLOBAL_COOKIE_NAME)};let t="Error while sending s.gif: ";isNaN(o)&&(t+="Session Id is NaN"),isNaN(i)&&(t=t?t+", ":t,t+="Page Id is NaN",e.pageId=i),window.VWO._.customError({msg:t,url:"utilsMT.ts",lineno:326,colno:327,source:window.VWO._.native.JSON.stringify(e)})}const r=zn.extraData2(!0),s=encodeURIComponent(r),a=zn.createUUIDCookie2({vwoUUID:Me.vwoUUID}),c="s.gif?account_id="+Me.accountId+zn.getUUIDString(a)+"&s="+o+("newSession"===t?"&ed="+s+"&cu="+encodeURIComponent(Me.currentUrl)+"&r="+(E.data.vi&&"new"===E.data.vi.vt?0:1):"")+"&p="+i+(e.tags?"&tags="+e.tags:"")+(e.egTagValue?"&eg="+e.egTagValue:"")+(e.funnelTagValue?"&fIds="+e.funnelTagValue:"")+("sessionUpdate"===t?"&update=1":"")+(6==window._vwo_acc_id&&e.batch?"&batch="+e.batch:"")+(6==window._vwo_acc_id&&e.tags?"&tagsLength="+(window.VWO._.native.JSON.parse(e.tags).si&&Object.keys(window.VWO._.native.JSON.parse(e.tags).si).length):"")+(6==window._vwo_acc_id&&e.calledByUnload?"&isUnload="+e.calledByUnload:"")+(window._vwo_acc_id,"&cq=")+e.cq+(e.cq?"&ttl="+Bt():"");try{window.VWO._.native.JSON.parse(decodeURIComponent(s)).lt}catch(e){window.VWO._.customError&&window.VWO._.customError({msg:"extraData(ed) is not a JSON string [while sending call for 's.gif']",url:"utilsMT.ts",lineno:374,colno:5,source:window.VWO._.native.JSON.stringify({extraData:r,lt:(new Date).getTime(),referrer:ke.get(),requestURL:c})})}mo.sendCall({serverUrl:Me.serverUrl,accountId:Me.accountId},{url:c},{},(({isError:e})=>{!e&&"newSession"==t&&Xe.includes(window._vwo_acc_id)&&zn.setOnLocalStorageOnBothThreads("vwo_newSessionCreated",{uuid:a,sessionId:o,sessionCookie:xe.get(Ht.TRACK_SESSION_COOKIE_NAME),cURL:Me.currentUrl})}))}))}sendRegisterCall(e,t,n){mo.sendCall(e,{url:t,successCallback:n},null,null,!0)}}const Lr=new Rr;window.VWO.modules.tags.backwardCompatibilityUtils=Lr;class Wr{otherSide(...e){return e[0]="VWO.modules.tags.setSession."+e[0],window.fetcher.getValue(...e)}}class Pr{otherSide(...e){return e[0]="VWO.modules.tags.sessionInfoService."+e[0],e[2]&&(e[2]={captureGroups:e[2]}),window.fetcher.getValue(...e)}}function Dr(e,t,n){"Array"===e?(this.tags=[],this.lastSent=0):"Hash"===e&&(this.tags={},this.sentTags={},6==window._vwo_acc_id&&(this.tags2={},this.sentTags2={})),this.type=e,this.maxCount=t||1/0,this.addTagCallback=n||function(){}}Pr.LOCAL_STORAGE_SESSION_EXPIRY=30,Pr.LOCAL_STORAGE_NAME=window._vis_debug?"debug_vwoSn":"vwoSn",Pr.ACCOUNT_ID=window._vwo_acc_id,Dr.prototype.add=function(e,t){if(e){var n=this.tags;"Array"===this.type?("[object Array]"!==Object.prototype.toString.call(e)&&(e=[e]),e=dt(e,(function(e){return e=encodeURIComponent(e.trim())})),n=lt(n=(n=n.concat(e)).slice(0,this.maxCount),(function(e,t){return n.indexOf(e)===t})),this.tags=n):"Hash"===this.type&&(this.sentTags[e]&&this.sentTags[e]===encodeURIComponent(t)||(this.tags[encodeURIComponent(e)]=encodeURIComponent(t)),6==window._vwo_acc_id&&(this.sentTags2[e]&&this.sentTags2[e]===encodeURIComponent(t)||(this.tags2[encodeURIComponent(e)]=encodeURIComponent(t)))),this.addTagCallback()}},Dr.prototype.get=function(e){var t;if(this.isTagPassed(e))return"Array"===this.type?(t=this.tags.slice(this.lastSent),this.lastSent=this.tags.length):"Hash"===this.type&&(e?(t=this.tags2,it(this.sentTags2,this.tags2),this.tags2={}):(t=this.tags,it(this.sentTags,this.tags),this.tags={})),t},Dr.prototype.isTagPassed=function(e){if("Array"===this.type)return this.tags.length>this.lastSent;if("Hash"===this.type){const t=e?this.tags2:this.tags;return ot(t).length>0}return!1},Dr.prototype.reset=function(){"Array"===this.type?(this.tags=[],this.lastSent=0):"Hash"===this.type&&(this.tags={},this.sentTags={},6==window._vwo_acc_id&&(this.tags2={},this.sentTags2={}))},Dr.prototype.refresh=function(){"Array"===this.type?this.lastSent=0:"Hash"===this.type&&(it(this.tags,this.sentTags),this.sentTags={},6==window._vwo_acc_id&&(it(this.tags2,this.sentTags2),this.sentTags2={}))};const xr="eg",Ur="fIds";let kr={},Mr,Gr=["u","s","p","ui","si","pi"],Fr=function(){},$r={user:"u",session:"s",page:"p"};for(Mr=0;Mr<Gr.length;Mr++)kr[Gr[Mr]]=new Dr("Hash");kr[xr]=new Dr("Array"),kr[Ur]=new Dr("Array");const jr={onPush:function(e){"function"==typeof e&&(Fr=e)},getTags:function(e){let t={},n="";for(Mr=0;Mr<Gr.length;Mr++){const n=kr[Gr[Mr]].get(e);n&&(t[Gr[Mr]]=Kt(n))}for(const e in t)t.hasOwnProperty(e)&&(n+='"'+e+'":'+t[e]+",");return n=n&&"{"+n.slice(0,-1)+"}",n},getEgTags:function(){const e=kr[xr].get();if(e)return e.join()},getFunnelTags:function(){const e=kr[Ur].get();if(e&&e.length)return Kt(e.map((e=>Number(e))))},addTag:function(e,t,n,o){let i=$r[n=n||"session"];if(!i)if(n===xr)i=xr;else{if(n!==Ur)return;i=Ur}o&&(i+="i"),kr[i].add(e,t),Fr()},refresh:function(){kr.s.reset(),kr.si.refresh(),kr[xr].refresh()}};window.VWO.tag=jr.addTag,window.VWO._.tags=jr;class Hr{constructor(){this.eventCallbacks=[],this.isInitialized=!1}onActivity(){if(mn.shouldWeTrackVisitor())for(let e=0;e<this.eventCallbacks.length;e++)this.eventCallbacks[e]()}init(){if(this.isInitialized)return;const e=dn((()=>{this.onActivity()}),1e3);document.addEventListener?(document.addEventListener("mouseup",e),document.addEventListener("keyup",e),document.addEventListener("mousemove",e),document.addEventListener("scroll",e)):document.attachEvent&&(document.attachEvent("onmouseup",e),document.attachEvent("onkeyup",e),document.attachEvent("onmousemove",e),document.attachEvent("onscroll",e)),this.isInitialized=!0}track(e){this.eventCallbacks.push(e),this.init()}clearCallbacks(){this.eventCallbacks=[]}}const Br=new Hr;function Jr(){O.remove(Pr.LOCAL_STORAGE_NAME)}let Kr;window.VWO._.tua=Br;class qr extends Pr{constructor(){super(),this.imidiateUpdate=!0,this.firstSessionCreated=!1,this.vwoSn={cu:"",r:"",lt:0,v:"0.1.0"},Kr=this,this.expireSessionOnDateChange(),this.visitorInformation=window.VWO.data.vi=window.VWO.data.vi||{},this.setVWOSn(),this.getSessionStore()&&this.initialize(),Br.track((()=>{this.updateLocalStorageSession()}))}triggerNewSessionEvent(){window.VWO.phoenix('trigger("${{1}}")',null,{captureGroups:[de.NEW_SESSION_CREATED]}),window.VWO._.phoenixMT.trigger(de.NEW_SESSION_CREATED)}expireSessionOnDateChange(){if(!this.getSessionStore())return;const e=this.getSessionId();if(e){const t=new Date(1e3*e).getDate();new Date(wt()).getDate()!==t&&this.eraseSessionCookie()}}initializeSession2(e){const t=!this.getSessionStore();this.setSessionStore(e+""),this.setVisitorInformation(),this.updateAndSyncPageId(),this.initialize(t)}getDSCookieValueByIndex(e){var t=this.getGlobalCookie();return t?t.split("$")[e]:null}initialize(e){this.isInitiatedOnce||(this.isInitiatedOnce=!0,this.attachTagsPushCallback()||(null!=e?!e:this.getSessionStore())||this.triggerNewSessionEvent(),Br.track((()=>{this.updateSession()})),this.addValues({sessionStart:this.getSessionId()},"root"),this.fireSessionEvent())}fireSessionEvent(){window.VWO.phoenix('trigger("${{1}}", "${{2}}" )',null,{captureGroups:[de.SESSION,{VWO:{firedTime:1e3*this.getSessionId()}}]})}attachTagsPushCallback(){let e,t,n;const o=this,i=function(i,r,s){e=jr.getTags(r),n=jr.getFunnelTags(),t=r?void 0:jr.getEgTags();const a=zn.doesSessionBasedCampaignExistsInTags(e)||(n?1:0);if(!window._vis_debug&&!$e()&&(e||t||n)){if(!i&&!o.getSessionStore()){const i={name:de.NEW_SESSION_CREATED,time:+new Date,props:{pageId:o.getPageId(),tags:e,egTagValue:t,funnelTagValue:n,cq:a,ttl:a&&Bt()}};return Ao(null,de.NEW_SESSION_CREATED,i),window.VWO._.phoenixMT.trigger(de.NEW_SESSION_CREATED,i),!0}r?window.VWO._.phoenixMT.trigger(de.DIMENSION_TAG_PUSHED,{tags:e,egTagValue:t,funnelTagValue:n,cq:a,ttl:a&&Bt(),batch:r,calledByUnload:s}):window.fetcher.getValue("VWO.modules.events.events.dimensionTagPushed",[null,{tags:e,egTagValue:t,funnelTagValue:n,cq:a,ttl:a&&Bt()}])}return!1};let r=!1;const s=ln(i,10);const a=pt(i,window.VWO._.pushThrottleTime||1e3);return jr.onPush((()=>{s(!0),6==window._vwo_acc_id&&a(!0,!0)})),6==window._vwo_acc_id&&(window.VWO._.phoenixMT.on(de.PAGE_EXIT,(e=>{r||(i(!0,!0,!0),r=!0)})),window.VWO.pageExitListener=!0),i()}updateSession(){this.updateSession2()}updateSession2(){let e=this.getSessionStore();e&&this.expireSessionOnDateChange(),e=this.getSessionStore(),this.sessionTimer||e?(e&&(this.setSessionStore(e),this.addValues({sessionStart:this.getSessionId()},"root")),this.updateSessionTimer()):this.retrackVisitor()}updateSessionTimer(){this.sessionTimer&&clearTimeout(this.sessionTimer),this.sessionTimer=setTimeout((()=>this.eraseSessionCookie()),Ht.SESSION_TIMER_EXPIRE)}retrackVisitor(){const e=wt(!0)-Kr.getFirstSessionId();jr.refresh(),this.setSessionStore(e+""),this.triggerNewSessionEvent(),window.VWO.phoenix('trigger("${{1}}")',null,{captureGroups:[de.RETRACK_VISITOR]})}initializeSession(e){this.initializeSession2(e)}setVisitorInformation(e){window.VWO.data.vi.vt=Kr.visitorInformation.vt=e||(Kr.isReturningVisitor()?"ret":"new"),window.fetcher.setValue("VWO.data.vi.vt",window.VWO.data.vi.vt)}getPageIdInfo(){const e=this.getSessionStore(),t=e&&e.split(":")[Ht.PAGE_ID_INFORMATION_INDEX];return t&&t.split("_")}markPageIdSessionExpiry(){const e=this.getPageId()+"_"+(wt(!0)-this.getFirstSessionId()+Ht.PAGE_ID_EXPIRY);Kr.markPageId(e)}getPageId(){const e=this.getPageIdInfo(),t=e&&e[0];return t?parseInt(t,10):(this.imidiateUpdate=!1,1)}isReturningVisitor(){return Kr.getSessionId()>Kr.getFirstSessionId()}setVWOSn(){const e=this.getLocalStorageSession();e?this.vwoSn=e||{}:this.createLocalStorageSession()}getInfo(){return this.vwoSn}removeInfo(){this.vwoSn={cu:"",r:"",lt:0,v:"0.1.0"}}getRelativeSessionTimestamp(){const e=this.getFirstSessionId();return this.firstSessionCreated?wt(!0)-e:(this.firstSessionCreated=!0,ut(!0)-e)}updateLocalStorageSession(){const e=this.getLocalStorageSession();!e||(wt(!0)-e.lt)/60>Pr.LOCAL_STORAGE_SESSION_EXPIRY?this.createLocalStorageSession():this.updateTimestampInfo(e)}updateTimestampInfo(e){this.vwoSn=e,this.vwoSn.lt=wt(!0),this.setLocalStorageSession()}createLocalStorageSession(e){e?(this.vwoSn.cu=`${document.URL}#vwo_fix`,this.vwoSn.r=`${document.referrer}#vwo_fix`):(this.vwoSn.cu=document.URL,this.vwoSn.r=document.referrer),this.vwoSn.lt=wt(!0),this.setLocalStorageSession()}getLocalStorageSession(e){let t=O.get(qr.LOCAL_STORAGE_NAME);try{t=t?Jt(t):null}catch(t){Jr(),this.otherSide('createLocalStorageSession("${{1}}")',null,[!0]),e||this.getLocalStorageSession(!0)}return t?t.v?(t.cu=decodeURIComponent(t.cu),t.r=decodeURIComponent(t.r),t):(t.v="0.1.0",t):null}addValues(e,t){return window.VWO.phoenix('store.actions.addValues("${{1}}", "${{2}}" )',null,{captureGroups:[e,t]})}updateAndSyncPageId(){let e;e=window.VWO._.pageId,e||(e=this.updatePageId(),this.otherSide('setPageIdValue("${{1}}")',null,[e]))}updatePageId(){let e=this.getPageId();return this.shouldUpdatePageCount()&&(this.imidiateUpdate?e+=1:this.imidiateUpdate=!0),this.markPageId(e),window.VWO._.pageId=e,e}markPageId(e){this.setSNCookieValueByIndex2(Ht.PAGE_ID_INFORMATION_INDEX,e)}setSNCookieValueByIndex2(e,t){const n=this.getSessionStore(),o=n&&n.split(":")||[];o[e]=t+"",this.setSessionStore(o.join(":"))}shouldUpdatePageCount(){const e=this.getPageIdInfo(),t=parseInt(e&&e[1],10);return!t||wt(!0)-Kr.getFirstSessionId()>t}setSNCookieValueByIndex(e,t){const n=this.getSessionStore(),o=n&&n.split(":")||[];o[e]=t+"",xe.create(Ht.TRACK_SESSION_COOKIE_NAME,o.join(":"),Ht.TRACK_SESSION_COOKIE_EXPIRY)}getSessionId(){return this.getFirstSessionId()+this.getRelativeSessionId()}setSessionStore(e){if(mn.shouldWeTrackVisitor())return xe.create(Ht.TRACK_SESSION_COOKIE_NAME,e,Ht.TRACK_SESSION_COOKIE_EXPIRY)}getRelativeSessionId(){let e=this.getSessionStore();if(!e){var t=wt(!0)-this.getFirstSessionId();this.setSessionStore(t+""),e=this.getSessionStore()}return e&&+e.split(":")[Ht.RELATIVE_SESSION_ID_INDEX]}setLocalStorageSession(){mn.shouldWeTrackVisitor()&&(this.vwoSn.v&&(this.vwoSn.cu=encodeURIComponent(this.vwoSn.cu),this.vwoSn.r=encodeURIComponent(this.vwoSn.r)),O.set(qr.LOCAL_STORAGE_NAME,cn(this.vwoSn)))}getSessionStore(){return xe.get(Ht.TRACK_SESSION_COOKIE_NAME)}getGlobalCookie(){return xe.get(Ht.TRACK_GLOBAL_COOKIE_NAME)}eraseSessionCookie(){this.sessionTimer=null,xe.erase(Ht.TRACK_SESSION_COOKIE_NAME)}getPcTrafficFromCookie(){var e=Do.getDataStore();return e?parseFloat(e.split(":")[Ht.PC_TRAFFIC_INDEX]):null}getFirstSessionId(){let e=Do.getDataStore();return e||(this.createGlobalCookie(),e=Do.getDataStore()),e&&+e.split(":")[Ht.FIRST_SESSION_ID_INDEX]}getSNCookieValueByIndex(e){var t=this.getSessionStore();return t?t.split(":")[e]:null}createGlobalCookie(){if(!mn.shouldWeTrackVisitor())return;const e=Ht.COOKIE_VERSION+"$"+ut(!0)+":"+this.getPcTraffic()+"::";xe.create(Ht.TRACK_GLOBAL_COOKIE_NAME,e,Bt())}isSessionInfoSynced(){return this.getSNCookieValueByIndex(Ht.SESSION_SYNCED_STATE_INDEX)}getPcTraffic(){return void 0!==this.pcTraffic&&null!==this.pcTraffic||(this.pcTraffic=this.getPcTrafficFromCookie(),this.pcTraffic=this.pcTraffic||parseFloat((100*Math.random()).toFixed(8))),this.pcTraffic}shouldSendSessionInfoInCall(){return!0}}class Yr extends Wr{constructor(){super(),window.VWO._.phoenixMT.on("vwo_phoenixInitCalled",(()=>{this.execute({vwoUUID:Me.vwoUUID})})),window.VWO._.phoenixMT.on("vwo_urlChangeMt",(()=>{window.VWO._.pageId=void 0,this.execute({vwoUUID:Me.vwoUUID})}))}execute(e){return d(this,void 0,void 0,(function*(){let t;if(window.VWO.modules.tags.sessionInfoService?t=window.VWO.modules.tags.sessionInfoService:(t=new qr,window.VWO.modules.tags.sessionInfoService=t,window.VWO._.sessionInfoService=t),t.getSessionStore())Xe.includes(window._vwo_acc_id)&&zn.setOnLocalStorageOnBothThreads("vwo_newSessionCreated",{user:"old"},["user"]),t.fireSessionEvent(),t.setVisitorInformation(),t.updateAndSyncPageId();else{Xe.includes(window._vwo_acc_id)&&zn.setOnLocalStorageOnBothThreads("vwo_newSessionCreated",{user:"new"},["user"]),zn.createUUIDCookie2(e),t.getGlobalCookie()||t.createGlobalCookie();const n=t.getRelativeSessionTimestamp();t.initializeSession2&&t.initializeSession2(n)}zn.setVin(e),window.VWO.phoenix('trigger("${{1}}")',null,{captureGroups:[de.SESSION_INIT_COMPLETE]})}))}}const Xr=new Yr,zr=Xr.execute.bind(Xr);window.VWO.modules.tags.setSession=Xr;class Qr{static parseUrl(e){try{e=decodeURIComponent(e)}catch(e){console.warn("Not a valid URL.")}const t=/^((((\w+)(:\/\/))?((\w+):(\w+)@)?(www\.)?)([^?#\/:\s]*)?:?([0-9][^?#\/\s]*)?)\/?([^?#\s]*)\??([^#]*)#?(.*)$/.exec(e.trim());if(!t)throw new Error("Not a valid URL.");return t&&{url:t[0],origin:t[1].replace(t[6],""),protocol:t[4]||"",hasWWW:Boolean(t[9]),username:t[7]||"",password:t[8]||"",host:(t[9]||"")+t[10],domain:t[10],port:t[11]||"",path:t[12],query:t[13]||"",queryParams:t[13]?t[13].split("&").reduce(((e,t)=>{const[n,o=""]=t.split("=");return e[n]=o,e}),{}):{},fragment:t[14]||"",urlWithoutProtocol:t[0].replace(t[3],""),urlWithoutProtocolAndWww:t[0].replace(t[2],"")}}}var Zr={LOGGER_LEVEL:"error"};const es=Qr.parseUrl(window.location.href).queryParams.vwoLogLevel;var ts=new a(es||Zr.LOGGER_LEVEL);class ns{constructor(){this.plugins={}}register(e){ts.debug(`Registering plugin '${e.pluginName}' in Plugins factory`),this.plugins[e.pluginName]=e}unregister(e){let t;t=me(e)?e:e.pluginName,ts.debug(`Unregistering plugin '${t}' in Plugins factory`),this.plugins[t].removeAll(),delete this.plugins[t]}unregisterAll(){ts.debug("Unregistering all plugins in Plugins factory"),Object.keys(this.plugins).forEach((e=>{this.plugins[e].removeAll(),delete this.plugins[e]}))}clearData(){ts.debug("Clearing the data of all the plugins"),Object.keys(this.plugins).forEach((e=>{this.plugins[e].clearData()}))}}var os=new ns,is;class rs{clearData(){}}!function(e){e.EVENT="event",e.EVENT_PROPS="eventProps",e.STORAGE="storage",e.FORMULA="formula",e.OPERATOR="operator",e.TAG="tag",e.CONDITION_LEVEL_OPERATOR="clOperator"}(is||(is={}));const ss=function(e,t,n){return d(this,void 0,void 0,(function*(){const o=os.plugins[is.OPERATOR]&&os.plugins[is.OPERATOR].get(e)||(()=>!1),i=mt();t.split(".")[0].indexOf(i)>-1&&(t=t.slice(t.indexOf(".")+1));const r=["neq","neqs","ncn","bl","ninlist"];if(window[i]&&window[i].length){const s=-1!==r.indexOf(e),a="ninlist"===e;for(const e of window[i])try{if(!e)continue;const i=Et(t,e);if(s){if(!(yield o.apply(o,[i,n]))||i!==e[t]&&!(yield o.apply(o,[e[t],n]))){if(!a)return!1}else if(a)return!0}else if((yield o.apply(o,[i,n]))||i!==e[t]&&(yield o.apply(o,[e[t],n])))return!0}catch(e){c.error("Failed to evaluate the dataLayer variable: ",e)}return!a&&s}}))};window.VWO.modules.tags.dL=ss;class as{otherSide(...e){e[0]="VWO.modules.tags.checkEnvironment."+e[0],window.fetcher.getValue(...e)}}window.VWO.modules.tags.checkEnvironment={};class cs{otherSide(...e){e[0]="VWO.modules.tags.checkEnvironment.utils."+e[0],window.fetcher.getValue(...e)}}class ds extends cs{addDomReadyListener(e){window.addEventListener("load",(()=>{e()})),"complete"===document.readyState&&e()}setSameSiteVariables(){const e=zn.isSSApp();return e&&(window.VWO._.ssdm=!0),e&&"https:"===Me.location.protocol&&(!window.VWO.data.accountJSInfo||window.VWO.data.accountJSInfo&&!window.VWO.data.accountJSInfo.noSS)&&(window.VWO._.ss=!0),e}}const ls=new ds;window.VWO.modules.tags.checkEnvironment.utils=ls;class us extends as{constructor(){super(),window.VWO._.phoenixMT.on("vwo_init",(()=>{window.VWO._.envUtils=this.getPreRequisites()})),window.VWO._.phoenixMT.on("vwo_reRun",(()=>{window.fetcher.setValue("VWO._.envUtils",this.getPreRequisites()),window.fetcher.setValue("window.VWO._.willRedirectionOccur",window.VWO._.willRedirectionOccur)}))}getPreRequisites(){const e=ls.setSameSiteVariables(),t=!window.VWO._.cLFE&&mn.shouldWeTrackVisitor();return{doCookiesMatter:t,areCookiesDisabled:zn.areCookiesDisabled(t),shouldStopExecWhenSsmNotFound:zn.shouldStopExecWhenSsmNotFound(),isSSApp:e}}execute(){}}const ws=new us,_s=ws.execute;window.VWO.modules.tags.checkEnvironment.fn=ws;class hs{}class ps extends hs{execute(){}}const gs=new ps,vs=gs.execute;window.VWO.modules.tags.runCampaign=gs;const fs=function(){};window.VWO.modules.tags.runTestCampaign.fn=fs;class Os{}class ms extends Os{processGroupCampaigns(){}}const Es=new ms,Ss=Es.processGroupCampaigns.bind(Es);window.VWO.modules.tags.groupCampaigns=Ss;class Ts{}class Cs extends Ts{constructor(){super(),716497===window._vwo_acc_id&&window.VWO._.phoenixMT.on("vwo_urlChangeMt",this.execute)}execute(){window.VWO._.phoenixMT.trigger(de.TOGGLE_MUT_OBSERVER,{status:!1})}}const ys=new Cs,Is=ys.execute;class Vs{otherSide(...e){return e[0]="VWO.modules.tags.prePostMutation.fn."+e[0],window.fetcher.getValue(...e)}}window.VWO.modules.tags.prePostMutation={};class As{otherSide(...e){return e[0]="VWO.modules.tags.prePostMutation.utils."+e[0],window.fetcher.getValue(...e)}}let Ns=null,bs=null,Rs=null,Ls=!1,Ws=!1;class Ps extends As{monitorPageForChanges(){var e;if("undefined"!=typeof MutationObserver&&(bs&&716497===window._vwo_acc_id&&window.VWO._.phoenixMT.trigger(de.TOGGLE_MUT_OBSERVER,{status:!0}),!bs)){const t={subtree:!0,attributes:!0,childList:!0,attributeFilter:["class"]},n=function(){var e,t,n;if(!Ls){window.VWO._.phoenixMT.trigger(de.TOGGLE_MUT_OBSERVER,{status:!1});const o=window.VWO._.allSettings.dataStore.campaigns;if(!window.VWO._.urlChangeProcessingPending)for(const n in o)o[n].xPath&&!zn.isXpathAllHead(o[n],o[n].xPath)&&(null===(t=null===(e=o[n].muts)||void 0===e?void 0:e.post)||void 0===t?void 0:t.enabled)&&o[n].mutElg&&o[n].combination_chosen&&(o[n].cA=!1,window.VWO.modules.tags.runTestCampaign.utils.applyChanges(o[n].combination_chosen,o[n],null,null,[]));null===(n=window.VWO._.phoenixMT)||void 0===n||n.trigger(de.EDITOR_APPLY_CHANGES_COMPLETE),window.VWO._.phoenixMT.trigger(de.TOGGLE_MUT_OBSERVER,{status:!0})}};window.VWO._.phoenixMT.on(de.TOGGLE_MUT_OBSERVER,(({status:e})=>{var n;window.VWO._.txtCfg&&window.VWO._.txtCfg.o&&(e?window.VWO._.txtCfg.o.c(document.body?"body":"html"):window.VWO._.txtCfg.o.d());if(![714257,742951,707062,716497].includes(window._vwo_acc_id)&&!(null===(n=window._vwoCc)||void 0===n?void 0:n.aMO))return;const o=document.body||document.documentElement;o&&e?bs.observe(o,t):bs.disconnect()}));const o=null===(e=window._vwoCc)||void 0===e?void 0:e.observeHTML;bs=new Me.MutationObserver(n);const i=o?document.documentElement:document.body||document.documentElement;i&&bs.observe(i,t),742951==window._vwo_acc_id&&(/iPad Simulator|iPhone Simulator|iPod Simulator|iPad|iPhone|iPod/.test(navigator.userAgent)||navigator.userAgent.includes("Mac")&&"ontouchend"in document)&&(document.addEventListener("touchstart",(e=>{window.VWO._.phoenixMT.trigger(de.TOGGLE_MUT_OBSERVER,{status:!1})})),document.addEventListener("click",(e=>{window.VWO._.phoenixMT.trigger(de.TOGGLE_MUT_OBSERVER,{status:!0})})),window.VWO._.phoenixMT.on("vwo_urlChangeMt",(()=>{window.VWO._.phoenixMT.trigger(de.TOGGLE_MUT_OBSERVER,{status:!0})})))}}waitForDOMRenderingAndExecuteCampaign(e){Ls=!0;const t=document.body||document.documentElement,n={subtree:!0,childList:!0},o=function(){Ws=!0,Ns=Ns||gt((function(){Ls=!1,Rs.disconnect(),window.fetcher.getValue("phoenix.trigger",[de.SSR_COMPLETE])}),e.timer,!0),Ns()};function i(){Ws||(Ls=!1,window.fetcher.getValue("phoenix.trigger",[de.SSR_COMPLETE]),Rs&&Rs.disconnect())}t?(Rs=new Me.MutationObserver(o),Rs.observe(t,n)):(Ws=!0,window.fetcher.getValue("phoenix.trigger",[de.SSR_COMPLETE])),e.timeout?setTimeout(i,e.timeout):i()}}const Ds=new Ps;window.VWO.modules.tags.prePostMutation.utils=Ds;const xs={},Us=735023==window._vwo_acc_id;class ks{constructor(e){this.observed=!1,this.applyCount=0,this.selectorIdentifier="",void 0!==Me.MutationObserver&&(this.observer=new Me.MutationObserver(this.refreshObserverCallback.bind(this)),this.observer.node=e,e.addEventListener("vwoObserverAction",this.observerActionCallback.bind(this)))}}const Ms=window._vwo_editorOperationTracker={},Gs=100,Fs={subtree:!0,attributes:!0,characterData:!0,childList:!0,attributeFilter:["style","src","srcset","href"]},$s="vwo_refresh_limit_reached",js=[];let Hs={};const Bs=function(e,t){const n=vwo_$(e);if(!n.length||!xs[t])return;const o=Array.from(n);let i=0;for(const n of o){let o=n.__vwoInternals;o||(o=n.__vwoInternals=new ks(n),js.push(o)),o.applyCount++,Us&&(o.selectorIdentifier=`${e}|${i++}|${t}`,Hs[o.selectorIdentifier]=Hs[o.selectorIdentifier]||0,Hs[o.selectorIdentifier]++)}},Js=function(e,t){const n=document.createEvent("CustomEvent");n.initCustomEvent("vwoObserverAction",!0,!1,t),e&&e.dispatchEvent(n)};window._vwo_handleMutations=function(e,t){try{e&&"function"==typeof t&&(Js(e,{disconnect:!0}),t(),Js(e,{connect:!0}))}catch(e){const t="[JSLIB_EDITOR] Error _vwo_handleMutations.";window.VWO._.customError&&window.VWO._.customError({msg:t,url:"editorChangesObserver.js",source:encodeURIComponent(t)})}},ks.prototype.refreshObserverCallback=function(e,t){const n=t.node,o=window.VWO._.native.JSON.parse(window.VWO._.native.JSON.stringify(xs));window.vwoRefreshCampaigns&&window.vwoRefreshCampaigns.forEach((e=>{o[e]=!0}));for(const e in o)if(o[e]&&n.classList){const t=Array.from(n.classList);for(const o of t)o.indexOf(`vwo_loaded_${e}`)>-1&&n.classList.remove(o)}this.disconnectObserver()},ks.prototype.observerActionCallback=function(e){if(!e.detail)return;const t=e.detail||{},n=t.operationId;t.disconnect?n?Ms[n]="disconnected":this.disconnectObserver():t.connect?this.connectObserver():n&&delete Ms[n]},ks.prototype.disconnectObserver=function(){this.observer.disconnect(),this.observed=!1},ks.prototype.connectObserver=function(){if(this.observer&&!this.observed){(Us?Hs[this.selectorIdentifier]>20:this.applyCount>Gs)?this.observer.node.hasAttribute($s)||this.observer.node.setAttribute($s,""):(this.observer.observe(this.observer.node,Fs),this.observed=!0)}},ks.prototype.resetObserver=function(){this.observer&&(this.applyCount=0,this.observed||(this.observer.observe(this.observer.node,Fs),this.observed=!0),Hs={},this.observer.node.hasAttribute($s)&&this.observer.node.removeAttribute($s))};const Ks=function(){var e,t,n,o;null===(e=window.VWO._.phoenixMT)||void 0===e||e.on(de.INIT_VWO_INTERNALS,(function(e){const{elementSelector:t,campaignId:n}=e;Bs(t,n)})),null===(t=window.VWO._.phoenixMT)||void 0===t||t.on(de.SET_CAMPAIGN_TO_OBSERVE,(function(e){var t,n,o,i;const r=window._vwo_exp,{campaignId:s}=e;r[s].xPath&&!zn.isXpathAllHead(r[s],r[s].xPath)&&(null===(n=null===(t=r[s].muts)||void 0===t?void 0:t.post)||void 0===n?void 0:n.enabled)&&(xs[s]=!!(null===(i=null===(o=r[s].muts)||void 0===o?void 0:o.post)||void 0===i?void 0:i.refresh))})),null===(n=window.VWO._.phoenixMT)||void 0===n||n.on("vwo_urlChangeMt",(function(){for(let e=js.length-1;e>-1;e--)js[e].resetObserver()})),null===(o=window.VWO._.phoenixMT)||void 0===o||o.on(de.EDITOR_APPLY_CHANGES_COMPLETE,(function(){for(let e=js.length-1;e>-1;e--)js[e].connectObserver()}))};window.VWO.modules.tags.prePostMutation.editorChangesObserver={attachEditorChangeObserverEvents:Ks};class qs extends Vs{execute(){}}const Ys=new qs,Xs=Ys.execute;function zs(){let e=[],t="";return function(n,o){const i={samplingRate:n,priority:o};t!==window.location.href&&(e=[]),i.samplingRate=n,i.priority=o,e.push(i),t=window.location.href,window.VWO.data.accountJSInfo.pc.sampleData=e,window.VWO.data.accountJSInfo.pc.sampleData=e}}window.VWO.modules.tags.prePostMutation.fn=Ys;const Qs=zs();window.VWO.modules.tags=window.VWO.modules.tags||{},window.VWO.modules.tags.sampleVisitor=Qs;class Zs{constructor(){this.whiteListedEventsForVsKey=[de.PAGE_VIEW,de.CUSTOM_CONVERSION,de.DOM_CLICK,de.DOM_SUBMIT,de.REVENUE_CONVERSION]}getCurrentEventData(e,t,n){const o={};if(!(Object.keys(t).length<=0))return Object.keys(t).forEach((i=>{var r;o[i]=o[i]||{},o[i]={vwoMeta:{metric:t[i].metrics}},this.whiteListedEventsForVsKey.includes(e)&&t[i].comb&&(o[i].vwoMeta.vS=t[i].comb),(null===(r=n[i])||void 0===r?void 0:r.length)>0&&(o[i].matchedSelectors=n[i])})),o}}class ea{constructor(){this.vwoEvents={trigger:function(e,t){return d(this,void 0,void 0,(function*(){yield window.VWO.phoenix('trigger("${{1}}", "${{2}}")',null,{captureGroups:[e,t]})}))}}}isGoalEligible(e,t){return e.pExcludeUrl&&cr.matchRegex(t,e.pExcludeUrl)?(window.VWO.modules.tags.wildCardCallback({},de.EXCLUDE_GOAL_URL),!1):e.pUrl?hr.verifyUrl(t,e.pUrl,null):hr.verifyUrl(t,null,e.urlRegex)}registerConversion(e,t,n,o,i){zn.hasInsightsMetric(t.type)||(e=e||1,this._triggerGoalConversion(e,t,n,o,{combination:wr.getCombi(t,i)}))}getImgUrlForConversion(e,t,n,o){if(!mn.shouldWeTrackVisitor())return;var i,r;const s=e.id,a=window._vwo_acc_id,c=window.VWO.modules.tags.sessionInfoService;if(r="c.gif?account_id="+a+"&experiment_id="+s+"&goal_id="+t+"&ru="+encodeURIComponent(ke.get())+(void 0===o?"":"&r="+o)+zn.getUUIDString(zn.getUUID(e)),"TRACK"===e.type){i=c.getSessionId(),window.VWO.modules.tags.wildCardCallback({campaign:e},de.EXECUTE_FUNNEL_FOR_GOAL_CAMPAIGN);const n=(window.tracklib||window.VWO._.track).getGtAndF(t);if(n){return r+"&s="+i+"&ifs="+ +(i===c.getSessionId())+"&t=1&cu="+encodeURIComponent(window.location.href)+n}return""}return c.shouldSendSessionInfoInCall()&&(i=c.getSessionId()),r+"&combination="+n+(i=i?"&sId="+i:"")}_triggerGoalConversion(e,t,n,o,i){const r=i.combination;if(!o&&(!r||wr.isGoalTriggered(t,e)||zn.isBot2()))return void(we.queueGoalLogs(t.id,e,n,!1)&&window.VWO.modules.tags.wildCardCallback({oldArgs:[t.id,e,n,!1],campaignId:t.id,goalId:e},de.REGISTER_CONVERSION));"REVENUE_TRACKING"!==t.goals[e].type&&(n=void 0);const s=this.getImgUrlForConversion(t,e,r,n);s&&(zn.isEligibleToSendCall(t.id)&&mo.sendCall(null,{url:s},null,null),wr.markGoalTriggered(t,e)),we.queueGoalLogs(t.id,e,n,!!s)&&window.VWO.modules.tags.wildCardCallback({oldArgs:[t.id,e,n,!!s],campaignId:t.id,goalId:e},de.REGISTER_CONVERSION)}}const ta=new ea;class na extends Zs{execute(e,t){if(window.VWO._.willRedirectionOccur)return;if(zn.isBot2())return;const n={},o={};for(const r of t){const t=r.c,s=r.g,a=t&&window._vwo_exp[t];let c=!1;const d=a.goals[s];if(!(t&&s&&a&&d))continue;c=zn.isSessionBasedCampaign2(a);const l=r.uuid||zn.createUUIDCookie2(a);if(!c||zn.hasInsightsMetric(a.type)){if("CUSTOM_GOAL"===(null==d?void 0:d.type)){const e=d.url;n[l]=n[l]||[],n[l].indexOf(e)<0&&n[l].push(e)}o[l]=o[l]||{};const e="id_"+t;o[l].metrics=o[l].metrics||{},o[l].metrics[e]=o[l].metrics[e]||[],o[l].metrics[e].push("g_"+s),a.isEventMigrated&&(o[l].comb=o[l].comb||{},o[l].comb[e]=wr.getCombi(a))}var i=!0;window.VWO._.isBeaconAvailable=e.isBeaconAvailable,window.VWO._.isLinkRedirecting=e.isLinkRedirecting,ta.registerConversion(s,a,e.revenue,!c,!0),window.VWO.phoenix('trigger("${{1}}", "${{2}}")',null,{captureGroups:[de.GOAL_CONVERTED,{campaignId:a.id,goalId:s}]}),window.VWO._.isLinkRedirecting=!1,i=i&&window.VWO._.isBeaconAvailable}const r=this.getCurrentEventData(e.vwoEventName,o,n);e._vwo=e._vwo||{},e._vwo.eventDataConfig=e._vwo.eventDataConfig||{},e._vwo.eventDataConfig=r}}const oa=new na,ia=oa.execute.bind(oa);window.VWO.modules.tags.metricMT=ia;class ra{constructor(){this.lastSetTimerId=null,window.VWO._.phoenixMT.on(de.UNHIDE_ELEMENT,(({ruleName:e,campaignData:t,variation:n,rulesArr:o})=>{let i;t&&(i={id:t.id,variation:zn.isPersonalizeCampaign(t)?n:null}),zn.delCSSWrapper({ruleName:e,rulesArr:o,campaignData:i})}))}unhideElementsAfterTimer(e){null!==this.lastSetTimerId&&clearTimeout(this.lastSetTimerId),this.lastSetTimerId=setTimeout((function(){var t;this.lastSetTimerId=null;const n=vwo_$('[id^="_vis_opt_path_hides"]');if(n.length){const o=[];for(let e=0;e<n.length;e++)vwo_$(n[e]).remove(),o.push(null===(t=n[e].getAttribute("id"))||void 0===t?void 0:t.split("_").slice(-1)[0]);window.fetcher.getValue('phoenix.trigger("${{1}}", "${{2}}")',null,{captureGroups:[de.CHECK_SEGMENTATION,e]}),c.info("Multiple hiding tags found after 5 seconds for campaigns "+window.VWO._.native.JSON.stringify(o),{url:"visibilityService.js",lineno:34,colno:34})}}),5e3)}}window.VWO.modules.tags.visibilityService=new ra;var sa=Object.freeze({__proto__:null,backwardCompatibilityUtils:Lr,checkEnvironment:_s,runCampaign:vs,runTestCampaign:fs,groupCampaigns:Ss,urlChange:Is,prePostMutation:Xs,errorTracking:ki,sampleVisitor:Qs,metric:ia});const{checkEnvironment:aa,runCampaign:ca,runTestCampaign:da,groupCampaigns:la,prePostMutation:ua,urlChange:wa,errorTracking:_a,sampleVisitor:ha,metric:pa}=sa;class ga{constructor(){this.noOp=function(){}}test(){console.log(1)}getPhoenixConfig(){return{tags:{checkEnvironment:{fn:aa,sync:!0},runCampaign:{fn:ca,sync:!0},runTestCampaign:{fn:da,sync:!0},groupCampaigns:{fn:la,sync:!0},prePostMutation:{fn:ua,sync:!0},urlChange:{fn:wa,sync:!0},errorTracking:{fn:_a,sync:!0},sampleVisitor:{fn:ha},metric:{fn:pa,sync:!0,fireUniquelyForEveryEvent:!0}},storages:{localStorageService:O,cookies:xe},jsLibUtils:{verifyUrl:function(){return hr.verifyUrl.apply(hr,arguments)}}}}sendMessageToParentFrame(e){if(!e)return;if(window.self===window.parent)throw new Error("Cookieless Mode for Iframe enabled at top level. ");const t={vwoEvent:{name:"VWO_STORE_UPDATE",data:e}};window.parent.postMessage(t,"*")}initializeCookieJar(e="ignoreCustomConfig"){for(var t,n=Array.prototype.slice.apply(E).length,o=0;o<n;o++)if("config"===E[o][0]){t=o;break}"number"==typeof t&&Fi.processEvent(["config",E[t][1]],"jslib",E,t,E);var i=E.config();"ignoreCustomConfig"!==e&&((i=i||{}).storage={strategy:"custom",backwardCompatible:!1,strategyConfig:{callback:this.sendMessageToParentFrame,cookieJarValue:this.getCookieJarValidValue(e)}}),xe.init(i&&i.storage)}getCookieJarValidValue(e){return["null",null,void 0,"undefined"].indexOf(e)>-1?"":e}setupCookieJar(e){let t;e&&(t=location.search.match(/.*_vwo_store=([^&]*)/),t=t?t[1]:""),this.initializeCookieJar(t)}setFunnelExps(e){var t,n;const o=null===(t=null==e?void 0:e.settings)||void 0===t?void 0:t.campaigns;for(const e in window._vwo_exp)if(window._vwo_exp[e].funnel)for(const t of window._vwo_exp[e].funnel){const e=t;(null===(n=window._vwo_exp[e.id])||void 0===n?void 0:n.g)||(window._vwo_exp[e.id]=e,window._vwo_exp[e.id].g=e.goals,window._vwo_exp[e.id].goals={},o&&(o[e.id]=window._vwo_exp[e.id]))}}postPhoenixMTHook(){var e,t;const n=Object.keys(Object.assign({},sa));for(let o=n.length-1;o>=0;--o)null===(t=(e=sa[n[o]]).postPhoenixMTHook)||void 0===t||t.call(e)}}const va=new ga;function fa(){const e=window.fetcher,t=window.fetcher.getValue("phoenixInstantiate"),n=function(t,n=null,o={}){if(!n)return e.getValue("phoenix."+t,null,o);e.setValue("phoenix."+t,n)},o=new Promise((e=>{t.then((t=>e([n,t])))}));let i=[];return window.VWO._.phoenixMT.on("vwo_phoenixInitialized",(()=>{for(let e=0;e<i.length;e++)i[e]();i=[],zn.fireVariationShownSentForSplit()})),[function(e,t=null,n={}){return new Promise((o=>{i.push((()=>{o(window.VWO.phoenix(e,t,n))}))}))}.bind(this),o]}window.VWO.modules.utils.initUtils=va;const Oa=fa;var ma;window._vis_opt_queue=window._vis_opt_queue||[];var Ea=window._vis_opt_queue||[];const Sa=window._vwoCc&&(null===(ma=window._vwoCc.arrayRepl)||void 0===ma?void 0:ma[window._vwo_acc_id]),Ta=Sa?new yt:[];Ta.execute=function(e){try{e()}catch(e){}},Ta.finish=function(e){if(!this.isProcessed){var t=Ea.push;Ea.push=function(){t.apply(this,[].slice.call(arguments)),Ta.execute.apply(this,[].slice.call(arguments))},this.isProcessed=!0}for(e=0;e<Ea.length;e++)Ta.execute(Ea[e])},Ta.clear=function(){Ea.splice(0,Ea.length)};var Ca=function(){},ya=[],Ia=[],Va=[],Aa=[],Na=window._vwo_evq=window._vwo_evq||[];window.VWO=window.VWO||[],window.VWO._=window.VWO._||{};var ba=function(e,t){t.e===e[0]&&t.c.apply(this,[e])},Ra=function(e,t){744263===window._vwo_acc_id&&window.VWO._.customError&&window.VWO._.customError({msg:"callback fired",url:window.location.href,source:window.VWO._.native.JSON.stringify({ev:e,uuid:window.VWO._.cookies.get("_vwo_uuid"),cv:!!t.v,ce:!!t.e})}),t.e&&t.e!==e[1]||t.v&&t.v!==e[2]||t.c.apply(this,[e])},La=function(e,t){t.c&&t.c.apply(this,[e[1]])},Wa=function(e){for(var t=0;t<Va.length;t++)ba(e,Va[t]);if(e[0]===de.TRACK_SESSION_CREATED&&!0===e[4]&&window.VWO.phoenix('trigger("${{1}}")',null,{captureGroups:[de.TRACK_NEW_SESSION_CREATED]}),"rH"===e[0]||"vS"===e[0])for(t=0;t<ya.length;t++)Ra(e,ya[t]);if(e[0]===de.VWO_EXECUTED)for(t=0;t<Ia.length;t++)La(e,Ia[t]);if(e[0]===fr.VARIATION_SHOWN_SENT)for(const t of Aa)Ra(e,t)},Pa=Na.push;Na.push=function(){var e=arguments[0];Wa(e),Pa.apply(Na,[].slice.call(arguments))};var Da=Na.unshift;Na.unshift=function(){var e=arguments[0];Wa(e),Da.apply(Na,[].slice.call(arguments))};const xa={onVWOLoaded:function(e){var t={c:e=e||Ca};Ia.push(t);for(var n=0;n<Na.length;n++)Na[n][0]===de.VWO_EXECUTED&&La(Na[n],t)},onVariationShownSent:function(e,t,n){"function"==typeof e&&(n=e,e=null,t=null);var o={e:e,v:t,c:n=n||Ca};Aa.push(o);for(const e of Na)e[0]===fr.VARIATION_SHOWN_SENT&&Ra(e,o)},onVariationApplied:function(e,t,n){"function"==typeof e&&(n=e,e=null,t=null);var o={e:e,v:t,c:n=n||Ca};ya.push(o);for(var i=0;i<Na.length;i++)"rH"!==Na[i][0]&&"vS"!==Na[i][0]||Ra(Na[i],o)},onEventReceive:function(e,t){if(!e)throw new Error("Invalid eventName:"+e);var n={e:e,c:t=t||Ca};Va.push(n);for(var o=0;o<Na.length;o++)ba(Na[o],n)}};for(var Ua in xa)xa.hasOwnProperty(Ua)&&(window.VWO[Ua]=xa[Ua]);function ka(e,t){for(const n in e)if("SURVEY"==e[n].type){(!e[n].survey||0===Object.keys(e[n].survey).length&&e[n].survey.constructor===Object)&&c.warn(`Survey settings unavailable for account: ${window._vwo_acc_id} and campaign: ${n}`);for(const o in e[n].survey)window._vwo_surveySettings=window._vwo_surveySettings||{},window._vwo_surveySettings[o]=e[n].survey[o],t&&t[n]&&(window._vwo_surveySettings[o].debug=t[n].debug.su)}}function Ma(){const e=window.VWO;e.nls&&(e.nls.stopRecording="permanent"),e.survey&&(e.survey.stopCollectingData=!0)}function Ga(){E._.commonUtil=It,E._.utils=qt,E._.customEvent=ce,E._.listener=xa,E._.libUtils=zn,E._.CookieEnum=Ht}window.VWO.modules.otherLibDeps.storeSurveyDataInVWOSurveySettings=ka,window.VWO.modules.otherLibDeps.stopAnalyzeAndSurvey=Ma,window.VWO.modules.otherLibDeps.setOtherLibrariesDepsMT=Ga,window.VWO._.EventsEnum=fr;const Fa=function(e){var t,n,o,i,r,s,a,c,d,l,u,w,_,h,p,g,v,f,O,m,E;const S=null===(t=window.VWO._.allSettings.dataStore)||void 0===t?void 0:t.plugins;if(!S)return;const T=null==S?void 0:S.DACDNCONFIG;e._.ac=e._.ac||{},e.data.pc=e.data.pc||(null===(o=null===(n=e.data)||void 0===n?void 0:n.accountJSInfo)||void 0===o?void 0:o.pc),e.data.rp=e.data.rp||(null===(r=null===(i=e.data)||void 0===i?void 0:i.accountJSInfo)||void 0===r?void 0:r.rp),e.data.ts=null===(a=null===(s=e.data)||void 0===s?void 0:s.accountJSInfo)||void 0===a?void 0:a.ts,e.data.url=null===(d=null===(c=e.data)||void 0===c?void 0:c.accountJSInfo)||void 0===d?void 0:d.url,e.data.frn=null===(u=null===(l=e.data)||void 0===l?void 0:l.accountJSInfo)||void 0===u?void 0:u.frn,e.data.noSS=null===(w=e.data.accountJSInfo)||void 0===w?void 0:w.noSS,e.DONT_IOS=null==T?void 0:T.DONT_IOS,e.data.sst=null==T?void 0:T.SST,e._.sstd=null===(_=null==T?void 0:T.SST)||void 0===_?void 0:_.SSTD,e._.ac.it=null===(h=null==T?void 0:T.SD)||void 0===h?void 0:h.it,e._.ac.uct=null===(p=null==T?void 0:T.SD)||void 0===p?void 0:p.uct,e._.ac.rdbg=null==T?void 0:T.rdbg,e.data.fB=null==T?void 0:T.FB,e._.SPA_SETTINGS_DELAY=+(null===(g=null==T?void 0:T.SD)||void 0===g?void 0:g.IT)||0,e._.SPA_NEW_PAGE_SETTINGS_DELAY=+(null===(v=null==T?void 0:T.SD)||void 0===v?void 0:v.UCT)||0,e._.isSpaEnabled=null==T?void 0:T.SPA,e._.ac.eNC=null==T?void 0:T.eNC,e._.ac.cInstJS=null==T?void 0:T.CINSTJS,e._.ac.bsECJ=null==T?void 0:T.BSECJ,e._.ac.cURCF=null==T?void 0:T.cURCF,e._.ast=null==T?void 0:T.AST,e.featureInfo=(null==T?void 0:T.jsConfig)||{},window._vwo_clicks=window._vwo_clicks||(null==T?void 0:T.HEATMAPCLICKS),e.data.cj={bc:null===(f=null==T?void 0:T.CJ)||void 0===f?void 0:f.BC,s:null===(O=null==T?void 0:T.CJ)||void 0===O?void 0:O.S},e._.ac.eNC=null==T?void 0:T.eNC,e._.ac.cSHS=!(null===(m=window._vwoCc)||void 0===m?void 0:m.syncServerUrl)&&((null==T?void 0:T.CSHS)||(null===(E=null==T?void 0:T.jsConfig)||void 0===E?void 0:E.histEnabled)),e._.ac.uCP=null==T?void 0:T.UCP,e._.ac.iAF=null==T?void 0:T.IAF,e._.ac.PRTHD=null==T?void 0:T.PRTHD};let $a;const ja={test:e=>{var t;return $a=null===(t=window.VWO)||void 0===t?void 0:t.phoenix,window.workerThread&&$a&&e===$a.store.getters},transformer:function(e){return e===$a.store.getters.settings.campaigns||e===$a.store.getters.allSettings.dataStore.campaigns?"vwojFnGPlugCamp":e===$a.store.getters.allSettings?"vwojFnGPlugAllSet":e},parse:(e,t)=>{if("vwojFnGPlugCamp"===t)return window._vwo_exp;if("vwojFnGPlugAllSet"===t){const e=Object.assign({},window.VWO._.allSettings);return delete e.triggers,delete e.tags,e}return t}},Ha=[ja],Ba={stringify:function(e,t,n){try{return window.VWO._.native.JSON.stringify(e,(function(e,o){if(!n){const e=Ha.filter((e=>e.test(o)));if(e.length>0){const n=t=>e.reduce(((e,t)=>t.transformer(e)),t);return window.VWO._.native.JSON.parse(Ba.stringify(o,t,n))}}n&&(o=n(o));const i=e?this:t;var r;return o instanceof Function||"function"==typeof o?o.type==="vwoWrappedFn_"+(window.mainThread?"WT":"MT")?"_NuPreW"+o.name.slice(0,o.name.indexOf("_")+1):(r=o.toString()).length<8||"function"!==r.substring(0,8)?"_NuFrRa"+window.functionWrapper.wrap(o,i)+"_":"_NuFrNf"+window.functionWrapper.wrap(o,i)+"_":o instanceof RegExp?"_PxEgEr_"+o:o}))}catch(e){return window.VWO&&window.VWO._&&window.VWO._.customError&&window.VWO._.customError({msg:"JSONfn.stringify failed!",url:"jsonFn.ts",lineno:15,colno:16,source:e}),""}},parse:function(e,t){if(!e)return e;function n(e){const t=e+"_wrappedFn",n={[t](...t){const n={type:"callWrappedFunction",id:e,args:Ba.stringify(t)};return window.fetcher.request(n).send()}}[t];return n.type="vwoWrappedFn_"+(window.mainThread?"WT":"MT"),n}const o=!!t&&/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)Z$/;return window.VWO._.native.JSON.parse(e,(function(e,t){for(const n of Ha)t=n.parse(e,t);var i;if("string"!=typeof t)return t;if(t.length<8)return t;if(i=t.substring(0,7),o&&t.match(o))return new Date(t);if("_NuPreW"===i){const e=t.match(/_NuPreW([0-9]*)_/)[1];return window.functionWrapper.unwrap(e)}if("_NuFrNf"===i){const e=t.match(/_NuFrNf([0-9]*)_/)[1];return n(e)}if("_PxEgEr"===i)return eval(t.slice(8));if("_NuFrRa"===i){const e=+t.match(/_NuFrRa([0-9]*)_/)[1];return n(e)}return t}))},clone:function(e,t){return this.parse(this.stringify(e),t)}};let Ja=0;const Ka={},qa={};function Ya(e,t,n){var o;const i=this.postMessage.bind(this);if("response"===(null===(o=e)||void 0===o?void 0:o.type)){const t=e;return{resolve:function(e){let n=t.encapsulatedData;const o=t.isErrorPresent;n&&(n="function"==typeof e?e(t.encapsulatedData):t.encapsulatedData),o?qa[t.twoWayCommId](n):Ka[t.twoWayCommId](n)}}}{const o={type:"response",encapsulatedData:e,twoWayCommId:t,isErrorPresent:n};return{send:function(){try{return i(o),!0}catch(e){return!1}}}}}function Xa(e){var t;if(this.sendingLayer=this.postMessage,"request"===(null===(t=e)||void 0===t?void 0:t.type)){const t=e,n=t.encapsulatedData;return{resolve:e=>d(this,void 0,void 0,(function*(){try{const o=yield e(n);return Ya.call(this,o,t.twoWayCommId).send(),!0}catch(e){const n=Ba.stringify(e.message);return Ya.call(this,n,t.twoWayCommId,!0).send(),!1}}))}}{const t={type:"request",encapsulatedData:e,twoWayCommId:++Ja};return{send:()=>new Promise(((e,n)=>{try{Ka[t.twoWayCommId]=e,qa[t.twoWayCommId]=n,this.sendingLayer(t)}catch(e){console.log(e),n(e)}}))}}}class za{constructor(){this.masterObject={}}static isObject(e){return"object"==typeof e&&!Array.isArray(e)&&null!==e}static createProxy(e,t,n){if(e.__isProxy||!this.isObject(e))return e;const o=e;return Object.defineProperty(o,"__transferData",{value:!0,enumerable:!1,writable:!0}),new Proxy(o,{set:(e,o,i)=>{if("__isProxy"===o||e[o]===i)return!0;if(typeof e[o]==typeof i&&"function"!=typeof i&&window.VWO._.native.JSON.stringify(i)===window.VWO._.native.JSON.stringify(e[o]))return!0;if(this.isObject(i)?e[o]=this.proxify(i,t,n+o.toString()+"."):e[o]=i,"__transferData"===o||!e.__transferData)return!0;const r={path:n+o.toString()+".",value:i};return r.value=Ba.stringify(i,e),t({type:"sync",data:r,syncType:se.Object}),!0},get:(e,t)=>"__isProxy"===t||e[t],deleteProperty:(e,o)=>{if(o in e){if(delete e[o],!e.__transferData)return!0;const i={path:n.toString(),key:o};t({type:"sync",data:window.VWO._.native.JSON.stringify(i),syncType:se.Delete})}return!0}})}isKey(e){return e in this.masterObject}static proxify(e,t,n){return this.isObject(e)?(Object.keys(null!=e?e:{}).forEach((o=>{this.isObject(e[o])&&(e[o]=this.proxify(e[o],t,n+o+"."))})),this.createProxy(e,t,n)):e}register(e,t,n){t in this.masterObject&&console.error("Key already exists!"),null==e&&(e={});const o=za.proxify(e,n,t+".");return this.masterObject[t]={proxy:o},o}append(e,t){return t in this.masterObject||console.error("Key doesn't exist!"),window.VWO._.native.JSON.stringify(e)!==window.VWO._.native.JSON.stringify(this.masterObject[t].proxy)&&console.error(`The object doesn't match the object registered under the key ${t}!`),this.masterObject[t].proxy}static getProxy(e,t,n){return this.proxify(e,t,n+".")}static sync(e,t,n,o,i){if(null==e||!e.__isProxy)return e;let r=null,s=n+".";return 1===o.length?(e.__transferData=!1,e[o[0]]=this.proxify(t,i,s+o[0]+"."),e.__transferData=!0,e):(r=e[o[0]],o.forEach(((e,t)=>{s+=e+".",0!==t&&t!==o.length-1&&(e in r||(r.__transferData=!1,r[e]=this.proxify({},i,s),r.__transferData=!0),r=r[e])})),r.__transferData=!1,r[o.pop()]=this.proxify(t,i,s),r.__transferData=!0,e)}}class Qa{static register(e,t){var n,o,i;switch(e){case"cookie":if(this.internalUtils.isKeyNonConfigurable("cookie")||(null===(i=null===(o=null===(n=window.VWO._.allSettings.dataStore)||void 0===n?void 0:n.plugins)||void 0===o?void 0:o.DACDNCONFIG)||void 0===i?void 0:i.ckFbk))return Ie.enable();default:this.registerProperty(e,t)}}static registerProperty(e,t){if(document){if(e in window.document){let n;if(n=Object.getOwnPropertyDescriptor(window.document,e)||Object.getOwnPropertyDescriptor(window.Document.prototype,e)||Object.getOwnPropertyDescriptor(window.HTMLDocument.prototype,e),!n)return Ie.enable();const o={enumerable:n.enumerable,configurable:n.configurable,get:()=>document["__"+e],set:this.internalUtils.getSetter(e,t)};Object.defineProperty(window.document,"__"+e,n),Object.defineProperty(window.document,e,o),Object.defineProperty(window.Document.prototype,e,o),Object.defineProperty(window.HTMLDocument.prototype,e,o)}}else console.error("The property doesn't exist on the `DOCUMENT` object.")}static sync({propertyName:e,value:t}){if("cookie"===e)return Ie.isEnabled()?Ie.applySyncRequest(t):ye(t);document[e]=t}}Qa.internalUtils={getSetter:(e,t)=>{switch(e){case"cookie":return(new Ce).getSetter(t);default:return n=>(window.VWO._.native.JSON.stringify(document["__"+e])===window.VWO._.native.JSON.stringify(n)||(document["__"+e]=n,t({type:"sync",data:{propertyName:e,value:document["__"+e]},syncType:se.Document})),!0)}},isKeyNonConfigurable:e=>{var t,n,o;const i=[document,null===(t=null===window||void 0===window?void 0:window.Document)||void 0===t?void 0:t.prototype,null===(n=null===window||void 0===window?void 0:window.HTMLDocument)||void 0===n?void 0:n.prototype];for(let t=0;t<i.length;t++)if(!1===(null===(o=Object.getOwnPropertyDescriptor(i[t]||{},e))||void 0===o?void 0:o.configurable))return!0;return!1}};class Za{static register(e,t,n,o){n in e?console.error("The property must not pre-exist inside the object."):Object.defineProperty(e,n,{enumerable:!0,configurable:!1,get:()=>e[`__${n}`],set:i=>(e[`__${n}`]=i,o({type:"sync",data:{identifier:t,property:n,value:i},syncType:se.Property}),!0)})}}function ec(){{const e=window.fetcher.postMessage.bind(window.fetcher);m({_setItem:(t,n)=>{if(window.localStorage.getItem(t)!==n)return window.localStorage.setItem(t,n),e({data:{key:t,value:n},type:"sync",syncType:{type:"custom",method:"localStorage",operation:"setItem"}}),null},_removeItem:t=>{null!==window.localStorage.getItem(t)&&(window.localStorage.removeItem(t),e({data:{key:t},type:"sync",syncType:{type:"custom",method:"localStorage",operation:"removeItem"}}))},_clear:()=>{0!==Object.keys(window.localStorage).length&&(window.localStorage.clear(),e({data:{},type:"sync",syncType:{type:"custom",method:"localStorage",operation:"clear"}}))}})}}function tc(e){if("number"!=typeof e.syncType){switch(window.localStorage.__transferData&&(window.localStorage.__transferData=!1),e.syncType.operation){case"setItem":window.localStorage.setItem(e.data.key,e.data.value);break;case"removeItem":window.localStorage.removeItem(e.data.key);break;case"clear":window.localStorage.clear();break;default:return}window.localStorage.__transferData&&(window.localStorage.__transferData=!0)}}class nc{}nc.syncLocalStorage=ec;class oc extends nc{constructor(){super(),this.objectSyncer=new za}register(e,t,n={},o="",i=!1){if("object"!=typeof n||Array.isArray(n))return;const r=window.fetcher.postMessage.bind(window.fetcher);switch(e){case"custom":switch(t){case"localStorage":oc.syncLocalStorage();break;default:throw new Error("Unknown property name!")}break;case se.Object:{const e=this.objectSyncer.register(n,t,r);return i&&r({data:{value:window.VWO._.native.JSON.stringify(n),path:t},type:"sync",syncType:se.OverWrite}),e}case se.Property:Za.register(n,o,t,r);break;case se.Document:Qa.register(t,r);break;default:console.error("Unknown 'syncAblesEnum' type!")}}append(e,t){return this.objectSyncer.append(e,t)}static sync(e,t){var n;const{data:o}=e;if("object"!=typeof e.syncType||"custom"!==e.syncType.type)switch(e.syncType){case se.Object:{o.value=Ba.parse(o.value);const e=o.path.substring(0,o.path.lastIndexOf(".")).split(".");window[e[0]]=za.sync(window[e[0]],o.value,e[0],e.splice(1),t);break}case se.Document:Qa.sync(o);break;case se.Property:case se.Variable:t(o);break;case se.OverWrite:if(!("__transferData"in(null!==(n=window[o.path])&&void 0!==n?n:{})))return void(window[o.path]=window.VWO._.native.JSON.parse(o.value));window[o.path]=za.getProxy(window.VWO._.native.JSON.parse(o.value),t,o.path);break;case se.Delete:{const e=window.VWO._.native.JSON.parse(o),t=e.path.substring(0,e.path.lastIndexOf(".")).split(".").reduce(((e,t)=>Object.keys(e).length?e[t]:window[t]),{}),n=e.key;n in t&&(t.__transferData=!1,delete t[n],t.__transferData=!0);break}default:console.error("Unknown 'syncAblesEnum' type!")}else switch(e.syncType.method){case"localStorage":tc(e);break;default:return}}declare(e,t){Za.register(window,"window",e,t)}}const ic=window.VWOEventsArchInCompatibilityMode,rc=(e,t)=>{if(e&&"function"==typeof e&&e.bind)try{e=e.bind(t)}catch(t){if(/(cannot be invoked without 'new')|(Cannot call a class constructor without |new|)/i.test(t.message))return e;console.error(t)}return e};function sc(e,t,n={}){if("window"===e)return window;let o=window;const{captureGroups:i=null,filter:r}=n,s=e.split("."),a=s.length;for(let e=0;e<a;e++){let t=s[e];if(t.endsWith(")")){const e=t.substring(0,t.indexOf("("));let n=t.substring(t.indexOf("("));n="["+n.slice(1,n.length-1)+"]";const r=n.slice(1,n.length-1).split(",");r.forEach(((e,t)=>{e.startsWith('"')||(r[t]='"vwoCurrThreadRef'+e+'"')}));const s=window.VWO._.native.JSON.parse(n,((e,t)=>{let n;if("string"==typeof t){if(n=t.match(/\${{([0-9]*)}}/))return i[n[1]-1];if(n=t.match(/vwoCurrThreadRef(.*)/))return sc(n[1])}return t}));o=o[e](...s)}else{let e=!1;t.endsWith("?")&&(t=t.slice(0,-1),e=!0);const n=o[t];if(o=rc(n,o),e&&null==o)return o}}if(r){const e={};r.forEach((t=>{e[t]=o[t]})),o=e}return o}const ac=function(e){return window.functionWrapper.unwrap(e.id)(...Ba.parse(e.args))},cc=function(e){var t,n;return d(this,void 0,void 0,(function*(){switch(e.type){case"callWrappedFunction":{let t=ac(e);return t&&"function"==typeof t.then&&(t=yield t),Ba.stringify(t)}case"vwoClassInstanceBridge":{const t=e.path.dest.lastIndexOf(".");let n=window,o=e.path.dest;-1!==t&&(n=sc(e.path.dest.slice(0,t)),o=e.path.dest.substr(t+1));const i=n[o],[r,s]=new i(...e.args);return s.otherSide=(...t)=>{const n=e.path.src+"."+r+"."+t[0];return t[0]=n,window.fetcher.getValue(...t)},""+r}default:{let o,i;if("setValue"===(e=Ba.parse(e)).type){-1==e.path.lastIndexOf(".")&&(e.path="window."+e.path);const t=e.path;e.path=t.slice(0,t.lastIndexOf(".")),o=t.slice(t.lastIndexOf(".")+1)}(null===(t=e.config)||void 0===t?void 0:t.captureGroups)&&(e.config.captureGroups=Ba.parse(e.config.captureGroups));const r=i=sc(e.path,e.args,null==e?void 0:e.config);return(null===(n=e.config)||void 0===n?void 0:n.constructable)?i=new r(...e.args):"function"==typeof r&&(i=r(...e.args||[])),o&&(i=r[o]=e.val),i=yield i,Ba.stringify(i)}}}))};class dc{}class lc extends dc{init(){var e,t,n;this.thread=(null===(t=null===(e=window)||void 0===e?void 0:e.mainThread)||void 0===t?void 0:t.webWorker)||(null===(n=window)||void 0===n?void 0:n.workerThread),this.request=Xa,this.response=Ya,this.thread.onmessage=this.onMessage.bind(this)}onMessage(e){var t,n,o,i;const{data:r}=e;switch(r.type){case"initDone":window.vwo_initDone(r);break;case"request":this.request(r).resolve(cc);break;case"response":this.response(r).resolve(Ba.parse.bind(Ba));break;case"sync":{let e=e=>null;switch(r.syncType){case se.OverWrite:case se.Object:e=this.postMessage.bind(this);break;case se.Property:case se.Document:case se.Variable:case se.Delete:}oc.sync(r,e);break}default:window.VwoUnitTestsRunning&&("unit-test"===r.type?eval(r.code):"unit-test-result"===r.type&&(null===(n=null===(t=window.PromiseResolver)||void 0===t?void 0:t[r.id])||void 0===n||n.resolve(r))),null===(i=(o=this.thread)._onMessage)||void 0===i||i.call(o,e)}}postMessage(e){try{this.thread.postMessage(e)}catch(e){console.error(e)}}getValue(e,t,n={}){let o;(null==n?void 0:n.captureGroups)&&(o=Ba.stringify(n.captureGroups));const i={path:e,args:t,config:Object.assign(Object.assign({},n),{captureGroups:o})};return this.request(Ba.stringify(i)).send().catch((()=>{}))}setValue(e,t){const n={type:"setValue",path:e,val:t};return this.request(Ba.stringify(n)).send().catch((()=>{}))}}class uc extends dc{init(){}onMessage(){}postMessage(){this.onMessage.apply(this,arguments)}getValue(e,t,n={}){return new Promise((n=>{t?Array.isArray(t)?n(window[e](...t)):t.captureGroups.forEach(((t,n)=>{e.replace(`{{${n}}}`,Ba.parse(t))})):n(e)}))}setValue(e,t){return window[e]=t}}class wc extends lc{init(){var e,t,n,o,i;this.thread=(null===(t=null===(e=window)||void 0===e?void 0:e.mainThread)||void 0===t?void 0:t.webWorker)?window.vwoChannelFW:null===(n=window)||void 0===n?void 0:n.workerThread,this.request=Xa,this.response=Ya,(null===(i=null===(o=window)||void 0===o?void 0:o.mainThread)||void 0===i?void 0:i.webWorker)?this.thread.port1.onmessage=this.onMessage.bind(this):(this.thread.onmessage=this.isMessageChannel(this.thread)&&this.onMessage.bind(this),this.auxiliaryMessageHandler())}auxiliaryMessageHandler(){const e=this;let t;t=function(n){const{vwoChannelToW:o,vwoChannelFW:i}=n.data;o&&i&&(window.vwoChannelToW=o,window.vwoChannelFW=i,e.thread=o,e.thread.onmessage=e.onMessage.bind(e),self.removeEventListener("message",t))},self.addEventListener("message",t)}isMessageChannel(e){return e&&e.port1 instanceof MessagePort&&e.port2 instanceof MessagePort}postMessage(e){var t,n;try{(null===(n=null===(t=window)||void 0===t?void 0:t.mainThread)||void 0===n?void 0:n.webWorker)?window.vwoChannelToW.port2.postMessage(e):window.vwoChannelFW.postMessage(e)}catch(e){console.error(e)}}}const _c=ic?uc:wc;window.fetcher=new _c;class hc{constructor(){this.storageLookUpKey="_vwo_store_content"}otherSide(...e){return e[0]="VWO.modules.vwoUtils.contentSync."+e[0],e[2]&&(e[2]={captureGroups:e[2]}),window.fetcher.getValue(...e)}}class pc extends hc{constructor(){super(...arguments),this.collectedData={},this.requestsChecker={}}updateStorage(){return d(this,void 0,void 0,(function*(){if(!this.response)return;const e=window.VWO._.native.JSON.parse(this.response);ie(e).length&&(yield window.fetcher.getValue("VWO._.contentSyncService.updateStorage",[e]))}))}syncGet(e,t,n=!0){return d(this,void 0,void 0,(function*(){return yield window.fetcher.getValue('VWO._.contentSyncService.syncGet("${{1}}", "${{2}}", "${{3}}", "${{4}}")',null,{captureGroups:[e,t,n,!0]})}))}syncFromBackend(e,t,n,o){const[i,r]=e.split(".");if(this.collectedData[i]=this.collectedData[i]||{},this.collectedData[i][r]=this.collectedData[i][r]||[],this.requestsChecker[n])return;this.requestsChecker[n]=1,this.collectedData[i][r].push(t);const s=this;this.debouncedCall=this.debouncedCall||gt((function(){return d(this,void 0,void 0,(function*(){co({url:o+"sync?a="+window._vwo_acc_id,data:window.VWO._.native.JSON.stringify(s.collectedData),success:s.updateStorage}),s.collectedData={}}))}),10),this.debouncedCall()}}window.VWO.modules.vwoUtils.contentSync=new pc;class gc{get(e){return this[e]}set(e,t){this[e]=t}}var vc=new gc,fc;!function(e){e[e.EXCLUDE_PASSED=1]="EXCLUDE_PASSED",e[e.INCLUDE_PASSED=2]="INCLUDE_PASSED",e[e.INCLUDE_FAILED=3]="INCLUDE_FAILED"}(fc||(fc={}));var Oc=fc,mc;!function(e){e.OR="o",e.AND="a"}(mc||(mc={}));var Ec=mc;class Sc{constructor(){this.experimentConfig={},this.pageConfig={},this.experimentConfigCache={},this.pageConfigCache={},this.previewParamsCleanedUrlCache={},Sc.cleanerRegex=/(^https?:\/\/)?(w{3}\.)?(.*?)?((?:\/)(?:home|default|index)\.\w{3,4})?(\/)?([?#].*)?$/i,Sc.logicalOperators=[Ec.AND,Ec.OR]}static get currentUrl(){return window.location.href}add(e,t){if(ts.debug("Adding pageGroup config to phoenix"),fe(e)&&(Object.hasOwnProperty.call(e,"ec")&&e.ec.forEach((e=>{const t=Object.keys(e)[0];this.experimentConfig[t]||(this.experimentConfig[t]=e[t])})),Object.hasOwnProperty.call(e,"pc")&&e.pc.forEach((e=>{const t=Object.keys(e)[0];this.pageConfig[t]||(this.pageConfig[t]=e[t])}))),fe(t)){if(pe(t.pc)){const e=this.getCache(Sc.currentUrl,!0);t.pc.forEach((t=>{e[t]={didMatch:!0,reason:Oc.INCLUDE_PASSED,cacheHit:!0}}))}if(pe(t.ec)){const e=this.getCache(Sc.currentUrl);t.ec.forEach((t=>{e[t]={didMatch:!0,reason:Oc.INCLUDE_PASSED,cacheHit:!0}}))}}}getCache(e,t){return t?(this.pageConfigCache=this.pageConfigCache||{},this.pageConfigCache[e]=this.pageConfigCache[e]||{},this.pageConfigCache[e]):(this.experimentConfigCache=this.experimentConfigCache||{},this.experimentConfigCache[e]=this.experimentConfigCache[e]||{},this.experimentConfigCache[e])}getPreviewParamsCleanedUrl(e){return e?(this.previewParamsCleanedUrlCache=this.previewParamsCleanedUrlCache||{},this.previewParamsCleanedUrlCache[e]||(this.previewParamsCleanedUrlCache[e]=vc.get("jsLibUtils").getCleanedUrl(e,!0)),this.previewParamsCleanedUrlCache[e]):e}getIndexFileCleanedUrl(e){return e?(this.indexFileCleanedUrlCache=this.indexFileCleanedUrlCache||{},this.indexFileCleanedUrlCache[e]||(this.indexFileCleanedUrlCache[e]=e.replace(Sc.cleanerRegex,"$1$2$3$5$6")),this.indexFileCleanedUrlCache[e]):e}validatePage(e,t,n,o){const i=t?this.pageConfig[e]:this.experimentConfig[e];if(!i)return ts.info(`ConfigId ${e} is not present inside ${t?"pageConfig":"experimentConfig"}`),{didMatch:!1,reason:Oc.INCLUDE_FAILED,cacheHit:!1};const r=n||Sc.currentUrl,s=this.getCache(r,t);if(s&&Object.hasOwnProperty.call(s,e))return ts.info(`Fetching value from cache for ${t?"pageConfigId":"experimentConfigId"} = ${e}`),s[e].cacheHit=!0,s[e];let a;const c=i.exc,d=i.inc;if(Array.isArray(c)&&c.length>0){const t=this.evaluateDSL(c,r,o||!1);if(t)return a={didMatch:!t,reason:Oc.EXCLUDE_PASSED,cacheHit:!1},o||(s[e]=a),a}if(Array.isArray(d))if(d.length){const e=this.evaluateDSL(d,r,o||!1);a=e?{didMatch:e,reason:Oc.INCLUDE_PASSED,cacheHit:!1}:{didMatch:e,reason:Oc.INCLUDE_FAILED,cacheHit:!1}}else a={didMatch:!0,reason:Oc.INCLUDE_PASSED,cacheHit:!1};return a=a||{didMatch:!1,reason:Oc.INCLUDE_FAILED,cacheHit:!1},o||(s[e]=a),a}evaluateDSL(e,t,n){if(!pe(e)||e.length<2)return ts.error("Invalid dsl tree",e),!1;const o=[];return e.forEach((e=>{var i;let r;if(e||(r=!1),me(e)&&(r=e),pe(e))if(Sc.logicalOperators.includes(e[0]))r=this.evaluateDSL(e,t,n);else{const[o,s,...a]=e,c=null===(i=os.plugins[is.OPERATOR])||void 0===i?void 0:i.get(s);let d;if(o.includes("url"))d=this.getIndexFileCleanedUrl(this.getPreviewParamsCleanedUrl(t));else{const e=a[0];d=this.validatePage(e,!0,t,n).didMatch,a[0]=!0}r=null==c?void 0:c(d,...a,{jsLibUtils:vc.get("jsLibUtils"),pageUrl:!0})}o.push(r||!1)})),this.evaluateTree(o)}evaluateTree(e){let t=!1;switch(e[0]){case Ec.AND:t=!e.includes(!1);break;case Ec.OR:t=e.includes(!0)}return t}}var Tc=new Sc;const Cc={UNKNOWN_SET_API_TYPE:"Unknown type '{{type}}' found in set API.",EVENTS:{ALREADY_EXISTS:"Event with name '{{eventName}}' already exists. Please use 'update' API if you want to override it.",NOT_REGISTERED:"Event with name '{{eventName}}' has not been registered yet. Please use 'add' API to register it."},OPERATORS:{ALREADY_EXISTS:"Operator with name '{{operatorName}}' already exists. Please use 'update' API if you want to override it.",NOT_REGISTERED:"Operator with name '{{operatorName}}' has not been registered yet. Please use 'add' API to register it."},FORMULAS:{ALREADY_EXISTS:"Formula with name '{{formulaName}}' already exists. Please use 'update' API if you want to override it.",NOT_REGISTERED:"Formula with name '{{formulaName}}' has not been registered yet. Please use 'add' API to register it."},STORAGES:{ALREADY_EXISTS:"Storage with name '{{storageName}}' already exists. Please use 'update' API if you want to override it.",NOT_REGISTERED:"Storage with name '{{storageName}}' has not been registered yet. Please use 'add' API to register it."},TAGS:{ALREADY_EXISTS:"Tag with name '{{tagName}}' already exists. Please use 'update' API if you want to override it.",NOT_REGISTERED:"Tag with name '{{tagName}}' has not been registered yet. Please use 'add' API to register it."},EVENT_PROP:{ALREADY_EXISTS:"Event property with name '{{propName}}' already exists for event '{{eventName}}'. Please use 'update' API if you want to override it.",NOT_REGISTERED:"Event property with name '{{propName}}' has not been registered yet for event '{{eventName}}'. Please use 'add' API to register it."}},yc={EVENTS:{NO_EVENT_TO_REMOVE:"Unable to remove Event '{{eventName}}' as it's not been registered."},OPERATORS:{NO_OPERATOR_TO_REMOVE:"Unable to remove Operator '{{operatorName}}' as it's not been registered."},FORMULAS:{NO_FORMULA_TO_REMOVE:"Unable to remove Formula '{{formulaName}}' as it's not been registered."},STORAGES:{NO_STORAGE_TO_REMOVE:"Unable to remove Storage '{{storageName}}' as it's not been registered."},TAGS:{NO_TAG_TO_REMOVE:"Unable to remove Tag '{{tagName}}' as it's not been registered."},EVENT_PROP:{NO_EVENT_PROP_TO_REMOVE:"Unable to remove Event property '{{propName}}' for event '{{eventName}}' as it's not been registered."}};class Ic extends rs{constructor(){super(),this.pluginName=is.OPERATOR,this.operators={}}add(e,t){ts.debug(`Adding operator '${e}' in OperatorsManager`),this.operators[e]?ts.error(Cc.OPERATORS.ALREADY_EXISTS,{operatorName:e}):this.operators[e]=t}update(e,t){ts.debug(`Updating operator '${e}' in OperatorsManager`),this.operators[e]=t}get(e){return ts.debug(`Getting operator '${e}' in OperatorsManager`),this.operators[e]?this.operators[e]:(ts.error(Cc.OPERATORS.NOT_REGISTERED,{operatorName:e}),null)}remove(e){ts.debug(`Removing operator '${e}' in OperatorsManager`),this.operators[e]?delete this.operators[e]:ts.warn(yc.OPERATORS.NO_OPERATOR_TO_REMOVE,{operatorName:e})}removeAll(){ts.debug("Removing all operators in OperatorsManager"),this.operators={}}initialize(e){Object.assign(this.operators,e)}}var Vc=new Ic,Ac,Nc;!function(e){e.EQUAL="eq",e.NOT_EQUAL="neq",e.EQUAL_CASE_SENSITIVE="eqs",e.NOT_EQUAL_CASE_SENSITIVE="neqs",e.REGEX="reg",e.REGEX_CASE_SENSITIVE="regs",e.CONTAINS="cn",e.NOT_CONTAINS="ncn",e.BLANK="bl",e.NOT_BLANK="nbl",e.GREATER_THAN="gt",e.LESS_THAN="lt",e.GREATER_THAN_EQUAL="gte",e.LESS_THAN_EQUAL="lte",e.IN="in",e.NOT_IN="nin",e.EXEC="exec",e.SELECTOR="sel",e.IN_LOCATION="inloc",e.NOT_IN_LOCATION="ninloc",e.URL_REGEX="urlReg",e.NOT_URL_REGEX="nUrlReg",e.RANGE_COMPARISON="rg",e.PAGE_CONFIG_EVALUATION="pgc"}(Ac||(Ac={})),function(e){e.PAGE="PAGE",e.EVENT="EVENT",e.JS_VARIABLE="JS_VARIABLE"}(Nc||(Nc={}));const bc={[Ac.EQUAL]:(e,t)=>String(e).toLowerCase()===String(t).toLowerCase(),[Ac.NOT_EQUAL]:(e,t)=>!bc[Ac.EQUAL](e,t),[Ac.EQUAL_CASE_SENSITIVE]:(e,t)=>String(e)===String(t),[Ac.NOT_EQUAL_CASE_SENSITIVE]:(e,t)=>!bc[Ac.EQUAL_CASE_SENSITIVE](e,t),[Ac.REGEX](e,t){try{return new RegExp(t,"i").test(String(e))}catch(e){return!1}},[Ac.URL_REGEX](e,t,n){const o=null==n?void 0:n.jsLibUtils;return o?o.verifyUrl(e,t,null,null==n?void 0:n.pageUrl):bc[Ac.REGEX](e,t)},[Ac.NOT_URL_REGEX]:(e,t,n)=>!bc[Ac.URL_REGEX](e,t,n),[Ac.REGEX_CASE_SENSITIVE](e,t){try{return new RegExp(t).test(String(e))}catch(e){return!1}},[Ac.CONTAINS]:(e,t)=>String(e).toLowerCase().includes(String(t).toLowerCase()),[Ac.NOT_CONTAINS]:(e,t)=>!bc[Ac.CONTAINS](e,t),[Ac.BLANK]:e=>!e,[Ac.NOT_BLANK]:e=>!bc[Ac.BLANK](e),[Ac.GREATER_THAN](e,t){if(!fe(e)||!fe(t))return!1;const n=+e,o=+t;return Oe(n)&&Oe(o)&&n>o},[Ac.GREATER_THAN_EQUAL](e,t){if(!fe(e)||!fe(t))return!1;const n=+e,o=+t;return Oe(n)&&Oe(o)&&n>=o},[Ac.LESS_THAN](e,t){if(!fe(e)||!fe(t))return!1;const n=+e,o=+t;return Oe(n)&&Oe(o)&&n<o},[Ac.LESS_THAN_EQUAL](e,t){if(!fe(e)||!fe(t))return!1;const n=+e,o=+t;return Oe(n)&&Oe(o)&&n<=o},[Ac.NOT_IN_LOCATION](e,t){let n=!1;if(!t||0===t.length)return!1;for(let o=0;o<t.length;o++){const i=t[o];if(i===e.countryCode||i===`${e.countryCode}-${e.region}`||i===`${e.countryCode}-${e.region}-${e.city}`){n=!1;break}n=!0}return n},[Ac.IN_LOCATION](e,t){let n=!1;if(!t||0===t.length)return!1;for(let o=0;o<t.length;o++){const i=t[o];if(i===e.countryCode||i===`${e.countryCode}-${e.region}`||i===`${e.countryCode}-${e.region}-${e.city}`){n=!0;break}}return n},[Ac.IN]:(e,t)=>t.map((e=>String(e).toLowerCase())).includes(String(e).toLowerCase()),[Ac.NOT_IN]:(e,t)=>!bc[Ac.IN](e,t),[Ac.RANGE_COMPARISON](e,t){try{let n=JSON.parse;try{n=window.VWO._.native.JSON.parse||JSON.parse}catch(e){}const o=n(e),i=t.split("'")[1].split("-"),r=i[0],s=i[1];return bc[Ac.GREATER_THAN_EQUAL](o[0],parseInt(r,10))&&bc[Ac.LESS_THAN_EQUAL](o[0],parseInt(s,10))}catch(e){return ts.info(`RANGE OPERATOR ERROR: ${e&&e.stack}`),!1}},[Ac.PAGE_CONFIG_EVALUATION]:(e,t)=>Tc.validatePage(t,!1,e).didMatch};var Rc=Object.assign(bc,{sel(e,t){try{return!!e.closest(t)}catch(e){return!1}}});Vc.initialize(Rc);class Lc{constructor(){this.listenerAdded=!1,this.queue=new Set}addListener(e){this.queue.add(e),this.listenerAdded||(window.addEventListener("storage",(e=>{this.queue.has(e.key)&&this.otherSide("processQueue",[e.key,e.newValue])})),this.listenerAdded=!0)}otherSide(...e){e[0]="VWO.modules.utils.storageSyncer."+e[0],window.fetcher.getValue(...e)}}const Wc=new Lc;function Pc(e,t){window.VWO.phoenix('store.actions.addValues("${{1}}", "${{2}}")',null,{captureGroups:[e,t]})}window.VWO.modules.utils.storageSyncer=Wc;const Dc=function(){var e;const t={},{campaigns:n}=window.VWO._.allSettings.dataStore;let o="";for(const e in n){const i=n[e],r=n[e].type;if("FUNNEL"===r||!i.eHIR&&(i.ready||i.cA))continue;if(i.manual)continue;const s="SPLIT_URL"===r,a=wr.doExperimentHere(i)[0];if(t[e]={},t[e].dEH=a,a){if(s){bn(e)||(o=window.VWO._.bodyPath+",");break}{let{selector:n,selectorPerVariation:r,cPathSelector:s,cPathSelectorPerVariation:a}=zn.getCampaignXPath(i);n=n||"",n&&(t[e].xpath={selector:n,selectorPerVariation:r},o.indexOf(n)>-1||(o+=n+",")),s&&(t[e].cpath={cPathSelector:s,cPathSelectorPerVariation:a},-1==o.indexOf(s)&&(o+=s+","))}}}o&&(o=o.substr(0,o.length-1),o+=zn.hideElExpression,zn.insertCSS("_vis_opt_path_hides",o)),(null===(e=window._vwoCc)||void 0===e?void 0:e.disableSpaVisPerf)||(window.VWO._.visibilityServiceCache=t,Pc({visibilityServiceCache:t},"vwoInternalProperties"))},xc=e=>!(0!==e&&!e),Uc=(e,t,n)=>n.syncGet("fns.list",[e,t]),kc=(e,t,n)=>d(void 0,void 0,void 0,(function*(){if(!xc(e))return!1;const o=yield Uc(e,t,n);return!!o.dataPresent&&o.val})),Mc=(e,t,n)=>d(void 0,void 0,void 0,(function*(){if(""===e||!xc(e))return!1;const o=yield Uc(e,t,n);return!!o.dataPresent&&!o.val})),Gc={f_in_list:kc,f_nin_list:Mc},Fc=function(e){var t,n;return d(this,void 0,void 0,(function*(){try{v("jI"),e._.allSettings.dataStore.vwoData=e._.allSettings.dataStore.vwoData||{};const o=e._.allSettings.tags;Object.keys(o).forEach((e=>{o[e].fn=qo(o[e].fn)})),Fa(e);const i=[];let r;i.push(null),i.push(va.getPhoenixConfig()),window.fetcher.getValue('setVWO("${{1}}")',null,{captureGroups:[e]}),window.fetcher.setValue("fakeWindow.VWOSettings",i),window.fetcher.setValue("window._vwoCc",window._vwoCc);const s=window.VWO._.allSettings.dataStore.CIF,a=window.VWO._.cookies.get("_vwo_uuid");if(s)if(a)r=a;else if(r=s(),!r)return;window.VWO._.allSettings.dataStore.uuid=window._vwo_uuid=r||Wn((()=>window.VWO._.allSettings.dataStore.uuid)),window.fetcher.setValue("window._vwo_uuid",window._vwo_uuid),window._vwoCc&&window.fetcher.setValue("window._vwoCc",window._vwoCc);const[c,l]=Oa();e.phoenix=c,va.postPhoenixMTHook();const u=new oc;if(window._vwo_exp=u.register(se.Object,"_vwo_exp",window._vwo_exp,"",!1),window.VWO._.allSettings.dataStore.campaigns=window._vwo_exp,u.register(se.Document,"cookie"),u.register("custom","localStorage"),window.VWO._.phoenixMT.trigger("vwo_phoenixInitCalled"),window._vis_debug){const e=Object.keys(window._vwo_exp)[0];window._vwo_exp[e].debug.v=zn.getSelectedVariationForPreviewMode(window._vwo_exp[e])}const[w,_]=yield l;window.VWO._.phoenixMT.on(de.SPA_VISIBILITY_SERVICE,Dc),e.data.tB=!0,e.addPhoenix(w),window.vwo_cInstJS&&(e._.insightsOnConsentPromise=new Promise((e=>{window.VWO.phoenix('on("${{1}}", "${{2}}")',null,{captureGroups:["trigger.InsightsOnConsentTrigger",e]})}))),Fi.init("jslib",e,null),Fi.init("optOut",e,null),window._vwo_surveySettings=u.register(se.Object,"_vwo_surveySettings",window._vwo_surveySettings),window.VWO._.track=u.register(se.Object,"tracklib",window.VWO._.track,"",!1),window.VWO._.insightsUtils=u.register(se.Object,"insightsUtils",window.VWO._.insightsUtils,"",!1),vc.set("jsLibUtils",{verifyUrl:function(){return lr.verifyUrl.apply(lr,arguments)},getCleanedUrl:function(){return lr.getCleanedUrl.apply(lr,arguments)}}),os.register(Vc),Vc.add("inlist",(function(e,t){return d(this,void 0,void 0,(function*(){return!!(yield Gc.f_in_list(e,t,window.VWO.modules.vwoUtils.contentSync))}))})),Vc.add("ninlist",(function(e,t){return d(this,void 0,void 0,(function*(){return!!(yield Gc.f_nin_list(e,t,window.VWO.modules.vwoUtils.contentSync))}))})),e.pageGroup=Tc;const{pages:h,pagesEval:p}=e._.allSettings;e.pageGroup.add(h,p),ke.init(),window.fetcher.getValue("VWO.modules.vwoUtils.referrer.init"),Ta.finish(),window.VWO._.phoenixMT.trigger("vwo_phoenixInitialized"),window.VwoUnitTestsRunning&&(null===(n=(t=window).resolveUnitTestPromise)||void 0===n||n.call(t));const g=window.VWO._.phoenixMT.on("vwo_urlChangeMt",(()=>{if(window.VWO._.phoenixMT.off(g),"object"!=typeof window.VWO._.txtCfg||!window.VWO._.txtCfg.tn)return;window.VWO._.txtCfg.o&&window.VWO._.txtCfg.o.d(),window.VWO._.txtCfg.f(window.VWO._.txtCfg.tn);const e=Object.assign({},window.VWO._.txtCfg);delete e.o,delete e.f,window.fetcher.setValue("window.VWO._.txtCfg",e)}));qn()}catch(e){window._vwo_code&&window._vwo_code.finish(),window.vwo_libExecuted=!0,c.error("Error in bootPhoenix:",e.stack)}}))},$c={},jc=function(e,t,n,o={allowReload:!1}){if(!(ue()&&e.indexOf("get_debugger_ui")<0||$c[e])){o.allowReload||($c[e]=1);var i=document.createElement("script");i.src=e,i.type="text/javascript",t=t||function(){},n=(n=n||function(){})||function(){},i.onerror=function(){window.VWO._.gcpfb&&window.VWO._.gcpfb(e,window.VWO.modules.utils.loadScript,null,t,n)||t()},o.defer&&(i.defer=o.defer),i.onload=n,document.getElementsByTagName("head")[0].appendChild(i),i.parentNode?i.parentNode.removeChild(i):window.setTimeout((function(){i.parentNode&&i.parentNode.removeChild(i)}),100)}};window.VWO.modules.utils.loadScript=jc;const Hc=e=>{e._.allSettings.triggers[Qe]={cnds:["a",{id:2,event:de.SSR_COMPLETE},{event:de.NOT_REDIRECTING,id:4,filters:{}},{event:de.VISIBILITY_TRIGGERED,id:5,filters:{}},{event:de.PAGE_VIEW,id:1e3,filters:{}}],dslv:2}},Bc=function(e,t){window._vwo_exp=e._.allSettings.dataStore.campaigns,e._.coreLib={lS:jc};const n=window._vwo_server_url||"https://dev.visualwebsiteoptimizer.com/";function o(e,t){var n;if(!(null===(n=window.VWO.consentMode)||void 0===n?void 0:n.wFC))return;const o=["o",{filters:[[`storage.cookies._vis_opt_exp_${t}_combi`,"nbl"]],id:500,event:de.PAGE_VIEW},{filters:[["window.VWO.consentMode.dT","neq",!0]],event:de.COOKIE_CONSENT_ACCEPTED,id:+new Date}],i=window.VWO._.allSettings.triggers[e].cnds;1===i.length?i[0]=["a",i[0],o]:i.push(o)}function i(t){e._.allSettings.triggers.customPreviewTrigger={cnds:["a",{event:de.PAGE_VIEW,id:+new Date},{event:de.VISIBILITY_TRIGGERED,id:+new Date}]},o("customPreviewTrigger",t),e._.allSettings.rules.push({triggers:["customPreviewTrigger"],tags:[{priority:4,data:`campaigns.${t}`,id:"runCampaign"}]});const n=e._.allSettings.dataStore.campaigns[t].triggers[0];if(delete e._.allSettings.triggers[n],e._.allSettings.dataStore.campaigns[t].triggers[0]="customPreviewTrigger",zn.isPersonalizeCampaign(_vwo_exp[t]))for(const t in e._.allSettings.triggers){const o=e._.allSettings.triggers[t].cnds;if(Array.isArray(o))for(const e of o)(null==e?void 0:e.event)&&e.event.indexOf(`trigger.${n}`)>-1&&(e.event="trigger.customPreviewTrigger")}}Hc(e),window.vwo_cInstJS&&(e._.allSettings.tags.ctInsightsOnConsent={},e._.allSettings.tags.ctInsightsOnConsent.fn=window.vwo_cInstJS,e._.allSettings.triggers.InsightsOnConsentTrigger={cnds:[{event:"vwo_postInit",filters:[[["tags.ctInsightsOnConsent"],"exec"]],id:+new Date}]}),va.setFunnelExps();const r=e._.allSettings.dataStore.previewExtraSettings;if(!r||"object"!=typeof r){if($e())for(const t in e._.allSettings.dataStore.campaigns)i(t);return t(e),!1}const s=ie(r);if(!s.length)return t(e),!1;const a=s[0],d=r[a].debug.s,l=r[a].debug.tg;for(var u in window._vwo_exp)window._vis_debug=!0,window.fetcher.setValue("fakeWindow._vis_debug",window._vis_debug),r[u]?(_vwo_exp[u].previewHash=r[u].previewHash,_vwo_exp[u].debug=r[u].debug,r[u].debug.url&&(_vwo_exp[u].url=decodeURIComponent(r[u].debug.url))):delete _vwo_exp[u];let w;ka(window._vwo_exp,r),Object.keys(e._.allSettings.dataStore.campaigns).length||c.error("Preview mode opened but no campaigns served");const _=window.name.indexOf("_vis_heatmap_")>=0||window._vwo_tm.indexOf("_vis_heatmap_")>=0;var h;if(d&&!_||i(a),h=a,e._.allSettings.triggers.customSegmentTestTrigger={cnds:[{event:"checkSegmentation",id:+new Date}]},e._.allSettings.rules.push({triggers:["customSegmentTestTrigger"],tags:[{data:`campaigns.${h}`,id:"segmentEligibilityTest"}],occurance:1}),function(t){e._.allSettings.triggers.customPatternTestTrigger={cnds:[{id:+new Date,event:de.PAGE_VIEW}]},o("customPatternTestTrigger",t),e._.allSettings.rules.push({triggers:["customPatternTestTrigger"],tags:[{id:"compareUrlAndFireResultantEvent"}]}),function(){e._.allSettings.triggers.customVisibilityServiceTrigger={cnds:["a",{id:+new Date,event:"vwo_groupCampTriggered"},{id:+new Date,event:"executePatternMatching"}]};const t=e._.allSettings.rules;e._.allSettings.rules=t.map((e=>("visibilityService"===e.tags[0].id&&(e.triggers=["customVisibilityServiceTrigger"]),e)))}()}(a),!l){const t=window._vwo_exp[a].debug.v;e._.allSettings.dataStore.campaigns[a].sections[1].triggers[t]&&(e._.allSettings.dataStore.campaigns[a].sections[1].triggers[t]="customPreviewTrigger")}if(window._vwo_surveySettings&&!d){const e=ie(window._vwo_surveySettings);e.length&&window._vwo_surveySettings[e[0]].t&&(window._vwo_surveySettings[e[0]].t="customPreviewTrigger")}if(_)w=`${n}7.0/heatmap.helper.js`,window._vis_opt_heatmap=1;else{if("SURVEY"===e._.allSettings.dataStore.campaigns[a].type)return window.fetcher.setValue("fakeWindow._vwo_surveySettings",window._vwo_surveySettings),t(e),!0;if(window.VWO_d&&window.VWO_d.bootDebugger)return t(e),!0;w=`${n}7.0/debugger.js`}return jc(w,null,(function(){t(e)})),!0};class Jc{constructor(){this.id=0,this.store={}}wrap(e,t){const n=this.id++;return this.store=this.store||{},this.store[n]=t?e.bind(t):e,n}unwrap(e){return this.store[e]}}function Kc(e,t,n){const o={};return n.forEach((n=>{var i;const[r,s,...a]=n.condition,c=qc(r,t),d=null===(i=os.plugins[is.OPERATOR])||void 0===i?void 0:i.get(s),l=null==d?void 0:d(c,...a,{eventName:e,triggerName:n.triggerId,jsLibUtils:vc.get("jsLibUtils")});732155===window._vwo_acc_id&&4133600==n.triggerName&&(o.fMeta=n.condition,o.fAns=l),o[n.triggerName]=o[n.triggerName]||{},o[n.triggerName][n.condId]=o[n.triggerName][n.condId]||{},o[n.triggerName][n.condId][n.filterId]=l})),o}function qc(e,t){const n=e.split(".");let o;switch(n[0]){case"event":{let e=t;for(let t=1;t<n.length;t++){const i=n[t];o=e[i],e=o,"innerText"===i&&(o=null==o?void 0:o.trim())}break}case"page":{const e=n[1];o=Me.page[e];break}}return o}window.VWO.modules.utils.triggers={triggersConditionsCheck:Kc};class Yc{constructor(e,t,n,o){this.eventName=e,this.domEventName=t,this.domEventsDebounceTime=n,this.attachedFilters=o}on(e){this.domEventName!==r.CLICK&&this.domEventName!==r.SUBMIT&&(this.domEventName===r.DOM_CONTENT_LOADED?"interactive"===document.readyState||"complete"===document.readyState?setTimeout((()=>{e()}),0):window.document.addEventListener(this.domEventName,this.callback=ln((t=>{t.preComputedConds=Kc(this.eventName,t,this.attachedFilters),e(t)}),this.domEventsDebounceTime),!0):this.domEventName===r.SCROLL?window.document.addEventListener(this.domEventName,this.callback=ln((t=>{const{scrollY:n,innerHeight:o}=window,i=vwo_$(document).height(),r=100*n/(i-o);Object.assign(t,{pxTop:n,pxBottom:i-o-n,top:r,bottom:100-r}),t.preComputedConds=Kc(this.eventName,t,this.attachedFilters),e(t)}),this.domEventsDebounceTime),!0):window.document.addEventListener(this.domEventName,this.callback=ln((t=>{t.preComputedConds=Kc(this.eventName,t,this.attachedFilters),e(t)}),this.domEventsDebounceTime),!0))}off(){window.document.removeEventListener(this.domEventName,this.callback,!0)}eventConditionsUpdate(e){this.attachedFilters=e}}window.VWO.modules.phoenixPlugins.events.predefinedEvents.GenericDOMEvent=te.secondary("VWO.modules.phoenixPlugins.events.predefinedEvents.GenericDOMEvent",Yc);class Xc{}class zc extends Xc{constructor(){super(),this.eventName=n.LEAVE_INTENT,this.threshold=2,this.delay=1e3}on(e){window.document.addEventListener("mouseout",this.onMouseLeave(e).bind(this)),window.document.addEventListener("mouseover",this.onMouseEnter.bind(this))}off(){window.document.removeEventListener("mouseout",this.mouseLeaveCallback),window.document.removeEventListener("mouseover",this.onMouseEnter)}onMouseLeave(e){const t=he(window._vwoCc)&&window._vwoCc.usrExitLimit||this.delay;return this.mouseLeaveCallback=n=>{this.isMouseMoveUpward(n)&&(Math.abs(n.offsetY||n.clientY)<=this.threshold||(this.timeout=window.setTimeout((()=>e(n)),t)))},this.mouseLeaveCallback}onMouseEnter(){clearTimeout(this.timeout)}isMouseMoveUpward(e){let t=!0;return/\b(MSIE|Trident.*?rv:|Edge\/)(\d+)/.test(navigator.userAgent)||(t=e.clientY<0),t&&e.screenY-window.innerHeight<0&&(e.offsetX||e.clientX)-3>0&&e.clientX+3-window.innerWidth<0}}window.VWO.modules.phoenixPlugins.events.predefinedEvents.LeaveIntentEvent=te.secondary("VWO.modules.phoenixPlugins.events.predefinedEvents.LeaveIntentEvent",zc);class Qc extends Xc{constructor(e){var t;super(),this.eventName=n.URL_CHANGE,this.originalCallbacks={},this.enableSpaVisibility=!!(null===(t=window._vwoCc)||void 0===t?void 0:t.enableSpaVisibility),this.events=e||["pushState","replaceState","hashchange","popstate"]}on(e){this.lastExecutedURL=window.location.href,this.events.forEach((t=>{"popstate"===t?window.addEventListener(t,(t=>{const n=window.location.href;this.lastExecutedURL!==n&&(window.VWO._.phoenixMT.trigger("vwo_reRun"),window.VWO._.urlChangeProcessingPending=!0,zn.resetAuxDependencies(),this.lastExecutedURL=n,window._vis_opt_url=void 0,e({_event:zn.filterEventObjectForWT(t),location:{href:window.location.href,search:window.location.search,hash:window.location.hash}}),this.enableSpaVisibility&&window.VWO._.phoenixMT.trigger(de.SPA_VISIBILITY_SERVICE),window.VWO._.phoenixMT.trigger("vwo_urlChangeMt"),qn())}),!1):(this.originalCallbacks[t]=window.history[t],window.history[t]=(...n)=>{window._vis_opt_url=void 0,this.originalCallbacks[t].apply(window.history,n);const o=window.location.href;Gn(o,"spa"),this.lastExecutedURL!==o&&(window.VWO._.phoenixMT.trigger("vwo_reRun"),window.VWO._.urlChangeProcessingPending=!0,zn.resetAuxDependencies(),this.lastExecutedURL=o,e({values:n,location:{href:window.location.href,search:window.location.search,hash:window.location.hash}}),this.enableSpaVisibility&&window.VWO._.phoenixMT.trigger(de.SPA_VISIBILITY_SERVICE),window.VWO._.phoenixMT.trigger("vwo_urlChangeMt"),qn())})}))}off(){Object.keys(this.originalCallbacks).forEach((e=>{window.history[e]=this.originalCallbacks[e]}))}}window.VWO.modules.phoenixPlugins.events.predefinedEvents.UrlChangeEvent=te.secondary("VWO.modules.phoenixPlugins.events.predefinedEvents.UrlChangeEvent",Qc);class Zc{}class ed extends Zc{shouldWeTriggerMetric({currentUrl:e},t,n,o={}){const i=t.isFirst,{excludeUrl:r,pExcludeUrl:s,urlRegex:a,pUrl:c}=n;let d;d=!(r||s||a||c)||ta.isGoalEligible(n,e);return!(!zn.isSessionBasedCampaign2(t)&&i&&o.name===de.PAGE_VIEW&&"CUSTOM_GOAL"===n.type)&&d}}var td=new ed;class nd{constructor(){this.cacheBfClick={}}initiate(e){const t=this,n=e.closest("form");if(n){const o=t.computeStateCache();n.addEventListener("input",(function e(){t.end(n,e)})),this.targetClicked=e,this.cacheBfClick=o}}computeStateCache(){const e={},t=window._vwo_exp;return Object.keys(t).forEach((n=>{const o=t[n];e[n]=o.ready})),e}end(e,t){this.cacheBfClick={},this.targetClicked=this.submitter=null,e&&t&&e.removeEventListener("input",t)}didCampConvertInBetween(e){const t=e.id;return this.cacheBfClick[t]!==e.ready}updateCache(e){this.submitter=e}isFinished(){return 0===Object.keys(this.cacheBfClick).length||this.submitter!==this.targetClicked}}const od=new nd;function id(e,t,n){var o,i;const r="o"===n[0];let s=!1;for(let a=0;a<n.length;a++){const c=n[a];if(!c.filters)continue;let d=!0;for(const n of c.filters){const[r,s,...a]=n,l=qc(r,t);if(!(null===(i=null===(o=os.plugins[is.OPERATOR])||void 0===o?void 0:o.get(s))||void 0===i?void 0:i(l,...a,{eventName:e,triggerName:c.id,jsLibUtils:vc.get("jsLibUtils")}))){d=!1;break}}if(r&&d){s=!0;break}s=d}return s}class rd{constructor(e,t){this.nameInStorage=e,this.goalsFilter=t}checkMissingComputations(e){var t,n,o;try{const{goalId:i,campaignId:r,eventData:s,eventName:a}=e,c=window.VWO._.allSettings,d=c.triggers[null===(n=null===(t=c.dataStore.campaigns[r])||void 0===t?void 0:t.mt)||void 0===n?void 0:n[i]].cnds;return!d||!(d.length>1||(null===(o=d[0].filters)||void 0===o?void 0:o.length))||id(a,s,d)}catch(e){return!0}}isGoalTriggerValid(e,t){if(!e)return this.checkMissingComputations(t);let n=!1;const o=Object.keys(e);for(const t of o){const o=e[t];let i=!0;const r=Object.keys(o);for(const e of r)if(!o[e]){i=!1;break}if(i){n=!0;break}}return n}fireEventForConversion(e,t,n){if(!mn.shouldWeTrackVisitor())return;const o=[],i=window._vis_opt_url||window.location.href,r=Ao(null,e,t);return window.VWO._.goalsToBeConvertedSynchronously||zn.updateGoalsKind(window._vwo_exp),Object.keys(window.VWO._.goalsToBeConvertedSynchronously).forEach((r=>{var s,a;const c=window.VWO._.goalsToBeConvertedSynchronously[r],d=window._vwo_exp[r];if("vwo_dom_submit"===e&&!od.isFinished()&&od.didCampConvertInBetween(d))return;if(!(null===(s=window._vwoCc)||void 0===s?void 0:s.ignoreCSAForGoals)&&(null===(a=null==d?void 0:d.ss)||void 0===a?void 0:a.csa)&&!d.isTriggerValidated)return;if((null==d?void 0:d.mE)&&wr.doExperimentHere(d)[0]&&!d.combination_chosen)return;const l=zn.isSessionBasedCampaign2(d),u=zn.hasInsightsMetric(d.type),w=!l||u||Wn((()=>window.VWO._.track.loaded));w&&!wr.getCombi(d)||zn.shouldTrackUserForCampaign(d)&&Object.entries(c).forEach((([s,a])=>{var c;const l=Object.assign({kind:a},d.goals[s]);if(this.goalsFilter.includes(l.kind)){const a=null===(c=d.mt)||void 0===c?void 0:c[s];if(!a||!this.isGoalTriggerValid(t.preComputedConds[a],{goalId:s,campaignId:r,eventData:null==n?void 0:n.eventData,eventName:e})||!td.shouldWeTriggerMetric({currentUrl:i},d,l))return;if(!w)return void wr.getCombi(d);wr.isGoalTriggered(d,s)||o.push({c:d.id,g:s})}}))})),o.length&&ia(t,o),r}}window.VWO.modules.utils.goalUtils={GoalConversion:rd};class sd{static isBrowserChromiumBased(){const e=Me.navigator.userAgent;return!(!e.includes("Chrome/")||!e.includes("Safari/"))}}class ad{getTargetPathInfo(e){let t,n,o,i,r,s,a,c,d;t=vwo_$(Wn((()=>e.composedPath()[0]))||e.target),n=t.get(0);const l=In(n);return l!==n&&(n=l,t=vwo_$(n)),c=yn(n),"string"!=typeof c||"html"===c.toLowerCase()||zn.isBot2()||(d=t.offset(),"touchend"===e.type?(r=e.originalEvent&&e.originalEvent.changedTouches[0],r&&(o=r.pageX,i=r.pageY)):(o=e.pageX,i=e.pageY),s=Math.round(1e3*(o-d.left)/(t.outerWidth()||Vn(t)))/1e3,a=Math.round(1e3*(i-d.top)/(t.outerHeight()||An(t)))/1e3,(0>s||1<s)&&(s=.5),(0>a||1<a)&&(a=.5)),"html"===c.toLowerCase()&&(c=""),{xpath:c,x_percent:s,y_percent:a}}evaluateHeatmapData(e){let t,n,o,i,r,s,a={};vwo_$(e.target).get(0);const c=window._vwo_acc_id,d=window._vwo_exp,l=ot(d);n=l.length;const{xpath:u,x_percent:w,y_percent:_}=this.getTargetPathInfo(e);for(;n--;)if(o=l[n],t=d[o],"RUNNING"===t.status&&t.clickmap&&(t.ready||t.gp)){const e=wr.getCombi(t);if(t.clicks=t.clicks||0,e&&u&&++t.clicks<=(window._vwo_clicks||10)&&zn.isEligibleToSendCall(o)){s=zn.getUUID(t),r="h.gif?experiment_id="+o+"&account_id="+c+"&combination="+e+zn.getUUIDString(s)+"&url="+encodeURIComponent(window.location.href)+"&path="+encodeURIComponent(u)+"&x="+w+"&y="+_+"&mapEv=false",window.VWO._.isBeaconAvailable=!0,window.VWO._.isLinkRedirecting=undefined,mo.sendCall({serverUrl:Me.serverUrl,accountId:c},{url:r}),window.VWO._.isLinkRedirecting=!1,i=i&&window.VWO._.isBeaconAvailable,window.VWO.modules.tags.wildCardCallback({oldArgs:[o,e,u,w,_]},de.HEATMAP_CLICK);const n={x:w,y:_,path:u},d="id_"+o;a[s]?a[s]=Object.assign(Object.assign({},a[s]),{[d]:e}):a=Object.assign(Object.assign({},a),{[s]:Object.assign({[d]:e},n)})}}return a}}const cd=new ad;window.VWO.modules.utils.heatmapUtils=cd;class dd{constructor(e){this.eventName=n.CLICK_EVENT,this.attachedFilters=e,this.goalConverter=new rd("vwoClickGoalData",["CLICK_ELEMENT","ENGAGEMENT","ON_PAGE"]),window.VWO._.phoenixMT.on(de.DOM_CLICK,(e=>{Pn(this.performClick.call(this,e))}),{syncToDataLayer:!0})}handleShadowDOMClick(e){let t={};const n=new Proxy(e,{get:(e,n)=>{let o=t[n]||e[n];return"function"==typeof o&&(o=o.bind(t[n]?t:e)),o},set:(e,n,o)=>(t[n]=o,!0)}),o=n.composedPath(),i=e.target;for(let r=0;r<o.length;r++){n.target=o[r];const s={e:n,ignoreObj:{heatmap:0!=r}};if(o[r]==i){this._click(s),e._vwo=s.e._vwo;break}(0==r||o[r].shadowRoot)&&(this._click(s),e._vwo=s.e._vwo),t={}}}performClick(e){e.vwoEventName=de.DOM_CLICK,e.target.shadowRoot&&e.composedPath?this.handleShadowDOMClick(e):this._click({e:e}),Mn({msg:"Clicked on an element!",event:e})}shouldTrackClick(e,t){return"touchend"===e||void 0===t||1===t}onPointerUp(e,t){var n;e.target.vwoPD&&(!!(null!==(n=window.chrome)&&void 0!==n?n:sd.isBrowserChromiumBased())||!t)&&(window.VWO._.phoenixMT.trigger(de.DOM_CLICK,e),window.VWO._.phoenixMT.trigger("vwo_domClicked",e))}onPointerDown(e){e.target.vwoPD=1}_click({_pause:e,e:t,ignoreObj:n}){var o,i;let r,s;if((null===(o=t._vwo)||void 0===o?void 0:o.isDeadClick)||(null===(i=t._vwo)||void 0===i?void 0:i.isRageClick))return;n=n||{};const a=t.which,c=vwo_$(t.target),d=c.get(0);if(od.initiate(d),!this.shouldTrackClick(t.type,a)||void 0===d.tagName)return;void 0===e&&(e=500),"a"===d.tagName.toLowerCase()?(r=c.attr("href"),s=!0):0<c.parents("a").length?(r=c.parents("a").eq(0).attr("href"),s=!0):("button"===d.tagName.toLowerCase()||0<c.parents("button").length||"input"===d.tagName.toLowerCase()&&("button"===c.attr("type")||"image"===c.attr("type")||"submit"===c.attr("type")))&&(s=!0),t.props=t.props||{},t.userEngagement=t.props.userEngagement=!!s,t.eventUuid=t.eventUuid||zn.generateUUID(),r&&(Hn.setInWin(r),t.props.targetUrl=t.targetUrl=r),t.preComputedConds=Kc(this.eventName,t,this.attachedFilters);const l={props:t.props,targetUrl:t.targetUrl,userEngagement:t.userEngagement,vwoEventName:t.vwoEventName,preComputedConds:t.preComputedConds,eventUuid:t.eventUuid};let u={};u=n.heatmap?{}:cd.evaluateHeatmapData(t),this.goalConverter.fireEventForConversion(this.eventName,l,{eventData:t});let w=Wn((()=>l._vwo.eventDataConfig))||{};Object.keys(w).length&&Object.keys(u).length?w=this.syncHeatmapAndEventsData(u,w):Object.keys(u).length&&(w=u),t._vwo=t._vwo||{},Object.keys(w).length&&(t._vwo.eventDataConfig=Ko.mergeNestedObjectsV2({mergeArrays:!0},w,t._vwo.eventDataConfig)),t._vwo.syncEventData=l}syncHeatmapAndEventsData(e,t){const n={};for(const o in t)Object.keys(e).find((e=>e===o))&&(n[o]=Object.assign(Object.assign({},t[o]),e[o]),delete t[o]);return n}on(e,t){const n=this,o=$e(),i=vwo_$(document)[0];o||function(){if(i&&i.vwoCEvent)return;const e=vwo_$(i);let o=null,r=!1;Hi.addJqEventListener(e,"bind","pointerdown",(e=>{null!==o&&delete o.vwoPD,n.onPointerDown(e),o=e.target,r=!1}),null,t.useCapturePhase),Hi.addJqEventListener(e,"bind","pointermove",(e=>{"touch"===e.pointerType&&(r=!0)}),null,t.useCapturePhase),Hi.addJqEventListener(e,"bind","pointerup",(e=>{n.onPointerUp(e,r)}),null,t.useCapturePhase),i&&(i.vwoCEvent=1)}()}off(){}eventConditionsUpdate(e){this.attachedFilters=e}otherSide(...e){throw new Error("entered into outdated otherSide")}}window.VWO.modules.phoenixPlugins.events.predefinedEvents.ClickDomEvent=te.secondary("VWO.modules.phoenixPlugins.events.predefinedEvents.ClickDomEvent",dd);class ld{constructor(e){this.eventName=de.DOM_SUBMIT,this.attachedFilters=e,this.goalConverter=new rd("vwoSubmitGoalData",["FORM_SUBMIT"]),window.VWO._.phoenixMT.on(de.DOM_SUBMIT,(e=>this.onFormSubmit({e:e})),{syncToDataLayer:!0})}eventConditionsUpdate(e){this.attachedFilters=e}otherSide(...e){throw new Error("entered into outdated otherSide")}onFormSubmit({e:e}){var t,n=vwo_$(e.target),o=n.get(0);if(od.updateCache(e.submitter),"string"==typeof o.tagName&&"form"!==o.tagName.toLowerCase()&&n.parents("form").length>0&&(o=n.parents("form").get(0)),"string"==typeof o.tagName&&"form"!==o.tagName.toLowerCase()||"vwo_form"===vwo_$(o).attr("id"))return;e.props=e.props||{},e.props.targetUrl=e.targetUrl=vwo_$(o).attr("action"),e.userEngagement=e.props.userEngagement=!0,e.isBeaconAvailable=!0,e.isLinkRedirecting=!0,e.vwoEventName=this.eventName,e.preComputedConds=Kc(this.eventName,e,this.attachedFilters),t={props:e.props,targetUrl:e.targetUrl,userEngagement:e.userEngagement,isBeaconAvailable:e.isBeaconAvailable,isLinkRedirecting:e.isLinkRedirecting,vwoEventName:e.vwoEventName,preComputedConds:e.preComputedConds},this.goalConverter.fireEventForConversion(this.eventName,t,{eventData:e});const i=Wn((()=>t._vwo.eventDataConfig))||{};e._vwo=e._vwo||{},Object.keys(i).length&&(e._vwo.eventDataConfig=i),e._vwo.syncEventData=t,od.end()}on(e,t){const n=$e(),o=vwo_$(document)[0];o&&(o.vwoFEvent=1),function(){var e=vwo_$(document)[0];n||(Hi.addJqEventListener(vwo_$(e),"bind","submit",(e=>{window.VWO._.phoenixMT.trigger(de.DOM_SUBMIT,e)}),null,t.useCapturePhase),e&&(e.vwoFEvent=1))}()}off(){}}window.VWO.modules.phoenixPlugins.events.predefinedEvents.SubmitDomEvent=te.secondary("VWO.modules.phoenixPlugins.events.predefinedEvents.SubmitDomEvent",ld);class ud extends Xc{constructor(){super(...arguments),this.eventName=n.PAGE_LOAD_EVENT}on(e){if("complete"===document.readyState)e();else{const t=this.onPageLoad(e);window.addEventListener("load",(e=>{t(zn.filterEventObjectForWT(e))}),!0)}}off(){window.removeEventListener("load",(e=>{this.pageLoadCallback(zn.filterEventObjectForWT(e))}),!0)}onPageLoad(e){return this.pageLoadCallback=e,this.pageLoadCallback}}window.VWO.modules.phoenixPlugins.events.predefinedEvents.PageLoadEvent=te.secondary("VWO.modules.phoenixPlugins.events.predefinedEvents.PageLoadEvent",ud);let wd=!1;function _d(){let e=!1;function t(t){e||(e=!0,window.VWO._.phoenixMT.trigger(de.PAGE_EXIT,t))}window.addEventListener("beforeunload",(function(e){t(e)})),window.addEventListener("pagehide",(function(e){t(e)})),document.addEventListener("visibilitychange",(function(n){!function(n){"hidden"===document.visibilityState?t(n):e=!1}(n)})),window.addEventListener("pageshow",(function(t){t.persisted&&(e=!1)})),wd=!0}!wd&&_d();const hd=function(){var e,t,n=function(e,t){try{Object.defineProperty(e,t,{writable:!1})}catch(e){}},o=function(){if(!window.DISABLE_NATIVE_CONSTANTS){if(!document.body)return;e=window.document.createElement("iframe"),n(e,"src"),e.setAttribute=function(e,t){},e.style.display="none",e.onload=function(){(t=e.contentWindow).onerror=function(e,t,n,o){window.VWO&&window.VWO._&&window.VWO._.customError&&window.VWO._.customError({msg:e,url:t,lineno:n,colno:o,source:"nativeConstants"})}},document.body.appendChild(e),(t=e.contentWindow)&&n(t.location,"href")}};return void 0===window.DISABLE_NATIVE_CONSTANTS?window.DISABLE_NATIVE_CONSTANTS=!0:!1===window.DISABLE_NATIVE_CONSTANTS&&o(),{get:function(n){e&&e.contentWindow||o();var i=t;const r=!i||!!window.DISABLE_NATIVE_CONSTANTS;if(r&&(i=window),window.VWO._.enableInternalJSONStringify&&"JSON"==n){if(r){return{stringify:window.window.VWO._.native.JSON.stringify,parse:window.window.VWO._.native.JSON.parse,rawJSON:window.JSON.rawJSON,isRawJSON:window.JSON.isRawJSON}}i[n].stringify=window.window.VWO._.native.JSON.stringify}return i[n]}}};function pd(){const e=[[].map,[].filter,[].forEach,[].reverse];for(const t of e)if(-1==Function.prototype.toString.call(t).indexOf("[native code]"))return!0;return!1}const gd=function(){const e=!!Wn((()=>window.VWO._.allSettings.dataStore.plugins.DACDNCONFIG.eNC));void 0===window.DISABLE_NATIVE_CONSTANTS&&(window.DISABLE_NATIVE_CONSTANTS=!e),window.DISABLE_NATIVE_CONSTANTS&&(window.DISABLE_NATIVE_CONSTANTS=1!=pd()),window.VWO._.nativeConstants=hd()},vd=()=>{const e="function"==typeof Array.prototype.toJSON;window.VWO._.enableInternalJSONStringify=e;let t=window.DISABLE_NATIVE_CONSTANTS?window.JSON:window.VWO._.nativeConstants.get("JSON");if(e){const e=t.stringify;t={parse:t.parse,rawJSON:t.rawJSON,isRawJSON:t.isRawJSON,stringify:(...t)=>{const n=Array.prototype.toJSON;delete Array.prototype.toJSON;const o=e.call(void 0,...t);return Array.prototype.toJSON=n,o}}}window.VWO._.native.JSON=t};function fd(e){var t,n,o,i,r,s,a,d,l;try{if(null===(t=window.VWO)||void 0===t?void 0:t.phoenix)return;if(!e)return console.warn("VWO aborted as jQuery is not initialized!"),void(null===(n=window._vwo_code)||void 0===n||n.finish());if(window.VWO.consentMode&&!1===window.VWO.consentMode.cReady)return window.clearTimeout(window._vwo_library_timer),750455===window._vwo_acc_id&&(window._vwo_library_timer=null),window.VWO.initVWOLib=fd.bind(null,e);if("function"==typeof window.VWO.siteWideCode){try{window.VWO.siteWideCode()}catch(e){}delete window.VWO.siteWideCode}gd(),vd(),window.VWO._.bodyPath=803786===window._vwo_acc_id?":root body":"body",window.VWO._.loadNonTestingLibraries=Ye;let u=window.performance.getEntriesByName("first-contentful-paint")[0]?"":window.VWO._.bodyPath;if((null===(o=window.VWO.consentMode)||void 0===o?void 0:o.wFC)&&(u=""),!window._vwo_code&&!(null===(s=null===(r=null===(i=window.VWO._.allSettings.dataStore)||void 0===i?void 0:i.plugins)||void 0===r?void 0:r.DACDNCONFIG)||void 0===s?void 0:s.PRTHD)&&![609620,609623,609617,612803,623469,571025].includes(window._vwo_acc_id)){const e=document.createElement("style");let t="";(window._vwo_acc_id>742099||718480===window._vwo_acc_id)&&(t="-webkit-transform:none;-ms-transform:none;transform:none;");const n=u+"{opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;transition:none !important;"+t+"}",o=document.getElementsByTagName("head")[0];if(e.setAttribute("id","_vis_opt_path_hides"),e.setAttribute("type","text/css"),e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n)),o.appendChild(e),[515823].includes(window._vwo_acc_id)){const e=window._vwoCc&&window._vwoCc.wsT||2e3,t=()=>{const e=document.getElementById("_vis_opt_path_hides");e&&e.remove()},n=e=>{e.filename===window._vwoWorkerUrl&&(t(),window.removeEventListener("error",n),clearTimeout(window._vwo_oscTimeout))};window.addEventListener("error",n),window._vwo_oscTimeout=setTimeout((()=>{t(),window.removeEventListener("error",n)}),e)}}window._removeVwoGlobalStyle=(null===(a=window._vwo_code)||void 0===a?void 0:a.finish)||zn.removeGlobalStyle,window.VWO.nonce="";const w=document.querySelector("#vwoCode");w&&(window.VWO.nonce=w.nonce),window.vwo_$=e,zn.isBot2()||window.VWO._.selfHosted||zn.loadNcLib(),window.clearTimeout(window._vwo_library_timer),750455===window._vwo_acc_id&&(window._vwo_library_timer=null);let _=!!(window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver);window.Zone&&window.Zone.__symbol__&&(_=!!window[window.Zone.__symbol__("MutationObserver")]);const h=window.name.indexOf("_vis_heatmap_")>=0||window._vwo_tm.indexOf("_vis_heatmap_")>=0;window.functionWrapper=new Jc;const p={MutationObserver:_,name:window.name,navigator:{userAgent:window.navigator.userAgent,language:window.navigator.language||window.navigator.browserLanguage,appVersion:window.navigator.appVersion},screen:{colorDepth:window.screen.colorDepth,pixelDepth:window.screen.pixelDepth},location:window.location,Document:{prototype:{}},localStorage:window.localStorage,cachedSettingsInSessionStorage:zn.syncCachedSettingsInSessionStorage(),history:{},vwoCodeEndBeforeVA:null===(d=window._vwo_code)||void 0===d?void 0:d.finished(),_vwo_code:window._vwo_code,_vwo_code_version:(null===(l=window._vwo_code)||void 0===l?void 0:l.getVersion)&&window._vwo_code.getVersion(),_vwo_server_url:window._vwo_server_url,_vwo_acc_id:window._vwo_acc_id,_vwo_clicks:window._vwo_clicks,_vis_opt_url:window._vis_opt_url,_vwo_cookieDomain:window._vwo_cookieDomain,_vis_opt_domain:window._vis_opt_domain,_vwo_style:window._vwo_style,_vwo_css:window._vwo_css,_vwo_uuid:window._vwo_uuid,_vis_apm_lib:window._vis_apm_lib,_vwo_api_section_callback:window._vwo_api_section_callback,_vis_heatmap:h,isInsightsOnConsentEnabled:!!window.vwo_cInstJS,document:{cookie:document.cookie,URL:document.URL,referrer:document.referrer,addEventListener:document.addEventListener,domain:document.domain,title:document.title,characterSet:document.characterSet,charset:document.charset,baseURI:document.baseURI},_vwo_cdn:window._vwo_cdn,_vis_opt_cookieDays:window._vis_opt_cookieDays,_VWO:window._VWO};window.fetcher.init(),window.fetcher.setValue("fakeWindow",p),wn(e),hn(),window._vwo_server_url=window._vwo_server_url||"https://dev.visualwebsiteoptimizer.com/",ki({getters:{window:window,accountId:window._vwo_acc_id,encodeURIComponent:encodeURIComponent,actions:{},serverUrl:window._vwo_server_url||"https://dev.visualwebsiteoptimizer.com/"}}),$n({msg:"vaInit",url:window.location.href}),Kn(),Gn(window.location.href,"page-refresh");const g=new("function"==typeof window.URL?window.URL:window.webkitURL)(document.URL).searchParams.get("vwoLogLevel");c.setLevel(g||"warn"),c.info("Initializing jslib");const v=new Vi(window.VWO||[]);if(S(v),T(v),Fi.init("jslib",v,null,null,!1),mn.setOptOutStateConfig(),zn.syncThirdPartyGlobalCookies(),xe.domain=Me.cookieDomain,window.VWO._.cLFE=zn.isCookieLessModeEnabled(),!$e()&&!window._vis_debug&&(!mn.shouldExecuteLibOnBasisOfCurrentOptOutState()||zn.isGloballyOptedOut()))return Fi.init("optOut",v,null),window._removeVwoGlobalStyle(),void window.VWO._.triggerEvent(de.OPT_OUT,!0);window._vwo_spaR=Object.keys(window.VWO._.allSettings.tags).some((e=>e.startsWith("R_"))),window.VWO._.phoenixMT.trigger("vwo_init"),window.VWO._.phoenixMT.on("syncDataToDataLayer",(({event:e,eventName:t,syncEventData:n})=>{var o;No(t,n,{},n.postSyncCallback),(null===(o=e._vwo)||void 0===o?void 0:o.eventDataConfig)&&(e._vwo.eventDataConfig={})})),window.VWO._.phoenixMT.on(de.END_APPLY_CHANGES,(()=>{const e=window._vwo_code;e&&e.removeLoaderAndOverlay&&e.removeLoaderAndOverlay()})),window.VWO.consentMode&&(we.initConsentMode(),we.overrideCookies(xe)),window.VWO._.phoenixMT.on(de.END_APPLY_CHANGES,(()=>{window.VWO._.ncLib?window.VWO._.ncLib.initNonCriticalLib():window.VWO._.phoenixMT.on("vwo_InitNCLib",(()=>{window.VWO._.ncLib.initNonCriticalLib()})),window._VWO.uhdCp=1}));Ot((()=>{Bc(v,Fc)}),window._vwo_code&&![702077,704345,690758,685475,680279,695984,710456,601996].includes(window._vwo_acc_id)&&!window.location.href.includes("vwo_DisableAsp")&&!Ln()),Jn()}catch(e){window.vwo_libExecuted=!0,console.error(e)}}function Od(e,t,n,o){E._&&E._.customError&&window.VWO._.customError({msg:e,url:"gquery.js",lineno:t,colno:n,source:o})}const md=function(){var e=document,t=e.documentElement,n=[].slice,o=[].push,i=[].filter,r=e.createElement("div"),s=[].indexOf,a=[].splice,c=!1,d=!1,l=function(){try{return[].reverse.call(this)}catch(e){if(c||window.VWO._.customError({msg:"Native [].reverse Fn is overridden and Native Constants = "+!window.DISABLE_NATIVE_CONSTANTS,url:"gQuery.ts",lineno:31,colno:24,source:"gQuery"}),c=!0,710129===window._vwo_acc_id)return[]._reverse.call(this)}},u=function(){try{return[].map.apply(this,arguments)}catch(e){d||window.VWO._.customError({msg:"Native [].map Fn is overridden and Native Constants = "+!window.DISABLE_NATIVE_CONSTANTS,url:"gQuery.ts",lineno:31,colno:24,source:"gQuery"}),d=!0}},w=window,_=/^data-(.+)/,h=/\S+/g,p=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,g={animationIterationCount:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0};function v(e){var t,n,r,s,a,c=!window.DISABLE_NATIVE_CONSTANTS&&(null===(a=null===(s=null===(r=null===(n=null===(t=window.VWO._)||void 0===t?void 0:t.nativeConstants)||void 0===n?void 0:n.get)||void 0===r?void 0:r.call(n,"Array"))||void 0===s?void 0:s.prototype)||void 0===a?void 0:a.filter)||i;return e.multiple&&e.options?function(e,t,n,i){for(var r=[],s=F(t),a=i,c=0,d=e.length;c<d;c++)if(s){var l=t(e[c]);l.length&&o.apply(r,l)}else for(var u=e[c][t];!(null==u||i&&a(-1,u));)r.push(u),u=n?u[t]:null;return r}(c.call(e.options,(function(e){return e.selected&&!e.disabled&&!e.parentNode.disabled})),"value"):e.value||""}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var O={focus:"focusin",blur:"focusout"},m=/^(?:mouse|pointer|contextmenu|drag|drop|click|dblclick)/i;var E=/\S+/g;var S={focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},mouseenter:{delegateType:"mouseover",bindType:"mouseover"},mouseleave:{delegateType:"mouseout",bindType:"mouseout"},pointerenter:{delegateType:"pointerover",bindType:"pointerover"},pointerleave:{delegateType:"pointerout",bindType:"pointerout"}};Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;if(!document.documentElement.contains(t))return null;do{if(C(t,e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null});var T=function e(t,n){return new e.fn.init(t,n)},C=T.matches=function(e,t){var n=e&&(e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector);return!!n&&n.call(e,t)},y=T.isString=function(e){return f(e)===f("")},I=/^--/;function V(e){return I.test(e)}var A=/-([a-z])/g;function N(e,t){return t.toUpperCase()}var b=T.camelCase=function(e){return e.replace(A,N)};function R(e){return!!e&&1===e.nodeType}var L={},W=r.style,P=["webkit","moz","ms","o"];function D(e,t){if(void 0===t&&(t=V(e)),t)return e;if(!L[e]){var n=b(e),o=""+n.charAt(0).toUpperCase()+n.slice(1);K((n+" "+P.join(o+" ")+o).split(" "),(function(t,n){if(n in W)return L[e]=n,!1}))}return L[e]}function x(e,t,n){return void 0===n&&(n=V(e)),n||g[e]||!B(t)?t:t+"px"}function U(e,t){return parseInt(k(e,t),10)||0}function k(e,t,n){if(R(e)&&t){var o=w.getComputedStyle(e,null);return t?n?o.getPropertyValue(t)||void 0:o[t]:o}}var M,G=function(){},F=T.isFunction=function(e){return f(e)===f(G)&&!!e.call},$=T.uid="_gQ"+Date.now(),j=function(e){return e[$]=e[$]||{}},H=T.isWindow=function(e){return e===e.window},B=T.isNumeric=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},J=function(e){return 9===e.nodeType};function K(e,t){for(var n=0,o=e.length;n<o&&!1!==t.call(e[n],n,e[n]);n++);}function q(e,t,n){K(e,(function(e,o){K(t,(function(t,i){Y(o,e?i.cloneNode(!0):i,n,n&&o.firstChild)}))}))}function Y(e,t,n,o){var i=[];if(K(3===t.nodeType?[]:T("script",t),(function(e,t){var n=document.createElement("script");K(T(t).prop("attributes"),(function(){T(n).attr(this.name,this.value)})),n.text=t.innerHTML,i.push(n),t.parentElement.removeChild(t)})),n)if("SCRIPT"===t.tagName||"STYLE"===t.tagName){var r=document.createElement(t.tagName.toLowerCase());"SCRIPT"===t.tagName?r.text=t.innerHTML:r.appendChild(document.createTextNode(t.innerHTML)),K(T(t).prop("attributes"),(function(){T(r).attr(this.name,this.value)})),r.classList=t.classList,e.insertBefore(r,o)}else e.insertBefore(t,o);else if("SCRIPT"===t.tagName||"STYLE"===t.tagName){r=document.createElement(t.tagName.toLowerCase());"SCRIPT"===t.tagName?r.text=t.innerHTML:r.appendChild(document.createTextNode(t.innerHTML));K(T(t).prop("attributes"),(function(){T(r).attr(this.name,this.value)})),r.classList=t.classList,e.appendChild(r)}else e.appendChild(t);for(var s=0;s<i.length;s++)document.getElementsByTagName("head")[0].appendChild(i[s])}return T.extend=function(){var e,t,n,o,i=arguments[0]||{},r=1,s=arguments.length,a=!1;for("boolean"==typeof i&&(a=i,i=arguments[1]||{},r=2),"object"===f(i)||F(i)||(i={}),s===r&&(i=this,--r);r<s;r++)if(null!=(e=arguments[r]))for(t in e)if(n=i[t],o=e[t],"__proto__"!==t&&i!==o)if(a&&o&&(T.isPlainObject(o)||T.isArray(o))){var c=n&&(T.isPlainObject(n)||T.isArray(n))?n:T.isArray(o)?[]:{};i[t]=T.extend(a,c,o)}else void 0!==o&&(i[t]=o);return i},T.isArray=Array.isArray,T.isPlainObject=function(e){if(!e||"[object Object]"!==Object.prototype.toString.call(e)||e.nodeType||e.setInterval)return!1;if(e.constructor&&!hasOwnProperty.call(e,"constructor")&&!hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))return!1;var t;for(t in e);return void 0===t||hasOwnProperty.call(e,t)},T.parseJSON=function(e){return"string"==typeof e&&e?/^[\],:{}\s]*$/.test(e.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))?window.VWO._.native.JSON.parse(e):void 0:null},T.getJSON=function(e,t,n,o){return F(t)&&(o=o||n,n=t,t=null),T.ajax({url:e,data:t,success:n,dataType:o})},T.get=function(e,t,n,o){return F(t)&&(o=o||n,n=t,t=null),T.ajax({type:"GET",url:e,data:t,success:n,dataType:o})},T.each=function(){var e,t,o=arguments;1===o.length&&F(o[0])?(e=n.call(this),t=o[0]):(e=o[0],t=o[1]);for(var i=0;i<e.length;i++)t.call(e[i],i,e[i]);return this},T.ajax=function(e){if("script"===e.dataType){var t=document.createElement("script");return t.src=e.url,document.getElementsByTagName("head")[0].appendChild(t),t.onload=e.success||G,void(t.onerror=e.error||G)}var n=new XMLHttpRequest;n.open(e.method?e.method:"GET",e.url,!0),e.data||(e.data=null),n.onload=function(){this.status>=200&&this.status<400&&(e.dataType||(this.response=T.parseJSON(this.response)),e.success&&e.success(this.response))},n.onerror=function(){e.error&&e.error(this.response)},n.send(e.data)},T.isEmptyObject=function(e){return e&&0===Object.keys(e).length},(T.fn=T.prototype={gQVersion:"0.0.1",toArray:function(){return n.call(this,0)},constructor:T,hasClass:function(e){return n.call(this).every((function(t){return 1===t.nodeType&&t.classList.contains(e)}))},ready:function(t){return"loading"!==e.readyState?setTimeout(t):e.addEventListener("DOMContentLoaded",t),this},scrollTop:function(){var e=this[0];return H(e)?e.pageYOffset:J(e)?e.defaultView.pageYOffset:e.scrollTop},scrollLeft:function(){var e=this[0];return H(e)?e.pageXOffset:J(e)?e.defaultView.pageXOffset:e.scrollLeft},getComputedDimensionOuter:function(e,t){let n="height"===e.toLowerCase()?1:0,o=this[0];if(o)return H(o)?window["outer"+e]:this[0]["offset"+e]+(t?U(this[0],"margin"+(n?"Top":"Left"))+U(this[0],"margin"+(n?"Bottom":"Right")):0)},getComputedDimension:function(e,t){var n,o,i=this[0],r="height"===e.toLowerCase()?0:1;if(e=e.charAt(0).toUpperCase()+e.slice(1),J(i)){var s=i.documentElement;return Math.max(i.body["scroll"+e],i.body["offset"+e],s["scroll"+e],s["offset"+e],s["client"+e])}if(H(i))return"height"===e.toLowerCase()?i.outerHeight:i.outerWidth;try{return i.getBoundingClientRect()[e.toLowerCase()]-(U(n=i,"border"+((o=r)?"Left":"Top")+"Width")+U(n,"padding"+(o?"Left":"Top"))+U(n,"padding"+(o?"Right":"Bottom"))+U(n,"border"+(o?"Right":"Bottom")+"Width"))}catch(e){Od(`Error is ${e} and elem is ${i}`,529,25,"getBoundingClientRect")}},height:function(){return this.getComputedDimension("height")},width:function(){return this.getComputedDimension("width")},is:function(e){if(!e)return!1;var t=!1;return this.each((function(n,o){return!(t="string"==typeof e?C(o,e):o===e)})),t},attr:function(e,t){var n;if(e){if(y(e))return void 0===t?null===(n=this[0]?this[0].getAttribute?this[0].getAttribute(e):this[0][e]:void 0)?void 0:n:this.each((function(n,o){o.setAttribute?o.setAttribute(e,t):o[e]=t}));for(var o in e)this.attr(o,e[o]);return this}},removeAttr:function(e){return e=e.match(h)||[],this.each((function(t,n){K(e,(function(e,t){n.removeAttribute(t)}))}))},outerWidth:function(e){return this.getComputedDimensionOuter("Width",e)},outerHeight:function(e){return this.getComputedDimensionOuter("Height",e)},offset:function(){var e=this[0];if(e.nodeType==Node.TEXT_NODE&&(e=e.parentElement),!e)return{top:0,left:0};let n={};try{n=e.getBoundingClientRect()}catch(t){if(Od(`Error is ${t} and elem is ${e}`,603,25,"getBoundingClientRect"),e===document)return}var o=e.ownerDocument?e.ownerDocument.defaultView:window;return{top:n.top+o.pageYOffset-t.clientTop,left:n.left+o.pageXOffset-t.clientLeft}},index:function(e){var t=e?T(e)[0]:this[0],n=e?this:T(t).parent().children();return s.call(n,t)},each:T.each,delegate:function(e,t,n,o){return this.on(e,t,n,o)},on:function(e,t,n,o){var i,r,s=this;return F(t)&&(n=t,t=null),this[0]===document&&"ready"===e?(this.ready(n),this):(t&&(i=n,n=function(e){for(var n=e.target;!C(n,t);){if(n===this||!n)return!1;n=n.parentNode}n&&i.call(n,e)}),K(y(r=e)&&r.match(E)||[],(function(i,r){S[r]&&(t&&S[r].delegateType?e=S[r].delegateType:S[r].bindType&&(e=S[r].bindType)),s.each((function(t,i){i.addEventListener(e,n,!!o)}))})),this)},off:function(e,t,n){return this.each((function(o,i){i.removeEventListener(e,t,!!n)}))},isChecked:function(){return null!==this[0].getAttribute("checked")},isFocussed:function(){return this[0]===e.activeElement},closest:function(e){return new T(this[0].closest(e))},parent:function(){return new T(this[0]&&this[0].parentNode)},val:function(e){if(!arguments.length)return this[0]&&v(this[0]);const t=!window.DISABLE_NATIVE_CONSTANTS&&window.VWO._.nativeConstants.get("Array").prototype.map||u;return this.each((function(n,o){var i=o.multiple&&o.options;if(i||/radio|checkbox/i.test(o.type)){var r=Array.isArray(e)?t.call(e,String):null===e?[]:[String(e)];i?K(o.options,(function(e,t){t.selected=r.indexOf(t.value)>=0})):o.checked=r.indexOf(o.value)>=0}else o.value=null==e?"":e}))},prop:function(e,t){if(e){if(y(e))return void 0===t?this[0][e]:this.each((function(n,o){o[e]=t}));for(var n in e)this.prop(n,e[n]);return this}},data:function(e,t){var n=this;if(!e){if(!this[0])return;var o={};return K(this[0].attributes,(function(e,t){var i=t.name.match(_);i&&(o[i[1]]=n.data(i[1]))})),o}if(y(e))return void 0===t?function(e,t){var n=j(e)[t];return void 0===n&&(n=e.dataset?e.dataset[t]:T(e).attr("data-"+t)),n}(this[0],e):this.each((function(n,o){return function(e,t,n){return j(e)[t]=n}(o,e,t)}));for(var i in e)this.data(i,e[i]);return this},eq:function(e){return T(this.get(e))},get:function(e){return void 0===e?n.call(this):e<0?this[e+this.length]:this[e]},appendTo:function(e){for(var t=T(e),n=0;n<t.length;n++)t[n].appendChild(this[0]);return this},find:function(e){return this[0]||(e=void 0),T(e,this[0])},toggleClass:function(e,t,n){var o=[],i=void 0!==t;return y(e)&&(o=e.match(h)||[]),this.each((function(e,r){if(1===r.nodeType)for(var s=0;s<o.length;s++)i?(n=t?"add":"remove",r.classList[n](o[s])):r.classList.toggle(o[s])}))},addClass:function(e){return this.toggleClass(e,!0,"add"),this},removeClass:function(e){return e?this.toggleClass(e,!1,"remove"):this.attr("class",""),this},remove:function(){return this.each((function(e,t){t.parentNode.removeChild(t)})),this},children:function(){var e=[];return this.each((function(t,n){o.apply(e,n.children)})),T(e)},map:function(e){const t=!window.DISABLE_NATIVE_CONSTANTS&&window.VWO._.nativeConstants.get("Array").prototype.map||[].map;return T(t.call(this,(function(t,n){return e.call(t,n,t)})))},clone:function(){return this.map((function(e,t){return t.cloneNode(!0)}))},filter:function(e){var t,n,o,r,s,a=e;y(a)&&(a=function(t,n){return C(n,e)});const c=!window.DISABLE_NATIVE_CONSTANTS&&(null===(s=null===(r=null===(o=null===(n=null===(t=window.VWO._)||void 0===t?void 0:t.nativeConstants)||void 0===n?void 0:n.get)||void 0===o?void 0:o.call(n,"Array"))||void 0===r?void 0:r.prototype)||void 0===s?void 0:s.filter)||i;return T(c.call(this,(function(e,t){return a.call(e,t,e)})))},parents:function(e){var t=[];return this.each((function(e,n){for(var o=n.parentNode;o&&9!==o.nodeType;)t.push(o),o=o.parentNode})),t=t.filter((function(e,n){return t.indexOf(e)===n})),e&&(t=t.filter((function(t){return C(t,e)}))),T(t)},append:function(){var e=this;return K(arguments,(function(t,n){q(e,T(n))})),this},prepend:function(){var e=this;return K(arguments,(function(t,n){q(e,T(n),!0)})),this},html:function(e){try{if(!this.length)return this;window._vwo_spaR&&this.each((function(t,n){e!==n.innerHTML&&(n.__vwoControlInnerHTML=n.innerHTML,n.__vwoExpInnerHTML=e)}));let t=e&&e.includes("<br>");return void 0===e?this[0]&&this[0].innerHTML:this.each((function(n,o){1===o.childNodes.length&&3===o.childNodes[0].nodeType&&o.childNodes[0].textContent&&!t?o.childNodes[0].textContent=e:o.innerHTML=e}))}catch(e){Od(`Error is ${e}`,529,25,"html")}},css:function(e,t){if(y(e)){var n=V(e);return e=D(e,n),arguments.length<2?this[0]&&k(this[0],e,n):e?(t=x(e,t,n),this.each((function(o,i){R(i)&&(n?i.style.setProperty(e,t):i.style[e]=t)}))):this}for(var o in e)this.css(o,e[o]);return this},hashchange:function(e){window.addEventListener("hashchange",e)},replaceWith:function(e){return this.each((function(t,n){var o=n.nextSibling,i=n.parentNode;T(n).remove(),o?T(o).before(e):T(i).append(e)}))},before:function(){var e=this;return K(arguments,(function(t,n){T(n).insertBefore(e)})),this},after:function(){var e=this;const t=!window.DISABLE_NATIVE_CONSTANTS&&window.VWO._.nativeConstants.get("Array").prototype.reverse||l;return K(t.apply(arguments),(function(n,o){t.apply(T(o).slice()).insertAfter(e)})),this},insertBefore:function(e){var t=this;return T(e).each((function(e,n){var o=n.parentNode;o&&t.each((function(t,i){Y(o,e?i.cloneNode(!0):i,!0,n)}))})),this},insertAfter:function(e){var t=this;return T(e).each((function(e,n){var o=n.parentNode;o&&t.each((function(t,i){Y(o,e?i.cloneNode(!0):i,!0,n.nextSibling)}))})),this},trigger:function(t,n){var o,i;if(y(t)){var r=[(i=t.split("."))[0],i.slice(1).sort()],s=r[0],a=r[1],c=m.test(s)?"MouseEvents":"HTMLEvents";(o=e.createEvent(c)).initEvent(s,!0,!0),o.namespace=a.join(".")}else o=t;o.data=n;var d=o.type in O;return this.each((function(e,t){d&&F(t[o.type])?t[o.type]():t.dispatchEvent(o)}))},contents:function(){return this[0]?T(this[0].childNodes):T("")},not:function(e){return T(this).filter((function(t,n){return!C(n,e)}))}}).bind=T.fn.live=T.fn.on,T.inArray=function(e,t){return s.call(t,e)},T.trim=function(e){return(e||"").replace(p,"")},T.getScript=function(e,t){return T.get(e,void 0,t,"script")},T.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),(function(e,t){T.fn[t]=function(e){return"submit"===t?this[0].submit():e?this.bind(t,e):this.trigger(t)},T.attrFn&&(T.attrFn[t]=!0)})),T.guid=1,T.proxy=function(e,t,n){return 2===arguments.length&&("string"==typeof t?(e=(n=e)[t],t=void 0):t&&!F(t)&&(n=t,t=void 0)),!t&&e&&(t=function(){return e.apply(n||this,arguments)}),e&&(t.guid=e.guid=e.guid||t.guid||T.guid++),t},(T.fn.init=function(t,n){var i,r,s=!1;if(y(t)&&/<.+>/.test(t)){s=!0;try{r=t,M||(M=e.implementation.createHTMLDocument(null)),M.body.innerHTML=r,t=M.body.childNodes}catch(e){throw e}}if(!t)return this;if(t&&t.nodeType||H(t))return this[0]=t,this.length=1,this;if(y(t)){n=n||e;var a=this.constructor(),c=n instanceof T?(null===(i=n)||void 0===i?void 0:i.toArray())||[]:[n];for(let e=0;e<c.length;e++)try{const n=c[e];var d=/^#[\w-]*$/.test(t)&&n.getElementById?n.getElementById(t.slice(1)):n.querySelectorAll(t);d&&d.nodeType&&(d=[d]),o.apply(a,s?t:d)}catch(e){}return a}if(F(t))return T.fn.ready(t);for(var l=0;l<t.length;l++)this.length=t.length,this[l]=t[l]}).prototype=T.fn,T.fn.splice=a,"function"==typeof Symbol&&(T.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator]),T.prototype.slice=function(){return T(n.apply(this,arguments))},T.prototype.length=0,T.nodeName=function(e,t){return e.nodeName&&e.nodeName.toUpperCase()===t.toUpperCase()},T}();fd(md)})();

</script><script type="text/javascript">!function(){"use strict";function e(e){try{return e()}catch(e){return}}let o;window.VWO=window.VWO||[],window.VWO.v="7.0",window.VWO.v_e="57bdba60e";const n=function(){if(void 0!==o)return o;const e=[],n=window.VWO._.allSettings.dataStore.campaigns;let t,i;for(let o in n)e.push(o);return o=!!(t=(window.location.search+window.location.hash).match(/.*_vis_test_id=(.*?)&.*_vis_opt_preview_combination=(.*)$/))&&(!(!e.includes(t[1])||!n[t[1]]||void 0===n[t[1]].combs[i=function(e){if(!e)return e;try{e=window.decodeURIComponent(e)}catch(e){}return e}(t[2])])&&i),o};class t{constructor(){var e,o;window.VWO._.phoenixMT.on("vwo_campaignsLoaded",(()=>{this.processLoadedCampaigns(),window.VWO.state="executionComplete"})),(null===(e=window.VWO._.phoenixMT.getEventHistory("vwo_campaignsLoaded"))||void 0===e?void 0:e.length)>0&&(this.processLoadedCampaigns(),(null===(o=window._vwoCc)||void 0===o?void 0:o.delayCustomGoal)||window.VWO._.phoenixMT.clearEventHistory("vwo_campaignsLoaded"))}processLoadedCampaigns(){this.setBucketedCampaigns(),this.executeAll({bucketed_campaigns:window.VWO._.bucketedCampaignsAPIStore.campaigns})}setBucketedCampaigns(){window.VWO._.bucketedCampaignsAPIStore=window.VWO._.bucketedCampaignsAPIStore||{},window.VWO._.bucketedCampaignsAPIStore.campaigns=[];let e=window._vis_debug||n()?"debug":"";e+="_vis_opt_exp_";const o=new RegExp(`^${e}(\\d{1,})_combi$`,""),t=document.cookie.split(";");for(let e=0;e<t.length;e++){const[n,i=""]=t[e].split("=").map((e=>e.trim())),s=o.exec(n);s&&_vwo_exp[s[1]]&&window.VWO._.bucketedCampaignsAPIStore.campaigns.push({[s[1]]:i,name:_vwo_exp[s[1]].name,variation:_vwo_exp[s[1]].comb_n[i]})}}executeAll(o={}){const n=e((()=>window.VWO._.bucketedCampaignsAPIStore.callbacks.length))||0;for(let t=0;t<n;t++){const n=window.VWO._.bucketedCampaignsAPIStore.callbacks[t];e((()=>"number"==typeof n.count))?n.count>0?(n(o),--n.count):(window.VWO._.bucketedCampaignsAPIStore.callbacks.splice(t,1),t--):n(o)}}}
/*! *****************************************************************************
    Copyright (c) Microsoft Corporation.

    Permission to use, copy, modify, and/or distribute this software for any
    purpose with or without fee is hereby granted.

    THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
    REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
    AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
    INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
    LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
    OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
    PERFORMANCE OF THIS SOFTWARE.
    ***************************************************************************** */function i(e,o,n,t){return new(n||(n=Promise))((function(i,s){function d(e){try{r(t.next(e))}catch(e){s(e)}}function a(e){try{r(t.throw(e))}catch(e){s(e)}}function r(e){var o;e.done?i(e.value):(o=e.value,o instanceof n?o:new n((function(e){e(o)}))).then(d,a)}r((t=t.apply(e,o||[])).next())}))}const s="cCC",d="vwo__activated",a="nSF",r="vwo_pageUnload",l="vE",w="pageExitEvent",c="cCA",u="loadSurveyLib";function _(){let e,o,n=0,t=0,i=0,s=0,d=document.querySelector("._vwo_scroll_fix");function a(e,o){return Math.round(e/o*100)}function r(r=!1){try{const{xScrollPercent:l,yScrollPercent:w,absXScroll:c,absYScroll:u,contentWidth:_,contentHeight:v}=function(){const e=d||document.documentElement,o=(null==d?void 0:d.scrollTop)||window.scrollY||window.pageYOffset,n=(null==d?void 0:d.scrollLeft)||window.scrollX||window.pageXOffset,t=e.scrollHeight,i=e.scrollWidth,s=window.innerHeight,r=window.innerWidth,l=o+s,w=a(l,t),c=n+r;return{xScrollPercent:a(c,i),yScrollPercent:w,absXScroll:c,absYScroll:l,contentWidth:i,contentHeight:t}}(),g=o<v,p=e<v;o=v,e=_,n=Math.max(c,n),t=Math.max(u,t),i=p&&!r?a(n,e):Math.max(l,i),s=g&&!r?a(t,o):Math.max(w,s)}catch(e){}}return r(),window.addEventListener("resize",(()=>r(!0))),d?d.addEventListener("scroll",(()=>r())):window.addEventListener("scroll",(()=>r())),{getFinalScrollValues:function(){return{xScrollDepthAbs:n,yScrollDepthAbs:t,xScrollDepthPercent:i>100?100:i,yScrollDepthPercent:s>100?100:s}},updateScrollState:r}}var v,g,p,O,h,m,V;!function(e){e.DOM="vwo_dom"}(v||(v={})),function(e){e.WILD_CARD="*",e.TRIGGER="trigger",e.POST_INIT="post-init",e.TIMER="vwo_timer"}(g||(g={})),function(e){e.URL_CHANGE="vwo_urlChange",e.LEAVE_INTENT="vwo_leaveIntent",e.CLICK_EVENT="vwo_dom_click",e.SUBMIT_EVENT="vwo_dom_submit",e.PAGE_LOAD_EVENT="vwo_page_load"}(p||(p={})),function(e){e.PAGE_VIEW="vwo_pageView",e.PAGE_UNLOAD_EVENT="vwo_pageUnload"}(O||(O={})),function(e){e.EXIT_CONDITIONS="__exitConditions"}(h||(h={})),function(e){e.DOM_CONTENT_LOADED="DOMContentLoaded",e.SCROLL="scroll",e.CLICK="click",e.SUBMIT="submit"}(m||(m={})),function(e){e[e.DEBUG=0]="DEBUG",e[e.INFO=1]="INFO",e[e.WARN=2]="WARN",e[e.ERROR=3]="ERROR"}(V||(V={}));var A=new class{constructor(e){this.setLevel(e)}setLevel(e="warn"){this.logLevel=V[e.toUpperCase()]}info(e,o={}){this.customLog(V.INFO,e,o)}debug(e,o={}){this.customLog(V.DEBUG,e,o)}warn(e,o={}){var n,t;this.customLog(V.WARN,e,o,null===(t=null===(n=window.VWO)||void 0===n?void 0:n._)||void 0===t?void 0:t.customError)}error(e,o={}){var n,t;this.customLog(V.ERROR,e,o,null===(t=null===(n=window.VWO)||void 0===n?void 0:n._)||void 0===t?void 0:t.customError)}customLog(e,o,n,t=null){var i,s,d;if(e>=this.logLevel){const a=this.formatMessage(e,o,n);null===(d=null===(s=null===(i=window.VWOEvents)||void 0===i?void 0:i.store)||void 0===s?void 0:s.actions)||void 0===d||d.addLogsForDebugging(a),t?t(a):this.consoleLog(e,[a])}}consoleLog(e,o){switch(e){case V.INFO:console.info(...o);break;case V.WARN:console.warn(...o);break;case V.ERROR:console.error(...o);break;default:console.log(...o)}}formatMessage(e,o,n){var t,i;const s=Object.keys(n).reduce(((e,o)=>e.replace(new RegExp(`{{${o}}}`,"g"),n[o])),o),d=`${v.DOM}_`;let a=n;const r=(null===(t=n.data)||void 0===t?void 0:t.vwoEventName)||n.vwoEventName;r!==d+m.CLICK&&r!==d+m.SUBMIT||(a=n.data?null===(i=n.data)||void 0===i?void 0:i.props:a.props,a=a||{name:r});let l=JSON.stringify;try{l=window.VWO._.native.JSON.stringify||JSON.stringify}catch(e){}return`VWO: [${V[e].toUpperCase()}] [${(new Date).toUTCString()}] ${s} ${l(a)}`}}("warn");class E{constructor(){this.GoalsEnum=window.VWO._.GoalsEnum,this.eventName=r,this.attachedFilters=[],this.unloadListenersAttached=!1,this.registeredTriggers=[],this.unloadCaptured=!1,this.pageStartTime=performance?performance.timeOrigin:Date.now(),this.goalConverter=new window.VWO.modules.utils.goalUtils.GoalConversion("vwoPageUnloadData",[this.GoalsEnum.PAGE_UNLOAD,this.GoalsEnum.CUSTOM_GOAL]),window.VWO._.phoenixMT.on("vwo_campaignsLoaded",(()=>{this.updatePageUnloadTriggers()})),this.updatePageUnloadTriggers()}updatePageUnloadTriggers(){return i(this,void 0,void 0,(function*(){const e=yield window.fetcher.getValue("VWO._.pageUnloadTriggers");if(this.pageData=yield window.fetcher.getValue("VWO.pluginStorage.props.page"),!e)return;const o=Object.keys(e);if(this.registeredTriggers.length!==o.length){const e=this.extractPageUnloadFilters(o);this.attachedFilters=function(e){const o=[];return e.forEach((e=>{var n;null===(n=e.filters)||void 0===n||n.forEach(((n,t)=>{const i=n[0].substring(0,n[0].indexOf("."));if("event"===i||"page"===i){const i=JSON.parse(JSON.stringify(n));o.push({condition:i,triggerName:e.triggerName,condId:e.id,filterId:t})}}))})),o}(e),this.registeredTriggers=o,this.addListenersForPageUnload()}}))}extractPageUnloadFilters(e){var o;const n=[];for(let t=0;t<e.length;t++){const i=null===(o=window.VWO._.allSettings.triggers[e[t]])||void 0===o?void 0:o.cnds;for(let o=0;o<i.length;o++){if(0===Object.keys(i[o].filters).length)i[o].filters=[];else for(let e=0;e<i[o].filters.length;e++){const n=i[o].filters[e],t=n[0].match(/^page\.(.*)/);t&&(n[0]="event."+t[1])}n.push(Object.assign(Object.assign({},i[o]),{triggerName:e[t]}))}}return n}evaluateAndSendData(o){let n;const{getFinalScrollValues:t,updateScrollState:i}=this.initScrollTracking;i();const s=t();if(this.pageData)for(let e in this.pageData)o[e]=this.pageData[e];o.timeSpent=Math.floor((Date.now()-this.pageStartTime)/1e3),o.sdxp=s.xScrollDepthPercent,o.sdxa=s.xScrollDepthAbs,o.sdyp=s.yScrollDepthPercent,o.sdya=s.yScrollDepthAbs,window.VWO._.lastPageUnloadURL=this.pageData.url;try{o.preComputedConds=window.VWO.modules.utils.triggers.triggersConditionsCheck(this.eventName,o,this.attachedFilters),n={name:this.eventName,vwoEventName:this.eventName,preComputedConds:o.preComputedConds,page:this.pageData,timeSpent:o.timeSpent,sdxp:o.sdxp,sdxa:o.sdxa,sdyp:o.sdyp,sdya:o.sdya,postSyncCallback:function(){delete window.VWO._.lastPageUnloadURL}},this.goalConverter.fireEventForConversion(this.eventName,n,{eventData:o}),delete n.preComputedConds;const t=e((()=>n._vwo.eventDataConfig))||{};o._vwo=o._vwo||{},Object.keys(t).length&&(o._vwo.eventDataConfig=t),o._vwo.syncEventData=n}catch(o){A.error(o)}}resetStartTimeAndPageData(){this.pageStartTime=Date.now(),this.updatePageUnloadTriggers()}sendDataWrapper(e){return this.unloadCaptured?this.unloadCaptured=!1:(window.VWO._.phoenixMT.trigger(r,e),this.unloadCaptured=!0)}addListenersForPageUnload(){this.unloadListenersAttached||(window.VWO._.phoenixMT.on(r,(e=>{this.evaluateAndSendData(e)}),{syncToDataLayer:!0}),window.VWO._.phoenixMT.on(w,(e=>{this.sendDataWrapper(e)})),this.initScrollTracking=_(),window.VWO._.phoenixMT.on("vwo_urlChangeMt",(e=>{window.VWO._.phoenixMT.trigger(r,e),this.resetStartTimeAndPageData()})),this.unloadListenersAttached=!0)}}function S(e,o){var n,t,i,s,d,r,l,w;const c=window._vwo_cdn||window.VWO.modules.dataStorePlugin.serverUrl,_=window.VWO.modules.dataStorePlugin.serverUrl,v=null===(i=null===(t=null===(n=window.VWO._.allSettings)||void 0===n?void 0:n.dataStore)||void 0===t?void 0:t.plugins)||void 0===i?void 0:i.LIBINFO,g=null===(s=null==v?void 0:v.TRACK)||void 0===s?void 0:s.HASH,p=null===(d=null==v?void 0:v.OPA)||void 0===d?void 0:d.HASH,O=null===(r=null==v?void 0:v.OPA)||void 0===r?void 0:r.PATH,h=null===(l=null==v?void 0:v.SURVEY)||void 0===l?void 0:l.HASH;let m=!1,V=!1;const A=null===(w=window.VWO._)||void 0===w?void 0:w.loadPC;let E=!1,S=window._vis_apm_lib;const W=[];for(const o of e){const e=window.VWO._.allSettings.dataStore.campaigns;if(Object.prototype.hasOwnProperty.call(e,o)){const n=e[o];if("ANALYSIS"!==n.type&&"ANALYZE_FORM"!==n.type&&"ANALYZE_HEATMAP"!==n.type&&"ANALYZE_RECORDING"!==n.type||(m=!0,V=!0),"FUNNEL"!==n.type&&"TRACK"!==n.type&&"INSIGHTS_FUNNEL"!==n.type&&"INSIGHTS_METRIC"!==n.type||(V=!0),"SURVEY"===n.type||n.survey&&n.survey.id)for(var f in E=!0,n.survey)Object.prototype.hasOwnProperty.call(n.survey,f)&&W.push(f)}}if(A&&window.VWO.modules.utils.loadScript(`${c}web/djIkcGM6MS4w/tag-1a6cb79d9b921e9f733a3a9f91c43b90.js`,null,(function(){})),V&&!window.VWO.v_t&&window.VWO.modules.utils.loadScript(`${c}7.0/track-${g}.js`),m&&!window.VWO.nls&&(window.VWO.v_t||window.VWO.modules.utils.loadScript(`${c}7.0/track-${g}.js`),window.VWO.modules.utils.loadScript(`${c}analysis${O}/opa-${p}.js`,null,(function(){window.VWO.modules.vwoUtils.optOut.callStopAnalyzeAndSurvey()}))),!window.VWO._[u]){const e=()=>{window.VWO.modules.utils.libUtils.loadScript(`${_}va_survey-${h}.js`,null,(()=>{window.VWO.modules.vwoUtils.optOut.callStopAnalyzeAndSurvey(),window.VWO._[u]=!0}))};window.VWO._.shouldLoadSurveyLib?e():window.VWO.phoenix('on("${{1}}", "${{2}}")',null,{captureGroups:[u,e]})}S&&!window.VWO.apm&&window.VWO.modules.utils.loadScript(`${_}${window._vis_apm_lib}`,null,(()=>{}),{defer:!0}),E&&o&&window.VWO.phoenix('trigger("${{1}}", "${{2}}")',null,{captureGroups:[a,{oldArgs:[W]}]})}function W(e,o){const n=window.VWO.consentMode;if(n){if(n.dT)return;if(n.hT){const n=window.VWO._.phoenixMT.on(c,(()=>{window.VWO._.phoenixMT.off(c,n),S(e,o)}));return}}S(e,o)}window.VWO.onSurveyShown=function(e){this.push(["onEventReceive",window.VWO._.EventsEnum.ON_SURVEY_SHOWN,function(o){e(o[1])}])},window.VWO.onSurveyCompleted=function(e){this.push(["onEventReceive",window.VWO._.EventsEnum.ON_SURVEY_COMPLETED,function(o){e(o[1])}])},window.VWO.onSurveyAnswerSubmitted=function(e){this.push(["onEventReceive",window.VWO._.EventsEnum.ON_SURVEY_ANSWER_SUBMITTED,function(o){e(o[1])}])},window.VWO._.loadNonTestingLibraries=W;class f{constructor(){this.vwoExecutedTriggeredOnce=!1,this.vwoOSCTriggeredOnce=!1,this.vwoDebouncedTimer=null}_debouncedEvent(){this.vwoDebouncedTimer&&clearTimeout(this.vwoDebouncedTimer),this.vwoDebouncedTimer=setTimeout((()=>this._sendCampaignsLoaded()),f.CAMPAIGNS_LOADED_DELAY)}_sendCampaignsLoaded(){null!==this.vwoCookieListenerId&&(window.VWO._.phoenixMT.trigger("vwo_campaignsLoaded"),window.VWO._.phoenixMT.off(this.vwoCookieListenerId),this.vwoCookieListenerId=null)}_attachCombiListener(){this.vwoCookieListenerId=window.VWO._.phoenixMT.on(s,(()=>this._debouncedEvent()))}_canAttachCombiListenerOnce(e){return!(!window._vis_debug&&!n())||(this.vwoExecutedTriggeredOnce?e||this.vwoOSCTriggeredOnce:!e)}_attachCombiListenerOnce(e){this._canAttachCombiListenerOnce(e)&&(this._debouncedEvent(),this._attachCombiListener())}execute(){const o=!!window._vwo_code;if(this._attachCombiListenerOnce(o),this.vwoExecutedTriggeredOnce)return void(this.vwoOSCTriggeredOnce=!0);const n=function(){const{executableCampaignsOnCurrentPage:o}=window.VWO._,n=window.VWO._.allSettings.dataStore.campaigns,t=[{},[]];if(null==o?void 0:o.length)for(const i of o){const o=n[i];e((()=>window.VWO.modules.utils.libUtils.isTestingCampaign(o.type)))&&(o.ready?t[0][i]=o.combination_chosen:t[1].push(i))}return window._vwo_code&&(window._vwo_code.lT||window._vwo_code.sT)&&t.push({timeout:!0}),t}();window.VWO._.triggerEvent.apply(window.VWO._.triggerEvent,[l,n]),this.vwoExecutedTriggeredOnce=!0}}f.CAMPAIGNS_LOADED_DELAY=200;const C=new f,L=C.execute.bind(C),b=()=>{window.VWO.modules.tags.sessionInfoService.eraseSessionCookie(),window.fetcher.setValue("window._vwo_uuid",null),window.fetcher.setValue("window.VWO._.allSettings.dataStore.uuid",null),window._vwo_uuid=null,window.VWO._.allSettings.dataStore.uuid=null,(()=>{const o=window.VWO._.cookies,n=o.getAll(),t=/^(debug)?(_vis_opt|_vwo)/;for(const i in n)if(t.test(i)){const n=/(_vis_opt_exp_|_vwo_uuid_)(\d+)/,t=e((()=>n.exec(i)[2]));t||"_vwo"==i?(o.createThirdParty(i,"",-1,null,t),i.includes("combi")&&o.createThirdParty(`_vis_opt_exp_${t}_combi_choose`,"",-1,null,t)):o.create(i,"",-1)}})(),Object.keys(window.localStorage).forEach((e=>{e.indexOf("vwo")>-1&&window.localStorage.removeItem(e)})),window.VWO._.sessionInfoService.setVisitorInformation("new"),e((()=>window.VWO._.crossStore.removeAll())),window.VWO._.phoenixMT.trigger("vwo.session.destroyed"),955434===window._vwo_acc_id&&e((()=>window.VWO._.tua.clearCallbacks()))};window.VWO._.destroySession?window.VWO._.destroySession(b):window.VWO._.destroySession=b,window.VWO._.ncLib=window.VWO._.ncLib||{},window.VWO._.ncLib.initNonCriticalLib=()=>{var e;(L(),window.VWO._.ncLib.ncInit)||(window.VWO._.vwoLib.init("nonCritical",window.VWO,null),e=window.VWO.modules.dataStorePlugin.vwoUUID,window.VWO.modules.otherLibDeps.setOtherLibrariesDepsMT(),window.VWO._.addConsentTrigger=function(e){return i(this,void 0,void 0,(function*(){yield window.VWO._.insightsOnConsentPromise,e()}))},window.VWO._.libLoaded=!0,window.VWO._.track=window.VWO._.track||{},window.VWO._.GoalsEnum={SEPARATE_PAGE:"SEPARATE_PAGE",CLICK_ELEMENT:"CLICK_ELEMENT",ENGAGEMENT:"ENGAGEMENT",FORM_SUBMIT:"FORM_SUBMIT",ON_PAGE:"ON_PAGE",REVENUE_TRACKING:"REVENUE_TRACKING",CUSTOM_GOAL:"CUSTOM_GOAL",PAGE_UNLOAD:"PAGE_UNLOAD"},window.VWO._.CampaignEnum={AB_CAMPAIGN:"VISUAL_AB",MVT_CAMPAIGN:"VISUAL",SPLIT_CAMPAIGN:"SPLIT_URL",SURVEY_CAMPAIGN:"SURVEY",ANALYZE_HEATMAP_CAMPAIGN:"ANALYZE_HEATMAP",ANALYZE_RECORDING_CAMPAIGN:"ANALYZE_RECORDING",ANALYZE_FORM_CAMPAIGN:"ANALYZE_FORM",ANALYSIS_CAMPAIGN:"ANALYSIS",GOAL_CAMPAIGN:"TRACK",FUNNEL_CAMPAIGN:"FUNNEL"},window.VWO._.coreLib=window.VWO._.coreLib||{},window.VWO._.coreLib.compareUrlWithIncludeExcludeRegex=window.VWO.modules.utils.urlUtils.compareUrlWithIncludeExcludeRegex.bind(window.VWO.modules.utils.urlUtils),window.VWO._.coreLib.getCurrentUrl=function(){return window._vis_opt_url||window.location.href},window.VWO._.coreLib.runCampaigns=function(e,o){return i(this,void 0,void 0,(function*(){"object"==typeof e&&(o=e.expIds);const n=o.map((function(e){return i(this,void 0,void 0,(function*(){yield window.VWO.modules.events.fireEventAndSyncData(window.VWO.phoenix,d,{id:e})}))}));yield Promise.all(n),window.VWO._.track.nlsProcessed=!0,window.VWO._.phoenixMT.trigger("vwo_insightsActivated"),window.VWO._.vwoLib.init("track",window.VWO,null)}))},window.VWO._.libUtils.createUUIDCookie=function(){return window.VWO._.libUtils.createUUIDCookie2({vwoUUID:e})},window.VWO._.libUtils.sendCall=function(e,o,n,t){window.VWO.modules.vwoUtils.sendCall({url:e},o,n,t)},window.VWO._.libUtils.extraData=function(e){return window.VWO._.libUtils.extraData2(e)},window.VWO._.libUtils.isSessionBasedCampaign=function(e){const o=window.VWO._.allSettings.dataStore.campaigns[e];return window.VWO._.libUtils.isSessionBasedCampaign2(o)},window.VWO._.libUtils.isBot=function(){return window.VWO._.libUtils.isBot2()},window.VWO.modules.otherLibDeps.storeSurveyDataInVWOSurveySettings(window._vwo_exp),function(){const e=window._vwo_pa={},o=window._vwo_exp;for(var n in o)"ANALYZE_RECORDING"===o[n].type&&(e.r=1),"ANALYZE_FORM"===o[n].type&&(e.r=1),"ANALYZE_HEATMAP"===o[n].type&&(e.r=1)}(),window._vis_heatmap||W(window._vwo_exp_ids),new t,window.VWO.modules.phoenixPlugins.events.predefinedEvents.PageUnloadEvent=new E,window.VWO._.ncLib.ncInit=!0)},window.VWO._.phoenixMT&&window.VWO._.phoenixMT.trigger("vwo_InitNCLib")}();

</script></head>
<body class="home regulator-cysec country-es lang-es Win10" style="">


<header id="mainHeader" class="sticky-top main-header prominent-rw">
<section class="rw-container resize-sub">
    <div class="container-xxl main-row">
        <div class="row">
            <div class="col">
                <div class="d-grid rw-text">
                    <p id="riskWarning" class="rw-long collapse d-lg-block show">Los CFD son instrumentos complejos y están asociados a un riesgo elevado de perder dinero rápidamente debido al apalancamiento. <strong>El 82% de las cuentas de inversores minoristas pierden dinero en la comercialización con CFD con este proveedor. </strong> Debes considerar si comprendes el funcionamiento de los CFD y si puedes permitirte asumir un riesgo elevado de perder tu dinero.</p>
                    <p class="rw-short"><strong>82% de las cuentas minoristas de CFD pierde dinero.</strong></p>
                        <button class="btn icon-plus3 rw-toggle" type="button" data-bs-toggle="collapse" data-bs-target="#riskWarning" aria-expanded="true" aria-controls="riskWarning"></button>
                </div>
            </div>
        </div>
    </div>
   
</section>
	<nav class="navbar navbar-expand-lg navbar-light">
		<div class="container-xxl">
			<a class="navbar-brand p-0 me-auto me-lg-0 logo" href="/es-es/" title="Logo/Enlace de la portada de Plus500">
                    <svg viewBox="0 0 160 38" width="160" height="38">
				<title id="logoTitle">logotipo de Plus500</title>
                        <path class="logo-color-2" d="M142.17 14.9452H155.174C155.562 14.9452 155.915 14.9849 156.246 15.0572C156.578 15.1319 156.881 15.2183 157.157 15.3256C157.476 15.475 157.763 15.6478 158.02 15.8485C158.276 16.0492 158.497 16.2756 158.69 16.53C158.949 16.8265 159.153 17.1532 159.313 17.5127C159.475 17.8721 159.605 18.2339 159.713 18.5887C159.819 18.9692 159.894 19.3496 159.936 19.7301C159.979 20.1105 160 20.4793 160 20.8411V31.8114C160 32.2152 159.979 32.6003 159.936 32.9714C159.894 33.3425 159.816 33.695 159.713 34.0311C159.605 34.4349 159.464 34.8177 159.28 35.1748C159.101 35.5366 158.904 35.8517 158.69 36.1271C158.478 36.3815 158.243 36.6079 157.987 36.8086C157.728 37.0117 157.462 37.1751 157.189 37.2988C156.888 37.4505 156.587 37.5532 156.277 37.6162C155.966 37.6793 155.656 37.7096 155.336 37.7096H142.105C141.742 37.7096 141.38 37.6723 141.018 37.5952C140.658 37.5229 140.315 37.4038 139.997 37.2358C139.677 37.0677 139.379 36.8623 139.104 36.6173C138.826 36.3768 138.572 36.0827 138.337 35.742C138.165 35.4689 138.008 35.1631 137.855 34.8223C137.709 34.4862 137.589 34.1151 137.504 33.716C137.441 33.3962 137.384 33.0671 137.347 32.7147C137.302 32.3692 137.283 31.9958 137.283 31.592V21.1562C137.283 20.7594 137.309 20.3486 137.358 19.9378C137.413 19.5224 137.493 19.1186 137.601 18.7171C137.683 18.3133 137.812 17.9282 137.984 17.5594C138.153 17.1859 138.356 16.8568 138.591 16.5604C138.803 16.285 139.047 16.0352 139.327 15.8135C139.604 15.5894 139.924 15.419 140.284 15.2906C140.543 15.1879 140.83 15.0992 141.147 15.0362C141.467 14.9755 141.808 14.9452 142.17 14.9452ZM150.734 18.7498H146.484C146.338 18.7498 146.183 18.7941 146.02 18.8758C145.863 18.9598 145.729 19.0672 145.621 19.1909C145.494 19.3193 145.392 19.457 145.32 19.6064C145.244 19.7534 145.211 19.9098 145.211 20.0802V32.6376C145.211 32.808 145.254 32.9714 145.352 33.1324C145.447 33.2888 145.559 33.4172 145.684 33.5269C145.816 33.6553 145.964 33.7603 146.136 33.8444C146.305 33.9307 146.477 33.9704 146.646 33.9704H150.736C150.863 33.9704 150.997 33.9377 151.136 33.877C151.277 33.814 151.406 33.7276 151.536 33.6203C151.641 33.5386 151.731 33.4312 151.806 33.3052C151.881 33.1768 151.917 33.0484 151.917 32.9247V19.7954C151.917 19.6717 151.881 19.5457 151.806 19.4173C151.731 19.2913 151.641 19.1862 151.536 19.1022C151.406 18.9972 151.277 18.9108 151.136 18.8478C150.992 18.7824 150.861 18.7498 150.734 18.7498Z" fill="white"></path>
                        <path class="logo-color-2" d="M116.575 14.9452H129.581C129.962 14.9452 130.317 14.9849 130.651 15.0572C130.98 15.1319 131.281 15.2183 131.561 15.3256C131.881 15.475 132.17 15.6478 132.424 15.8485C132.678 16.0492 132.902 16.2756 133.094 16.53C133.348 16.8265 133.558 17.1532 133.715 17.5127C133.875 17.8721 134.007 18.2339 134.115 18.5887C134.223 18.9692 134.296 19.3496 134.339 19.7301C134.386 20.1105 134.402 20.4793 134.402 20.8411V31.8114C134.402 32.2152 134.383 32.6003 134.339 32.9714C134.299 33.3425 134.226 33.695 134.115 34.0311C134.007 34.4349 133.866 34.8177 133.685 35.1748C133.504 35.5366 133.306 35.8517 133.094 36.1271C132.878 36.3815 132.643 36.6079 132.389 36.8086C132.137 37.0117 131.867 37.1751 131.592 37.2988C131.293 37.4505 130.989 37.5532 130.679 37.6162C130.371 37.6793 130.056 37.7096 129.738 37.7096H116.511C116.147 37.7096 115.785 37.6723 115.425 37.5952C115.058 37.5229 114.719 37.4038 114.399 37.2358C114.082 37.0677 113.783 36.8623 113.503 36.6173C113.226 36.3768 112.969 36.0827 112.737 35.742C112.565 35.4689 112.405 35.1631 112.262 34.8223C112.109 34.4862 111.996 34.1151 111.906 33.716C111.843 33.3962 111.791 33.0671 111.749 32.7147C111.704 32.3692 111.685 31.9958 111.685 31.592V21.1562C111.685 20.7594 111.711 20.3486 111.768 19.9378C111.817 19.5224 111.897 19.1186 112.005 18.7171C112.092 18.3133 112.217 17.9282 112.389 17.5594C112.56 17.1859 112.762 16.8568 112.995 16.5604C113.207 16.285 113.456 16.0352 113.731 15.8135C114.007 15.5894 114.326 15.419 114.689 15.2906C114.947 15.1879 115.232 15.0992 115.552 15.0362C115.874 14.9755 116.213 14.9452 116.575 14.9452ZM125.143 18.7498H120.891C120.74 18.7498 120.587 18.7941 120.427 18.8758C120.267 18.9598 120.131 19.0672 120.027 19.1909C119.898 19.3193 119.795 19.457 119.724 19.6064C119.649 19.7534 119.609 19.9098 119.609 20.0802V32.6376C119.609 32.808 119.661 32.9714 119.755 33.1324C119.853 33.2888 119.966 33.4172 120.091 33.5269C120.218 33.6553 120.364 33.7603 120.535 33.8444C120.707 33.9307 120.879 33.9704 121.048 33.9704H125.14C125.267 33.9704 125.397 33.9377 125.535 33.877C125.672 33.814 125.808 33.7276 125.935 33.6203C126.041 33.5386 126.131 33.4312 126.206 33.3052C126.281 33.1768 126.321 33.0484 126.321 32.9247V19.7954C126.321 19.6717 126.281 19.5457 126.206 19.4173C126.131 19.2913 126.041 19.1862 125.935 19.1022C125.811 18.9972 125.672 18.9108 125.535 18.8478C125.399 18.7824 125.27 18.7498 125.143 18.7498Z" fill="white"></path>
                        <path class="logo-color-2" d="M108.555 14.9756V18.7195H95.2624L95.039 23.1893H104.404C104.997 23.1893 105.552 23.2733 106.062 23.4437C106.382 23.5511 106.674 23.6888 106.942 23.8568C107.208 24.0272 107.45 24.2256 107.662 24.4567C107.857 24.6504 108.024 24.8581 108.172 25.0939C108.32 25.3273 108.438 25.5677 108.525 25.8198C108.63 26.0976 108.713 26.373 108.762 26.6647C108.814 26.9448 108.845 27.2483 108.845 27.5634V33.527C108.845 33.8631 108.814 34.1712 108.762 34.4466C108.71 34.722 108.628 34.9881 108.525 35.2402C108.416 35.5576 108.266 35.8377 108.078 36.0805C107.887 36.3255 107.685 36.538 107.469 36.7317C107.255 36.8811 107.029 37.0141 106.798 37.1448C106.558 37.2709 106.321 37.3666 106.062 37.4272C105.804 37.5159 105.538 37.579 105.267 37.621C104.985 37.663 104.708 37.684 104.437 37.684H87.7858V34.0055H100.121C100.248 34.0055 100.359 33.9611 100.453 33.8631C100.552 33.7697 100.629 33.6507 100.698 33.499C100.759 33.3519 100.801 33.2002 100.822 33.0391C100.846 32.8828 100.853 32.7357 100.853 32.6097V28.1399C100.853 27.9462 100.822 27.7758 100.775 27.6334C100.721 27.4863 100.651 27.3696 100.564 27.2856C100.481 27.1806 100.38 27.1059 100.263 27.0639C100.145 27.0172 100.023 27.0008 99.8956 27.0008H87.3672L87.5271 14.9803H108.555V14.9756Z" fill="white"></path>
                        <path class="logo-color-2" d="M83.1244 19.499V22.8578H71.8919C71.819 22.8578 71.7343 22.8765 71.6285 22.9091C71.5226 22.9465 71.4238 22.9862 71.3298 23.0305C71.238 23.0772 71.1604 23.1355 71.104 23.2056C71.0452 23.2733 71.017 23.3549 71.017 23.446V24.4496C71.017 24.5453 71.0523 24.62 71.1205 24.6784C71.191 24.7321 71.271 24.7834 71.3674 24.8301C71.4568 24.8791 71.5579 24.9118 71.6614 24.9351C71.7672 24.9608 71.866 24.9701 71.9577 24.9701H80.2292C80.4856 24.9701 80.7443 24.9911 81.0148 25.0402C81.2829 25.0868 81.5322 25.1452 81.765 25.2129C82.0214 25.3086 82.2589 25.4206 82.4823 25.5607C82.7011 25.6984 82.9057 25.8618 83.0938 26.0462C83.2537 26.2095 83.3996 26.3916 83.5289 26.5993C83.6536 26.8071 83.7664 27.0405 83.8605 27.2926C83.9522 27.5236 84.0205 27.7897 84.0698 28.0862C84.1169 28.3872 84.1404 28.7094 84.1404 29.0571V33.3169C84.1404 33.6413 84.1098 33.9517 84.051 34.2528C83.9946 34.5516 83.9076 34.8434 83.79 35.1164C83.6959 35.3709 83.5665 35.6089 83.4066 35.8284C83.242 36.0501 83.0774 36.2508 82.9174 36.4329C82.7058 36.6196 82.487 36.783 82.2542 36.937C82.0237 37.0888 81.7885 37.2218 81.5581 37.3338C81.2288 37.4739 80.8995 37.5742 80.5632 37.6303C80.2245 37.6839 79.8929 37.7143 79.5684 37.7143H63.3781V34.4232H75.382C75.4761 34.4232 75.5749 34.3999 75.6784 34.3555C75.7842 34.3112 75.8712 34.2505 75.9394 34.1805C76.0312 34.1338 76.1017 34.0661 76.1511 33.9727C76.1958 33.8817 76.2193 33.7883 76.2193 33.695V32.6913C76.2193 32.6026 76.1958 32.5163 76.1511 32.4346C76.1017 32.3529 76.0312 32.2899 75.9394 32.2432C75.8454 32.1731 75.7536 32.1195 75.6619 32.0891C75.5655 32.0494 75.4761 32.0354 75.382 32.0354H67.1152C66.7883 32.0354 66.4567 32.0051 66.1204 31.9491C65.7817 31.8931 65.4525 31.7927 65.1255 31.6527C64.9162 31.5616 64.7116 31.4449 64.5141 31.3072C64.3165 31.1695 64.1495 31.0084 64.0084 30.8217C63.8697 30.6607 63.7473 30.4809 63.6439 30.2849C63.5404 30.0911 63.451 29.8857 63.3805 29.678C63.3334 29.4913 63.2981 29.2975 63.277 29.0898C63.2535 28.8844 63.2417 28.6603 63.2417 28.4316V23.5837C63.2417 23.2592 63.277 22.9675 63.3475 22.6991C63.4157 22.4353 63.5075 22.1762 63.6251 21.9195C63.7662 21.6907 63.9167 21.469 64.079 21.2636C64.2412 21.0559 64.427 20.8738 64.6364 20.7104C64.8457 20.526 65.0738 20.3626 65.316 20.2249C65.5606 20.0849 65.8099 19.9728 66.0663 19.8795C66.3909 19.7674 66.7295 19.6717 67.0776 19.6017C67.428 19.5317 67.762 19.499 68.0889 19.499H83.1244V19.499Z" fill="white"></path>
                        <path class="logo-color-2" d="M46.1059 19.4313V33.1441C46.1059 33.2585 46.1412 33.3799 46.2117 33.5036C46.2823 33.632 46.3622 33.744 46.4563 33.835C46.5716 33.9237 46.6939 34.0007 46.8232 34.0568C46.9502 34.1174 47.0725 34.1455 47.1901 34.1455H50.9907C51.1083 34.1455 51.2283 34.1221 51.3576 34.0754C51.4846 34.0311 51.5952 33.9611 51.6892 33.8677C51.7833 33.7767 51.8656 33.6786 51.9362 33.5713C52.0044 33.4709 52.0397 33.3589 52.0397 33.2445V19.4617H60.5181V37.7096H42.6886C42.2912 37.7096 41.9219 37.6699 41.5715 37.5859C41.2234 37.5089 40.8965 37.3968 40.5955 37.2591C40.2921 37.0981 40.0146 36.9067 39.7582 36.6873C39.5018 36.4679 39.269 36.2345 39.0597 35.9777C38.8504 35.7233 38.6575 35.4385 38.4835 35.1304C38.3094 34.8153 38.1636 34.5002 38.0484 34.1758C37.9543 33.8514 37.8791 33.5246 37.8226 33.1908C37.7638 32.857 37.7356 32.5256 37.7356 32.2011V19.4243H46.1059V19.4313Z" fill="white"></path>
                        <path class="logo-color-2" d="M34.8947 37.5953C34.8947 37.5953 30.7436 37.635 30.3932 37.5953C30.0357 37.5509 29.7158 37.3432 29.4148 37.1588C29.1114 36.9488 28.8315 36.6943 28.5775 36.4002C28.3188 36.1108 28.0884 35.8004 27.879 35.4643C27.6697 35.1258 27.4769 34.75 27.3028 34.3439C27.1288 33.9261 26.983 33.5106 26.8677 33.0835C26.7737 32.654 26.6984 32.2222 26.642 31.7787C26.5832 31.3399 26.5549 30.9011 26.5549 30.4693V13.5681H34.9299L34.8947 37.5953Z" fill="white"></path>
                        <path class="logo-color-2" d="M0 30.915V12.9215H18.4928C18.8173 12.9215 19.156 12.9425 19.5041 12.9915C19.8545 13.0382 20.1908 13.1082 20.5177 13.1993C20.8423 13.316 21.1645 13.4607 21.4773 13.6311C21.7924 13.8085 22.0746 14.0092 22.3334 14.2403C22.5192 14.448 22.6932 14.6697 22.8555 14.9148C23.0177 15.1552 23.1565 15.4283 23.2741 15.7271C23.3893 16.0305 23.4764 16.3573 23.5375 16.7167C23.594 17.0762 23.6245 17.4613 23.6245 17.8768V24.0411C23.6245 24.4333 23.5963 24.8021 23.5375 25.1498C23.4787 25.4953 23.3917 25.808 23.2741 26.0835C23.18 26.3612 23.053 26.6226 22.8907 26.8607C22.7261 27.1058 22.5521 27.3205 22.3663 27.5026C22.157 27.7103 21.9312 27.8901 21.6866 28.0371C21.442 28.1888 21.1809 28.3195 20.9011 28.4362C20.553 28.5763 20.1908 28.6743 19.8192 28.7303C19.4476 28.7887 19.0737 28.819 18.7021 28.819H8.68781V37.6489H3.8359H0V30.915ZM8.68781 17.0062V24.7297H13.8502C13.9913 24.7297 14.123 24.6853 14.2523 24.5896C14.3793 24.4986 14.4899 24.3819 14.5839 24.2442C14.6757 24.1042 14.7462 23.9548 14.7933 23.7937C14.8379 23.635 14.8615 23.4809 14.8615 23.3432V18.2176C14.8615 18.0355 14.8332 17.8651 14.7744 17.7134C14.7156 17.564 14.6404 17.4426 14.5487 17.3516C14.4546 17.2349 14.3441 17.1486 14.2171 17.0902C14.0901 17.0318 13.9678 17.0038 13.8502 17.0038H8.68781V17.0062Z" fill="white"></path>
                        <path class="logo-color-1" d="M88.0966 4.36708H83.1271V0H75.4647V4.36708H70.4976V11.5117H75.4647V15.8788H83.1271V11.5117H88.0966V4.36708Z" fill="white"></path>
                    </svg>
            </a>
			<button class="navbar-toggler" type="button" data-bs-toggle="offcanvas" data-bs-target="#offCanvasNavbar" aria-controls="offCanvasNavbar" aria-expanded="false" aria-label="Toggle navigation">
				  <span></span>
				  <span></span>
				  <span></span>
			</button>
            <div id="offCanvasNavbar" class="offcanvas offcanvas-start main-header-offcanvas" tabindex="-1" aria-labelledby="offCanvasNavbarLabel">
                <div class="offcanvas-body">
					<ul class="navbar-nav justify-content-lg-center align-items-lg-center">
						<li class="nav-item back ms-lg-auto">
							<a class="d-lg-none btn-dismiss icon-cross2" href="javascript:void(0);" role="button" data-bs-dismiss="offcanvas" aria-expanded="true"></a>
						</li>
							<li class="nav-item dropdown">
								<a class="nav-link dropdown-toggle" href="javascript:void(0);" id="navbarDropdownInstruments" role="button" data-bs-toggle="dropdown" aria-expanded="false">Mercados</a>
								<ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="navbarDropdownInstruments" data-menu-name="markets">
									<li class="nav-item back d-lg-none">
										<a class="btn-back icon-class" href="javascript:void(0);">Atrás</a>
										<a class="btn-dismiss icon-cross2" href="javascript:void(0);" role="button" data-bs-dismiss="offcanvas" aria-expanded="true"></a>
									</li>
												<li class="nav-item"><a class="dropdown-item" href="/es-es/trading/cryptocurrencies" data-page="CryptoCurrencies" data-analytics="menuClick">Cripto‏</a></li>
												<li class="nav-item"><a class="dropdown-item" href="/es-es/trading/indices" data-page="Indices" data-analytics="menuClick">Índices</a></li>
												<li class="nav-item"><a class="dropdown-item" href="/es-es/trading/forex" data-page="Forex" data-analytics="menuClick">Divisas</a></li>
												<li class="nav-item"><a class="dropdown-item" href="/es-es/trading/commodities" data-page="Commodities" data-analytics="menuClick">Materias primas</a></li>
												<li class="nav-item"><a class="dropdown-item" href="/es-es/trading/stocks" data-page="Stocks" data-analytics="menuClick">Acciones</a></li>
												<li class="nav-item"><a class="dropdown-item" href="/es-es/trading/options" data-page="Options" data-analytics="menuClick">Opciones</a></li>
												<li class="nav-item"><a class="dropdown-item" href="/es-es/trading/etfs" data-page="ETFs" data-analytics="menuClick">ETF</a></li>
												<li class="nav-item"><a class="dropdown-item" href="/es-es/instruments" data-page="AllInstruments" data-analytics="menuClick">Todos los mercados</a></li>
								</ul>
							</li>
													<li class="nav-item dropdown">
								<a class="nav-link dropdown-toggle" href="javascript:void(0);" id="navbarDropdownTrading" role="button" data-bs-toggle="dropdown" aria-expanded="false">Trading</a>
								<ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="navbarDropdownTrading" data-menu-name="trading">
									<li class="nav-item back d-lg-none">
										<a class="btn-back icon-class" href="javascript:void(0);">Atrás</a>
										<a class="btn-dismiss icon-cross2" href="javascript:void(0);" role="button" data-bs-dismiss="offcanvas" aria-expanded="true"></a>
									</li>
											<li class="nav-item"><a class="dropdown-item" href="/es-es/premiumservice" data-page="PremiumService" data-analytics="menuClick">Servicio Premium</a></li>
											<li class="nav-item"><a class="dropdown-item" href="/es-es/professionalaccount" data-page="ProfessionalAccount" data-analytics="menuClick">Trading profesional</a></li>
											<li class="nav-item"><a class="dropdown-item" href="/es-es/help/feescharges?productType=CFD" data-page="FeesCharges" data-analytics="menuClick">Tasas y Cargos</a></li>
											<li class="nav-item"><a class="dropdown-item" href="/es-es/trading/esg" data-page="Esg" data-analytics="menuClick">ESG</a></li>
											<li class="nav-item no-border-bottom"><hr class="dropdown-divider"></li>
											<li class="nav-item invest"><a class="dropdown-item" href="/es-es/invest" data-page="InvestHomePage">Plus500 Invest</a></li>
								</ul>
							</li>
						<li class="nav-item dropdown">
							<a class="nav-link dropdown-toggle" href="javascript:void(0);" id="navbarDropdownCompany" role="button" data-bs-toggle="dropdown" aria-expanded="false">Compañía</a>
							<ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="navbarDropdownCompany" data-menu-name="company">
								<li class="nav-item back d-lg-none">
									<a class="btn-back icon-class" href="javascript:void(0);">Atrás</a>
									<a class="btn-dismiss icon-cross2" href="javascript:void(0);" role="button" data-bs-dismiss="offcanvas" aria-expanded="true"></a>
								</li>
											<li class="nav-item"><a class="dropdown-item" href="/es-es/aboutus" data-page="AboutUs" data-analytics="menuClick">Quiénes somos</a></li>
											<li class="nav-item"><a class="dropdown-item" href="https://investors.plus500.com/" target="_blank" rel="noopener noreferrer" data-analytics="menuClick">Relaciones de inversor</a></li>
											<li class="nav-item nav-item-doc"><a class="dropdown-item" href="https://cdn-main.plus500.com/Regulatory/CySec/default/default/CFD/1728208808/PrivacyPolicy.pdf" target="_blank" rel="noopener noreferrer" doc-href="https://cdn-main.plus500.com/Regulatory/CySec/default/default/CFD/1728208808/PrivacyPolicy.pdf" data-analytics="menuClick">Política de privacidad</a></li>
											<li class="nav-item pt-3"></li>
											<li class="nav-item"><span class="dropdown-header">Patrocinios</span></li>
											<li class="nav-item"><a class="dropdown-item" href="/es-es/promotions/bulls" data-page="Bulls" data-analytics="menuClick">Chicago Bulls</a></li>
											<li class="nav-item"><a class="dropdown-item" href="/es-es/promotions/legiawarsaw" data-page="LegiaWarsaw" data-analytics="menuClick">Legia de Varsovia</a></li>
											<li class="nav-item"><a class="dropdown-item" href="/es-es/promotions/youngboys" data-page="YoungBoys" data-analytics="menuClick">BSC Young Boys</a></li>
							</ul>
						</li>
						<li class="nav-item dropdown">
							<a class="nav-link dropdown-toggle" href="javascript:void(0);" id="navbarDropdownLearning" role="button" data-bs-toggle="dropdown" aria-expanded="false">Formación</a>
							<ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="navbarDropdownLearning" data-menu-name="learn">
								<li class="nav-item back d-lg-none">
									<a class="btn-back icon-class" href="javascript:void(0);">Atrás</a>
									<a class="btn-dismiss icon-cross2" href="javascript:void(0);" role="button" data-bs-dismiss="offcanvas" aria-expanded="true"></a>
								</li>
											<li class="nav-item"><a class="dropdown-item" href="/es-es/tradingacademy" data-page="TradingAcademy" data-analytics="menuClick">Academia de Trading</a></li>
											<li class="nav-item"><a class="dropdown-item" href="/es-es/newsandmarketinsights" data-page="MarketInsights">Noticias y perspectivas del mercado</a></li>
											<li class="nav-item"><a class="dropdown-item" href="/es-es/insights" data-page="Insights" data-analytics="menuClick">+Insights</a></li>
											<li class="nav-item"><a class="dropdown-item" href="/es-es/economiccalendar" data-page="EconomicCalendar" data-analytics="menuClick">Calendario económico</a></li>
											<li class="nav-item"><a class="dropdown-item" href="/es-es/help/riskmanagement" data-page="RiskManagement" data-analytics="menuClick">Gestión de riesgos</a></li>
											<li class="nav-item"><a class="dropdown-item" href="/es-es/help/alerts" data-page="Alerts" data-analytics="menuClick">Alertas</a></li>
							</ul>
						</li>
												<li class="me-lg-auto d-none d-lg-block"></li>
							<li class="nav-item">
								<a class="nav-link dropdown-item" href="https://app.plus500.com/trade?hl=es&amp;innerTags=_cc_&amp;product=CFD&amp;page=login">Iniciar sesión</a>
							</li>
													<li class="nav-item dropdown me-lg-2">
								<a class="nav-link dropdown-toggle dropdown-toggle-languages no-border-bottom" href="javascript:void(0);" id="navbarDropdownLanguages" role="button" data-bs-toggle="dropdown" aria-expanded="false" title="Elegir el botón de idioma">es</a>
								<ul class="dropdown-menu dropdown-menu-dark dropdown-menu-end dropdown-menu-languages dropdown-menu-many-languages" aria-labelledby="navbarDropdownLanguages" data-menu-name="languages">
									<li class="nav-item back d-lg-none">
										<a class="btn-back icon-class" href="javascript:void(0);">Atrás</a>
										<a class="btn-dismiss icon-cross2" href="javascript:void(0);" role="button" data-bs-dismiss="offcanvas" aria-expanded="true"></a>
									</li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/en-es/">English</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/id-es/" rel="nofollow">bahasa Indonesia</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/cs-es/" rel="nofollow">Česky</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/da-es/" rel="nofollow">Dansk</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/de-es/" rel="nofollow">Deutsch</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/et-es/" rel="nofollow">Eesti</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/el-es/" rel="nofollow">Eλληνικά</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/fr-es/" rel="nofollow">Français</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/hr-es/" rel="nofollow">Hrvatski</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/it-es/" rel="nofollow">Italiano</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/lv-es/" rel="nofollow">Latviešu</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/lt-es/" rel="nofollow">Lietuviškai</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/hu-es/" rel="nofollow">Magyar</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/nl-es/" rel="nofollow">Nederlands</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/no-es/" rel="nofollow">Norsk</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/pl-es/" rel="nofollow">Polski</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/pt-es/" rel="nofollow">Português</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/ru-es/" rel="nofollow">Pyccĸий</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/ro-es/" rel="nofollow">Română</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/sk-es/" rel="nofollow">Slovenčina</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/sl-es/" rel="nofollow">Slovenski</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/fi-es/" rel="nofollow">Suomeksi</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/sv-es/" rel="nofollow">Svenska</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/tr-es/" rel="nofollow">Türkçe</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/bg-es/" rel="nofollow">български</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/he-es/" rel="nofollow">עברית</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/ar-es/" rel="nofollow">العربية</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/cn-es/" rel="nofollow">简体中文</a></li>
										<li><a class="dropdown-item" data-analytics="menuClick" href="/zh-es/" rel="nofollow">繁體中文</a></li>
								</ul>
							</li>
	                </ul>
				</div>
            </div>
            <a data-analytics="CTA_real" class="d-lg-none btn btn-primary header-trade" href="https://app.plus500.com/trade?hl=es&amp;innerTags=_cc_&amp;product=CFD&amp;ms=True">Negocie</a>
<div class="dropdown mx-1 me-md-3 dropdown-toggle-search">
    <button id="search-button" class="btn btn-link" type="button" data-bs-toggle="dropdown" aria-expanded="false"></button>
    <div id="search-dropdown" class="dropdown-menu dropdown-menu-end dropdown-menu-search">
        <div id="searchDropdownContent">
            <label class="visually-hidden" for="searchInstruments">Búsqueda</label>
            <div class="input-group">
                <input id="searchInstruments" type="text" v-model="searchTerm" autocomplete="off" placeholder="Búsqueda">
                <span class="input-group-icon"></span>
            </div>
            <div id="results" class="results">
                <div v-if="results.length" v-cloak="">
                    <ul class="results-list" v-for="category in categories">
                        <li class="search-results-category">
                            <span class="w-100" v-html="toCategoryName(category)"></span>
                        </li>
                        <li class="search-result instrument-basic-info" v-for="result in getCategoryResults(category)">
                            <figure class="skeleton-box icon-with-border" v-if="result.category === 9" v-instrument-icon="" :data-instrument="result.instrumentSymbol">
                                <img v-if="result.instrumentLogoImage" :src="result.instrumentLogoImage" aria-hidden="true">
                             </figure>
                            <a class="link-title" :href="result.url" v-html="result.title"></a>
                            <a class="link-trade" v-if="result.category === 9" :href="result.tradeInstrumentAppUrl" v-on:click="onInstrumentClick(false, $event)" :data-instrument="result.instrumentSymbol" v-cloak="">Negocie</a>
                        </li>
                    </ul>
                </div>
                <div v-else-if="isDisplayPlaceholder" v-cloak="">
                    <ul class="results-list">
                        <li class="search-result instrument-basic-info" v-for="r in placeholderResults">
                            <figure class="skeleton-box icon-with-border" v-instrument-icon="" :data-instrument="r.symbol">
                                <img v-if="r.icon" :src="r.icon" aria-hidden="true">
                             </figure>
                            <a class="link-title" :href="r.url" v-html="r.name"></a>
                            <a class="link-trade" :href="r.tradeInstrumentAppUrl" v-on:click="onInstrumentClick(true, $event)" :data-instrument="r.symbol">Negocie</a>
                        </li>
                    </ul>
                </div>
                <div v-else="" class="search-no-results" v-cloak="">
                    <div class="search-no-results-data">
                        <span class="placeholder">Contacto...</span>
                        <a class="placeholder" tabindex="0" href="/es-es/help/contactus">Contacto</a>
                    </div>
                </div>
                <div class="placeholder-container placeholder-wave" aria-hidden="true">
                    <div class="placeholder col-10 mb-3">&nbsp;</div>
                    <div class="placeholder col-12 mb-3">&nbsp;</div>
                    <div class="placeholder col-10 mb-3">&nbsp;</div>
                    <div class="placeholder col-12 mb-4">&nbsp;</div>
                    <div class="d-flex justify-content-between">
                        <div class="placeholder col-8">&nbsp;</div>
                        <div class="placeholder col-3 bg-light-blue">&nbsp;</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
							    <div class="start-trading-link-box">
					    <a data-analytics="CTA_real" class="btn btn-plus start-trading-link" href="https://app.plus500.com/trade?hl=es&amp;innerTags=_cc_&amp;product=CFD&amp;ms=True" data-start-trading="" role="button">Empezar a
negociar</a>
            </div>
        </div>
	</nav>
</header>
<div class="sentinal"></div>
    
    <main>
    


    <section class="hero-slider-section main-banner hero-banner elections-banner gs-anim-target general-section no-ad" data-section-name="hero-section">
        <figure aria-hidden="true" class="plus-bg plus-bg-medium blue-turquoise-gr" style="transform: translate(0%, 83.5796%) translate3d(0px, 0px, 0px) rotate(-11.9999deg);"></figure>
        <figure aria-hidden="true" class="plus-bg plus-bg-large blue-fill" style="transform: translate(0%, 107.473%) translate3d(0px, 0px, 0px) rotate(-11.9999deg);"></figure>
        <div class="hero-slider-wrap">
            <div class="hero-slider slick-initialized slick-slider slick-dotted">
                <div class="slick-list draggable"><div class="slick-track" style="opacity: 1; width: 1580px;"><div class="hero-slide no-ad invest-slide slick-slide slick-current slick-active" data-slick-index="0" aria-hidden="false" style="width: 790px; position: relative; left: 0px; top: 0px; z-index: 999; opacity: 1;" tabindex="0" role="tabpanel" id="slick-slide00" aria-describedby="slick-slide-control00">
                    <div class="container-xxl">
                        <div class="main-banner-wrap row align-items-center">
                            <figure aria-hidden="true" class="plus-bg plus-bg-small white" style="transform: translate(0%, 134.367%) translate3d(0px, 0px, 0px) rotate(-11.9999deg);"></figure>
                            <div class="main-banner-content hero-content col col-md-6 col-lg-7 col-xl-6">
                                <div class="blue-card-bg full-height"></div>
                                <h1 class="main-banner-title">Trading</h1>
                                <div class="main-banner-slogan">con un Plus</div>
                                <div class="main-banner-no-ad">Invierte en las acciones más populares con un corredor líder en el sector.</div>
                                <div class="main-banner-buttons-box">
                                    <div class="main-banner-buttons">
                                        <a target="_self" class="button blue-gradient" href="https://app.plus500.com/trade?cty=ES&amp;hl=es&amp;innerTags=_cc_&amp;product=Invest&amp;IsRealMode=True&amp;ms=True" tabindex="0">Empieza a invertir</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div><div class="hero-slide no-ad cfd-slide slick-slide" data-slick-index="1" aria-hidden="true" style="width: 790px; position: relative; left: -790px; top: 0px; z-index: 998; opacity: 0;" tabindex="-1" role="tabpanel" id="slick-slide01" aria-describedby="slick-slide-control01">
                    <div class="container-xxl">
                        <div class="main-banner-wrap row align-items-center">
                            <figure aria-hidden="true" class="plus-bg plus-bg-small white" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
                            <div class="main-banner-content hero-content col col-md-6 col-lg-7 col-xl-6">
                                <div class="blue-card-bg full-height"></div>
                                <h1 class="main-banner-title">Trading</h1>
                                <div class="main-banner-slogan">con un Plus</div>
                                <div class="main-banner-no-ad">Únase a más de 26 millones de usuarios que confían en el Grupo Plus500</div>
                                <div class="main-banner-buttons-box">
                                    <div class="main-banner-buttons">
                                        <a data-analytics="CTA_real" target="_self" data-start-trading="" data-cta-name="start-trading-real" class="button blue-gradient" href="https://app.plus500.com/trade?hl=es&amp;innerTags=_cc_&amp;product=CFD&amp;IsRealMode=True&amp;ms=True" tabindex="-1">Abra una cuenta</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div></div></div>
                
            </div>
            <aside class="hero-slider-navigation">
                <button class="slick-arrow slick-prev prev-arrow" aria-label="prev" style=""></button>
                <div class="slider-dots"><ul class="slick-dots" role="tablist" style=""><li class="slick-active" role="presentation"><button role="tab" id="slick-slide-control00" aria-controls="slick-slide00" aria-label="1 of 2" tabindex="0" aria-selected="true"><svg viewBox="0 0 32 32" style="animation-duration:5000ms;"><circle r="16" cx="16" cy="16"></circle></svg></button></li><li role="presentation"><button role="tab" id="slick-slide-control01" aria-controls="slick-slide01" aria-label="2 of 2" tabindex="-1"><svg viewBox="0 0 32 32" style="animation-duration:5000ms;"><circle r="16" cx="16" cy="16"></circle></svg></button></li></ul></div>
                <button class="slick-arrow slick-next next-arrow" aria-label="next" style=""></button>
            </aside>
        </div>
        <div class="container-xxl marketing-banner-container">
                <div class="main-banner-wrap row align-items-center">
                    <figure aria-hidden="true" class="plus-bg plus-bg-small white" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
                    
<div class="main-banner-content marketing-content elections-banner-content col col-md-6 col-lg-7 col-xxxl-8">
    
    <div class="blue-card-bg full-height"></div>
    <div class="marketing-banner-data">
        <div class="mb-2 main-banner-title marketing-banner-title"><strong>Convierte la volatilidad en oportunidad</strong></div>
        <div class="marketing-banner-content"><div class="d-none d-md-block" las="" elecciones="" de="" ee.uu.="" están="" cambiando="" el="" panorama="" mundial="" y="" causando="" reacciones="" en="" los="" mercados.="" aprovecha="" la="" volatilidad="" activos="" cfd="" como="" <strong="">EUR/USD, el S&amp;P 500 y los de gigantes tecnológicos como Alphabet, Amazon y Tesla.</div>
<div class="d-md-none">Las elecciones de EE.UU. están cambiando el panorama mundial y causando reacciones en los mercados. Aprovecha la volatilidad de los activos de CFD globales</div></div>
    </div>
    <div class="marketing-banner-buttons-box">
        <div class="main-banner-buttons button-group justify-content-center justify-content-md-start">
            <div class="start-trading-buttons">
    <div class="cta-wrap"> 
            <a data-analytics="CTA_real" data-start-trading="" data-cta-name="start-trading-real-cfd" class="button blue-gradient" href="https://app.plus500.com/trade?hl=es&amp;innerTags=_cc_&amp;product=CFD&amp;IsRealMode=True&amp;ms=True" target="_blank">Comienza a operar ahora</a>
            </div>
    </div>
        </div>
    </div>
</div>
                </div>
        </div>
        
<div class="banner-link hero-marketing-strip elections-banner-strip">
    <button class="btn banner-link-button">
        <div class="hero-marketing-strip-slogan">La vida está llena de opciones. <strong>Cuando se trata de trading, elige Plus500.</strong></div>
    </button>
</div>
    </section>


     <section class="payment payment-section general-section gs-anim-target" data-section-name="payment">
        <figure aria-hidden="true" class="plus-bg plus-bg-large blue-gr" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
        <div class="container">
    <div class="row justify-content-center align-center payment-brands">
        <div class="col main-column">
            <div class="payment-brand-list row align-middle align-center">
                        <div class="col payment-brand">
                            <figure class="payment-brand-img">
                                <img loading="lazy" title="Visa" alt="Visa" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/pay_methods/visa.svg">
                            </figure>
                        </div>
                        <div class="col payment-brand ">
                            <figure class="payment-brand-img">
                                <img loading="lazy" title="MasterCard" alt="MasterCard" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/pay_methods/mastercard.svg">
                            </figure>
                        </div>
                        <div class="col payment-brand">
                            <figure class="payment-brand-img">
                                <img loading="lazy" title="PayPal" alt="PayPal" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/pay_methods/paypal.svg">
                            </figure>
                        </div>
                        <div class="col payment-brand">
                            <figure class="payment-brand-img">
                                <img loading="lazy" title="Transferencia" alt="Transferencia" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/pay_methods/wire.svg">
                            </figure>
                        </div>
                        <div class="col payment-brand">
                            <figure class="payment-brand-img">
                                <img loading="lazy" title="Skrill" alt="Skrill" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/pay_methods/moneybookers.svg">
                            </figure>
                        </div>
                        <div class="col payment-brand">
                            <figure class="payment-brand-img">
                                <img loading="lazy" title="Transferencia bancaria rápida" alt="Transferencia bancaria rápida" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/pay_methods/onlinebanking.svg">
                            </figure>
                        </div>
                        <div class="col payment-brand">
                            <figure class="payment-brand-img">
                                <img loading="lazy" title="Apple Pay" alt="Apple Pay" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/pay_methods/applepay.svg">
                            </figure>
                        </div>
                        <div class="col payment-brand">
                            <figure class="payment-brand-img">
                                <img loading="lazy" title="Google Pay" alt="Google Pay" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/pay_methods/googlepay.svg">
                            </figure>
                        </div>
                                    <div class="col payment-brand">
                        <figure class="payment-brand-img">
                            <img loading="lazy" title="Sofortuberweisung" alt="Sofortuberweisung" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/pay_methods/sofortuberweisung.svg">
                        </figure>
                    </div>
            </div>
        </div>
    </div>
    <div class="row justify-content-center disclaimer-zone">
        <div class="col col-md-8">
            * Plus500 ofrece diferentes formas de pago en todo el mundo.
        </div>
    </div>
</div>
    </section>
<section class="regulatory regulatory-section general-section" data-section-name="global-markets">
    <div class="container-xxl">
        <div class="row justify-content-around blue-card-parent gs-anim-target">
            <figure aria-hidden="true" class="plus-bg plus-bg-small" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
            <figure aria-hidden="true" class="plus-bg plus-bg-medium" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
            <div class="blue-card-bg"></div>
            <div class="col col-md-8 col-lg-6">
                <div class="blue-card-content container-wrap">
                    <h2 class="title-section white">Un mundo de oportunidades con <strong>mercados globales</strong></h2>
                    <p>Descubre posibilidades ilimitadas de trading y accede a miles de los instrumentos financieros más populares del mundo mediante cotizaciones gratuitas en tiempo real.</p>
                </div>
            </div>
            <div class="col-sm-12 col-md-8 col-lg-5 px-0">
                <div class="regulatory-widget gs-regulatory-widget" style="transform: translate(50%, 0%); opacity: 0;">
                    
<div id="feedTable" class="feed-table feeds-top-tabs">
    <div v-if="shouldDisplaySideCategoriesTabs" class="instruments-widget-tabs" :class="categoriesClass">
        <button class="btn" data-analytics="widgetInteractions_tab" type-of-widget="feedsWidget" :category="categoryId" v-for="(category, categoryId) in categories" type="button" :data-tab-id="'tab_' + categoryId" :aria-label="categoryId" :class="categoryId == activeCategory ? 'selected' : ''" v-on:click="onCategoryTabClick(categoryId)" :title="category.categoryName">
            <span class="tab-icon" :class="category.icon"></span>
        </button>
    </div>
    <div class="instruments-widget-items">
        <h2 v-cloak="">{{activeCategoryName}}</h2>
        <div class="instruments-table" v-cloak="">
            <template v-for="(instrument, i) in activeInstruments">
                <div class="instrument-item">
                    <div class="instrument-basic-info">
                        <figure class="skeleton-box" v-instrument-icon="instrument.instrumentIconImage">
                            <img loading="lazy" :src="instrument.instrumentIconImage" :alt="instrument.name" :title="instrument.name" aria-hidden="True">
                        </figure>
                    </div>
                    <span class="inst-name-wrapper">

                        <a data-analytics="widgetInteractions_instrumentName" type-of-widget="feedsWidget" :category="activeCategory" :instrumentname="instrument.symbol" :href="instrument.instrumentLink" :title="instrument.name" :dir="resolveInstrumentLangDir(instrument)">{{instrument.name}}</a>
                        <sup v-if="instrument.isDelayedInstrument" title="Datos en diferido. Utiliza la plataforma para acceder a los precios en tiempo real.">
                            <span class="icon-clock3 table-clock"></span>
                        </sup>
                    </span>
                    <div class="sell-buy-grid">
                        <span :class="['sell', resolveSellPriceClass(instrument)]">
                            <span>{{instrument.sellPrice ? instrument.sellPrice?.toFixed(instrument.precision) : '--'}}</span>
                        </span>
                        <span :class="['change rate-change', resolvePercentClass(instrument)]">
                            <span :class="resolveThresholdClass(instrument)">{{instrument.changeRate?.toFixed(percentPrecision)}}%</span>
                        </span>
                    </div>
                    <span class="trade">
                        <a data-analytics="CTA_demo" type-of-widget="feedsWidget" :href="instrument.tradingLink" class="btn btn-sm btn-outline-primary trade-button lh-1" v-on:click="onTradeClick(activeCategory)">Negocie</a>
                    </span>
                </div>
            </template>
        </div>
    </div>
</div>

<script>
    let feedsInitialData = {"Crypto":{"categoryName":"Cripto‏","instruments":[{"instrumentId":3406,"precision":2,"threshold":"5.0","name":"Bitcoin","instrumentLink":"/es-es/instruments/btcusd","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":69003.31,"buyPrice":69210.63,"changeRate":1.72,"symbol":"BTCUSD","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Crypto/BTCUSD.png?v=1718693340"},{"instrumentId":3407,"precision":2,"threshold":"5.0","name":"Ethereum","instrumentLink":"/es-es/instruments/ethusd","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":2504.02,"buyPrice":2510.29,"changeRate":0.1,"symbol":"ETHUSD","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Crypto/ETHUSD.png?v=1718693344"},{"instrumentId":3420,"precision":5,"threshold":"5.0","name":"Ethereum / Bitcoin","instrumentLink":"/es-es/instruments/ethbtc","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":0.03602,"buyPrice":0.03655,"changeRate":-1.59,"symbol":"ETHBTC","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Crypto/ETHBTC.png?v=1718693339"},{"instrumentId":4139,"precision":2,"threshold":"5.0","name":"Índice Cripto 10","instrumentLink":"/es-es/instruments/crypto10","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":16677.62,"buyPrice":16777.99,"changeRate":0.63,"symbol":"Crypto10","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Crypto/Crypto10.png?v=1719827823"},{"instrumentId":1060806,"precision":2,"threshold":"5.0","name":"BNB","instrumentLink":"/es-es/instruments/bnbusd","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":586.34,"buyPrice":598.19,"changeRate":0.62,"symbol":"BNBUSD","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Crypto/BNBUSD.png?v=1718693338"},{"instrumentId":4019,"precision":5,"threshold":"5.0","name":"Cardano","instrumentLink":"/es-es/instruments/adausd","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":0.33427,"buyPrice":0.33899,"changeRate":-0.91,"symbol":"ADAUSD","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Crypto/ADAUSD.png?v=1718693339"},{"instrumentId":5064,"precision":2,"threshold":"5.0","name":"Solana","instrumentLink":"/es-es/instruments/solusd","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":174.21,"buyPrice":177.37,"changeRate":-0.45,"symbol":"SOLUSD","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Crypto/SOLUSD.png?v=1718693341"},{"instrumentId":1060811,"precision":2,"threshold":"5.0","name":"Avalanche","instrumentLink":"/es-es/instruments/avaxusd","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":25.41,"buyPrice":25.92,"changeRate":-0.29,"symbol":"AVAXUSD","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Crypto/AVAXUSD.png?v=1718693338"}],"icon":"icon-crypto"},"MostPopular":{"categoryName":"Más populares","instruments":[{"instrumentId":123,"precision":3,"threshold":"2.0","name":"Gas Natural","instrumentLink":"/es-es/instruments/ng","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":2.861,"buyPrice":2.865,"changeRate":-7.41,"symbol":"NG","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Commodities/NG.png?v=1718693370"},{"instrumentId":4078,"precision":2,"threshold":"1.0","name":"Nasdaq 100","instrumentLink":"/es-es/instruments/nq","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":20537.92,"buyPrice":20539.82,"changeRate":0.2,"symbol":"NQ","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Indices/NQ.png?v=1718693360"},{"instrumentId":1065390,"precision":2,"threshold":"1.0","name":"Índice Magnificent 7","instrumentLink":"/es-es/instruments/bmagsi","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":1371.56,"buyPrice":1381.89,"changeRate":0.46,"symbol":"BMAGSI","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Indices/BMAGSI.png?v=1719827864"},{"instrumentId":1069580,"precision":2,"threshold":"40.0","name":"S&P 500 | Put 5800","instrumentLink":"/es-es/instruments/ewoct24p5800","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":9.71,"buyPrice":10.09,"changeRate":-55.0,"symbol":"EWOCT24P5800","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Indices/ES.png?v=1718693355"},{"instrumentId":3406,"precision":2,"threshold":"5.0","name":"Bitcoin","instrumentLink":"/es-es/instruments/btcusd","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":69003.31,"buyPrice":69210.63,"changeRate":1.72,"symbol":"BTCUSD","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Crypto/BTCUSD.png?v=1718693340"},{"instrumentId":1069598,"precision":2,"threshold":"40.0","name":"Nasdaq 100 | Put 20300","instrumentLink":"/es-es/instruments/nqoct24p20300","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":72.59,"buyPrice":74.17,"changeRate":-38.21,"symbol":"NQOCT24P20300","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Indices/NQ.png?v=1718693360"},{"instrumentId":431,"precision":2,"threshold":"2.0","name":"Petróleo Brent","instrumentLink":"/es-es/instruments/eb","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":71.24,"buyPrice":71.28,"changeRate":-5.78,"symbol":"EB","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Commodities/EB_border.png?v=1718693363"},{"instrumentId":18,"precision":2,"threshold":"1.0","name":"S&P 500","instrumentLink":"/es-es/instruments/es","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":5869.02,"buyPrice":5869.72,"changeRate":0.4,"symbol":"ES","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Indices/ES.png?v=1718693355"}],"icon":"icon-flame"},"Stocks":{"categoryName":"Acciones","instruments":[{"instrumentId":5069,"precision":2,"threshold":"4.0","name":"Trump Media & Technology Group","instrumentLink":"/es-es/instruments/djt","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":45.39,"buyPrice":45.73,"changeRate":16.97,"symbol":"DJT","instrumentIconImage":""},{"instrumentId":1695,"precision":2,"threshold":"4.0","name":"Capri Holdings","instrumentLink":"/es-es/instruments/cpri","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":21.07,"buyPrice":21.23,"changeRate":-0.52,"symbol":"CPRI","instrumentIconImage":""},{"instrumentId":4603,"precision":2,"threshold":"4.0","name":"Nikola Corporation","instrumentLink":"/es-es/instruments/nkla","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":5.25,"buyPrice":5.29,"changeRate":19.23,"symbol":"NKLA","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Stocks/NKLA.png?v=1723708813"},{"instrumentId":3848,"precision":2,"threshold":"4.0","name":"Canopy Growth","instrumentLink":"/es-es/instruments/cgc","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":5.37,"buyPrice":5.42,"changeRate":-0.83,"symbol":"CGC","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Stocks/CGC.png?v=1723708659"},{"instrumentId":3909,"precision":2,"threshold":"4.0","name":"NIO","instrumentLink":"/es-es/instruments/nio","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":5.81,"buyPrice":5.87,"changeRate":11.13,"symbol":"NIO","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Stocks/NIO_border.png?v=1723708812"},{"instrumentId":5022,"precision":2,"threshold":"4.0","name":"MicroStrategy","instrumentLink":"/es-es/instruments/mstr","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":252.49,"buyPrice":255.03,"changeRate":8.29,"symbol":"MSTR","instrumentIconImage":""},{"instrumentId":2033,"precision":2,"threshold":"4.0","name":"Tesla","instrumentLink":"/es-es/instruments/tsla","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":266.35,"buyPrice":268.36,"changeRate":-0.68,"symbol":"TSLA","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Stocks/TSLA.png?v=1723708919"},{"instrumentId":560,"precision":2,"threshold":"4.0","name":"McDonald's","instrumentLink":"/es-es/instruments/mcd","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":296.89,"buyPrice":298.38,"changeRate":1.76,"symbol":"MCD","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Stocks/MCD.png?v=1723708789"}],"icon":"icon-stocks"},"Commodities":{"categoryName":"Materias primas","instruments":[{"instrumentId":123,"precision":3,"threshold":"2.0","name":"Gas Natural","instrumentLink":"/es-es/instruments/ng","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":2.861,"buyPrice":2.865,"changeRate":-7.41,"symbol":"NG","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Commodities/NG.png?v=1718693370"},{"instrumentId":10,"precision":2,"threshold":"2.0","name":"Petróleo","instrumentLink":"/es-es/instruments/cl","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":67.60,"buyPrice":67.64,"changeRate":-5.8,"symbol":"CL","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Commodities/CL_border.png?v=1718693369"},{"instrumentId":430,"precision":4,"threshold":"2.0","name":"Gasóleo de Calefacción","instrumentLink":"/es-es/instruments/ho","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":2.1456,"buyPrice":2.1462,"changeRate":-4.59,"symbol":"HO","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Commodities/HO_border.png?v=1718693368"},{"instrumentId":431,"precision":2,"threshold":"2.0","name":"Petróleo Brent","instrumentLink":"/es-es/instruments/eb","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":71.24,"buyPrice":71.28,"changeRate":-5.78,"symbol":"EB","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Commodities/EB_border.png?v=1718693363"},{"instrumentId":12,"precision":3,"threshold":"2.0","name":"Plata","instrumentLink":"/es-es/instruments/xag","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":33.600,"buyPrice":33.628,"changeRate":-0.31,"symbol":"XAG","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Commodities/XAG.png?v=1718693367"},{"instrumentId":11,"precision":2,"threshold":"2.0","name":"Oro","instrumentLink":"/es-es/instruments/xau","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":2740.75,"buyPrice":2741.20,"changeRate":-0.24,"symbol":"XAU","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Commodities/XAU.png?v=1720339249"},{"instrumentId":1062021,"precision":2,"threshold":"2.0","name":"Aluminio","instrumentLink":"/es-es/instruments/ali","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":2626.28,"buyPrice":2630.22,"changeRate":-1.13,"symbol":"ALI","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Commodities/ALI.png?v=1718693365"},{"instrumentId":1461,"precision":2,"threshold":"2.0","name":"Paladio","instrumentLink":"/es-es/instruments/pa","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":1219.50,"buyPrice":1225.50,"changeRate":1.65,"symbol":"PA","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Commodities/PA.png?v=1718693368"}],"icon":"icon-commodities"},"Indices":{"categoryName":"Índices","instruments":[{"instrumentId":18,"precision":2,"threshold":"1.0","name":"S&P 500","instrumentLink":"/es-es/instruments/es","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":5869.02,"buyPrice":5869.72,"changeRate":0.4,"symbol":"ES","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Indices/ES.png?v=1718693355"},{"instrumentId":4078,"precision":2,"threshold":"1.0","name":"Nasdaq 100","instrumentLink":"/es-es/instruments/nq","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":20537.92,"buyPrice":20539.82,"changeRate":0.2,"symbol":"NQ","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Indices/NQ.png?v=1718693360"},{"instrumentId":3464,"precision":2,"threshold":"1.0","name":"EE.UU. 2000","instrumentLink":"/es-es/instruments/rty","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":2256.20,"buyPrice":2256.90,"changeRate":1.58,"symbol":"RTY","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Indices/RTY.png?v=1718693357"},{"instrumentId":3468,"precision":2,"threshold":"1.0","name":"Índice de Volatilidad VIX","instrumentLink":"/es-es/instruments/vix","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":18.51,"buyPrice":18.74,"changeRate":-6.39,"symbol":"VIX","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Indices/VIX.png?v=1718693345"},{"instrumentId":3899,"precision":0,"threshold":"1.0","name":"Hong Kong 50‏","instrumentLink":"/es-es/instruments/hsi","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":20733.0,"buyPrice":20740.0,"changeRate":0.67,"symbol":"HSI","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Indices/HSI.png?v=1718693357"},{"instrumentId":3017,"precision":2,"threshold":"1.0","name":"Alemania 40","instrumentLink":"/es-es/instruments/fdax","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":19647.52,"buyPrice":19649.49,"changeRate":0.51,"symbol":"FDAX","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Indices/FDAX.png?v=1718693346"},{"instrumentId":95,"precision":0,"threshold":"1.0","name":"Japón 225","instrumentLink":"/es-es/instruments/niy","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":38616.0,"buyPrice":38628.0,"changeRate":1.38,"symbol":"NIY","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Indices/NIY_border.png?v=1718693347"},{"instrumentId":85,"precision":0,"threshold":"1.0","name":"EE.UU. 30","instrumentLink":"/es-es/instruments/ym","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":42640.0,"buyPrice":42644.0,"changeRate":0.76,"symbol":"YM","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Indices/YM.png?v=1718693361"}],"icon":"icon-indices"},"Forex":{"categoryName":"Divisas","instruments":[{"instrumentId":2,"precision":5,"threshold":"0.5","name":"EUR/USD","instrumentLink":"/es-es/instruments/eurusd","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":1.08105,"buyPrice":1.08117,"changeRate":0.14,"symbol":"EURUSD","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Forex/EURUSD.png?v=1718693396"},{"instrumentId":5,"precision":5,"threshold":"0.5","name":"EUR/GBP","instrumentLink":"/es-es/instruments/eurgbp","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":0.83342,"buyPrice":0.83357,"changeRate":0.07,"symbol":"EURGBP","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Forex/EURGBP.png?v=1718693394"},{"instrumentId":177,"precision":5,"threshold":"0.5","name":"EUR/AUD","instrumentLink":"/es-es/instruments/euraud","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":1.64254,"buyPrice":1.64292,"changeRate":0.48,"symbol":"EURAUD","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Forex/EURAUD.png?v=1718693376"},{"instrumentId":376,"precision":5,"threshold":"0.5","name":"EUR/NZD","instrumentLink":"/es-es/instruments/eurnzd","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":1.80874,"buyPrice":1.80936,"changeRate":0.16,"symbol":"EURNZD","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Forex/EURNZD.png?v=1718693378"},{"instrumentId":72,"precision":4,"threshold":"0.5","name":"EUR/CAD","instrumentLink":"/es-es/instruments/eurcad","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":1.5018,"buyPrice":1.5023,"changeRate":0.15,"symbol":"EURCAD","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Forex/EURCAD.png?v=1718693377"},{"instrumentId":100,"precision":4,"threshold":"0.5","name":"EUR/CHF","instrumentLink":"/es-es/instruments/eurchf","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":0.9355,"buyPrice":0.9358,"changeRate":-0.02,"symbol":"EURCHF","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Forex/EURCHF.png?v=1718693386"},{"instrumentId":4,"precision":5,"threshold":"0.5","name":"GBP/USD","instrumentLink":"/es-es/instruments/gbpusd","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":1.29700,"buyPrice":1.29717,"changeRate":0.07,"symbol":"GBPUSD","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Forex/GBPUSD.png?v=1718693375"},{"instrumentId":39,"precision":5,"threshold":"0.5","name":"AUD/USD","instrumentLink":"/es-es/instruments/audusd","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":0.65805,"buyPrice":0.65816,"changeRate":-0.35,"symbol":"AUDUSD","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Forex/AUDUSD.png?v=1718693375"}],"icon":"icon-forex"},"Options":{"categoryName":"Opciones","instruments":[{"instrumentId":1070393,"precision":4,"threshold":"40.0","name":"Gas Natural | Put 2.95","instrumentLink":"/es-es/instruments/ngdec24p2.95","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":0.2529,"buyPrice":0.2591,"changeRate":52.47,"symbol":"NGDEC24P2.95","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Commodities/NG.png?v=1718693370"},{"instrumentId":1069580,"precision":2,"threshold":"40.0","name":"S&P 500 | Put 5800","instrumentLink":"/es-es/instruments/ewoct24p5800","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":9.71,"buyPrice":10.09,"changeRate":-55.0,"symbol":"EWOCT24P5800","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Indices/ES.png?v=1718693355"},{"instrumentId":1069596,"precision":2,"threshold":"40.0","name":"Nasdaq 100 | Put 20200","instrumentLink":"/es-es/instruments/nqoct24p20200","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":50.82,"buyPrice":52.18,"changeRate":-44.17,"symbol":"NQOCT24P20200","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Indices/NQ.png?v=1718693360"},{"instrumentId":1070221,"precision":2,"threshold":"40.0","name":"NVIDIA | Call 143","instrumentLink":"/es-es/instruments/nvidianov24c143","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":5.22,"buyPrice":5.33,"changeRate":-11.05,"symbol":"NVIDIANOV24C143","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Stocks/NVDA.png?v=1723708817"},{"instrumentId":1069866,"precision":2,"threshold":"40.0","name":"VIX | Put 16","instrumentLink":"/es-es/instruments/vixnov24p16","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":0.56,"buyPrice":0.61,"changeRate":32.95,"symbol":"VIXNOV24P16","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Indices/VIX.png?v=1718693345"},{"instrumentId":1070114,"precision":2,"threshold":"40.0","name":"ARM | Call 160","instrumentLink":"/es-es/instruments/armnov24c160","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":7.70,"buyPrice":8.00,"changeRate":38.94,"symbol":"ARMNOV24C160","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Stocks/ARM.png?v=1723708613"},{"instrumentId":1069733,"precision":5,"threshold":"40.0","name":"EUR/USD | Call 1.1","instrumentLink":"/es-es/instruments/eurusdnov24c1.1","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":0.00195,"buyPrice":0.00225,"changeRate":16.67,"symbol":"EURUSDNOV24C1.1","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Forex/EURUSD.png?v=1718693396"},{"instrumentId":1070094,"precision":2,"threshold":"40.0","name":"NIO | Call 6","instrumentLink":"/es-es/instruments/nionov24c6","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":0.37,"buyPrice":0.39,"changeRate":137.5,"symbol":"NIONOV24C6","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Stocks/NIO_border.png?v=1723708812"}],"icon":"icon-options"},"ETFs":{"categoryName":"ETF","instruments":[{"instrumentId":145,"precision":2,"threshold":"3.0","name":"USO-Oil Fund","instrumentLink":"/es-es/instruments/uso","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":69.99,"buyPrice":70.15,"changeRate":-5.6,"symbol":"USO","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/ETF/USO_border.png?v=1718693546"},{"instrumentId":148,"precision":2,"threshold":"3.0","name":"UNG-Gas Fund","instrumentLink":"/es-es/instruments/ung","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":13.32,"buyPrice":13.52,"changeRate":-7.13,"symbol":"UNG","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/ETF/UNG_border.png?v=1718693509"},{"instrumentId":144,"precision":2,"threshold":"3.0","name":"GLD Gold","instrumentLink":"/es-es/instruments/gld","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":253.09,"buyPrice":253.24,"changeRate":-0.06,"symbol":"GLD","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/ETF/GLD.png?v=1718693536"},{"instrumentId":403,"precision":2,"threshold":"3.0","name":"iShares Silver","instrumentLink":"/es-es/instruments/slv","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":30.63,"buyPrice":30.67,"changeRate":0.07,"symbol":"SLV","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/ETF/SLV.png?v=1718693512"},{"instrumentId":1349,"precision":2,"threshold":"3.0","name":"Commodity Index Fund","instrumentLink":"/es-es/instruments/dbc","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":22.12,"buyPrice":22.18,"changeRate":-2.89,"symbol":"DBC","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/ETF/DBC.png?v=1718693509"},{"instrumentId":150,"precision":2,"threshold":"3.0","name":"OIH-Oil Service","instrumentLink":"/es-es/instruments/oih","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":274.72,"buyPrice":275.82,"changeRate":-1.26,"symbol":"OIH","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/ETF/OIH_border.png?v=1718693519"},{"instrumentId":3519,"precision":2,"threshold":"3.0","name":"Global X Lithium & Battery Tech","instrumentLink":"/es-es/instruments/lit","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":44.43,"buyPrice":44.56,"changeRate":1.7,"symbol":"LIT","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/ETF/LIT.png?v=1718693535"},{"instrumentId":4202,"precision":2,"threshold":"3.0","name":"NUGT","instrumentLink":"/es-es/instruments/nugt","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":52.80,"buyPrice":53.05,"changeRate":-1.33,"symbol":"NUGT","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/ETF/NUGT.png?v=1718693509"}],"icon":"icon-etfs"},"RisersAndFallers":{"categoryName":"En alza y en baja","instruments":[{"instrumentId":1070283,"precision":2,"threshold":"40.0","name":"NIO | Call 5.5","instrumentLink":"/es-es/instruments/nionov24c5.5","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":0.61,"buyPrice":0.63,"changeRate":113.79,"symbol":"NIONOV24C5.5","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Stocks/NIO_border.png?v=1723708812"},{"instrumentId":4603,"precision":2,"threshold":"4.0","name":"Nikola Corporation","instrumentLink":"/es-es/instruments/nkla","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":5.25,"buyPrice":5.29,"changeRate":19.23,"symbol":"NKLA","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Stocks/NKLA.png?v=1723708813"},{"instrumentId":4668,"precision":2,"threshold":"4.0","name":"Jinko Solar","instrumentLink":"/es-es/instruments/jks","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":27.44,"buyPrice":27.72,"changeRate":17.26,"symbol":"JKS","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Stocks/JKS.png?v=1723708761"},{"instrumentId":5069,"precision":2,"threshold":"4.0","name":"Trump Media & Technology Group","instrumentLink":"/es-es/instruments/djt","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":45.39,"buyPrice":45.73,"changeRate":16.97,"symbol":"DJT","instrumentIconImage":""},{"instrumentId":1069871,"precision":2,"threshold":"40.0","name":"Petróleo | Call 73.5","instrumentLink":"/es-es/instruments/cldec24c73.5","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":0.55,"buyPrice":0.59,"changeRate":-76.05,"symbol":"CLDEC24C73.5","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Commodities/CL_border.png?v=1718693369"},{"instrumentId":123,"precision":3,"threshold":"2.0","name":"Gas Natural","instrumentLink":"/es-es/instruments/ng","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":2.861,"buyPrice":2.865,"changeRate":-7.41,"symbol":"NG","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Commodities/NG.png?v=1718693370"},{"instrumentId":3468,"precision":2,"threshold":"1.0","name":"Índice de Volatilidad VIX","instrumentLink":"/es-es/instruments/vix","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":18.51,"buyPrice":18.74,"changeRate":-6.39,"symbol":"VIX","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Indices/VIX.png?v=1718693345"},{"instrumentId":10,"precision":2,"threshold":"2.0","name":"Petróleo","instrumentLink":"/es-es/instruments/cl","isDelayedInstrument":false,"tradingLink":"https://app.plus500.com/trade?hl=es&innerTags=_cc_&product=CFD&ms=True","sellPrice":67.60,"buyPrice":67.64,"changeRate":-5.8,"symbol":"CL","instrumentIconImage":"https://cdn.plus500.com/Media/Apps/cfd_invest/Commodities/CL_border.png?v=1718693369"}],"icon":"icon-risers-fallers"}};
    const feedsWidgetOptions = {
        rootElement: '#feedTable',
        initialData: feedsInitialData,
        apiUrl: '/es-es/api/LiveData/FeedsUpdates',
        priceDownClass: 'red',
        priceUpClass: 'green',
        percentUpClass: 'inst-up',
        percentDownClass: 'inst-down',
        thresholdClass: "highlight-threshold",
        updateInterval: 3000,
        percentPrecision: 2
    }
    let feedsApp;

    const observer = new window.IntersectionObserver(function (entries){
        const entry = entries[0]
        if (entry.isIntersecting){
            loadJS("https://cdn-main.plus500.com/1.0.0.120605/Resources/Scripts/vue.min.js", document.body, function () {
                loadJS("https://cdn-main.plus500.com/1.0.0.120605/Resources/Scripts/feedsApp.min.js", document.body, function () {
                    feedsApp = initFeedsApp(feedsWidgetOptions) 
                }, true);    
            }, true)
            observer.unobserve(entry.target);
        }
    }, {threshold: 0.05, rootMargin: '20%'});
    observer.observe(document.querySelector(feedsWidgetOptions.rootElement));
</script>

                </div>
            </div>
        </div>
    </div>
</section>    <section class="general-section gs-anim-target" data-section-name="trustpilot">
        <figure aria-hidden="true" class="plus-bg plus-bg-large blue-gr" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
        <section class="trustpilot trustpilot-section gs-anim-target-phone">
    <div class="container-lg trustpilot-wrap">
        <div class="row justify-content-center">
            <figure aria-hidden="true" class="plus-bg plus-bg-small blue-gr" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
            <figure aria-hidden="true" class="plus-bg plus-bg-large transparent" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
            <div class="lazyload trustpilot-bg gs-trustpilot-bg text-center">
                <div class="trustpilot-widget">
    <div class="trustpilot-logo">
        <svg loading="lazy" xmlns="http://www.w3.org/2000/svg" width="29" height="29" viewBox="0 0 29 29" fill="none">
            <path d="M28.8295 11.2024H17.852L14.4613 0.70874L11.06 11.2024L0.0825195 11.1917L8.97257 17.6837L5.57125 28.1667L14.4613 21.6854L23.3408 28.1667L19.95 17.6837L28.8295 11.2024Z" fill="#00B67A"></path>
            <path d="M20.7131 20.0572L19.9502 17.6839L14.4614 21.6855L20.7131 20.0572Z" fill="#005128"></path>
        </svg>
        <strong>Trustpilot</strong>
    </div>
    <div class="score-container">
        <div class="reviews">
            <p class="title"><span>Comentarios</span><span class="amount">+12K</span></p>
            <div class="trust-score">
                <figure aria-hidden="true" class="item-icon">
                    <img loading="lazy" alt="" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/icons/trustpilot-stars.svg#great">
                </figure>
            </div>
            <div class="quality">Bueno</div>
        </div>
        <div class="score">
            <span>4,1</span>
        </div>
    </div>
</div>
            </div>
        </div>
    </div>
</section>
    </section>
<section class="trade trade-section gs-anim-target" data-section-name="trade-trust">
    <figure aria-hidden="true" class="plus-bg plus-bg-small not-tablet" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
    <figure aria-hidden="true" class="plus-bg plus-bg-small small-only" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
    <figure aria-hidden="true" class="plus-bg plus-bg-medium" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
    <div class="container-xl">
        <div class="row align-middle justify-content-center">
            <div class="col-sm-12 col-md-8 col-lg-6 trade-title-bg">
                <h2 class="trade-title"><strong>Únete a más de 26 millones</strong> de personas de todo el mundo que ya han elegido el Grupo Plus500</h2>
                <figure aria-hidden="true" class="plus-bg plus-bg-xlarge transparent gs-not-animation"></figure>
            </div>
            <div class="col-sm-12 col-lg-10">
                <div class="trade-data">
                    <aside class="trade-sub-title">Desde su creación</aside>
                    <div class="trade-items row align-center align-middle">
                        <div class="col col-md-6 trade-item">
                            <div class="item-anim-list">
                                <div class="item-anim item-anim1" style="transform: translate(0px, 0px); opacity: 1;">
                                    <span><strong>2800*</strong>
</span>
                                    Instrumentos
                                </div>
                                <div class="item-anim item-anim2" style="transform: translate(-50px, 0px); opacity: 0;">
                                    <span><strong>2800*</strong>
</span>
                                    Instrumentos
                                </div>
                                <div class="item-anim item-anim3" style="transform: translate(50px, 0px); opacity: 0;">
                                    <span><strong>25+</strong> millones</span>
                                    Clientes registrados
                                </div>
                            </div>
                        </div>
                        <div class="col col-md-6 trade-item">
                            <div class="item-anim-list">
                                <div class="item-anim item-anim4" style="transform: translate(0px, 0px); opacity: 1;">
                                        <span><strong>300+</strong> millones</span>
                                        Posiciones abiertas
                                </div>
                                <div class="item-anim item-anim5" style="transform: translate(50px, 0px); opacity: 0;">
                                        <span><strong>50+</strong></span>
                                        Países
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="disclaimer-note">* La disponibilidad de los instrumentos está sujeta a la jurisdicción.</div>
            </div>
        </div>
    </div>
</section>
 
<section class="simplify">
    <div class="container-xxl">
        <h2 class="title-section"><strong>Simplifica</strong> tu negociación con acciones</h2>
        <h3>gracias a nuestra plataforma intuitiva y de confianza</h3>
        <div class="row">
            <div class="col">
                <div class="orbit" role="region" aria-label="Características de la plataforma de Plus500">
                    <div class="orbit-container slick-initialized slick-slider slick-dotted" dir="ltr">
                        <div class="slick-list draggable"><div class="slick-track" style="opacity: 1; width: 3510px;"><div class="orbit-slide slick-slide slick-current slick-active" data-slick-index="0" aria-hidden="false" style="width: 702px; position: relative; left: 0px; top: 0px; z-index: 999; opacity: 1;" tabindex="0" role="tabpanel" id="slick-slide00" aria-describedby="slick-slide-control00">
                            <figure>
                                <div>
                                    <img width="745" height="430" loading="lazy" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/invest-hp-slider-free-drawing-tools.webp" alt="" class="orbit-image">
                                </div>
                                <figcaption><p>Define tu estrategia GRATIS con nuestros gráficos analíticos integrados y herramientas de diseño.</p></figcaption>
                            </figure>
                        </div><div class="orbit-slide slick-slide" data-slick-index="1" aria-hidden="true" style="width: 702px; position: relative; left: -702px; top: 0px; z-index: 998; opacity: 0;" tabindex="-1" role="tabpanel" id="slick-slide01" aria-describedby="slick-slide-control01">
                            <figure>
                                <div>
                                    <img width="745" height="430" loading="lazy" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/invest-hp-slider-free-notifications.webp" alt="" class="orbit-image">
                                </div>
                                <figcaption><div class="risk-management-tools">
<p>Recibe correos electrónicos, SMS y notificaciones push GRATIS sobre los eventos en tu portafolio:</p>
<ul class="bullet-plus">
<li>Actualización de órdenes</li>
<li>Acciones de empresa</li>
<li>Anuncios</li> 
</ul>
</div></figcaption>
                            </figure>
                        </div><div class="orbit-slide slick-slide" data-slick-index="2" aria-hidden="true" style="width: 702px; position: relative; left: -1404px; top: 0px; z-index: 998; opacity: 0;" tabindex="-1" role="tabpanel" id="slick-slide02" aria-describedby="slick-slide-control02">
                            <figure>
                                <div>
                                    <img width="745" height="430" loading="lazy" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/invest-hp-slider-advanced-tools.webp" alt="" class="orbit-image">
                                </div>
                                <figcaption><div class="risk-management-tools">
<p>Realiza tus operaciones mediante nuestros distintos tipos de órdenes de acciones:</p>
<ul class="bullet-plus">
<li>De mercado</li>
<li>De tope</li>
<li>De límite</li> 
</ul>
</div></figcaption>
                            </figure>
                        </div><div class="orbit-slide slick-slide" data-slick-index="3" aria-hidden="true" style="width: 702px; position: relative; left: -2106px; top: 0px; z-index: 998; opacity: 0;" tabindex="-1" role="tabpanel" id="slick-slide03" aria-describedby="slick-slide-control03">
                            <figure>
                                <div>
                                    <img width="745" height="430" loading="lazy" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/invest-hp-slider-darkmode.webp" alt="" class="orbit-image">
                                </div>
                                <figcaption><p>Explora nuestro modo noche y elige la experiencia visual óptima para ti.</p></figcaption>
                            </figure>
                        </div><div class="orbit-slide slick-slide" data-slick-index="4" aria-hidden="true" style="width: 702px; position: relative; left: -2808px; top: 0px; z-index: 998; opacity: 0;" tabindex="-1" role="tabpanel" id="slick-slide04" aria-describedby="slick-slide-control04">
                            <figure>
                                <div>
                                    <img width="745" height="430" loading="lazy" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/invest-hp-slider-market-data.webp" alt="" class="orbit-image">
                                </div>
                                <figcaption><p>Recibe cotizaciones y datos de mercado para poder tomar decisiones informadas.</p></figcaption>
                            </figure>
                        </div></div></div>
                        
                        
                        
                        
                    </div>
                </div>
            </div>
        </div>
        <div class="dots-wrapper"><ul class="slick-dots" role="tablist" style=""><li class="slick-active" role="presentation"><button type="button" role="tab" id="slick-slide-control00" aria-controls="slick-slide00" aria-label="1 of 5" tabindex="0" aria-selected="true">1</button></li><li role="presentation"><button type="button" role="tab" id="slick-slide-control01" aria-controls="slick-slide01" aria-label="2 of 5" tabindex="-1">2</button></li><li role="presentation"><button type="button" role="tab" id="slick-slide-control02" aria-controls="slick-slide02" aria-label="3 of 5" tabindex="-1">3</button></li><li role="presentation"><button type="button" role="tab" id="slick-slide-control03" aria-controls="slick-slide03" aria-label="4 of 5" tabindex="-1">4</button></li><li role="presentation"><button type="button" role="tab" id="slick-slide-control04" aria-controls="slick-slide04" aria-label="5 of 5" tabindex="-1">5</button></li></ul></div>
            <div class="start-trading-buttons mt-2">
                <div class="cta-wrap">
                    <a data-analytics="buttonClick" class="button blue-gradient" data-cta-name="invest-start-trading" href="https://app.plus500.com/trade?cty=ES&amp;hl=es&amp;innerTags=_cc_&amp;product=Invest&amp;ms=True" target="_self">Empieza a invertir</a>
                    <div class="product-note rw-btn-invest">Tu capital está en riesgo</div>
                </div>
            </div>
    </div>
</section>
<section class="why-us-section-wrap">
    <section class="why-us-section general-section gs-anim-target" data-section-name="whys-us">
        <div class="container-xxl">
            <div class="row">
                <div class="col blue-card-parent">
                    <figure aria-hidden="true" class="plus-bg plus-bg-medium blue-gr" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
                    <div class="blue-card-bg shadow-card flip full-height"></div>
                    <h2 class="title-section white text-center"><strong>¿Por qué Plus500?</strong></h2>

                    <div class="row align-center items-icon-group side-icon">
                        <div class="col-lg-6 column item-box">
                            <article class="item">
                                <figure aria-hidden="true" class="item-icon" style="transform: scale(0, 0); opacity: 0;"><img loading="lazy" alt="support" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/icons/icon-secure.svg"></figure>
                                <div class="item-content">
                                    <h3 class="item-title">Protegidos y seguros</h3>
                                    <div class="item-desc">Tus datos están seguros y tus fondos se guardan en cuentas bancarias separadas, de conformidad con los requisitos reglamentarios</div>
                                </div>
                            </article>
                        </div>
                        <div class="col-lg-6 column item-box">
                            <article class="item">
                                <figure aria-hidden="true" class="item-icon" style="transform: scale(0, 0); opacity: 0;"><img loading="lazy" alt="regulated" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/icons/icon-support.svg"></figure>
                                <div class="item-content">
                                    <h3 class="item-title">Asistencia profesional</h3>
                                    <div class="item-desc">Servicio de atención al cliente dedicado las 24 horas del día en varios idiomas.</div>
                                </div>
                            </article>
                        </div>
                        <div class="col-lg-6 column item-box">
                            <article class="item">
                                <figure aria-hidden="true" class="item-icon" style="transform: scale(0, 0); opacity: 0;"><img loading="lazy" alt="secure" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/icons/icon-regulated.svg#cysec"></figure>
                                <div class="item-content">
                                    <h3 class="item-title">Regulada</h3>
                                    <div class="item-desc">Plus500CY Ltd está autorizada y regulada por la Comisión del Mercado de Valores de Chipre (n.º de licencia 250/14).</div>
                                </div>
                            </article>
                        </div>
                        <div class="col-lg-6 column item-box">
                            <article class="item">
                                <figure aria-hidden="true" class="item-icon" style="transform: scale(0, 0); opacity: 0;"><img loading="lazy" alt="reliable" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/icons/icon-reliable.svg#cysec"></figure>
                                <div class="item-content">
                                    <h3 class="item-title">Fiable</h3>
                                    <div class="item-desc">Plus500 Ltd es una empresa del FTSE 250 que cotiza en el mercado principal de compañías cotizadas de la Bolsa de Valores de Londres.</div>
                                </div>
                            </article>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
</section><section class="general-section" data-section-name="benefits-section">
    <div class="row justify-content-center">
        <div class="col col-md-8 col-lg-6">
            <div class="regulatory-list-container container-wrap">
                <ul class="regulatory-list-data">
<li>Ejecución de órdenes rápida y fiable</li>
<li>Herramientas analíticas avanzadas</li>
<li>Cotizaciones en tiempo real</li>
<li>Retiros rápidos y seguros</li> </ul>
                <div class="regulatory-buttons button-group">
                   <a data-analytics="buttonClick" target="_self" class="button blue-gradient" href="/es-es/instruments">Explora los mercados</a>
                        <a data-analytics="buttonClick" target="_self" class="button white-bg hollow" href="/es-es/newsandmarketinsights">Noticias financieras</a>
                </div>
            </div>
        </div>
    </div> 

    <div class="row disclaimer-zone">
        <div class="col">
            <div class="disclaimer disclaimer-strong">
                Este sitio web es operado por <a href="/es-es/aboutus">Plus500CY Ltd.</a>
            </div>
        </div>
    </div>
</section><section class="insights general-section gs-anim-target gs-insights-target" data-section-name="insights"> 
    <figure aria-hidden="true" class="plus-bg plus-bg-small" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
    <figure aria-hidden="true" class="plus-bg plus-bg-large" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
    <div class="container-xxl">
        <div class="row">
            <div class="col blue-card-parent">
                <figure aria-hidden="true" class="plus-bg plus-bg-medium" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
                <div class="row justify-content-between">
                    <div class="col-sm-12 col-lg-12 col-xl-7 insights-list-container">
                        <div class="lazyload blue-card-bg not-rotate"></div>
                        <div class="blue-card-content container-wrap"> 
                            <h2 class="title-section insights-title">
                                <strong>Presentación de <span>+Insights</span></strong>
                            </h2>
                            <div class="insights-list-data">
                                <div class="insights-content"><ul>
<li>Descubre un universo de datos exclusivos de trading en la palma de tu mano.</li>
<li>Aprovecha la sabiduría de las masas para potenciar tu estrategia de trading.</li>
<li>Analiza las tendencias y ve lo que hacen otros traders de Plus500.</li>
</ul></div>
                                <a class="button white-bg dark" href="/es-es/insights" data-cta-name="GoToInsightsWebpage">
                                    Ver más
                                </a>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-12 col-lg-12 col-xl-4 insights-animation-container ">
                        <figure class="insights-img-box gs-insights-target-mobile" aria-hidden="true">
                            <img class="insights-img insights-img1 gs-insights-img1" loading="lazy" alt="" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/img/insights/instrument-screen2-es.png">
                            <img class="insights-img insights-img2 gs-insights-img2" loading="lazy" alt="" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/img/insights/instrument-screen1-es.png" style="transform-origin: 50% 100%; transform: scale(0, 0);"> 
                        </figure>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<section class="seo-carousel-section general-section" data-section-name="seo-carousel">
    <div class="seo-slider-wrapper">
        <div id="seoSlider" class="slick-slider seo-slider" dir="ltr">
                <div>
                    <div class="slide-wrapper">
                        <div class="slide-inner-wrapper">
                            <div class="slide-content">
                                <h3 class="title">Gana exposición al mercado de las criptomonedas</h3>
                                <div class="free-content">
                                    <p>Aprende a comprar o vender criptomonedas como Bitcoin, Ethereum y Litecoin entre otras, sin la necesidad de tener una cuenta de cambio ni un monedero especial.</p>
                                </div>
                                <div class="cta-wrapper">
                                    <a data-analytics="buttonClick" href="/es-es/trading/cryptocurrencies" class="button blue-gradient">Explora el trading de criptomonedas</a>
                                </div>
                            </div>
                            <div class="slide-image-placeholder">
                                <div class="image-background lazyload" data-bg="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/img/seo-carousel/trade-crypto.webp"></div>
                            </div>
                        </div>
                    </div>
                </div>
                <div>
                    <div class="slide-wrapper">
                        <div class="slide-inner-wrapper">
                            <div class="slide-content">
                                <h3 class="title">Sumérgete en las acciones OTC</h3>
                                <div class="free-content">
                                    <p>Consulta cómo hacer trading OTC con las acciones de algunas de las empresas más populares como, por ejemplo, Apple, Amazon, Tesla y otras acciones líderes a nivel mundial, con nuestra innovadora plataforma de trading.</p>
                                </div>
                                <div class="cta-wrapper">
                                    <a data-analytics="buttonClick" href="/es-es/trading/stocks" class="button blue-gradient">Explora el trading de acciones</a>
                                </div>
                            </div>
                            <div class="slide-image-placeholder">
                                <div class="image-background lazyload" data-bg="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/img/seo-carousel/popular-shares.webp"></div>
                            </div>
                        </div>
                    </div>
                </div>
                <div>
                    <div class="slide-wrapper">
                        <div class="slide-inner-wrapper">
                            <div class="slide-content">
                                <h3 class="title">Accede a las materias primas más importantes</h3>
                                <div class="free-content">
                                    <p>Descubre cómo comprar o vender materias primas como petróleo, oro y plata entre otras.</p>
                                </div>
                                <div class="cta-wrapper">
                                    <a data-analytics="buttonClick" href="/es-es/trading/commodities" class="button blue-gradient">Explora el trading de materias primas</a>
                                </div>
                            </div>
                            <div class="slide-image-placeholder">
                                <div class="image-background lazyload" data-bg="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/img/seo-carousel/commodities.webp"></div>
                            </div>
                        </div>
                    </div>
                </div>
                <div>
                    <div class="slide-wrapper">
                        <div class="slide-inner-wrapper">
                            <div class="slide-content">
                                <h3 class="title">Sigue tus pares de forex favoritos</h3>
                                <div class="free-content">
                                    <p>Aproveche las oscilaciones de los precios de forex y siga algunos de los pares más populares como el EUR/USD, GBP/USD y EUR/GBP entre otros, utilizando nuestro calendario económico para mantenerse al día de los acontecimientos mundiales.</p>
                                </div>
                                <div class="cta-wrapper">
                                    <a data-analytics="buttonClick" href="/es-es/trading/forex" class="button blue-gradient">Explora el mercado de divisas</a>
                                </div>
                            </div>
                            <div class="slide-image-placeholder">
                                <div class="image-background lazyload" data-bg="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/img/seo-carousel/forex-pairs.webp"></div>
                            </div>
                        </div>
                    </div>
                </div>
                <div>
                    <div class="slide-wrapper">
                        <div class="slide-inner-wrapper">
                            <div class="slide-content">
                                <h3 class="title">Descubre el trading de índices bursátiles</h3>
                                <div class="free-content">
                                    <p>Aprende a comprar o vender índices mundiales como S&amp;P 500 (ES), NASDAQ 100 (NQ), FTSE 100 (UK100) y otros índices populares utilizando nuestras cotizaciones gratuitas en tiempo real.</p>
                                </div>
                                <div class="cta-wrapper">
                                    <a data-analytics="buttonClick" href="/es-es/trading/indices" class="button blue-gradient">Explora los índices bursátiles del mercado</a>
                                </div>
                            </div>
                            <div class="slide-image-placeholder">
                                <div class="image-background lazyload" data-bg="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/img/seo-carousel/around-the-globe.webp"></div>
                            </div>
                        </div>
                    </div>
                </div>
                <div>
                    <div class="slide-wrapper">
                        <div class="slide-inner-wrapper">
                            <div class="slide-content">
                                <h3 class="title">Invertir en acciones</h3>
                                <div class="free-content">
                                    <p>Compra y vende acciones y accede a algunas de las empresas líderes del mercado con nuestra avanzada plataforma Plus500 Invest.</p>
                                </div>
                                <div class="cta-wrapper">
                                    <a data-analytics="buttonClick" href="/es-es/invest" class="button blue-gradient">Invierte en acciones</a>
                                </div>
                            </div>
                            <div class="slide-image-placeholder">
                                <div class="image-background lazyload" data-bg="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/img/seo-carousel/invest-popular-shares.webp"></div>
                            </div>
                        </div>
                    </div>
                </div>
        </div>
    </div>
</section>
<section class="trading trading-section gs-anim-target" data-section-name="trade-smarter">
    <figure aria-hidden="true" class="plus-bg plus-bg-large blue-turquoise-gr" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
    <figure aria-hidden="true" class="plus-bg plus-bg-medium turquoise-white-gr" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
    <figure aria-hidden="true" class="plus-bg plus-bg-small turquoise-white-gr" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure> 
    <div class="container-xxl">
        <div class="row">
            <div class="col">
                <h2 class="title-section white">Opera de una forma <strong>más inteligente</strong></h2>
            </div>
        </div>
        <div class="row align-center items-icon-group">
            <div class="col-sm-12 col-md-6 col-lg-4 item-box">
                <article class="item" target="_self">
                    <figure aria-hidden="true" class="item-icon" style="transform: scale(0, 0); opacity: 0;"><img loading="lazy" alt="support" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/svg/icon-risk.svg"></figure>
                    <div class="item-content">
                        <h3 class="item-title">Desarrolle su estrategia</h3>
                        <div class="item-desc">Inicie sesión en su cuenta para explorar nuestra plataforma de trading intuitiva, y para desarrollar y perfeccionar sus habilidades y estrategias de trading.</div>
                    </div>
                    <a data-analytics="CTA_demo" class="trading-button button white-bg dark small-btn" href="https://app.plus500.com/trade?hl=es&amp;innerTags=_cc_&amp;product=CFD&amp;IsRealMode=False&amp;ms=True" target="_self" data-cta-name="cfd-demo-start-trading">Iniciar sesión ahora</a>
                </article>
            </div>
            <div class="col-sm-12 col-md-6 col-lg-4 item-box">
                <article class="item" target="_self">
                    <figure aria-hidden="true" class="item-icon" style="transform: scale(0, 0); opacity: 0;"><img loading="lazy" alt="regulated" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/svg/icon-knowledge-no-cfd.svg"></figure>
                    <div class="item-content">
                        <h3 class="item-title">Amplía tus conocimientos</h3>
                        <div class="item-desc">Aprenda a hacer trading con Plus500 utilizando nuestro completo material educativo.</div>
                    </div>
                    <a data-analytics="buttonClick" class="trading-button button white-bg dark small-btn" href="/es-es/tradingacademy" target="_self" data-cta-name="trading-academy">Accede a la Academia de Trading</a>
                </article> 
            </div>
            <div class="col-sm-12 col-md-6 col-lg-4 item-box">
                <aricle class="item" target="_self">
                    <figure aria-hidden="true" class="item-icon" style="transform: scale(0, 0); opacity: 0;"><img loading="lazy" alt="regulated" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/svg/icon-strategy.svg"></figure>
                    <div class="item-content">
                        <h3 class="item-title">Gestiona tu riesgo</h3>
                        <div class="item-desc">Utiliza nuestras herramientas avanzadas de gestión de los riesgos para limitar tus pérdidas y asegurar tus ganancias.</div>
                    </div>
                    <a data-analytics="buttonClick" class="trading-button button white-bg dark small-btn" href="/es-es/help/riskmanagement" target="_self" data-cta-name="risk-management">Más información</a>
                </aricle> 
            </div>
        </div>
    </div>
    <div class="trading-img">
        <figure aria-hidden="true" class="plus-bg plus-bg-medium blue-gr" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
        <figure aria-hidden="true" class="plus-bg plus-bg-small blue-turquoise-gr" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
        <picture class="trading-img-box gs-trading-img-box" style="transform: translate(100%, 0%); opacity: 0;">
            <source srcset="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/img/ipad-trans.webp" type="image/webp">
            <img loading="lazy" alt="" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/img/ipad-trans.png">
        </picture> 
    </div>
</section>
<section class="sponsorships-section" data-section-name="sponsorships">
    <div class="container-xxl">
        <header class="row justify-content-center text-center sponsorships-header">
                <h3 class="title-section"><strong>Patrocinamos</strong></h3>
        </header>
        <div class="row">
            <div class="column col">
                <div class="sponsorships-wrapper" data-featured-sponsorship="bulls">
                        <div class="row sponsorships-main-row">
                            <div data-index="2" style="z-index:2" class="sponsorships-item sponsorships-item-legia">
                                <a data-analytics="buttonClick" href="/es-es/promotions/legiawarsaw" class="sponsorships-item-link">
                                    <div class="sponsorships-item-image" data-cta-name="legia-players">
                                        <img loading="lazy" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/img/legia-formation.webp" alt="" class="">
                                    </div>
                                    <div class="sponsorships-item-logo sponsorships-item-logo-legia" data-cta-name="legia-badge">
                                        <div class="sponsorships-item-logo-image">
                                            <img width="80" class="sponsorship-logo-back" loading="lazy" data-src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/svg/sponsorship-logo-legia-back.svg" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/svg/sponsorship-logo-legia-back.svg" alt="">
                                            <img width="80" class="sponsorship-logo-front" loading="lazy" data-src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/svg/sponsorship-logo-legia-front.svg" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/svg/sponsorship-logo-legia-front.svg" alt="">
                                        </div>
                                        <span>Legia Warsaw</span>
                                    </div>
                                </a>
                            </div>

                            <div data-index="3" style="z-index:3" class="sponsorships-item sponsorships-item-bulls">
                                <a data-analytics="buttonClick" href="/es-es/promotions/bulls" class="sponsorships-item-link">
                                    <div class="sponsorships-item-image" data-cta-name="bulls-players">
                                        <img loading="lazy" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/img/bulls-formation.webp" alt="" class="">
                                    </div>
                                    <div class="sponsorships-item-logo sponsorships-item-logo-bulls" data-cta-name="bulls-badge">
                                        <div class="sponsorships-item-logo-image">
                                            <img width="120" class="sponsorship-logo-back" loading="lazy" data-src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/svg/sponsorship-logo-bulls-back.svg" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/svg/sponsorship-logo-bulls-back.svg" alt="">
                                            <img width="120" class="sponsorship-logo-front" loading="lazy" data-src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/svg/sponsorship-logo-bulls-front.svg" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/svg/sponsorship-logo-bulls-front.svg" alt="">
                                        </div>
                                        <span>Chicago Bulls</span>
                                    </div>
                                </a>
                            </div>

                            <div data-index="1" style="z-index:1" class="sponsorships-item sponsorships-item-young-boys">
                                <a data-analytics="buttonClick" href="/es-es/promotions/youngboys" class="sponsorships-item-link">
                                    <div class="sponsorships-item-image" data-cta-name="young-boys-players">
                                        <img loading="lazy" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/img/youngboys-formation.webp" alt="" class="">
                                    </div>
                                    <div class="sponsorships-item-logo sponsorships-item-logo-young-boys" data-cta-name="young-boys-badge">
                                        <div class="sponsorships-item-logo-image">
                                            <img width="100" class="sponsorship-logo-back" loading="lazy" data-src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/svg/sponsorship-logo-young-boys-back.svg" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/svg/sponsorship-logo-young-boys-back.svg" alt="">
                                            <img width="100" class="sponsorship-logo-front" loading="lazy" data-src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/svg/sponsorship-logo-young-boys-front.svg" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/svg/sponsorship-logo-young-boys-front.svg" alt="">
                                        </div>
                                        <span>BSC Young Boys</span>
                                    </div>
                                </a>
                            </div>
                        </div>
                </div>
            </div>
        </div>
    </div>
</section>

<section class="container-xxl product product-section general-section no-ad-style" data-section-name="products"><!-- Toggle this class "no-ad-style" to use the new style -->
    <div class="row justify-content-center gs-anim-target">
        <div class="col-12 col-md-6 col-lg-x product-card product-card-link product-card-invest">
            <a data-analytics="buttonClick" href="https://app.plus500.com/trade?cty=ES&amp;hl=es&amp;innerTags=_cc_&amp;product=Invest&amp;ms=True" class="product-item blue-card-parent" data-cta-name="invest-start-trading" target="_self">
                <figure aria-hidden="true" class="plus-bg plus-bg-large blue-turquoise-gr" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
                <figure aria-hidden="true" class="plus-bg plus-bg-small white" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
                 <figure aria-hidden="true" class="plus-bg plus-bg-medium small-only" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
                 <figure aria-hidden="true" class="plus-bg plus-bg-medium white small-only" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
                <div class="blue-card-bg turquoise shadow-card full-height not-perspective"></div>
                <div class="product-item-data">
                    <figure class="product-brand invest"><img loading="lazy" alt="" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/svg/plus500-invest.svg"></figure>
                    <div class="product-desk">¡Compre las acciones más populares con un corredor líder en la industria, sin cargos por depósito o retiro!</div>
                        <div class="product-note rw-btn-invest">Tu capital está en riesgo</div>                                                                              
                    <div class="product-note rw-btn-invest">* La disponibilidad está sujeta al operador.</div>
                </div>
            </a>
        </div>

        <div class="col-12 col-md-6 col-lg-x product-card product-card-link product-card-cfd">
            <a data-analytics="CTA_real" href="https://app.plus500.com/trade?hl=es&amp;innerTags=_cc_&amp;product=CFD&amp;IsRealMode=True&amp;ms=True" class="product-item blue-card-parent" data-cta-name="cfd-start-trading" target="_self">
                 <figure aria-hidden="true" class="plus-bg plus-bg-small" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
                 <figure aria-hidden="true" class="plus-bg plus-bg-large small-only" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
                  <figure aria-hidden="true" class="plus-bg plus-bg-small white small-only" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
                <div class="blue-card-bg shadow-card full-height not-perspective"></div>
                <div class="product-item-data">
                    <figure class="product-brand cfd"><img loading="lazy" alt="" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/svg/plus500-cfd.svg"></figure>
                    <div class="product-desk">Trading apalancado en acciones, materias primas, índices, divisas, criptomonedas y más</div>
                    <div class="product-note">82% de clientes minoristas pierden dinero.</div>
                 </div>
            </a>
        </div>

        <div class="col-12 col-md-6 col-lg-x product-card product-card-futures">
            <div class="product-item blue-card-parent">
                <figure aria-hidden="true" class="plus-bg plus-bg-medium blue-turquoise-gr" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
                <figure aria-hidden="true" class="plus-bg plus-bg-small blue-gr" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
                <figure aria-hidden="true" class="plus-bg plus-bg-small white small-only" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
                <div class="blue-card-bg shadow-card full-height not-perspective"></div>
                <div class="product-item-data">
                    <figure class="product-brand"><img loading="lazy" alt="" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/newhome/svg/plus500-futures.svg"></figure>
                    <div class="product-desk">Negociar con los futuros estadounidenses más populares</div>
                     
                    
                    <div class="product-available-note">Disponible solo en los EE. UU.</div>
                </div>
            </div>
        </div>

            <div class="col-12 col-md-6 col-lg-x product-card product-card-link market-news">
                <a href="/es-es/newsandmarketinsights" class="product-item blue-card-parent">
                    <figure aria-hidden="true" class="plus-bg plus-bg-medium blue-turquoise-gr" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
                    <figure aria-hidden="true" class="plus-bg plus-bg-small blue-gr" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
                    <figure aria-hidden="true" class="plus-bg plus-bg-small white small-only" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
                    <div class="blue-card-bg shadow-card full-height not-perspective">
                        <div class="background-element"></div>
                    </div>
                    <div class="product-item-data">
                        <h3>Noticias del mercado</h3>
                        <div class="product-desk">
                            Mantente al día de los principales acontecimientos financieros con nuestra sección gratuita de noticias diarias sobre el mercado.
                        </div>
                    </div>
                </a>
            </div>
            <div class="col-12 col-md-6 col-lg-x product-card product-card-link academy">
                <a href="/es-es/tradingacademy" class="product-item blue-card-parent">
                    <figure aria-hidden="true" class="plus-bg plus-bg-medium blue-turquoise-gr" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
                    <figure aria-hidden="true" class="plus-bg plus-bg-small blue-gr" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
                    <figure aria-hidden="true" class="plus-bg plus-bg-small white small-only" style="transform: translate(0%, 150%) rotate(-11.9999deg);"></figure>
                    <div class="blue-card-bg shadow-card full-height not-perspective">
                        <div class="background-element"></div>
                    </div>
                     <div class="product-item-data">
                        <h3>Academia de Trading</h3>
                        <div class="product-desk">
                            Mejore tus conocimientos de trading y mantente informado con vídeos, artículos y otros contenidos de nuestra Academia de Trading.
                        </div>
                    </div>
                </a>
            </div>
    </div>
</section>

    </main>

    <script>
        var reportCtaClickUrl = '/es-es/api/ReportData';
    </script>

    <section id="support-section" class="support-section">
        <div class="container-xxl">
            <div class="row">
                <div class="col d-md-flex justify-content-center align-items-center text-center">
                    <h5>¿Necesitas ayuda?</h5>
                    <a data-analytics="buttonClick" class="support-link" href="/es-es/tradingacademy/faq">
                        <span class="text">Apoyo 24/7</span>
                        <span class="icon-users"></span>
                    </a>
                </div>
            </div>
        </div>
    </section>

<footer class="main-footer">
    <div class="container-xxl">
    <div class="row align-center">
            <div class="col-sm-10 col-lg-2 offset-lg-1">
            <ul class="menu links-menu">
                    <li><a href="/es-es/aboutus" data-page="AboutUs">Quiénes somos</a></li>
                    <li><a href="/es-es/help/clientmoneyprotection" data-page="ClientMoneyProtection">Protección de las operaciones de nuestros clientes</a></li>
                    <li><a href="https://cdn-main.plus500.com/Regulatory/CySec/default/default/CFD/1728209473/RiskDisclouserNotice.pdf" target="_blank" rel="noopener noreferrer" doc-href="https://cdn-main.plus500.com/Regulatory/CySec/default/default/CFD/1728209473/RiskDisclouserNotice.pdf">Nota informativa sobre riesgos</a></li>
                    <li><a href="/es-es/help/termsandagreements" data-page="TermsAndAgreements">Términos y Acuerdos</a></li>
                                    <li>
                        <a href="/es-es/help/cookiepolicy?productType=CFD">Política de cookies</a>
                    </li>
            </ul>
        </div>
        <div class="col-lg-6 main-column">
                <div class="footer-item footer-text">
                    <p><strong>Plus500CY es el emisor y vendedor de los productos financieros descritos o disponibles en este sitio web.</strong></p>
                </div>
            <div class="footer-item footer-text">
                
                    <p>Los CFD son instrumentos complejos y están asociados a un riesgo elevado de perder dinero rápidamente debido al apalancamiento. <strong>El 82% de las cuentas de inversores minoristas pierden dinero en la comercialización con CFD con este proveedor. </strong> Debes considerar si comprendes el funcionamiento de los CFD y si puedes permitirte asumir un riesgo elevado de perder tu dinero.</p>
                
                                    <p>Debido a obligaciones regulatorias, las bonificaciones no son aplicables a los clientes minoristas de Plus500CY.<br></p>
            </div>
                <div class="footer-item footer-text">
                    <p>Plus500 es principalmente compensado por sus servicios a través del diferencial de Compra/Venta.&nbsp;Revise nuestras <a href="/es-es/help/feescharges?productType=CFD">Tasas y Cargos</a>.</p>
                </div>
                        <div class="footer-item footer-text">
                <p>La información de este sitio web es de carácter general. Considere la información teniendo en cuenta sus objetivos, situación financiera y necesidades.</p>
            </div>
            <div class="footer-item footer-text">
                <p>Plus500 es una marca comercial de Plus500 Ltd.</p>
                <p>Plus500 Ltd opera a través de las siguientes subsidiarias:<br></p>
                <p>Plus500CY Ltd está autorizado y regulado por la Comisión del Mercado de Valores de Chipre (licencia nº&nbsp;250/14). Los CFD de criptomonedas no están disponibles para clientes minoristas del Reino Unido. Oficinas: Plus500CY Ltd, 169-171 Arch. Makarios III Avenue, Cedars Oasis Tower, Floor 1, 3027, Limassol, Cyprus.<br></p>
                <p>Plus500UK Ltd está autorizada y regulada por la Autoridad de Conducta Financiera. Número de registro en la Autoridad de Conducta Financiera: 509909. Los CFD de criptomonedas no están disponibles para clientes minoristas.<br></p>
                <p>Plus500AU Pty Ltd posee AFSL&nbsp;#417727 emitida por ASIC, FSP nº&nbsp;486026 emitida por la FMA en Nueva Zelanda y Proveedor de Servicios Financieros Autorizado #47546 emitida por la FSCA en Sudáfrica.<br></p>
                <p>Plus500SEY Ltd está autorizada y regulada por la Autoridad de Servicios Financieros de Seychelles (Licencia&nbsp;N.º&nbsp;SD039).<br></p>
                <p>Plus500EE AS está autorizada y regulada por la Autoridad de Supervisión y Resolución Financiera de Estonia (número de licencia:&nbsp;4.1-1/18).<br></p>
                <p>Plus500SG Pte Ltd (UEN 201422211Z) posee una licencia de servicios de mercados de capitales de la Autoridad Monetaria de Singapur para el trading de productos de los mercados de capitales (Licencia n.º CMS100648). <br>
</p>
                <p>Plus500AE Ltd está autorizada y regulada por la Autoridad de Servicios Financieros de Dubái (F005651).</p>
                <p>Plus500BHS Ltd está autorizada y regulada por la Comisión de Valores de las Bahamas («SCB») como empresa que comercia con valores como agente o principal, con el número de licencia SIA-F250.<br></p>
            </div>
            <div class="footer-item footer-text">
                <p>Los índices S&amp;P 500, Dow Jones Industrial Average y S&amp;P/ASX 200 son productos de S&amp;P Dow Jones Indices LLC («SPDJI») o sus licenciantes. S&amp;P 500®, USA 500 y USA 30 son marcas comerciales de Standard &amp; Poor's Financial Services LLC («S&amp;P»); Dow Jones® es una marca comercial de Dow Jones Trademark Holdings LLC («Dow Jones»). ASX® es una marca comercial de la Bolsa de Valores de Australia. Los productos de Plus500 no están patrocinados, respaldados, vendidos ni promocionados por SPDJI, Dow Jones, ASX ni sus filiales, y ninguno hace ninguna declaración sobre la inversión en dichos productos, ni tiene responsabilidad alguna por los errores, omisiones o interrupciones de los índices.</p>
            </div>
            <div class="footer-item footer-text">
                <a href="/es-es/pro">Plus500 Pro</a>
            </div>
            <div class="footer-item secured">
                <img width="24" height="24" loading="lazy" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/secure-lock.svg" alt="" class="">
                <p>Protegido por SSL.&nbsp;Copyright ©  Plus500. Todos los derechos reservados.</p>
            </div>
        </div>
            <div class="col-lg-2 columns">
            <div class="social-networks">
                <span>Síganos en:</span>
                <ul class="menu social-menu">
        <li>
            <a href="https://www.facebook.com/Plus500" title="Facebook" target="_blank" rel="noopener noreferrer">
                <img width="24" height="24" loading="lazy" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/svg/social-networks/social-facebook-icon.svg" alt="" class="social-icon-facebook">
                <span class="visually-hidden">Facebook</span>
            </a>
        </li>            
        <li>
            <a href="https://www.twitter.com/plus500" title="Twitter" target="_blank" rel="noopener noreferrer">
                <img width="24" height="24" loading="lazy" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/svg/social-networks/social-twitter-icon.svg" alt="" class="social-icon-twitter">
                <span class="visually-hidden">Twitter</span>
            </a>
        </li>            
        <li>
            <a href="https://www.instagram.com/plus500/" title="Instagram" target="_blank" rel="noopener noreferrer">
                <img width="24" height="24" loading="lazy" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/svg/social-networks/social-instagram-icon.svg" alt="" class="social-icon-instagram">
                <span class="visually-hidden">Instagram</span>
            </a>
        </li>            
        <li>
            <a href="http://www.linkedin.com/company/plus500-official-page" title="LinkedIn" target="_blank" rel="noopener noreferrer">
                <img width="24" height="24" loading="lazy" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/svg/social-networks/social-linkedin-icon.svg" alt="" class="social-icon-linkedin">
                <span class="visually-hidden">LinkedIn</span>
            </a>
        </li>            
        <li>
            <a href="https://www.youtube.com/user/Plus500Site" title="YouTube" target="_blank" rel="noopener noreferrer">
                <img width="24" height="24" loading="lazy" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/svg/social-networks/social-youtube-icon.svg" alt="" class="social-icon-youtube">
                <span class="visually-hidden">YouTube</span>
            </a>
        </li>            

</ul>
            </div>
            <div class="application-stores">
                <a data-analytics="CTA_store" id="link-play-store" rel="nofollow" class="store-link link-play-store lazyload" data-bg="https://play.google.com/intl/en_us/badges/images/generic/es_badge_web_generic.png" href="https://play.google.com/store/apps/details?id=com.Plus500&amp;hl=es&amp;referrer=https%3a%2f%2fwww.plus500.com%2f%3finnerTags%3d_cc_%26webvisitid%3d46f2b82c-d115-40f8-9b0e-231daef87365" title="Play Store" target="_blank"></a>
                <a data-analytics="CTA_store" id="link-app-store" rel="nofollow" class="store-link link-app-store lazyload" data-bg="https://tools.applemediaservices.com/api/badges/download-on-the-app-store/black/es-es" href="https://itunes.apple.com/lv/app/plus500/id417962622?mt=8&amp;ls=1" title="App Store" target="_blank"></a>
            </div>
        </div>
    </div>
    </div>
</footer>

<div class="sticky-footer-wrapper">
<a data-analytics="buttonClick" class="side-support-link support-link fade" href="/es-es/tradingacademy/faq" title="Apoyo 24/7">
    <span class="icon-users"></span>
    <span class="text">Apoyo 24/7</span>
</a>        <section class="sticky-cookie-wrapper" role="region">
    <div class="container-xxl cookie-banner-wrapper">
        <div class="cookie-banner-content">
            <figure class="image-wrapper" aria-hidden="true">
                <img loading="lazy" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Images/svg/cookie-popup-image.svg" alt="" class="">
            </figure>
            <p>Plus500 utiliza cookies para mejorar su experiencia de navegación. Haga clic en "Aceptar" para dar su consentimiento a todas las cookies o gestione sus preferencias en nuestra página de política de cookies.</p>
        </div>
        <div class="actions-wrapper">
                <a href="/es-es/help/cookiepolicy?productType=CFD" class="button white-bg hollow" data-analytics="cookies" dialogtype="banner" clicktype="policy">Política de cookies</a>
            <button type="button" id="cookieBannerAcceptButton" data-analytics="cookies" dialogtype="banner" clicktype="accept" class="button blue-gradient accept-cookies">Acepto</button>
        </div>
    </div>
</section>

</div>

    
        <script src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Scripts/layout.bundle.min.js"></script>
    <script src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Scripts/general.min.js"></script>



    <script>
        window.dataLayer = window.dataLayer || [];

        var experimentVariants = {};
            
                experimentVariants['experimentName_0'] = 'IdHomeViewExp';
            
            
                experimentVariants['experimentVariant_0'] = 'undefined';
            
            
                experimentVariants['experimentName_1'] = 'ExternalCmp';
            
            
                experimentVariants['experimentVariant_1'] = 'undefined';
            

        window.dataLayer.push({
            'event': 'pageMetaData',
            ...experimentVariants
        });
    </script>

	
    <script src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Scripts/home.bundle.min.js"></script>
    <script>
        window.addEventListener('load', ()=> {
                if ("IntersectionObserver" in window){
                    let options = {
                        threshold: 0.5
                    }
                    
                    let observerCallback = function (entries){
                       entries.filter(e => e.isIntersecting).forEach(entry => {
                           let sectionName = entry.target.dataset.sectionName;
                           sendAnalyticsEvent("HomepageSection", "SectionVisible", sectionName)
                           observer.unobserve(entry.target);
                       }) 
                    }
                    
                    let elements = document.querySelectorAll('section[data-section-name]');
                    let observer = new IntersectionObserver(observerCallback, options); 
                    elements.forEach(el => observer.observe(el));
                }
            
            document.querySelectorAll("a[data-cta-name]").forEach(el => {
                el.addEventListener('click', () => {
                    let ctaName = el.dataset.ctaName;
                    let section = el.closest("section[data-section-name]")
                    let sectionName = section ? section.dataset.sectionName : "";
                    sendAnalyticsEvent("HomepageCTAClick", ctaName, sectionName)
                });
            })
            
        let rtl = false;
        let tableWidget = document.querySelectorAll(".gs-regulatory-widget");
        let plusAnimation = (targetElement) => {
            targetElement.forEach((element) => {
                   let plus = element.querySelectorAll(".plus-bg-small, .plus-bg-medium, .plus-bg-large"),
                    tl = gsap.timeline()
                    .from(plus, { yPercent: 150, duration: 1, stagger: .1, ease: "slow" })
                  ScrollTrigger.create({
                    trigger:element,
                    start : "0 50%",
                    end : "100% 50%",
                    animation:tl,
                    scrub: 1
                  })    
                   
               })
        } 
        let iconAnimation = (targetElement) => {
            targetElement.forEach((element) => {
                  let icon = element.querySelectorAll(".item-icon"),
                     tl = gsap.timeline()
                     .from(icon, { opacity: 0, scale: 0, duration: .5, stagger: .1 })
                  ScrollTrigger.create({
                    trigger:element,
                    start : "-40% 50%",
                    end : "60% 50%",
                    animation:tl
                  })
           })
        } 
        
        ScrollTrigger.saveStyles(".plus-bg-small, .plus-bg-medium, .plus-bg-large, .item-icon, .gs-regulatory-widget, .gs-trading-img-box, .sponsorships-item");    
        ScrollTrigger.matchMedia({ 
            "(min-width: 769px)": function() {
                // Plus Animation    
                let plusesTarget = document.querySelectorAll(".gs-anim-target")
                plusAnimation(plusesTarget);
     
               // Icons Animation  
                let iconsTarget = document.querySelectorAll(".items-icon-group")
                iconAnimation(iconsTarget);
        
               // Table Widget Animation
                gsap.timeline({
                  scrollTrigger: {
                    trigger: tableWidget,
                    start: "-30% 50%",
                    end: "50% 50%",
                    once: true,
                  }
                })   
                .from(tableWidget, { opacity: 0, xPercent: rtl ? "-50" : "50" });
                
                // Ipad Animation
                gsap.timeline({
                  scrollTrigger: {
                    trigger: ".gs-trading-img-box",
                    start: "-20% 50%",
                    end: "0 50%"
                  }
                })   
                .from(".gs-trading-img-box", { opacity: 0, xPercent: 100, duration: .5 });
            },
            "(max-width: 768px)": function() { 
                // Icons Animation  
                let iconsTarget = document.querySelectorAll(".item-box")
                iconAnimation(iconsTarget);
                
                // Table Widget Animation
                gsap.timeline({
                  scrollTrigger: {
                    trigger: tableWidget,
                    start: "-80% 50%",
                    end: "20% 50%"
                  }
                })   
                .from(tableWidget, { opacity: 0, yPercent: 50 });
            }, 
         });  
    })
    </script>



	    <script>  
     window.addEventListener("load", () => {
            loadJS("https://cdn-main.plus500.com/1.0.0.120605/Resources/Scripts/slick.min.js", document.body, () => {
                const heroSliderElem = $('.hero-slider'), 
                sliderButtonBanner = document.querySelector(".banner-link-button");
                heroSliderElem.slick({
                    arrows: true,
                    centerMode: true,
                    centerPadding: 0,
                    dots: true,
                    infinite: true,
                    speed: 100,
                    rtl: false,
                    slidesToScroll: 1,
                    slidesToShow: 1,
                    autoplay:true,
                    autoplaySpeed:5000,
                    mobileFirst: true,
                    fade: true,
                    cssEase: 'linear',
                    pauseOnHover: false,
                    pauseOnFocus: false, 
                    prevArrow: $('.prev-arrow'),
                    nextArrow: $('.next-arrow'),
                    appendDots: $('.slider-dots'),
                    customPaging: (slick,index) => '<button><svg viewBox="0 0 32 32" style="animation-duration:'+ slick.options.autoplaySpeed+'ms;"><circle r="16" cx="16" cy="16" /></svg></button>',
                });
                sliderButtonBanner.addEventListener('click', () => {
                    heroSliderElem.slick('refresh');
                })
           });
        });    
      </script>  
    <script>
        window.addEventListener('load', () => {
             gsap.registerPlugin(SplitText);
             const targetSlogans = document.querySelectorAll('.main-banner-anim-item'), 
                     splitTextTimeline = new TimelineMax({ repeat: -1 });
     
             targetSlogans.forEach(targetSlogan => {
                 gsap.set(targetSlogan, { perspective:300 });
                 const isArabic = (document.documentElement.lang === "ar");
                 let splitType = isArabic ? "words" : "chars, words"
                 let mySplitText = new SplitText(targetSlogan,{type:splitType, charsClass: "char" }); 
                 let animationType = isArabic ? mySplitText.words : mySplitText.chars;
                 splitTextTimeline.set(targetSlogan, { autoAlpha: 1, display: "block" });
                 splitTextTimeline.from(animationType, { duration: .4, rotationX:90, transformOrigin:"50% 50%", ease:"ease", stagger: 0.04 });
                 splitTextTimeline.set(targetSlogan, { autoAlpha: 0, display: "none", delay: 1.5 });
             });
             
            const mainBanner = document.querySelector(".main-banner"),
                buttonBanner = mainBanner.querySelector(".banner-link-button");
             
            if (buttonBanner != null) {
                 buttonBanner.addEventListener('click', () => {
                      if (mainBanner.classList.contains('hero-banner')) {
                          mainBanner.classList.remove('hero-banner');
                          mainBanner.classList.add('marketing-banner');   
                          sendAnalyticsEvent("NewHeroMarketingBanner", "Open");
                      } else {
                          mainBanner.classList.remove('marketing-banner');
                          mainBanner.classList.add('hero-banner'); 
                      }
                });  
            }
        });

       // Resize Hero
       // TODO: Move to shared script
        const hasVisualViewport = ("visualViewport" in window),
              hasResizeObserver = (typeof window.ResizeObserver !== 'undefined');
        
        function setGlobalCSSVar(varName, value) {
            document.documentElement.style.setProperty(varName, Math.round(value)+"px");
        };

        window.addEventListener("DOMContentLoaded", () => {
            if (hasVisualViewport) {
                setGlobalCSSVar("--viewh", window.visualViewport.height); // init
                window.visualViewport.addEventListener("resize", () => { setGlobalCSSVar("--viewh", window.visualViewport.height); });
            }
            if (hasResizeObserver) {
                const resizeObserver = new ResizeObserver((entries) => {
                    for (const entry of entries) {
                        setGlobalCSSVar("--rwh", entry.borderBoxSize[0].blockSize);
                    };
                });
                const headerRwFooter = document.querySelector(".resize-sub");
                setGlobalCSSVar("--rwh", headerRwFooter.getBoundingClientRect().height); // init
                resizeObserver.observe(headerRwFooter);
            }
        });
    </script>

    <script>
    window.addEventListener('load', (event) => {
        var tl1 = new TimelineMax({ 
            onComplete: function() {
              this.restart();
            }
        });
    tl1
    .fromTo(".item-anim1, .item-anim4", .5, { opacity: 0, x: -50 }, {opacity: 1, x:0 }) .to(".item-anim1, .item-anim4", .5, { opacity: 0, x: 50 }, "+=3")
    .fromTo(".item-anim2, .item-anim5", .5, { opacity: 0, x: 50 }, {opacity: 1, x:0 }, "-=.3") .to(".item-anim2, .item-anim5", .5, { opacity: 0, x: -50 }, "+=3")
    .fromTo(".item-anim3, .item-anim4", .5, { opacity: 0, x: -50 }, {opacity: 1, x:0 }, "-=.3") .to(".item-anim3, .item-anim4", .5, { opacity: 0, x: 50 }, "+=3")
    .fromTo(".item-anim1, .item-anim5", .5, { opacity: 0, x: 50 }, {opacity: 1, x:0 }, "-=.3") .to(".item-anim1, .item-anim5", .5, { opacity: 0, x: -50 }, "+=3")
    .fromTo(".item-anim2, .item-anim4", .5, { opacity: 0, x: -50 }, {opacity: 1, x:0 }, "-=.3") .to(".item-anim2, .item-anim4", .5, { opacity: 0, x: 50 }, "+=3")
    .fromTo(".item-anim3, .item-anim5", .5, { opacity: 0, x: 50 }, {opacity: 1, x:0 }, "-=.3") .to(".item-anim3, .item-anim5", .5, { opacity: 0, x: -50 }, "+=3") 
    });
    </script>

    <script src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Scripts/slick.min.js"></script>
    <script type="text/javascript">
        $(function() {
         $('.orbit-container').slick({
              mobileFirst: true,
              arrows: false,
              dots: true,
              adaptiveHeight: false,
              infinite: false,
              speed:500,
              rtl: false,
              autoplay: true, 
              fade: true,
              cssEase:'ease-out',
              slidesToShow: 1,
              slidesToScroll: 1,
              appendDots: $(".dots-wrapper")
          })
    });
    </script>

    <script>
        window.addEventListener('load', () => {
            // Phone Animation
             let rtl = false;
             let phoneAnimation = (targetElement, pinElement, startElement) => {
                    let tlPhone = gsap.timeline({
                        defaults: { duration: 1 },
                        scrollTrigger: {
                            trigger: targetElement,
                            start : startElement,
                            end : "70% 60%",
                            scrub: 4,
                            pin: pinElement,
                            once: true,
                            markers: false,
                          }
                    }); 
                     tlPhone.to(".gs-insights-img1", { ease: "slow", xPercent: rtl ? "25" : "-25" })
                     .from(".gs-insights-img2", { ease: "ease", scale:0, transformOrigin:"50% 100%" },("-=.5"))
                     .to(".gs-insights-img2", { ease: "ease", rotation: rtl ? "-12" : "12", xPercent: rtl ? "-25" : "25" }) 
             }
             ScrollTrigger.saveStyles(".gs-insights-img1, .gs-insights-img2");  
             ScrollTrigger.matchMedia({  
                    "(min-width: 1024px)": function() {
                        let phoneTarget = document.querySelectorAll(".gs-insights-target"),
                             phonePin = true,
                             phoneStart = "40% 60%";
                        phoneAnimation(phoneTarget, phonePin, phoneStart);    
                    },
                    "(max-width: 1023px)": function() {
                        let phoneTarget = document.querySelectorAll(".gs-insights-target-mobile"),
                            phonePin = false,
                            phoneStart = "-10% 60%";
                        phoneAnimation(phoneTarget, phonePin, phoneStart); 
                    },
                    "all": function() {
                    },
             });
        });
    </script>

<script>
    window.addEventListener("load", function () {
        const seoSection = document.querySelector('[data-section-name="seo-carousel"]');
        let isSeoSectionLoaded = false;
        const seoSectionObserver = new IntersectionObserver((entries) => {                
            if (entries[0].isIntersecting && !isSeoSectionLoaded){
                loadJS("https://cdn-main.plus500.com/1.0.0.120605/Resources/Scripts/slick.min.js", document.body, function () {
                    const seoSliderElem = $('#seoSlider');
                    seoSliderElem.slick({
                        arrows: false,
                        centerMode: true,
                        centerPadding: 0,
                        dots: true,
                        infinite: false,
                        speed: 1000,
                        rtl: false,
                        slidesToScroll: 1,
                        slidesToShow: 1,
                        mobileFirst: true,
                        responsive: 
                        [
                            {
                              breakpoint: 1023,
                              settings: {
                                centerPadding: "5%",
                              }
                            },
                            {
                              breakpoint: 1439,
                              settings: {
                                centerPadding: "20%",
                              }
                            },
                            {
                              breakpoint: 2559,
                              settings: {
                                centerPadding: "30%",
                              }
                            },
                            {
                              breakpoint: 3839,
                              settings: {
                                centerPadding: "35%",
                              }
                            }
                        ],
                    });
                    isSeoSectionLoaded = true;
                    const currentSlide = seoSliderElem[0].slick.currentSlide;  
                     if (currentSlide === 0){
                        seoSliderElem.slick('slickGoTo', currentSlide + 1);
                    }
                    if (currentSlide > 0){
                        seoSliderElem.slick('slickGoTo', currentSlide - 1);
                    }                  
                });               
            }
        });
        seoSectionObserver.observe(seoSection);       
    });
</script>

    <script>
    window.addEventListener("DOMContentLoaded", () => {
        const myCollapsible = document.getElementById("riskWarning");
        myCollapsible.addEventListener("hidden.bs.collapse", () => {
            KeyValueStore.set("_uk_riskwarning_hidden_", true);
        });
        myCollapsible.addEventListener("shown.bs.collapse", () => {
            KeyValueStore.remove("_uk_riskwarning_hidden_");
        });

        if (KeyValueStore.get("_uk_riskwarning_hidden_") == null) {
            myCollapsible.classList.add("show");
        }
    });
    </script>

    <script>
        	const searchButton = document.querySelector("#search-button");
    		let searchApp, searchElem;
            const searchOptions = {
                searchTermMaxLength: 2,
                apiUrl: "/es-es/api/Search",
                rootElement: '#searchDropdownContent',
                page: 0,
                delayBeforeInvoke: 700,
                placeholderResults: [{"name":"NG Gas Natural","url":"/es-es/instruments/ng","tradeInstrumentAppUrl":"https://app.plus500.com/instruments/ng?hl=es&product=CFD&IsRealMode=True","symbol":"NG","icon":"https://cdn.plus500.com/Media/Apps/cfd_invest/Commodities/NG.png?v=1718693370"},{"name":"NQ Nasdaq 100","url":"/es-es/instruments/nq","tradeInstrumentAppUrl":"https://app.plus500.com/instruments/nq?hl=es&product=CFD&IsRealMode=True","symbol":"NQ","icon":"https://cdn.plus500.com/Media/Apps/cfd_invest/Indices/NQ.png?v=1718693360"},{"name":"BMAGSI Índice Magnificent 7","url":"/es-es/instruments/bmagsi","tradeInstrumentAppUrl":"https://app.plus500.com/instruments/bmagsi?hl=es&product=CFD&IsRealMode=True","symbol":"BMAGSI","icon":"https://cdn.plus500.com/Media/Apps/cfd_invest/Indices/BMAGSI.png?v=1719827864"},{"name":"S&P 500 | Put 5800 | oct","url":"/es-es/instruments/ewoct24p5800","tradeInstrumentAppUrl":"https://app.plus500.com/instruments/ewoct24p5800?hl=es&product=CFD&IsRealMode=True","symbol":"EWOCT24P5800","icon":"https://cdn.plus500.com/Media/Apps/cfd_invest/Indices/ES.png?v=1718693355"},{"name":"BTCUSD Bitcoin","url":"/es-es/instruments/btcusd","tradeInstrumentAppUrl":"https://app.plus500.com/instruments/btcusd?hl=es&product=CFD&IsRealMode=True","symbol":"BTCUSD","icon":"https://cdn.plus500.com/Media/Apps/cfd_invest/Crypto/BTCUSD.png?v=1718693340"}],
                categoriesInfo: [{"name":"Preguntas frecuentes","priority":2},{"name":"Guía del trader","priority":1},{"name":"E-book","priority":1},{"name":"Gestión de riesgos","priority":1},{"name":"Mercados","priority":1},{"name":"Compañía","priority":1},{"name":"Trading","priority":1},{"name":"Noticias y perspectivas del mercado","priority":1},{"name":"Instrumentos","priority":3},{"name":"Guía para principiantes","priority":1},{"name":"Seminarios web","priority":1}],
                searchInputId: "#searchInstruments",
            };

            function loadAndInitGlobalSearch() {
				loadJS("https://cdn-main.plus500.com/1.0.0.120605/Resources/Scripts/vue.min.js", document.body, () => {
					loadJS("https://cdn-main.plus500.com/1.0.0.120605/Resources/Scripts/globalSearch.min.js", document.body, () => {
						searchApp = initSearch(searchOptions);
					});
					searchButton.removeEventListener("shown.bs.dropdown", loadAndInitGlobalSearch);
				});
            }

			document.addEventListener("DOMContentLoaded", () => {
				searchButton.addEventListener('shown.bs.dropdown', loadAndInitGlobalSearch);
			});
    
    </script>

    <script>
    window.addEventListener("load", () => {
        var headerTradingItem = document.querySelector(".start-trading-link");
        if (headerTradingItem != null){
            headerTradingItem.addEventListener('click', function () {
                sendAnalyticsEvent("NewHeaderClick", "StartTrading");
            });
        }

        document.querySelectorAll("#navbarSupportedContent a[data-page]").forEach(el => {
            el.addEventListener('click', () => {
               let pageName = el.dataset.page;
               let menuCategory = el.closest("ul").dataset.menuName;
               sendAnalyticsEvent("HeaderMenuClick", menuCategory, pageName);
            });
        });

		// Sticky Header
		const supportsNewSyntax = 'CSS' in window && 'supports' in window.CSS;
		const supportsOldSyntax = 'supportsCSS' in window;

		if (supportsNewSyntax || supportsOldSyntax) { // check for css.supports API
			if (CSS.supports("position", "sticky")) {
				if ("IntersectionObserver" in window) { // if we can use position:sticky check for IntersectionObserver support
					let observer = new IntersectionObserver((entries, observer) => {
						for (let i = 0; i < entries.length; i++) {
							if (entries[i].isIntersecting == true) {
								$('body').removeClass("is-sticky");
							} else {
								$('body').addClass("is-sticky");
							}
						}
					}, { root: null, threshhold: 1.0 });
					let sentinal = document.querySelector(".sentinal"); // check if header exists, for in-app view
					if (!!sentinal) { observer.observe(sentinal); }
				} else { $('body').addClass("is-sticky"); } // when there's no support, header will get still get sticky class but only for color styles
			}
        }

		const mainMenuOffCanvas = document.querySelector("#offCanvasNavbar"), toggler = document.querySelector(".navbar-toggler");
		function mainMenuSetAttributes(event){
			let ariaExpanded = false;
			if (event.type === "show.bs.offcanvas"){
				ariaExpanded = true;
				toggler.classList.add("show");
			}
			if (event.type === "hide.bs.offcanvas"){
				ariaExpanded = false;
				toggler.classList.remove("show");
			}
			toggler.ariaExpanded = ariaExpanded;
			mainMenuOffCanvas.querySelector(`.btn-dismiss`).ariaExpanded = ariaExpanded;
		}
		mainMenuOffCanvas.addEventListener('show.bs.offcanvas', (e) => mainMenuSetAttributes(e));
		mainMenuOffCanvas.addEventListener('hide.bs.offcanvas', (e) => mainMenuSetAttributes(e));

		mainMenuOffCanvas.addEventListener("click", (e) => {
			if (e.target.matches(".dropdown-header, .dropdown-menu")){
				e.stopPropagation();
			}
		});
		
		const menuBSOffCanvas = bootstrap.Offcanvas.getOrCreateInstance(mainMenuOffCanvas);
		if ("ResizeObserver" in window) {
			const menuResizeObserver = new ResizeObserver((entries) => {
				const targetedElem = entries[0].target;
				const isMenuBreakpoint = targetedElem.getBoundingClientRect().width < parseInt(window.getComputedStyle(targetedElem).getPropertyValue('--bs-breakpoint-lg'), 10);
				if (!isMenuBreakpoint) 
				{
					menuBSOffCanvas.hide();
				}
			});
			menuResizeObserver.observe(document.documentElement);
		}
    });
    </script>

<script defer="">
    loadJS("https://cdn-main.plus500.com/1.0.0.120605/Resources/Scripts/user-cookies-manager.js", document.body, () => {
        const cookieBanner = document.querySelector(".sticky-cookie-wrapper");
        if (localStorage.getItem("_cookies_usage_")){
            cookieBanner.remove();
        } else {
            cookieBanner.classList.remove("d-none");
        }
        cookieBanner.querySelector("#cookieBannerAcceptButton").addEventListener('click', () => {
            UserCookiesManager.onCookiesAccept("banner_cfd")
            cookieBanner.classList.add("cookie-out");
            cookieBanner.addEventListener("transitionend", () => {
                cookieBanner.remove();
            });
        });
        if (!UserCookiesManager.isAcceptedCookies()) {
                sendAnalyticsEvent('UserCookies', '[email protected]()')
        }
    });
</script><script async="" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Scripts/user-cookies-manager.js"></script>

        <script>
            window.addEventListener('load',() => {
                loadJS("https://cdn-main.plus500.com/1.0.0.120605/Resources/Scripts/support-button-on-scroll.min.js", document.body);
            });
        </script>



		<script>
                function checkGaLoaded() {
                    if (typeof ga === 'function') {
                    } else {
                        setTimeout(checkGaLoaded,500);
                    }
                }
                checkGaLoaded();
		</script>
    

		<script src="//rum-static.pingdom.net/pa-587c9d1971a183207f0f58cd.js" async=""></script>

	
	

    <script>
        window.addEventListener("load", function() {
            loadJS("https://cdn-main.plus500.com/1.0.0.120605/Resources/Scripts/google-analytics-cookies-param-to-appsflyer-links.min.js", document.body, function() {
                if (typeof initGAAppsFlyerLinks === 'function') {
                    initGAAppsFlyerLinks(
                        "_ga",
                        '_ga_X6GLD6K91S'
                    );
                }
            }, true);
        });
    </script><iframe height="0" width="0" src="https://8307440.fls.doubleclick.net/activityi;src=8307440;type=visit;cat=sitev0;ord=1;num=522853036650;npa=1;auiddc=2082562497.1730139538;u1=undefined;uaa=;uab=;uafvl=;uamb=0;uam=;uap=;uapv=;uaw=0;pscdl=noapi;frm=0;gtm=45fe4ao0v9190963274z8564439za201zb564439;gcd=13l3l3l2l1l1;dma_cps=syphamo;dma=1;tag_exp=101533421~101823848;epver=2;~oref=https%3A%2F%2Fwww.plus500.com%2Fes-es%2F?" style="display: none; visibility: hidden;"></iframe>
    
    
	



<script async="" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Scripts/slick.min.js"></script><script async="" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Scripts/support-button-on-scroll.min.js"></script><script async="" src="https://cdn-main.plus500.com/1.0.0.120605/Resources/Scripts/google-analytics-cookies-param-to-appsflyer-links.min.js"></script></body></html>