var LanguageSelector,truste=window.truste||{};truste.bn||(truste.bn={}),truste.eu||(truste.eu={}),truste.util||(truste.util={}),Object.hasOwn||(Object.hasOwn=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}),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(typeof e=="object"&&e!==null){var n,s,o=!1,t="{";for(s in e)Object.hasOwn(e,s)&&(t+=(o?",":"")+'"'+s+'":'+truste.util.getJSON(e[s]),o=!0);return t+"}"}return e===0[0]?0[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!=0[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 n,s,o,i,a,t=truste.eu.bindMap={version:"v1.7-8297",domain:"sonicwall.com",width:parseInt("660"),height:parseInt("460"),baseName:"te-notice-clr1-9ccda40e-c32b-402d-a325-3147805c4460",showOverlay:"{ShowLink}",hideOverlay:"{HideLink}",anchName:"te-notice-clr1-9ccda40e-c32b-402d-a325-3147805c4460-anch",intDivName:"te-notice-clr1-9ccda40e-c32b-402d-a325-3147805c4460-itl",iconSpanId:"te-notice-clr1-9ccda40e-c32b-402d-a325-3147805c4460-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.trustarc.com?type=sonicwall&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:"us",state:"",categoryCount:parseInt("3",10)||3,defaultCategory:"Required Cookies",noticeJsURL:(parseInt("0")?"https://consent.trustarc.com/":"https://consent.trustarc.com/")+"asset/notice.js/v/v1.7-8297",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:"us",consentModel:"opt-out",provisionedFeatures:"",cookiePreferenceIcon:"cookiepref.png",cookieExpiry:parseInt("395",10)||395,closeButtonUrl:"//consent.trustarc.com/get?name=noticeclosebtn.png",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:"",gpcOptedIn:"",gpcMessageTooltip:"{GPCMessageTooltip}",seedUrl:"",cmId:"",feat:{iabGdprApplies:!1,consentResolution:!1,dropBehaviorCookie:!0,crossDomain:!1,uidEnabled:!1,replaceDelimiter:!1,optoutClose:!1,enableIRM:!1,enableCM:!0,enableBanner:!0,enableCCPA:!1,enableCPRA:!1,enableIrmAutoOptOut:!1,ccpaApplies:!1,unprovisionedDropBehavior:!1,unprovisionedIab:!1,unprovisionedCCPA:!1,dnt:!1&&(navigator.doNotTrack=="1"||window.doNotTrack=="1"),dntShowUI:!1,gpc:!1&&(navigator.globalPrivacyControl||window.globalPrivacyControl),gpcOvr:!1,gpcMessageEnabled:JSON.parse("{GPCMessageEnabled}".replace(/\{GPCMessageEnabled\}/,!1)),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:!1,gtm:1,enableStoredConsent:!1,enableIab2_2:"false"=="true",acsUrl:"https://d1leee6d0c4cew.cloudfront.net/amzn-consent.js",acs:{enabled:"false"=="true",adStorage:"",userData:""},pushEventsToDataLayer:"false"=="true"},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(n in t)Object.hasOwn(t,n)&&t[n]&&t[n].replace&&typeof t[n]=="string"&&(t[n]=t[n].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=0[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||{},c="; expires=",n?n=="0"?c="":(a=new Date(n),c+=n):(a=new Date,a.setDate(a.getDate()+i.cookieExpiry),c+=a.toGMTString()),!i.feat.cookiePath&&s&&truste.util.createCookieStorage&&truste.util.createCookieStorage(e,t,a),b=i.domain,l=self.location.hostname,h=!!l.match(/^\d{0,3}\.\d{0,3}\.\d{0,3}\.\d{0,3}$/)||l=="localhost",d=h?l:l.replace(/^www\./,""),v=self.location.protocol=="https:"?" Secure;":"",m=" SameSite=Lax;"+v,typeof truste.eu.noticeLP.pcookie!="undefined"){if(document.cookie=e+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/;domain="+(h?"":".")+d.replace(/^\./,"")+";"+m,!i.topLevelDomain){for(var i,a,c,l,d,h,m,f,v,b,p=0,r=d,g=r.split("."),u="_gd"+(new Date).getTime();p<g.length-1&&document.cookie.indexOf(u+"="+u)==-1;)r=g.slice(-1-++p).join("."),document.cookie=u+"="+u+";domain="+r+";"+m+";max-age=1";document.cookie=u+"=;domain="+r+";expires=Thu, 01 Jan 1970 00:00:01 GMT",i.topLevelDomain=r}d=i.topLevelDomain}f="/",i.feat.cookiePath&&(f+=location.pathname.split("/")[1]),self.document.cookie=e+"="+t+c+"; path="+f+";domain="+(h?"":".")+d.replace(/^\./,"")+";"+m},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(typeof t=="object"&&t!==null||(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:0[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},$temp_box_overlay={margin:"20px auto !important"},t.styles=Object.create(null),t.externalcss=typeof $temp_externalcss!="undefined"&&$temp_externalcss,t.styles.closebtnlink=typeof $temp_closebtnlink_style!="undefined"&&$temp_closebtnlink_style,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 $temp_box_overlay_border!="undefined"&&$temp_box_overlay_border,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,s=truste.util.readCookieSimple(truste.eu.COOKIE_SESSION),s==null&&(userType=truste.util.readCookieSimple(truste.eu.COOKIE_GDPR_PREF_NAME)?"EXISTING":"NEW",s=truste.util.getRandomUUID()+"|"+userType,o=new Date,o.setTime(o.getTime()+30*6e4),truste.util.createCookie(truste.eu.COOKIE_SESSION,s,o.toGMTString(),!1)),i=s.split(/[|,]/),truste.eu.session=i[0],truste.eu.userType=i[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=sonicwall.com&country=us&state=&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&&(a=t.feat.replaceDelimiter?"|":",",truste.util.createCookie("notice_behavior",t.behavior+a+t.behaviorManager,"0")),truste.util.deferCallUntil=truste.util.deferCallUntil||function(e,t,n,s){var o,i=function(){o&&t()&&(clearInterval(o),e())};i(),o=setInterval(function(){i()},n||50),setTimeout(function(){clearInterval(o)},s||1e4)},function(e){var n,s,o=".ta-display-none { display: none; }",t=document.createElement("style");if(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)if(truste.eu.user&&truste.eu.user.authMac&&truste.eu.user.id&&truste.eu.user.authSecretId){const t=truste.eu.user.authMac,n=truste.eu.user.id,s=truste.eu.user.authSecretId,o=e.domain;truste.cd=truste.cd||{},truste.cd.getConsent=async function(){try{const a=new URLSearchParams({cm:o,u:n,sid:s,mac:t}),i=await fetch(`${e.iconBaseUrl}consents?${a}`);return i.ok?i.json():null}catch(t){return e.feat.isConsentRetrieved=!0,null}},truste.cd.addCrossDomainParams=function(e){return e&&!e.includes("/consent/log")?"":`&u=${n}&sid=${s}&mac=${encodeURIComponent(t)}`},truste.eu.COOKIE_CONSENT_SYNC="consent_sync",truste.cd.syncConsent=async function(){if(truste.util.readCookieSimple(truste.eu.COOKIE_CONSENT_SYNC)){e.feat.isConsentRetrieved=!0;return}if(await new Promise(t=>{truste.util.deferCallUntil(()=>{truste.cma||(e.feat.isConsentRetrieved=!0),t()},()=>truste.cma,50,1e4)}),!truste.cma)return;let n=await truste.cd.getConsent();if(!n||!n.categories){e.feat.isConsentRetrieved=!0;return}let t=e.feat.replaceDelimiter?n.categories.replace(/,/g,"|"):n.categories,s=new Date(n.expiry).toGMTString();const o=function(){let e=new Date;e.setTime(e.getTime()+24*60*60*1e3),truste.util.createCookie(truste.eu.COOKIE_CONSENT_SYNC,"true",e.toUTCString(),!1)};let i=truste.util.readCookieSimple(truste.eu.COOKIE_GDPR_PREF_NAME),a=i?i.split(":")[0]:null;if(a===t){e.feat.isConsentRetrieved=!0,o();return}truste.util.createCookie(truste.eu.COOKIE_GDPR_PREF_NAME,t,s,!0),truste.util.createCookie(truste.eu.COOKIE_PREF_NAME,truste.util.getLowestConsent(t),s,!0),truste.cma.callApi("syncConsentDecision","trustarc.com",{action:"updateDecision",value:t,expiry:s,timestamp:Date.now()},null),e.prefCookie=t,e.feat.isConsentRetrieved=!0,truste.util.dropOptoutDomains(t),o()},(async()=>{await truste.cd.syncConsent()})()}else 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=Object.create(null),t.bnFlags=Object.create(null),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||r()||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 r(){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()}})(),LanguageSelector=function(){var s,o,i,e={languageDropdown:"trustarc-lang-select",languageContainer:"trustarc-lang-container",languageSelectorLabel:"trustarc-lang-selector-label"},t=function(e,t){var o,s=truste.eu.bindMap;s.locale=t,truste.util.createCookie(truste.eu.COOKIE_NOTICE_LANGUAGE,t,365),o=s.cdnURL+"bannerconfig?domain="+encodeURIComponent(e)+"&language="+encodeURIComponent(t)+"&country="+encodeURIComponent(s.country),fetch(o).then(function(e){return e.json()}).then(function(e){n(e)}).catch(function(e){console.error("TrustArc Translation Error:",e)})},n=function(e){if(!e)return;if(e.bannerHtml){var n,s,o,i,a,r,f=new DOMParser,t=f.parseFromString(e.bannerHtml,"text/html"),m=t.getElementById("truste-consent-text"),c=t.getElementById("truste-consent-button"),h=t.getElementById("truste-consent-required"),u=t.getElementById("truste-show-consent"),d=t.getElementById("truste-powered-by"),l=t.getElementById("trustarc-lang-selector-label");m&&(n=document.getElementById("truste-consent-text"),n&&(n.innerHTML=m.innerHTML)),c&&(r=document.querySelector("#truste-consent-button span"),r&&(r.textContent=c.textContent.trim())),h&&(a=document.querySelector("#truste-consent-required span"),a&&(a.textContent=h.textContent.trim())),u&&(i=document.querySelector("#truste-show-consent span"),i&&(i.textContent=u.textContent.trim())),l&&(o=document.getElementById("trustarc-lang-selector-label"),o&&(o.innerHTML=l.innerHTML)),d&&(s=document.getElementById("truste-powered-by"),s&&(s.innerHTML=d.innerHTML))}};function a(e){var t=document.createElement("div");return t.textContent=e,t.innerHTML}return s=function(t,n){var o,i,a=truste.eu.bindMap,s={};try{s=JSON.parse(n||"{}")}catch(e){return console.error("Error parsing languages:",e),""}return o=Object.keys(s),o.length===0?"":(i=o.map(function(e){var t=s[e],n=e===a.locale?"selected":"";return'<option value="'+e+'" '+n+">"+t+"</option>"}).join(""),'<select id="'+e.languageDropdown+'" style="padding: 8px 32px 8px 12px; border-radius: 6px; border: 1px solid #757575; font-size: 14px; font-weight: 600; color: #334155; background-color: white; cursor: pointer; appearance: none; background-image: url(\'data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%228%22 viewBox=%220 0 12 8%22><path fill=%22%23666%22 d=%22M1.41 0L6 4.58 10.59 0 12 1.42l-6 6-6-6z%22/></svg>\'); background-repeat: no-repeat; background-position: right 12px center; max-width: 100px;">'+i+"</select>")},o=function(o){var r,c,i=truste.eu.bindMap,a=truste.util.readCookie(truste.eu.COOKIE_NOTICE_LANGUAGE,!0);a&&(i.locale=a),r=i.locale,c=i.cdnURL+"bannerconfig?domain="+encodeURIComponent(o)+"&language="+encodeURIComponent(r)+"&country="+encodeURIComponent(i.country),fetch(c).then(function(e){return e.json()}).then(function(i){var a,r,l=i&&i.languageSelectorLabel||"",d=i&&i.languages||"",c=s(l,d);if(!c)return;a=document.getElementById("trustarc-lang-container"),a&&(a.insertAdjacentHTML("afterbegin",c),function t(){var s,o=document.getElementById("truste-consent-text"),n=document.getElementById(e.languageSelectorLabel);if(!o||!n)return setTimeout(t,50);s=window.getComputedStyle(o),n.style.fontSize=s.fontSize,n.style.color=s.color,n.style.fontFamily=s.fontFamily}(),r=document.getElementById(e.languageDropdown),r&&r.addEventListener("change",function(e){t(o,e.target.value)}),n(i))}).catch(function(e){console.error("TrustArc Language Init Error:",e)})},i=function(n){var o,s=truste.util.readCookie(truste.eu.COOKIE_NOTICE_LANGUAGE,!0);if(!s)return;o=document.getElementById(e.languageDropdown),o&&(o.value=s),t(n,s)},{init:o,fetchLanguage:t,applyNoticeLanguageFromCookie:i,applyTranslations:n}}(),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,c,h,f,g,w,O,d=3,d=d>0?d:3,v=truste.eu.bindMap,l=function(t){for(var s=[],n=0;n<t;n++)s.push(n);return s.join(",")}(d);v.feat.gpp.gppApplies&&!v.feat.gpp.gppShowCategories&&(l=v.feat.gpp.gppOptInAll);const a="truste-consent-track",y='<style>/*TrustArc Styling Removed*/  .truste-close-icon img {    border: 2px solid #ff5d00;    border-radius: 50%;    padding: 4px;    width: 10px;    cursor: pointer;}.truste-close-icon a {    padding: 7px 0 0 0; }div#truste-consent-content {    display: -webkit-flex;    display: flex;    align-items: center;    justify-content: center;}span.text-line1 {    display: block;}@media screen and (max-width: 767px){  div#truste-consent-content {      flex-direction: column;       align-items: flex-start;  }  div#truste-consent-buttons {      display: block;      margin: 0 auto;  }  div#truste-consent-buttons button {      width: 100%;  }  span.text-line1 {    display: contents;}}</style><div id="truste-consent-track" style="display:none;">  <div id="truste-consent-content" class="truste-banner">        <div class="truste-close-icon" >      <a onclick="document.getElementById(&#39;truste-consent-button&#39;).click()"><img alt="close_icon" src="https://consent.trustarc.com/get?name=sonic_close.svg"></a>    </div>    <div id="truste-consent-text" class="truste-messageColumn"><span class="text-line1">This site uses cookies to ensure you get the best experience.</span> <span class="text-line2">By using this site you agree to our use of cookies for analytics, and for personalized content and ads.</span>    <!--   <a href="https://www.sonicwall.com/legal/privacy-statement/" target="_blank" id="truste-cookie-button" style="cursor:pointer; text-decoration: underline;" class="truste-cookie-link">Privacy Policy</a> -->    </div>      <div id="truste-consent-buttons" class="truste-buttonsColumn">            <button id="truste-show-consent" type="button" class="truste-button1">Cookie Settings</button>          <button id="truste-consent-button" type="button" class="truste-button2">GOT IT. THANKS! </button>      </div>  </div></div>';f=/\bandroid (\d+(?:\.\d+)+);/gi.exec(navigator.userAgent),O=f&&f[1]<="4.4",w=document.getElementById(n),c=document.getElementById(s),c.setAttribute("lang",e.locale.replace("_","-")),o=Object.freeze(Object.assign(Object.create(null),{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"})),g=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":if(c){E(),D(),x();let t=y.includes(a);truste.bn.checkPreference()&&t?j():e.bnFlags.consentUnresolved&&t?truste.bn.checkConsentUnresolved(j,A):A()}break;case"done":truste.bn.isConsentTrack=!1,truste.bn.removeEvent(document,"click",M),truste.bn.removeEvent(document,"scroll",F),truste.bn.show(w),truste.bn.hide(document.getElementById(a)),m("hidden");break;case"open":try{if(O){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 D(){if(document.getElementById(a))return;let e=y;e=e.replace("&lt;i&gt;","<i>").replace("&lt;/i&gt;","</i>").replace("&lt;b&gt;","<b>").replace("&lt;/b&gt;","</b>"),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"));var n=document.querySelector("[nonce]");if(n){const t=n.nonce||n.getAttribute("nonce");e=e.replace(/<style(?![^>]*nonce=)/gi,`<style nonce="${t}"`)}if(!e||typeof e!="string")return;c.insertAdjacentHTML?c.insertAdjacentHTML("afterbegin",e):c.innerHTML=e}function b(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 k(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 _(){self.localStorage&&self.localStorage.removeItem(truste.eu.COOKIE_CATEGORY_NAME),truste.eu.ccpa.dropCcpaCookie(!1),r(l),truste.util.dropOptoutDomains?.(l)}function p(){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(n=truste.util.getLowestConsent(e),!isNaN(n=parseInt(n))&&truste.eu&&truste.eu.actmessage){truste.eu.resetGpcDnt();var t,n,s,o=truste.util&&truste.util.getJSON||truste.cma&&truste.cma.cheapJSON||window.JSON.stringify,a={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(o(a),"*"),t=truste.eu.bindMap,t&&t.prefmgrUrl&&!t.feat.ccpaApplies&&(s=truste.eu.isGwtCm(t)?"/defaultconsentmanager/optin?":"/consent/log?",truste.util.callCMEndpoint(s,n,function(){},!0,e)),i("selection")}else i("done")}function x(){var n,a,c,d,u,h,s=truste.eu.bindMap;if(s.feat.isReconsentEvent&&Object.hasOwn(s,"popupMsg")&&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&&(u=new RegExp(("^"+l+"$").replace(/,/g,".")),!t.gtm&&!s.feat.enableCCPA&&s.feat.isRepopEvent&&!u.test(s.prefCookie)?truste.bn.hide(n):n.onclick=function(){truste.bn.msglog("accepts",e.bannerMsgURL),e.feat.iabBannerApplies?b("process_iab_accept_all"):e.feat.gpp.gppApplies&&k("process_gpp_accept_all"),(s.feat.enableCCPA||s.feat.isReconsentEvent)&&s.feat.enableTwoStepVerification&&truste.util.validConsent(s.prefCookie)&&!u.test(s.prefCookie)?truste.eu&&truste.eu.clickListener&&truste.eu.clickListener(6):_()}),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?b("process_iab_reject_all"):e.feat.gpp.gppApplies&&k("process_gpp_reject_all"),p()}),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()}),T(),z(),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}p()}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("#",""))}),C(),h=document.querySelectorAll('a[href*="https://tracker-detail-page"]'),h.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)),d=e.domain||window.location.hostname,document.getElementById("trustarc-lang-container")&&(d=e.domain||window.location.hostname,LanguageSelector.init(d),LanguageSelector.applyNoticeLanguageFromCookie(d)),i("open")}function C(){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 E(){t.oc&&truste.bn.addEvent(document,"click",M),t.px&&truste.bn.addEvent(document,"scroll",F)}function j(){truste.bn.isConsentTrack=!0,truste.bn.show(document.getElementById(a)),m("visible"),truste.bn.msglog("views",e.bannerMsgURL)}function A(){i("done")}function S(e){return e&&truste.bn.isVisible(e)&&!document.getElementById(truste.eu.popdiv2)}function M(e){var t=document.getElementById(a);S(t)&&!t.contains(e.target)&&e.target.id!==truste.eu.popclose&&r(l)}function F(){var n=document.getElementById(a);S(n)&&(document.scrollingElement.scrollTop||document.documentElement.scrollTop)>=t.px&&r(l)}function T(){const i=document.getElementById(a),n=Object.hasOwn(t,"cookieLink")?t.cookieLink:0[0],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,g))};u(r,n,s),c?.forEach(e=>u(e,n,s))}function z(){const s=document.getElementById(a),e=Object.hasOwn(t,"privacypolicylink")?t.privacypolicylink:0[0],i=document.getElementById(o.privacyButton),r=s?.querySelectorAll("[data-privacy-policy-link]"),n=t=>{e&&(t.preventDefault(),window.open(e,g))};u(i,e,n),r?.forEach(t=>u(t,e,n))}function u(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,E(),x(),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(){_()},truste.bn.declineAll=function(){p()},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"):C()}}}