var truste=window.truste||{};truste.bn||(truste.bn={}),truste.eu||(truste.eu={}),truste.util||(truste.util={}),truste.util.error=function(e,t,n){n=n||{};var s,i,o=t&&t.toString()||"",a=n.caller||"";if(t&&t.stack&&(o+="\n"+t.stack.match(/(@|at)[^\n\r\t]*/)[0]+"\n"+t.stack.match(/(@|at)[^\n\r\t]*$/)[0]),truste.util.trace(e,o,n),truste.util.debug||!t&&!e)return;i={apigwlambdaUrl:"https://api-js-log.trustarc.com/error",enableJsLog:!1},i.enableJsLog&&(delete n.caller,delete n.mod,delete n.domain,delete n.authority,n.msg=e,s=new XMLHttpRequest,s.open("POST",i.apigwlambdaUrl,!0),s.setRequestHeader("Content-type","application/json"),s.send(truste.util.getJSON({info:truste.util.getJSON(n)||"",error:o,caller:a})))},truste.util.trace=function(){return!!(self.console&&console.log&&(this.debug||this.debug!==!1&&(self.location.hostname.indexOf(".")<0||self.location.hostname.indexOf(".truste-svc.net")>0)))&&(console.log.apply&&console.log.apply(console,arguments),!0)},truste.util.getJSON=function(e){if(self.JSON&&!(self.JSON.org||self.JSON.license||self.JSON.copyright))return self.JSON.stringify(e);if(e instanceof Array){if(t="[",e.length){t+=truste.util.getJSON(e[0]);for(n=1;n<e.length;n++)t+=","+truste.util.getJSON(e[n])}return t+"]"}if(typeof e=="string")return'"'+e+'"';if(e instanceof Object){var n,o,s=!1,t="{";for(o in e)t+=(s?",":"")+'"'+o+'":'+truste.util.getJSON(e[o]),s=!0;return t+"}"}return e===void 0?void 0:e+""},function(){var e=self.onerror;self.onerror=function(n,s,o,i,a){var c=[].slice.call(arguments),r=n+(s?"; "+s:"")+(o?" "+o:"")+(i?":"+i:"");(r+""+(a&&a.stack)).match(/truste|trustarc|notice/)&&truste.util.error("Got Window Error:",a&&a.stack?a:r,{product:"cm",tag:s}),e&&e.apply(self,c)}}(),truste.bn.addScriptElem=function(e,t,n){if(!e&&"string"!=typeof e)return null;var o,i,s=document.createElement("SCRIPT");return s.src=e,s.setAttribute("async","async"),s.setAttribute("crossorigin",""),s.setAttribute("importance","high"),o=document.querySelector("[nonce]"),o&&s.setAttribute("nonce",o.nonce||o.getAttribute("nonce")),i=function(e){var n;e&&e.type=="error"?n=2:(e&&e.type=="load"||s.readyState=="loaded")&&(n=1),n&&(s.onload=s.onreadystatechange=s.onerror=null,t instanceof Function&&t(s,n))},s.onload=s.onreadystatechange=s.onerror=i,(document.getElementById(n)||document.getElementsByTagName("body")[0]||document.getElementsByTagName("head")[0]).appendChild(s),s},truste.bn.msglog=function(e,t){truste.eu&&truste.eu.msg&&truste.eu.msg.log(e,truste.eu.bindMap,t)},truste.bn.checkPreference=function(){if(truste.eu.bindMap){var t,e=truste.eu.bindMap;return e.feat.crossDomain&&!e.feat.isConsentRetrieved||truste.util.isConsentCenter()&&!e.feat.isConsentCenterInitialized?(e.bnFlags.consentUnresolved=!0,!1):(t=shouldRepop(),t&&(e.feat.dropPopCookie=!0),e.feat.isDNTOptoutEvent||e.feat.isGPCOptoutEvent?e.feat.dntShowUI:(e.prefCookie&&(t||shouldResolveConsent())&&(e.feat.isRepopEvent=!0,e.feat.isReconsentEvent=t),!e.prefCookie||e.feat.isRepopEvent))}return!1},truste.bn.checkConsentUnresolved=function(e,t){if(truste.eu.bindMap){var s=truste.eu.bindMap,n=setInterval(function(){(n&&s.feat.isConsentRetrieved&&!truste.util.isConsentCenter()||n&&truste.util.isConsentCenter()&&s.feat.isConsentCenterInitialized!=void 0)&&(s.bnFlags.consentUnresolved=!1,n=clearInterval(n),truste.bn.checkPreference()?e():t())},100);setTimeout(function(){n=clearInterval(n)},5500)}};function shouldRepop(){if(truste.eu.bindMap.popTime){var t=(new Date).getTime(),n=truste.util.readCookie(truste.eu.COOKIE_REPOP,!0),e=truste.eu.bindMap.popTime;return e&&e!=n&&t>=e}return!1}function shouldResolveConsent(){var e,n,t=truste.eu.bindMap;return!!(t.feat.consentResolution&&t.behaviorManager=="eu"&&(e=truste.util.readCookie(truste.eu.COOKIE_GDPR_PREF_NAME,!0),e&&(e=e.split(":"),n=new RegExp(t.behavior+"."+t.behaviorManager),!n.test(e[2])&&/(us|none)/i.test(e[2]))))}(function e(){var i,a,c,l,u,h,m,b,j,C,A,t=truste.eu.bindMap={version:"v1.7-6735",domain:"9pddnp",width:parseInt("660"),height:parseInt("460"),baseName:"te-notice-clr1-626453dd-7925-479f-b4ab-8d5b9061711e",showOverlay:"{ShowLink}",hideOverlay:"{HideLink}",anchName:"te-notice-clr1-626453dd-7925-479f-b4ab-8d5b9061711e-anch",intDivName:"te-notice-clr1-626453dd-7925-479f-b4ab-8d5b9061711e-itl",iconSpanId:"te-notice-clr1-626453dd-7925-479f-b4ab-8d5b9061711e-icon",containerId:!1||/^_LB.*LB_$/.test("teconsent")?"teconsent":"teconsent",messageBaseUrl:"http://consent.trustarc.com/noticemsg?",originBaseUrl:"https://consent.trustarc.com/",daxSignature:"",privacyUrl:"",prefmgrUrl:"https://consent-pref.trustarc.com?type=venetianlasvegas_group3_gdpr&layout=gdpr",text:"true",icon:"Cookie Preferences",iframeTitle:"TrustArc Cookie Consent Manager",closeBtnAlt:"close button",teconsentChildAriaLabel:"Cookie Preferences, opens a dedicated popup modal window",locale:"en",language:"en",country:"ca",state:"qc",categoryCount:parseInt("5",10)||3,defaultCategory:"",noticeJsURL:(parseInt("0")?"https://consent.trustarc.com/":"https://consent.trustarc.com/")+"asset/notice.js/v/v1.7-6735",assetServerURL:(parseInt("0")?"https://consent.trustarc.com/":"https://consent.trustarc.com/")+"asset/",consensuUrl:"https://consent.trustarc.com/",cdnURL:"https://consent.trustarc.com/".replace(/^(http:)?\/\//,"https://"),iconBaseUrl:"https://consent.trustarc.com/",behavior:"implied",behaviorManager:"eu",consentModel:"none",provisionedFeatures:"",cookiePreferenceIcon:"cookiepref.png",cookieExpiry:parseInt("365",10)||395,closeButtonUrl:"https://consent.trustarc.com/get?name=ic-close.svg",apiDefaults:'{"reportlevel":16777215, "newReporting": true}',cmTimeout:parseInt("6000",10),popTime:new Date("".replace(" +0000","Z").replace(" ","T")).getTime()||null,popupMsg:"",bannerMsgURL:"https://consent.trustarc.com/bannermsg?",IRMIntegrationURL:"",irmWidth:parseInt(""),irmHeight:parseInt(""),irmContainerId:!0||/^_LB.*LB_$/.test("")?"teconsent":"",irmText:"",lspa:"",ccpaText:"",containerRole:"",iconRole:"",atpIds:"",dntOptedIn:"0,1,2,3,4",gpcOptedIn:"0,1,2,3,4",seedUrl:"",cmId:"",feat:{iabGdprApplies:!1,consentResolution:!1,dropBehaviorCookie:!1,crossDomain:!0,uidEnabled:!0,replaceDelimiter:!1,optoutClose:!1,enableIRM:!1,enableCM:!0,enableBanner:!1,enableCCPA:!1,enableCPRA:!1,enableIrmAutoOptOut:!1,ccpaApplies:!1,unprovisionedDropBehavior:!1,unprovisionedIab:!1,unprovisionedCCPA:!1,dnt:!0&&(navigator.doNotTrack=="1"||window.doNotTrack=="1"),dntShowUI:!1,gpc:!0&&(navigator.globalPrivacyControl||window.globalPrivacyControl),gpcOvr:"false"=="true",iabBannerApplies:!1,enableTwoStepVerification:!1,enableContainerRole:!0,enableContainerLabel:!0,enableIconRole:!0,enableIconLabel:!0,enableHasPopUp:"true"=="true",enableReturnFocus:!1,enableShopify:0,enableTcfOptout:!1,enableTcfVendorLegIntOptin:"false"=="true",enableTcfVendorPurposeOptinOverride:"false"=="true",enableTransparentAlt:!0,enableACString:!1,gcm:{ads:-1,analytics:-1,adPersonalization:-1,adUserData:-1,functionality:-1,personalization:-1,security:-1},gpp:{enabled:"false"=="true",mspaEnabled:"false"=="true",mspaMode:parseInt("0")||0,enableStateSpecificString:"false"=="true",gppApplies:"false"=="true",gppShowCategories:"false"=="true",gppOptInAll:"".replace(/\{GPPOptInAll\}/,"0,1,2")},autoblock:!0,gtm:1,enableStoredConsent:!1,enableIab2_2:"false"=="true",acsUrl:"https://d1leee6d0c4cew.cloudfront.net/amzn-consent.js",acs:{enabled:"false"=="true",adStorage:"",userData:""}},autoDisplayCloseButton:!1,hideCloseButtonEnabled:"false"=="true",localization:{modalTitle:"Your choices regarding the use of cookies on this site"},currentScript:self.document.currentScript};if(/layout=gdpr/.test(t.prefmgrUrl)&&(t.isGdprLayout=!0),/layout=iab/.test(t.prefmgrUrl)&&(t.isIabLayout=!0),/layout=gpp/.test(t.prefmgrUrl)&&(t.isGppLayout=!0),self.location.protocol!="http:")for(i in t)t[i]&&t[i].replace&&typeof t[i]=="string"&&(t[i]=t[i].replace(/^(http:)?\/\//,"https://"));truste.eu.USER_CONSENT_CENTER_SERVER="https://user-consent-center.trustarc.com",function(){var e=truste.eu.USER_CONSENT_CENTER_SERVER.match(/^{(UserConsentCenter)}$/);e&&e.length>1&&(truste.eu.USER_CONSENT_CENTER_SERVER="")}(),truste.eu.noticeLP=truste.eu.noticeLP||{},truste.eu.noticeLP.pcookie=void 0,truste.util.createCookie=function(e,t,n,s,o){if(truste.util.cookie&&!o&&(t=truste.util.cookie.convert(t)),i=truste.eu.bindMap||{},h="; expires=",n?n=="0"?h="":(r=new Date(n),h+=n):(r=new Date,r.setDate(r.getDate()+i.cookieExpiry),h+=r.toGMTString()),!i.feat.cookiePath&&s&&truste.util.createCookieStorage&&truste.util.createCookieStorage(e,t,r),y=i.domain,u=self.location.hostname,m=!!u.match(/^\d{0,3}\.\d{0,3}\.\d{0,3}\.\d{0,3}$/)||u=="localhost",d=m?u:u.replace(/^www\./,""),v=self.location.protocol=="https:"?" Secure;":"",l=" SameSite=Lax;"+v,typeof truste.eu.noticeLP.pcookie!="undefined"){if(document.cookie=e+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/;domain="+(m?"":".")+d.replace(/^\./,"")+";"+l,!i.topLevelDomain){for(var i,r,l,d,u,h,m,f,g,v,y,b=0,c=d,j=c.split("."),p=[],a="_gd"+(new Date).getTime();b<j.length-1&&document.cookie.indexOf(a+"="+a)==-1;)c=j.slice(-1-++b).join("."),document.cookie=a+"="+a+";domain="+c+";"+l,p.push(a);i.topLevelDomain=c;for(f=0;f<p.length;f++)document.cookie=p[f]+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain="+c+";";document.cookie=a+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain="+c+";"+l}d=i.topLevelDomain}g="/",i.feat.cookiePath&&(g+=location.pathname.split("/")[1]),self.document.cookie=e+"="+t+h+"; path="+g+";domain="+(m?"":".")+d.replace(/^\./,"")+";"+l},truste.util.getRandomUUID=function(){var e=window.crypto||window.msCrypto;return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,function(t){return(t^e.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16)})},truste.util.getScriptElement=function(e,t,n){if(typeof e=="string"&&(e=new RegExp(e)),typeof n=="string"&&(n=new RegExp(n)),!(e instanceof RegExp))return null;if(typeof n!="undefined"&&!(n instanceof RegExp))return null;for(var s,i,o=self.document.getElementsByTagName("script"),a=o.length;a-- >0&&(s=o[a]);)if(i=!n||n.test(s.src),(t||!s.id)&&e.test(s.src)&&i)return s;return null},truste.util.getUniqueID=function(){return"truste_"+Math.random()},truste.util.initParameterMap=function(e,t){if(t instanceof Object||(t={}),!e||typeof e.src!="string")t._query=t._url="";else{if(n=t._url=e.src,n=(t._query=n.replace(/^[^;?#]*[;?#]/,"")).replace(/[#;?&]+/g,"&"),n)for(n=n.split("&"),s=n.length;s-- >0;){var n,s,o=n[s].split("="),i=o.shift();t[i]||(o.length?t[i]=decodeURIComponent(o.join("=")):t[i]="")}e.id=t.sid=t.sid||truste.util.getUniqueID()}return t},truste.eu.COOKIE_GDPR_PREF_NAME="notice_gdpr_prefs",truste.eu.COOKIE_SESSION="TAsessionID",truste.eu.SCRIPT_REGX=truste.eu.SCRIPT_REGX||/\.(truste|trustarc)\b.*\bnotice(\.0)?(\.exp)?(\.js)?\b.*\bdomain=/,truste.eu.JS_REGX=truste.eu.JS_REGX||(truste.eu.bindMap&&truste.eu.bindMap.domain?"domain="+truste.eu.bindMap.domain:void 0),truste.eu.jsNode1=truste.eu.bindMap.currentScript||truste.util.getScriptElement(truste.eu.SCRIPT_REGX,!0,truste.eu.JS_REGX),truste.eu.noticeLP=truste.util.initParameterMap(truste.eu.jsNode1,truste.eu.noticeLP||{}),truste.eu.noticeLP.cookieName&&(truste.eu.COOKIE_GDPR_PREF_NAME=truste.eu.noticeLP.cookieName+"_gdpr",truste.eu.COOKIE_SESSION=truste.eu.noticeLP.cookieName+"_session"),truste.util.readCookieSimple=function(e){var t=new RegExp("\\s*"+e.replace(".","\\.")+"\\s*=\\s*([^;]*)").exec(self.document.cookie);return t&&t.length>1?t[1]:null},j={display:"none"},b={position:"absolute",top:"16px",right:"14px"},A=".truste-close-button {position: absolute;top: 40px;right: 35px;}",c=document.createElement("style"),c.setAttribute("type","text/css"),c.innerText=A,document.head.insertBefore(c,document.head.firstChild);const P=["ad","ar","cy","fo","gg","im","je","tr","uy","ao","bj","bw","bf","bi","cm","cv","cf","td","cg","cd","ci","gq","er","et","ga","gm","gh","gn","gw","ke","ls","lr","mg","mw","ml","mu","yt","mz","na","ne","ng","rw","sh","st","sn","sc","sl","za","ss","sz","tz","tg","ug","eh","zm","zw","dz","bh","km","dj","mr","ma","ps","so","sd","tn","af","as","aq","au","az","bd","bt","io","bn","kh","cx","cc","ck","fj","pf","tf","gu","hm","in","id","kz","ki","kg","la","my","mv","mh","fm","mn","mm","nr","np","nc","nu","nf","mp","pk","pw","pg","ph","pn","re","ws","sb","lk","sy","tw","tj","tl","tk","to","tm","tv","um","uz","vu","vn","wf","ax","al","am","by","ba","ge","gi","gl","va","mk","md","mc","me","sm","rs","sj","ua","eg","ir","iq","jo","kw","lb","ly","om","qa","sa","ae","ye","pm","us","ai","ag","aw","bs","bb","bz","bm","bo","bq","bv","ky","co","cr","cu","cw","dm","do","ec","sv","fk","gf","gd","gp","gt","gy","ht","hn","jm","mq","ms","ni","pa","py","pr","kn","lc","vc","bl","mf","sx","gs","sr","tt","tc","ve","vg","vi"],R=["cn","il","mo","nz","sg","th","ru","ca","cl","mx","pe"],T=["at","be","br","bg","hr","cz","dk","ee","fi","fr","de","gr","hu","is","ie","it","kr","lv","li","lt","lu","mt","nl","no","pl","pt","ro","sk","si","es","se","ch","gb","hk","jp","kp","ca-qc"],M=[1,2,3],x=[1],O=[1],w=[1,2,3],f=[1,2,3,4,5],p=[1,2,3,4,5],g=[1,2],v=[1,2,3,4,5],s="https://choices-sb.truste-svc.net",L="truste-consent-track",n=!0,y=!0;window.dataLayer=window.dataLayer||[],m=0,h=!1;const o=e=>{y&&window.dataLayer&&window.dataLayer.push(e)};function I(){y&&window.dataLayer&&window.dataLayer.push(arguments)}o(["js",new Date]),o(["config","GTM-W99CR8JS"]),o(["set","ads_data_redaction",!0]),o(["set","developer_id.dNTIxZG",!0]);const E=()=>truste.eu.bindMap.feat.gpc||truste.eu.bindMap.feat.dnt,k=e=>{switch(e){case 1:n&&console.log("Implied Group 1:",f),f.length>0&&truste.cma.callApi("setConsentLevels",s,f);break;case 2:n&&console.log("Implied Group 2:",p),p.length>0&&truste.cma.callApi("setConsentLevels",s,p);break;case 3:n&&console.log("Implied Group 3:",g),g.length>0&&truste.cma.callApi("setConsentLevels",s,g);break;case 4:n&&console.log("Implied Group 4:",v),v.length>0&&truste.cma.callApi("setConsentLevels",s,v);break}};truste.eu._taCloseBanner=function(){const e=F();k(e)};const H=e=>{truste.bn.addEvent(document,"click",()=>{var t=document.getElementById(L);t&&truste.bn.isVisible(t)&&!document.getElementById(truste.eu.popdiv2)&&!t.contains(event.target)&&event.target.id!==truste.eu.popclose&&k(e)})},S=(e,t,o)=>{if(n&&console.log(`User Group: ${e}, Has Consented: ${t}`),t){const e=truste.cma.callApi("getGDPRConsentDecision",s).consentDecision;r(e.includes(1),e.includes(2),e.includes(3),e.includes(4),e.includes(5),t);return}if(e===1){o?(n&&console.log("GPC Detected Group 1:",M),truste.cma.callApi("setConsentLevels",s,M)):n&&console.log("Notice only: essential (1), functional (2), analytics (3)"),r(!0,!0,!0,!1,!1,t);return}if(e===2){o?(n&&console.log("GPC Detected Group 2:",x),truste.cma.callApi("setConsentLevels",s,x)):n&&console.log("Notice only: essential (1)"),r(!0,!1,!1,!1,!1,t);return}if(e===3){o?(n&&console.log("GPC Detected Group 3:",O),truste.cma.callApi("setConsentLevels",s,O)):n&&console.log("Notice only: essential (1), functional (2)"),r(!0,!0,!1,!1,!1,t);return}if(e===4){o?(n&&console.log("GPC Detected Group 4:",w),truste.cma.callApi("setConsentLevels",s,w)):n&&console.log("Notice only: essential (1), functional (2), analytics (3)"),r(!0,!0,!0,!1,!1,t);return}},r=(e,t,s,i,a,r)=>{window.truste.util.createCookie("ta_essential",e,0),window.truste.util.createCookie("ta_functional",t,0),window.truste.util.createCookie("ta_analytics",s,0),window.truste.util.createCookie("ta_targeting",i,0),window.truste.util.createCookie("ta_social_media",a,0);var c=r?"update":"default";c=="update"&&m==0&&(c="default"),m++,I("consent",c,{ad_storage:a?"granted":"denied",ad_user_data:i?"granted":"denied",ad_personalization:i?"granted":"denied",analytics_storage:s?"granted":"denied",functionality_storage:t?"granted":"denied",personalization_storage:i?"granted":"denied",security_storage:e?"granted":"denied",wait_for_update:500}),o({event:"Cookie Preferences",data:{ta_essential:e,ta_functional:t,ta_analytics:s,ta_targeting:i,ta_social_media:a}}),n&&console.log(`essential: ${e}, functional: ${t}, analytics: ${s}, targeting: ${i}, social_media: ${a}`)},N=()=>{const e=truste.cma.callApi("getGDPRConsentDecision",s);if(!e)throw"Failed to fetch a consent decision";switch(e.source){case"implied":return n&&console.log("Consent does not exist."),!1;case"asserted":return n&&console.log("Consent exists. ",e.consentDecision),!0;default:throw"Failed to fetch a consent decision"}},d=()=>{var e=truste.eu.bindMap.country,t=truste.eu.bindMap.state,n=e;return(e=="us"||e=="ca"&&t=="qc")&&(n=e+(t?"-"+t:"")),n},z=()=>{truste.util.createCookie("notice_location",d(),"0")},D=()=>{console.log("On Truste Ready started");const e=F(),t=N(),n=E();!t&&!n&&H(e),S(e,t,n),z()},F=()=>(n&&console.log("BindMap: ",window.truste.eu.bindMap),P.indexOf(d())>-1?(n&&console.log("User group: 1"),1):R.indexOf(d())>-1?(n&&console.log("User group: 2"),2):T.indexOf(d())>-1?(n&&console.log("User group: 3"),3):4),_=()=>{if(h){console.log("stop waiting");return}if(console.log("Waiting for Truste"),window.truste&&truste.cma&&truste.cma.callApi&&window.truste.eu){D();return}setTimeout(_,100)};_(),setTimeout(function(){h=!0},6e4),window.addEventListener("message",e=>{let t=null;try{t=JSON.parse(e.data)}catch{}t&&t.source==="preference_manager"&&t.message==="submit_preferences"&&(n&&console.log("Event Data: ",t),setTimeout(()=>{S(-1,!0,E())},500))}),t.styles={},t.externalcss=typeof $temp_externalcss!="undefined"&&$temp_externalcss,t.styles.closebtnlink=typeof b!="undefined"&&b,t.styles.closebtn=typeof $temp_closebtn_style!="undefined"&&$temp_closebtn_style,t.styles.box_overlay=typeof $temp_box_overlay!="undefined"&&$temp_box_overlay,t.styles.box_overlay_border=typeof j!="undefined"&&j,t.styles.overlay=typeof $temp_overlay!="undefined"&&$temp_overlay,t.styles.inner_iframe=typeof $temp_inner_iframe!="undefined"&&$temp_inner_iframe,t.styles.outerdiv=typeof $temp_style_outerdiv!="undefined"&&$temp_style_outerdiv,t.outerdiv=typeof $temp_outerdiv!="undefined",t.feat.target=typeof $temp_target!="undefined"&&$temp_target,t.feat.ccpadefault=typeof $temp_ccpadefault!="undefined"&&$temp_ccpadefault,t.feat.noscrolltop=typeof $temp_noscrolltop!="undefined"&&$temp_noscrolltop,a=truste.util.readCookieSimple(truste.eu.COOKIE_SESSION),a==null&&(userType=truste.util.readCookieSimple(truste.eu.COOKIE_GDPR_PREF_NAME)?"EXISTING":"NEW",a=truste.util.getRandomUUID()+"|"+userType,l=new Date,l.setTime(l.getTime()+30*6e4),truste.util.createCookie(truste.eu.COOKIE_SESSION,a,l.toGMTString(),!1)),u=a.split(/[|,]/),truste.eu.session=u[0],truste.eu.userType=u[1],truste.eu.newReporting=truste.eu.bindMap.apiDefaults.indexOf("newReporting")!==-1,truste.util.sendAnalytics=function(t,n){var s="action="+t+"&domain="+truste.eu.bindMap.domain+"&implied="+(truste.eu.bindMap.behavior==="implied"?"1":"0")+"&session="+truste.eu.session.replaceAll("-","")+"&new="+(truste.eu.userType==="NEW"?"1":"0")+"&referer="+window.origin;n&&(s+="&categories="+n),fetch(truste.eu.bindMap.cdnURL+"analytics?"+s,{referrerPolicy:"origin-when-cross-origin"})},truste.eu.newReporting?truste.util.sendAnalytics(0):new Image(1,1).src="https://consent.trustarc.com/log".replace("http:","https:")+"?domain=9pddnp&country=ca&state=qc&behavior=implied&session="+truste.eu.session+"&userType="+truste.eu.userType+"&c="+((1+Math.random())*65536|0).toString(16).substring(1)+"&referer="+window.origin+"&language=en",function(e){var t,n,s,i,o=function(t){if(e.feat.iab)return;var o,s=self.document,n=s.createElement("script");n.setAttribute("async","async"),n.setAttribute("type","text/javascript"),n.setAttribute("crossorigin",""),n.setAttribute("importance","high"),o=document.querySelector("[nonce]"),o&&n.setAttribute("nonce",o.nonce||o.getAttribute("nonce")),n.src=t,(s.getElementById(e.containerId)||s.getElementsByTagName("body")[0]||s.getElementsByTagName("head")[0]).appendChild(n),e.feat.iab=!0},a=function(e,t,n,s){if(e()){t();return}var i=function(){e()&&(o=clearInterval(o),t())},o=setInterval(i,n);i(),setTimeout(function(){clearInterval(o)},s)};if(e.isIabLayout){for(n=!1,s=document.head.getElementsByTagName("script"),t=0;t<s.length;t++)i=s[t],i.id==="trustarc-tcfapi"&&(n=!0,e.feat.iab=!0);n||a(function(){return typeof __tcfapi!="undefined"},function(){o(e.feat.enableIab2_2?e.consensuUrl+"asset/tcfapi2.2.js":e.consensuUrl+"asset/tcfapi.js/v/2.1")},10,3e4)}}(truste.eu.bindMap),t.feat.dropBehaviorCookie&&(C=t.feat.replaceDelimiter?"|":",",truste.util.createCookie("notice_behavior",t.behavior+C+t.behaviorManager,"0")),function(e){var n,s,o=".ta-display-none { display: none; }",t=document.createElement("style");t.setAttribute("type","text/css"),n=document.querySelector("[nonce]"),n&&t.setAttribute("nonce",n.nonce||n.getAttribute("nonce")),t.innerText=o,document.head.insertBefore(t,document.head.firstChild),e.feat.crossDomain&&(s=function(){if(!window.frames.trustarc_notice)if(document.body){var n=document.body,t=document.createElement("iframe");t.classList.add("ta-display-none"),t.name="trustarc_notice",t.id="trustarcNoticeFrame",t.title="Trustarc Cross-Domain Consent Frame",t.src=e.cdnURL+"get?name=crossdomain.html&domain="+e.domain,n.appendChild(t)}else setTimeout(s,5)},s())}(truste.eu.bindMap),t.params={},t.bnFlags={},truste.bn.addScriptElem(t.noticeJsURL,function(){var o=function(){if(s&&truste.eu.flags&&truste.eu.flags.init){s=clearInterval(s),e.script=truste.eu.bindMap.currentScript||truste.util.getScriptElement(/\/\/([^.]+\.)+(intranet\.)?(truste|trustarc)(-labs|-svc)?\.(com|net|eu)(:\n+)?\/[^?#;]*(notice|banner).*?(js=bb|nj)/,!0),truste.util.initParameterMap(e.script,t.params);var n=function(){var e=document.getElementById(t.params.c||"teconsent");e&&e.style.display==="none"&&(e.style.display="")};if(t.params.b){const e=t.params.b.split(",");for(const o of e){const[n,s]=o.split("-");if(s){if(n===t.country&&s===t.state){t.feat.linkbanner=!0;break}}else if(n===t.country){t.feat.linkbanner=!0;break}}}t.feat.ccpaApplies||B()||t.feat.linkbanner?truste.bn.bannerMain():t.bnFlags.consentUnresolved?truste.bn.checkConsentUnresolved(truste.bn.bannerMain,n):n()}},s=setInterval(o,7);setTimeout(function(){clearInterval(s)},1e4)},t.containerId);function B(){let e=truste.eu.bindMap,t=!e.feat.topwindow||window==top;var n=/ip(hone|od|ad)|iOS/i.test(navigator.userAgent||navigator.vendor||window.opera);return(e.ios!=1||!n)&&t&&truste.bn.checkPreference()}})(),truste.bn.isConsentTrack=!0,truste.bn.round=function(e,t){return Number(Math.round(e+"e"+t)+"e-"+t)},truste.bn.getDefaultStyleProperty=function(e,t){var s,n=document.createElement(t);return document.body.appendChild(n),s=window.getComputedStyle(n,null)[e],n.parentNode.removeChild(n),s},truste.bn.getDisplayProperty=function(e){var t=window.getComputedStyle(e,null).display;return t=="none"?truste.bn.getDefaultStyleProperty("display",e.nodeName):t},truste.bn.applyDisplayClass=function(e,t,n="ta"){const o=`${n}-display-${t}`,i=`${n}-display-style`,a=!!e.id,s=a?`.${o}#${e.id}`:null;try{let r=document.getElementById(i);if(!r){r=document.createElement("style"),r.id=i;const e=document.querySelector("[nonce]");e&&r.setAttribute("nonce",e.nonce||e.getAttribute("nonce")),r.textContent="/* */",document.head.appendChild(r)}const c=r.sheet;if(a&&s){const e=Array.from(c.cssRules).some(e=>e.selectorText===s);e||c.insertRule(`${s} { display: ${t}; }`,c.cssRules.length)}const l=`${n}-display-`;e.classList.forEach(t=>{t.startsWith(l)&&e.classList.remove(t)}),e.classList.add(o)}catch(n){console.warn(`Failed to insert rule for ${s}`,n),e&&(e.style.display=t)}},truste.bn.show=function(e){if(e){e.style.display==="none"&&e.style.removeProperty("display"),e.classList.remove("ta-display-hide"),e.classList.remove("ta-hide"),e.classList.add("ta-show");const t=truste.bn.getDisplayProperty(e);truste.bn.applyDisplayClass(e,t)}},truste.bn.hide=function(e){e&&(e.classList.remove("ta-show"),e.classList.add("ta-hide"),setTimeout(()=>{e.classList.add("ta-display-hide")},300))},truste.bn.isVisible=function(e){var t=window.getComputedStyle(e);return t.display!=="none"&&t.opacity>0&&t.visibility!=="hidden"},truste.bn.removeEvent=function(e,t,n){e&&typeof t=="string"&&n instanceof Function&&(e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent&&e.detachEvent("on"+t,n))},truste.bn.addEvent=function(e,t,n){e&&typeof t=="string"&&n instanceof Function&&e.addEventListener&&e.addEventListener(t,n,!1)},truste.bn.bannerMain=function(){var t,n,s,o,i,e=truste.eu.bindMap;e.bannerMsgURL=e.iconBaseUrl+"bannermsg?",n=e.params,s=n.c||"teconsent",t=n.bb||"consent_blackbar",document.getElementById(t)?a(n,s,t):typeof MutationObserver!="undefined"?(o=new MutationObserver(function(){document.getElementById(t)&&(o.disconnect(),a(n,s,t))}),o.observe(document.body||document.getElementsByTagName("body")[0]||document.documentElement,{attributes:!1,childList:!0,characterData:!1,subtree:!0}),setTimeout(function(){o.disconnect()},6e4)):(i=setInterval(function(){document.getElementById(t)&&(i=clearInterval(i),a(n,s,t))},150),setTimeout(function(){clearInterval(i)},1e4));function a(t,n,s){var o,a,c,h,f,p,_,w,u=5,u=u>0?u:3,g=truste.eu.bindMap,l=function(t){for(var s=[],n=0;n<t;n++)s.push(n);return s.join(",")}(u);g.feat.gpp.gppApplies&&!g.feat.gpp.gppShowCategories&&(l=g.feat.gpp.gppOptInAll),a="truste-consent-track",f=/\bandroid (\d+(?:\.\d+)+);/gi.exec(navigator.userAgent),_=f&&f[1]<="4.4",w=document.getElementById(n),c=document.getElementById(s),c.setAttribute("lang",e.locale.replace("_","-")),o={consentButton:"truste-consent-button",footerCallback:"truste-show-consent",cookieButton:"truste-cookie-button",privacyButton:"truste-privacy-button",bannerHolder:a,closeBanner:"truste-consent-close",repopDiv:"truste-repop-msg",repopClose:"truste-repop-msg-close",requiredButton:"truste-consent-required",ccpaOptoutButton:"truste-ccpa-optout",ccpaOptedIn:"ccpa-opted-in",ccpaOptedOut:"ccpa-opted-out",ccpaNoPreference:"ccpa-no-preference",iabPartnersLink:"iab-partners-link",secondIabPartnersLink:"iab-second-partners-link"},p=truste.eu.bindMap.feat.target||"_blank",h=document.readyState,h&&(h=="complete"||h=="interactive")?i("loaded"):truste.bn.addEvent(document,"DOMContentLoaded",function(){i("loaded")});function i(t){if(i[t])return;switch(i[t]=1,t){case"loaded":c&&(j(),z(),O(),truste.bn.checkPreference()?E():e.bnFlags.consentUnresolved?truste.bn.checkConsentUnresolved(E,k):k());break;case"done":truste.bn.isConsentTrack=!1,truste.bn.removeEvent(document,"click",S),truste.bn.removeEvent(document,"scroll",M),truste.bn.show(w),truste.bn.hide(document.getElementById(a)),m("hidden");break;case"open":try{if(_){var n=document.createEvent("UIEvents");n.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(n)}else window.dispatchEvent(new Event("resize"))}catch(e){console&&console.log("Resize event not supported.")}}}function z(){if(document.getElementById(a))return;var n,e='<style>@font-face {    font-family: "Avenir";    src: url(https://consent.trustarc.com/get?name=Avenir-Regular.ttf) format("opentype");}#consent_blackbar { z-index: 2147483641!important;}#truste-repop-msg element #truste-repop-msg {    display: none;}#truste-consent-track {<!--     padding: 40px 30px 20px 30px; -->    background-color: #FFF;    max-width: 700px;    direction: ltr;    border-radius: 0;    box-shadow: 0 0 18px rgba(0, 0, 0, .2) !important;  margin: 15px;     display: flex;}div#truste-consent-track::before {  content: "";  width: 100%;  height: 100%;  opacity: .3;  display: block;  position: fixed;  top: 0;  right: 0;  background: rgba(0, 0, 0, .5);}.truste-consent-track-class {  max-width: 700px;  background: #fff;  position: relative;  z-index: 1000000;}#trustarc-banner-overlay {    background-color: rgb(0, 0, 0);    opacity: 0.5;    position: fixed;    z-index: 1000000;    width: 100%;    height: 100%;    top: 0px;    left: 0px;    overflow: hidden;}#truste-consent-content {  width: 100%;}.truste-close-btn {  cursor: pointer;  position: absolute;  top: 15px;  right: 25px;}.truste-close-btn img {  width: 12px;}#truste-consent-text {    color: #000000;    font-size: 13px;    font-weight: 300;    line-height: 1.5;    margin: 0px;    padding-right: 20px;}#truste-cookie-button {  color: #DB2000;  font-weight: bold;}#truste-cookie-button:hover {  text-decoration: none;}/* #truste-show-consent {    background-color: #666;    color: #fff;    border: 1px solid #fff;    padding: 5px 10px;    border-radius: 100px;    cursor: pointer;    min-width: 148px;    height: 28px;    font-size: 14px;  font-family: Avenir, sans-serif;} */#truste-privacy-button, .truste-cookie-link {    color: #fff;    text-decoration: underline;}#truste-privacy-button:hover, .truste-cookie-link:hover {    color: #fff;    text-decoration: underline;}.do-not-sell-link-banner {    color: rgba(225, 26, 119, 1);    text-decoration: underline;}.do-not-sell-link-banner:hover {    color: rgba(225, 26, 119, 1);    text-decoration: underline;}.truste-messageColumn {    font-family: "Avenir", sans-serif;    font-size: 14px;    color: #fff;    margin: 15px 0px 15px 0px;    float: left;}.truste-buttonsColumn {    float: right;    margin: 20px 0px 0px 0px;    font-size: 15px;    font-family: "Avenir", sans-serif;}#truste-consent-buttons {  width: 100%;  display: flex;  flex-direction: row;  justify-content: space-between;  gap: 1em;}#truste-consent-buttons button {  border: 1px solid #DB2000 !important;  background: #DB2000;  color: #fff;  font-family: "Avenir", sans-serif;  border-radius: 0;  min-width: 130px;  height: auto;  padding: 12px 10px;  font-weight: 600;}#truste-show-consent {  min-width: 175px !important;  height: auto;}#truste-button-right {  display: flex;  flex-direction: row;  gap: 1em;}#truste-show-consent {  float: left;}#truste-consent-buttons button:hover {  opacity: 0.7;}/*IRM MODAL CSS*/.truste_irm_box_overlay {    height: auto !important;    margin: 70px auto 70px var(--truste-box-overlay-margin-left) !important;}.truste_irm_outerdiv{ position: fixed;}  .truste-consent-track-class {    padding: 40px 30px 20px 30px;}@media only screen and (max-width:920px) {    .truste_irm_box_overlay {        width: 80% !important;    }}/* MOBILE ONLY */@media only screen and (max-width: 767px) {    #truste-consent-buttons {        flex-direction: column;    }  #truste-button-right {    flex-direction: column;  }}@media screen and (min-width: 1px) and (max-width: 500px) {    .truste-messageColumn {        float: none;    }    .truste-buttonsColumn {        float: none;    }}</style><div id="truste-consent-track" style="display:;position:fixed;bottom:0;left:0;right:0;z-index:999999;">    <div class="truste-consent-track-class">      <div id="truste-consent-content">      <div class="truste-close-btn" onclick="truste.eu._taCloseBanner()"><img src="https://consent.trustarc.com/get?name=tvr_close.svg" ></div>        <div id="truste-consent-text" class="truste-messageColumn">We use cookies and similar technologies on this website, including third-party cookies, to enhance functionality and your experience with the website, perform analytics, and serve you with relevant advertising. Click &quot;Cookie Preferences&quot; to adjust your cookie settings. To find out more about cookies and how to adjust your cookie settings at any time, read our&nbsp;<a id="truste-cookie-button" href="https://www.venetianlasvegas.com/legal/cookie-notice.html" target="_blank" id="truste-cookie-button" style="cursor:pointer;" class="truste-cookie-link">Cookie Notice</a>.&nbsp;</div>        <div id="truste-consent-buttons" class="truste-buttonsColumn"><button id="truste-show-consent">Cookie Preferences</button>         <div id="truste-button-right">           <button id="truste-consent-required">Reject All</button>           <button id="truste-consent-button">Allow All</button>        </div>    </div>         </div>    </div></div>',e=e.replace("&lt;i&gt;","<i>").replace("&lt;/i&gt;","</i>").replace("&lt;b&gt;","<b>").replace("&lt;/b&gt;","</b>");if((!e||e.length<15)&&(e='<div id="truste-consent-track" style="display:none; background-color:#000;"><div id="truste-consent-content" style="overflow: hidden; margin: 0 auto; max-width: 1000px"><div id="truste-consent-text" style="float:left; margin:15px 0 10px 10px; width:500px;"><h2 style="color: #fff; font-size: 16px; font-weight:bold; font-family:arial;">Some functionality on this site requires your consent for cookies to work properly.</h2><div id="truste-repop-msg" style="padding: 0px 0px 5px 0px;font-size: 12px;color: #F0C36D; display:none; font-family: arial,sans-serif;"></div></div><div id="truste-consent-buttons" style="float:right; margin:20px 10px 20px 0;"><button id="truste-consent-button" type=button style="padding:5px; margin-right:5px; font-size:12px;">I consent to cookies</button><button id="truste-show-consent" type=button style="padding:5px; margin-right:5px; font-size:12px;">I want more information</button></div></div></div>'),e=`
            <style>
                .ta-hide {
                    visibility: hidden !important;
                    opacity: 0 !important;
                    transition: opacity 300ms ease-in, visibility 0s ease-in 300ms;
                }
                .ta-display-hide {
                    display: none !important;
                }
                .ta-show {
                    visibility: visible !important;
                    opacity: 1 !important;
                }
            </style>
            `+e,t.responsive==="false"&&(e=e.replace(/(class=["'].*?)[\s]?truste-responsive(.*?["'])/g,"$1$2")),n=document.querySelector("[nonce]"),n){const t=n.nonce||n.getAttribute("nonce");e=e.replace(/<style(?![^>]*nonce=)/gi,`<style nonce="${t}"`)}c.insertAdjacentHTML?c.insertAdjacentHTML("afterbegin",e):c.innerHTML=e}function C(e){var t=truste.util&&truste.util.getJSON||truste.cma&&truste.cma.cheapJSON||window.JSON.stringify,n={source:"preference_manager",message:e,data:{useNonStandardStacks:!1,consentScreen:1}};window.postMessage&&window.postMessage(t(n),"*")}function b(e,t){var n=truste.util&&truste.util.getJSON||truste.cma&&truste.cma.cheapJSON||window.JSON.stringify,s={source:"preference_manager",message:e,data:t};window.postMessage&&window.postMessage(n(s),"*")}function m(e){truste.eu.gpp&&truste.eu.gpp.updateCmpDisplayStatus(e)}function y(){self.localStorage&&self.localStorage.removeItem(truste.eu.COOKIE_CATEGORY_NAME),truste.eu.ccpa.dropCcpaCookie(!1),r(l),truste.util.dropOptoutDomains?.(l)}function v(){var e=truste.eu.bindMap;truste.eu.ccpa.dropCcpaCookie(!0),e&&e.prefmgrUrl&&(t.gtm||truste.eu.noticeLP.gtm==1)?(truste.bn.hide(document.getElementById(a)),m("hidden"),r("0"),truste.util.dropOptoutDomains?.()):truste.eu&&truste.eu.clickListener&&truste.eu.clickListener(3)}function r(e){if(t=truste.util.getLowestConsent(e),!isNaN(t=parseInt(t))&&truste.eu&&truste.eu.actmessage){truste.eu.resetGpcDnt();var t,n,s=truste.util&&truste.util.getJSON||truste.cma&&truste.cma.cheapJSON||window.JSON.stringify,o={source:"preference_manager",message:"submit_preferences",data:{value:e}};window.PREF_MGR_API_DEBUG&&PREF_MGR_API_DEBUG.authorities.push(window.location.hostname),window.postMessage&&window.postMessage(s(o),"*"),n=truste.eu.bindMap,n&&n.prefmgrUrl&&!n.feat.ccpaApplies&&truste.util.callCMEndpoint("/defaultconsentmanager/optin?",t,function(){},!0),i("selection")}else i("done")}function O(){var n,a,c,d,u,s=truste.eu.bindMap;if(s.feat.isReconsentEvent&&s.popupMsg.length>0&&(a=document.getElementById(o.repopDiv),a))if(a.innerHTML=s.popupMsg,c=document.getElementsByClassName("tc-repop-msg"),c.length>0){c[0].classList.replace("tc-hide","tc-show-flex");let e=document.getElementById(o.repopClose);e&&(e.onclick=function(){c[0].classList.replace("tc-show-flex","tc-hide")})}else truste.bn.show(a);n=document.getElementById(o.consentButton),n&&(d=new RegExp(("^"+l+"$").replace(/,/g,".")),!t.gtm&&!s.feat.enableCCPA&&s.feat.isRepopEvent&&!d.test(s.prefCookie)?truste.bn.hide(n):n.onclick=function(){truste.bn.msglog("accepts",e.bannerMsgURL),e.feat.iabBannerApplies?C("process_iab_accept_all"):e.feat.gpp.gppApplies&&b("process_gpp_accept_all"),(s.feat.enableCCPA||s.feat.isReconsentEvent)&&s.feat.enableTwoStepVerification&&truste.util.validConsent(s.prefCookie)&&!d.test(s.prefCookie)?truste.eu&&truste.eu.clickListener&&truste.eu.clickListener(6):y()}),n=document.getElementById(o.footerCallback),n&&(n.setAttribute("aria-haspopup","dialog"),n.onclick=function(){truste.bn.msglog("moreinfo",e.bannerMsgURL),truste.eu&&truste.eu.clickListener&&(e.feat.iabBannerApplies?truste.eu.clickListener(4):truste.eu.clickListener(parseInt(t.pn)||0),s.returnFocusTo=o.footerCallback.replace("#",""))}),n=document.getElementById(o.requiredButton),n&&(n.onclick=function(){if(truste.bn.msglog("requiredonly",e.bannerMsgURL),truste.eu.cpra&&truste.eu.cpra.shouldShowFinProg()){truste.eu.clickListener(7,!0,{cpraConsent:"0",cpraSource:"banner-decline"});return}e.feat.iabBannerApplies?C("process_iab_reject_all"):e.feat.gpp.gppApplies&&b("process_gpp_reject_all"),v()}),n=document.getElementById(o.ccpaOptoutButton),n&&(n.onclick=function(){if(truste.bn.msglog("requiredonly",e.bannerMsgURL),truste.eu.cpra&&truste.eu.cpra.shouldShowFinProg()){truste.eu.clickListener(7,!0,{cpraConsent:"0",cpraSource:"banner-decline-ccpa"});return}truste.bn.declineCPRA()}),F(),T(),n=document.getElementById(o.closeBanner),n&&(n.onclick=function(){var e=truste.eu.bindMap,t=truste.util.validConsent(e.prefCookie),n=e.feat.optoutClose&&!t;if(n){if(truste.eu.cpra&&truste.eu.cpra.shouldShowFinProg()){truste.eu.clickListener(7,!0,{cpraConsent:"0",cpraSource:"banner-decline"});return}v()}else i("done")}),n=document.getElementById(o.iabPartnersLink),n&&(n.onclick=function(){truste.eu.clickListener(5),s.returnFocusTo=o.iabPartnersLink.replace("#","")},n.onkeyup=function(e){e.keyCode==13&&(truste.eu.clickListener(5),s.returnFocusTo=o.iabPartnersLink.replace("#",""))}),n=document.getElementById(o.secondIabPartnersLink),n&&(n.onclick=function(){truste.eu.clickListener(5),s.returnFocusTo=o.secondIabPartnersLink.replace("#","")},n.onkeyup=function(e){e.keyCode==13&&(truste.eu.clickListener(5),s.returnFocusTo=o.secondIabPartnersLink.replace("#",""))}),x(),u=document.querySelectorAll('a[href*="https://tracker-detail-page"]'),u.forEach(function(n){n.href.includes("locale=")||(n.href=n.href+"&locale="+e.locale)}),parseInt(t.fade)&&setTimeout(function(){r(t.sl)},parseInt(t.fade)),i("open")}function x(){var e,t,n,s,a,i=truste.eu.bindMap;i.feat.ccpaApplies&&(s=truste.eu.ccpa.getOptout(),e=document.getElementById(o.ccpaOptedOut),t=document.getElementById(o.ccpaOptedIn),n=document.getElementById(o.ccpaNoPreference),s&&i.prefCookie?(a=/^[yY]$/,a.test(s)?(e&&truste.bn.show(e),t&&truste.bn.hide(t),n&&truste.bn.hide(n)):(e&&truste.bn.hide(e),t&&truste.bn.show(t),n&&truste.bn.hide(n))):(e&&truste.bn.hide(e),t&&truste.bn.hide(t),n&&truste.bn.show(n)))}function j(){t.oc&&truste.bn.addEvent(document,"click",S),t.px&&truste.bn.addEvent(document,"scroll",M)}function E(){truste.bn.isConsentTrack=!0,truste.bn.show(document.getElementById(a)),m("visible"),truste.bn.msglog("views",e.bannerMsgURL)}function k(){i("done")}function A(e){return e&&truste.bn.isVisible(e)&&!document.getElementById(truste.eu.popdiv2)}function S(e){var t=document.getElementById(a);A(t)&&!t.contains(e.target)&&e.target.id!==truste.eu.popclose&&r(l)}function M(){var n=document.getElementById(a);A(n)&&(document.scrollingElement.scrollTop||document.documentElement.scrollTop)>=t.px&&r(l)}function F(){const i=document.getElementById(a),n=t.cookieLink,r=document.getElementById(o.cookieButton),c=i?.querySelectorAll("[data-cookie-policy-link]"),s=t=>{truste.bn.msglog("cookiepolicy",e.bannerMsgURL),n&&(t.preventDefault(),window.open(n,p))};d(r,n,s),c?.forEach(e=>d(e,n,s))}function T(){const s=document.getElementById(a),e=t.privacypolicylink,i=document.getElementById(o.privacyButton),r=s?.querySelectorAll("[data-privacy-policy-link]"),n=t=>{e&&(t.preventDefault(),window.open(e,p))};d(i,e,n),r?.forEach(t=>d(t,e,n))}function d(e,t,n){if(!e)return;t&&(e.href=t),e.onclick=function(e){n(e)}}truste.bn.reopenBanner=function(){c&&(truste.bn.isConsentTrack=!0,i.done=0,j(),O(),truste.bn.show(document.getElementById(a)),m("visible"))},truste.bn.twoStepConfirmed=function(){truste.eu.ccpa.dropCcpaCookie(!1),r(l),truste.bn.msglog("twostepoptin",e.bannerMsgURL)},truste.bn.twoStepDeclined=function(){i("done")},truste.bn.acceptAll=function(){y()},truste.bn.declineAll=function(){v()},truste.bn.declineCPRA=function(){truste.eu.ccpa.dropCcpaCookie(!0),r("0")},truste.bn.handleBannerDone=function(){var e=truste.eu.bindMap;!truste.eu.isGPCDNTEvent()||!e.feat.dntShowUI?i("done"):x()}}}