https://plus500-ko.com/

Eingereichte URL:
https://plus500-ko.com/
Bericht beendet:
LinkText
https://open.kakao.com/o/srvMDIYg고객센터
https://open.kakao.com/o/soisEIYg1:1매니저

JavaScript-Variablen · 135 gefunden

NameTyp
0object
1object
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
$function
jQueryfunction
codeobject
_vwo_codeobject
_vwo_settings_timernumber

Konsolenprotokoll-Meldungen · 9 gefunden

TypKategorieProtokoll
warningother
URL
https://plus500-ko.com/
Text
Origin trial controlled feature not enabled: 'join-ad-interest-group'.
errornetwork
URL
https://plus500-ko.com/js/plus500/support-button-on-scroll.min.js
Text
Failed to load resource: the server responded with a status of 404 ()
errornetwork
URL
https://plus500-ko.com/css/fonts/icomain.woff2?tzb2uu
Text
Failed to load resource: the server responded with a status of 404 ()
errornetwork
URL
https://plus500-ko.com/css/fonts/icomain.ttf?tzb2uu
Text
Failed to load resource: the server responded with a status of 404 ()
errornetwork
URL
https://plus500-ko.com/css/fonts/icomain.woff?tzb2uu
Text
Failed to load resource: the server responded with a status of 404 ()
warningother
URL
https://plus500-ko.com/js/plus500/home.bundle.min.js
Text
GSAP target [object NodeList] not found. https://greensock.com
warningother
URL
https://plus500-ko.com/js/plus500/home.bundle.min.js
Text
GSAP target not found. https://greensock.com
warningother
URL
https://plus500-ko.com/js/plus500/home.bundle.min.js
Text
GSAP target [object NodeList] not found. https://greensock.com
warningother
URL
https://plus500-ko.com/js/plus500/home.bundle.min.js
Text
GSAP target not found. https://greensock.com

HTML

<html class="no-js" lang="en" style="--viewh: 600px; --rwh: 26px;"><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">
	<meta name="robots" content="noindex, nofollow">
	<title>Online CFD Trading | Trading the Markets | Plus500</title>
	<meta name="description" content="Trade the world’s most popular markets with a leading-CFD provider: CFDs on Forex, Cryptocurrencies, Shares, Commodities, Indices, ETFs &amp; Options.">

	<meta name="keywords" content="Plus500, Plus 500, +500, forex, CFDs, CFD, Bitcoin trading, crypto trading, online trading, Forex trading, Oil trading, Gold trading, trading indexes, shares trading, commodities trading, trading platform, Cryptocurrencies day trading,trade stocks, trade forex, trade equities, trade commodities, trade shares, trade CFD, currency trading, trade securities.">

	<link rel="shortcut icon" type="image/x-icon" href="/image/plus500/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="/image/plus500/hero-slider-cfd-mobile.webp">


	<link rel="stylesheet" href="/css/plus500/home.css">




	<!-- Start VWO Async SmartCode -->
	<link rel="preconnect" href="https://dev.visualwebsiteoptimizer.com">
	<script type="text/javascript" async="" src="https://cdn.taboola.com/libtrc/unip/1216744/tfa.js"></script>
	<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 async="" src="https://www.googletagmanager.com/gtm.js?id=GTM-RQS5"></script>
	<script src="/js/jquery.min.js"></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': 'KR', //TODO: remove when using GA4 only
                    'language': 'en', //TODO: remove when using GA4 only
                    'IsInAppView': 'false' //TODO: remove when using GA4 only
                }
            );
            var analyticsParameters = {};
                
                        analyticsParameters['userCountry']='JP'
                
                
                        analyticsParameters['mainSiteSubdomain']='Main'
                
                
                        analyticsParameters['pageType']='Home'
                
                
                        analyticsParameters['experimentName_0']='MobileStoreBestFlow'
                
                
                        analyticsParameters['experimentVariant_0']='undefined'
                
                
                        analyticsParameters['experimentName_1']='GeneralExpExcludeUae'
                
                
                        analyticsParameters['experimentVariant_1']='undefined'
                
                
                        analyticsParameters['experimentName_2']='GeneralExpUae'
                
                
                        analyticsParameters['experimentVariant_2']='undefined'
                
                
                        analyticsParameters['pageLanguage']='en'
                
                
                        analyticsParameters['operator']='Plus500SG'
                
                
                        analyticsParameters['productType']='CFD'
                
            window.dataLayer.push({
                'event': 'pageMetaData',
                 ...analyticsParameters
            });
	</script>

	<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>





	<script type="text/javascript">
		(function(){function _vwo_err(e){var vwo_e=new Image;vwo_e.src="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:"")}try{(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')[1];h&&h.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%2Fen-kr%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})}_vwo_code.sT=_vwo_code.finished();(function(c,a,e,d,b,z,g){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","D0FD7D36179CA5AA74424805ABC8E03B8|cd45dca9fe0bc117d622ac93844f641a",document,window,0,_vwo_code.sT);
;clearTimeout(window._vwo_settings_timer);;;;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 ; if (_vwo_style) { 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:{138:{"ss":{"csa":0},"name":"New HP Mobile - Italy","metrics":[{"type":"m","id":1,"metricId":383699}],"version":4,"pg_config":["1366322"],"mt":{"1":"3057224"},"triggers":[7703888],"status":"RUNNING","combs":{"2":0.5,"1":0.5},"pc_traffic":100,"manual":false,"ep":1724751060000,"clickmap":0,"type":"VISUAL_AB","urlRegex":"","segment_code":"((_vwo_s().f_e(_vwo_s().dt(),'mobile') && _vwo_s().f_con(_vwo_s().qP('tags'),'2030594131') || _vwo_s().f_con(_vwo_s().qP('tags'),'87413102') || _vwo_s().f_con(_vwo_s().qP('tags'),'1011034262') || _vwo_s().f_con(_vwo_s().qP('tags'),'87412982')))","exclude_url":"","multiple_domains":0,"globalCode":{"post":"GL_697204_138_post","pre":"GL_697204_138_pre"},"comb_n":{"2":"Variation-2","1":"Control"},"ps":true,"pgre":true,"sections":{"1":{"path":"","variation_names":{"2":"Variation-2","1":"Control"},"triggers":[],"variations":{"2":[{"tag":"C_697204_138_1_2_0","rtag":"R_697204_138_1_2_0","xpath":".navbar"}],"1":[]},"segment":{"2":1,"1":1}}},"varSegAllowed":false,"ibe":0,"muts":{"post":{"enabled":true,"refresh":true}},"id":138,"goals":{"1":{"type":"CUSTOM_GOAL","mca":false,"identifier":"vwo_dom_click"}}}, 135:{"ss":{"csa":0},"name":"Sections Order Change","metrics":[{"type":"m","id":1,"metricId":383699}],"version":4,"pg_config":["1365599"],"mt":{"1":"3057224"},"triggers":[7700405],"status":"RUNNING","combs":{"2":0.25,"1":0.25,"4":0.25,"3":0.25},"pc_traffic":100,"manual":false,"ep":1724749040000,"clickmap":0,"type":"VISUAL_AB","urlRegex":"","segment_code":"((_vwo_s().f_con(_vwo_s().qP('tags'),'112833572') || _vwo_s().f_con(_vwo_s().qP('tags'),'1013271067') || _vwo_s().f_con(_vwo_s().qP('tags'),'165005012') || _vwo_s().f_con(_vwo_s().qP('tags'),'15130339863') || _vwo_s().f_con(_vwo_s().qP('tags'),'2076898526')))","exclude_url":"","multiple_domains":0,"globalCode":[],"comb_n":{"2":"SEO-Slider","1":"Control","4":"TrustPilot-2","3":"26-Millions-#2"},"ps":true,"pgre":true,"sections":{"1":{"path":"","variation_names":{"2":"SEO-Slider","1":"Control","4":"TrustPilot-2","3":"26-Millions-#2"},"triggers":[],"variations":{"2":[{"tag":"C_697204_135_1_2_0","rtag":"R_697204_135_1_2_0","xpath":"body > main:nth-of-type(1)"}],"1":[],"4":[{"tag":"C_697204_135_1_4_0","rtag":"R_697204_135_1_4_0","xpath":"body > main:nth-of-type(1)"}],"3":[{"tag":"C_697204_135_1_3_0","rtag":"R_697204_135_1_3_0","xpath":"body > main:nth-of-type(1)"}]},"segment":{"2":1,"1":1,"4":1,"3":1}}},"varSegAllowed":false,"ibe":0,"muts":{"post":{"enabled":true,"refresh":true}},"id":135,"goals":{"1":{"type":"CUSTOM_GOAL","mca":false,"identifier":"vwo_dom_click"}}}},plugins:{"GEO":{"conC":"AS","cEU":"","r":"27","c":"Osaka","cc":"JP","cn":"Japan","vn":"geoip2"},"DACDNCONFIG":{"CSHS":false,"DT":{"DELAYAFTERTRIGGER":1000,"DEVICE":"mobile","TC":"function(){ return _vwo_t.cm('eO','js',VWO._.dtc.ctId); };","SEGMENTCODE":"function(){ return _vwo_s().f_e(_vwo_s().dt(),'mobile') };"},"UCP":false,"SD":false,"SPA":true,"DONT_IOS":false,"AST":false,"RDBG":false,"BSECJ":false,"jsConfig":{"earc":1,"ast":0},"SCC":"{\"cache\":0}","CINSTJS":false,"CRECJS":false,"eNC":false,"IAF":false,"SPAR":false,"CKLV":false,"DNDOFST":1000,"PRTHD":false,"SST":false,"FB":false,"CJ":false},"LIBINFO":{"TRACK":{"HASH":"cbc7afdb9de74a3276cbe57de0460546br","LIB_SUFFIX":""},"OPA":{"PATH":"\/4.0","HASH":"6a1b913952218872a05f8fb698dce8adbr"},"SURVEY":{"HASH":"16a2268fae5e6fb64f99fbf81bab5778"},"WORKER":{"HASH":"70faafffa0475802f5ee03ca5ff74179br"}},"PIICONFIG":false,"UA":{"ps":"desktop:false:Windows:10:Chrome:127:Other","os":"Windows","dt":"desktop","br":"Chrome","de":"Other"},"IP":"64.176.38.40"},vwoData:{"gC":null},crossDomain:{},integrations:{},events:{"vwo_appTerminated":{},"vwo_appComesInForeground":{},"vwo_appLaunched":{},"vwo_networkChanged":{},"vwo_zoom":{},"vwo_dom_click":{"nS":["target","target.innerText"]},"vwo_scroll":{},"vwo_doubleTap":{},"vwo_newSessionCreated":{},"vwo_syncVisitorProp":{},"vwo_appCrashed":{},"vwo_screenViewed":{},"vwo_page_session_count":{},"vwo_rC":{},"vwo_analyzeRecording":{},"vwo_survey_surveyCompleted":{},"vwo_survey_submit":{},"vwo_survey_questionShown":{},"vwo_survey_complete":{},"vwo_survey_close":{},"vwo_survey_attempt":{},"vwo_customConversion":{},"vwo_surveyQuestionSubmitted":{},"vwo_pageView":{},"vwo_customTrigger":{},"vwo_dom_scroll":{"nS":["pxTop","pxBottom","bottom","top"]},"vwo_timer":{"nS":["timeSpent"]},"vwo_conversion":{},"vwo_variationShown":{},"vwo_leaveIntent":{},"register_event":{},"vwo_dom_submit":{},"vwo_revenue":{},"vwo_trackGoalVisited":{},"vwo_analyzeHeatmap":{},"vwo_analyzeForm":{},"vwo_survey_display":{},"vwo_surveyCompleted":{},"vwo_surveyQuestionDisplayed":{},"vwo_surveyAttempted":{},"vwo_surveyExtraData":{},"vwo_appGoesInBackground":{},"vwo_sessionSync":{},"vwo_surveyQuestionAttempted":{},"vwo_surveyDisplayed":{},"vwo_surveyClosed":{},"vwo_pageUnload":{},"vwo_errorOnPage":{},"vwo_autoCapture":{},"vwo_longPress":{},"vwo_fling":{},"vwo_singleTap":{},"vwo_appNotResponding":{},"vwo_vA":{},"vwo_survey_reachedThankyou":{},"vwo_survey_questionAttempted":{},"vwo_goalVisit":{"nS":["expId"]},"vwo_orientationChanged":{}},visitorProps:{},uuid:"D0FD7D36179CA5AA74424805ABC8E03B8",syV:{},syE:{},cSE:{},CIF:false,syncEvent:"sessionCreated",syncAttr:"sessionCreated"},triggers:{"7703888":{"dslv":2,"cnds":["a",{"event":"vwo_pageView","id":1006,"filters":{}},["o",{"event":"vwo_pageView","id":500,"filters":[["storage.cookies._vis_opt_exp_138_combi","nbl"]]},["a",{"id":2,"event":"vwo_mutationObserved"},{"event":"vwo_notRedirecting","id":4,"filters":{}},{"event":"vwo_visibilityTriggered","id":5,"filters":{}},["o",["a",{"event":"vwo_pageView","id":1000,"filters":[["deviceType","in",["mobile"]]]},{"event":"vwo_pageView","id":1001,"filters":[["queryParams.tags","cn","2030594131"]]}],{"event":"vwo_pageView","id":1002,"filters":[["queryParams.tags","cn","87413102"]]},{"event":"vwo_pageView","id":1003,"filters":[["queryParams.tags","cn","1011034262"]]},{"event":"vwo_pageView","id":1004,"filters":[["queryParams.tags","cn","87412982"]]}]]]]},"75":{"cnds":[{"id":99,"event":"vwo_urlChange"}]},"2":{"cnds":[{"id":100,"event":"vwo_variationShown"}]},"5":{"cnds":[{"id":101,"event":"vwo_postInit"}]},"8":{"cnds":[{"id":102,"event":"vwo_pageView"}]},"3057224":{"dslv":2,"cnds":[{"event":"vwo_dom_click","id":1000,"filters":[["event.targetUrl","pgc","1365593"]]}]},"7700405":{"dslv":2,"cnds":["a",{"event":"vwo_pageView","id":1006,"filters":{}},["o",{"event":"vwo_pageView","id":500,"filters":[["storage.cookies._vis_opt_exp_135_combi","nbl"]]},["a",{"id":2,"event":"vwo_mutationObserved"},{"event":"vwo_notRedirecting","id":4,"filters":{}},{"event":"vwo_visibilityTriggered","id":5,"filters":{}},["o",{"event":"vwo_pageView","id":1000,"filters":[["queryParams.tags","cn","112833572"]]},{"event":"vwo_pageView","id":1001,"filters":[["queryParams.tags","cn","1013271067"]]},{"event":"vwo_pageView","id":1002,"filters":[["queryParams.tags","cn","165005012"]]},{"event":"vwo_pageView","id":1003,"filters":[["queryParams.tags","cn","15130339863"]]},{"event":"vwo_pageView","id":1004,"filters":[["queryParams.tags","cn","2076898526"]]}]]]]},"9":{"cnds":[{"id":105,"event":"vwo_groupCampTriggered"}]}},tags:{R_697204_135_1_2_0:{ fn:function(log,nonce=''){return (function(x) {
if(!vwo_$.fn.vwoRevertHtml){
 return;
};
var el,ctx=vwo_$(x);
/*vwo_debug log("Revert","rearrange2",".seo-carousel-section"); vwo_debug*/(el=vwo_$('[vwo-rearrange-id="1724749265593"]')).vwoRevertRearrange(1724750541981,"body > main:nth-of-type(1)",7),el.vwoRevertCss();})("body > main:nth-of-type(1)")}}, C_697204_138_1_2_0:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("paste",".navbar > div:nth-of-type(1)"); vwo_debug*/!(el=vwo_$("html.vwo_p_s_532c28d5412dd75bf975fb951c740a30 .navbar > div:nth-of-type(1)")).parent().find('[vwo-op-1724761435803=""]').length&&el.after('<div class="main-banner-buttons button-group" vwo-element-id="1724761433253" style="background-color: rgb(12, 39, 128) !important; margin-top: 4px !important; opacity: 0.89 !important; background-image: none !important;" vwo-op-1724761435803=""> <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=it&amp;refurl=https%3a%2f%2fapp.vwo.com%2f&amp;innerTags=_cc_&amp;product=CFD&amp;IsRealMode=True&amp;ms=True" style="display: none !important;">Inizia a fare trading adesso</a> <a data-analytics="CTA_demo" target="_self" data-cta-name="start-trading-demo" class="button white-bg" href="https://app.plus500.com/trade?hl=it&amp;refurl=https%3a%2f%2fapp.vwo.com%2f&amp;innerTags=_cc_&amp;product=CFD&amp;IsRealMode=False&amp;ms=True" style="font-size: 22px !important; font-weight: 500 !important; line-height: 22px !important;">Fai trading</a> </div>'),el.vwoCss({transition:"none !important"}),(el=vwo_$("html.vwo_p_s_532c28d5412dd75bf975fb951c740a30 .btn-primary")).html("Fai trading"),el.vwoCss({transition:"none !important"}),(el=vwo_$("html.vwo_p_s_532c28d5412dd75bf975fb951c740a30 .navbar")).vwoCss({"padding-bottom":"0px !important"}),el.vwoCss({transition:"none !important"}),(el=vwo_$("html.vwo_p_s_532c28d5412dd75bf975fb951c740a30 .btn-primary")).vwoCss({display:"none !important"}),el.vwoCss({transition:"none !important"});})(".navbar")}}, R_697204_138_1_2_0:{ fn:function(log,nonce=''){return (function(x) {
if(!vwo_$.fn.vwoRevertHtml){
 return;
};
var el,ctx=vwo_$(x);
/*vwo_debug log("Revert","remove",".btn-primary"); vwo_debug*/(el=vwo_$("html.vwo_p_s_532c28d5412dd75bf975fb951c740a30 .btn-primary")).vwoRevertCss(),el.vwoRevertCss(),(el=vwo_$("html.vwo_p_s_532c28d5412dd75bf975fb951c740a30 .navbar")).vwoRevertCss(),(el=vwo_$("html.vwo_p_s_532c28d5412dd75bf975fb951c740a30 .btn-primary")).vwoRevertHtml(),el.vwoRevertCss(),(el=vwo_$('[vwo-element-id="1724761433253"]')).remove(),el.vwoRevertCss();})(".navbar")}}, GL_697204_138_pre:{ fn:function(VWO_CURRENT_CAMPAIGN, VWO_CURRENT_VARIATION,nonce = ""){try{var _vwoCurrentPageUrl=window.location.href,matchRegex=VWO._.matchRegex;vwo_$("[vwo-widget-id]").remove(),vwo_$("html").get(0).classList.forEach(a=>{var e=a.match(/(?:\s|^)(vwo_p_s_[0-9a-f]{32})(?:\s|$)/);e&&-1!=["vwo_p_s_532c28d5412dd75bf975fb951c740a30"].indexOf(e[1])&&vwo_$("html").removeClass(e[1])}),"mobile"===VWO._.allSettings.dataStore.plugins.UA.dt&&vwo_$("html").addClass("vwo_p_s_532c28d5412dd75bf975fb951c740a30");}catch(e){}}}, GL_697204_138_post:{ fn:function(VWO_CURRENT_CAMPAIGN, VWO_CURRENT_VARIATION,nonce = ""){}}, C_697204_135_1_3_0:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("rearrange2",".trade-section"); vwo_debug*/el=vwo_$(".trade-section"),vwo_$("body > main:nth-of-type(1)").not('[vwo-op-1724750542080=""]').length&&el.each((function(){vwo_$(this).find("script").remove();var o=vwo_$("body > main:nth-of-type(1)"),t=vwo_$("body > main:nth-of-type(1) > .regulatory");vwo_$(this).attr("vwo-rearrange-id",1724749983943),o.length&&o.attr("vwo-op-1724750542080",""),t.length?t.before(this):o.append(this)})),el.vwoCss({transition:"none !important"});})("body > main:nth-of-type(1)")}}, R_697204_135_1_4_0:{ fn:function(log,nonce=''){return (function(x) {
if(!vwo_$.fn.vwoRevertHtml){
 return;
};
var el,ctx=vwo_$(x);
/*vwo_debug log("Revert","remove","body > main:nth-of-type(1) > section:nth-of-type(6)"); vwo_debug*/(el=vwo_$("body > main:nth-of-type(1) > section:nth-of-type(6)")).vwoRevertCss(),el.vwoRevertCss(),(el=vwo_$('[vwo-element-id="1724750180533"]')).remove(),el.vwoRevertCss();})("body > main:nth-of-type(1)")}}, C_697204_135_1_4_0:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("paste",".regulatory"); vwo_debug*/!(el=vwo_$(".regulatory")).parent().find('[vwo-op-1724750542114=""]').length&&el.before('<section class="payment payment-section gs-why-us-section general-section gs-anim-target " data-section-name="payment" vwo-element-id="1724750180533" vwo-op-1724750542114=""> <figure aria-hidden="true" class="plus-bg plus-bg-large blue-gr" style="transform: translate(0%, 14.6887%) translate3d(0px, 0px, 0px) 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%, 25.5766%) translate3d(0px, 0px, 0px) rotate(-11.9999deg);"></figure> <figure aria-hidden="true" class="plus-bg plus-bg-large transparent" style="transform: translate(0%, 39.4645%) translate3d(0px, 0px, 0px) rotate(-11.9999deg);"></figure> <div class="trustpilot-bg gs-trustpilot-bg text-center lazyloaded"> <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>Bewertungen</span><span class="amount">+13K</span></p> <div class="trust-score"> <figure aria-hidden="true" class="item-icon"> <img loading="lazy" alt="" src="/image/plus500/trustpilot-stars.svg#great"> </figure> </div> <div class="quality">Großartig</div> </div> <div class="score"> <span>4,1</span> </div> </div></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%, 56.3523%) translate3d(0px, 0px, 0px) rotate(-11.9999deg);"></figure> <div class="blue-card-bg shadow-card flip full-height"></div> <h2 class="title-section white text-center"><strong>Warum 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: translate(0px, 0px); opacity: 1;"><img loading="lazy" alt="support" src="/image/plus500/icon-secure.svg"></figure> <div class="item-content"> <h3 class="item-title">Geschützt und sicher</h3> <div class="item-desc">Ihre Daten sind sicher und Ihre Gelder werden in Übereinstimmung mit den gesetzlichen Bestimmungen auf getrennten Bankkonten aufbewahrt.</div> </div> </article> </div> <div class="col-lg-6 column item-box"> <article class="item"> <figure aria-hidden="true" class="item-icon" style="transform: translate(0px, 0px); opacity: 1;"><img loading="lazy" alt="regulated" src="/image/plus500/icon-support.svg"></figure> <div class="item-content"> <h3 class="item-title">Professionelle Unterstützung</h3> <div class="item-desc">Erhalten Sie rund um die Uhr einen engagierten Kundenservice in mehreren Sprachen.</div> </div> </article> </div> <div class="col-lg-6 column item-box"> <article class="item"> <figure aria-hidden="true" class="item-icon" style="transform: translate(0px, 0px); opacity: 1;"><img loading="lazy" alt="secure" src="/image/plus500/icon-regulated.svg#cysec"></figure> <div class="item-content"> <h3 class="item-title">Reguliert</h3> <div class="item-desc">Plus500CY Ltd ist autorisiert und wird reguliert durch die Cyprus Securities and Exchange Commission (Licence&nbsp;No.&nbsp;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: translate(0px, 0px); opacity: 1;"><img loading="lazy" alt="reliable" src="/image/plus500/icon-reliable.svg#cysec"></figure> <div class="item-content"> <h3 class="item-title">Verlässlich</h3> <div class="item-desc">Plus500 Ltd ist ein FTSE 250-Unternehmen, das am Hauptmarkt der Londoner Börse für börsennotierte Unternehmen notiert ist.</div> </div> </article> </div> </div> </div> </div> </div> </section></section> <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="/image/plus500/visa.svg"> </figure> </div> <div class="col payment-brand"> <figure class="payment-brand-img"> <img loading="lazy" title="MasterCard" alt="MasterCard" src="/image/plus500/mastercard.svg"> </figure> </div> <div class="col payment-brand"> <figure class="payment-brand-img"> <img loading="lazy" title="PayPal" alt="PayPal" src="/image/plus500/paypal.svg"> </figure> </div> <div class="col payment-brand"> <figure class="payment-brand-img"> <img loading="lazy" title="Überweisung" alt="Überweisung" src="/image/plus500/wire.svg"> </figure> </div> <div class="col payment-brand"> <figure class="payment-brand-img"> <img loading="lazy" title="Skrill" alt="Skrill" src="/image/plus500/moneybookers.svg"> </figure> </div> <div class="col payment-brand"> <figure class="payment-brand-img"> <img loading="lazy" title="Sofortüberweisung" alt="Sofortüberweisung" src="/image/plus500/onlinebanking.svg"> </figure> </div> <div class="col payment-brand"> <figure class="payment-brand-img"> <img loading="lazy" title="Apple Pay" alt="Apple Pay" src="/image/plus500/applepay.svg"> </figure> </div> <div class="col payment-brand"> <figure class="payment-brand-img"> <img loading="lazy" title="Sofortuberweisung" alt="Sofortuberweisung" src="/image/plus500/sofortuberweisung.svg"> </figure> </div> </div> </div> </div> <div class="row justify-content-center disclaimer-zone"> <div class="col col-md-8"> * Plus500 bietet mehrere globale Zahlungsarten an. </div> </div></div> </section>'),el.vwoCss({transition:"none !important"}),(el=vwo_$("body > main:nth-of-type(1) > section:nth-of-type(6)")).vwoCss({display:"none !important"}),el.vwoCss({transition:"none !important"});})("body > main:nth-of-type(1)")}}, R_697204_135_1_3_0:{ fn:function(log,nonce=''){return (function(x) {
if(!vwo_$.fn.vwoRevertHtml){
 return;
};
var el,ctx=vwo_$(x);
/*vwo_debug log("Revert","rearrange2",".trade-section"); vwo_debug*/(el=vwo_$('[vwo-rearrange-id="1724749983943"]')).vwoRevertRearrange(1724750542080,"body > main:nth-of-type(1)",5),el.vwoRevertCss();})("body > main:nth-of-type(1)")}}, C_697204_135_1_2_0:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("rearrange2",".seo-carousel-section"); vwo_debug*/el=vwo_$(".seo-carousel-section"),vwo_$("body > main:nth-of-type(1)").not('[vwo-op-1724750541981=""]').length&&el.each((function(){vwo_$(this).find("script").remove();var o=vwo_$("body > main:nth-of-type(1)"),t=vwo_$("body > main:nth-of-type(1) > .regulatory");vwo_$(this).attr("vwo-rearrange-id",1724749265593),o.length&&o.attr("vwo-op-1724750541981",""),t.length?t.before(this):o.append(this)})),el.vwoCss({transition:"none !important"});})("body > main:nth-of-type(1)")}}},rules:[{"triggers":["7703888"],"tags":[{"data":"campaigns.138","id":"runCampaign","priority":4}]},{"triggers":["7700405"],"tags":[{"data":"campaigns.135","id":"runCampaign","priority":4}]},{"triggers":["3057224"],"tags":[{"id":"metric","data":{"type":"m","campaigns":[{"c":138,"g":1}]},"metricId":383699},{"id":"metric","data":{"type":"m","campaigns":[{"c":135,"g":1}]},"metricId":383699}]},{"triggers":["2"],"tags":[{"id":"runTestCampaign"}]},{"triggers":["75"],"tags":[{"id":"urlChange"}]},{"triggers":["5"],"tags":[{"id":"checkEnvironment"}]},{"triggers":["8"],"tags":[{"id":"groupCampaigns","priority":2},{"id":"prePostMutation","priority":3}]},{"triggers":["9"],"tags":[{"id":"visibilityService","priority":2}]}],pages:{"ec":[{"1365596":{"inc":["o",["url","urlReg","(?i).*"]]}}]},pagesEval:{"ec":[1365596]}}})();
;;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){if(!argument){argument={integrationName:"",getExperimentList:function(){},accountSettings:function(){},pushData:function(){}}}return function(){window.VWO=window.VWO||[];var sendDebugLogs=function(expId,variationId,isTimeout){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")};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(window._vwo_acc_id===744263){window.VWO._.customError&&window.VWO._.customError({msg:"callbackFn called",url:window.location.href,source:JSON.stringify({ev:data})})}if(!data)return;var expId=data[1],variationId=data[2],repeated=data[0],singleCall=0,debug=0;var experimentList=argument.getExperimentList();if(typeof argument.accountSettings==="function"){var accountSettings=argument.accountSettings();if(accountSettings){singleCall=accountSettings["singleCall"];debug=accountSettings["debug"]}}if(singleCall&&repeated==="vS"){return}if(expId&&variationId&&["VISUAL_AB","VISUAL","SPLIT_URL"].indexOf(_vwo_exp[expId].type)>-1){if(experimentList.indexOf(+expId)!==-1){var pollInterval=100;var currentTime=0;var timeout=6e4;var interval=setInterval((function(){currentTime=currentTime||performance.now();var toClearInterval=argument.pushData(expId,variationId);if(debug&&toClearInterval){sendDebugLogs(expId,variationId,false)}var isTimeout=performance.now()-currentTime>=timeout;if(isTimeout&&debug){sendDebugLogs(expId,variationId,true)}if(toClearInterval||isTimeout){clearInterval(interval)}}),pollInterval||100)}}};window.VWO.push(["onVariationApplied",callbackFn]);if(window._vwo_acc_id==744263){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)})}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 [135,138]},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 [135,138]},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":{"args":{"1":{}},"vn":1}}},as:"r2.visualwebsiteoptimizer.com",dacdnUrl:"https://dev.visualwebsiteoptimizer.com",accountJSInfo:{"ts":1725011256,"rp":30,"noSS":false,"pc":{"a":0,"t":0},"pvn":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/";var _vis_nc_lib=window._vwo_cdn+"edrv/nc-f8024d236e518ed2b276613b879f1968br.js";var loadNcLib=function(url){if(window._vwo_mt_l&&window._vwo_wt_l&&document.readyState==='complete'){_vwo_code.load(url, {dSC: true, onloadCb:function(xhr,a){if(xhr.status===200||xhr.status===304){_vwo_code.addScript({text:xhr.responseText});delete window._vwo_mt_l;delete window._vwo_wt_l;}else{gcpfb(a,loadNcLib,xhr.status)}},onerrorCb:function(a){gcpfb(a,loadNcLib)}});}};document.addEventListener("readystatechange",function(){if(document.readyState=="complete"){loadNcLib(_vis_nc_lib)}});;var loadWorker=function(url){_vwo_code.load(url,{dSC: true, onloadCb: function(xhr,a){window._vwo_wt_l=true;loadNcLib(_vis_nc_lib);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;loadNcLib(_vis_nc_lib);_vwo_code.finish("&e=loading_failure:"+a);}})};loadWorker("https://dev.visualwebsiteoptimizer.com/cdn/edrv/worker-6341a5dd3d454ad9bba410e4b4191846br.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=-1527a937b2ce2745f73cfc0f8d194f9b";_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-905a4f0b4437cee29d1a42ed80a4740fbr.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-1d707981b38b8218075e4ef854f8af54br.js":"edrv/va_gq-905a4f0b4437cee29d1a42ed80a4740fbr.js":"edrv/va_gq-905a4f0b4437cee29d1a42ed80a4740fbr.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;loadNcLib(_vis_nc_lib);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;loadNcLib(_vis_nc_lib);_vwo_code.finish("&e=loading_failure:"+a);}})};loadLib(_vis_opt_lib);;;;}}catch(e){_vwo_code.finish();_vwo_code.removeLoaderAndOverlay&&_vwo_code.removeLoaderAndOverlay();_vwo_err(e);window.VWO.caE=1}})();
	</script>
	<style>
		.dropdown-toggle:after {
			border-bottom: 0;
			border-left: unset !important;
			border-right: unset !important;
			border-top: unset !important;
			content: "";
			display: unset !important;
			margin-left: .255em;
			vertical-align: .255em;
		}
	</style>
	
<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%2Fplus500-ko.com%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-ko.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="D4A36E324F6C39803C2D23BF1F5F8FE21|bd715bf6cbbfd09d717d7453d9907f3e";
;_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-ko.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=[{"arg":{"time":"0"},"api":"modifyClickPauseTime"}];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:{153:{"ep":1730888876000,"clickmap":0,"urlRegex":"","status":"RUNNING","multiple_domains":0,"version":4,"type":"VISUAL_AB","name":"Event Tracking Test (Cloned)","id":153,"ibe":0,"muts":{"post":{"enabled":true,"refresh":true}},"manual":false,"ps":true,"varSegAllowed":false,"segment_code":"((_vwo_s().f_nin(_vwo_s().de(),'blackberry')))","pg_config":["1628529"],"exclude_url":"","mt":{"4":"9276048"},"pc_traffic":100,"metrics":[{"metricId":1043973,"id":4,"type":"m"}],"globalCode":[],"pgre":true,"sections":{"1":{"variation_names":{"1":"Control","2":"Variation-1"},"segment":{"1":1,"2":1},"variations":{"1":[],"2":[{"rtag":"R_697204_153_1_2_0","tag":"C_697204_153_1_2_0","xpath":".main-banner-slogan"}]},"triggers":[],"path":""}},"goals":{"4":{"identifier":"MainSite.FuturesRoleCreated","mca":false,"type":"CUSTOM_GOAL"}},"combs":{"1":0.5,"2":0.5},"comb_n":{"1":"Control","2":"Variation-1"},"triggers":[9334059],"ss":{"csa":0}}},plugins:{"LIBINFO":{"TRACK":{"HASH":"1293b58c06dd2e340d9bf20807db725cbr","LIB_SUFFIX":""},"SURVEY":{"HASH":"bf9bb4ff8e602137a6cdc3f1036d9953"},"WORKER":{"HASH":"70faafffa0475802f5ee03ca5ff74179br"},"OPA":{"HASH":"47430cb20feab54f88048cb70f0edceebr","PATH":"\/4.0"}},"UA":{"ps":"desktop:false:Windows:10:Chrome:119:Other","dt":"desktop","br":"Chrome","de":"Other","os":"Windows"},"IP":"104.28.154.61","GEO":{"vn":"geoip2","r":"MD","c":"Chamartin","cc":"ES","conC":"EU","cn":"Spain","cEU":"1"},"DACDNCONFIG":{"DONT_IOS":false,"CJ":false,"RDBG":false,"DNDOFST":1000,"jsConfig":{"earc":1,"ast":0},"DT":{"TC":"function(){ return _vwo_t.cm('eO','js',VWO._.dtc.ctId); };","SEGMENTCODE":"function(){ return _vwo_s().f_e(_vwo_s().dt(),'mobile') };","DELAYAFTERTRIGGER":1000,"DEVICE":"mobile"},"SD":false,"UCP":false,"SPA":true,"SST":false,"AST":false,"FB":false,"BSECJ":false,"CINSTJS":false,"CKLV":false,"CRECJS":false,"SCC":"{\"cache\":0}","eNC":false,"IAF":false,"SPAR":false,"PRTHD":false,"CSHS":false},"PIICONFIG":false},vwoData:{"gC":null},crossDomain:{},integrations:{},events:{"vwo_longPress":{},"vwo_fling":{},"vwo_scroll":{},"vwo_doubleTap":{},"vwo_singleTap":{},"vwo_appNotResponding":{},"MainSite.FuturesRoleCreated":{},"FuturesRoleCreated":{},"mainSiteFuturesRoleCreated":{},"register_event":{},"vwo_survey_surveyCompleted":{},"vwo_survey_submit":{},"vwo_surveyQuestionSubmitted":{},"vwo_survey_questionAttempted":{},"vwo_survey_display":{},"vwo_survey_complete":{},"vwo_survey_close":{},"vwo_survey_attempt":{},"vwo_customConversion":{},"vwo_revenue":{},"vwo_pageView":{},"vwo_customTrigger":{},"vwo_dom_scroll":{"nS":["top","bottom","pxTop","pxBottom"]},"vwo_leaveIntent":{},"vwo_conversion":{},"vwo_timer":{"nS":["timeSpent"]},"vwo_surveyCompleted":{},"vwo_surveyQuestionDisplayed":{},"vwo_pageUnload":{},"vwo_selection":{},"vwo_survey_reachedThankyou":{},"vwo_pageRefreshed":{},"vwo_dom_click":{"nS":["target","target.innerText"]},"vwo_survey_questionShown":{},"vwo_autoCapture":{},"vwo_rC":{},"vwo_page_session_count":{},"vwo_screenViewed":{},"vwo_appCrashed":{},"vwo_vA":{},"vwo_errorOnPage":{},"vwo_tabIn":{},"vwo_mouseout":{},"vwo_copy":{},"vwo_surveyExtraData":{},"vwo_recommendation_block_shown":{},"vwo_variationShown":{},"vwo_repeatedHovered":{},"vwo_repeatedScrolled":{},"vwo_tabOut":{},"vwo_trackGoalVisited":{},"vwo_newSessionCreated":{},"vwo_syncVisitorProp":{},"vwo_quickBack":{},"vwo_dom_submit":{},"vwo_cursorThrashed":{},"vwo_analyzeHeatmap":{},"vwo_analyzeRecording":{},"vwo_surveyAttempted":{},"vwo_analyzeForm":{},"vwo_surveyQuestionAttempted":{},"vwo_surveyDisplayed":{},"vwo_surveyClosed":{},"vwo_goalVisit":{"nS":["expId"]},"vwo_orientationChanged":{},"vwo_appTerminated":{},"vwo_appComesInForeground":{},"vwo_appGoesInBackground":{},"vwo_appLaunched":{},"vwo_networkChanged":{},"vwo_sessionSync":{},"vwo_zoom":{}},visitorProps:{},uuid:"D4A36E324F6C39803C2D23BF1F5F8FE21",syV:{},syE:{},cSE:{},CIF:false,syncEvent:"sessionCreated",syncAttr:"sessionCreated"},triggers:{"8":{"cnds":[{"event":"vwo_pageView","id":102}]},"9":{"cnds":[{"event":"vwo_groupCampTriggered","id":105}]},"2":{"cnds":[{"event":"vwo_variationShown","id":100}]},"9276048":{"cnds":[{"event":"MainSite.FuturesRoleCreated","id":1000,"filters":{}}],"dslv":2},"9334059":{"cnds":["a",{"event":"vwo_pageView","id":1002,"filters":{}},["o",{"event":"vwo_pageView","id":500,"filters":[["storage.cookies._vis_opt_exp_153_combi","nbl"]]},["a",{"event":"vwo_mutationObserved","id":2},{"event":"vwo_notRedirecting","id":4,"filters":{}},{"event":"vwo_visibilityTriggered","id":5,"filters":{}},{"event":"vwo_pageView","id":1000,"filters":[["deviceName","nin",["blackberry"]]]}]]],"dslv":2},"5":{"cnds":[{"event":"vwo_postInit","id":101}]},"75":{"cnds":[{"event":"vwo_urlChange","id":99}]}},tags:{C_697204_153_1_2_0:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x);
/*vwo_debug log("editElement",".main-banner-slogan"); vwo_debug*/(el=vwo_$(".main-banner-slogan")).vwoCss({"font-weight":"400 !important"}),el.vwoCss({transition:"none !important"});})(".main-banner-slogan")}}, R_697204_153_1_2_0:{ fn:function(log,nonce=''){return (function(x) {
if(!vwo_$.fn.vwoRevertHtml){
 return;
};
var el,ctx=vwo_$(x);
/*vwo_debug log("Revert","editElement",".main-banner-slogan"); vwo_debug*/(el=vwo_$(".main-banner-slogan")).vwoRevertCss();})(".main-banner-slogan")}}},rules:[{"triggers":["9276048"],"tags":[{"metricId":1043973,"id":"metric","data":{"campaigns":[{"g":4,"c":153}],"type":"m"}}]},{"triggers":["9334059"],"tags":[{"data":"campaigns.153","id":"runCampaign","priority":4}]},{"triggers":["8"],"tags":[{"id":"prePostMutation","priority":3},{"priority":2,"id":"groupCampaigns"}]},{"triggers":["9"],"tags":[{"id":"visibilityService","priority":2}]},{"triggers":["2"],"tags":[{"id":"runTestCampaign"}]},{"triggers":["75"],"tags":[{"id":"urlChange"}]},{"triggers":["5"],"tags":[{"id":"checkEnvironment"}]}],pages:{"ec":[{"1619118":{"inc":["o",["url","urlReg","(?i).*"]]}}]},pagesEval:{"ec":[1619118]}}})();
;;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(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(){if(expList.indexOf(expId)!==-1){clearInterval(interval);return}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 [153,154]},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 [153,154]},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":1731093267,"noSS":false,"pc":{"a":0,"t":0},"pvn":0,"rp":30}};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=["154"];window._VWO.dcdnUrl="/dcdn/settings.js";window.VWO.sTs=1730986800;window._VWO._vis_nc_lib=window._vwo_cdn+"edrv/nc-f31668dc6968e1c3808516d897d94f2abr.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-61467e04a92164b183fd66c25c8dd0c7br.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=-16b31e0774f5ec19c0c393aeaac51536";_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-e5a20a7802187ef846e5fdda2f66726dbr.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-9a44f19b57fc6b0ee07108bbff110eabbr.js":"edrv/va_gq-e5a20a7802187ef846e5fdda2f66726dbr.js":"edrv/va_gq-e5a20a7802187ef846e5fdda2f66726dbr.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";function e(){return"function"==typeof Array.prototype.toJSON}var t,n,o,i,r,s,a;window.VWO=window.VWO||[],window.VWO.v="7.0",window.VWO.v_e="ce1eb1f72",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)&&(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._.enableInternalJSONStringify=e(),window.JSONStringify=window.VWO._.enableInternalJSONStringify?function(...e){const t=Array.prototype.toJSON;delete Array.prototype.toJSON;const n=window.JSON.stringify.call(this,...e);return Array.prototype.toJSON=t,n}:window.JSON.stringify,function(e){e.DOM="vwo_dom"}(t||(t={})),function(e){e.WILD_CARD="*",e.TRIGGER="trigger",e.POST_INIT="post-init",e.TIMER="vwo_timer"}(n||(n={})),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"}(o||(o={})),function(e){e.PAGE_VIEW="vwo_pageView",e.PAGE_UNLOAD_EVENT="vwo_pageUnload"}(i||(i={})),function(e){e.EXIT_CONDITIONS="__exitConditions"}(r||(r={})),function(e){e.DOM_CONTENT_LOADED="DOMContentLoaded",e.SCROLL="scroll",e.CLICK="click",e.SUBMIT="submit"}(s||(s={})),function(e){e[e.DEBUG=0]="DEBUG",e[e.INFO=1]="INFO",e[e.WARN=2]="WARN",e[e.ERROR=3]="ERROR"}(a||(a={}));class c{constructor(e){this.setLevel(e)}setLevel(e="warn"){this.logLevel=a[e.toUpperCase()]}info(e,t={}){this.customLog(a.INFO,e,t)}debug(e,t={}){this.customLog(a.DEBUG,e,t)}warn(e,t={}){var n,o;this.customLog(a.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(a.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 a.INFO:console.info(...t);break;case a.WARN:console.warn(...t);break;case a.ERROR:console.error(...t);break;default:console.log(...t)}}formatMessage(e,n,o){var i,r;const c=Object.keys(o).reduce(((e,t)=>e.replace(new RegExp(`{{${t}}}`,"g"),o[t])),n),d=`${t.DOM}_`;let l=o;const u=(null===(i=o.data)||void 0===i?void 0:i.vwoEventName)||o.vwoEventName;return u!==d+s.CLICK&&u!==d+s.SUBMIT||(l=o.data?null===(r=o.data)||void 0===r?void 0:r.props:l.props,l=l||{name:u}),`VWO: [${a[e].toUpperCase()}] [${(new Date).toUTCString()}] ${c} ${JSON.stringify(l)}`}}var d=new c("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 l(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 u=function(...e){window.fetcher.getValue("VWO._.triggerEvent",e)};var w={PARSE_TLD:"pTLD"},_=["co","org","com","net","edu","au","ac"];function h(e){var t,n=e.split("."),o=n.length,i=n[o-2];return i&&_.includes(i)?(t=n[o-3]+"."+i+"."+n[o-1],u(w.PARSE_TLD,e,t),t):(t=i+"."+n[o-1],u(w.PARSE_TLD,e,t),t)}const g={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",v=window._vwo_evq;const f=window._vwo_ev=window._vwo_ev||function(...e){if(!e[0])throw new Error("Invalid Event:"+e[0]);e[0]!==p?v.push([].slice.call(arguments)):v.unshift([p])};let O;window.VWO._.triggerEvent=window._vwo_ev;const m={get:e=>{try{return window.localStorage.getItem(e)}catch(e){return""}},set:(e,t)=>{try{return O._setItem(e,t)}catch(e){return""}},remove:e=>{try{return O._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 E(e){O=e}let S;function C(e){S=e}function T(e){window.VWO=null!=e?e:S}window.VWO._.localStorageService=m;const y=window.VWO._&&window.VWO._.customError||function(){},I=window.encodeURIComponent,A=window.decodeURIComponent,N=function(e){return btoa&&S._.ac&&S._.ac.bsECJ?btoa(e):I(e)},V=function(e){if(atob)try{return atob(e)}catch(e){}return A(e)},b=m.set,R=m.get,L=window.clearTimeout,W=window.setTimeout,P=Math.floor,x=Math.pow,D="(",U=")",k="_vis_opt_",M="_vwo_",G="_vis_",F=864e5,$=31536e6,j={[k+"out"]:0,[k+"exp_*_combi"]:10,[k+"exp_*_combi_choose"]:11,[k+"exp_*_goal_*"]:12,[k+"exp_*_exclude"]:13,[k+"exp_*_split"]:14,[k+"test_cookie"]:20,[k+"s"]:21,[M+"ds"]:22,[M+"sn"]:23,[M+"referrer"]:24,[M+"uuid"]:30,[M+"uuid_*"]:31,[M+"uuid_v2"]:32,[M+"app_version_*_*"]:40,[G+"preview_*"]:41,[G+"editor"]:42,[G+"heatmap_*"]:43};let B;for(const e in j)j[e]=Q(j[e]),j["debug"+e]="d"+j[e];function H(){for(var e=document.cookie.split(/; ?/),t={},n=0;n<e.length;n++){var o=e[n].split("=");try{const e=A(o[0]);let n;n="_vwo"===e?V(o[1]):A(o[1]),t[e]=n}catch(e){}}return t}function K(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||W((()=>{n=t=void 0}),1),t=t||e())}let q=J(H);function Y(e){return q()[A(e)]}function X(e,t,n,o=4e12){t="_vwo"===e?N(t):I(t);let i=I(e)+"="+t+"; ";n&&(i+="domain="+n+"; "),"_vwo"===e&&(o=Date.now()+$),o&&(i+="expires="+new Date(o).toUTCString()+"; "),i+="path=/",window.VWO._=window.VWO._||{},window.VWO._.ss&&(i+="; secure; samesite=none; Partitioned;"),document.cookie=i,q=J(H)}function z(){q=J(H)}function Q(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=P(e/64)}return t||e+""}function Z(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*x(64,n++),e=e.slice(0,-1)}return t}function ee(e,t){return!e||"number"!=typeof e[2]||Date.now()>t+e[2]*F}class te{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||""),B=Z(this.getInJar("ts")||"0")||Date.now(),this.setInJar("ts",Q(B),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]];K(o[0])&&!i&&(this.setInJar(A(o[0]),A(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 ee(n,B)?(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 ee(t,B)}setInJar(e,t,n){return e=this.mapKey(e),this.cookies[e]=[e,t,n+(Date.now()-B)/F],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?U:"")+this.encodeCookie(...n)}if("custom"===this.cookieStorageStrategy)return z(),e=N(e),void this.strategyConfig.callback(e);"ls"!==this.cookieStorageStrategy&&"both"!==this.cookieStorageStrategy||b(this.jarName,e),"cookie"!==this.cookieStorageStrategy&&"both"!==this.cookieStorageStrategy||X(this.jarName,e,this.domain)}getStoredJarValue(e){let t="";for(const e in this.cookies){const n=this.cookies[e];t+=(t?U:"")+this.encodeCookie(...n)}return e?N(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(U);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=V(this.strategyConfig.cookieJarValue):"ls"===this.cookieStorageStrategy?e=R(this.jarName):"cookie"===this.cookieStorageStrategy?e=Y(this.jarName):"both"===this.cookieStorageStrategy&&(e=Y(this.jarName)||R(this.jarName)),e=e||"";const t=e.split(U);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}${Q(P(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],Z(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 y({msg:o,url:"cookie-jar.js",lineno:257,colno:26,source:I(o)})}}mapKey(e){if(j[e])return j[e];const t=/([0-9]+)/g,n=e.replace(t,"*");if(j[n]){const o=e.match(t)||[];return j[n]+"*"+o.map(Q).join("*")}return e}unmapKey(e){const t=e.split("*"),n=t[0];let o="";for(const e in j)if(j[e]===n){o=e;break}for(let e=1;e<t.length;e++)o=o.replace("*",""+Z(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]*F+B)]: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=Y(e);return!t&&i&&this.setInJar(e,"",-1),t}if(this.backwardCompatible){const o=Y(e);return o&&n?void X(e,"",this.domain,-1):(!t||!i||"ts"===e||o&&o!==i||X(e,i,this.domain,B+r*F),o||!i||t||"ts"===e?(o&&i&&o!==i&&this.setInJar(e,o,r-(Date.now()-B)/F),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*F,X(e,t,this.domain,o)}this.cookieSyncUrl&&(L(this.cookieSyncTimeout),this.cookieSyncTimeout=W((()=>{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 ne={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 oe extends te{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 ie=ne.primary({src:"VWO.modules.vwoUtils.cookies.CookieJar",dest:"VWO.modules.vwoUtils.cookies.CookieJar"},oe);function re(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}window.VWO.modules.vwoUtils.cookies.CookieJar=ie;var se={},ae;function ce(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 de(e,t){se.queue=se.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 se.queue.push({eventName:e,data:t});se.queue.push({eventName:e,data:t});const i=se.queue.splice(0);for(var r of i)ce(r.eventName,r.data)}window.VWO.modules.vwoUtils.utils={customEvent:de},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"}(ae||(ae={}));const le={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",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:"vwo_executed",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"};class ue{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(g.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(le.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(le.COOKIE_CONSENT_ACCEPTED,(()=>{e.savedCalls&&(this.syncSaved(e.savedCalls),delete e.savedCalls),this.processQueue(),!e.preview&&this.triggerEvent(le.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},le.REGISTER_CONVERSION)}}handlePreviewMode(e){e.hT&&window.VWO.phoenix&&window.VWO.phoenix('on("${{1}}", "${{2}}")',null,{captureGroups:[le.URL_CHANGED,()=>{window.fetcher.setValue("VWO.consentMode.goalLogs",[])}]}),this.setupConsentTimeoutListener(e),this.setupConsentAcceptedListenerForPreview(e),this.setupConsentRejectedListenerForPreview(e)}setupConsentTimeoutListener(e){window.VWO._.phoenixMT.on(le.COOKIE_CONSENT_TIMEOUT,(()=>{this.triggerEvent(le.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(le.COOKIE_CONSENT_ACCEPTED,(()=>{this.triggerEvent(le.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(le.COOKIE_CONSENT_REJECTED,(()=>{this.triggerEvent(le.COOKIE_CONSENT_REJECTED),window.fetcher.setValue("VWO.consentMode.dT",!0)}))}handleConsentRejected(){window.VWO._.phoenixMT.on(le.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===le.VARIATION_SHOWN&&this.saveForSync(i,r),null==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:le.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(le.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:le.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,t){t=JSON.parse(t).d;let n=this.getSyncDataFromConsentCookie(),o=n?this.decodeData(n):{};const i={rU:t.event.props.page.referrerUrl,u:t.event.props.page.url,t:t.event.props.page.title},r={sId:t.sessionId,mId:t.msgId,p:i,id:t.event.props.id},s=Object.assign(Object.assign({},o),{[t.event.props.variation]:r});let a=this.encodeData(s);this.updateConsentCookie(a)}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 we=function(){const e=window.VWO.consentMode;return!!e&&!!e.dT},_e=new ue;window.VWO.modules.utils.consentModeUtils=_e;const{toString:he}=Object.prototype;function ge(e){return"[object Object]"===he.call(e)}function pe(e){return"[object Array]"===he.call(e)}function ve(e){return"[object Null]"===he.call(e)}function fe(e){return"[object Undefined]"===he.call(e)}function Oe(e){return!fe(e)&&!ve(e)}function me(e){return!Number.isNaN(e)&&"[object Number]"===he.call(e)}function Ee(e){return"[object String]"===he.call(e)}let Se=!1;function Ce(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=Ce(e);t&&this.pop_front(),this.operations.forEach((e=>{n[e.name]=e.value}));return Object.entries(n).map((e=>e.join("="))).join("; ")}}class ye{static internalUtils(){var e,t;return{isCookiePayloadObject:e=>!(!ge(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(!ye.internalUtils().isCookiePayloadObject(t))return void console.error("Invalid value type!");const{value:n,fromThread:o}=t;let{origin:i}=t,r=!0;return(ye.internalUtils().isCurrentContextMT||"MAIN"===o)&&(document.__cookie=n,r="MAIN"!==o),r&&e({type:"sync",data:{propertyName:"cookie",value:{value:ye.internalUtils().isCurrentContextMT?document.__cookie:n,fromThread:ye.internalUtils().isCurrentContextMT?"MAIN":"WORKER",origin:Se?"WORKER":i}},syncType:ae.Document}),!0}}}function Ie(e){if(!ye.internalUtils().isCookiePayloadObject(e))return void console.error("Invalid value type!");const{value:t}=e;if(window.VWO.consentMode){if(we())return;let e=t.split("=");if(_e.deferOnConsent("handlerForReqFromWT",null,null,null,e[0],e[1],t))return}Se=!0,document.cookie=t,Se=!1}let Ae={};{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=(ye.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:ye.internalUtils().isCurrentContextMT?"MAIN":"WORKER",origin:e}},syncType:ae.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:JSONStringify(t)});if(window.VWO.consentMode){if(we())return;let n=t.split("=");if(_e.deferOnConsent("applySyncRequest",this,null,null,n[0],n[1],e))return}document.cookie=t,this.syncCookieToWorkerThread("WORKER")}}Ae=new e}var Ne=window._vwo_exp||{},Ve,be=window._vwo_acc_id,Re=[],Le=0,We,Pe=!1,xe=function(){for(var e=0;e<Re.length;e++)Re[e].d||(Re[e].c(),Re[e].d=!0)};function De(){return window._vis_debug}function Ue(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 ke={domain:void 0,_create:function(e,t,n,o,i,r,s){var a,c;De()&&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=ke.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&&!Pe&&(this.create(e,"",!1,o,1,r,!0),Pe=!0)):document.cookie=w},create:function(e,t,n,o,i,r,s){this._create(e,t,n,o,i,r,s),Ae.syncCookieToWorkerThread(),f(g.SET_COOKIE,e,t,n,i),de("meta",{ckName:e,ckValue:t,ckDays:n,ckExpiryTs:i})},get:function(e,t,n){var o;e=e.trim(),!n&&De()&&(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]),f(g.GET_COOKIE,e,o),o},erase:function(e,t,n){this.create(e,"",!1,t,1,n),f(g.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 ie("_vwo_third_party",ke.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:Ne[i].multiple_domains),"_vwo"!==e&&this._create(e,t,n,o),De()&&0!==e.indexOf("debug")&&(e="debug"+e),!((l=window.vwo_$)&&i&&u||r||"_vwo"===e))return void f(g.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),--Le||xe()})),Le++;const w=window._vwo_server_url||"https://dev.visualwebsiteoptimizer.com";c=w+"/ping_tpc.php?account="+be+"&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="+be+"&name="+encodeURIComponent(e)+"&value="+encodeURIComponent(t)+"&days="+n+"&random="+Math.random()},null,xe,!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()),f(g.SET_COOKIE,e,t,n,i,!0)},waitForThirdPartySync:function(e){return l(this,void 0,void 0,(function*(){window.mainThread?Re.push({c:e}):yield window.fetcher.getValue('VWO._.cookies.waitForThirdPartySync("${{1}}")',null,{captureGroups:[e]})}))},setJar(e){window.VWO._.jar=We=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(ke.getAll());for(let e=0;e<o.length;e++)if(n.test(o[e]))return 1;return 0}};var Me;window.VWO._.cookies=ke;const Ge={init:function(){Me=ke.get("_vwo_referrer"),ke.erase("_vwo_referrer"),"string"!=typeof Me&&(Me=document.referrer)},get:function(){return-1!==location.search.search("_vwo_test_ref")?document.referrer:Me},set:function(){ke.create("_vwo_referrer",Me,18e-5)}};window.VWO.modules.vwoUtils.referrer=Ge;const Fe={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||h(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:Fe.pageTitle,url:Fe.currentUrl,referrerUrl:Ge.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 $e;function je(e){if(!e)return e;try{e=window.decodeURIComponent(e)}catch(e){}return e}const Be=function(){if(void 0!==$e)return $e;const e=[],t=window.VWO._.allSettings.dataStore.campaigns;let n,o;for(let n in t)e.push(n);return $e=!!(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=je(n[2])])&&o),$e},He="lT",Ke="sT",Je="ivp",qe="ca",Ye=10,Xe="custom",ze=function(){},Qe=[739074,714884,708439,765649],Ze={VS_DATA:"vwoVsData"},et="vwoStandardTrigger",tt={get campaignCookies(){return new RegExp("^_vis_opt_exp_(\\d+)_.*$")},get uuidCookie(){return new RegExp("^_vwo_uuid_(\\d+)")}};var nt=parseInt(+new Date/1e3,10),ot,it=function(){return ot||(ot=window.VWO.data.ts||nt)};const rt=Object.keys;function st(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}function at(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 ct(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 dt(e,t){for(var n=this.getKeys(t),o=0;o<n.length;o++)e.setAttribute(n[o],t[n[o]])}function lt(e){return/^(https?:\/\/|\/\/)/.test(e)}function ut(e,t){for(var n=[],o=0;o<e.length;o++)n.push(t(e[o]));return n}function wt(e,t){for(var n=[],o=0;o<e.length;o++)t(e[o],o)&&n.push(e[o]);return n}function _t(e){var t=it();return e?t:1e3*t+ +new Date%1e3}function ht(e){var t=it(),n=parseInt(+new Date/1e3,10)-nt;return e?t+n:1e3*(t+n)+ +new Date%1e3}function gt(){return(new Date).getTimezoneOffset()/60}function pt(e,t){var n=!1;return function(){n||(e.call(),n=!0,setTimeout((function(){n=!1}),t))}}function vt(e,t){var n=!1;return function(...o){n||(n=!0,setTimeout((()=>{n=!1,e.apply(this,o)}),t))}}function ft(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 Ot=0;const mt={};function Et(e,t){const n=++Ot;mt[n]={executeCallback:()=>{delete mt[n],e()},animationFrameId:null,timeOutId:null};const o=function(){return window.setTimeout((()=>{mt[n]&&(null!==mt[n].animationFrameId&&cancelAnimationFrame(mt[n].animationFrameId),mt[n].executeCallback())}),1e3/60)},i=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||o;t||S&&S._&&S._.ac&&S._.ac.aSP?(mt[n].animationFrameId=i((()=>{mt[n]&&(null!==mt[n].timeOutId&&clearTimeout(mt[n].timeOutId),mt[n].executeCallback())})),o!=i&&(mt[n].timeOutId=o())):e()}function St(){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 Ct(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?Ct(n.slice(1),i):i}{const o=(e=i||e).lastIndexOf(".");if(-1===o)return;const r=e.substring(0,o);return Ct(r,t,e.substring(o)+n)}}catch(e){}}function Tt(e,t){return e.length>t?e.slice(0,t-1)+"...":e}function yt(e){return e?Math.round(100*e)/100:0}function It(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function At(){}try{At.prototype=Object.create(Array.prototype),Object.defineProperty(At.prototype,"clear",{value:void 0,writable:!0,enumerable:!1})}catch(e){}var Nt=Object.freeze({__proto__:null,getKeys:rt,extend:st,forEach:at,arrayContains:ct,setAttrs:dt,isAbsoluteUrl:lt,map:ut,filter:wt,getServerStartTimestamp:_t,getCurrentTimestamp:ht,getTimeZoneOffset:gt,throttle:pt,throttle2:vt,debounce:ft,processCallbackInRequestAnimationFrame:Et,getdLName:St,getVariableValue:Ct,truncateData:Tt,roundNumber:yt,isObject:It,ArrayPrototypeCopy:At});const Vt=/:nth-parent\((\d+)\)$/,bt=/[A-Za-z1-9]*?:tm\(["']([\s\S]*?)["']\)(?:\:nth-parent\(\d\))?/,Rt=e=>e.indexOf(":tm(")>-1,Lt=e=>!!Rt(e),Wt=e=>{const t=e.match(Vt)||[];if(t.length<2)return;const n=+t[1];return isNaN(n)?void 0:n};function Pt(){const e={};return function(t){if(e[t])return e[t];if(Rt(t)){const{targetElement:n,targetText:o,ancestorLevelCount:i,childSel:r}=(e=>{const t=e.match(bt)||[e],n=t[0],[o]=e.split(":tm("),i=t[1],r=Wt(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 xt=Pt(),Dt={};function Ut(e){if(Array.isArray(Dt[e]))return Dt[e];const t=e.split("<vwo_sep>");return 1===t.length?Dt[e]=[{sel:e,isTxtSel:!0}]:Dt[e]=t.map((e=>({sel:e.trim(),isTxtSel:Lt(e)})))}const kt=e=>"number"==typeof e,Mt=(e,t)=>!(!e||e.sel!==t),Gt=(e,t)=>kt(e)&&e===t,Ft=({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||Gt(n,t.d),c=!o&&!t.cd||Mt(t.cd,o);if(a&&c)return t}return null},$t=e=>{const t=Ut(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=xt(e.sel),i=Ft(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},jt=()=>{window.VWO._.txtCfg&&window.VWO._.txtCfg.mp&&window.fetcher.setValue("window.VWO._.txtCfg.mp",window.VWO._.txtCfg.mp)};class Bt{constructor(){this.uuid="",this.TPJarExpiry=730,this.preview=Be,this.hideElExpression="{opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;}"}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"ANALYSIS"===e||"SURVEY"===e||"ANALYZE_RECORDING"===e||"ANALYZE_HEATMAP"===e||"ANALYZE_FORM"===e||"TRACK"===e||"FUNNEL"===e}isSessionBasedCampaign2(e){const t=e.type;return"ANALYZE_RECORDING"===t||"ANALYZE_HEATMAP"===t||"ANALYZE_FORM"===t||"TRACK"===t||"FUNNEL"===t}isBot2(){return 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[Je]}shouldTrackUserForCampaign(e){return"number"==typeof e&&(e=window._vwo_exp[e]),!e||!window._vwo_code||!window._vwo_code[He]&&!window._vwo_code[Ke]||(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 le.DOM_CLICK:t="CLICK_ELEMENT";break;case le.DOM_SUBMIT:t="FORM_SUBMIT";break;case le.PAGE_UNLOAD:t="PAGE_UNLOAD"}}else{switch(n.cnds[1].event){case le.DOM_SUBMIT:case le.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!Be()&&(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,"")),Lt(r)?n+=$t(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=rt(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)),jt(),t}}const Ht=window.VWO.TRACK_SESSION_COOKIE_EXPIRY_CUSTOM||1/48,Kt={TRACK_GLOBAL_COOKIE_NAME:"_vwo_ds",TRACK_SESSION_COOKIE_NAME:"_vwo_sn",TRACK_SESSION_COOKIE_EXPIRY:Ht,SESSION_TIMER_EXPIRE:60*Ht*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 Jt(){return Math.min(window.VWO.TRACK_GLOBAL_COOKIE_EXPIRY_CUSTOM||window.VWO.data.rp||90,90)}const qt=window.JSON&&window.JSON.parse||function(e){return new Function("return "+e)()},Yt=window.JSON&&window.JSONStringify||function(e){return new Function("return "+e)()};var Xt=Object.freeze({__proto__:null,jsonParse:qt,jsonStringify:Yt});class zt{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 Qt=new zt;const Zt={state:{}},en=e=>e&&"object"==typeof e&&!Array.isArray(e),[tn,nn]=function(){let e={};return window.VWO._.phoenixMT.on("vwo_urlChangeMt",(()=>{e={}})),[(t,n)=>{e[t]=e[t]||{},e[t][n]=!0},(t,n)=>en(e[t])&&!!e[t][n]]}();function on({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 rn(){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 sn=rn();function an(e){en(e)&&Object.assign(Zt.state,e)}function cn(e){window.fetcher.getValue('window.VWO.modules.utils.tagExecutor.fireTagEvaluatedEvent("${{1}}")',null,{captureGroups:[e]})}function dn(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&&(sn.attach(),sn.fireEventOnMutation(`vwo_mutObs.${i}`));const s=on({triggerId:i,eventName:le.CAMPAIGN_UNLOADED});if((!i||Zt.state[i])&&!s)return r();nn(e.tag,i)||(tn(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 ln(e){if("object"!=typeof e)return'"'+e+'"';let t="";try{const n=rt(e);let o=n.length;for(;o--;){const i=n[o];t+='"'+i+'":'+ln(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 un(e,t){let n=!1;return function(){n||(e.call(this,arguments),n=!0,setTimeout((function(){n=!1}),t))}}function wn(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 _n(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 hn(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(S&&S._&&S._.ac&&S._.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 c=t.opId,l=e=>{c&&(e?n[c]=e:delete n[c])},u=()=>{l("sw-attached");const n=n=>{S.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||g()||s||(n=!0,t.sw.executed=!1),!t.sw.executed&&w(n),t.sw.executed=!0,s=!1}]})};"string"==typeof t.sw.p_dsl?S.phoenix(`settings.currentSettings.triggers.${t.sw.p_dsl}`).then((e=>{e?(e.cnds=Qt.modifyTriggerConditions(e.cnds,(e=>(!ge(e)||"vwo_pageView"!==e.event&&"vwo_session"!==e.event||(e.persistState=!0),e))),on({triggerObj:e,eventName:le.DOM_CLICK})&&(a=!0),n(e)):d.error(`Trigger for show when p_dsl ${t.sw.p_dsl} not found.`)})):n(t.sw.p_dsl),S.phoenix('trigger("${{1}}")',null,{captureGroups:[`widget-${t.id}-sw-ready`]})},w=n=>{this[t.position](t.html),l(),t.js&&(S.phoenix('on("${{1}}", "${{2}}")',null,{captureGroups:[t.js.p_dsl,()=>{}]}),S.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&&(S.phoenix('on("${{1}}", "${{2}}")',null,{captureGroups:[t.hw.p_dsl,()=>{let n=m.get(i);n&&(n=qt(n),n.d=1,m.set(i,ln(n))),(t=>{e(t).remove()})(`#vwo-widget-${t.id}`)}]}),S.phoenix('trigger("${{1}}")',null,{captureGroups:[`widget-${t.id}-hw-ready`]})),a&&(o[`vwo_domClicked.${t.id}`]=()=>{s=!1})},_=()=>{let e=m.get(`vwo_w_${t.id}`);if(e){e=qt(e);for(const t in e)switch(t){case"v":e[t]=parseInt(e[t])+1;break;case"l_ts":e[t]=Date.now()}m.set(`vwo_w_${t.id}`,ln(e))}else h(e)},h=e=>{!e&&(e=m.get(`vwo_w_${t.id}`)),e||m.set(`vwo_w_${t.id}`,ln(t.sks))},g=()=>{t.sks&&h();let e=m.get(`vwo_w_${t.id}`);return!!e&&(e=qt(e),1==e.d)};return t&&this.length&&t.position&&!g()&&(t.rec?(l("rec-attached"),S.phoenix('on("${{1}}", "${{2}}")',null,{captureGroups:[t.rec.p_dsl,()=>{l("rec-executed"),t.sw?u():w()}]}),S.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=S.queue||S;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;m.set(`_vwo_track_data_${window._vwo_acc_id}`,ln(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),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:an};const gn=(e,t)=>{for(;--t>=0&&e.parentElement;)e=e.parentElement;return t<0?e:null};function pn(){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=Ut(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=xt(i[0].sel),{targetElement:d,targetText:l,ancestorLevelCount:u,childSel:w}=a,_=window.VWO._.txtCfg||{};if(_.txtSelMap){const e=Ft(a,_.t,_.txtSelMap);if(e&&e.s){const t=window.vwo_$("."+e.s);if(t.length>0)return t}}let h=o();const g=e=>{if(u){const t=gn(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();)g(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)&&g(n.parentElement))}}return n=0,h}catch(e){return o()}},Object.assign(window.vwo_$,o)}window.VWO.modules.utils.helperFunctions={onUrlChange:_n};const vn=window.performance||window.workerThread.performance,fn={mark:(e="")=>{e="vwo-"+e,vn.mark&&vn.mark(e)},measure:(e,t,n)=>{t="vwo-"+t,n="vwo-"+n;try{vn.measure&&vn.measure(e,t,n)}catch(e){d.debug(e)}}},On={VISITOR_IS_NOT_OPTED_OUT:"visitorIsNotOptedOut",VISITOR_IS_OPTED_OUT_COMPLETELY:"visitorIsOptedOutCompletely",VISITOR_IS_OPTED_OUT:"visitorIsOptedOut"};var mn;!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"}(mn||(mn={}));class En{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=On.VISITOR_IS_OPTED_OUT,n=!0,o=!1;break;case 1:case 2:t=On.VISITOR_IS_OPTED_OUT_COMPLETELY,n=!1,o=!1;break;default:t=On.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!(!Be()&&!window._vis_debug)||(this.getOptOutStateConfig().executeLib||window._removeVwoGlobalStyle(),this.getOptOutStateConfig().executeLib)}shouldWeTrackVisitor(){return!(!Be()&&!window._vis_debug)||this.getOptOutStateConfig().shouldWeTrackVisitor}isVisitorOptedOut(){return!Be()&&!window._vis_debug&&this.getOptOutStateConfig().state!==On.VISITOR_IS_NOT_OPTED_OUT}}const Sn=new En;function Cn(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 Tn(e){if(e){var t,n=window.vwo_$;try{t=n("#"+e)}catch(e){t=""}return t.length}}function yn(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 In(e){if(e.previousElementSibling)return e.previousElementSibling;for(;e=e.previousSibling;)if(1===e.nodeType)return e}function An(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&&Tn(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]),Cn(r,t)){d+=s;break}c.unshift(d),e=In(e)}return-1!==c[0].indexOf("#")||a.parentNode&&"HEAD"===a.parentNode.nodeName||a.host||(c[0]+=":first-child"),An("undefined"!=typeof ShadowRoot&&a instanceof ShadowRoot&&a.host?a.host:a.parentNode,t)+" > "+c.join(" + ")}function Nn(e){return e instanceof SVGElement&&e.tagName&&"svg"!==e.tagName.toLowerCase()?Nn(e.parentNode):e}function Vn(e){return yn("width",e)}function bn(e){return yn("height",e)}const Rn=e=>e&&"object"==typeof e&&!Array.isArray(e),Ln=()=>{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},Wn=e=>{const t={getParsed:()=>{let t;try{t=JSON.parse(localStorage.getItem(e))}catch(e){}return Rn(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,JSONStringify(i))}};return t},Pn=e=>{var t;try{const{msg:n,url:o=window.location.href,navType:i="",additionalOptions:r={}}=e,s=Object.assign({cookies:Ln(),uuid:window._vwo_uuid,referrer:document.referrer,nav:i,aId:window._vwo_acc_id,sT:null===(t=window._vwo_code)||void 0===t?void 0:t.sT,aC:!!window._vwo_code},r);window.VWO._.customError&&window.VWO._.customError({msg:n,url:encodeURIComponent(o),source:JSONStringify(s)})}catch(e){}},xn=e=>{var t;const n=window.sessionStorage.getItem("referred"),{local_referred_url:o,referred_url:i}=n&&JSON.parse(n)||{},r="a"===e.event.target.tagName.toLowerCase()&&e.event.target.href,s=String(An(e.event.target));try{window.VWO._.customError&&window.VWO._.customError({msg:null!==(t=e.msg)&&void 0!==t?t:"Click Debug Log",url:encodeURIComponent(window.location.href),source:JSONStringify({cookies:Ln(),uuid:window._vwo_uuid,targetEl:e.event.target.innerText,referrerSession:i,referrerPage:o,targetUrl:r,targetXP:s})})}catch(e){}},Dn=(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&&JSON.parse(n)||{};Pn({msg:"We have reached Order-placed Url.",url:e,navType:t,additionalOptions:{referrerSession:i,referrerPage:o}})}if(window._vwoCc&&Rn(window._vwoCc.debugCamps))for(const n in window._vwoCc.debugCamps)if(Rn(window._vwoCc.debugCamps[n])){const{urlRegex:o,preventStoring:i}=window._vwoCc.debugCamps[n];if(o&&new RegExp(o).test(location.href)){const o=Wn("_vis_opt_log_"+n);o.get(location.href)||(Pn({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){}},Un=e=>{if(!window._vwoCc)return;const t=window._vwoCc||{};try{if(t.canLogAttributes){(t.logAttributesList||[]).forEach((t=>{t in e&&Pn({msg:`Received value for "${t}" attribute`,url:"VwoBaseMT",additionalOptions:{page:location.href,attrVal:e[t]}})}))}}catch(e){}},kn=()=>({get:()=>localStorage.getItem("destinationLink")||"",setInLs:e=>{localStorage.setItem("destinationLink",window.VWO._destinationLink||e)},setInWin:e=>{window.VWO._destinationLink=e}}),Mn=kn(),Gn=new Proxy(window.location,{get:function(e,t){"href"!==t||window.VWO._destinationLink||Mn.setInWin(e[t])}});function Fn(){var e;if("debug"!==(null===(e=window._vwoCc)||void 0===e?void 0:e.logLevel))return;window.VWO._.phoenixMT.on(le.PAGE_EXIT,(()=>{const e=Gn.href;Mn.setInLs(e)}));const t=Mn.get();document.referrer&&document.referrer===t||t&&t!==window.location.href&&Pn({msg:"URL mismatch detected",url:window.location.href,additionalOptions:{targetUrl:t}})}function $n(e){return l(this,void 0,void 0,(function*(){yield S.phoenix('store.actions.addValues("${{1}}", "${{2}}" )',null,{captureGroups:[e,"vwoInternalProperties"]})}))}window.VWO._.sendErrorLog=Pn;class jn extends Bt{constructor(){super(),this.loadScriptLoadedScripts={},this.noopFn=()=>{},window.VWO._.phoenixMT.on(le.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=Fe.vwoUUID;const t=e&&e.id&&e.multiple_domains&&ke.get("_vwo_uuid_"+e.id)||ke.get("_vwo_uuid");return this.uuid=t||this.uuid||this.generateUUID()}createUUIDCookie2(e){if(Sn.isVisitorOptedOut())return;const t=this.getUUID(e),n=e&&e.id&&e.multiple_domains?"_"+e.id:"";return ke.get("_vwo_uuid"+n)||this.createCookieMT("_vwo_uuid"+n,t,Kt.UUID_COOKIE_EXPIRY,e,!0),S.data=S.data||{},S.data.vin=S.data.vin||{},S.data.vin.uuid=t,t}setVin(e){if(Sn.isVisitorOptedOut())return;const t=this.getUUID(e);return S.data=S.data||{},S.data.vin=S.data.vin||{},S.data.vin.uuid=t,t}extraData2(e,t){var n,o,i,r,s={},a=S.modules.tags.sessionInfoService.getInfo(),c=e?a.r:Ge.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=gt(),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:JSONStringify(s)}isBotScreen(){return+(screen.height-window.innerHeight<0)}createCookie(e,t,n,o,i){return l(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?ke.createThirdParty(e,t,n,void 0,o.id,void 0,o):ke.create(e,t,n))}setTPCJarValue(e,t,n,o,i,r){ke.setThirdPartyCookiesInJar(e,t,n,i),this.__vwoCookie=ke.getThirdPartyJarValue(),this.dTP=this.dTP||wn((()=>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(S._.ssdm)return o&&S._.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!!ke.get("_vwo_uuid")||!!wt(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(ke.get(Kt.GLOBAL_OPT_OUT,!0),10)}_optOut(e,t){return t.trigger(le.OPT_OUT,{oldArgs:[!1]}),!1}doesSessionBasedCampaignExistsInTags(e){var t=e&&qt(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&&Lt(e)){const n=Ut(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),fn.mark(`el-${e}-shown`),fn.measure(`elHidden-${e}`,`el-${e}-hidden`,`el-${e}-shown`),window.fetcher.getValue('phoenix.trigger("${{1}}","${{2}}")',null,{captureGroups:[le.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(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(Xe)}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();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),$n({experimentIds:window._vwo_exp_ids})}getSplitDecision(e){return ke.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;ke.create("_vwo_ssm",1,3650,void 0,void 0,!0);const e=ke.get("_vwo_ssm",!0);return ke.erase("_vwo_ssm",void 0,!0),!e}areCookiesDisabled(e){let t=!1;e&&!ke.get(Kt.TEST_COOKIE,!0)&&(t=!0),t&&ke.create(Kt.TEST_COOKIE,"1",void 0,void 0,void 0,!0);const n=!ke.get(Kt.TEST_COOKIE,!0);return t&&ke.create(Kt.TEST_COOKIE,"",-1,void 0,void 0,!0),n}updateGlobalOptOutCookie(e){e?ke._create(Kt.GLOBAL_OPT_OUT,1,100,window._vwo_cookieDomain,void 0,!0):ke.erase(Kt.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===Kt.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{JSONStringify(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=ke.get("_vis_preview_"+window._vwo_acc_id);if(n)try{n=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=JSON.parse(o)||{}}catch(e){o={}}for(const e in t)n.includes(e)&&Object.prototype.hasOwnProperty.call(o,e)&&delete t[e];i=JSONStringify(Object.assign(o,t))}else i=JSONStringify(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||ze)()}delete window.VWO._.rTagInfo[o]}}}extractRTagsFromRule(){const{rules:e}=S._.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&&Pn({msg:"fireVariationShownSentForSplit - fromInit(timeout)",url:window.location.href,additionalOptions:{timeout:e,referrer:document.referrer}}),!e)return;const t=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:[le.VARIATION_SHOWN_SENT,{oldArgs:[e,n]}]}),window.VWO._.phoenixMT.trigger(le.VARIATION_SHOWN_SENT,e),744263===window._vwo_acc_id&&Pn({msg:"fireVariationShownSentForSplit - fromInit(timeout)",url:window.location.href,additionalOptions:{referrer:document.referrer}}))}))}saveVSDataInStorageForSplit(e,t,n){const o=JSON.parse(window.localStorage.getItem(Ze.VS_DATA)||"{}");o[e]={},o[e].v=t,o[e].u=n,window.localStorage.setItem(Ze.VS_DATA,JSONStringify(o))}}const Bn=new jn;window.VWO.modules.utils.libUtils=Bn;class Hn{constructor(){this.settingsKey=`_vwo_${Fe.accountId}_settings`,this.configKey=`_vwo_${Fe.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=JSON.parse(t);const{sT:e,hE:n,hES:o,stT:i}=t;return this.smartCodeVersion>=2&&window.localStorage.setItem(this.configKey,JSONStringify({sT:e,hE:n,hES:o,stT:i})),t}catch(e){}}syncSettings(){return l(this,void 0,void 0,(function*(){const e=Fe.accountId,t=Bn.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,JSONStringify(s)),window.fetcher.setValue(r,!0)}catch(e){"QuotaExceededError"===e.name&&this.flushCache()}}}const Kn=new Hn,Jn=Kn.initializeCaching.bind(Kn);window.VWO.modules.settingsCaching={initializeCaching:Jn};class qn{mergeNestedObjects(...e){return e.reduce(((e,t)=>this.recursivelyMerge(e,t)))}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]];ge(n[i])?n[i]={}:delete n[i]}recursivelyMerge(e,t,n={}){if(ge(e)&&ge(t)){const o={};Object.keys(e).concat(Object.keys(t)).forEach((e=>{o[e]=1}));const i=Object.getOwnPropertyDescriptors(e),r=Object.getOwnPropertyDescriptors(t);return Object.keys(o).forEach((o=>{r[o]?Object.defineProperty(n,o,r[o]):Object.defineProperty(n,o,i[o]),this.recursivelyMerge(e[o],t[o],n[o])})),n}return t||e}}var Yn=new qn;const Xn=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 zn={};function Qn(e,t){const n=window.VWO._.allSettings.dataStore.campaigns||{};if(Object.hasOwnProperty.call(n,e)){if(ke.get("_vis_opt_exp_"+e+"_combi"))return delete zn[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 zn[e],!0}return!1}function Zn(e){if(!window._vis_debug&&!Be())if(Array.isArray(e)&&e.length)for(const t of e){const{e:e,v:n}=t;Qn(e,n)||(zn[e]=n)}else for(const e in zn)Object.hasOwnProperty.call(zn,e)&&Qn(e,zn[e])}var eo=function(){};function to(e){window.vwo_iehack_queue||(window.vwo_iehack_queue=[]),window.vwo_iehack_queue.push(e)}function no(e,t,n,o=!1){var i,r;if((o||Sn.shouldWeTrackVisitor())&&!_e.deferOnConsent("sendCall",this,t,null,null,null,e,null,n,o)){var s,a=new Image;t=t||eo,n=n||eo,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="+ht()+"&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(),a.src=c,to(a)}}window.VWO.modules.vwoUtils.sendCall=no;var oo={};const io=function(e,t){this.dependencies={},this.callback=e,this.name=t};io.prototype.add=function(e){e&&(this.dependencies[e]=0)},io.prototype.unResolve=function(e){if(e)for(var t in this.dependencies)this.dependencies.hasOwnProperty(t)&&t===e&&(this.remove(e),this.add(e))},io.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()}},io.prototype.remove=function(e){delete this.dependencies[e]},io.prototype.canResolve=function(){for(var e in this.dependencies)if(this.dependencies.hasOwnProperty(e)&&!this.dependencies[e])return!1;return!0};const ro={init:function(e,t){var n=new io(e,t);return t&&(oo[t]=n),n},getDependencyManager:function(e){return oo[e]}};let so=3,ao=50,co=window._vwo_server_url||"https://dev.visualwebsiteoptimizer.com/",lo={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"},uo={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_"},wo=function(){},_o;const ho=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)},go={init:function(e){e&&(go.options=e,go.serverUrl=co,e.exG?(_o=ro.init((function(){e.success(vo)}),"optOutDM"),_o.add("thirdPartyCookieSupport"),_o.add("globalOptOutStatus"),vo.isThirdPartyCookiesSupported({success:function(t){t?_o.resolve("thirdPartyCookieSupport"):e.error({errorType:lo.TPC_NOT_SUPPORTED})},error:function(){e.error({errorType:lo.TPC_SUPPORT_DETECTION_FAILED})}}),vo.checkGlobalOptOutStatus({success:function(){_o.resolve("globalOptOutStatus")},error:function(){e.error({errorType:lo.GLOBAL_OPT_OUT_DETECTON_FAILED})}})):(po.isOptedOut=po.checkOptOutStatus(),e.success(po)))},process:function(e,t){const n=ke.get(uo.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."),po.isOptedOut=!0,"0"!==n&&("2"!==n?go.optOut(e,t):fo(),!0)},optOut:function(e,t){if(!e)return;Sn.callStopAnalyzeAndSurvey(),e.domain||(e.domain=window._vwo_cookieDomain),(t=t||{}).success=t.success||wo,t.error=t.error||wo;const n=e.optOutExpiry||3650,o=ke.get(uo.OPT_OUT,!0);if(e.config&&e.config.maintainExperiences)return ke.create(uo.OPT_OUT,0,n,e.domain,void 0,!0),void Sn.setOptOutStateConfig();o&&"0"!==o||(ke.create(uo.OPT_OUT,1,100,e.domain,void 0,!0),Sn.setOptOutStateConfig()),e.url="cdc?cookies="+JSONStringify([{name_regex:"_vwo_uuid_*",isDeleted:1}])+"&accountId="+e.accountId+"&r="+Math.random(),e.serverUrl=co,e.retryRequest=e.retryRequest||0;const i=document.cookie.split(";");for(let t=0;t<i.length;t++)if((i[t].indexOf(uo._VIS_OPT_)>-1||i[t].indexOf(uo._VWO_)>-1)&&i[t].indexOf(uo.OPT_OUT)<0){const[n,o]=i[t].split("=");n&&ke.erase(n.trim(),e.domain,!0)}fo(),Oo(),no(e,(function(){Oo(),ke.create(uo.OPT_OUT,2,100,e.domain,void 0,!0),window.VWO.phoenix&&window.VWO.phoenix("deactivate"),Sn.setOptOutStateConfig(),t.success()}),(function(){e.retryRequest++,e.retryRequest<=so?setTimeout((function(){go.optOut(e,t)}),ao):t.error({errorType:lo.LOCAL_OPT_OUT_PARTIALLY_FAILED})}),!0)},updateGlobalOptOutState:function(e,t){go.options=e,vo.checkGlobalOptOutStatus(t)}},po={checkOptOutStatus:function(){return!!ke.get(uo.OPT_OUT,!0)},optOut:function(e,t){e?go.process(go.options,t):(ke.erase(uo.OPT_OUT,go.options.domain,!0),po.isOptedOut=!1)}},vo={globalOptOut:function(e,t){const n=go.options,o=e?1:0,i=[{name:uo.GLOBAL_OPT_OUT,value:o,isDeleted:0}];t=t||{},n.url="cdc?cookies="+JSONStringify(i)+"&accountId="+n.accountId+"&r="+Math.random(),n.serverUrl=co,no(n,(function(){vo.isGloballyOptedOut=e,t.success()}),(function(){t.error(lo.GLOBAL_OPT_OUT_PARTIALLY_FAILED)}),!0)},checkGlobalOptOutStatus:function(e){(e=e||{}).success=e.success||wo,e.error=e.error||wo,vo.isThirdPartyCookiesSupported({success:function(t){vo.isGloballyOptedOut=!!t&&!!parseInt(t[uo.GLOBAL_OPT_OUT],10),e.success(vo.isGloballyOptedOut)},error:e.error})},isThirdPartyCookiesSupported:function(e){(e=e||{}).success=e.success||wo,e.error=e.error||wo;const t=go.options.accountId;no({url:"cdc?cookies="+JSONStringify([{name:"_vis_opt_test_cookie",value:1,isDeleted:0}])+"&accountId="+t+"&r="+Math.random(),serverUrl:co,vn:window.VWO.v_e},(function(){ho(co+"cdc",(function(n){n&&n["_vis_opt_test_cookie_"+t]?(vo.tpc=!0,e.success(n)):(vo.tpc=!1,e.success(vo.tpc))}))}),(function(){e.error({errorType:lo.TPC_SUPPORT_DETECTION_FAILED})}),!0)}};function fo(){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)),ke.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 Oo(){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 mo(){const e=window.VWO;ke.erase(Kt.OPT_OUT,window._vwo_cookieDomain,!0),window.VWO.phoenix&&!Sn.shouldExecuteLibOnBasisOfCurrentOptOutState()||(Sn.setOptOutStateConfig(),e.nls&&delete e.nls.stopRecording,e.survey&&delete e.survey.stopCollectingData)}function Eo(e={}){window.VWO.modules.otherLibDeps.stopAnalyzeAndSurvey(),go.optOut({accountId:window._vwo_acc_id,config:e})}var So;!function(e){e[e.EVENT=40]="EVENT",e[e.ATTRIBUTE=40]="ATTRIBUTE"}(So||(So={}));const Co={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 To{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=To.toCamelCase(e.slice(e.search(/[\w-.]/g)));return t=t.replace(/^(_|vwo_|\.|v_|i_|-)*/g,""),"props"===t?"":t}static filterEventName(e){let t=To.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 To.logWarningAndReportError(Co.ATTRIBUTE_NOT_OBJECT);const t={};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){let o=To.whiteListedName[n]?n:To.filterPropertyName(n);if(!o.trim())return To.logWarningAndReportError(`Invalid attribute name: '${n}' is not allowed as an attribute name!`);o.length>40&&(o=o.slice(0,40),console.warn(Co.ATTRIBUTE_MORE_THAN_LIMIT));const i=ge(e[n])||pe(e[n])?JSONStringify(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})}}var yo;function Io(e){try{return e()}catch(e){return}}To.whiteListedName={vwo_hubspot_id:!0},function(e){e.PRE="PRE",e.POST="POST"}(yo||(yo={}));const Ao={[le.VARIATION_SHOWN]:{ignoreMetricDataCheck:!0},[le.ERROR_ONPAGE]:{},[le.PAGE_VIEW]:{},[le.DOM_CLICK]:{},[le.DOM_SUBMIT]:{},[le.CUSTOM_CONVERSION]:{},[le.REVENUE_CONVERSION]:{},[le.SYNC_VISITOR_PROP]:{ignoreMetricDataCheck:!0},[le.PAGE_UNLOAD]:{}},No=e=>!!Ao[e],Vo=e=>!!Io((()=>window.VWO._.allSettings.dataStore.events[e].ls)),bo=()=>{let e=[],t=[],n=!1;const o=n=>{const o=e.length>0,i=t.length>0;return n?n===yo.PRE?o:n===yo.POST?i:void 0:o||i},i=(i,r)=>{if(!n||!o(i))return r;const s=!r||!It(r),a=Object.assign({},Io((()=>r.d.event.props))||{}),c=Io((()=>r.d.event.name));let l=Object.assign({},r);const u=i===yo.POST?t:e;for(const e of u)if("function"==typeof e)try{l=e(l)||l}catch(e){d.warn(`Error while running ${i}-Hook callback!`)}return s?r:(i===yo.PRE&&No(c)&&((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(yo.PRE,e);return{processedData:n,wrappedCallback:(...e)=>{i(yo.POST,n),t(...e)}}},canRunHook:o}},Ro=bo(),Lo=()=>{const e={q:Kt.VWO_COOKIE_QUERY_PARAM,d:""};try{let t="";const n=window._vwo_exp||{},o=window.VWO._.cookies.getAll();for(const e in o)if(o[e]){const i=o[e],r=tt.campaignCookies.exec(e),s=tt.uuidCookie.exec(e);if(r&&r[1]||s&&s[1]){const o=(r||s)[1];n[o]&&!Io((()=>n[o].multiple_domains))||(t+=`${e}=${i}|`)}}e.d=t&&encodeURIComponent(t.slice(0,t.length-1))}catch(e){}return e};function Wo(e,t){const n=(e=-1,t="")=>{switch(e){case 0:return To.logWarningAndReportError(Co.EMPTY_EVENT);case 1:return console.warn(Co.EVENT_MORE_THAN_LIMIT);case 2:return To.logWarningAndReportError(`Invalid event name: '${t}' is not allowed as an event name!`);default:return To.logWarningAndReportError(Co.EVENT_NOT_STRING)}};if("string"!=typeof e)return n();if(!(e=e.trim()))return n(0);const o=e;if(!(e=To.filterEventName(e)))return n(2,o);e.length>40&&(n(1),e=e.slice(0,40));const i=To.filterAttributeObjectKeys(t);return i?{eventName:e,filteredAttributeObject:i}:void 0}function Po(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 xo{constructor(e){if(this.preInitializedEventHooks={},this.getCrossDomainInfo=Lo,e instanceof xo)return void Object.keys(e).forEach((t=>{this[t]=e[t]}));this.queue=e.slice(),this._=e._||{},this._.performance=fn,this._.isWorkerThread=!1,this.nonce=e.nonce,Object.defineProperty(this,"modules",{value:e.modules,enumerable:!1,configurable:!1}),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=go,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.optInVisitor=mo,this.optOutVisitor=Eo,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?Po(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]=Yn.mergeNestedObjects(i.pluginStorage[n][o],t)):i.pluginStorage[n]=Yn.mergeNestedObjects(i.pluginStorage[n],t))}addPhoenix(e){this.event=function(e,t,n){var o,i;const r=Wo(e,t=t||{});if(!r)return;let s=null;ge(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])},Ro.init(this,this.preInitializedEventHooks),delete this.preInitializedEventHooks,this.visitor=function(e,t){if(!e)return;const n=To.filterAttributeObjectKeys(e);n&&(ge(t)&&(n.$metaData=t),this.otherSide("visitor",[n]),Un(n))},this.syncAttributes=function(){this.otherSide("syncAttributes",[])},this.syncEvents=function(){this.otherSide("syncEvents",[])},this.setVariation=Zn,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=Xn(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:JSON.parse(i.QPS),globalValueRegex:i.GVR}),delete window.VWO._.goalsToBeConvertedSynchronously;const r=!!re(window.VWO._.track).length;this.otherSide("updateSettings",[r,e,t])}otherSide(...e){e[0]="VWO."+e[0],window.fetcher.getValue(...e)}}var Do=[];const Uo=["dev.visualwebsiteoptimizer.com","d5phz18u4wuww.cloudfront.net","cdn-cn.vwo-analytics.com"];function ko(e){let t=!1;for(let n=0;n<Uo.length;n++)if(e.indexOf(Uo[n])>=0){t=!0;break}return t}var Mo=function(e){if(ko(e&&e.url||""))for(var t=0;t<Do.length;t++)Do[t](e)};function Go(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"};Mo(i)}window.addEventListener?(window.addEventListener("error",Go),window.addEventListener("unhandledrejection",Go)):window.attachEvent&&window.attachEvent("onerror",(function(e,t,n,o){Mo({msg:e,url:t,lineno:n,colno:o,source:"uncaughtErr"})}));const Fo=function(e){e&&"function"==typeof e&&Do.push(e)};class $o{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 jo;class Bo extends $o{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,_=jo||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++,no({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 Fo(a),a}getEmptyTriggerIdsIfAny(){const{triggers:e}=window.VWO._.allSettings||{},t=[];return Object.keys(e).forEach((n=>{Object.keys(e[n]).length||t.push(n)})),jo=t,t}errorTracking({getters:e}){const t=this.setErrorTrackingCallback(e);this.setCustomError(t)}}const Ho=new Bo,Ko=Ho.errorTracking.bind(Ho);window.VWO.modules.tags=window.VWO.modules.tags||{},window.VWO.modules.tags.errorTracking=Ko,window.VWO.modules.tags.errorTrackingCallback=Ho.setErrorTrackingCallback;var Jo="undefined",qo=10;function Yo(e){return!!e}var Xo=navigator,zo=document,Qo=Xo.userAgent,Zo=Xo.vendor,ei=zo.createElement("a"),ti=Qo.toLowerCase(),ni=Xo.appVersion,oi=[{s:Qo,sS:" OPR/",p:window.opera,i:"Opera"},{s:Zo,sS:"Apple",i:"Safari"},{s:Zo,sS:"KDE",i:"Konqueror"},{s:Qo,sS:"Firefox",i:"Firefox"},{s:Qo,sS:"Netscape",i:"Netscape"},{s:Qo,sS:"MSIE",p:/(?:Trident\/.*?rv:|Windows NT.*?Edge\/)(?:[0-9]+[.0-9]*)/i.test(Qo),i:"Explorer"},{s:Qo,sS:"Chrome",i:"Chrome"}],ii=[{s:"search.yahoo.com/",p:"p",i:1},{s:"www.google.",p:"q",i:2},{s:"www.bing.com/",p:"q",i:3},{s:".ask.com/",p:"q",i:4},{s:"www.search.com/",p:"q",i:5},{s:"www.baidu.com/",p:"wd",i:6},{s:"search.aol.com/",p:"q",i:7},{s:"duckduckgo.com/",p:"q",i:8}],ri=function(e){return Jo!==typeof e},si=function(){return window.VWO&&window.VWO.data&&window.VWO.data.vi},ai=function(e){var t=window._vwo_geo;return 2==+e&&(t=window._vwo_geo2),t};const ci={ce:function(){return Xo.cookieEnabled},U:function(){return zo.URL},ks:function(){return""===this.R()?"":ei.search},ors:function(){for(var e=0;e<ii.length;e++)if(-1!==this.R().indexOf(ii[e].s))return ii[e].i;return 0},rt:function(){return this.ors()?"org":this.R()?"ref":this.f_in(this.qP("utm_medium"),"email")?"eml":this.f_re_i(this.qP("utm_medium"),"^(?:cpc|ppc|cpa|cpm|cpv|cpp)$")?"spt":"dir"},ts:function(){let e,t,n,o,i=this.R();if(/facebook\.com|quora\.com|reddit\.com|imgur\.com|tapiture\.com|disqus\.com|9gag\.com|tumblr\.com|plus\.google|stumbleupon\.com|twitter\.com|linkedin|del\.icio\.us|delicious\.com|technorati|digg\.com| hootsuite|stumbleupon|myspace|bit\.ly|tr\.im|tinyurl|ow\.ly|reddit|m\.facebook\.com|youtube|flickr|pinterest\.com|^t\.co$|tweetdeck/.test(i))return"soc";if(this.ors()&&(e=!0),n=this.qP("gclid"),o=this.qP("utm_medium"),i&&(t=!0),e&&n)return"pst";if(o){if(this.f_in(o,"email"))return"eml";if(this.f_re_i(o,"^(?:cpc|ppc|cpa|cpm|cpv|cpp)$"))return"pst"}else if(e)return"org";return t?"ref":"dir"},k:function(){if(this.ors()){var e=new RegExp("[\\?&]"+ii[this.ors()-1].p+"=([^&#]*)").exec(this.R());if(null!==e)return e[1].split("+").join(" ")}return""},gC:function(e){if(VWO._.jar&&/^_vis_opt_exp_\d+_combi$/.test(e)){return VWO._.jar.get(e)||""}if(0<zo.cookie.length){var t,n=zo.cookie.indexOf(e+"=");if(-1!==n)return n=n+e.length+1,-1===(t=zo.cookie.indexOf(";",n))&&(t=zo.cookie.length),decodeURIComponent(zo.cookie.substring(n,t))}return""},T:function(){var e=this.gC("_vis_opt_s");return e&&1<parseInt(e.split("|")[0],qo)?"ret":"new"},qP:function(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var t=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(this.U());return t?t[1]:""},f_in_loc:function(e,t){return l(this,void 0,void 0,(function*(){if(e&&t){const n=e.countryCode,o=e.city,i=e.region;return(yield ci.f_in_list(n,t))||(yield ci.f_in_list(`${n}-${i}`,t))||(yield ci.f_in_list(`${n}-${i}-${o}`,t))}}))},f_nin_loc:function(e,t){return l(this,void 0,void 0,(function*(){if(e&&t){const n=e.countryCode,o=e.city,i=e.region;return(yield ci.f_nin_list(n,t))&&(yield ci.f_nin_list(`${n}-${i}`,t))&&(yield ci.f_nin_list(`${n}-${i}-${o}`,t))}}))},f_in_list:function(e,t){return l(this,void 0,void 0,(function*(){if(!Yo(e))return!1;const n=yield window.VWO._.contentSyncService.syncGet("fns.list",[e,t]);return!!n.dataPresent&&n.val}))},f_nin_list:function(e,t){return l(this,void 0,void 0,(function*(){if(""===e)return!0;if(!Yo(e))return!1;const n=yield window.VWO._.contentSyncService.syncGet("fns.list",[e,t]);return!!n.dataPresent&&!n.val}))},f_in:function(e,t){return ri(e)&&ri(t)&&e.toString().toLowerCase()===t.toString().toLowerCase()},f_nin:function(e,t){return!this.f_in(e,t)},f_cs:function(e,t){return ri(e)&&ri(t)&&e.toString()===t.toString()},f_ncs:function(e,t){return!this.f_cs(e,t)},f_re_i:function(e,t){if(!ri(e)||!ri(t))return!1;var n=new RegExp(t,"i");return(e+="").match(n)},f_re_s:function(e,t){if(!ri(e)||!ri(t))return!1;var n=new RegExp(t);return(e+="").match(n)},f_con:function(e,t){return!(!ri(e)||!ri(t))&&e.toString().toLowerCase().indexOf(t.toString().toLowerCase())>-1},f_d_con:function(e,t){return!this.f_con(e,t)},f_b:function(e){return!e},f_n_b:function(e){return!this.f_b(e)},f_e:function(e,t){var n;if("object"==typeof t){for(n=0;n<t.length;n++)if(this.f_in(e,t[n]))return!0;return!1}return this.f_in(e,t)},wk:function(){return ti.indexOf("webkit")>-1},de:function(){var e=si();return e&&e.de?e.de:ti.indexOf("ipod")>-1?"ipod":ti.indexOf("ipad")>-1&&this.wk()?"ipad":ti.indexOf("iphone")>-1?"iphone":ti.indexOf("android")>-1?"android":ti.indexOf("googletv")>-1?"googletv":ti.indexOf("symbian")>-1||/series\s*[4-9]0/i.test(ti)?"symbian":ti.indexOf("blackberry")>-1||ti.indexOf("vnd.rim")>-1||ti.indexOf("bb10")>-1?"blackberry":ti.indexOf("windows phone")>-1?"winphone":""},dt:function(){var e=si();return e&&e.dt||""},os:function(){var e=si();return e&&e.os?e.os:-1!==ni.indexOf("Win")?"windows":-1!==ni.indexOf("Mac")?"macOS":-1!==ni.indexOf("X11")?"unix":-1!==ni.indexOf("Linux")?"linux":void 0},b:function(){var e=si();return e&&e.br?e.br:this.sS(oi)||""},sS:function(e){var t,n,o;for(t=0;t<e.length;t++){if(n=e[t].s,o=e[t].p,n&&-1!==n.indexOf(e[t].sS))return e[t].i;if(o)return e[t].i}},jv:function(e){try{return window[e]||eval(e)}catch(e){}},ua:function(){return Qo},DoW:function(){return(new Date).getDay().toString()},Hr:function(){return(new Date).getHours()},Co:function(e){var t=ai(e);return Jo!==typeof t&&Jo!==typeof t.country?t.country:""},Re:function(e){var t=ai(e);return Jo!==typeof t&&Jo!==typeof t.region?t.region:""},Ci:function(e){var t=ai(e);return Jo!==typeof t&&Jo!==typeof t.city?t.city:""},ip:function(){return window._vwo_ip||""},vt:function(){var e=window.VWO.data.vi;if(e)return e.vt}};function di(){return ci}ci.R=function(){return Ge.get()};var li=window.console||{log:function(){}},ui;window.VWO._.prVWO=window.VWO._.prVWO||[];const wi={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 li.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?wi.processEvent(i,e,n,t.queue.length-1,t):t.queue||t[t.length-1]!==i||wi.processEvent(i,e,n,t.length-1,t),r}(i)})),r}},init:function(e,t,n,o,i=!0){ui=n?t[n]=t[n]||[]:t||[],this.vwoApi=o,wi.process(e,ui,t),i&&wi.addPushListener(e,ui,t)},initTrack:function(e,t){wi.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===wi.processEvent(i[o],e,n,o,t)&&o++}};window.VWO&&(window.VWO._=window.VWO._||{},window.VWO._.vwoLib=wi);class _i{}class hi{otherSide(...e){return e[0]="VWO.modules.tags.dataSync."+e[0],window.fetcher.getValue(...e)}}function gi(e){window.vwo_iehack_queue||(window.vwo_iehack_queue=[]),window.vwo_iehack_queue.push(e)}function pi(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 vi(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})},gi(c)}function fi(e,t){e.data?pi(e):vi(e,false)}function Oi(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&&_e.addCustomParams(t)&&(t+="&_cu="+encodeURIComponent(window.VWO._.lastPageUnloadURL||document.URL.slice(0,100))),t.indexOf("&cu=")<0&&!_e.addCustomParams(t)&&(t+="&_cu="+encodeURIComponent(window.VWO.consentMode.customParams.url.slice(0,100))),document.referrer&&t.indexOf("&ru=")<0&&_e.addCustomParams(t)&&(t+="&_ru="+encodeURIComponent(document.referrer.slice(0,100))),t.indexOf("?&")>0&&(t=t.replace("?&","?")),t}const mi=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=Oi(e),e.callbackContext=e.callbackContext||{};const{data:o,url:i,useBeacon:r,complete:s}=e;if(n&&!r)return fi(e,!1),{typeOfCall:mi.callTypes.NONBEACON};return"function"==typeof navigator.sendBeacon&&(window.VWO.data&&window.VWO.data.fB||r)&&navigator.sendBeacon(i,o)?(s(e.callbackContext),{typeOfCall:mi.callTypes.BEACON}):(fi(e,!0),{typeOfCall:mi.callTypes.NONBEACON})};mi.shouldCompress=function(e){return e.length>1800},mi.callTypes={BEACON:"beacon",NONBEACON:"non-beacon"};class Ei{constructor(){this.vwoEventsToBeSynced=Object.assign({},Ao),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=JSON.parse(window.localStorage.getItem(Ei.UNREG_EVENT_LOCAL_STORAGE_NAME))||{}}catch(t){e={}}if(e[o])return!1;{e[o]=!0;const t=JSONStringify(e);window.localStorage.setItem(Ei.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!==le.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=Fe.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?Tt(t,100):t}return u}}Ei.UNREG_EVENT_LOCAL_STORAGE_NAME="vwoUnRegEvents";class Si extends Ei{handleDomTriggeredEvent(e){const t=e.name;t.indexOf("vwo_dom_")<0||(t===le.DOM_CLICK&&(e.name="click"),t===le.DOM_SUBMIT&&(e.name="submit"))}sendCall(e,t,n,o,i,r,s,a){var c;if(!Sn.shouldWeTrackVisitor()||_e.deferOnConsent("sendCall",this,o,r,s,n,e,t,n,null,i,{},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)||Fe.serverUrl,w=Fe.accountId,_=u.endsWith("/");let h=o,g=u;if(s){g+=`${_?"":"/"}events/t?en=${s.name}&a=${w}&v=${window.VWO.v_e}`;let e=h;if(Ro.canRunHook()){const t=Ro.runAllHooks(n,e);n=t.processedData,e=t.wrappedCallback}Ui(s.name),h=function(...t){e.call(this,...t),ki(s.name,Object.assign(Object.assign(Object.assign({},s),n.d.event.props),{url:void 0}))}}else{if(!t)return;g=g+t.url+"&vn="+t.vn+"&vns="+t.vns+"&vno="+t.vno+"&eTime="+ht()+"&v="+window.VWO.v_e}window.VWO.consentMode&&a&&(g.indexOf("&cu=")<0&&(g+="&cu="+encodeURIComponent(a.cu.slice(0,100))),document.referrer&&g.indexOf("&ru=")<0&&a.ru&&(g+="&ru="+encodeURIComponent(a.ru.slice(0,100)))),window.VWO._.isBeaconAvailable=!0,i=window.VWO.data.tB&&(window.VWO._.isLinkRedirecting||i);let p=n&&"object"==typeof n&&0===Object.keys(n).length?"":n;p&&"string"!=typeof p&&(p=JSONStringify(p));mi({url:g,complete:h,success:d,error:l,data:p,useBeacon:i,callbackContext:r}).typeOfCall!==mi.callTypes.BEACON&&(window.VWO._.isBeaconAvailable=!1)}addDataFromMTAndSend(e,t,n,o,i,r,s,a){if(o=o||ze,s&&s.name===le.VARIATION_SHOWN){s.props.extraData=Bn.extraData2(!1,!0);try{const e=JSON.parse(m.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&&Pn({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 Ci=new Si;window.VWO.modules.tags.dataSync={utils:Ci};var Ti=new Si;class yi extends hi{execute({event:e},t,n,o,i,r){if(o=o||ze,window._vis_debug)o&&o(i);else if(Ti.shouldSendEventCall({eventDataConfig:t},e)){r=r||Bn.createUUIDCookie2(n);const{data:s,shouldSyncCall:a}=Ti.getDataForEventsCall({eventDataConfig:t},r,e);a&&Ti.sendCall(null,null,s,o,!0,i,e)}else o&&o(i)}}const Ii=new yi,Ai=Ii.execute.bind(Ii);function Ni(e,t){var n;const o=e.conflictingPropsData||{};if(!e.props){e.props={};const n=["name","props","_vwo","_meta","conflictingPropsData"];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.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,Ai);class Vi{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 bi extends Vi{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 Ri=new bi;function Li(e,t,n,o=null){return window.fetcher.getValue('VWO.modules.events.fireEventAndSyncData("${{1}}","${{2}}","${{3}}", "${{4}}" )',null,{captureGroups:[null,t,n,o]})}function Wi(e,t,n={},o=null){var i;let r;t.name=e||t.name,Ni(t,n),t.name===le.DOM_SUBMIT||t.name===le.DOM_CLICK&&t.targetUrl?t.props.targetUrl=t.targetUrl=Ri.toAbsURL(t.targetUrl):t.name===le.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],Ai({event:t},s,null,o,null,i)}}else Ai({event:t},r)}window.VWO.modules.vwoUtils.urlUtils=Ri;let Pi={};function xi(e){e?Pi[e]={}:Pi={}}function Di(e,{shouldNotUnhide:t,tagName:n,campId:o}){Pi[o]=Pi[o]||{},t||n&&Pi[o][n]||(n&&(Pi[o][n]=!0),window.VWO._.phoenixMT.trigger(le.UNHIDE_ELEMENT,e))}const Ui=e=>{Io((()=>{window.fetcher.getValue('window.VWO.modules.events.markEventSyncedWT("${{1}}")',null,{captureGroups:[e]}).catch((e=>{}))}))},ki=(e,t)=>{Vo(e)&&window.fetcher.getValue('window.VWO.modules.eventHistHandler.updateEventHist("${{1}}","${{2}}")',null,{captureGroups:[e,t]})};window.VWO.modules.events={syncEventsDataToDataLayer:Wi,fireEventAndSyncData:Li};class Mi{}const Gi=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,g=a.capture,u&&(h?d[r[u]]&&d[r[u]](w,h,_,g):d[r[u]]&&d[r[u]](w,_,g))):c.removeEventListener?c.removeEventListener(a.name,a.callback,a.capture):c.detachEvent&&c.detachEvent("on"+a.name,a.callback)}var d,u,w,_,h,g;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}(),Fi={};let $i=!1,ji=[];const Bi=ft((function(e){const t=window[e].push({event:"VWO"});$i&&ji&&ji.push(t-1),"dataLayer"!==e&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"VWO"}))}),1);function Hi(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);Gi.pushTimers(t,"interval")}function Ki(e,t,n,o,i){Hi((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 Ji(e,t,n,o){if(!Be()&&!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,Fi[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,Fi[e].n,1],[n+"_trackEvent","VWO","Visit","",0,!0]):(window.pageTracker._setCustomVar(t,"VWO-"+e,Fi[e].n,1),window.pageTracker._trackEvent("VWO","Visit","",0,!0))}));else{var r="dimension"+t,s="CampId:"+e+", VarName:"+Fi[e].n;Ki(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=St();window.dataLayer&&window.dataLayer.length&&"dataLayer"!==n&&window.dataLayer.filter(((e,t)=>-1!==ji.indexOf(t))).forEach((e=>{window[n]=window[n]||[],window[n].push(e)})),ji=void 0,clearInterval(e),clearTimeout(t)}}),50),t=setTimeout((function(){clearInterval(e)}),5e3)}function Yi(e,t){const n=window._vwo_exp;if(Bn.isSessionBasedCampaign2(n[e]))return;let o=0;Fi[e]={},Fi[e].c=t,Fi[e].n=n[e].comb_n[Fi[e].c]||"";const i=n[e].GA?"GA":n[e].UA?"UA":"";let r;if(i&&!n[e][i].tracked&&(Ji(e,n[e][i].s,n[e][i].p,i),n[e][i].tracked=!0),n[e].GTM){$i||window.google_tag_manager||(qi(),$i=!0),r=St();const t={};t["Campaign-"+e]=Fi[e].n,window[r]=window[r]||[];const n=window[r].push(t);$i&&ji&&ji.push(n-1),"dataLayer"!==r&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push(t)),o=1}o&&Bi(r)}window.VWO.modules.utils.collectAndSendDataForGA=Yi;class Xi extends Mi{executeCode(e){if(e)try{vwo_$("head").append(e)}catch(e){}}}class zi{otherSide(...e){return e[0]="window.VWO.modules.utils.campaignUtils."+e[0],window.fetcher.getValue(...e)}}var Qi=function(e){return e.replace(/^(https?:\/\/)(?:w{3}\.)?(.*?)(?:\/(?:home|default|index)\..{3,4}|\/$)?(?:\/)?([\?#].*)?$/i,"$1$2$3")},Zi=function(e){return e.replace(/^(https?:\/\/)(?:w{3}\.)?(.*?)(?:(?:home|default|index)\..{3,4})?([\?#].*)?$/i,"$1$2$3")},er=function(e){return Zi(e).replace(/\/\?/gi,"?")},tr=window._vis_opt_url,nr;class or{constructor(){nr=this}regexEscape(e){return e.replace(/[\-\[\]{}()*+?.,\/\\^$|#\s]/g,"\\$&")}cleanURL(e,t){return tr&&!t?tr: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}=nr.cleanPattern(t);i=o||"g";try{return new RegExp(n,i).exec(e)||nr.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 d.error(o),!1}}var r=function(n){return new RegExp(t,i).exec(e)||new RegExp(t,i).exec(n(e))||nr.matchRelativeUrl(e,t,i,n)};let s=Qi,a=!1;390187==window._vwo_acc_id&&(a=!0),a&&(s=er);var c=r(s);return c&&!a?(s=Zi,n&&r(s)||c):c}matchRelativeUrl(e,t,n,o){if(0===e.indexOf("http"))return!1;const i=(new Vi).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 Vi;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=nr.stripSlashes(e,s,a)),"/"!==t&&(t=nr.stripSlashes(t,i,r));var c,d,l=new RegExp("^"+nr.regexEscape(t).replace(/\\\*/g,"(.*)")+"$","gi");return l.test(e)?(l=new RegExp("^"+nr.regexEscape(t).replace(/\\\*/g,"(.*)")+"$","gi"),!n||l.exec(e)):(e=nr.removeWWW(e),t=nr.removeWWW(t,!0),(l=new RegExp("^"+nr.regexEscape(t).replace(/\\\*/g,"(.*)")+"$","gi")).test(e)?(l=new RegExp("^"+nr.regexEscape(t).replace(/\\\*/g,"(.*)")+"$","gi"),!n||l.exec(e)):(c=nr.cleanURL(t,!0),-1===t.indexOf("*")&&((d=nr.removeWWW(o.toAbsURL(e)).replace(/\/$/,"").replace(/\/\?/,"?"))===t||d===c)||(e=nr.cleanURL(e),t=c,!!(l=new RegExp("^"+nr.regexEscape(t).replace(/\\\*/g,"(.*)")+"$","gi")).test(e)&&(l=new RegExp("^"+nr.regexEscape(t).replace(/\\\*/g,"(.*)")+"$","gi"),!n||l.exec(e)))))}}const ir=new or;window.VWO.modules.vwoUtils.url=ir,window.VWO._.matchRegex=ir.matchRegex;class rr{verifyUrl(e,t,n,o){let i=!1;const r=o?e:this.getCleanedUrl(e);if(t)if(o)i=!!ir.matchRegex(r,t,null,o);else{const n=this.getCleanedUrl(e,!0);i=!(!ir.matchRegex(r,t,null,o)&&!ir.matchRegex(n,t,!0,o))}else i=ir.matchWildcard(r,n)||ir.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&&ir.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 sr=new rr;class ar extends zi{clearTimeouts(e){this.otherSide("clearTimeouts",e)}markGoalTriggered(e,t){if(!Sn.shouldWeTrackVisitor())return;const n=window.tracklib||window.VWO._.track;if("TRACK"===e.type)n.markGoalTriggered(e.id,t);else{let n=ke.get("_vis_opt_exp_"+e.id+"_goal_"+t);e.goals[t].mca&&n&&(n=+n+1),Bn.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){return"TRACK"===e.type?!window.VWO._.track.shouldTriggerGoal(e.id,t):e.goals[t].mca?null:ke.get("_vis_opt_exp_"+e.id+"_goal_"+t)}doExperimentHere(e,t={}){const{currentUrl:n}=Fe;let o;if(e.pg_config){const t=e.pg_config[0];o=window.VWO.pageGroup.validatePage(t,null,n)}else o=sr.compareUrlWithIncludeExcludeRegex(n,t.urlRegex||e.urlRegex,t.excludeUrl||e.exclude_url,t.urlPattern||e.url_pattern);return[o.didMatch,o.reason]}getCombiCookie(e){return ke.get("_vis_opt_exp_"+e+"_combi")}getTrackGoalIdFromExp(e){return re(window._vwo_exp[e].goals)[0]}getCombi(e,t){const n=S._.track;return"TRACK"===e.type?n.isGoalIncluded?n.isGoalIncluded(this.getTrackGoalIdFromExp(e.id)):void(t||S.push(["track.delayedGoalConversion",{campaignId:e.id,type:"TRACK",goalId:this.getTrackGoalIdFromExp(e.id)}])):"FUNNEL"===e.type?n.isFunnelIncluded?n.isFunnelIncluded(e.id):void(t||S.push(["track.delayedGoalConversion",{campaignId:e.id,type:"FUNNEL"}])):Bn.isAnalyzeCampaign(e.type)?n.isAnalyzeCampaignIncluded?n.isAnalyzeCampaignIncluded(e.id):void(t||S.push(["track.delayedGoalConversion",{campaignId:e.id,type:e.type}])):this.getCombiCookie(e.id)}}const cr=new ar;window.VWO.modules.utils.campaignUtils=cr;class dr extends rr{}const lr=new dr;window.VWO.modules.utils.urlUtils=lr;const ur=()=>window._vwoCc||{},wr=e=>{const t=ur();return t.SPA_SPLIT=t.SPA_SPLIT||{},!!t.SPA_SPLIT[e]};class _r extends Xi{constructor(){super(),this.preview=Be,this.currentCombinationXPaths={},window.VWO._.phoenixMT.on(le.CAMPAIGN_TAG_EXECUTED,(({rtag:e,id:t})=>{e&&Bn.updateRTagsInfo(e,t)})),window.VWO._.phoenixMT.on("vwo_urlChangeMt",(()=>{xi()}))}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:Bn.isPersonalizeCampaign(t)?o.combination:null};n&&n.cpath?i.rulesArr=[e,n.cpath]:i.ruleName=e,Di(i,{shouldNotUnhide:o.shouldNotUnhide,tagName:n&&n.tag,campId:t.id})}tryApplyingChanges(e,t,n,o){var i,r,s;Bn.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||Bn.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)),xi(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 l(this,void 0,void 0,(function*(){yield window.VWO.phoenix('trigger("${{1}}", "${{2}}")',null,{captureGroups:[e,t]})}))}}),t.cA=!0;const c=window.VWO;let u,w,_,h,g,p,v,f,O=e.split(","),m=0;const E=t.type,S=t.sections,C=window._vwo_exp[t.id].sections,T=Fe.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=[]),p=O.length,null===(r=window.VWO._.phoenixMT)||void 0===r||r.trigger(le.SET_CAMPAIGN_TO_OBSERVE,{campaignId:t.id}),g=0;g<p;g++){u=void 0;const r=null==v?void 0:v[g],d=null==r?void 0:r.dHE;w=null==r?void 0:r.rtag;const l=v&&v[g].entryIndex||g;if(v&&(null===(s=v[g])||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,l)?delete this.currentCombinationXPaths[_]:this.currentCombinationXPaths[_]=[m,e],u=c._.allSettings.tags[r.tag].fn}else{if(_=S[++m].path,!_)continue;if("head"===_.toLowerCase()||this.isChangeAppliedOnElForCampaign(_,t,l)||(this.currentCombinationXPaths[_]=[m,O[g]]),1===t.version&&1===parseInt(O[g],10)){n.trigger(le.ELEMENT_LOADED,{oldArgs:[t.id,m,O[g],_]}),this.markChangeAppliedOnElForCampaign(_,t,l),this.unhideElementPerVariationEntry(_,t,v&&v[g],{combination:e,shouldNotUnhide:d});continue}S[m].variations[O[g]].length>0&&(u=window.VWO._.allSettings.tags[S[m].variations[O[g]][0].tag].fn||ze)}const p=u?u.toString():"";if(v&&v[g].t&&0===i.length){const i=[Object.assign(Object.assign({},v[g]),{entryIndex:g})];dn(Object.assign(Object.assign({},v[g]),{campId:t.id}),function(){this.applyChanges(e,t,n,o,i)}.bind(this));continue}if("head"===_.toLowerCase()){if(C[m].loaded=C[m].loaded||{},!0===C[m].loaded[l])continue;n.trigger(le.ELEMENT_LOADED,{oldArgs:[t.id,m,O[g],_]}),n.trigger(le.ELEMENT_CHANGES_APPLIED,{oldArgs:[t.id,m,"VISUAL"===E?O[g]:e,_,p]}),Li(n,le.MODIFIED_ELEMENT,{id:t.id,section_id:m,combination:"VISUAL"===E?O[g]: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,l)})),h.length||"head"!==_.toLocaleLowerCase()||C[m].loaded[l]||(h=f),0<h.length){"head"===_.toLowerCase()&&(C[m].loaded[l]=!0),"VISUAL"===E?n.trigger(le.ELEMENT_LOADED,{oldArgs:[t.id,m,O[g],_]}):n.trigger(le.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(" ")})},s=u&&u(r,"",{id:t.id});window.VWO._.phoenixMT.trigger(le.CAMPAIGN_TAG_EXECUTED,{rtag:w,id:t.id}),void 0!==i&&vwo_$(i).each((function(){T[m]&&"function"==typeof T[m]&&T[m](vwo_$(_),this)})),this.unhideElementPerVariationEntry(_,t,v&&v[g],{combination:e,shouldNotUnhide:d}),this.markChangeAppliedOnElForCampaign(_,t,l,s,m),null===(a=window.VWO._.phoenixMT)||void 0===a||a.trigger(le.INIT_VWO_INTERNALS,{elementSelector:_,campaignId:t.id}),"VISUAL"===E?(n.trigger(le.ELEMENT_CHANGES_APPLIED,{oldArgs:[t.id,m,O[g],_,p,o]}),Li(n,le.MODIFIED_ELEMENT,{name:le.MODIFIED_ELEMENT,time:+new Date,props:{id:t.id,section:m,combination:O[g],path:_,content:u,debugLog:o}})):(n.trigger(le.ELEMENT_CHANGES_APPLIED,{oldArgs:[t.id,"1",e,_,p,o]}),Li(n,le.MODIFIED_ELEMENT,{name:le.MODIFIED_ELEMENT,time:+new Date,props:{id:t.id,section:"1",combination:e,path:_,content:u,debugLog:o}})),Li(n,le.ELEMENT_CHANGES_APPLIED,{name:le.ELEMENT_CHANGES_APPLIED,time:+new Date,props:{id:t.id,section:"1",combination:e,path:_}}),t[qe]=1}else this.unhideElementPerVariationEntry(_,t,v&&v[g],{combination:e,shouldNotUnhide:d});v&&v[g].frEvt&&cn(v[g].tag)}else this.unhideElementPerVariationEntry(_,t,v&&v[g],{combination:e,shouldNotUnhide:d});null!=(o=window.VWO._[`keepElementLoadedRunning_${t.id}`]||o)&&c._.coreLib.finished&&this.shouldCancelInterval(o,t.id,t)&&cr.clearTimeouts(t)}}catch(o){n.trigger(le.ELEMENT_LOAD_ERROR,{oldArgs:[t.id,e,o]}),d.error(o)}window.vwo_$=y}processRedirect({getters:e,campaignData:t,redirectURL:n,isNewVisitor:o}){window.VWO._.triggerEvent(le.REDIRECT_DECISION,!0,t.id);let i,r,s,a,c,d,l,u,w=!1;const _=e.location;if(w=t.urlRegex?ir.matchRegex(lr.getCleanedUrl(e.currentUrl,!0),t.urlRegex,!0):ir.matchWildcard(lr.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]&&(Ri.isQueryParamPresent(w[i])||Ri.isHashPresent(w[i]))){const e=t.sections[1].variations[1];Ri.isQueryParamPresent(e)||Ri.isHashPresent(e)?Ri.isHashPresent(e)&&!Ri.isQueryParamPresent(e)?w[i]=w[i].replace(/^(.*?)(?:\?[^#]*)(#?.*)$/,"$1$2"):!Ri.isHashPresent(e)&&Ri.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(Ri.isQueryParamPresent(a,!0))for(d=Ri.getUrlVars(_.search),c=Ri.getUrlVars(a),u=re(d),r=u.length;r--;)s=u[r],void 0===c[s]&&(a+="&"+s+"="+d[s]);else Ri.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:[le.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=wr(t.id);let o=!1;if(o=new URL(e).origin===_.origin,n&&o)return history.replaceState(null,null,e),void Bn.removeCampaignLevelStyleTag(t.id)}catch(e){}_.replace(e)};if(window.VWO._.willRedirectionOccur=!1,window._vis_debug||!o||window._vwo_exp[t.id].vSCallSent)Bn.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),Bn.saveVSDataInStorageForSplit(t,n,a),h(a)}))}}shouldCancelInterval(e,t,n){return!e||0==e||1!==e&&!0!==e&&(2===e?!t||(!Bn.isDomDependent(n.type)||!!n[qe]):3!==e&&void 0)}otherSide(...e){e[0]="tags.runTestCampaign.utils."+e[0],window.fetcher.getValue(...e)}}const hr=new _r;window.VWO.modules.tags.runTestCampaign=window.VWO.modules.tags.runTestCampaign||{},window.VWO.modules.tags.runTestCampaign.utils=hr;const gr={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"},pr={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",VWO_EXECUTED:"vE",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"},vr={[le.VARIATION_SHOWN]:"VARIATION_SHOWN",[le.SPLIT_VARIATION_SHOWN]:"VARIATION_SHOWN",[le.VARIATION_APPLIED]:"VARIATION_APPLIED",[le.ELEMENT_CHANGES_APPLIED]:"ELEMENT_CHANGES_APPLIED",[le.REGISTER_CONVERSION]:"REGISTER_CONVERSION",[le.VWO_EXECUTED]:"VWO_EXECUTED",[le.VARIATION_SHOWN_SENT]:"VARIATION_SHOWN_SENT",[le.ACTIVATE_API_TRIGGERED]:"ACTIVATE_API_TRIGGERED",[le.COOKIE_CONSENT_REJECTED]:"COOKIE_CONSENT_REJECTED",[le.COOKIE_CONSENT_ACCEPTED]:"COOKIE_CONSENT_ACCEPTED",[le.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",[le.RETRACK_VISITOR]:"RETRACK_VISITOR",[gr.SURVEY_INIT]:"SURVEY_INIT",[gr.SURVEY_READY]:"SURVEY_READY",[gr.SURVEY_ATTEMPTED]:"SURVEY_ATTEMPTED",[gr.SURVEY_SHOWN]:"SURVEY_SHOWN",[gr.SURVEY_COMPLETED]:"SURVEY_COMPLETED",[gr.SURVEY_CLOSED]:"SURVEY_CLOSED",[gr.SURVEY_MINIMIZED]:"SURVEY_MINIMIZED"},fr={[le.VARIATION_SHOWN]:function(e){return[e.id+"",e.variation]}};class Or extends _i{constructor(){super(),this.isNotRedirectingEventFired=!1,this.vwoEvents={trigger:function(e,t){return l(this,void 0,void 0,(function*(){yield window.VWO.phoenix('trigger("${{1}}", "${{2}}")',null,{captureGroups:[e,t]})}))}},window.VWO._.phoenixMT.on(le.VARIATION_SHOWN_SENT,(e=>{const t=JSON.parse(localStorage.getItem(Ze.VS_DATA));t&&delete t[e]&&(Object.keys(t).length>0?localStorage.setItem(Ze.VS_DATA,JSONStringify(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?Li(null,le.CUSTOM_CONVERSION,{gId:e,["gId_"+e]:1}):window.VWO._.phoenixMT.on("vwo_campaignsLoaded",(()=>{Li(null,le.CUSTOM_CONVERSION,{gId:e,["gId_"+e]:1})})):Li(null,le.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?Li(null,le.CUSTOM_CONVERSION,{cId:t,gId:e,["gId_"+e]:1}):window.VWO._.phoenixMT.on("vwo_campaignsLoaded",(()=>{Li(null,le.CUSTOM_CONVERSION,{cId:t,gId:e,["gId_"+e]:1})})):Li(null,le.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?Li(null,le.REVENUE_CONVERSION,{revenue:e}):window.VWO._.phoenixMT.on("vwo_campaignsLoaded",(()=>{Li(null,le.REVENUE_CONVERSION,{revenue:e})})):Li(null,le.REVENUE_CONVERSION,{revenue:e})},window.VWO.track=window.VWO.track||{},window.VWO.track.goalConversion=function(e){return l(this,void 0,void 0,(function*(){yield window.fetcher.getValue("VWO.modules.tags.backwardCompatibilityUtils.customGoalConversion",[e,!0])}))},window.VWO.track.revenueConversion=function(e){return l(this,void 0,void 0,(function*(){yield window.fetcher.getValue("VWO.modules.tags.backwardCompatibilityUtils.customRevenueConversion",[e,!0])}))},window.VWO.track.delayedGoalConversion=function(e){return l(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){Bn.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=ke.get,window._vis_opt_element_loaded=hr.tryApplyingChanges}checkIfNotRedirecting(e){this.isNotRedirectingEventFired||e.name!==le.PAGE_VIEW||this.isNotRedirectingEventFired||(this.isNotRedirectingEventFired=!0,f.apply(f,[pr.NOT_REDIRECTING]))}wildCardCallback(e,t){this.checkIfNotRedirecting(e);const n=vr[t];if(n&&le.VARIATION_APPLIED!==t){const o=pr[n];let i,r=null==e?void 0:e.oldArgs;if(r?i=!0:r=[],!i&&fr[t]&&(r=fr[t](e.props)),t!==le.VARIATION_SHOWN||e.props.isFirst||e.props.isSplitVariation?t===le.ELEMENT_CHANGES_APPLIED?i&&f.apply(f,[o,...r]):t!==le.VARIATION_SHOWN&&(t==le.CAMPAIGN_FLOW_START&&window._vwo_code&&(window._vwo_code.libExecuted=1,window.fetcher.setValue("_vwo_code.libExecuted",1)),f.apply(f,[o,...r]),t==le.CAMPAIGN_FLOW_START&&window.VWO.phoenix('trigger("${{1}}")',null,{captureGroups:[le.TIB_DONE]})):f.apply(f,[o,...r]),t===le.VARIATION_SHOWN&&!e.props.isFirst&&!e.props.isSplitVariation||t===le.SPLIT_VARIATION_SHOWN||t==le.REGISTER_HIT){const e=vr[le.VARIATION_APPLIED],t=pr[e];f.apply(f,[t,...r]),this.vwoEvents.trigger(le.VARIATION_APPLIED,{oldArgs:r,campaignId:parseInt(r[0],Ye),combi:r[1].includes(",")?r[1]:parseInt(r[1],Ye)})}}}}const mr=new Or,Er=mr.execute.bind(mr),Sr=mr.wildCardCallback.bind(mr);window.VWO.modules.tags.backwardCompatibility=Er,window.VWO.modules.tags.wildCardCallback=Sr;class Cr{otherSide(...e){return e[0]="VWO.modules.tags.backwardCompatibilityUtils."+e[0],e[2]&&(e[2]={captureGroups:e[2]}),window.fetcher.getValue(...e)}}let Tr;function yr(e){return l(this,void 0,void 0,(function*(){yield S.phoenix('store.actions.addValues("${{1}}", "${{2}}" )',null,{captureGroups:[e,"vwoInternalProperties"]})}))}class Ir{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 Ar=new Ir;let Nr=!1;class Vr extends Cr{postPhoenixMTHook(){this.makeSessionAndTagCall()}declareVWOAPI(){S.applyChanges=function(e){return l(this,void 0,void 0,(function*(){const t=[],n=(yield S.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=Bn.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]]})}}))},S.activate=function(e,t,n,o){var i;return l(this,void 0,void 0,(function*(){if(!Be()&&!window._vis_debug||!window.VWO._.isDomainBlocked){window.VWO.phoenix('trigger("${{1}}")',null,{captureGroups:[le.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&&(window._vis_opt_url=o,window.fetcher.setValue("_vis_opt_url",window._vis_opt_url)),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(le.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(Bn.isSessionBasedCampaign2(t)){Li(null,le._ACTIVATED,{id:n});continue}(null==t?void 0:t.manual)&&(window.VWO._[`keepElementLoadedRunning_${n}`]=e,yr({[`keepElementLoadedRunning_${n}`]:e}),Li(null,le.ACTIVATED,{id:n}))}}o&&(yield window.fetcher.getValue("VWO.modules.tags.activate"))}}}))},S.revertChanges=function(e){return l(this,void 0,void 0,(function*(){const t=(yield S.phoenix("store.getters")).currentSettings.dataStore.campaigns[e];if(t&&t.sections)for(var n=rt(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)}))},S.modifyClickPauseTime=function(e){e=e||{time:0,useBeacon:!1},S._.redirectionDelayTime=e.time,e.useBeacon&&(S.data.tB=!0)},S.destroy=function(){return l(this,void 0,void 0,(function*(){yield S.phoenix("destroy()"),Gi.clearAllListeners()}))},S.setFetchSettingsDelay=function(e){yr({SPA_SETTINGS_DELAY:e})},S.disableAutofetchSettings=function(){yr({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};S.refreshElements=function(t,n){var o;return l(this,void 0,void 0,(function*(){if(!t)return;t instanceof Array||(t=[t]);const i=yield S.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=Bn.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]})}}}))},S.fetchPCSettings=function(){Tr||(Tr=!0,yr({loadPC:!0}))},S.enableSPA=function(e){yr(void 0===e||e?{isSpaEnabled:!0}:{isSpaEnabled:e})},S.updateSPAWaitTime=function(e){yr({SPA_ELEMENT_WAIT_TIMEOUT:e})},S.onEventTriggered=function(e){Ar.register("onEventTriggered",e),Nr||(Nr=!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),Ar.executeAll("onEventTriggered",t)}}]}))},S.onVWOCampaignsLoaded=function(e){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}),window.VWO._.bucketedCampaignsAPIStore.callbacks.push(e)},S.deactivate=function(e){return l(this,void 0,void 0,(function*(){const t=yield S.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(le.NEW_SESSION_CREATED,(e=>{let t={};e&&(t=e.props),t.cq=0,window._vis_debug||Be()||this.makeCallForTagsAndSession(t,"newSession")})),window.VWO._.phoenixMT.on(le.DIMENSION_TAG_PUSHED,(e=>{const t=e;this.makeCallForTagsAndSession(t,"sessionUpdate")}))}makeCallForTagsAndSession(e,t){return l(this,void 0,void 0,(function*(){const n=window.VWO._.sessionInfoService;void 0!==S._.insightsOnConsentPromise&&(yield S._.insightsOnConsentPromise);n.isSessionInfoSynced()||n.setSNCookieValueByIndex2(Kt.SESSION_SYNCED_STATE_INDEX,1);const o=n.getSessionId(),i=n.getPageId();if((isNaN(o)||isNaN(i))&&window.VWO._.customError){const e={_vwo_sn:ke.get(Kt.TRACK_SESSION_COOKIE_NAME),_vwo_ds:ke.get(Kt.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:JSONStringify(e)})}const r=Bn.extraData2(!0),s=encodeURIComponent(r),a=Bn.createUUIDCookie2({vwoUUID:Fe.vwoUUID}),c="s.gif?account_id="+Fe.accountId+Bn.getUUIDString(a)+"&s="+o+("newSession"===t?"&ed="+s+"&cu="+encodeURIComponent(Fe.currentUrl)+"&r="+(S.data.vi&&"new"===S.data.vi.vt?0:1):"")+"&p="+i+(e.tags?"&tags="+e.tags:"")+(e.egTagValue?"&eg="+e.egTagValue:"")+("sessionUpdate"===t?"&update=1":"")+(6==window._vwo_acc_id&&e.batch?"&batch="+e.batch:"")+(6==window._vwo_acc_id&&e.tags?"&tagsLength="+(JSON.parse(e.tags).si&&Object.keys(JSON.parse(e.tags).si).length):"")+(6==window._vwo_acc_id&&e.calledByUnload?"&isUnload="+e.calledByUnload:"")+(window._vwo_acc_id,"&cq=")+e.cq;try{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:JSONStringify({extraData:r,lt:(new Date).getTime(),referrer:Ge.get(),requestURL:c})})}Ti.sendCall({serverUrl:Fe.serverUrl,accountId:Fe.accountId},{url:c},{},(({isError:e})=>{!e&&"newSession"==t&&Qe.includes(window._vwo_acc_id)&&Bn.setOnLocalStorageOnBothThreads("vwo_newSessionCreated",{uuid:a,sessionId:o,sessionCookie:ke.get(Kt.TRACK_SESSION_COOKIE_NAME),cURL:Fe.currentUrl})}))}))}sendRegisterCall(e,t,n){Ti.sendCall(e,{url:t,successCallback:n},null,null,!0)}}const br=new Vr;window.VWO.modules.tags.backwardCompatibilityUtils=br;class Rr{otherSide(...e){return e[0]="VWO.modules.tags.setSession."+e[0],window.fetcher.getValue(...e)}}class Lr{otherSide(...e){return e[0]="VWO.modules.tags.sessionInfoService."+e[0],e[2]&&(e[2]={captureGroups:e[2]}),window.fetcher.getValue(...e)}}function Wr(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(){}}Lr.LOCAL_STORAGE_SESSION_EXPIRY=30,Lr.LOCAL_STORAGE_NAME=window._vis_debug?"debug_vwoSn":"vwoSn",Lr.ACCOUNT_ID=window._vwo_acc_id,Wr.prototype.add=function(e,t){if(e){var n=this.tags;"Array"===this.type?("[object Array]"!==Object.prototype.toString.call(e)&&(e=[e]),e=ut(e,(function(e){return e=encodeURIComponent(e.trim())})),n=wt(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()}},Wr.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,st(this.sentTags2,this.tags2),this.tags2={}):(t=this.tags,st(this.sentTags,this.tags),this.tags={})),t},Wr.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 rt(t).length>0}return!1},Wr.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={}))},Wr.prototype.refresh=function(){"Array"===this.type?this.lastSent=0:"Hash"===this.type&&(st(this.tags,this.sentTags),this.sentTags={},6==window._vwo_acc_id&&(st(this.tags2,this.sentTags2),this.sentTags2={}))};const Pr="eg";let xr={},Dr,Ur=["u","s","p","ui","si","pi"],kr=function(){},Mr={user:"u",session:"s",page:"p"};for(Dr=0;Dr<Ur.length;Dr++)xr[Ur[Dr]]=new Wr("Hash");xr[Pr]=new Wr("Array");const Gr={onPush:function(e){"function"==typeof e&&(kr=e)},getTags:function(e){let t={},n="";for(Dr=0;Dr<Ur.length;Dr++){const n=xr[Ur[Dr]].get(e);n&&(t[Ur[Dr]]=Yt(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=xr[Pr].get();if(e)return e.join()},addTag:function(e,t,n,o){let i=Mr[n=n||"session"];if(!i){if(n!==Pr)return;i=Pr}o&&(i+="i"),xr[i].add(e,t),kr()},refresh:function(){xr.s.reset(),xr.si.refresh(),xr[Pr].refresh()}};window.VWO.tag=Gr.addTag,window.VWO._.tags=Gr;const Fr={getDataStore:function(){return this.getDSCookieValueByIndex(1)},setDataStore:function(e){ke.create(Kt.TRACK_GLOBAL_COOKIE_NAME,this.getMetaStore()+"$"+e,Jt())},getMetaStore:function(){return this.getDSCookieValueByIndex(0)||""},setMetaStore:function(e){ke.create(Kt.TRACK_GLOBAL_COOKIE_NAME,e+"$"+this.getDataStore(),Jt())},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=ke.get(Kt.TRACK_GLOBAL_COOKIE_NAME);return t?t.split("$")[e]:null},getCookieVersion:function(){return ke.get(Kt.TRACK_GLOBAL_COOKIE_NAME).split("$")[0].split(":")[Kt.COOKIE_VERSION_INDEX]},deleteDataStoreInfoByIndex:function(e){var t=this.getDataStore();t&&((t=t.split(":"))[e]="",t=t.join(":"),this.setDataStore(t))}};window.VWO._.commonCookieHandler=Fr;class $r{constructor(){this.eventCallbacks=[],this.isInitialized=!1}onActivity(){if(Sn.shouldWeTrackVisitor())for(let e=0;e<this.eventCallbacks.length;e++)this.eventCallbacks[e]()}init(){if(this.isInitialized)return;const e=un((()=>{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()}}const jr=new $r;function Br(){m.remove(Lr.LOCAL_STORAGE_NAME)}let Hr;window.VWO._.tua=jr;class Kr extends Lr{constructor(){super(),this.imidiateUpdate=!0,this.firstSessionCreated=!1,this.vwoSn={cu:"",r:"",lt:0,v:"0.1.0"},Hr=this,this.expireSessionOnDateChange(),this.visitorInformation=window.VWO.data.vi=window.VWO.data.vi||{},this.setVWOSn(),this.getSessionStore()&&this.initialize(),jr.track((()=>{this.updateLocalStorageSession()}))}triggerNewSessionEvent(){window.VWO.phoenix('trigger("${{1}}")',null,{captureGroups:[le.NEW_SESSION_CREATED]}),window.VWO._.phoenixMT.trigger(le.NEW_SESSION_CREATED)}expireSessionOnDateChange(){if(!this.getSessionStore())return;const e=this.getSessionId();if(e){const t=new Date(1e3*e).getDate();new Date(ht()).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(),jr.track((()=>{this.updateSession()})),this.addValues({sessionStart:this.getSessionId()},"root"),this.fireSessionEvent())}fireSessionEvent(){window.VWO.phoenix('trigger("${{1}}", "${{2}}" )',null,{captureGroups:[le.SESSION,{VWO:{firedTime:1e3*this.getSessionId()}}]})}attachTagsPushCallback(){let e,t;const n=this,o=function(o,i,r){e=Gr.getTags(i),t=i?void 0:Gr.getEgTags();const s=Bn.doesSessionBasedCampaignExistsInTags(e);if(!window._vis_debug&&!Be()&&(e||t)){if(!o&&!n.getSessionStore()){const o={name:le.NEW_SESSION_CREATED,time:+new Date,props:{pageId:n.getPageId(),tags:e,egTagValue:t,cq:s}};return Li(null,le.NEW_SESSION_CREATED,o),window.VWO._.phoenixMT.trigger(le.NEW_SESSION_CREATED,o),!0}i?window.VWO._.phoenixMT.trigger(le.DIMENSION_TAG_PUSHED,{tags:e,egTagValue:t,cq:s,batch:i,calledByUnload:r}):window.fetcher.getValue("VWO.modules.events.events.dimensionTagPushed",[null,{tags:e,egTagValue:t,cq:s}])}return!1};let i=!1;const r=wn(o,10);const s=vt(o,window.VWO._.pushThrottleTime||1e3);return Gr.onPush((()=>{r(!0),6==window._vwo_acc_id&&s(!0,!0)})),6==window._vwo_acc_id&&(window.VWO._.phoenixMT.on(le.PAGE_EXIT,(e=>{i||(o(!0,!0,!0),i=!0)})),window.VWO.pageExitListener=!0),o()}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()),Kt.SESSION_TIMER_EXPIRE)}retrackVisitor(){const e=ht(!0)-Hr.getFirstSessionId();Gr.refresh(),this.setSessionStore(e+""),this.triggerNewSessionEvent(),window.VWO.phoenix('trigger("${{1}}")',null,{captureGroups:[le.RETRACK_VISITOR]})}initializeSession(e){this.initializeSession2(e)}setVisitorInformation(){window.VWO.data.vi.vt=Hr.visitorInformation.vt=Hr.isReturningVisitor()?"ret":"new",window.fetcher.setValue("VWO.data.vi.vt",window.VWO.data.vi.vt)}getPageIdInfo(){const e=this.getSessionStore(),t=e&&e.split(":")[Kt.PAGE_ID_INFORMATION_INDEX];return t&&t.split("_")}markPageIdSessionExpiry(){const e=this.getPageId()+"_"+(ht(!0)-this.getFirstSessionId()+Kt.PAGE_ID_EXPIRY);Hr.markPageId(e)}getPageId(){const e=this.getPageIdInfo(),t=e&&e[0];return t?parseInt(t,10):(this.imidiateUpdate=!1,1)}isReturningVisitor(){return Hr.getSessionId()>Hr.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?ht(!0)-e:(this.firstSessionCreated=!0,_t(!0)-e)}updateLocalStorageSession(){const e=this.getLocalStorageSession();!e||(ht(!0)-e.lt)/60>Lr.LOCAL_STORAGE_SESSION_EXPIRY?this.createLocalStorageSession():this.updateTimestampInfo(e)}updateTimestampInfo(e){this.vwoSn=e,this.vwoSn.lt=ht(!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=ht(!0),this.setLocalStorageSession()}getLocalStorageSession(e){let t=m.get(Kr.LOCAL_STORAGE_NAME);try{t=t?qt(t):null}catch(t){Br(),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(Kt.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||ht(!0)-Hr.getFirstSessionId()>t}setSNCookieValueByIndex(e,t){const n=this.getSessionStore(),o=n&&n.split(":")||[];o[e]=t+"",ke.create(Kt.TRACK_SESSION_COOKIE_NAME,o.join(":"),Kt.TRACK_SESSION_COOKIE_EXPIRY)}getSessionId(){return this.getFirstSessionId()+this.getRelativeSessionId()}setSessionStore(e){if(Sn.shouldWeTrackVisitor())return ke.create(Kt.TRACK_SESSION_COOKIE_NAME,e,Kt.TRACK_SESSION_COOKIE_EXPIRY)}getRelativeSessionId(){let e=this.getSessionStore();if(!e){var t=ht(!0)-this.getFirstSessionId();this.setSessionStore(t+""),e=this.getSessionStore()}return e&&+e.split(":")[Kt.RELATIVE_SESSION_ID_INDEX]}setLocalStorageSession(){Sn.shouldWeTrackVisitor()&&(this.vwoSn.v&&(this.vwoSn.cu=encodeURIComponent(this.vwoSn.cu),this.vwoSn.r=encodeURIComponent(this.vwoSn.r)),m.set(Kr.LOCAL_STORAGE_NAME,ln(this.vwoSn)))}getSessionStore(){return ke.get(Kt.TRACK_SESSION_COOKIE_NAME)}getGlobalCookie(){return ke.get(Kt.TRACK_GLOBAL_COOKIE_NAME)}eraseSessionCookie(){this.sessionTimer=null,ke.erase(Kt.TRACK_SESSION_COOKIE_NAME)}getPcTrafficFromCookie(){var e=Fr.getDataStore();return e?parseFloat(e.split(":")[Kt.PC_TRAFFIC_INDEX]):null}getFirstSessionId(){let e=Fr.getDataStore();return e||(this.createGlobalCookie(),e=Fr.getDataStore()),e&&+e.split(":")[Kt.FIRST_SESSION_ID_INDEX]}getSNCookieValueByIndex(e){var t=this.getSessionStore();return t?t.split(":")[e]:null}createGlobalCookie(){if(!Sn.shouldWeTrackVisitor())return;const e=Kt.COOKIE_VERSION+"$"+_t(!0)+":"+this.getPcTraffic()+"::";ke.create(Kt.TRACK_GLOBAL_COOKIE_NAME,e,Jt())}isSessionInfoSynced(){return this.getSNCookieValueByIndex(Kt.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 Jr extends Rr{constructor(){super(),window.VWO._.phoenixMT.on("vwo_phoenixInitCalled",(()=>{this.execute({vwoUUID:Fe.vwoUUID})})),window.VWO._.phoenixMT.on("vwo_urlChangeMt",(()=>{window.VWO._.pageId=void 0,this.execute({vwoUUID:Fe.vwoUUID})}))}execute(e){return l(this,void 0,void 0,(function*(){let t;if(window.VWO.modules.tags.sessionInfoService?t=window.VWO.modules.tags.sessionInfoService:(t=new Kr,window.VWO.modules.tags.sessionInfoService=t,window.VWO._.sessionInfoService=t),t.getSessionStore())Qe.includes(window._vwo_acc_id)&&Bn.setOnLocalStorageOnBothThreads("vwo_newSessionCreated",{user:"old"},["user"]),t.fireSessionEvent(),t.setVisitorInformation(),t.updateAndSyncPageId();else{Qe.includes(window._vwo_acc_id)&&Bn.setOnLocalStorageOnBothThreads("vwo_newSessionCreated",{user:"new"},["user"]),Bn.createUUIDCookie2(e),t.getGlobalCookie()||t.createGlobalCookie();const n=t.getRelativeSessionTimestamp();t.initializeSession2&&t.initializeSession2(n)}Bn.setVin(e),window.VWO.phoenix('trigger("${{1}}")',null,{captureGroups:[le.SESSION_INIT_COMPLETE]})}))}}const qr=new Jr,Yr=qr.execute.bind(qr);window.VWO.modules.tags.setSession=qr;class Xr{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 Qr=Xr.parseUrl(window.location.href).queryParams.vwoLogLevel;var Zr=new c(Qr||zr.LOGGER_LEVEL);class es{constructor(){this.plugins={}}register(e){Zr.debug(`Registering plugin '${e.pluginName}' in Plugins factory`),this.plugins[e.pluginName]=e}unregister(e){let t;t=Ee(e)?e:e.pluginName,Zr.debug(`Unregistering plugin '${t}' in Plugins factory`),this.plugins[t].removeAll(),delete this.plugins[t]}unregisterAll(){Zr.debug("Unregistering all plugins in Plugins factory"),Object.keys(this.plugins).forEach((e=>{this.plugins[e].removeAll(),delete this.plugins[e]}))}clearData(){Zr.debug("Clearing the data of all the plugins"),Object.keys(this.plugins).forEach((e=>{this.plugins[e].clearData()}))}}var ts=new es,ns;class os{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"}(ns||(ns={}));const is=function(e,t,n){return l(this,void 0,void 0,(function*(){const o=ts.plugins[ns.OPERATOR]&&ts.plugins[ns.OPERATOR].get(e)||(()=>!1),i=St();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=Ct(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){d.error("Failed to evaluate the dataLayer variable: ",e)}return!a&&s}}))};window.VWO.modules.tags.dL=is;class rs{otherSide(...e){e[0]="VWO.modules.tags.checkEnvironment."+e[0],window.fetcher.getValue(...e)}}window.VWO.modules.tags.checkEnvironment={};class ss{otherSide(...e){e[0]="VWO.modules.tags.checkEnvironment.utils."+e[0],window.fetcher.getValue(...e)}}class as extends ss{addDomListenerForTimeout(e){window.addEventListener("load",(()=>{e()})),"complete"===document.readyState&&e()}setSameSiteVariables(){const e=Bn.isSSApp();return e&&(window.VWO._.ssdm=!0),e&&"https:"===Fe.location.protocol&&(!window.VWO.data.accountJSInfo||window.VWO.data.accountJSInfo&&!window.VWO.data.accountJSInfo.noSS)&&(window.VWO._.ss=!0),e}}const cs=new as;window.VWO.modules.tags.checkEnvironment.utils=cs;class ds extends rs{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=cs.setSameSiteVariables(),t=!window.VWO._.cLFE&&Sn.shouldWeTrackVisitor();return{doCookiesMatter:t,areCookiesDisabled:Bn.areCookiesDisabled(t),shouldStopExecWhenSsmNotFound:Bn.shouldStopExecWhenSsmNotFound(),isSSApp:e}}execute(){}}const ls=new ds,us=ls.execute;window.VWO.modules.tags.checkEnvironment.fn=ls;class ws{}class _s extends ws{execute(){}}const hs=new _s,gs=hs.execute;window.VWO.modules.tags.runCampaign=hs;const ps=function(){};window.VWO.modules.tags.runTestCampaign.fn=ps;class vs{}class fs extends vs{processGroupCampaigns(){}}const Os=new fs,ms=Os.processGroupCampaigns.bind(Os);window.VWO.modules.tags.groupCampaigns=ms;class Es{}class Ss extends Es{constructor(){super(),716497===window._vwo_acc_id&&window.VWO._.phoenixMT.on("vwo_urlChangeMt",this.execute)}execute(){window.VWO._.phoenixMT.trigger(le.TOGGLE_MUT_OBSERVER,{status:!1})}}const Cs=new Ss,Ts=Cs.execute;class ys{otherSide(...e){return e[0]="VWO.modules.tags.prePostMutation.fn."+e[0],window.fetcher.getValue(...e)}}window.VWO.modules.tags.prePostMutation={};class Is{otherSide(...e){return e[0]="VWO.modules.tags.prePostMutation.utils."+e[0],window.fetcher.getValue(...e)}}let As=null,Ns=null,Vs=null,bs=!1,Rs=!1;class Ls extends Is{monitorPageForChanges(){var e;if("undefined"!=typeof MutationObserver&&(Ns&&716497===window._vwo_acc_id&&window.VWO._.phoenixMT.trigger(le.TOGGLE_MUT_OBSERVER,{status:!0}),!Ns)){const t={subtree:!0,attributes:!0,childList:!0,attributeFilter:["class"]},n=function(){var e,t,n;if(!bs){window.VWO._.phoenixMT.trigger(le.TOGGLE_MUT_OBSERVER,{status:!1});const o=window.VWO._.allSettings.dataStore.campaigns;if(!window.VWO._.urlChangeProcessingPending)for(const n in o)o[n].xPath&&!Bn.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(le.EDITOR_APPLY_CHANGES_COMPLETE),window.VWO._.phoenixMT.trigger(le.TOGGLE_MUT_OBSERVER,{status:!0})}};window.VWO._.phoenixMT.on(le.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?Ns.observe(o,t):Ns.disconnect()}));const o=null===(e=window._vwoCc)||void 0===e?void 0:e.observeHTML;Ns=new Fe.MutationObserver(n);const i=o?document.documentElement:document.body||document.documentElement;i&&Ns.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(le.TOGGLE_MUT_OBSERVER,{status:!1})})),document.addEventListener("click",(e=>{window.VWO._.phoenixMT.trigger(le.TOGGLE_MUT_OBSERVER,{status:!0})})),window.VWO._.phoenixMT.on("vwo_urlChangeMt",(()=>{window.VWO._.phoenixMT.trigger(le.TOGGLE_MUT_OBSERVER,{status:!0})})))}}waitForDOMRenderingAndExecuteCampaign(e){bs=!0;const t=document.body||document.documentElement,n={subtree:!0,childList:!0},o=function(){Rs=!0,As=As||ft((function(){bs=!1,Vs.disconnect(),window.fetcher.getValue("phoenix.trigger",[le.SSR_COMPLETE])}),e.timer,!0),As()};function i(){Rs||(bs=!1,window.fetcher.getValue("phoenix.trigger",[le.SSR_COMPLETE]),Vs&&Vs.disconnect())}t?(Vs=new Fe.MutationObserver(o),Vs.observe(t,n)):(Rs=!0,window.fetcher.getValue("phoenix.trigger",[le.SSR_COMPLETE])),e.timeout?setTimeout(i,e.timeout):i()}}const Ws=new Ls;window.VWO.modules.tags.prePostMutation.utils=Ws;const Ps={},xs=735023==window._vwo_acc_id;class Ds{constructor(e){this.observed=!1,this.applyCount=0,this.selectorIdentifier="",void 0!==Fe.MutationObserver&&(this.observer=new Fe.MutationObserver(this.refreshObserverCallback.bind(this)),this.observer.node=e,e.addEventListener("vwoObserverAction",this.observerActionCallback.bind(this)))}}const Us=window._vwo_editorOperationTracker={},ks=100,Ms={subtree:!0,attributes:!0,characterData:!0,childList:!0,attributeFilter:["style","src","srcset"]},Gs="vwo_refresh_limit_reached",Fs=[];let $s={};const js=function(e,t){const n=vwo_$(e);if(!n.length||!Ps[t])return;const o=Array.from(n);let i=0;for(const n of o){let o=n.__vwoInternals;o||(o=n.__vwoInternals=new Ds(n),Fs.push(o)),o.applyCount++,xs&&(o.selectorIdentifier=`${e}|${i++}|${t}`,$s[o.selectorIdentifier]=$s[o.selectorIdentifier]||0,$s[o.selectorIdentifier]++)}},Bs=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&&(Bs(e,{disconnect:!0}),t(),Bs(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)})}},Ds.prototype.refreshObserverCallback=function(e,t){const n=t.node,o=JSON.parse(JSONStringify(Ps));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()},Ds.prototype.observerActionCallback=function(e){if(!e.detail)return;const t=e.detail||{},n=t.operationId;t.disconnect?n?Us[n]="disconnected":this.disconnectObserver():t.connect?this.connectObserver():n&&delete Us[n]},Ds.prototype.disconnectObserver=function(){this.observer.disconnect(),this.observed=!1},Ds.prototype.connectObserver=function(){if(this.observer&&!this.observed){(xs?$s[this.selectorIdentifier]>20:this.applyCount>ks)?this.observer.node.hasAttribute(Gs)||this.observer.node.setAttribute(Gs,""):(this.observer.observe(this.observer.node,Ms),this.observed=!0)}},Ds.prototype.resetObserver=function(){this.observer&&(this.applyCount=0,this.observed||(this.observer.observe(this.observer.node,Ms),this.observed=!0),$s={},this.observer.node.hasAttribute(Gs)&&this.observer.node.removeAttribute(Gs))};const Hs=function(){var e,t,n,o;null===(e=window.VWO._.phoenixMT)||void 0===e||e.on(le.INIT_VWO_INTERNALS,(function(e){const{elementSelector:t,campaignId:n}=e;js(t,n)})),null===(t=window.VWO._.phoenixMT)||void 0===t||t.on(le.SET_CAMPAIGN_TO_OBSERVE,(function(e){var t,n,o,i;const r=window._vwo_exp,{campaignId:s}=e;r[s].xPath&&!Bn.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)&&(Ps[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=Fs.length-1;e>-1;e--)Fs[e].resetObserver()})),null===(o=window.VWO._.phoenixMT)||void 0===o||o.on(le.EDITOR_APPLY_CHANGES_COMPLETE,(function(){for(let e=Fs.length-1;e>-1;e--)Fs[e].connectObserver()}))};window.VWO.modules.tags.prePostMutation.editorChangesObserver={attachEditorChangeObserverEvents:Hs};class Ks extends ys{execute(){}}const Js=new Ks,qs=Js.execute;function Ys(){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=Js;const Xs=Ys();window.VWO.modules.tags=window.VWO.modules.tags||{},window.VWO.modules.tags.sampleVisitor=Xs;class zs{constructor(){this.whiteListedEventsForVsKey=[le.PAGE_VIEW,le.CUSTOM_CONVERSION,le.DOM_CLICK,le.DOM_SUBMIT,le.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 Qs{constructor(){this.vwoEvents={trigger:function(e,t){return l(this,void 0,void 0,(function*(){yield window.VWO.phoenix('trigger("${{1}}", "${{2}}")',null,{captureGroups:[e,t]})}))}}}isGoalEligible(e,t){return e.pExcludeUrl&&ir.matchRegex(t,e.pExcludeUrl)?(window.VWO.modules.tags.wildCardCallback({},le.EXCLUDE_GOAL_URL),!1):e.pUrl?lr.verifyUrl(t,e.pUrl,null):lr.verifyUrl(t,null,e.urlRegex)}registerConversion(e,t,n,o,i){e=e||1,this._triggerGoalConversion(e,t,n,o,{combination:cr.getCombi(t,i)})}getImgUrlForConversion(e,t,n,o){if(!Sn.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(Ge.get())+(void 0===o?"":"&r="+o)+Bn.getUUIDString(Bn.getUUID(e)),"TRACK"===e.type){i=c.getSessionId(),window.VWO.modules.tags.wildCardCallback({campaign:e},le.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||cr.isGoalTriggered(t,e)||Bn.isBot2()))return void(_e.queueGoalLogs(t.id,e,n,!1)&&window.VWO.modules.tags.wildCardCallback({oldArgs:[t.id,e,n,!1],campaignId:t.id,goalId:e},le.REGISTER_CONVERSION));"REVENUE_TRACKING"!==t.goals[e].type&&(n=void 0);const s=this.getImgUrlForConversion(t,e,r,n);s&&(Bn.isEligibleToSendCall(t.id)&&Ti.sendCall(null,{url:s},null,null),cr.markGoalTriggered(t,e)),_e.queueGoalLogs(t.id,e,n,!!s)&&window.VWO.modules.tags.wildCardCallback({oldArgs:[t.id,e,n,!!s],campaignId:t.id,goalId:e},le.REGISTER_CONVERSION)}}const Zs=new Qs;class ea extends zs{execute(e,t){var n;if(window.VWO._.willRedirectionOccur)return;if(Bn.isBot2())return;const o={},i={};for(const n of t){const t=n.c,s=n.g,a=t&&window._vwo_exp[t];let c=!1;const d=a.goals[s];if(!(t&&s&&a&&d))continue;c=Bn.isSessionBasedCampaign2(a);const l=n.uuid||Bn.createUUIDCookie2(a);if(!c){if("CUSTOM_GOAL"===(null==d?void 0:d.type)){const e=d.url;o[l]=o[l]||[],o[l].indexOf(e)<0&&o[l].push(e)}i[l]=i[l]||{};const e="id_"+t;i[l].metrics=i[l].metrics||{},i[l].metrics[e]=i[l].metrics[e]||[],i[l].metrics[e].push("g_"+s),a.isEventMigrated&&(i[l].comb=i[l].comb||{},i[l].comb[e]=cr.getCombi(a))}var r=!0;window.VWO._.isBeaconAvailable=e.isBeaconAvailable,window.VWO._.isLinkRedirecting=e.isLinkRedirecting,Zs.registerConversion(s,a,e.revenue,!c,!0),window.VWO.phoenix('trigger("${{1}}", "${{2}}")',null,{captureGroups:[le.GOAL_CONVERTED,{campaignId:a.id,goalId:s}]}),window.VWO._.isLinkRedirecting=!1,r=r&&window.VWO._.isBeaconAvailable}const s=this.getCurrentEventData(e.vwoEventName,i,o);e._vwo=e._vwo||{},e._vwo.eventDataConfig=(null===(n=e._vwo)||void 0===n?void 0:n.eventDataConfig)||{},e._vwo.eventDataConfig=s}}const ta=new ea,na=ta.execute.bind(ta);window.VWO.modules.tags.metricMT=na;class oa{constructor(){this.lastSetTimerId=null,window.VWO._.phoenixMT.on(le.UNHIDE_ELEMENT,(({ruleName:e,campaignData:t,variation:n,rulesArr:o})=>{let i;t&&(i={id:t.id,variation:Bn.isPersonalizeCampaign(t)?n:null}),Bn.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:[le.CHECK_SEGMENTATION,e]}),d.info("Multiple hiding tags found after 5 seconds for campaigns "+JSONStringify(o),{url:"visibilityService.js",lineno:34,colno:34})}}),5e3)}}window.VWO.modules.tags.visibilityService=new oa;var ia=Object.freeze({__proto__:null,backwardCompatibilityUtils:br,checkEnvironment:us,runCampaign:gs,runTestCampaign:ps,groupCampaigns:ms,urlChange:Ts,prePostMutation:qs,errorTracking:Ko,sampleVisitor:Xs,metric:na});const{checkEnvironment:ra,runCampaign:sa,runTestCampaign:aa,groupCampaigns:ca,prePostMutation:da,urlChange:la,errorTracking:ua,sampleVisitor:wa,metric:_a}=ia;class ha{constructor(){this.noOp=function(){}}test(){console.log(1)}getPhoenixConfig(){return{tags:{checkEnvironment:{fn:ra,sync:!0},runCampaign:{fn:sa,sync:!0},runTestCampaign:{fn:aa,sync:!0},groupCampaigns:{fn:ca,sync:!0},prePostMutation:{fn:da,sync:!0},urlChange:{fn:la,sync:!0},errorTracking:{fn:ua,sync:!0},sampleVisitor:{fn:wa},metric:{fn:_a,sync:!0,fireUniquelyForEveryEvent:!0}},storages:{localStorageService:m,cookies:ke},jsLibUtils:{verifyUrl:function(){return lr.verifyUrl.apply(lr,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(S).length,o=0;o<n;o++)if("config"===S[o][0]){t=o;break}"number"==typeof t&&wi.processEvent(["config",S[t][1]],"jslib",S,t,S);var i=S.config();"ignoreCustomConfig"!==e&&((i=i||{}).storage={strategy:"custom",backwardCompatible:!1,strategyConfig:{callback:this.sendMessageToParentFrame,cookieJarValue:this.getCookieJarValidValue(e)}}),ke.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({},ia));for(let o=n.length-1;o>=0;--o)null===(t=(e=ia[n[o]]).postPhoenixMTHook)||void 0===t||t.call(e)}}const ga=new ha;function pa(){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=[],Bn.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=ga;const va=pa;var fa;window._vis_opt_queue=window._vis_opt_queue||[];var Oa=window._vis_opt_queue||[];const ma=window._vwoCc&&(null===(fa=window._vwoCc.arrayRepl)||void 0===fa?void 0:fa[window._vwo_acc_id]),Ea=ma?new At:[];Ea.execute=function(e){try{e()}catch(e){}},Ea.finish=function(e){if(!this.isProcessed){var t=Oa.push;Oa.push=function(){t.apply(this,[].slice.call(arguments)),Ea.execute.apply(this,[].slice.call(arguments))},this.isProcessed=!0}for(e=0;e<Oa.length;e++)Ea.execute(Oa[e])},Ea.clear=function(){Oa.splice(0,Oa.length)};var Sa=function(){},Ca=[],Ta=[],ya=[],Ia=[],Aa=window._vwo_evq=window._vwo_evq||[];window.VWO=window.VWO||[],window.VWO._=window.VWO._||{};var Na=function(e,t){t.e===e[0]&&t.c.apply(this,[e])},Va=function(e,t){744263===window._vwo_acc_id&&window.VWO._.customError&&window.VWO._.customError({msg:"callback fired",url:window.location.href,source:JSONStringify({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])},ba=function(e,t){t.c&&t.c.apply(this,[e[1]])},Ra=function(e){for(var t=0;t<ya.length;t++)Na(e,ya[t]);if(e[0]===le.TRACK_SESSION_CREATED&&!0===e[4]&&window.VWO.phoenix('trigger("${{1}}")',null,{captureGroups:[le.TRACK_NEW_SESSION_CREATED]}),"rH"===e[0]||"vS"===e[0])for(t=0;t<Ca.length;t++)Va(e,Ca[t]);if(e[0]===pr.VWO_EXECUTED)for(t=0;t<Ta.length;t++)ba(e,Ta[t]);if(e[0]===pr.VARIATION_SHOWN_SENT)for(const t of Ia)Va(e,t)},La=Aa.push;Aa.push=function(){var e=arguments[0];Ra(e),La.apply(Aa,[].slice.call(arguments))};var Wa=Aa.unshift;Aa.unshift=function(){var e=arguments[0];Ra(e),Wa.apply(Aa,[].slice.call(arguments))};const Pa={onVWOLoaded:function(e){var t={c:e=e||Sa};Ta.push(t);for(var n=0;n<Aa.length;n++)Aa[n][0]===pr.VWO_EXECUTED&&ba(Aa[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||Sa};Ia.push(o);for(const e of Aa)e[0]===pr.VARIATION_SHOWN_SENT&&Va(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||Sa};Ca.push(o);for(var i=0;i<Aa.length;i++)"rH"!==Aa[i][0]&&"vS"!==Aa[i][0]||Va(Aa[i],o)},onEventReceive:function(e,t){if(!e)throw new Error("Invalid eventName:"+e);var n={e:e,c:t=t||Sa};ya.push(n);for(var o=0;o<Aa.length;o++)Na(Aa[o],n)},onSurveyShown:function(e){this.push(["onEventReceive",window.VWO._.EventsEnum.ON_SURVEY_SHOWN,function(t){e(t[1])}])},onSurveyCompleted:function(e){this.push(["onEventReceive",window.VWO._.EventsEnum.ON_SURVEY_COMPLETED,function(t){e(t[1])}])},onSurveyAnswerSubmitted:function(e){this.push(["onEventReceive",window.VWO._.EventsEnum.ON_SURVEY_ANSWER_SUBMITTED,function(t){e(t[1])}])}};for(var xa in Pa)Pa.hasOwnProperty(xa)&&(window.VWO[xa]=Pa[xa]);function Da(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)&&d.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 Ua(){const e=window.VWO;e.nls&&(e.nls.stopRecording="permanent"),e.survey&&(e.survey.stopCollectingData=!0)}function ka(e){S._.addConsentTrigger=function(e){return l(this,void 0,void 0,(function*(){yield S._.insightsOnConsentPromise,e()}))},S._.libLoaded=!0,S._.commonUtil=Nt,S._.utils=Xt,S._.customEvent=de,S._.track=S._.track||{},S._.listener=Pa,S._.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"},S._.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"},S._.libUtils=Bn,S._.CookieEnum=Kt,S._.coreLib=S._.coreLib||{},S._.coreLib.compareUrlWithIncludeExcludeRegex=sr.compareUrlWithIncludeExcludeRegex.bind(sr),S._.coreLib.getCurrentUrl=function(){return window._vis_opt_url||window.location.href},S._.coreLib.runCampaigns=function(e,t){return l(this,void 0,void 0,(function*(){"object"==typeof e&&(t=e.expIds);const n=t.map((function(e){return l(this,void 0,void 0,(function*(){yield Li(S.phoenix,le._ACTIVATED,{id:e})}))}));yield Promise.all(n),S._.track.nlsProcessed=!0,wi.init("track",S,null)}))},S._.libUtils.createUUIDCookie=function(){return Bn.createUUIDCookie2({vwoUUID:e})},S._.libUtils.sendCall=function(e,t,n,o){no({url:e},t,n,o)},S._.libUtils.extraData=function(e){return Bn.extraData2(e)},S._.libUtils.isSessionBasedCampaign=function(e){const t=S._.allSettings.dataStore.campaigns[e];return Bn.isSessionBasedCampaign2(t)},S._.libUtils.isBot=function(){return Bn.isBot2()},Da(window._vwo_exp),function(){const e=window._vwo_pa={},t=window._vwo_exp;for(var n in t)"ANALYZE_RECORDING"===t[n].type&&(e.r=1),"ANALYZE_FORM"===t[n].type&&(e.r=1),"ANALYZE_HEATMAP"===t[n].type&&(e.r=1)}()}window.VWO.modules.otherLibDeps.storeSurveyDataInVWOSurveySettings=Da,window.VWO.modules.otherLibDeps.setOtherLibrariesDeps=ka,window.VWO.modules.otherLibDeps.stopAnalyzeAndSurvey=Ua,window.VWO._.EventsEnum=pr;const Ma=function(e){var t,n,o,i,r,s,a,c,d,l,u,w,_,h,g,p;const v=null===(t=window.VWO._.allSettings.dataStore)||void 0===t?void 0:t.plugins;if(!v)return;const f=null==v?void 0:v.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.ts=null===(r=null===(i=e.data)||void 0===i?void 0:i.accountJSInfo)||void 0===r?void 0:r.ts,e.data.url=null===(a=null===(s=e.data)||void 0===s?void 0:s.accountJSInfo)||void 0===a?void 0:a.url,e.data.noSS=null===(c=e.data.accountJSInfo)||void 0===c?void 0:c.noSS,e.DONT_IOS=null==f?void 0:f.DONT_IOS,e.data.sst=null==f?void 0:f.SST,e._.sstd=null===(d=null==f?void 0:f.SST)||void 0===d?void 0:d.SSTD,e._.ac.it=null===(l=null==f?void 0:f.SD)||void 0===l?void 0:l.it,e._.ac.uct=null===(u=null==f?void 0:f.SD)||void 0===u?void 0:u.uct,e._.ac.rdbg=null==f?void 0:f.rdbg,e.data.fB=null==f?void 0:f.FB,e._.SPA_SETTINGS_DELAY=+(null===(w=null==f?void 0:f.SD)||void 0===w?void 0:w.it)||0,e._.SPA_NEW_PAGE_SETTINGS_DELAY=+(null===(_=null==f?void 0:f.SD)||void 0===_?void 0:_.uct)||0,e._.isSpaEnabled=null==f?void 0:f.SPA,e._.ac.eNC=null==f?void 0:f.eNC,e._.ac.cInstJS=null==f?void 0:f.CINSTJS,e._.ac.bsECJ=null==f?void 0:f.BSECJ,e._.ac.cURCF=null==f?void 0:f.cURCF,e._.ast=null==f?void 0:f.AST,e.featureInfo=(null==f?void 0:f.jsConfig)||{},window._vwo_clicks=window._vwo_clicks||(null==f?void 0:f.HEATMAPCLICKS),e.data.cj={bc:null===(h=null==f?void 0:f.CJ)||void 0===h?void 0:h.BC,s:null===(g=null==f?void 0:f.CJ)||void 0===g?void 0:g.S},e._.ac.eNC=null==f?void 0:f.eNC,e._.ac.cSHS=(null==f?void 0:f.CSHS)||(null===(p=null==f?void 0:f.jsConfig)||void 0===p?void 0:p.histEnabled),e._.ac.uCP=null==f?void 0:f.UCP,e._.ac.iAF=null==f?void 0:f.IAF,e._.ac.PRTHD=null==f?void 0:f.PRTHD},Ga=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.JSONStringify,parse:window.JSON.parse,rawJSON:window.JSON.rawJSON,isRawJSON:window.JSON.isRawJSON}}i[n].stringify=window.JSONStringify}return i[n]}}};function Fa(){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 $a=function(e){void 0===window.DISABLE_NATIVE_CONSTANTS&&(window.DISABLE_NATIVE_CONSTANTS=!e),window.DISABLE_NATIVE_CONSTANTS&&(window.DISABLE_NATIVE_CONSTANTS=1!=Fa()),window.VWO._.nativeConstants=Ga()};let ja;const Ba={test:e=>{var t;return ja=null===(t=window.VWO)||void 0===t?void 0:t.phoenix,window.workerThread&&ja&&e===ja.store.getters},transformer:function(e){return e===ja.store.getters.settings.campaigns||e===ja.store.getters.allSettings.dataStore.campaigns?"vwojFnGPlugCamp":e===ja.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=[Ba],Ka={stringify:function(e,t,n){try{return JSONStringify(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 JSON.parse(Ka.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:Ka.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 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 qa={},Ya={};function Xa(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?Ya[t.twoWayCommId](n):qa[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 za(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=>l(this,void 0,void 0,(function*(){try{const o=yield e(n);return Xa.call(this,o,t.twoWayCommId).send(),!0}catch(e){const n=Ka.stringify(e.message);return Xa.call(this,n,t.twoWayCommId,!0).send(),!1}}))}}{const t={type:"request",encapsulatedData:e,twoWayCommId:++Ja};return{send:()=>new Promise(((e,n)=>{try{qa[t.twoWayCommId]=e,Ya[t.twoWayCommId]=n,this.sendingLayer(t)}catch(e){console.log(e),n(e)}}))}}}class Qa{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&&JSONStringify(i)===JSONStringify(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=Ka.stringify(i,e),t({type:"sync",data:r,syncType:ae.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:JSONStringify(i),syncType:ae.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=Qa.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!"),JSONStringify(e)!==JSONStringify(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 Za{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 Ae.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 Ae.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 Ae.isEnabled()?Ae.applySyncRequest(t):Ie(t);document[e]=t}}Za.internalUtils={getSetter:(e,t)=>{switch(e){case"cookie":return(new ye).getSetter(t);default:return n=>(JSONStringify(document["__"+e])===JSONStringify(n)||(document["__"+e]=n,t({type:"sync",data:{propertyName:e,value:document["__"+e]},syncType:ae.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 ec{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:ae.Property}),!0)})}}function tc(){{const e=window.fetcher.postMessage.bind(window.fetcher);E({_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 nc(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 oc{}oc.syncLocalStorage=tc;class ic extends oc{constructor(){super(),this.objectSyncer=new Qa}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":ic.syncLocalStorage();break;default:throw new Error("Unknown property name!")}break;case ae.Object:{const e=this.objectSyncer.register(n,t,r);return i&&r({data:{value:JSONStringify(n),path:t},type:"sync",syncType:ae.OverWrite}),e}case ae.Property:ec.register(n,o,t,r);break;case ae.Document:Za.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 ae.Object:{o.value=Ka.parse(o.value);const e=o.path.substring(0,o.path.lastIndexOf(".")).split(".");window[e[0]]=Qa.sync(window[e[0]],o.value,e[0],e.splice(1),t);break}case ae.Document:Za.sync(o);break;case ae.Property:case ae.Variable:t(o);break;case ae.OverWrite:if(!("__transferData"in(null!==(n=window[o.path])&&void 0!==n?n:{})))return void(window[o.path]=JSON.parse(o.value));window[o.path]=Qa.getProxy(JSON.parse(o.value),t,o.path);break;case ae.Delete:{const e=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":nc(e);break;default:return}}declare(e,t){ec.register(window,"window",e,t)}}const rc=window.VWOEventsArchInCompatibilityMode,sc=(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 ac(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=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 ac(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=sc(n,o),e&&null==o)return o}}if(r){const e={};r.forEach((t=>{e[t]=o[t]})),o=e}return o}const cc=function(e){return window.functionWrapper.unwrap(e.id)(...Ka.parse(e.args))},dc=function(e){var t,n;return l(this,void 0,void 0,(function*(){switch(e.type){case"callWrappedFunction":{let t=cc(e);return t&&"function"==typeof t.then&&(t=yield t),Ka.stringify(t)}case"vwoClassInstanceBridge":{const t=e.path.dest.lastIndexOf(".");let n=window,o=e.path.dest;-1!==t&&(n=ac(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=Ka.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=Ka.parse(e.config.captureGroups));const r=i=ac(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,Ka.stringify(i)}}}))};class lc{}class uc extends lc{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=za,this.response=Xa,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(dc);break;case"response":this.response(r).resolve(Ka.parse.bind(Ka));break;case"sync":{let e=e=>null;switch(r.syncType){case ae.OverWrite:case ae.Object:e=this.postMessage.bind(this);break;case ae.Property:case ae.Document:case ae.Variable:case ae.Delete:}ic.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=Ka.stringify(n.captureGroups));const i={path:e,args:t,config:Object.assign(Object.assign({},n),{captureGroups:o})};return this.request(Ka.stringify(i)).send()}setValue(e,t){const n={type:"setValue",path:e,val:t};return this.request(Ka.stringify(n)).send()}}class wc extends lc{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}}}`,Ka.parse(t))})):n(e)}))}setValue(e,t){return window[e]=t}}class _c extends uc{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=za,this.response=Xa,(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 hc=rc?wc:_c;window.fetcher=new hc;class gc{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 gc{constructor(){super(...arguments),this.collectedData={},this.requestsChecker={}}updateStorage(){return l(this,void 0,void 0,(function*(){if(!this.response)return;const e=JSON.parse(this.response);re(e).length&&(yield window.fetcher.getValue("VWO._.contentSyncService.updateStorage",[e]))}))}syncGet(e,t,n=!0){return l(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||ft((function(){return l(this,void 0,void 0,(function*(){mi({url:o+"sync?a="+window._vwo_acc_id,data:JSONStringify(s.collectedData),success:s.updateStorage}),s.collectedData={}}))}),10),this.debouncedCall()}}window.VWO.modules.vwoUtils.contentSync=new pc;class vc{get(e){return this[e]}set(e,t){this[e]=t}}var fc=new vc,Oc;!function(e){e[e.EXCLUDE_PASSED=1]="EXCLUDE_PASSED",e[e.INCLUDE_PASSED=2]="INCLUDE_PASSED",e[e.INCLUDE_FAILED=3]="INCLUDE_FAILED"}(Oc||(Oc={}));var mc=Oc,Ec;!function(e){e.OR="o",e.AND="a"}(Ec||(Ec={}));var Sc=Ec;class Cc{constructor(){this.experimentConfig={},this.pageConfig={},this.experimentConfigCache={},this.pageConfigCache={},this.previewParamsCleanedUrlCache={},Cc.cleanerRegex=/(^https?:\/\/)?(w{3}\.)?(.*?)?((?:\/)(?:home|default|index)\.\w{3,4})?(\/)?([?#].*)?$/i,Cc.logicalOperators=[Sc.AND,Sc.OR]}static get currentUrl(){return window.location.href}add(e,t){if(Zr.debug("Adding pageGroup config to phoenix"),Oe(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])}))),Oe(t)){if(pe(t.pc)){const e=this.getCache(Cc.currentUrl,!0);t.pc.forEach((t=>{e[t]={didMatch:!0,reason:mc.INCLUDE_PASSED,cacheHit:!0}}))}if(pe(t.ec)){const e=this.getCache(Cc.currentUrl);t.ec.forEach((t=>{e[t]={didMatch:!0,reason:mc.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]=fc.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(Cc.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 Zr.info(`ConfigId ${e} is not present inside ${t?"pageConfig":"experimentConfig"}`),{didMatch:!1,reason:mc.INCLUDE_FAILED,cacheHit:!1};const r=n||Cc.currentUrl,s=this.getCache(r,t);if(s&&Object.hasOwnProperty.call(s,e))return Zr.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:mc.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:mc.INCLUDE_PASSED,cacheHit:!1}:{didMatch:e,reason:mc.INCLUDE_FAILED,cacheHit:!1}}else a={didMatch:!0,reason:mc.INCLUDE_PASSED,cacheHit:!1};return a=a||{didMatch:!1,reason:mc.INCLUDE_FAILED,cacheHit:!1},o||(s[e]=a),a}evaluateDSL(e,t,n){if(!pe(e)||e.length<2)return Zr.error("Invalid dsl tree",e),!1;const o=[];return e.forEach((e=>{var i;let r;if(e||(r=!1),Ee(e)&&(r=e),pe(e))if(Cc.logicalOperators.includes(e[0]))r=this.evaluateDSL(e,t,n);else{const[o,s,...a]=e,c=null===(i=ts.plugins[ns.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:fc.get("jsLibUtils"),pageUrl:!0})}o.push(r||!1)})),this.evaluateTree(o)}evaluateTree(e){let t=!1;switch(e[0]){case Sc.AND:t=!e.includes(!1);break;case Sc.OR:t=e.includes(!0)}return t}}var Tc=new Cc;const yc={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."}},Ic={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 Ac extends os{constructor(){super(),this.pluginName=ns.OPERATOR,this.operators={}}add(e,t){Zr.debug(`Adding operator '${e}' in OperatorsManager`),this.operators[e]?Zr.error(yc.OPERATORS.ALREADY_EXISTS,{operatorName:e}):this.operators[e]=t}update(e,t){Zr.debug(`Updating operator '${e}' in OperatorsManager`),this.operators[e]=t}get(e){return Zr.debug(`Getting operator '${e}' in OperatorsManager`),this.operators[e]?this.operators[e]:(Zr.error(yc.OPERATORS.NOT_REGISTERED,{operatorName:e}),null)}remove(e){Zr.debug(`Removing operator '${e}' in OperatorsManager`),this.operators[e]?delete this.operators[e]:Zr.warn(Ic.OPERATORS.NO_OPERATOR_TO_REMOVE,{operatorName:e})}removeAll(){Zr.debug("Removing all operators in OperatorsManager"),this.operators={}}initialize(e){Object.assign(this.operators,e)}}var Nc=new Ac,Vc,bc;!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"}(Vc||(Vc={})),function(e){e.PAGE="PAGE",e.EVENT="EVENT",e.JS_VARIABLE="JS_VARIABLE"}(bc||(bc={}));const Rc={[Vc.EQUAL]:(e,t)=>String(e).toLowerCase()===String(t).toLowerCase(),[Vc.NOT_EQUAL]:(e,t)=>!Rc[Vc.EQUAL](e,t),[Vc.EQUAL_CASE_SENSITIVE]:(e,t)=>String(e)===String(t),[Vc.NOT_EQUAL_CASE_SENSITIVE]:(e,t)=>!Rc[Vc.EQUAL_CASE_SENSITIVE](e,t),[Vc.REGEX](e,t){try{return new RegExp(t,"i").test(String(e))}catch(e){return!1}},[Vc.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):Rc[Vc.REGEX](e,t)},[Vc.NOT_URL_REGEX]:(e,t,n)=>!Rc[Vc.URL_REGEX](e,t,n),[Vc.REGEX_CASE_SENSITIVE](e,t){try{return new RegExp(t).test(String(e))}catch(e){return!1}},[Vc.CONTAINS]:(e,t)=>String(e).toLowerCase().includes(String(t).toLowerCase()),[Vc.NOT_CONTAINS]:(e,t)=>!Rc[Vc.CONTAINS](e,t),[Vc.BLANK]:e=>!e,[Vc.NOT_BLANK]:e=>!Rc[Vc.BLANK](e),[Vc.GREATER_THAN](e,t){if(!Oe(e)||!Oe(t))return!1;const n=+e,o=+t;return me(n)&&me(o)&&n>o},[Vc.GREATER_THAN_EQUAL](e,t){if(!Oe(e)||!Oe(t))return!1;const n=+e,o=+t;return me(n)&&me(o)&&n>=o},[Vc.LESS_THAN](e,t){if(!Oe(e)||!Oe(t))return!1;const n=+e,o=+t;return me(n)&&me(o)&&n<o},[Vc.LESS_THAN_EQUAL](e,t){if(!Oe(e)||!Oe(t))return!1;const n=+e,o=+t;return me(n)&&me(o)&&n<=o},[Vc.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},[Vc.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},[Vc.IN]:(e,t)=>t.map((e=>String(e).toLowerCase())).includes(String(e).toLowerCase()),[Vc.NOT_IN]:(e,t)=>!Rc[Vc.IN](e,t),[Vc.RANGE_COMPARISON](e,t){try{const n=JSON.parse(e),o=t.split("'")[1].split("-"),i=o[0],r=o[1];return Rc[Vc.GREATER_THAN_EQUAL](n[0],parseInt(i,10))&&Rc[Vc.LESS_THAN_EQUAL](n[0],parseInt(r,10))}catch(e){return Zr.info(`RANGE OPERATOR ERROR: ${e&&e.stack}`),!1}},[Vc.PAGE_CONFIG_EVALUATION]:(e,t)=>Tc.validatePage(t,!1,e).didMatch};var Lc=Object.assign(Rc,{sel(e,t){try{return!!e.closest(t)}catch(e){return!1}}});Nc.initialize(Lc);class Wc{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 Pc=new Wc;function xc(e,t){window.VWO.phoenix('store.actions.addValues("${{1}}", "${{2}}")',null,{captureGroups:[e,t]})}window.VWO.modules.utils.storageSyncer=Pc;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=cr.doExperimentHere(i)[0];if(t[e]={},t[e].dEH=a,a){if(s){wr(e)||(o=window.VWO._.bodyPath+",");break}{let{selector:n,selectorPerVariation:r,cPathSelector:s,cPathSelectorPerVariation:a}=Bn.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+=Bn.hideElExpression,Bn.insertCSS("_vis_opt_path_hides",o)),(null===(e=window._vwoCc)||void 0===e?void 0:e.disableSpaVisPerf)||(window.VWO._.visibilityServiceCache=t,xc({visibilityServiceCache:t},"vwoInternalProperties"))},Uc=e=>!(0!==e&&!e),kc=(e,t,n)=>n.syncGet("fns.list",[e,t]),Mc=(e,t,n)=>l(void 0,void 0,void 0,(function*(){if(!Uc(e))return!1;const o=yield kc(e,t,n);return!!o.dataPresent&&o.val})),Gc=(e,t,n)=>l(void 0,void 0,void 0,(function*(){if(""===e||!Uc(e))return!1;const o=yield kc(e,t,n);return!!o.dataPresent&&!o.val})),Fc={f_in_list:Mc,f_nin_list:Gc},$c=function(e){var t,n,o,i;return l(this,void 0,void 0,(function*(){try{f("jI"),e._.allSettings.dataStore.vwoData=e._.allSettings.dataStore.vwoData||{};const r=e._.allSettings.tags;Object.keys(r).forEach((e=>{r[e].fn=Xn(r[e].fn)})),Ma(e);const s=[];let a;s.push(null),s.push(ga.getPhoenixConfig()),window.fetcher.getValue('setVWO("${{1}}")',null,{captureGroups:[e]}),window.fetcher.setValue("fakeWindow.VWOSettings",s),window.fetcher.setValue("window._vwoCc",window._vwoCc);const c=window.VWO._.allSettings.dataStore.CIF;if(!window.VWO._.cookies.get("_vwo_uuid")&&c){if(a=c(),!a)return;window.VWO._.allSettings.dataStore&&(window.VWO._.allSettings.dataStore.uuid=a)}window._vwo_uuid=a||(null===(t=window.VWO._.allSettings.dataStore)||void 0===t?void 0:t.uuid),window.fetcher.setValue("window._vwo_uuid",window._vwo_uuid),window._vwoCc&&window.fetcher.setValue("window._vwoCc",window._vwoCc);const[d,u]=va();e.phoenix=d,ga.postPhoenixMTHook();const w=new ic;if(window._vwo_exp=w.register(ae.Object,"_vwo_exp",window._vwo_exp,"",!1),window.VWO._.allSettings.dataStore.campaigns=window._vwo_exp,w.register(ae.Document,"cookie"),w.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=Bn.getSelectedVariationForPreviewMode(window._vwo_exp[e])}const[_,h]=yield u;window.VWO._.phoenixMT.on(le.SPA_VISIBILITY_SERVICE,Dc),e.data.tB=!0,e.addPhoenix(_),window.vwo_cInstJS&&(e._.insightsOnConsentPromise=new Promise((e=>{window.VWO.phoenix('on("${{1}}", "${{2}}")',null,{captureGroups:["trigger.InsightsOnConsentTrigger",e]})}))),$a(null===(n=e._.ac)||void 0===n?void 0:n.eNC),wi.init("jslib",e,null),wi.init("optOut",e,null),window._vwo_surveySettings=w.register(ae.Object,"_vwo_surveySettings",window._vwo_surveySettings),window.VWO._.track=w.register(ae.Object,"tracklib",window.VWO._.track,"",!1),fc.set("jsLibUtils",{verifyUrl:function(){return sr.verifyUrl.apply(sr,arguments)},getCleanedUrl:function(){return sr.getCleanedUrl.apply(sr,arguments)}}),ts.register(Nc),Nc.add("inlist",(function(e,t){return l(this,void 0,void 0,(function*(){return!!(yield Fc.f_in_list(e,t,window.VWO.modules.vwoUtils.contentSync))}))})),Nc.add("ninlist",(function(e,t){return l(this,void 0,void 0,(function*(){return!!(yield Fc.f_nin_list(e,t,window.VWO.modules.vwoUtils.contentSync))}))})),e.pageGroup=Tc;const{pages:g,pagesEval:p}=e._.allSettings;e.pageGroup.add(g,p),Ge.init(),window.fetcher.getValue("VWO.modules.vwoUtils.referrer.init"),Ea.finish(),window.VWO._.phoenixMT.trigger("vwo_phoenixInitialized"),window.VwoUnitTestsRunning&&(null===(i=(o=window).resolveUnitTestPromise)||void 0===i||i.call(o));const v=window.VWO._.phoenixMT.on("vwo_urlChangeMt",(()=>{if(window.VWO._.phoenixMT.off(v),"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)}))}catch(e){window._vwo_code&&window._vwo_code.finish(),window.vwo_libExecuted=!0,d.error("Error in bootPhoenix:",e.stack)}}))},jc={},Bc=function(e,t,n,o={}){if(!(we()&&e.indexOf("get_debugger_ui")<0||jc[e])){jc[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=Bc;const Hc=e=>{e._.allSettings.triggers[et]={cnds:["a",{id:2,event:le.SSR_COMPLETE},{event:le.NOT_REDIRECTING,id:4,filters:{}},{event:le.VISIBILITY_TRIGGERED,id:5,filters:{}},{event:le.PAGE_VIEW,id:1e3,filters:{}}],dslv:2}},Kc=function(e,t){window._vwo_exp=e._.allSettings.dataStore.campaigns,e._.coreLib={lS:Bc};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:le.PAGE_VIEW},{filters:[["window.VWO.consentMode.dT","neq",!0]],event:le.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:le.PAGE_VIEW,id:+new Date},{event:le.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",Bn.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),e._.allSettings.triggers.vwoExecutedTrigger={cnds:[{event:le.END_APPLY_CHANGES,id:+new Date}]},e._.allSettings.rules.push({triggers:["vwoExecutedTrigger"],tags:[{priority:4,id:"vwoExecuted"}]}),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}]}),ga.setFunnelExps();const r=e._.allSettings.dataStore.previewExtraSettings;if(!r||"object"!=typeof r){if(Be())for(const t in e._.allSettings.dataStore.campaigns)i(t);return t(e),!1}const s=re(r);if(!s.length)return t(e),!1;const a=s[0],c=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;Da(window._vwo_exp,r),Object.keys(e._.allSettings.dataStore.campaigns).length||d.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(c&&!_||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:le.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&&!c){const e=re(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 Bc(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 qc(e,t,n){const o={};return n.forEach((n=>{var i;const[r,s,...a]=n.condition,c=Yc(r,t),d=null===(i=ts.plugins[ns.OPERATOR])||void 0===i?void 0:i.get(s),l=null==d?void 0:d(c,...a,{eventName:e,triggerName:n.triggerId,jsLibUtils:fc.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 Yc(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=Fe.page[e];break}}return o}window.VWO.modules.utils.triggers={triggersConditionsCheck:qc};class Xc{constructor(e,t,n,o){this.eventName=e,this.domEventName=t,this.domEventsDebounceTime=n,this.attachedFilters=o}on(e){this.domEventName!==s.CLICK&&this.domEventName!==s.SUBMIT&&(this.domEventName===s.DOM_CONTENT_LOADED?"interactive"===document.readyState||"complete"===document.readyState?setTimeout((()=>{e()}),0):window.document.addEventListener(this.domEventName,this.callback=wn((t=>{t.preComputedConds=qc(this.eventName,t,this.attachedFilters),e(t)}),this.domEventsDebounceTime),!0):this.domEventName===s.SCROLL?window.document.addEventListener(this.domEventName,this.callback=wn((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=qc(this.eventName,t,this.attachedFilters),e(t)}),this.domEventsDebounceTime),!0):window.document.addEventListener(this.domEventName,this.callback=wn((t=>{t.preComputedConds=qc(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=ne.secondary("VWO.modules.phoenixPlugins.events.predefinedEvents.GenericDOMEvent",Xc);class zc{}class Qc extends zc{constructor(){super(),this.eventName=o.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=ge(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=ne.secondary("VWO.modules.phoenixPlugins.events.predefinedEvents.LeaveIntentEvent",Qc);class Zc extends zc{constructor(e){var t;super(),this.eventName=o.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,this.lastExecutedURL=n,window._vis_opt_url=void 0,e({_event:Bn.filterEventObjectForWT(t),location:{href:window.location.href,search:window.location.search,hash:window.location.hash}}),this.enableSpaVisibility&&window.VWO._.phoenixMT.trigger(le.SPA_VISIBILITY_SERVICE),window.VWO._.phoenixMT.trigger("vwo_urlChangeMt"))}),!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;Dn(o,"spa"),this.lastExecutedURL!==o&&(window.VWO._.phoenixMT.trigger("vwo_reRun"),window.VWO._.urlChangeProcessingPending=!0,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(le.SPA_VISIBILITY_SERVICE),window.VWO._.phoenixMT.trigger("vwo_urlChangeMt"))})}))}off(){Object.keys(this.originalCallbacks).forEach((e=>{window.history[e]=this.originalCallbacks[e]}))}}window.VWO.modules.phoenixPlugins.events.predefinedEvents.UrlChangeEvent=ne.secondary("VWO.modules.phoenixPlugins.events.predefinedEvents.UrlChangeEvent",Zc);class ed{}class td extends ed{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)||Zs.isGoalEligible(n,e);return!(!Bn.isSessionBasedCampaign2(t)&&i&&o.name===le.PAGE_VIEW&&"CUSTOM_GOAL"===n.type)&&d}}var nd=new td;class od{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 id=new od;function rd(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=Yc(r,t);if(!(null===(i=null===(o=ts.plugins[ns.OPERATOR])||void 0===o?void 0:o.get(s))||void 0===i?void 0:i(l,...a,{eventName:e,triggerName:c.id,jsLibUtils:fc.get("jsLibUtils")}))){d=!1;break}}if(r&&d){s=!0;break}s=d}return s}class sd{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))||rd(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(!Sn.shouldWeTrackVisitor())return;const o=[],i=window._vis_opt_url||window.location.href,r=Li(null,e,t);return window.VWO._.goalsToBeConvertedSynchronously||Bn.updateGoalsKind(window._vwo_exp),Object.keys(window.VWO._.goalsToBeConvertedSynchronously).forEach((r=>{var s,a,c;const d=window.VWO._.goalsToBeConvertedSynchronously[r],l=window._vwo_exp[r];if("vwo_dom_submit"===e&&!id.isFinished()&&id.didCampConvertInBetween(l))return;if(!(null===(s=window._vwoCc)||void 0===s?void 0:s.ignoreCSAForGoals)&&(null===(a=null==l?void 0:l.ss)||void 0===a?void 0:a.csa)&&!l.isTriggerValidated)return;const u=Bn.isSessionBasedCampaign2(l);(u&&!(null===(c=window.VWO._.track)||void 0===c?void 0:c.loaded)||cr.getCombi(l))&&Bn.shouldTrackUserForCampaign(l)&&Object.entries(d).forEach((([s,a])=>{var c,d;const w=Object.assign({kind:a},l.goals[s]);if(this.goalsFilter.includes(w.kind)){const a=null===(c=l.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})||!nd.shouldWeTriggerMetric({currentUrl:i},l,w))return;if(u&&!(null===(d=window.VWO._.track)||void 0===d?void 0:d.loaded))return void cr.getCombi(l);cr.isGoalTriggered(l,s)||o.push({c:l.id,g:s})}}))})),o.length&&na(t,o),r}}window.VWO.modules.utils.goalUtils={GoalConversion:sd};class ad{static isBrowserChromiumBased(){const e=Fe.navigator.userAgent;return!(!e.includes("Chrome/")||!e.includes("Safari/"))}}class cd{getTargetPathInfo(e){let t,n,o,i,r,s,a,c,d;t=vwo_$(e.target),n=t.get(0);const l=Nn(n);return l!==n&&(n=l,t=vwo_$(n)),c=An(n),"string"!=typeof c||"html"===c.toLowerCase()||Bn.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)/Vn(t))/1e3,a=Math.round(1e3*(i-d.top)/bn(t))/1e3,(window._vwo_acc_id>85e4||708874===window._vwo_acc_id)&&(s=Math.round(1e3*(o-d.left)/(t.outerWidth()||Vn(t)))/1e3,a=Math.round(1e3*(i-d.top)/(t.outerHeight()||bn(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=rt(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=cr.getCombi(t);if(t.clicks=t.clicks||0,e&&u&&++t.clicks<=(window._vwo_clicks||3)&&Bn.isEligibleToSendCall(o)){s=Bn.getUUID(t),r="h.gif?experiment_id="+o+"&account_id="+c+"&combination="+e+Bn.getUUIDString(s)+"&url="+encodeURIComponent(window.location.href)+"&path="+encodeURIComponent(u)+"&x="+w+"&y="+_+"&mapEv=false",window.VWO._.isBeaconAvailable=!0,window.VWO._.isLinkRedirecting=undefined,Ti.sendCall({serverUrl:Fe.serverUrl,accountId:c},{url:r}),window.VWO._.isLinkRedirecting=!1,i=i&&window.VWO._.isBeaconAvailable,window.VWO.modules.tags.wildCardCallback({oldArgs:[o,e,u,w,_]},le.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 dd=new cd;window.VWO.modules.utils.heatmapUtils=dd;class ld{constructor(e){this.eventName=o.CLICK_EVENT,this.attachedFilters=e,this.goalConverter=new sd("vwoClickGoalData",["CLICK_ELEMENT","ENGAGEMENT","ON_PAGE"]),window.VWO._.phoenixMT.on(le.DOM_CLICK,(e=>this.performClick(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=le.DOM_CLICK,e.target.shadowRoot&&e.composedPath?this.handleShadowDOMClick(e):this._click({e:e})}shouldTrackClick(e,t){return"touchend"===e||void 0===t||1===t}onPointerUp(e,t){var n;const o=e.target.vwoPD&&(!!(null!==(n=window.chrome)&&void 0!==n?n:ad.isBrowserChromiumBased())||!t);try{779155===window._vwo_acc_id&&!o&&xn({msg:"Failed to reach Click handler",event:e})}catch(e){}o&&(window.VWO._.phoenixMT.trigger(le.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,r;let s,a,c;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 d=t.which,l=vwo_$(t.target),u=l.get(0);if(id.initiate(u),!this.shouldTrackClick(t.type,d)||void 0===u.tagName)return;void 0===e&&(e=500),"a"===u.tagName.toLowerCase()?(s=l.attr("href"),a=!0):0<l.parents("a").length?(s=l.parents("a").eq(0).attr("href"),a=!0):("button"===u.tagName.toLowerCase()||0<l.parents("button").length||"input"===u.tagName.toLowerCase()&&("button"===l.attr("type")||"image"===l.attr("type")||"submit"===l.attr("type")))&&(a=!0),t.props=t.props||{},t.userEngagement=t.props.userEngagement=!!a,t.eventUuid=t.eventUuid||Bn.generateUUID(),s&&(Mn.setInWin(s),t.props.targetUrl=t.targetUrl=s),t.preComputedConds=qc(this.eventName,t,this.attachedFilters),c={props:t.props,targetUrl:t.targetUrl,userEngagement:t.userEngagement,vwoEventName:t.vwoEventName,preComputedConds:t.preComputedConds,eventUuid:t.eventUuid};let w={};w=n.heatmap?{}:dd.evaluateHeatmapData(t),this.goalConverter.fireEventForConversion(this.eventName,c,{eventData:t});let _=(null===(r=c._vwo)||void 0===r?void 0:r.eventDataConfig)||{};Object.keys(_).length&&Object.keys(w).length?_=this.syncHeatmapAndEventsData(w,_):Object.keys(w).length&&(_=w),t._vwo=t._vwo||{},Object.keys(_).length&&(t._vwo.eventDataConfig=_),t._vwo.syncEventData=c}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=Be(),i=vwo_$(document)[0];o||function(){if(i&&i.vwoCEvent)return;const e=vwo_$(i);let o=null,r=!1;Gi.addJqEventListener(e,"bind","pointerdown",(e=>{null!==o&&delete o.vwoPD,n.onPointerDown(e),o=e.target,r=!1}),null,t.useCapturePhase),Gi.addJqEventListener(e,"bind","pointermove",(e=>{"touch"===e.pointerType&&(r=!0)}),null,t.useCapturePhase),Gi.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=ne.secondary("VWO.modules.phoenixPlugins.events.predefinedEvents.ClickDomEvent",ld);class ud{constructor(e){this.eventName=le.DOM_SUBMIT,this.attachedFilters=e,this.goalConverter=new sd("vwoSubmitGoalData",["FORM_SUBMIT"])}eventConditionsUpdate(e){this.attachedFilters=e}otherSide(...e){throw new Error("entered into outdated otherSide")}onFormSubmit({e:e,partialGetters:t}){var n,o,i=vwo_$(e.target),r=i.get(0);if(id.updateCache(e.submitter),"string"==typeof r.tagName&&"form"!==r.tagName.toLowerCase()&&i.parents("form").length>0&&(r=i.parents("form").get(0)),"string"==typeof r.tagName&&"form"!==r.tagName.toLowerCase()||"vwo_form"===vwo_$(r).attr("id"))return;e.props=e.props||{},e.props.targetUrl=e.targetUrl=vwo_$(r).attr("action"),e.userEngagement=e.props.userEngagement=!0,e.isBeaconAvailable=!0,e.isLinkRedirecting=!0,e.vwoEventName=this.eventName,e.preComputedConds=qc(this.eventName,e,this.attachedFilters),o={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,o,{eventData:e});const s=(null===(n=o._vwo)||void 0===n?void 0:n.eventDataConfig)||{};Object.keys(s).length&&Wi(this.eventName,o),id.end()}on(e,t){const n=this,o=Be(),i=vwo_$(document)[0];i&&(i.vwoFEvent=1),function(){var e=vwo_$(document)[0];o||(Gi.addJqEventListener(vwo_$(e),"bind","submit",(e=>{n.onFormSubmit({e:e,partialGetters:t})}),null,t.useCapturePhase),e&&(e.vwoFEvent=1))}()}off(){}}window.VWO.modules.phoenixPlugins.events.predefinedEvents.SubmitDomEvent=ne.secondary("VWO.modules.phoenixPlugins.events.predefinedEvents.SubmitDomEvent",ud);class wd extends zc{constructor(){super(...arguments),this.eventName=o.PAGE_LOAD_EVENT}on(e){if("complete"===document.readyState)e();else{const t=this.onPageLoad(e);window.addEventListener("load",(e=>{t(Bn.filterEventObjectForWT(e))}),!0)}}off(){window.removeEventListener("load",(e=>{this.pageLoadCallback(Bn.filterEventObjectForWT(e))}),!0)}onPageLoad(e){return this.pageLoadCallback=e,this.pageLoadCallback}}window.VWO.modules.phoenixPlugins.events.predefinedEvents.PageLoadEvent=ne.secondary("VWO.modules.phoenixPlugins.events.predefinedEvents.PageLoadEvent",wd);let _d=!1;function hd(){let e=!1;function t(t){e||(e=!0,window.VWO._.phoenixMT.trigger(le.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)})),_d=!0}function gd(e){var t,n,o,i,r,s,a,c,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),window.VWO.initVWOLib=gd.bind(null,e);if("function"==typeof window.VWO.siteWideCode){try{window.VWO.siteWideCode()}catch(e){}delete window.VWO.siteWideCode}window.VWO._.bodyPath=803786===window._vwo_acc_id?":root body":"body";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)||Bn.removeGlobalStyle,window.VWO.nonce="";const w=document.querySelector("#vwoCode");w&&(window.VWO.nonce=w.nonce),window.vwo_$=e,window.clearTimeout(window._vwo_library_timer);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 g={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:Bn.syncCachedSettingsInSessionStorage(),history:{},vwoCodeEndBeforeVA:null===(c=window._vwo_code)||void 0===c?void 0:c.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};window.fetcher.init(),window.fetcher.setValue("fakeWindow",g),hn(e),pn(),window._vwo_server_url=window._vwo_server_url||"https://dev.visualwebsiteoptimizer.com/",Ko({getters:{window:window,accountId:window._vwo_acc_id,encodeURIComponent:encodeURIComponent,actions:{},serverUrl:window._vwo_server_url||"https://dev.visualwebsiteoptimizer.com/"}}),744263===window._vwo_acc_id&&Pn({msg:"Va_gq Initialized",url:window.location.href,additionalOptions:{referrer:document.referrer}}),Dn(window.location.href,"page-refresh");const p=new("function"==typeof window.URL?window.URL:window.webkitURL)(document.URL).searchParams.get("vwoLogLevel");d.setLevel(p||"warn"),d.info("Initializing jslib");const v=new xo(window.VWO||[]);if(C(v),T(v),wi.init("jslib",v,null,null,!1),Sn.setOptOutStateConfig(),Bn.syncThirdPartyGlobalCookies(),ke.domain=Fe.cookieDomain,window.VWO._.cLFE=Bn.isCookieLessModeEnabled(),!Be()&&!window._vis_debug&&(!Sn.shouldExecuteLibOnBasisOfCurrentOptOutState()||Bn.isGloballyOptedOut()))return wi.init("optOut",v,null),window._removeVwoGlobalStyle(),void window.VWO._.triggerEvent(le.OPT_OUT,!0);window._vwo_s=di,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;Wi(t,n),(null===(o=e._vwo)||void 0===o?void 0:o.eventDataConfig)&&(e._vwo.eventDataConfig={})})),window.VWO._.phoenixMT.on(le.END_APPLY_CHANGES,(()=>{const e=window._vwo_code;e&&e.removeLoaderAndOverlay&&e.removeLoaderAndOverlay()})),window.VWO.consentMode&&(_e.initConsentMode(),_e.overrideCookies(ke)),window.VWO._.phoenixMT.on(le.END_APPLY_CHANGES,(()=>{window.VWO._.ncLib?window.VWO._.ncLib.initNonCriticalLib():window.VWO._.phoenixMT.on("vwo_InitNCLib",(()=>{window.VWO._.ncLib.initNonCriticalLib()})),window._VWO.uhdCp=1}));Et((()=>{Kc(v,$c)}),window._vwo_code&&![702077,704345,690758,685475,680279,695984,710456].includes(window._vwo_acc_id)),Fn()}catch(e){window.vwo_libExecuted=!0,console.error(e)}}function pd(e,t,n,o){S._&&S._.customError&&window.VWO._.customError({msg:e,url:"gquery.js",lineno:t,colno:n,source:o})}!_d&&hd();const vd=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,g=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,p={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(T(t,e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null});var C=function e(t,n){return new e.fn.init(t,n)},T=C.matches=function(e,t){var n=e&&(e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector);return!!n&&n.call(e,t)},y=C.isString=function(e){return f(e)===f("")},I=/^--/;function A(e){return I.test(e)}var N=/-([a-z])/g;function V(e,t){return t.toUpperCase()}var b=C.camelCase=function(e){return e.replace(N,V)};function R(e){return!!e&&1===e.nodeType}var L={},W=r.style,P=["webkit","moz","ms","o"];function x(e,t){if(void 0===t&&(t=A(e)),t)return e;if(!L[e]){var n=b(e),o=""+n.charAt(0).toUpperCase()+n.slice(1);J((n+" "+P.join(o+" ")+o).split(" "),(function(t,n){if(n in W)return L[e]=n,!1}))}return L[e]}function D(e,t,n){return void 0===n&&(n=A(e)),n||p[e]||!H(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=C.isFunction=function(e){return f(e)===f(G)&&!!e.call},$=C.uid="_gQ"+Date.now(),j=function(e){return e[$]=e[$]||{}},B=C.isWindow=function(e){return e===e.window},H=C.isNumeric=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},K=function(e){return 9===e.nodeType};function J(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){J(e,(function(e,o){J(t,(function(t,i){Y(o,e?i.cloneNode(!0):i,n,n&&o.firstChild)}))}))}function Y(e,t,n,o){var i=[];if(J(3===t.nodeType?[]:C("script",t),(function(e,t){var n=document.createElement("script");J(C(t).prop("attributes"),(function(){C(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)),J(C(t).prop("attributes"),(function(){C(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));J(C(t).prop("attributes"),(function(){C(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 C.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&&(C.isPlainObject(o)||C.isArray(o))){var c=n&&(C.isPlainObject(n)||C.isArray(n))?n:C.isArray(o)?[]:{};i[t]=C.extend(a,c,o)}else void 0!==o&&(i[t]=o);return i},C.isArray=Array.isArray,C.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)},C.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,""))?JSON.parse(e):void 0:null},C.getJSON=function(e,t,n,o){return F(t)&&(o=o||n,n=t,t=null),C.ajax({url:e,data:t,success:n,dataType:o})},C.get=function(e,t,n,o){return F(t)&&(o=o||n,n=t,t=null),C.ajax({type:"GET",url:e,data:t,success:n,dataType:o})},C.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},C.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=C.parseJSON(this.response)),e.success&&e.success(this.response))},n.onerror=function(){e.error&&e.error(this.response)},n.send(e.data)},C.isEmptyObject=function(e){return e&&0===Object.keys(e).length},(C.fn=C.prototype={gQVersion:"0.0.1",toArray:function(){return n.call(this,0)},constructor:C,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 B(e)?e.pageYOffset:K(e)?e.defaultView.pageYOffset:e.scrollTop},scrollLeft:function(){var e=this[0];return B(e)?e.pageXOffset:K(e)?e.defaultView.pageXOffset:e.scrollLeft},getComputedDimensionOuter:function(e,t){let n="height"===e.toLowerCase()?1:0,o=this[0];if(o)return B(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),K(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(B(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){pd(`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?T(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){J(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(pd(`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?C(e)[0]:this[0],n=e?this:C(t).parent().children();return s.call(n,t)},each:C.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;!T(n,t);){if(n===this||!n)return!1;n=n.parentNode}n&&i.call(n,e)}),J(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 C(this[0].closest(e))},parent:function(){return new C(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?J(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 J(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]:C(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 C(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=C(e),n=0;n<t.length;n++)t[n].appendChild(this[0]);return this},find:function(e){return this[0]||(e=void 0),C(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)})),C(e)},map:function(e){const t=!window.DISABLE_NATIVE_CONSTANTS&&window.VWO._.nativeConstants.get("Array").prototype.map||[].map;return C(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 T(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 C(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 T(t,e)}))),C(t)},append:function(){var e=this;return J(arguments,(function(t,n){q(e,C(n))})),this},prepend:function(){var e=this;return J(arguments,(function(t,n){q(e,C(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){pd(`Error is ${e}`,529,25,"html")}},css:function(e,t){if(y(e)){var n=A(e);return e=x(e,n),arguments.length<2?this[0]&&k(this[0],e,n):e?(t=D(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;C(n).remove(),o?C(o).before(e):C(i).append(e)}))},before:function(){var e=this;return J(arguments,(function(t,n){C(n).insertBefore(e)})),this},after:function(){var e=this;const t=!window.DISABLE_NATIVE_CONSTANTS&&window.VWO._.nativeConstants.get("Array").prototype.reverse||l;return J(t.apply(arguments),(function(n,o){t.apply(C(o).slice()).insertAfter(e)})),this},insertBefore:function(e){var t=this;return C(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 C(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]?C(this[0].childNodes):C("")},not:function(e){return C(this).filter((function(t,n){return!T(n,e)}))}}).bind=C.fn.live=C.fn.on,C.inArray=function(e,t){return s.call(t,e)},C.trim=function(e){return(e||"").replace(g,"")},C.getScript=function(e,t){return C.get(e,void 0,t,"script")},C.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){C.fn[t]=function(e){return"submit"===t?this[0].submit():e?this.bind(t,e):this.trigger(t)},C.attrFn&&(C.attrFn[t]=!0)})),C.guid=1,C.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||C.guid++),t},(C.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||B(t))return this[0]=t,this.length=1,this;if(y(t)){n=n||e;var a=this.constructor(),c=n instanceof C?(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 C.fn.ready(t);for(var l=0;l<t.length;l++)this.length=t.length,this[l]=t[l]}).prototype=C.fn,C.fn.splice=a,"function"==typeof Symbol&&(C.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator]),C.prototype.slice=function(){return C(n.apply(this,arguments))},C.prototype.length=0,C.nodeName=function(e,t){return e.nodeName&&e.nodeName.toUpperCase()===t.toUpperCase()},C}();gd(vd)})();

</script></head>

<body class="home regulator-none country-kr lang-en Win10" style="">


	<header id="mainHeader" class="sticky-top main-header">
		<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="/" title="Plus500 logo/homepage link">
					<svg viewBox="0 0 160 38" width="160" height="38">
						<title id="logoTitle">Plus500 logo inside homepage link</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" onclick="window.location.href='/'">
								<a class="nav-link dropdown-toggle" href="/" id="navbarDropdownInstruments">홈</a>
								
							</li>
							<li class="nav-item dropdown" onclick="window.location.href='/companys'">
								<a class="nav-link dropdown-toggle" href="/companys" id="navbarDropdownTrading">회사정보</a>

							</li>
							<li class="nav-item dropdown" onclick="window.location.href='/outpay'">
								<a class="nav-link dropdown-toggle" href="/outpay" id="navbarDropdownCompany" role="button" data-bs-toggle="dropdown" aria-expanded="false">해외송금</a>
								
							</li>
							<li class="nav-item dropdown" onclick="window.location.href='/buy_sell'">
								<a class="nav-link dropdown-toggle" href="/buy_sell" id="navbarDropdownLearning" role="button" data-bs-toggle="dropdown" aria-expanded="false">외화buy&amp;sell</a>
								
							</li>
							<li class="nav-item dropdown" onclick="window.location.href='/notice'">
								<a class="nav-link dropdown-toggle" href="/notice" id="navbarDropdownLearning" role="button" aria-expanded="false">공지사항</a>
								
							</li>
							<li class="me-lg-auto d-none d-lg-block"></li>
							
							<li class="nav-item">
								<a class="nav-link dropdown-item" href="/login">로그인</a>
							</li>
							<li class="nav-item">
								<a class="nav-link dropdown-item" href="/regist">가입하기</a>
							</li>
													</ul>
					</div>
				</div>
				
				
			</div>
		</nav>
	</header>	<div class="sentinal"></div>

	<main>



		<section class="main-banner hero-banner gs-anim-target general-section" data-section-name="hero-section">
			<figure aria-hidden="true" class="plus-bg plus-bg-medium blue-turquoise-gr" style="transform: translate(0%, 39.6018%) translate3d(0px, 0px, 0px) rotate(-11.9999deg);"></figure>
			<figure aria-hidden="true" class="plus-bg plus-bg-large blue-fill" style="transform: translate(0%, 56.5165%) translate3d(0px, 0px, 0px) rotate(-11.9999deg);"></figure>
			<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%, 76.4311%) translate3d(0px, 0px, 0px) rotate(-11.9999deg);">
					</figure>
					<div class="main-banner-content hero-content col col-md-6 col-lg-8 col-xl-7">
						<div class="blue-card-bg full-height"></div>
						<h1 class="main-banner-title">이것이 거래</h1>
						<div class="main-banner-slogan">플러스로</div>
						<div class="main-banner-anim">
							<div class="main-banner-anim-item main-banner-anim-title" style="perspective: 300px; display: none; opacity: 0; visibility: hidden;">
								<div style="position:relative;display:inline-block;">
									<div style="position: relative; display: inline-block; transform-origin: 11.6914px 18px; transform: translate(0px, 0px);" class="char">외</div>
									<div style="position: relative; display: inline-block; transform-origin: 10.125px 18px; transform: translate(0px, 0px);" class="char">환</div>
								</div>
							</div>
							<div class="main-banner-anim-item" style="perspective: 300px; display: none; opacity: 0; visibility: hidden;">
								<div style="position:relative;display:inline-block;">
									<div style="position: relative; display: inline-block; transform-origin: 10.8633px 18px; transform: translate(0px, 0px);" class="char">해</div>
									<div style="position: relative; display: inline-block; transform-origin: 9.99609px 18px; transform: translate(0px, 0px);" class="char">외</div>
									<div style="position: relative; display: inline-block; transform-origin: 9.73828px 18px; transform: translate(0px, 0px);" class="char">송</div>
									<div style="position: relative; display: inline-block; transform-origin: 6.32812px 18px; transform: translate(0px, 0px);" class="char">금</div>
								</div>
							</div>
							
						</div>
					</div>
					<div class="main-banner-content marketing-content chicago-bulls container-wrap col col-md-6 col-lg-7">
						<div class="marketing-banner-data">
							<img class="marketing-banner-logo" src="/image/plus500/plus500-logo.svg" alt="Plus US">
							<div class="mb-2 marketing-banner-title">공식 파트너</div>
							<img class="marketing-banner-bulls-name" alt="Chicago Bulls" src="/image/plus500/logo-bulls-name.svg">
						</div>
					</div>
				</div>
			</div>

			
		</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>빠르고 안정적인 주문 실행</li>
							<li>타이트한 스프레드</li>
							<li>고급 분석 도구</li>
							<li>최대 1:300의 레버리지</li>
							<li>실시간 견적</li>
							<li>빠르고 안전한 인출</li>
						</ul>
					</div>
				</div>
			</div>

		</section>
		<div class="pin-spacer" style="order: 0; place-self: auto; grid-area: auto; z-index: auto; float: none; flex-shrink: 1; display: block; margin: 0px 0px 160px; inset: 0px; position: relative; flex-basis: auto; overflow: visible; box-sizing: border-box; width: 1423px; height: 1026px; padding: 0px 0px 237px;">
			<section class="insights general-section gs-anim-target gs-insights-target" data-section-name="insights" style="transform: translate3d(0px, 0px, 0px); inset: 0px auto auto 0px; margin: 0px; max-width: 1423px; width: 1423px; max-height: 789.07px; height: 789.07px; padding: 0px;">
				<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>소개합니다: <span>+통찰력</span></strong>
										</h2>
										<div class="insights-list-data">
											<div class="insights-content">
												<ul>
													<li>손 안에서 독점적인 거래 데이터의 세계를 발견하세요.</li>
													<li>대중의 지혜를 활용해 거래 전략을 강화하세요.</li>
													<li>추세를 분석하고 다른 Plus500 트레이더가 무엇을 하고 있는지 확인하세요.
													
												</li></ul>
											</div>
										</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="/image/plus500/instrument-screen2-en.png" style="transform: translate(0px, 0px);">
										<img class="insights-img insights-img2 gs-insights-img2" loading="lazy" alt="" src="/image/plus500/instrument-screen1-en.png" style="transform-origin: 50% 100%; transform: scale(0, 0);">
									</figure>
								</div>
							</div>
						</div>
					</div>
				</div>
			</section>
		</div>
		<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>2,600만 명 이상 가입</strong> 이미 선택한 전세계 사람들
							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">* 창립 이후</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(50px, 0px); opacity: 0;">
											<span><strong>2800*</strong>
											</span>
											기구
										</div>
										<div class="item-anim item-anim2" style="transform: translate(0px, 0px); opacity: 1;">
											<span><strong>2800*</strong>
											</span>
											기구
										</div>
										<div class="item-anim item-anim3" style="transform: translate(50px, 0px); opacity: 0;">
											<span><strong>2600+</strong> 만</span>
											등록된 고객
										</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(50px, 0px); opacity: 0;">
											<span><strong>30000+</strong> 만</span>
											오픈된 포지션
										</div>
										<div class="item-anim item-anim5" style="transform: translate(0px, 0px); opacity: 1;">
											<span><strong>50+</strong></span>
											나라
										</div>
									</div>
								</div>
							</div>
						</div>
						<div class="disclaimer-note">* 장비 가용성은 관할권에 따라 다릅니다.</div>
					</div>
				</div>
			</div>
		</section>

		<section class="payment payment-section gs-why-us-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>
			<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>트러스트파일럿</strong>
								</div>
								<div class="score-container">
									<div class="reviews">
										<p class="title"><span>리뷰</span><span class="amount">+13K</span></p>
										<div class="trust-score">
											<figure aria-hidden="true" class="item-icon">
												<img loading="lazy" alt="" src="/image/plus500/trustpilot-stars.svg#great">
											</figure>
										</div>
										<div class="quality">Great</div>
									</div>
									<div class="score">
										<span>4.1</span>
									</div>
								</div>
							</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>왜 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="/image/plus500/icon-secure.svg">
											</figure>
											<div class="item-content">
												<h3 class="item-title">보호 및 보안</h3>
												<div class="item-desc">귀하의 데이터는 안전하며 귀하의 자금은 규제 요구 사항에 따라 분리된 은행 계좌에 보관됩니다.</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="/image/plus500/icon-support.svg">
											</figure>
											<div class="item-content">
												<h3 class="item-title">전문적인 지원</h3>
												<div class="item-desc">여러 언어로 24시간 전담 고객 서비스를 받으세요.</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="/image/plus500/icon-regulated.svg#none">
											</figure>
											<div class="item-content">
												<h3 class="item-title">규제됨</h3>
												<div class="item-desc">다양한 글로벌
													선도적 규제 기관의 허가 및 규제를 받음.
											</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="/image/plus500/icon-reliable.svg#none">
											</figure>
											<div class="item-content">
												<h3 class="item-title">믿을 수 있는</h3>
												<div class="item-desc">Plus500 Ltd는 런던 증권거래소의 상장 기업 주요 시장에 상장된 FTSE 250 기업입니다.</div>
											</div>
										</article>
									</div>
								</div>
							</div>
						</div>
					</div>
				</section>
			</section>
			
		</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">거래 <strong>스마트하게</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="/image/plus500/icon-risk.svg">
							</figure>
							<div class="item-content">
								<h3 class="item-title">전략을 연습하세요</h3>
								<div class="item-desc">실제 거래 계좌를 개설하기 전에 무료 데모 계정을 사용해 보세요.
									직관적인 거래 플랫폼을 탐색하고 기술을 향상시키세요.</div>
							</div>
						</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="/image/plus500/icon-knowledge.svg">
							</figure>
							<div class="item-content">
								<h3 class="item-title">지식을 넓히세요</h3>
								<div class="item-desc">Plus500의 포괄적인 교육 자료를 사용하여 CFD 거래에 대해 알아보세요.</div>
							</div>
						</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="/image/plus500/icon-strategy.svg">
							</figure>
							<div class="item-content">
								<h3 class="item-title">위험을 관리하세요</h3>
								<div class="item-desc">당사의 고급 위험 관리 도구를 사용하여 손실을 제한하고
									수익을 확보하세요.</div>
							</div>
						</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="/image/plus500/ipad-trans.webp" type="image/webp">
					<img loading="lazy" alt="" src="/image/plus500/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>스폰서</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="javascript:void(0);" class="sponsorships-item-link">
										<div class="sponsorships-item-image" data-cta-name="legia-players">
											<img loading="lazy" src="/image/plus500/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="/image/plus500/sponsorship-logo-legia-back.svg" src="/image/plus500/sponsorship-logo-legia-back.svg" alt="">
												<img width="80" class="sponsorship-logo-front" loading="lazy" data-src="/image/plus500/sponsorship-logo-legia-front.svg" src="/image/plus500/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="javascript:void(0);" class="sponsorships-item-link">
										<div class="sponsorships-item-image" data-cta-name="bulls-players">
											<img loading="lazy" src="/image/plus500/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="/image/plus500/sponsorship-logo-bulls-back.svg" src="/image/plus500/sponsorship-logo-bulls-back.svg" alt="">
												<img width="120" class="sponsorship-logo-front" loading="lazy" data-src="/image/plus500/sponsorship-logo-bulls-front.svg" src="/image/plus500/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="javascript:void(0);" class="sponsorships-item-link">
										<div class="sponsorships-item-image" data-cta-name="young-boys-players">
											<img loading="lazy" src="/image/plus500/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="/image/plus500/sponsorship-logo-young-boys-back.svg" src="/image/plus500/sponsorship-logo-young-boys-back.svg" alt="">
												<img width="100" class="sponsorship-logo-front" loading="lazy" data-src="/image/plus500/sponsorship-logo-young-boys-front.svg" src="/image/plus500/sponsorship-logo-young-boys-front.svg" alt="">
											</div>
											<span>BSC Young Boys</span>
										</div>
									</a>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</section>

		
		<aside class="disclaimer-zone">
			<div class="disclaimer disclaimer-footer">
				This website is operated by <a href="javascript:void(0);">Plus500SG Pte Ltd.</a> </div>
		</aside>


	</main><iframe height="0" width="0" src="https://8307440.fls.doubleclick.net/activityi;src=8307440;type=visit;cat=sitev0;ord=1;num=2846272752454;npa=0;auiddc=962579326.1724040331;u1=undefined;ps=1;pcor=1041484074;uaa=x86;uab=64;uafvl=Not)A%253BBrand%3B99.0.0.0%7CGoogle%2520Chrome%3B127.0.6533.122%7CChromium%3B127.0.6533.122;uamb=0;uam=;uap=Windows;uapv=15.0.0;uaw=0;frm=0;gtm=45fe48s0v9190963274z8564439za201zb564439;gcd=13l3l3l3l1l1;dma=0;tag_exp=0;epver=2;~oref=https%3A%2F%2Fwww.plus500.com%2Fen-kr%2F?" style="display: none; visibility: hidden;"></iframe><iframe allow="join-ad-interest-group" data-tagging-id="DC-8307440/visit/sitev0+unique" data-load-time="1725011256183" height="0" width="0" src="https://td.doubleclick.net/td/fls/rul/activityi;fledge=1;src=8307440;type=visit;cat=sitev0;ord=1;num=2846272752454;npa=0;auiddc=962579326.1724040331;u1=undefined;ps=1;pcor=1041484074;uaa=x86;uab=64;uafvl=Not)A%253BBrand%3B99.0.0.0%7CGoogle%2520Chrome%3B127.0.6533.122%7CChromium%3B127.0.6533.122;uamb=0;uam=;uap=Windows;uapv=15.0.0;uaw=0;frm=0;gtm=45fe48s0v9190963274z8564439za201zb564439;gcd=13l3l3l3l1l1;dma=0;tag_exp=0;epver=2;~oref=https%3A%2F%2Fwww.plus500.com%2Fen-kr%2F?" style="display: none; visibility: hidden;"></iframe><img src="https://trc.taboola.com/1216744/log/3/unip?en=page_view&amp;item-url=https%3A%2F%2Fwww.plus500.com%2Fen-kr%2F&amp;ref=" width="0" height="0" style="display:none">

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

	<section id="support-section" class="support-section" style="position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 5;">
		<div class="container-xxl">
			<div class="row">
				<div class="col d-md-flex justify-content-center align-items-center text-center">
					<h5>도움이필요 하십니까?</h5>
					<a data-analytics="buttonClick" class="support-link" href="https://open.kakao.com/o/srvMDIYg">
						<span class="text">고객센터</span>
						<span class="icon"></span>
					</a>
					<a data-analytics="buttonClick" class="support-link" href="https://open.kakao.com/o/soisEIYg" style="    margin-left: 20px;">
						<span class="text">1:1매니저</span>
						<span class="icon"></span>
					</a>
				</div>
			</div>
		</div>
	</section>



	<script src="/js/plus500/layout.bundle.min.js"></script>
	<script src="/js/plus500/general.min.js"></script>



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

        var experimentVariants = {};
            
                experimentVariants['experimentName_0'] = 'MobileStoreBestFlow';
            
            
                experimentVariants['experimentVariant_0'] = 'undefined';
            
            
                experimentVariants['experimentName_1'] = 'GeneralExpExcludeUae';
            
            
                experimentVariants['experimentVariant_1'] = 'undefined';
            
            
                experimentVariants['experimentName_2'] = 'GeneralExpUae';
            
            
                experimentVariants['experimentVariant_2'] = 'undefined';
            

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


	<script src="/js/plus500/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', () => {
             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', () => {
            // 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', (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>
		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("/js/plus500/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>
		const searchButton = document.querySelector("#search-button");
    		let searchApp, searchElem;
            const searchOptions = {
                searchTermMaxLength: 2,
                apiUrl: "/en-kr/api/Search",
                rootElement: '#searchDropdownContent',
                page: 0,
                delayBeforeInvoke: 700,
                placeholderResults: [{"name":"SGP Singapore 25","url":"/en-kr/instruments/sgp","tradeInstrumentAppUrl":"https://app.plus500.com/instruments/sgp?hl=en&product=CFD&IsRealMode=True","symbol":"SGP","icon":"https://cdn.plus500.com/Media/Apps/cfd_invest/Indices/SGP.png?v=1718693354"},{"name":"USD/JPY","url":"/en-kr/instruments/usdjpy","tradeInstrumentAppUrl":"https://app.plus500.com/instruments/usdjpy?hl=en&product=CFD&IsRealMode=True","symbol":"USDJPY","icon":"https://cdn.plus500.com/Media/Apps/cfd_invest/Forex/USDJPY.png?v=1718693384"},{"name":"NQ US-TECH 100","url":"/en-kr/instruments/nq","tradeInstrumentAppUrl":"https://app.plus500.com/instruments/nq?hl=en&product=CFD&IsRealMode=True","symbol":"NQ","icon":"https://cdn.plus500.com/Media/Apps/cfd_invest/Indices/NQ.png?v=1718693360"},{"name":"ES S&P 500","url":"/en-kr/instruments/es","tradeInstrumentAppUrl":"https://app.plus500.com/instruments/es?hl=en&product=CFD&IsRealMode=True","symbol":"ES","icon":"https://cdn.plus500.com/Media/Apps/cfd_invest/Indices/ES.png?v=1718693355"},{"name":"BMAGSI Magnificent 7 Index","url":"/en-kr/instruments/bmagsi","tradeInstrumentAppUrl":"https://app.plus500.com/instruments/bmagsi?hl=en&product=CFD&IsRealMode=True","symbol":"BMAGSI","icon":"https://cdn.plus500.com/Media/Apps/cfd_invest/Indices/BMAGSI.png?v=1719827864"}],
                categoriesInfo: [{"name":"FAQ","priority":2},{"name":"Trader's Guide","priority":1},{"name":"eBook","priority":1},{"name":"Risk Management","priority":1},{"name":"Markets","priority":1},{"name":"Company","priority":1},{"name":"Trading","priority":1},{"name":"News & Market Insights","priority":1},{"name":"Instruments","priority":3},{"name":"Beginner's Guide","priority":1},{"name":"Webinars","priority":1}],
                searchInputId: "#searchInstruments",
            };

            function loadAndInitGlobalSearch() {
				loadJS("/js/plus500/vue.min.js", document.body, () => {
					loadJS("/js/plus500/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>
		if (window.matchMedia('(max-width: 767px)').matches) {
                var lastScrollTopPos = 0;

                function fixIphoneRWPosition() {
                    // on landscape
                    if (window.orientation === 90 || window.orientation === -90) {

                        scrollTopPos = $(window).scrollTop();

                        // scrolling up
                        if (scrollTopPos > lastScrollTopPos) {
                        }

                        // scrolling down
                        if (scrollTopPos < lastScrollTopPos && scrollTopPos < 50) {
                            $('.sticky-footer-wrapper').css({ bottom: 50 });
                        }
                        
                        lastScrollTopPos = scrollTopPos;

                    }
                }

                function showRWForSmall() {
                    var scrollTopPos = $(window).scrollTop();
                    riskWarningContainer = $('.rw-container.bottom');
                    isCtaButtonOnPage = $('.cta-wrap .button.cta').length > 0;
                    isContactPage = $('body').hasClass('contactus');

                    if (isCtaButtonOnPage && scrollTopPos < 300 || isContactPage === true && scrollTopPos < 300) {
                        riskWarningContainer.slideDown(750, function () {
                            if (navigator.userAgent.match(/iPhone/i)) {
                                fixIphoneRWPosition();
                            }
                        });
                        return false;
                    } else {
                        riskWarningContainer.slideUp(750, function () {
                            if (navigator.userAgent.match(/iPhone/i)) {
                                fixIphoneRWPosition();
                            }
                        });
                        return false;
                    }
                }

                showRWForSmall();
                if (navigator.userAgent.match(/iPhone/i)) {
                    if (window.orientation === 90 || window.orientation === -90) {
                        $('.sticky-footer-wrapper').css({ bottom: 50 });
                    } else {
                        $('.sticky-footer-wrapper').css({ bottom: 0 });
                    }
                }

                $(window).on('scroll resize', function (event) {
                    showRWForSmall();
                });

                $(window).on('resize', function (event) {
                    if (navigator.userAgent.match(/iPhone/i)) {
                        $('.sticky-footer-wrapper').css({ bottom: 0 });
                    }
                });
            }
	</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 async="" src="/js/plus500/support-button-on-scroll.min.js">
	</script>


</body></html>