(function(){function _vwo_err(e){function gE(e,a){return"https://dev.visualwebsiteoptimizer.com/ee.gif?a=1128438&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:"")+(a||"")}var vwo_e=gE(e);try{typeof navigator.sendBeacon==="function"?navigator.sendBeacon(vwo_e):(new Image).src=vwo_e}catch(err){}}try{var extE=0,prevMode=false;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_"+1128438;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&&atob(decodeURIComponent(n[1]))}return n&&JSON.parse(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(ccMode){window._vwo_mt=decodeURIComponent(wL.search.match("_vwo_m=([^&]*)")[1])}else if(window.name&&JSON.parse(window.name)){window._vwo_mt=window.name}}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)}else if(location.href.indexOf("wingify_qa_assistant=true")!==-1){window._vwo_mt=JSON.stringify({[previewKey]:"wingify_qaa"});const url=new URL(window.location.href);url.searchParams.delete("wingify_qa_assistant");window.history.replaceState({},"",url)}if(window._vwo_mt!=="live"){;if(typeof extE!=="undefined"){extE=1}if (!getMode("_vwo_cc")) {
        // This Preview Code is supposed to execute Async Smart Code that further takes care of heatmap/preview/editor
        (function(){var cParam='';try{if(window.VWO&&window.VWO.appliedCampaigns){var campaigns=window.VWO.appliedCampaigns;for(var cId in campaigns){if(campaigns.hasOwnProperty(cId)){var v=campaigns[cId].v;if(cId&&v){cParam='&c='+cId+'-'+v+'-1';break;}}}}}catch(e){}var prevMode=false;_vwo_code.load('https://dev.visualwebsiteoptimizer.com/j.php?mode='+encodeURIComponent(window._vwo_mt)+'&a=1128438&f=1&u='+encodeURIComponent(window._vis_opt_url||document.URL)+'&eventArch=true'+'&x=true'+cParam,{sL:window._vwo_code.sL});if(window._vwo_code.sL){prevMode=true;}})();;
      } else {
        (function () {
          window._vwo_code && window._vwo_code.finish();;
          _vwo_ccc = { u: "https://dev.visualwebsiteoptimizer.com/j.php?a=1128438&u=https%3A%2F%2Fwww.elfcosmetics.com%2F&vn=2.2&ph=1&st=3945.5&x=true" };
          // var app = getMode("_vwo_cc")._vwo_cc.app || "app";
          var s = document.createElement("script");
          s.src = "https://dev.visualwebsiteoptimizer.com/cdn/edrv/beta/checker-d4e786cd8f351a35a1b5995ccb14c999.br.js";
          document.head.appendChild(s);
        })();
      }}}catch(e){var vwo_e=new Image;vwo_e.src="/ee.gif?s=mode_det&e="+encodeURIComponent(e&&e.stack&&e.stack.substring(0,1e3)+"&vn=");aC&&_vwo_code.finish();}})();
;;window._vwo_cookieDomain="elfcosmetics.com";;;;_vwo_surveyAssetsBaseUrl="https://cdn.visualwebsiteoptimizer.com/";;if(prevMode){return}if(window._vwo_mt === "live"){window.VWO=window.VWO||[];window._vwo_acc_id=1128438;window.VWO._=window.VWO._||{};;;window.VWO.visUuid="D60BE0046120403AF900DDCFEDC3E59F3|c0dad57b700de9ed759e6d93f498e883";
;_vwo_code.sT=_vwo_code.finished();(function(c,a,e,d,b,z,g,sT){if(window.VWO._&&window.VWO._.isBot)return;const cookiePrefix=window._vwoCc&&window._vwoCc.cookiePrefix||"";const useLocalStorage=sT==="ls";const cookieName=cookiePrefix+"_vwo_uuid_v2";const escapedCookieName=cookieName.replace(/([.*+?^${}()|[\]\\])/g,"\\$1");const cookieDomain=g;function getValue(){if(useLocalStorage){return localStorage.getItem(cookieName)}else{const regex=new RegExp("(^|;\\s*)"+escapedCookieName+"=([^;]*)");const match=e.cookie.match(regex);return match?decodeURIComponent(match[2]):null}}function setValue(value,days){if(useLocalStorage){localStorage.setItem(cookieName,value)}else{e.cookie=cookieName+"="+value+"; expires="+new Date(864e5*days+ +new Date).toGMTString()+"; domain="+cookieDomain+"; path=/"}}let existingValue=null;if(sT){const cookieRegex=new RegExp("(^|;\\s*)"+escapedCookieName+"=([^;]*)");const cookieMatch=e.cookie.match(cookieRegex);const cookieValue=cookieMatch?decodeURIComponent(cookieMatch[2]):null;const lsValue=localStorage.getItem(cookieName);if(useLocalStorage){if(lsValue){existingValue=lsValue;if(cookieValue){e.cookie=cookieName+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; domain="+cookieDomain+"; path=/"}}else if(cookieValue){localStorage.setItem(cookieName,cookieValue);e.cookie=cookieName+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; domain="+cookieDomain+"; path=/";existingValue=cookieValue}}else{if(cookieValue){existingValue=cookieValue;if(lsValue){localStorage.removeItem(cookieName)}}else if(lsValue){e.cookie=cookieName+"="+lsValue+"; expires="+new Date(864e5*366+ +new Date).toGMTString()+"; domain="+cookieDomain+"; path=/";localStorage.removeItem(cookieName);existingValue=lsValue}}a=existingValue||a}else{const regex=new RegExp("(^|;\\s*)"+escapedCookieName+"=([^;]*)");const match=e.cookie.match(regex);a=match?decodeURIComponent(match[2]):a}-1==e.cookie.indexOf("_vis_opt_out")&&-1==d.location.href.indexOf("vwo_opt_out=1")&&(window.VWO.visUuid=a),a=a.split("|"),b=new Image,g=window._vis_opt_domain||c||d.location.hostname.replace(/^www\./,""),requestPath="/v.gif?cd="+(window._vis_opt_cookieDays||0)+"&a=1128438&d="+encodeURIComponent(d.location.hostname.replace(/^www\./,"") || c)+"&u="+a[0]+"&h="+a[1]+"&t="+z,b.src="https://dev.visualwebsiteoptimizer.com/collect"+requestPath,d.vwo_iehack_queue=[b],setValue(a.join("|"),366)})("elfcosmetics.com",window.VWO.visUuid,document,window,0,_vwo_code.sT,"elfcosmetics.com","false"||null);
;clearTimeout(window._vwo_settings_timer);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;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])}};window.VWO.ssMeta = { enabled: 0, noSS: 0 };;;VWO._=VWO._||{};window._vwo_clicks=false;;VWO._.allSettings=(function(){return{dataStore:{campaigns:{15:{"stag":0,"combs":{"2":0.9,"1":0.1},"ss":{"csa":0,"se":"true"},"ep":1772202334000,"metrics":[{"id":1,"metricId":1831004,"type":"m"},{"id":2,"metricId":0,"type":"g"},{"id":3,"metricId":0,"type":"g"},{"id":6,"metricId":2203837,"type":"m"},{"id":7,"metricId":2217166,"type":"m"}],"version":4,"mt":{"2":"26075037","3":"26075040","6":"22965034","1":"22965025","7":"22965037"},"id":15,"ibe":1,"triggers":["23287680"],"name":"Shopping Bag A\/B Test (Prod) - Only Logged-in Users (Cloned)","GTM":1,"sen":true,"pgre":true,"ps":true,"isAbtastyPushFormat":false,"manual":false,"segment_code":"())","comb_n":{"2":"Variation-1","1":"Control"},"varSegAllowed":false,"muts":{"post":{"enabled":true,"refresh":true}},"urlRegex":"","sections":{"1":{"variations":{"2":[{"rtag":"R_1128438_15_1_2_0","cpath":"#beauty-squad-cart-carousel-v1,[data-testid=\"elf-cart-page\"] [data-testid=\"reward-carousel\"]>div:nth-child(1),#beauty-squad-cart-carousel-v1>div:nth-child(1),#beauty-squad-cart-carousel-v1>div:nth-child(1) svg:not(.loyaltyLogoSVG),svg.loyaltyLogoSVG,#beauty-squad-cart-carousel-v1>div:nth-child(1) p,#beauty-squad-cart-carousel-v1 button[data-testid=\"reward-tile__add-button\"],[data-testid=\"elf-cart-page\"] [aria-label=\"Free shipping progress\"],[data-testid=\"elf-cart-page\"] [data-testid=\"elf-cart-summary\"]","xpath":"HEAD","tag":"C_1128438_15_1_2_0"}],"1":[]},"variation_names":{"2":"Variation-1","1":"Control"},"globalWidgetSnippetIds":{"2":[],"1":[]},"path":"","triggers":[],"segment":{"2":1,"1":1},"editorXPaths":{"2":[],"1":[]},"sectionLibraryChunks":{"2":[],"1":[]}}},"goals":{"2":{"mca":false,"url":"[data-testid=\"reward-carousel\"] > div > button","identifier":"vwo_dom_click","type":"CUSTOM_GOAL"},"3":{"mca":false,"url":"[data-testid=\"reward-tile__add-button\"]","identifier":"vwo_dom_click","type":"CUSTOM_GOAL"},"6":{"revenueProp":"purchase","mca":true,"identifier":"purchasewithredemption","type":"REVENUE_TRACKING"},"1":{"mca":false,"identifier":"vwo_engagement","type":"CUSTOM_GOAL"},"7":{"revenueProp":"revenue","mca":true,"identifier":"purchasewithredemption","type":"REVENUE_TRACKING"}},"globalCode":[],"clickmap":0,"pc_traffic":100,"pg_config":["3285630"],"status":"RUNNING","exclude_url":"","multiple_domains":0,"type":"VISUAL_AB"}},changeSets:{},plugins:{"ACCTZ":"America\/Indiana\/Indianapolis","UA":{"dt":"spider","br":"Other","de":"Other","os":"Other","ps":"other:false:Other::CCBot:2:Spider"},"GEO":{"r":"VA","vn":"geoip2","rn":"Virginia","conC":"NA","c":"Ashburn","cc":"US","cn":"United States","cEU":""},"DACDNCONFIG":{"CSHS":false,"UCP":false,"SST":false,"SD":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') };"},"DONT_IOS":false,"SPA":true,"DNDOFST":1000,"jsConfig":{"vqe":false,"ge":1,"ele":1,"m360":1,"ast":1,"histEnabled":1,"se":1,"ivocpa":false,"earc":1},"debugEvt":false,"AST":true,"SCC":"{\"cache\":0}","FB":false,"CKLV":false,"CINSTJS":false,"BSECJ":false,"CRECJS":false,"eNC":false,"IAF":false,"RDBG":false,"SPAR":false,"PRTHD":false,"aSM":false,"DLRE":false,"CJ":false},"LIBINFO":{"EVAD":{"HASH":"","LIB_SUFFIX":""},"HEATMAP_HELPER":{"HASH":"435dab2cdb6daf4c487387027a549b41br"},"SURVEY_HTML":{"HASH":"4b568581cd1c7a06f3b5350722ed6f42br"},"DEBUGGER_UI":{"HASH":"dda4f9785f2dd92dc55ad5e22c352629br"},"OPA":{"PATH":"\/4.0","HASH":"ce474bfb841b43cb4e86a2c00e34b95cbr"},"WORKER":{"HASH":"70faafffa0475802f5ee03ca5ff74179br"},"SURVEY":{"HASH":"1d93457007b85c0667d3dcfc4b7c44aebr"},"SURVEY_DEBUG_EVENTS":{"HASH":"fe9b9b3fe237d325d0b16dd3a8eabd0dbr"},"TRACK":{"HASH":"cf351fc4c6ca9b8e71926bc2c9744591br","LIB_SUFFIX":""},"DEBUGGER":{"HASH":""}},"IP":"2600:1f28:365:80b0:d13:731c:74ba:457d","PIICONFIG":false},vwoData:{"gC":null,"pR":[]},crossDomain:{},integrations:{"15":{"GTM":1}},events:{"vwo_selection":{},"vwo_copy":{},"vwo_quickBack":{},"vwo_recommendation_block_shown":{},"vwo_errorOnPage":{},"vwo_surveyExtraData":{},"vwo_surveyQuestionAttempted":{},"vwo_surveyClosed":{},"gtm.add_to_wishlist":{},"gtm.page_metadata":{},"purchasewithredemption":{},"redemptions":{},"vwo_appGoesInBackground":{},"vwo_networkChanged":{},"vwo_fling":{},"vwo_doubleTap":{},"vwo_page_session_count":{},"vwo_rC":{},"vwo_survey_surveyCompleted":{},"vwo_survey_submit":{},"vwo_survey_reachedThankyou":{},"vwo_survey_questionShown":{},"gtm.purchase":{},"vwo_customConversion":{},"vwo_customTrigger":{},"vwo_leaveIntent":{},"vwo_conversion":{},"vwo_dom_elementViewed":{},"vwo_widgetClose":{},"vwo_repeatedScrolled":{},"vwo_attribute":{},"vwo_jsBuildLog":{},"vwo_dom_mouseDown":{},"vwo_surveyAttempted":{},"vwo_surveyQuestionDisplayed":{},"vwo_appTerminated":{},"vwo_dom_hover":{},"vwo_sdkUsageStats":{},"vwo_fmeSdkInit":{},"vwo_performance":{},"vwo_repeatedHovered":{},"vwo_singleTap":{},"vwo_tabOut":{},"vwo_tabIn":{},"abTastyCampaign":{},"vwo_survey_display":{},"vwo_survey_complete":{},"vwo_survey_close":{},"vwo_debugLogs":{},"vwo_revenue":{},"vwo_dom_click":{"nS":["target.innerText","target"]},"vwo_trackGoalVisited":{},"vwo_newSessionCreated":{},"vwo_syncVisitorProp":{},"vwo_dom_submit":{},"vwo_analyzeHeatmap":{},"vwo_analyzeRecording":{},"vwo_analyzeForm":{},"vwo_timer":{"nS":["timeSpent"]},"vwo_dom_scroll":{"nS":["pxBottom","bottom","top","pxTop"]},"vwo_integrationData":{},"vwo_sessionSync":{},"vwo_goalVisit":{"nS":["expId"]},"vwo_screenViewed":{},"vwo_variationShown":{},"vwo_log":{},"vwo_pageView":{},"vwo_sdkDebug":{},"vwo_survey_attempt":{},"vwo_survey_questionAttempted":{},"vwo_widgetShown":{},"vwo_surveyQuestionSubmitted":{"ls":true},"vwo_cursorThrashed":{},"vwo_surveyCompleted":{},"vwo_pageRefreshed":{},"vwo_surveyDisplayed":{},"vwo_mouseout":{},"vwo_pageUnload":{},"vwo_orientationChanged":{},"vwo_appComesInForeground":{},"vwo_appLaunched":{},"vwo_scroll":{},"vwo_zoom":{},"vwo_appNotResponding":{},"vwo_appCrashed":{},"vwo_autoCapture":{},"vwo_longPress":{},"vwo_vA":{}},visitorProps:{"vwo_email":{},"vwo_domain":{},"vwo_eaiSegment":{}},uuid:"D60BE0046120403AF900DDCFEDC3E59F3",syV:{},syE:{},cSE:{},CIF:false,syncEvent:"sessionCreated",syncAttr:"sessionCreated"},sCIds:{},oCids:["15"],triggers:{"11":{"cnds":[{"event":"vwo_dynDataFetched","id":105,"filters":[["event.state","eq",1]]}]},"75":{"cnds":[{"event":"vwo_urlChange","id":99}]},"23287680":{"cnds":["a",{"id":1002,"event":"vwo_pageView","filters":[]},["o",{"id":500,"event":"vwo_pageView","filters":[["storage.cookies._vis_opt_exp_15_combi","nbl"]]},["a",{"event":"vwo_mutationObserved","id":2},{"event":"vwo_notRedirecting","id":4,"filters":[]},{"event":"vwo_visibilityTriggered","id":5,"filters":[]},{"id":1000,"event":"gtm.page_metadata","filters":[["event.user_logged_in","eq",true]]}]]],"dslv":2},"22965025":{"cnds":["o",{"id":1000,"event":"vwo_dom_click","filters":[["event.userEngagement","eq",true]]},{"id":1001,"event":"vwo_dom_submit","filters":[["event.userEngagement","eq",true]]}],"dslv":2},"26075037":{"cnds":[{"id":1000,"event":"vwo_dom_click","filters":[["event.target","sel","[data-testid=\"reward-carousel\"] > div > button"]]}],"dslv":2},"26075040":{"cnds":[{"id":1000,"event":"vwo_dom_click","filters":[["event.target","sel","[data-testid=\"reward-tile__add-button\"]"]]}],"dslv":2},"22965034":{"cnds":[{"id":1000,"event":"purchasewithredemption","filters":[]}],"dslv":2},"22965037":{"cnds":[{"id":1000,"event":"purchasewithredemption","filters":[]}],"dslv":2},"5":{"cnds":[{"event":"vwo_postInit","id":101}]},"2":{"cnds":[{"event":"vwo_variationShown","id":100}]},"8":{"cnds":[{"event":"vwo_pageView","id":102}]},"9":{"cnds":[{"event":"vwo_groupCampTriggered","id":105}]}},preTriggers:{},tags:{},rules:[{"triggers":["22965034"],"tags":[{"id":"metric","data":{"campaigns":[{"c":15,"g":6}],"type":"m"},"metricId":2203837}]},{"triggers":["22965037"],"tags":[{"id":"metric","data":{"campaigns":[{"c":15,"g":7}],"type":"m"},"metricId":2217166}]},{"triggers":["23287680"],"tags":[{"id":"runCampaign","priority":4,"data":"campaigns.15"}]},{"triggers":["22965025"],"tags":[{"id":"metric","data":{"campaigns":[{"c":15,"g":1}],"type":"m"},"metricId":1831004}]},{"triggers":["26075037"],"tags":[{"id":"metric","data":{"campaigns":[{"c":15,"g":2}],"type":"g"},"metricId":0}]},{"triggers":["26075040"],"tags":[{"id":"metric","data":{"campaigns":[{"c":15,"g":3}],"type":"g"},"metricId":0}]},{"triggers":["2"],"tags":[{"id":"runTestCampaign"}]},{"triggers":["11"],"tags":[{"id":"revaluateHiding","priority":3}]},{"triggers":["75"],"tags":[{"id":"urlChange"}]},{"triggers":["5"],"tags":[{"id":"checkEnvironment"}]},{"triggers":["8"],"tags":[{"id":"groupCampaigns","priority":2},{"priority":3,"id":"prePostMutation"}]},{"triggers":["9"],"tags":[{"id":"visibilityService","priority":2}]}],pages:{"ec":[{"3285627":{"inc":["o",["url","urlReg","(?i).*"]]}}]},pagesEval:{"ec":[3285627]},stags:{},domPath:{}}})();if(typeof window!=="undefined"&&window._vwoFlow==="link-survey"){window.VWO._.rCS()}
;if(typeof heatmapDevice!=="undefined"&&heatmapDevice&&VWO._.allSettings&&VWO._.allSettings.dataStore.plugins.UA){VWO._.allSettings.dataStore.plugins.UA.dt=heatmapDevice};var commonWrapper=function(argument){if(!argument){argument={integrationName:"",valuesGetter:function(){return{}},valuesSetter:function(){},verifyData:function(){return{}}}}var sendMonitoringEvent=function(type,elapsedMs,extraPayload){try{if(argument.integrationName!=="factor"){return}var eventName="vwo_debugLogs";var eventPayload={intName:argument.integrationName||"",type:type,msg:elapsedMs,url:window.location.href};if(extraPayload&&typeof extraPayload==="object"){for(var key in extraPayload){if(Object.prototype.hasOwnProperty.call(extraPayload,key)){eventPayload[key]=extraPayload[key]}}}if(window.VWO&&window.VWO._&&typeof window.VWO._.event==="function"){window.VWO._.event(eventName,eventPayload,{enableLogs:1})}}catch(e){}};var getVisitorUuid=function(){if(window._vwo_acc_id>=1037725){return window.VWO&&window.VWO.get("visitor.id")}else{return window.VWO._&&window.VWO._.cookies&&window.VWO._.cookies.get("_vwo_uuid")}};var pollInterval=100;var timeout=6e4;return function(){sendMonitoringEvent("intCallTriggered",0);var accountIntegrationSettings={};var _interval=null;var startTime=performance.now();var hasSentTimingEvent=false;function waitForAnalyticsVariables(){try{accountIntegrationSettings=argument.valuesGetter();accountIntegrationSettings.visitorUuid=getVisitorUuid()}catch(error){accountIntegrationSettings=undefined}if(accountIntegrationSettings&&argument.verifyData(accountIntegrationSettings)){argument.valuesSetter(accountIntegrationSettings);if(!hasSentTimingEvent){hasSentTimingEvent=true;sendMonitoringEvent("intDataPushed",Math.round(performance.now()-startTime))}return 1}return 0}var currentTime=0;_interval=setInterval((function(){currentTime=currentTime||performance.now();var result=waitForAnalyticsVariables();var isTimeout=performance.now()-currentTime>=timeout;if(isTimeout&&!hasSentTimingEvent){hasSentTimingEvent=true;sendMonitoringEvent("intTimeout",Math.round(performance.now()-startTime),{timeout_ms:timeout})}if(result||isTimeout){clearInterval(_interval)}}),pollInterval)}};
    commonWrapper({valuesGetter:function(){return{}},valuesSetter:function(data){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={};var defaultArgument={integrationName:"",getExperimentList:function(){return[]},accountSettings:function(){return{}},getCampaignSettings:function(){return{}},pushData:function(){return false},sendData:function(){return false}};argument=argument||{};for(var key in defaultArgument){if(!argument[key]){argument[key]=defaultArgument[key]}}return function(){window.VWO=window.VWO||[];var getVisitorUuid=function(){if(window._vwo_acc_id>=1037725){return window.VWO&&window.VWO.get("visitor.id")}else{return window.VWO._&&window.VWO._.cookies&&window.VWO._.cookies.get("_vwo_uuid")}};var sendDebugLogsOld=function(expId,variationId,errorType,user_type,data){try{var errorPayload={f:argument["integrationName"]||"",a:window._vwo_acc_id,url:window.location.href,exp:expId,v:variationId,vwo_uuid:getVisitorUuid(),user_type:user_type};if(errorType=="initIntegrationCallback"){errorPayload["log_type"]="initIntegrationCallback";errorPayload["data"]=JSON.stringify(data||"")}else if(errorType=="timeout"){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){window.VWO._.customError&&window.VWO._.customError({msg:"integration debug failed",url:"",lineno:"",colno:"",source:""})}};var sendDebugLogs=function(expId,variationId,errorType,user_type){var eventName="vwo_debugLogs";var eventPayload={};try{eventPayload={intName:argument["integrationName"]||"",varId:variationId,expId:expId,type:errorType,vwo_uuid:getVisitorUuid(),user_type:user_type};if(window.VWO._.event){window.VWO._.event(eventName,eventPayload,{enableLogs:1})}}catch(e){eventPayload={msg:"integrationevent log failed",url:window.location.href};window.VWO._.event&&window.VWO._.event(eventName,eventPayload)}};var getVariationDetails=function(exp,variation_id){if(!exp)return null;var isPersonalizeV2=exp.iType&&exp.iType.type==="TARGETING"&&exp.iType.v===2;if(isPersonalizeV2){var parts=String(variation_id).split(",");if(parts.length<2)return null;var targetId=String(parts[0]);var targetName=exp.comb_n[targetId];var varId=String(parts[1]);var variationName="";if(exp.sections&&exp.sections[1]&&exp.sections[1].variation_names){variationName=exp.sections[1].variation_names[varId]}return{variation_id:varId,variation_name:variationName||"",target_id:targetId||"",target_name:targetName||""}}var variationNameNormal="";if(exp.comb_n){variationNameNormal=exp.comb_n[variation_id]}return{variation_id:variation_id,variation_name:variationNameNormal||"",target_id:"",target_name:""}};var triggerConnector=function(cData){var expId=cData.expId,variationId=cData.variationId,visitorUuid=cData.visitorUuid,connectS=cData.connectS,repeated=cData.repeated;var experimentList=argument.getExperimentList();var cId=connectS.cId;var singleCall=connectS.singleCall||0;var debug=connectS.debug||0;var integrationName=argument["integrationName"]||"vwo";firedCamp[expId]=firedCamp[expId]||{};if(singleCall&&(repeated==="vS"||repeated==="vSS")||firedCamp[expId][cId]){return}if(debug){sendDebugLogs(expId,variationId,"intCallTriggered",repeated);sendDebugLogsOld(expId,variationId,"initIntegrationCallback",repeated)}if(experimentList.indexOf(+expId)!==-1){firedCamp[expId][cId]=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(){window.expList=window.expList||{};window.expList[integrationName]=window.expList[integrationName]||{};window.expList[integrationName][cId]=window.expList[integrationName][cId]||[];if(window.expList[integrationName][cId].indexOf(expId)!==-1){clearInterval(interval);return}var isWingifyEnabled=false;connectS.isWingifyEnabled=isWingifyEnabled;var variationDetails=getVariationDetails(window._vwo_exp[expId],variationId);var wingifyData={eN:"wingify",isAbtastyPushFormat:window._vwo_exp[expId].isAbtastyPushFormat,eP:{cN:window._vwo_exp[expId].name,cI:expId,vN:variationDetails.variation_name,vI:variationDetails.variation_id,tN:variationDetails.target_name,tI:variationDetails.target_id,uI:visitorUuid||""}};currentTime=currentTime||performance.now();var pushData=argument.pushData(expId,variationId,visitorUuid,connectS);var sendData=argument.sendData(wingifyData,visitorUuid,connectS);var toClearInterval=pushData||sendData;if(debug&&toClearInterval){sendDebugLogsOld(expId,variationId,"",user_type);sendDebugLogs(expId,variationId,"intDataPushed",user_type)}var isTimeout=performance.now()-currentTime>=timeout;if(isTimeout&&debug){sendDebugLogsOld(expId,variationId,"timeout",user_type);sendDebugLogs(expId,variationId,"intTimeout",user_type)}if(toClearInterval||isTimeout){clearInterval(interval)}if(toClearInterval){window.expList[integrationName][cId].push(expId)}}),pollInterval||100)}};var callbackFn=function(data){if(!data)return;var expId=data[1],variationId=data[2],repeated=data[0];var visitorUuid=getVisitorUuid();var accountSettings=argument.accountSettings();var allCampaignSettings=argument.getCampaignSettings();var connectors=allCampaignSettings["connectors"];if(typeof connectors==="undefined"||connectors===null){connectors=[accountSettings]}var pushSettings=allCampaignSettings["push"]||{};var campaignConnectors=pushSettings[expId]||[0];var connectCampSettings=campaignConnectors.map(id=>({...connectors[id],cId:id}));if(expId&&variationId&&["VISUAL_AB","VISUAL","SPLIT_URL"].indexOf(_vwo_exp[expId].type)>-1){connectCampSettings.forEach(connectS=>{var cData={expId:expId,variationId:variationId,visitorUuid:visitorUuid,connectS:connectS,repeated:repeated};triggerConnector(cData)})}};window.VWO.push(["onVariationApplied",callbackFn]);window.VWO.push(["onVariationShownSent",callbackFn])}};
    (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:"contentsquare",getExperimentList:function(){return [15]},getCampaignSettings:function(){return {"connectors":{},"push":{"14":[149140],"15":[149140],"16":[149140]}}},accountSettings:function(){return {}},sendData:function(wData,visitorUuid,config){if(window._uxa&&window.VWO){var csKey;var csValue=wData.eP.vN;if(config["isWingifyEnabled"]===true){csKey="AB_"+wData.eN+"_"+wData.eP.cI+":"+wData.eP.cN}else{csKey="AB_VWO_"+wData.eP.cI+":"+wData.eP.cN}window._uxa.push(["trackDynamicVariable",{key:csKey,value:csValue}]);return true}if(window.CS_CONF){window.CS_CONF.integrations=window.CS_CONF.integrations||[];var integrationName=config["isWingifyEnabled"]===true?wData.eN:"VWO";window.CS_CONF.integrations.push(integrationName)}return false}})();
    commonWrapper({valuesGetter:function(){return {}},valuesSetter:function(data){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}}})();
        pushBasedCommonWrapper({integrationName:"GA4",getExperimentList:function(){return [15]},getCampaignSettings:function(){return {"connectors":{"170341":{"manualSetup":false,"dataVariable":""}},"push":{"14":[170341],"15":[170341],"16":[170341]}}},accountSettings:function(){var accountIntegrationSettings={"isSegment":true};if(accountIntegrationSettings["debugType"]=="ga4"&&accountIntegrationSettings["debug"]){accountIntegrationSettings["debug"]=1}else{accountIntegrationSettings["debug"]=0}return accountIntegrationSettings},sendData:function(wData,visitorUuid,config){var ga4Setup=config["setupVia"]||"gtag";if(!window.gtag||ga4Setup!="gtag"){return false}if(wData.isAbtastyPushFormat&&config["measurementId"]){var measurementId=config["measurementId"];window.gtag("config",measurementId);window.gtag("event","abtasty",{exp_variant_string:`ABT-${wData.eP.cI}-${wData.eP.vI}`,abtasty_campaign:`[${wData.eP.cI}] ${wData.eP.cN}`,abtasty_variation:`[${wData.eP.vI}] ${wData.eP.vN}`,send_to:measurementId});window.gtag("event","experience_impression",{exp_variant_string:"VWO-"+wData.eP.cI+"-"+wData.eP.vI,send_to:measurementId});return true}else if(config["isWingifyEnabled"]===true){var wingifyMeasurementId=config["measurementId"];var params={exp_variant_string:"wingify-"+wData.eP.cI+"-"+wData.eP.vI};if(typeof wingifyMeasurementId!=="undefined"&&wingifyMeasurementId!==null&&wingifyMeasurementId!==""){window.gtag("config",wingifyMeasurementId);params["send_to"]=wingifyMeasurementId}window.gtag("event","experience_impression",params);return true}else{var vwoMeasurementId=config["measurementId"];var eventName="VWO";var eventParams={vwo_campaign_name:wData.eP.cN+":"+wData.eP.cI,vwo_variation_name:wData.eP.vN+":"+wData.eP.vI};var experienceImpressionParams={exp_variant_string:"VWO-"+wData.eP.cI+"-"+wData.eP.vI};if(wData.eP.tI){experienceImpressionParams.exp_variant_string+=","+wData.eP.tI}if(typeof vwoMeasurementId!=="undefined"&&vwoMeasurementId!==null&&vwoMeasurementId!==""){window.gtag("config",vwoMeasurementId);eventParams["send_to"]=vwoMeasurementId;experienceImpressionParams["send_to"]=vwoMeasurementId}window.gtag("event",eventName,eventParams);window.gtag("event","experience_impression",experienceImpressionParams);return true}}})();pushBasedCommonWrapper({integrationName:"GA4-GTM",getExperimentList:function(){return [15]},getCampaignSettings:function(){return {"connectors":{"170341":{"manualSetup":false,"dataVariable":""}},"push":{"14":[170341],"15":[170341],"16":[170341]}}},accountSettings:function(){var accountIntegrationSettings={"isSegment":true};if(accountIntegrationSettings["debugType"]=="gtm"&&accountIntegrationSettings["debug"]){accountIntegrationSettings["debug"]=1}else{accountIntegrationSettings["debug"]=0}return accountIntegrationSettings},sendData:function(wData,visitorUuid,config){var ga4Setup=config["setupVia"]||"gtm";var dataVariable=config["dataVariable"]||"dataLayer";if(typeof window[dataVariable]!=="undefined"&&ga4Setup=="gtm"){if(config["isWingifyEnabled"]===true){var exp_variant_string="wingify-"+wData.eP.cI+"-"+wData.eP.vI;if(wData.eP.tI){exp_variant_string+="-"+wData.eP.tI}window[dataVariable].push({event:wData.eN,wingify_exp_variant_string:exp_variant_string});return true}else{var eventName="vwo-data-push-ga4";var vwo_exp_variant_string="VWO-"+wData.eP.cI+"-"+wData.eP.vI;if(wData.eP.tI){vwo_exp_variant_string+=","+wData.eP.tI}window[dataVariable].push({event:eventName,vwo_exp_variant_string:vwo_exp_variant_string});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:"r1.visualwebsiteoptimizer.com",dacdnUrl:"https://dev.visualwebsiteoptimizer.com",accountJSInfo:{"noSS":false,"tpc":{},"ts":1781545802,"pc":{"t":0,"a":0},"rp":30}};for(var k in vD){VWO.data[k]=vD[k]};var gcpfb=function(a,loadFunc,status,err,success){function vwoErr() {_vwo_err&&_vwo_err({message:"Google_Cdn failing for " + a + ". Trying Fallback..",code:"cloudcdnerr",status:status});} if(a.indexOf("/cdn/")!==-1){loadFunc(a.replace("cdn/",""),err,success); vwoErr(); return true;} else if(a.indexOf("/dcdn/")!==-1&&a.indexOf("evad.js") !== -1){loadFunc(a.replace("dcdn/",""),err,success); vwoErr(); return true;}};window.VWO=window.VWO || [];window.VWO._= window.VWO._ || {};window.VWO._.gcpfb=gcpfb;;window._vwoCc = window._vwoCc || {}; if (typeof window._vwoCc.dAM === 'undefined') { window._vwoCc.dAM = 1; };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_apm_debug_cdn="https://dev.visualwebsiteoptimizer.com/cdn/";window.VWO._.useCdn=true;window.vwo_eT="br";window._VWO=window._VWO||{};window._VWO.fSeg={};window._VWO.dcdnUrl="/dcdn/settings.js";;window.VWO.sTs=1781537905;window._VWO._vis_nc_lib=window._vwo_cdn+"edrv/nc-79336cff5baab695129725ac27250cfc.br.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); var CoreWorker = window.VWO.WorkerRef || window.Worker; window.mainThread={webWorker:new CoreWorker(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-f158288ed39dddda64301a7f2f9cf6ae.br.js");;var _vis_opt_file;var _vis_opt_lib;var check_vn=function f(){try{var[r,n,t]=window.jQuery.fn.jquery.split(".").map(Number);return 2===r||1===r&&(4<n||4===n&&2<=t)}catch(r){return!1}};var uxj=vwoCode.use_existing_jquery&&typeof vwoCode.use_existing_jquery()!=="undefined";var lJy=uxj&&vwoCode.use_existing_jquery()&&check_vn();if(window.VWO._.allSettings.dataStore.previewExtraSettings!=undefined&&window.VWO._.allSettings.dataStore.previewExtraSettings.isSurveyPreviewMode){var surveyHash=window.VWO._.allSettings.dataStore.plugins.LIBINFO.SURVEY_DEBUG_EVENTS.HASH;var param1="evad.js?va=";var param2="&d=debugger_new";var param3="&sp=1&a=1128438&sh="+surveyHash;_vis_opt_file=uxj?lJy?param1+"vanj"+param2:param1+"va_gq"+param2:param1+"edrv/va_gq-d2b226f60e85c0c6c9b1933cc46bbb59.br.js"+param2;_vis_opt_file=_vis_opt_file+param3;_vis_opt_lib="https://dev.visualwebsiteoptimizer.com/dcdn/"+_vis_opt_file}else if(window.VWO._.allSettings.dataStore.mode!=undefined&&window.VWO._.allSettings.dataStore.mode=="PREVIEW"){ var path1 = 'edrv/pd_'; var path2 = window.VWO._.allSettings.dataStore.plugins.LIBINFO.EVAD.HASH + ".js"; ;if(typeof path1!=="undefined"&&path1){_vis_opt_file=uxj?lJy?path1+"vanj.js":path1+"va_gq"+path2:path1+"edrv/va_gq-d2b226f60e85c0c6c9b1933cc46bbb59.br.js"+path2;_vis_opt_lib="https://dev.visualwebsiteoptimizer.com/cdn/"+_vis_opt_file}_vis_opt_file=uxj?lJy?path1+"vanj.js":path1+"va_gq"+path2:path1+"edrv/va_gq-d2b226f60e85c0c6c9b1933cc46bbb59.br.js"+path2;_vis_opt_lib="https://dev.visualwebsiteoptimizer.com/cdn/"+_vis_opt_file}else{var vaGqFile="edrv/va_gq-d2b226f60e85c0c6c9b1933cc46bbb59.br.js";_vis_opt_file=uxj?lJy?"edrv/vanj-44dd0733741421ae93e5ea8e652f5279.br.js":vaGqFile:"edrv/va_gq-d2b226f60e85c0c6c9b1933cc46bbb59.br.js";if(_vis_opt_file.indexOf("vanj")>-1&&!check_vn()){_vis_opt_file=vaGqFile}}window._vwo_library_timer=setTimeout((function(){vwoCode.removeLoaderAndOverlay&&vwoCode.removeLoaderAndOverlay();_vwo_code.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;if(window.location.search.includes("trackingOff=true")){return}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=function(u,opts){return window._vwo_code.load(u,opts);};;;;}}catch(e){_vwo_code.finish();;_vwo_code.removeLoaderAndOverlay&&_vwo_code.removeLoaderAndOverlay();_vwo_err(e);window.VWO.caE=1}})();
