cdn.cookielaw.org
Open in
urlscan Pro
2606:4700::6812:572a
Public Scan
URL:
https://cdn.cookielaw.org/scripttemplates/202308.1.0/otBannerSdk.js
Submission Tags: falconsandbox
Submission: On November 21 via api from US — Scanned from DE
Submission Tags: falconsandbox
Submission: On November 21 via api from US — Scanned from DE
Form analysis
0 forms found in the DOMText Content
/** * onetrust-banner-sdk * v202308.1.0 * by OneTrust LLC * Copyright 2023 */ !function(){"use strict";var N=function(e,t){return(N=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}))(e,t)};function D(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}N(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}var H,F=function(){return(F=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var r in t=arguments[o])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function R(e,s,a,l){return new(a=a||Promise)(function(o,t){function n(e){try{i(l.next(e))}catch(e){t(e)}}function r(e){try{i(l.throw(e))}catch(e){t(e)}}function i(e){var t;e.done?o(e.value):((t=e.value)instanceof a?t:new a(function(e){e(t)})).then(n,r)}i((l=l.apply(e,s||[])).next())})}function q(n,r){var i,s,a,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},c={next:e(0),throw:e(1),return:e(2)};return"function"==typeof Symbol&&(c[Symbol.iterator]=function(){return this}),c;function e(o){return function(e){var t=[o,e];if(i)throw new TypeError("Generator is already executing.");for(;l=c&&t[c=0]?0:l;)try{if(i=1,s&&(a=2&t[0]?s.return:t[0]?s.throw||((a=s.return)&&a.call(s),0):s.next)&&!(a=a.call(s,t[1])).done)return a;switch(s=0,(t=a?[2&t[0],a.value]:t)[0]){case 0:case 1:a=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,s=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!(a=0<(a=l.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){l=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3]))l.label=t[1];else if(6===t[0]&&l.label<a[1])l.label=a[1],a=t;else{if(!(a&&l.label<a[2])){a[2]&&l.ops.pop(),l.trys.pop();continue}l.label=a[2],l.ops.push(t)}}t=r.call(n,l)}catch(e){t=[6,e],s=0}finally{i=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}}function M(){for(var e=0,t=0,o=arguments.length;t<o;t++)e+=arguments[t].length;for(var n=Array(e),r=0,t=0;t<o;t++)for(var i=arguments[t],s=0,a=i.length;s<a;s++,r++)n[r]=i[s];return n}(e=H=H||{})[e.ACTIVE=0]="ACTIVE",e[e.ALWAYS_ACTIVE=1]="ALWAYS_ACTIVE",e[e.EXPIRED=2]="EXPIRED",e[e.NO_CONSENT=3]="NO_CONSENT",e[e.OPT_OUT=4]="OPT_OUT",e[e.PENDING=5]="PENDING",e[e.WITHDRAWN=6]="WITHDRAWN";var U=setTimeout;function j(e){return Boolean(e&&void 0!==e.length)}function z(){}function K(e){if(!(this instanceof K))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],$(e,this)}function W(o,n){for(;3===o._state;)o=o._value;0===o._state?o._deferreds.push(n):(o._handled=!0,K._immediateFn(function(){var e,t=1===o._state?n.onFulfilled:n.onRejected;if(null===t)(1===o._state?J:Y)(n.promise,o._value);else{try{e=t(o._value)}catch(e){return void Y(n.promise,e)}J(n.promise,e)}}))}function J(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var o=e.then;if(e instanceof K)return t._state=3,t._value=e,void X(t);if("function"==typeof o)return void $((n=o,r=e,function(){n.apply(r,arguments)}),t)}t._state=1,t._value=e,X(t)}catch(e){Y(t,e)}var n,r}function Y(e,t){e._state=2,e._value=t,X(e)}function X(e){2===e._state&&0===e._deferreds.length&&K._immediateFn(function(){e._handled||K._unhandledRejectionFn(e._value)});for(var t=0,o=e._deferreds.length;t<o;t++)W(e,e._deferreds[t]);e._deferreds=null}function Q(e,t,o){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=o}function $(e,t){var o=!1;try{e(function(e){o||(o=!0,J(t,e))},function(e){o||(o=!0,Y(t,e))})}catch(e){o||(o=!0,Y(t,e))}}function Z(){}K.prototype.catch=function(e){return this.then(null,e)},K.prototype.then=function(e,t){var o=new this.constructor(z);return W(this,new Q(e,t,o)),o},K.prototype.finally=function(t){var o=this.constructor;return this.then(function(e){return o.resolve(t()).then(function(){return e})},function(e){return o.resolve(t()).then(function(){return o.reject(e)})})},K.all=function(t){return new K(function(r,i){if(!j(t))return i(new TypeError("Promise.all accepts an array"));var s=Array.prototype.slice.call(t);if(0===s.length)return r([]);var a=s.length;for(var e=0;e<s.length;e++)!function t(o,e){try{if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if("function"==typeof n)return void n.call(e,function(e){t(o,e)},i)}s[o]=e,0==--a&&r(s)}catch(e){i(e)}}(e,s[e])})},K.resolve=function(t){return t&&"object"==typeof t&&t.constructor===K?t:new K(function(e){e(t)})},K.reject=function(o){return new K(function(e,t){t(o)})},K.race=function(r){return new K(function(e,t){if(!j(r))return t(new TypeError("Promise.race accepts an array"));for(var o=0,n=r.length;o<n;o++)K.resolve(r[o]).then(e,t)})},K._immediateFn="function"==typeof setImmediate?function(e){setImmediate(e)}:function(e){U(e,0)},K._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},Z.prototype.initPolyfill=function(){this.initArrayIncludesPolyfill(),this.initObjectAssignPolyfill(),this.initArrayFillPolyfill(),this.initClosestPolyfill(),this.initIncludesPolyfill(),this.initEndsWithPoly(),this.initCustomEventPolyfill(),this.promisesPolyfil()},Z.prototype.initArrayIncludesPolyfill=function(){Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];if(null==this)throw new TypeError("Array.prototype.includes called on null or undefined");var n=Object(this),r=parseInt(n.length,10)||0;if(0!==r){var i,s,a=t[1]||0;for(0<=a?i=a:(i=r+a)<0&&(i=0);i<r;){if(e===(s=n[i])||e!=e&&s!=s)return!0;i++}}return!1},writable:!0,configurable:!0})},Z.prototype.initEndsWithPoly=function(){String.prototype.endsWith||Object.defineProperty(String.prototype,"endsWith",{value:function(e,t){return(void 0===t||t>this.length)&&(t=this.length),this.substring(t-e.length,t)===e},writable:!0,configurable:!0})},Z.prototype.initClosestPolyfill=function(){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||Object.defineProperty(Element.prototype,"closest",{value:function(e){var t=this;do{if(t.matches(e))return t}while(null!==(t=t.parentElement||t.parentNode)&&1===t.nodeType);return null},writable:!0,configurable:!0})},Z.prototype.initIncludesPolyfill=function(){String.prototype.includes||Object.defineProperty(String.prototype,"includes",{value:function(e,t){return!((t="number"!=typeof t?0:t)+e.length>this.length)&&-1!==this.indexOf(e,t)},writable:!0,configurable:!0})},Z.prototype.initObjectAssignPolyfill=function(){"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var o=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(o[i]=r[i])}return o},writable:!0,configurable:!0})},Z.prototype.initArrayFillPolyfill=function(){Array.prototype.fill||Object.defineProperty(Array.prototype,"fill",{value:function(e){if(null==this)throw new TypeError("this is null or not defined");for(var t=Object(this),o=t.length>>>0,n=arguments[1]>>0,r=n<0?Math.max(o+n,0):Math.min(n,o),n=arguments[2],n=void 0===n?o:n>>0,i=n<0?Math.max(o+n,0):Math.min(n,o);r<i;)t[r]=e,r++;return t}})},Z.prototype.initCustomEventPolyfill=function(){if("function"==typeof window.CustomEvent)return!1;function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var o=document.createEvent("CustomEvent");return o.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),o}e.prototype=window.Event.prototype,window.CustomEvent=e},Z.prototype.insertViewPortTag=function(){var e=document.querySelector('meta[name="viewport"]'),t=document.createElement("meta");t.name="viewport",t.content="width=device-width, initial-scale=1",e||document.head.appendChild(t)},Z.prototype.promisesPolyfil=function(){"undefined"==typeof Promise&&(window.Promise=K)};var ee,te,oe,ne,re,ie,se,ae,le,ce,de,pe,ue,ge,he,Ce,ye,fe,ke,me,ve,be,Se,Pe,Te,Ae,Ie,Le,_e,Ee,Ve,Oe,Be,we,Ge,xe,Ne=new Z;(e=ee=ee||{})[e.Unknown=0]="Unknown",e[e.BannerCloseButton=1]="BannerCloseButton",e[e.ConfirmChoiceButton=2]="ConfirmChoiceButton",e[e.AcceptAll=3]="AcceptAll",e[e.RejectAll=4]="RejectAll",e[e.BannerSaveSettings=5]="BannerSaveSettings",e[e.ContinueWithoutAcceptingButton=6]="ContinueWithoutAcceptingButton",(e=te=te||{})[e.Banner=1]="Banner",e[e.PC=2]="PC",e[e.API=3]="API",(e=oe=oe||{}).AcceptAll="AcceptAll",e.RejectAll="RejectAll",e.UpdateConsent="UpdateConsent",(e=ne=ne||{})[e.Purpose=1]="Purpose",e[e.SpecialFeature=2]="SpecialFeature",(e=re=re||{}).Legal="legal",e.UserFriendly="user_friendly",(e=ie=ie||{}).Top="top",e.Bottom="bottom",(e=se=se||{})[e.Banner=0]="Banner",e[e.PrefCenterHome=1]="PrefCenterHome",e[e.VendorList=2]="VendorList",e[e.CookieList=3]="CookieList",(e=ae=ae||{})[e.RightArrow=39]="RightArrow",e[e.LeftArrow=37]="LeftArrow",(e=le=le||{}).AfterTitle="AfterTitle",e.AfterDescription="AfterDescription",e.AfterDPD="AfterDPD",(e=ce=ce||{}).PlusMinus="Plusminus",e.Caret="Caret",e.NoAccordion="NoAccordion",(e=de=de||{}).Consent="Consent",e.LI="LI",e.AddtlConsent="AddtlConsent",(e=pe=pe||{}).Iab1Pub="eupubconsent",e.Iab2Pub="eupubconsent-v2",e.Iab1Eu="euconsent",e.Iab2Eu="euconsent-v2",(e=ue=ue||{})[e.Disabled=0]="Disabled",e[e.Consent=1]="Consent",e[e.LegInt=2]="LegInt",(e=ge=ge||{})[e["Banner - Allow All"]=1]="Banner - Allow All",e[e["Banner - Reject All"]=2]="Banner - Reject All",e[e["Banner - Close"]=3]="Banner - Close",e[e["Preference Center - Allow All"]=4]="Preference Center - Allow All",e[e["Preference Center - Reject All"]=5]="Preference Center - Reject All",e[e["Preference Center - Confirm"]=6]="Preference Center - Confirm",e[e["GPC value changed"]=7]="GPC value changed",(e=he=he||{}).Active="1",e.InActive="0",(e=Ce=Ce||{}).Host="Host",e.GenVendor="GenVen",(e=ye=ye||{})[e.Host=1]="Host",e[e.GenVen=2]="GenVen",e[e.HostAndGenVen=3]="HostAndGenVen",(e=fe=fe||{})[e.minDays=1]="minDays",e[e.maxDays=30]="maxDays",e[e.maxYear=31536e3]="maxYear",e[e.maxSecToDays=86400]="maxSecToDays",(e=ke=ke||{})[e.RTL=0]="RTL",e[e.LTR=1]="LTR",(e=me=me||{})[e.GoogleVendor=1]="GoogleVendor",e[e.GeneralVendor=2]="GeneralVendor",(e=Dt=Dt||{})[e.Days=1]="Days",e[e.Weeks=7]="Weeks",e[e.Months=30]="Months",e[e.Years=365]="Years",(e=ve=ve||{}).Checkbox="Checkbox",e.Toggle="Toggle",(e=be=be||{}).SlideIn="Slide_In",e.FadeIn="Fade_In",e.RemoveAnimation="Remove_Animation",(e=Se=Se||{}).Link="Link",e.Icon="Icon",(e=Pe=Pe||{}).consent="consent",e.set="set",(e=Te=Te||{}).update="update",e.default="default",e.ads_data_redaction="ads_data_redaction",(e=Ae=Ae||{}).analytics_storage="analytics_storage",e.ad_storage="ad_storage",e.functionality_storage="functionality_storage",e.personalization_storage="personalization_storage",e.security_storage="security_storage",e.region="region",e.wait_for_update="wait_for_update",(e=Ie=Ie||{}).granted="granted",e.denied="denied",(e=Le=Le||{}).OBJECT_TO_LI="ObjectToLI",e.LI_ACTIVE_IF_LEGAL_BASIS="LIActiveIfLegalBasis",(e=_e=_e||{}).cookies="cookies",e.vendors="vendors",(e=Ee=Ee||{}).GDPR="GDPR",e.IAB="IAB",e.CCPA="CCPA",e.IAB2="IAB2",e.IAB2V2="IAB2V2",e.GENERIC="GENERIC",e.LGPD="LGPD",e.GENERIC_PROMPT="GENERIC_PROMPT",e.CPRA="CPRA",e.CDPA="CDPA",e.USNATIONAL="USNATIONAL",e.CUSTOM="CUSTOM",e.COLORADO="COLORADO",e.CONNECTICUT="CTDPA",e.UCPA="UCPA",(e=Ve=Ve||{}).Name="OTGPPConsent",e[e.ChunkSize=4e3]="ChunkSize",e.ChunkCountParam="GPPCookiesCount",(e=Oe=Oe||{}).MspaCoveredTransaction="IsMSPAEnabled",e.MspaOptOutOptionMode="Opt-Out",e.MspaServiceProviderMode="Service Provider",(e=Be=Be||{}).GpcSegmentType="GpcSegmentType",e.Gpc="Gpc",(e=we=we||{}).SensitiveDataProcessing="SensitiveDataProcessing",e.KnownChildSensitiveDataConsents="KnownChildSensitiveDataConsents",(e=Ge=Ge||{}).CPRA="uspcav1",e.CCPA="uspcav1",e.CDPA="uspvav1",e.USNATIONAL="uspnatv1",e.COLORADO="uspcov1",e.CTDPA="uspctv1",e.UCPA="usputv1",(e=xe=xe||{})[e.CPRA=8]="CPRA",e[e.CCPA=8]="CCPA",e[e.CDPA=9]="CDPA",e[e.USNATIONAL=7]="USNATIONAL",e[e.COLORADO=10]="COLORADO",e[e.UCPA=11]="UCPA",e[e.CTDPA=12]="CTDPA";var De="AwaitingReconsent",He="consentId",Fe="geolocation",Re="interactionCount",qe="isIABGlobal",Me="NotLandingPage",Ue="isGpcEnabled",je="browserGpcFlag",ze="identifierType",m={ADDITIONAL_CONSENT_STRING:"OTAdditionalConsentString",ALERT_BOX_CLOSED:"OptanonAlertBoxClosed",OPTANON_CONSENT:"OptanonConsent",EU_PUB_CONSENT:"eupubconsent-v2",EU_CONSENT:"euconsent-v2",SELECTED_VARIANT:"OTVariant",OT_PREVIEW:"otpreview",GPP_CONSENT:Ve.Name},Ke="CONFIRMED",We="OPT_OUT",Je="NO_CHOICE",Ye="NOTGIVEN",Xe="NO_OPT_OUT",Qe="always active",$e="active",Ze="inactive landingpage",et="inactive",tt="dnt",ot="LOCAL",nt="TEST",rt="LOCAL_TEST",it="data-language",st="otCookieSettingsButton.json",at="otCookieSettingsButtonRtl.json",lt="otCenterRounded",ct="otFlat",dt="otFloatingRoundedCorner",pt="otFloatingFlat",ut="otFloatingRoundedIcon",gt="otFloatingRounded",ht="otChoicesBanner",Ct="otNoBanner",yt="otPcCenter",ft="otPcList",kt="otPcPanel",mt="otPcPopup",g="otPcTab",vt="hidebanner",bt=((e={})[Dt.Days]="PCenterVendorListLifespanDay",e[Dt.Weeks]="LfSpnWk",e[Dt.Months]="PCenterVendorListLifespanMonth",e[Dt.Years]="LfSpnYr",e),St="DNAC",Pt="Category",Tt="Host",At="General Vendor",It="VendorService",Lt="aria-label",_t="aria-hidden",Et="BRANCH",Vt="COOKIE",Ot=["IAB2_PURPOSE","IAB2_STACK","IAB2_FEATURE","IAB2_SPL_PURPOSE","IAB2_SPL_FEATURE","IAB2V2_PURPOSE","IAB2V2_SPL_PURPOSE","IAB2V2_FEATURE","IAB2V2_SPL_FEATURE","IAB2V2_STACK"],Bt=["COOKIE","BRANCH","IAB2_STACK","IAB2V2_STACK"],wt=["IAB2_PURPOSE","IAB2_SPL_FEATURE","IAB2V2_PURPOSE","IAB2V2_SPL_FEATURE"],Gt=["IAB2_FEATURE","IAB2_SPL_PURPOSE","IAB2V2_FEATURE","IAB2V2_SPL_PURPOSE"],xt=["IAB2_PURPOSE","IAB2_SPL_PURPOSE","IAB2_FEATURE","IAB2_SPL_FEATURE"],k=new function(){};function d(e,t,o){void 0===o&&(o=!1);function n(e){return e?(";"!==(e=e.trim()).charAt(e.length-1)&&(e+=";"),e.trim()):null}var i=n(e.getAttribute("style")),s=n(t),t="",t=o&&i?function(){for(var e=i.split(";").concat(s.split(";")).filter(function(e){return 0!==e.length}),t="",o="",n=e.length-1;0<=n;n--){var r=e[n].substring(0,e[n].indexOf(":")+1).trim();t.indexOf(r)<0&&(t+=r,o+=e[n]+";")}return o}():s;e.setAttribute("style",t)}function Nt(){}Nt.prototype.convertKeyValueLowerCase=function(e){for(var t in e)e[t.toLowerCase()]?e[t.toLowerCase()]=e[t].toLowerCase():(e[t]&&(e[t.toLowerCase()]=e[t].toLowerCase()),delete e[t]);return e},Nt.prototype.arrToStr=function(e){return e.toString()},Nt.prototype.strToArr=function(e){return e?e.split(","):[]},Nt.prototype.strToMap=function(e){if(!e)return new Map;for(var t=new Map,o=0,n=this.strToArr(e);o<n.length;o++){var r=n[o].split(":");t.set(r[0],"1"===r[1])}return t},Nt.prototype.empty=function(e){var t=document.getElementById(e);if(t)for(;t.hasChildNodes();)t.removeChild(t.lastChild)},Nt.prototype.show=function(e){e=document.getElementById(e);e&&d(e,"display: block;",!0)},Nt.prototype.remove=function(e){e=document.getElementById(e);e&&e.parentNode&&e.parentNode.removeChild(e)},Nt.prototype.appendTo=function(e,t){var o,e=document.getElementById(e);e&&((o=document.createElement("div")).innerHTML=t,e.appendChild(o))},Nt.prototype.contains=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].toString().toLowerCase()===t.toString().toLowerCase())return!0;return!1},Nt.prototype.indexOf=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o]===t)return o;return-1},Nt.prototype.endsWith=function(e,t){return-1!==e.indexOf(t,e.length-t.length)},Nt.prototype.generateUUID=function(){var o=(new Date).getTime();return"undefined"!=typeof performance&&"function"==typeof performance.now&&(o+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=(o+16*Math.random())%16|0;return o=Math.floor(o/16),("x"===e?t:3&t|8).toString(16)})},Nt.prototype.getActiveIdArray=function(e){return e.filter(function(e){return"true"===e.split(":")[1]}).map(function(e){return parseInt(e.split(":")[0])})},Nt.prototype.distinctArray=function(e){var t=new Array;return e.forEach(function(e){t.indexOf(e)<0&&t.push(e)}),t},Nt.prototype.findIndex=function(e,t){for(var o=-1,n=0;n<e.length;n++)if(void 0!==e[n]&&t(e[n],n)){o=n;break}return o},Nt.prototype.getURL=function(e){var t=document.createElement("a");return t.href=e,t},Nt.prototype.removeURLPrefixes=function(e){return e.toLowerCase().replace(/(^\w+:|^)\/\//,"").replace("www.","")},Nt.prototype.removeChild=function(e){if(e)if(e instanceof NodeList||e instanceof Array)for(var t=0;t<e.length;t++)e[t].parentElement.removeChild(e[t]);else e.parentElement.removeChild(e)},Nt.prototype.getRelativeURL=function(e,t,o){return void 0===o&&(o=!1),t?(t="./"+e.replace(/^(http|https):\/\//,"").split("/").slice(1).join("/").replace(".json",""),o?t:t+".js"):e},Nt.prototype.setCheckedAttribute=function(e,t,o){(t=e?document.querySelector(e):t)&&(t.setAttribute("aria-checked",o.toString()),o?t.setAttribute("checked",""):t.removeAttribute("checked"),t.checked=o)},Nt.prototype.setDisabledAttribute=function(e,t,o){(t=e?document.querySelector(e):t)&&(o?t.setAttribute("disabled",o.toString()):t.removeAttribute("disabled"))},Nt.prototype.setHtmlAttributes=function(e,t){for(var o in t)e.setAttribute(o,t[o]),e[o]=t[o]},Nt.prototype.calculateCookieLifespan=function(e){return e<0?T.LifespanTypeText:(e=Math.floor(e/fe.maxSecToDays))<fe.minDays?"< 1 "+T.PCenterVendorListLifespanDay:e<fe.maxDays?e+" "+T.PCenterVendorListLifespanDays:1===(e=Math.floor(e/fe.maxDays))?e+" "+T.PCenterVendorListLifespanMonth:e+" "+T.PCenterVendorListLifespanMonths},Nt.prototype.insertElement=function(e,t,o){e&&t&&e.insertAdjacentElement(o,t)},Nt.prototype.customQuerySelector=function(t){return function(e){return t.querySelector(e)}},Nt.prototype.customQuerySelectorAll=function(t){return function(e){return t.querySelectorAll(e)}};var v,b=new Nt,Dt=(Ht.prototype.removeAlertBox=function(){null!==this.getCookie(m.ALERT_BOX_CLOSED)&&this.setCookie(m.ALERT_BOX_CLOSED,"",0,!0)},Ht.prototype.removeIab1=function(){null!==this.getCookie(pe.Iab1Pub)&&this.setCookie(pe.Iab1Pub,"",0,!0)},Ht.prototype.removeIab2=function(){null!==this.getCookie(pe.Iab2Pub)&&this.setCookie(pe.Iab2Pub,"",0,!0)},Ht.prototype.removeAddtlStr=function(){null!==this.getCookie(m.ADDITIONAL_CONSENT_STRING)&&this.setCookie(m.ADDITIONAL_CONSENT_STRING,"",0,!0)},Ht.prototype.removeVariant=function(){null!==this.getCookie(m.SELECTED_VARIANT)&&this.setCookie(m.SELECTED_VARIANT,"",0,!0)},Ht.prototype.removeOptanon=function(){null!==this.getCookie(m.OPTANON_CONSENT)&&this.setCookie(m.OPTANON_CONSENT,"",0,!0)},Ht.prototype.removePreview=function(){null!==this.getCookie(m.OT_PREVIEW)&&this.setCookie(m.OT_PREVIEW,"",0,!0)},Ht.prototype.writeCookieParam=function(e,t,o,n){var r,i,s,a={},l=this.getCookie(e);if(l)for(i=l.split("&"),r=0;r<i.length;r+=1)s=i[r].split("="),a[decodeURIComponent(s[0])]=s[0]===t&&n?decodeURIComponent(s[1]):decodeURIComponent(s[1]).replace(/\+/g," ");a[t]=o;l=k.moduleInitializer.TenantFeatures;l&&l.CookieV2CookieDateTimeInISO?a.datestamp=(new Date).toISOString():a.datestamp=(new Date).toString(),a.version=A.otSDKVersion,o=this.param(a),this.setCookie(e,o,T.ReconsentFrequencyDays)},Ht.prototype.readCookieParam=function(e,t,o){var n,r,i,s,e=this.getCookie(e);if(e){for(r={},i=e.split("&"),n=0;n<i.length;n+=1)s=i[n].split("="),r[decodeURIComponent(s[0])]=o?decodeURIComponent(s[1]):decodeURIComponent(s[1]).replace(/\+/g," ");return t&&r[t]?r[t]:t&&!r[t]?"":r}return""},Ht.prototype.getCookie=function(e){if(k&&k.moduleInitializer&&k.moduleInitializer.MobileSDK){var t=this.getCookieDataObj(e);if(t)return t.value}if(A.isAMP&&(A.ampData=JSON.parse(localStorage.getItem(A.dataDomainId))||{},A.ampData))return A.ampData[e]||null;for(var o,n=e+"=",r=document.cookie.split(";"),i=0;i<r.length;i+=1){for(o=r[i];" "===o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(n))return o.substring(n.length,o.length)}return null},Ht.prototype.setAmpStorage=function(){window.localStorage.setItem(A.dataDomainId,JSON.stringify(A.ampData))},Ht.prototype.removeAmpStorage=function(){window.localStorage.removeItem(A.dataDomainId)},Ht.prototype.handleAmp=function(e,t){""!==t?A.ampData[e]=t:delete A.ampData[e],0===Object.keys(A.ampData).length?this.removeAmpStorage():this.setAmpStorage()},Ht.prototype.setCookie=function(e,t,o,n,r){var i,s,a,l,c;void 0===n&&(n=!1),void 0===r&&(r=new Date),A.isAMP?this.handleAmp(e,t):(i=void 0,i=o?(r.setTime(r.getTime()+24*o*60*60*1e3),"; expires="+r.toUTCString()):n?"; expires="+new Date(0).toUTCString():"",o="",(s=(n=k.moduleInitializer)&&n.Domain?n.Domain.split("/"):[]).length<=1?s[1]="":o=s.slice(1).join("/"),a="Samesite=Lax",n.CookieSameSiteNoneEnabled&&(a="Samesite=None; Secure"),l=n.ScriptType===nt||n.ScriptType===rt,A.isPreview||!l&&!n.MobileSDK?(c=t+i+"; path=/"+o+"; domain=."+s[0]+"; "+a,document.cookie=e+"="+c):(c=t+i+"; path=/; "+a,n.MobileSDK?this.setCookieDataObj({name:e,value:t,expires:i,date:r,domainAndPath:s}):document.cookie=e+"="+c))},Ht.prototype.setCookieDataObj=function(t){var e;t&&(A.otCookieData||(window.OneTrust&&window.OneTrust.otCookieData?A.otCookieData=window.OneTrust.otCookieData:A.otCookieData=[]),-1<(e=b.findIndex(A.otCookieData,function(e){return e.name===t.name}))?A.otCookieData[e]=t:A.otCookieData.push(t))},Ht.prototype.getCookieDataObj=function(t){A.otCookieData&&0!==A.otCookieData.length||(window.OneTrust&&window.OneTrust.otCookieData?A.otCookieData=window.OneTrust.otCookieData:A.otCookieData=[]);var e=b.findIndex(A.otCookieData,function(e){return e.name===t});if(0<=e){var o=A.otCookieData[e];if(o.date)return new Date(o.date)<new Date?(A.otCookieData.splice(e,1),null):o}return null},Ht.prototype.param=function(e){var t,o="";for(t in e)e.hasOwnProperty(t)&&(""!==o&&(o+="&"),o+=t+"="+encodeURIComponent(e[t]).replace(/%20/g,"+"));return o},Ht);function Ht(){}var S,f,Ft={P_Content:"#ot-pc-content",P_Logo:".ot-pc-logo",P_Title:"#ot-pc-title",P_Policy_Txt:"#ot-pc-desc",P_Vendor_Title_Elm:"#ot-lst-title",P_Vendor_Title:"#ot-lst-title h3",P_Manage_Cookies_Txt:"#ot-category-title",P_Label_Txt:".ot-label-txt",P_Category_Header:".ot-cat-header",P_Category_Grp:".ot-cat-grp",P_Category_Item:".ot-cat-item",P_Vendor_List:"#ot-pc-lst",P_Vendor_Content:"#ot-lst-cnt",P_Vendor_Container:"#ot-ven-lst",P_Ven_Bx:"ot-ven-box",P_Ven_Name:".ot-ven-name",P_Ven_Link:".ot-ven-link",P_Ven_Ctgl:"ot-ven-ctgl",P_Ven_Ltgl:"ot-ven-litgl",P_Ven_Ltgl_Only:"ot-ven-litgl-only",P_Ven_Opts:".ot-ven-opts",P_Triangle:"#ot-anchor",P_Fltr_Modal:"#ot-fltr-modal",P_Fltr_Options:".ot-fltr-opts",P_Fltr_Option:".ot-fltr-opt",P_Select_Cntr:"#ot-sel-blk",P_Host_Cntr:"#ot-host-lst",P_Host_Hdr:".ot-host-hdr",P_Host_Desc:".ot-host-desc",P_Li_Hdr:".ot-pli-hdr",P_Li_Title:".ot-li-title",P_Sel_All_Vendor_Consent_Handler:"#select-all-vendor-leg-handler",P_Sel_All_Vendor_Leg_Handler:"#select-all-vendor-groups-handler",P_Sel_All_Host_Handler:"#select-all-hosts-groups-handler",P_Host_Title:".ot-host-name",P_Leg_Select_All:".ot-sel-all-hdr",P_Leg_Header:".ot-li-hdr",P_Acc_Header:".ot-acc-hdr",P_Cnsnt_Header:".ot-consent-hdr",P_Tgl_Cntr:".ot-tgl-cntr",P_CBx_Cntr:".ot-chkbox",P_Sel_All_Host_El:"ot-selall-hostcntr",P_Sel_All_Vendor_Consent_El:"ot-selall-vencntr",P_Sel_All_Vendor_Leg_El:"ot-selall-licntr",P_c_Name:"ot-c-name",P_c_Host:"ot-c-host",P_c_Duration:"ot-c-duration",P_c_Type:"ot-c-type",P_c_Category:"ot-c-category",P_c_Desc:"ot-c-description",P_Host_View_Cookies:".ot-host-expand",P_Host_Opt:".ot-host-opt",P_Host_Info:".ot-host-info",P_Arrw_Cntr:".ot-arw-cntr",P_Acc_Txt:".ot-acc-txt",P_Vendor_CheckBx:"ot-ven-chkbox",P_Vendor_LegCheckBx:"ot-ven-leg-chkbox",P_Host_UI:"ot-hosts-ui",P_Host_Cnt:"ot-host-cnt",P_Host_Bx:"ot-host-box",P_Ven_Dets:".ot-ven-dets",P_Ven_Disc:".ot-ven-disc",P_Gven_List:"#ot-gn-venlst",P_Close_Btn:".ot-close-icon",P_Ven_Lst_Cntr:".ot-vlst-cntr",P_Host_Lst_cntr:".ot-hlst-cntr",P_Sub_Grp_Cntr:".ot-subgrp-cntr",P_Subgrp_Desc:".ot-subgrp-desc",P_Subgp_ul:".ot-subgrps",P_Subgrp_li:".ot-subgrp",P_Subgrp_Tgl_Cntr:".ot-subgrp-tgl",P_Grp_Container:".ot-grps-cntr",P_Privacy_Txt:"#ot-pvcy-txt",P_Privacy_Hdr:"#ot-pvcy-hdr",P_Active_Menu:"ot-active-menu",P_Desc_Container:".ot-desc-cntr",P_Tab_Grp_Hdr:"ot-grp-hdr1",P_Search_Cntr:"#ot-search-cntr",P_Clr_Fltr_Txt:"#clear-filters-handler",P_Acc_Grp_Desc:".ot-acc-grpdesc",P_Acc_Container:".ot-acc-grpcntr",P_Line_Through:"line-through",P_Vendor_Search_Input:"#vendor-search-handler"},Rt={P_Grp_Container:".groups-container",P_Content:"#ot-content",P_Category_Header:".category-header",P_Desc_Container:".description-container",P_Label_Txt:".label-text",P_Acc_Grp_Desc:".ot-accordion-group-pc-container",P_Leg_Int_Hdr:".leg-int-header",P_Not_Always_Active:"p:not(.ot-always-active)",P_Category_Grp:".category-group",P_Category_Item:".category-item",P_Sub_Grp_Cntr:".cookie-subgroups-container",P_Acc_Container:".ot-accordion-pc-container",P_Close_Btn:".pc-close-button",P_Logo:".pc-logo",P_Title:"#pc-title",P_Privacy_Txt:"#privacy-text",P_Privacy_Hdr:"#pc-privacy-header",P_Policy_Txt:"#pc-policy-text",P_Manage_Cookies_Txt:"#manage-cookies-text",P_Vendor_Title:"#vendors-list-title",P_Vendor_Title_Elm:"#vendors-list-title",P_Vendor_List:"#vendors-list",P_Vendor_Content:"#vendor-list-content",P_Vendor_Container:"#vendors-list-container",P_Ven_Bx:"vendor-box",P_Ven_Name:".vendor-title",P_Ven_Link:".vendor-privacy-notice",P_Ven_Ctgl:"ot-vendor-consent-tgl",P_Ven_Ltgl:"ot-leg-int-tgl",P_Ven_Ltgl_Only:"ot-leg-int-tgl-only",P_Ven_Opts:".vendor-options",P_Triangle:"#ot-triangle",P_Fltr_Modal:"#ot-filter-modal",P_Fltr_Options:".ot-group-options",P_Fltr_Option:".ot-group-option",P_Select_Cntr:"#select-all-container",P_Host_Cntr:"#hosts-list-container",P_Host_Hdr:".host-info",P_Host_Desc:".host-description",P_Host_Opt:".host-option-group",P_Host_Info:".vendor-host",P_Ven_Dets:".vendor-purpose-groups",P_Ven_Disc:".ot-ven-disc",P_Gven_List:"#ot-gn-venlst",P_Arrw_Cntr:".ot-arrow-container",P_Li_Hdr:".leg-int-header",P_Li_Title:".leg-int-title",P_Acc_Txt:".accordion-text",P_Tgl_Cntr:".ot-toggle-group",P_CBx_Cntr:".ot-chkbox-container",P_Host_Title:".host-title",P_Leg_Select_All:".leg-int-sel-all-hdr",P_Leg_Header:".leg-int-hdr",P_Cnsnt_Header:".consent-hdr",P_Acc_Header:".accordion-header",P_Sel_All_Vendor_Consent_Handler:"#select-all-vendor-leg-handler",P_Sel_All_Vendor_Leg_Handler:"#select-all-vendor-groups-handler",P_Sel_All_Host_Handler:"#select-all-hosts-groups-handler",P_Sel_All_Host_El:"select-all-hosts-input-container",P_Sel_All_Vendor_Consent_El:"select-all-vendors-input-container",P_Sel_All_Vendor_Leg_El:"select-all-vendors-leg-input-container",P_c_Name:"cookie-name-container",P_c_Host:"cookie-host-container",P_c_Duration:"cookie-duration-container",P_c_Type:"cookie-type-container",P_c_Category:"cookie-category-container",P_c_Desc:"cookie-description-container",P_Host_View_Cookies:".host-view-cookies",P_Vendor_CheckBx:"vendor-chkbox",P_Vendor_LegCheckBx:"vendor-leg-chkbox",P_Host_UI:"hosts-list",P_Host_Cnt:"host-list-content",P_Host_Bx:"host-box",P_Ven_Lst_Cntr:".category-vendors-list-container",P_Host_Lst_cntr:".category-host-list-container",P_Subgrp_Desc:".cookie-subgroups-description-legal",P_Subgp_ul:".cookie-subgroups",P_Subgrp_li:".cookie-subgroup",P_Subgrp_Tgl_Cntr:".cookie-subgroup-toggle",P_Active_Menu:"active-group",P_Tab_Grp_Hdr:"group-toggle",P_Search_Cntr:"#search-container",P_Clr_Fltr_Txt:"#clear-filters-handler p",P_Vendor_Search_Input:"#vendor-search-handler"},qt={GroupTypes:{Cookie:"COOKIE",Bundle:"BRANCH",Ft:"IAB2_FEATURE",Pur:"IAB2_PURPOSE",Spl_Ft:"IAB2_SPL_FEATURE",Spl_Pur:"IAB2_SPL_PURPOSE",Stack:"IAB2_STACK"},IdPatterns:{Pur:"IABV2_",Ft:"IFEV2_",Spl_Pur:"ISPV2_",Spl_Ft:"ISFV2_"}},Mt={GroupTypes:{Cookie:"COOKIE",Bundle:"BRANCH",Ft:"IAB2V2_FEATURE",Pur:"IAB2V2_PURPOSE",Spl_Ft:"IAB2V2_SPL_FEATURE",Spl_Pur:"IAB2V2_SPL_PURPOSE",Stack:"IAB2V2_STACK"},IdPatterns:{Pur:"IAB2V2_",Ft:"IFE2V2_",Spl_Pur:"ISP2V2_",Spl_Ft:"ISF2V2_"}};t.prototype.getPurposeOneGrpId=function(){return f.IdPatterns.Pur+"1"},t.prototype.setRegionRule=function(e){this.rule=e},t.prototype.getRegionRule=function(){return this.rule},t.prototype.getRegionRuleType=function(){return this.multiVariantTestingEnabled&&this.selectedVariant?this.selectedVariant.TemplateType:this.conditionalLogicEnabled&&!this.allConditionsFailed?this.Condition.TemplateType:this.rule.Type},t.prototype.canUseGoogleVendors=function(e){return!!e&&(this.conditionalLogicEnabled&&!this.allConditionsFailed?this.Condition:this.rule).UseGoogleVendors},t.prototype.initVariables=function(){this.consentableGrps=[],this.consentableIabGrps=[],this.iabGrps=[],this.iabGrpIdMap={},this.domainGrps={},this.iabGroups={purposes:{},legIntPurposes:{},specialPurposes:{},features:{},specialFeatures:{}}},t.prototype.init=function(e){this.getGPCSignal(),this.initVariables();var t=e.DomainData;this.setPublicDomainData(JSON.parse(JSON.stringify(t))),this.domainDataMapper(t),this.commonDataMapper(e.CommonData),T.NtfyConfig=e.NtfyConfig||{},this.setBannerName(),this.setPcName(),this.populateGPCSignal(),this.populateGPCBrowserSignal(),T.GoogleConsent.GCEnable&&this.initGCM()},t.prototype.getGPCSignal=function(){this.gpcEnabled=!0===navigator.globalPrivacyControl},t.prototype.isValidConsentNoticeGroup=function(e,t){var o,n,r,i,s;return!!e.ShowInPopup&&(o=this.isGroupHasCookies(e),i=r=n=!1,null!=(s=e)&&s.Parent||(e.SubGroups.length&&(n=e.SubGroups.some(function(e){return e.GroupName&&e.ShowInPopup&&e.FirstPartyCookies.length}),r=e.SubGroups.some(function(e){return e.GroupName&&e.ShowInPopup&&(e.Hosts.length||e.GeneralVendorsIds&&e.GeneralVendorsIds.length)}),!t||e.FirstPartyCookies.length&&e.Hosts.length||(i=!e.SubGroups.some(function(e){return-1===Ot.indexOf(e.Type)}))),s=e.SubGroups.some(function(e){return-1<Ot.indexOf(e.Type)}),(-1<Ot.indexOf(e.Type)||s)&&(e.ShowVendorList=!0),(e.Hosts.length||r||n)&&(e.ShowHostList=!0)),this.isValidGroup(o,e,n,r,i))},t.prototype.isValidGroup=function(e,t,o,n,r){return e||-1<Ot.indexOf(t.Type)||o||n||r},t.prototype.isGroupHasCookies=function(e){return e.FirstPartyCookies.length||e.Hosts.length||e.GeneralVendorsIds&&e.GeneralVendorsIds.length||e.VendorServices&&e.VendorServices.length},t.prototype.extractGroupIdForIabGroup=function(e){return-1<e.indexOf(f.IdPatterns.Spl_Pur)?e=e.replace(f.IdPatterns.Spl_Pur,""):-1<e.indexOf(f.IdPatterns.Pur)?e=e.replace(f.IdPatterns.Pur,""):-1<e.indexOf(f.IdPatterns.Ft)?e=e.replace(f.IdPatterns.Ft,""):-1<e.indexOf(f.IdPatterns.Spl_Ft)&&(e=e.replace(f.IdPatterns.Spl_Ft,"")),e},t.prototype.isIabGrpAndNonConsentable=function(e){var t=f.GroupTypes;return!this.isIab2orv2Template&&-1<Ot.indexOf(e.Type)||this.isIab2orv2Template&&(e.Type===t.Pur||e.Type===t.Stack)&&!e.HasConsentOptOut&&!e.HasLegIntOptOut||e.Type===t.Spl_Ft&&!e.HasConsentOptOut},t.prototype.populateGroups=function(e,t){var r=this,i={},s=[],a=f.GroupTypes,o=(e.forEach(function(e){var t=e.CustomGroupId;if(void 0!==e.HasConsentOptOut&&e.IsIabPurpose||(e.HasConsentOptOut=!0),!r.isIabGrpAndNonConsentable(e)&&(t!==P.getPurposeOneGrpId()||e.ShowInPopup||(r.purposeOneTreatment=!0),r.grpContainLegalOptOut=e.HasLegIntOptOut||r.grpContainLegalOptOut,e.SubGroups=[],e.Parent?s.push(e):i[t]=e,r.isIab2orv2Template)&&-1<Ot.indexOf(e.Type)){var o=r.extractGroupIdForIabGroup(t),n=(r.iabGrpIdMap[t]=o,e.IabGrpId=o,{description:e.GroupDescription,descriptionLegal:e.DescriptionLegal,id:Number(o),name:e.GroupName});switch(e.Type){case a.Pur:r.iabGroups.purposes[o]=n;break;case a.Spl_Pur:r.iabGroups.specialPurposes[o]=n;break;case a.Ft:r.iabGroups.features[o]=n;break;case a.Spl_Ft:r.iabGroups.specialFeatures[o]=n}}}),s.forEach(function(e){i[e.Parent]&&e.ShowInPopup&&(e.FirstPartyCookies.length||e.Hosts.length||e.GeneralVendorsIds&&e.GeneralVendorsIds.length||-1<Ot.indexOf(e.Type))&&i[e.Parent].SubGroups.push(e)}),[]);return Object.keys(i).forEach(function(e){r.isValidConsentNoticeGroup(i[e],t.IsIabEnabled)&&(i[e].SubGroups.sort(function(e,t){return e.Order-t.Order}),o.push(i[e]))}),this.initGrpVar(o),o.sort(function(e,t){return e.Order-t.Order})},t.prototype.isGrpConsentable=function(e){var t=f.GroupTypes;return e.Type===t.Cookie||e.Type===t.Pur||e.Type===t.Spl_Ft},t.prototype.initGrpVar=function(e){var o=this,n=!0,r=!0;e.forEach(function(e){M([e],e.SubGroups).forEach(function(e){var t;o.isGrpConsentable(e)&&(o.domainGrps[e.PurposeId.toLowerCase()]=e.CustomGroupId),-1<Bt.indexOf(e.Type)&&o.consentableGrps.push(e),-1<wt.indexOf(e.Type)&&o.consentableIabGrps.push(e),-1===Bt.indexOf(e.Type)&&o.iabGrps.push(e),o.gpcEnabled&&e.IsGpcEnabled&&(e.Status=et),(t=o.DNTEnabled&&e.IsDntEnabled?tt:e.Status.toLowerCase())!==$e&&t!==Ze&&t!==tt||(n=!1),t!==Ze&&t!==Qe&&(r=!1),o.gpcForAGrpEnabled||(o.gpcForAGrpEnabled=e.IsGpcEnabled)})}),this.isOptInMode=n,this.isSoftOptInMode=r},t.prototype.domainDataMapper=function(e){var t={AriaClosePreferences:e.AriaClosePreferences,AriaOpenPreferences:e.AriaOpenPreferences,AriaPrivacy:e.AriaPrivacy,CenterRounded:e.CenterRounded,Flat:e.Flat,FloatingFlat:e.FloatingFlat,FloatingRounded:e.FloatingRounded,FloatingRoundedCorner:e.FloatingRoundedCorner,FloatingRoundedIcon:e.FloatingRoundedIcon,VendorLevelOptOut:e.IsIabEnabled,AboutCookiesText:e.AboutCookiesText,AboutLink:e.AboutLink,AboutText:e.AboutText,ActiveText:e.ActiveText,AddLinksToCookiepedia:e.AddLinksToCookiepedia,AlertAllowCookiesText:e.AlertAllowCookiesText,AlertCloseText:e.AlertCloseText,AlertLayout:e.AlertLayout,AlertMoreInfoText:e.AlertMoreInfoText,AlertNoticeText:e.AlertNoticeText,AllowAllText:e.PreferenceCenterConfirmText,AlwaysActiveText:e.AlwaysActiveText,BannerAdditionalDescPlacement:e.BannerAdditionalDescPlacement,BannerAdditionalDescription:e.BannerAdditionalDescription,BannerCloseButtonText:e.BannerCloseButtonText,BannerFeatureDescription:e.BannerFeatureDescription,BannerFeatureTitle:e.BannerFeatureTitle,BannerIABPartnersLink:e.BannerIABPartnersLink,BannerInformationDescription:e.BannerInformationDescription,BannerInformationTitle:e.BannerInformationTitle,BannerNonIABVendorListText:e.BannerNonIABVendorListText,BannerPosition:e.BannerPosition,BannerPurposeDescription:e.BannerPurposeDescription,BannerPurposeTitle:e.BannerPurposeTitle,BannerRejectAllButtonText:e.BannerRejectAllButtonText,BannerRelativeFontSizesToggle:e.BannerRelativeFontSizesToggle,BannerSettingsButtonDisplayLink:e.BannerSettingsButtonDisplayLink,BannerShowRejectAllButton:e.BannerShowRejectAllButton,BShowOptOutSignal:e.BShowOptOutSignal,BOptOutSignalText:e.BOptOutSignalText,BRegionAriaLabel:e.BRegionAriaLabel,BannerTitle:e.BannerTitle,BCloseButtonType:e.BCloseButtonType,BContinueText:e.BContinueText,BCookiePolicyLinkScreenReader:e.BCookiePolicyLinkScreenReader,BnrLogoAria:e.BnrLogoAria,BImprintLinkScreenReader:e.BImprintLinkScreenReader,BInitialFocus:e.BInitialFocus,BInitialFocusLinkAndButton:e.BInitialFocusLinkAndButton,BRejectConsentType:e.BRejectConsentType,BSaveBtnTxt:e.BSaveBtnText,BShowImprintLink:e.BShowImprintLink,BShowPolicyLink:e.BShowPolicyLink,BShowSaveBtn:e.BShowSaveBtn,cctId:e.cctId,ChoicesBanner:e.ChoicesBanner,CloseShouldAcceptAllCookies:e.CloseShouldAcceptAllCookies,CloseText:e.CloseText,ConfirmText:e.ConfirmText,ConsentModel:{Name:e.ConsentModel},CookieListDescription:e.CookieListDescription,CookieListTitle:e.CookieListTitle,CookieSettingButtonText:e.CookieSettingButtonText,CookiesUsedText:e.CookiesUsedText,CustomJs:e.CustomJs,firstPartyTxt:e.CookieFirstPartyText,FooterDescriptionText:e.FooterDescriptionText,ForceConsent:e.ForceConsent,GeneralVendors:e.GeneralVendors,GeneralVendorsEnabled:e.PCenterUseGeneralVendorsToggle,GenVenOptOut:e.PCenterAllowVendorOptout,GlobalRestrictionEnabled:e.GlobalRestrictionEnabled,GlobalRestrictions:e.GlobalRestrictions,GoogleConsent:{GCAdStorage:e.GCAdStorage,GCAnalyticsStorage:e.GCAnalyticsStorage,GCEnable:e.GCEnable,GCFunctionalityStorage:e.GCFunctionalityStorage,GCPersonalizationStorage:e.GCPersonalizationStorage,GCRedactEnable:e.GCRedactEnable,GCSecurityStorage:e.GCSecurityStorage,GCWaitTime:e.GCWaitTime},GroupGenVenListLabel:e.PCenterGeneralVendorThirdPartyCookiesText,Groups:this.populateGroups(e.Groups,e),HideToolbarCookieList:e.HideToolbarCookieList,IabType:e.IabType,InactiveText:e.InactiveText,IsConsentLoggingEnabled:e.IsConsentLoggingEnabled,IsIabEnabled:e.IsIabEnabled,IsIabThirdPartyCookieEnabled:e.IsIabThirdPartyCookieEnabled,IsLifespanEnabled:e.IsLifespanEnabled,Language:e.Language,LastReconsentDate:e.LastReconsentDate,LfSpanSecs:e.PCLifeSpanSecs,LfSpnWk:e.PCLifeSpanWk,LfSpnWks:e.PCLifeSpanWks,LfSpnYr:e.PCLifeSpanYr,LfSpnYrs:e.PCLifeSpanYrs,LifespanDurationText:e.LifespanDurationText,MainInfoText:e.MainInfoText,MainText:e.MainText,ManagePreferenceText:e.PreferenceCenterManagePreferencesText,NewVendorsInactiveEnabled:e.NewVendorsInactiveEnabled,NewWinTxt:e.PreferenceCenterMoreInfoScreenReader,NextPageAcceptAllCookies:e.NextPageAcceptAllCookies,NextPageCloseBanner:e.NextPageCloseBanner,NoBanner:e.NoBanner,OnClickAcceptAllCookies:e.OnClickAcceptAllCookies,OnClickCloseBanner:e.OnClickCloseBanner,OverriddenVendors:null!=(t=e.OverriddenVendors)?t:{},OverridenGoogleVendors:null!=(t=e.OverridenGoogleVendors)?t:{},Publisher:e.publisher,PublisherCC:e.PublisherCC,ReconsentFrequencyDays:e.ReconsentFrequencyDays,ScrollAcceptAllCookies:e.ScrollAcceptAllCookies,ScrollCloseBanner:e.ScrollCloseBanner,ShowAlertNotice:e.ShowAlertNotice,showBannerCloseButton:e.showBannerCloseButton,ShowPreferenceCenterCloseButton:e.ShowPreferenceCenterCloseButton,ThirdPartyCookieListText:e.ThirdPartyCookieListText,thirdPartyTxt:e.CookieThirdPartyText,UseGoogleVendors:this.canUseGoogleVendors(e.PCTemplateUpgrade),VendorConsentModel:e.VendorConsentModel,VendorListText:e.VendorListText,Vendors:e.Vendors,PCCategoryStyle:e.PCCategoryStyle||ve.Checkbox,PCShowAlwaysActiveToggle:e.PCShowAlwaysActiveToggle,PCenterImprintLinkScreenReader:e.PCenterImprintLinkScreenReader,PCenterImprintLinkText:e.PCenterImprintLinkText,PCenterImprintLinkUrl:e.PCenterImprintLinkUrl,PCShowOptOutSignal:e.PCShowOptOutSignal,PCOptOutSignalText:e.PCOptOutSignalText,PCRegionAriaLabel:e.PCRegionAriaLabel,PCHostNotFound:e.PCHostNotFound,PCVendorNotFound:e.PCVendorNotFound,PCTechNotFound:e.PCTechNotFound};this.setPCDomainData(t,e),this.setAdditionalTechnologies(t,e),this.setVendorServiceConfigData(t,e),this.setDomainCommonDataDefaults(t,e),this.setDomainPCDataDefaults(t,e),this.setGppData(t,e),e.PCTemplateUpgrade&&(e.Center||e.Panel)&&(t.PCAccordionStyle=e.PCAccordionStyle),t.PCenterEnableAccordion=e.PCAccordionStyle!==ce.NoAccordion,this.legIntSettings=e.LegIntSettings||{},void 0===this.legIntSettings.PAllowLI&&(this.legIntSettings.PAllowLI=!0),k.moduleInitializer.MobileSDK||(this.pagePushedDown=e.BannerPushesDownPage),T=F(F({},T),t)},t.prototype.setGppData=function(e,t){e.GPPPurposes=F({},t.GPPPurposes),e.IsGPPDataProcessingApplicable=t.IsGPPDataProcessingApplicable,e.IsGPPEnabled=t.IsGPPEnabled,e.IsGPPKnownChildApplicable=t.IsGPPKnownChildApplicable,e.IsMSPAEnabled=t.IsMSPAEnabled,e.MSPAOptionMode=t.MSPAOptionMode,e.UseGPPUSNational=t.UseGPPUSNational},t.prototype.setPCDomainData=function(e,t){e.PCAccordionStyle=ce.Caret,e.PCActiveText=t.PCActiveText,e.PCCloseButtonType=t.PCCloseButtonType,e.PCContinueText=t.PCContinueText,e.PCCookiePolicyLinkScreenReader=t.PCCookiePolicyLinkScreenReader,e.PCCookiePolicyText=t.PCCookiePolicyText,e.PCenterAllowAllConsentText=t.PCenterAllowAllConsentText,e.PCenterApplyFiltersText=t.PCenterApplyFiltersText,e.PCenterBackText=t.PCenterBackText,e.PCenterCancelFiltersText=t.PCenterCancelFiltersText,e.PCenterClearFiltersText=t.PCenterClearFiltersText,e.PCenterCookiesListText=t.PCenterCookiesListText,e.PCenterEnableAccordion=t.PCenterEnableAccordion,e.PCenterFilterText=t.PCenterFilterText,e.PCenterGeneralVendorsText=t.PCenterGeneralVendorsText,e.PCenterRejectAllButtonText=t.PCenterRejectAllButtonText,e.PCenterSelectAllVendorsText=t.PCenterSelectAllVendorsText,e.PCenterShowRejectAllButton=t.PCenterShowRejectAllButton,e.PCenterUserIdDescriptionText=t.PCenterUserIdDescriptionText,e.PCenterUserIdNotYetConsentedText=t.PCenterUserIdNotYetConsentedText,e.PCenterUserIdTimestampTitleText=t.PCenterUserIdTimestampTitleText,e.PCenterUserIdTitleText=t.PCenterUserIdTitleText,e.PCenterVendorListDescText=t.PCenterVendorListDescText,e.PCenterVendorListDisclosure=t.PCenterVendorListDisclosure,e.PCenterVendorListLifespan=t.PCenterVendorListLifespan,e.PCenterVendorListLifespanDay=t.PCenterVendorListLifespanDay,e.PCenterVendorListLifespanDays=t.PCenterVendorListLifespanDays,e.PCenterVendorListLifespanMonth=t.PCenterVendorListLifespanMonth,e.PCenterVendorListLifespanMonths=t.PCenterVendorListLifespanMonths,e.PCenterVendorListNonCookieUsage=t.PCenterVendorListNonCookieUsage,e.PCenterVendorListStorageDomain=t.PCenterVendorListStorageDomain,e.PCVLSDomainsUsed=t.PCVLSDomainsUsed,e.PCVLSUse=t.PCVLSUse,e.PCenterVendorListStorageIdentifier=t.PCenterVendorListStorageIdentifier,e.PCenterVendorListStoragePurposes=t.PCenterVendorListStoragePurposes,e.PCenterVendorListStorageType=t.PCenterVendorListStorageType,e.PCenterVendorsListText=t.PCenterVendorsListText,e.PCenterViewPrivacyPolicyText=t.PCenterViewPrivacyPolicyText,e.PCGoogleVendorsText=t.PCGoogleVendorsText,e.PCGrpDescLinkPosition=t.PCGrpDescLinkPosition,e.PCGrpDescType=t.PCGrpDescType,e.PCGVenPolicyTxt=t.PCGeneralVendorsPolicyText,e.PCIABVendorsText=t.PCIABVendorsText,e.PCInactiveText=t.PCInactiveText,e.PCLogoAria=t.PCLogoScreenReader,e.PCOpensCookiesDetailsAlert=t.PCOpensCookiesDetailsAlert,e.PCenterVendorListScreenReader=t.PCenterVendorListScreenReader,e.PCOpensVendorDetailsAlert=t.PCOpensVendorDetailsAlert,e.PCenterDynamicRenderingEnable=t.PCenterDynamicRenderingEnable,e.PCTemplateUpgrade=t.PCTemplateUpgrade,e.PCVendorFullLegalText=t.PCVendorFullLegalText,e.PCViewCookiesText=t.PCViewCookiesText,e.PCLayout={Center:t.Center,List:t.List,Panel:t.Panel,Popup:t.Popup,Tab:t.Tab},e.PCenterVendorListLinkText=t.PCenterVendorListLinkText,e.PCenterVendorListLinkAriaLabel=t.PCenterVendorListLinkAriaLabel,e.PreferenceCenterPosition=t.PreferenceCenterPosition,e.PCVendorsCountText=t.PCVendorsCountText},t.prototype.setVendorServiceConfigData=function(e,t){e.VendorServiceConfig={PCVSOptOut:t.PCVSOptOut,PCVSEnable:t.PCVSEnable,PCVSExpandCategory:t.PCVSExpandCategory,PCVSExpandGroup:t.PCVSExpandGroup,PCVSCategoryView:t.PCVSCategoryView,PCVSNameText:t.PCVSNameText,PCVSAllowAllText:t.PCVSAllowAllText,PCVSListTitle:t.PCVSListTitle,PCVSParentCompanyText:t.PCVSParentCompanyText,PCVSAddressText:t.PCVSAddressText,PCVSDefaultCategoryText:t.PCVSDefaultCategoryText,PCVSDefaultDescriptionText:t.PCVSDefaultDescriptionText,PCVSDPOEmailText:t.PCVSDPOEmailText,PCVSDPOLinkText:t.PCVSDPOLinkText,PCVSPrivacyPolicyLinkText:t.PCVSPrivacyPolicyLinkText,PCVSCookiePolicyLinkText:t.PCVSCookiePolicyLinkText,PCVSOptOutLinkText:t.PCVSOptOutLinkText,PCVSLegalBasisText:t.PCVSLegalBasisText}},t.prototype.setAdditionalTechnologies=function(e,t){e.AdditionalTechnologiesConfig={PCShowTrackingTech:t.PCShowTrackingTech,PCCookiesLabel:t.PCCookiesLabel,PCTechDetailsText:t.PCTechDetailsText,PCTrackingTechTitle:t.PCTrackingTechTitle,PCLocalStorageLabel:t.PCLocalStorageLabel,PCSessionStorageLabel:t.PCSessionStorageLabel,PCTechDetailsAriaLabel:t.PCTechDetailsAriaLabel,PCLocalStorageDurationText:t.PCLocalStorageDurationText,PCSessionStorageDurationText:t.PCSessionStorageDurationText}},t.prototype.setDomainCommonDataDefaults=function(e,t){e.AdvancedAnalyticsCategory=t.AdvancedAnalyticsCategory||"",e.BannerDPDDescription=t.BannerDPDDescription||[],e.BannerDPDDescriptionFormat=t.BannerDPDDescriptionFormat||"",e.BannerDPDTitle=t.BannerDPDTitle||"",e.CategoriesText=t.CategoriesText||"Categories",e.CookiesText=t.CookiesText||"Cookies",e.CookiesDescText=t.CookiesDescText||"Description",e.LifespanText=t.LifespanText||"Lifespan",e.LifespanTypeText=t.LifespanTypeText||"Session",e.PCenterConsentText=t.PCenterConsentText||"Consent"},t.prototype.setDomainPCDataDefaults=function(e,t){e.PCenterCookieListFilterAria=t.PCenterCookieListFilterAria||"Filter",e.PCenterCookieListSearch=t.PCenterCookieListSearch||"Search",e.PCenterCookieSearchAriaLabel=t.PCenterCookieSearchAriaLabel||"Cookie list search",e.PCenterFilterAppliedAria=t.PCenterFilterAppliedAria||"Applied",e.PCenterFilterClearedAria=t.PCenterFilterClearedAria||"Filters Cleared",e.PCenterLegIntColumnHeader=t.PCenterLegIntColumnHeader||"Legitimate Interest",e.PCenterLegitInterestText=t.PCenterLegitInterestText||"Legitimate Interest",e.PCenterVendorListFilterAria=t.PCenterVendorListFilterAria||"Filter",e.PCenterVendorListSearch=t.PCenterVendorListSearch||"Search",e.PCenterVendorSearchAriaLabel=t.PCenterVendorSearchAriaLabel||"Vendor list search",e.PCFirstPartyCookieListText=t.PCFirstPartyCookieListText||"First Party Cookies",e.PCShowConsentLabels=!(!t.Tab||!t.PCTemplateUpgrade)&&t.PCShowConsentLabels,e.PCShowPersistentCookiesHoverButton=t.PCShowPersistentCookiesHoverButton||!1},t.prototype.commonDataMapper=function(e){var t={iabThirdPartyConsentUrl:e.IabThirdPartyCookieUrl,optanonHideAcceptButton:e.OptanonHideAcceptButton,optanonHideCookieSettingButton:e.OptanonHideCookieSettingButton,optanonStyle:e.OptanonStyle,optanonStaticContentLocation:e.OptanonStaticContentLocation,bannerCustomCSS:e.BannerCustomCSS.replace(/\\n/g,""),pcCustomCSS:e.PCCustomCSS.replace(/\\n/g,""),textColor:e.TextColor,buttonColor:e.ButtonColor,buttonTextColor:e.ButtonTextColor,bannerMPButtonColor:e.BannerMPButtonColor,bannerMPButtonTextColor:e.BannerMPButtonTextColor,backgroundColor:e.BackgroundColor,bannerAccordionBackgroundColor:e.BannerAccordionBackgroundColor,BContinueColor:e.BContinueColor,PCContinueColor:e.PCContinueColor,pcTextColor:e.PcTextColor,pcButtonColor:e.PcButtonColor,pcButtonTextColor:e.PcButtonTextColor,pcAccordionBackgroundColor:e.PcAccordionBackgroundColor,pcLinksTextColor:e.PcLinksTextColor,bannerLinksTextColor:e.BannerLinksTextColor,pcEnableToggles:e.PcEnableToggles,pcBackgroundColor:e.PcBackgroundColor,pcMenuColor:e.PcMenuColor,pcMenuHighLightColor:e.PcMenuHighLightColor,legacyBannerLayout:e.LegacyBannerLayout,optanonLogo:e.OptanonLogo,oneTrustFtrLogo:e.OneTrustFooterLogo,optanonCookieDomain:e.OptanonCookieDomain,cookiePersistentLogo:e.CookiePersistentLogo,optanonGroupIdPerformanceCookies:e.OptanonGroupIdPerformanceCookies,optanonGroupIdFunctionalityCookies:e.OptanonGroupIdFunctionalityCookies,optanonGroupIdTargetingCookies:e.OptanonGroupIdTargetingCookies,optanonGroupIdSocialCookies:e.OptanonGroupIdSocialCookies,optanonShowSubGroupCookies:e.ShowSubGroupCookies,useRTL:e.UseRTL,showBannerCookieSettings:e.ShowBannerCookieSettings,showBannerAcceptButton:e.ShowBannerAcceptButton,showCookieList:e.ShowCookieList,allowHostOptOut:e.AllowHostOptOut,CookiesV2NewCookiePolicy:e.CookiesV2NewCookiePolicy,cookieListTitleColor:e.CookieListTitleColor,cookieListGroupNameColor:e.CookieListGroupNameColor,cookieListTableHeaderColor:e.CookieListTableHeaderColor,CookieListTableHeaderBackgroundColor:e.CookieListTableHeaderBackgroundColor,cookieListPrimaryColor:e.CookieListPrimaryColor,cookieListCustomCss:e.CookieListCustomCss,pcShowCookieHost:e.PCShowCookieHost,pcShowCookieDuration:e.PCShowCookieDuration,pcShowCookieType:e.PCShowCookieType,pcShowCookieCategory:e.PCShowCookieCategory,pcShowCookieDescription:e.PCShowCookieDescription,ConsentIntegration:e.ConsentIntegration,ConsentPurposesText:e.BConsentPurposesText||"Consent Purposes",FeaturesText:e.BFeaturesText||"Features",LegitimateInterestPurposesText:e.BLegitimateInterestPurposesText||"Legitimate Interest Purposes",ConsentText:e.BConsentText||"Consent",LegitInterestText:e.BLegitInterestText||"Legit. Interest",pcDialogClose:e.PCDialogClose||"dialog closed",pCFooterLogoUrl:e.PCFooterLogoUrl,SpecialFeaturesText:e.BSpecialFeaturesText||"Special Features",SpecialPurposesText:e.BSpecialPurposesText||"Special Purposes",pcCListName:e.PCCListName||"Name",pcCListHost:e.PCCListHost||"Host",pcCListDuration:e.PCCListDuration||"Duration",pcCListType:e.PCCListType||"Type",pcCListCategory:e.PCCListCategory||"Category",pcCListDescription:e.PCCListDescription||"Description",IabLegalTextUrl:e.IabLegalTextUrl,pcLegIntButtonColor:e.PcLegIntButtonColor,pcLegIntButtonTextColor:e.PcLegIntButtonTextColor,PCenterExpandToViewText:e.PCenterExpandToViewText,BCategoryContainerColor:e.BCategoryContainerColor,BCategoryStyleColor:e.BCategoryStyleColor,BLineBreakColor:e.BLineBreakColor,BSaveBtnColor:e.BSaveBtnColor,BCategoryStyle:e.BCategoryStyle,BAnimation:e.BAnimation,BFocusBorderColor:e.BFocusBorderColor,PCFocusBorderColor:e.PCFocusBorderColor,BnrLogo:e.BnrLogo,OTCloseBtnLogo:e.OTCloseBtnLogo,OTExternalLinkLogo:e.OTExternalLinkLogo};this.cookieListMapper(t,e),T=F(F({},T),t),this.pubDomainData.CookiesV2NewCookiePolicy=e.CookiesV2NewCookiePolicy},t.prototype.cookieListMapper=function(e,t){e.TTLGroupByTech=t.TTLGroupByTech,e.TTLShowTechDesc=t.TTLShowTechDesc},t.prototype.setPublicDomainData=function(n){this.pubDomainData={AboutCookiesText:n.AboutCookiesText,AboutLink:n.AboutLink,AboutText:n.AboutText,ActiveText:n.ActiveText,AddLinksToCookiepedia:n.AddLinksToCookiepedia,AlertAllowCookiesText:n.AlertAllowCookiesText,AlertCloseText:n.AlertCloseText,AlertLayout:n.AlertLayout,AlertMoreInfoText:n.AlertMoreInfoText,AlertNoticeText:n.AlertNoticeText,AllowAllText:n.PreferenceCenterConfirmText,AlwaysActiveText:n.AlwaysActiveText,BAnimation:n.BAnimation,BannerCloseButtonText:n.BannerCloseButtonText,BannerDPDDescription:n.BannerDPDDescription||[],BannerDPDDescriptionFormat:n.BannerDPDDescriptionFormat||"",BannerDPDTitle:n.BannerDPDTitle||"",BannerFeatureDescription:n.BannerFeatureDescription,BannerFeatureTitle:n.BannerFeatureTitle,BannerIABPartnersLink:n.BannerIABPartnersLink,BannerInformationDescription:n.BannerInformationDescription,BannerInformationTitle:n.BannerInformationTitle,BannerPosition:n.BannerPosition,BannerPurposeDescription:n.BannerPurposeDescription,BannerPurposeTitle:n.BannerPurposeTitle,BannerRejectAllButtonText:n.BannerRejectAllButtonText,BannerRelativeFontSizesToggle:n.BannerRelativeFontSizesToggle,BannerSettingsButtonDisplayLink:n.BannerSettingsButtonDisplayLink,BannerShowRejectAllButton:n.BannerShowRejectAllButton,BannerTitle:n.BannerTitle,BCategoryContainerColor:n.BCategoryContainerColor,BCategoryStyle:n.BCategoryStyle,BCategoryStyleColor:n.BCategoryStyleColor,BCloseButtonType:n.BCloseButtonType,BContinueText:n.BContinueText,BInitialFocus:n.BInitialFocus,BInitialFocusLinkAndButton:n.BInitialFocusLinkAndButton,BLineBreakColor:n.BLineBreakColor,BRejectConsentType:n.BRejectConsentType,BSaveBtnColor:n.BSaveBtnColor,BSaveBtnTxt:n.BSaveBtnText,BShowSaveBtn:n.BShowSaveBtn,CategoriesText:n.CategoriesText,cctId:n.cctId,ChoicesBanner:n.ChoicesBanner,CloseShouldAcceptAllCookies:n.CloseShouldAcceptAllCookies,CloseText:n.CloseText,ConfirmText:n.ConfirmText,ConsentIntegrationData:null,ConsentModel:{Name:n.ConsentModel},CookieListDescription:n.CookieListDescription,CookieListTitle:n.CookieListTitle,CookieSettingButtonText:n.CookieSettingButtonText,CookiesText:n.CookiesText,CookiesDescText:n.CookiesDescText,CookiesUsedText:n.CookiesUsedText,CustomJs:n.CustomJs,Domain:k.moduleInitializer.Domain,FooterDescriptionText:n.FooterDescriptionText,ForceConsent:n.ForceConsent,GeneralVendors:n.GeneralVendors,GoogleConsent:{GCAdStorage:n.GCAdStorage,GCAnalyticsStorage:n.GCAnalyticsStorage,GCEnable:n.GCEnable,GCFunctionalityStorage:n.GCFunctionalityStorage,GCPersonalizationStorage:n.GCPersonalizationStorage,GCRedactEnable:n.GCRedactEnable,GCSecurityStorage:n.GCSecurityStorage,GCWaitTime:n.GCWaitTime},Groups:null,HideToolbarCookieList:n.HideToolbarCookieList,IabType:n.IabType,InactiveText:n.InactiveText,IsBannerLoaded:!1,IsConsentLoggingEnabled:n.IsConsentLoggingEnabled,IsIABEnabled:n.IsIabEnabled,IsIabThirdPartyCookieEnabled:n.IsIabThirdPartyCookieEnabled,IsLifespanEnabled:n.IsLifespanEnabled,Language:n.Language,LastReconsentDate:n.LastReconsentDate,LifespanDurationText:n.LifespanDurationText,LifespanText:n.LifespanText,LifespanTypeText:n.LifespanTypeText,MainInfoText:n.MainInfoText,MainText:n.MainText,ManagePreferenceText:n.PreferenceCenterManagePreferencesText,NextPageAcceptAllCookies:n.NextPageAcceptAllCookies,NextPageCloseBanner:n.NextPageCloseBanner,NoBanner:n.NoBanner,OnClickAcceptAllCookies:n.OnClickAcceptAllCookies,OnClickCloseBanner:n.OnClickCloseBanner,OverridenGoogleVendors:n.OverridenGoogleVendors,PCAccordionStyle:ce.Caret,PCCloseButtonType:n.PCCloseButtonType,PCContinueText:n.PCContinueText,PCenterAllowAllConsentText:n.PCenterAllowAllConsentText,PCenterApplyFiltersText:n.PCenterApplyFiltersText,PCenterBackText:n.PCenterBackText,PCenterCancelFiltersText:n.PCenterCancelFiltersText,PCenterClearFiltersText:n.PCenterClearFiltersText,PCenterCookieSearchAriaLabel:n.PCenterCookieSearchAriaLabel||"Cookie list search",PCenterCookiesListText:n.PCenterCookiesListText,PCenterEnableAccordion:n.PCenterEnableAccordion,PCenterExpandToViewText:n.PCenterExpandToViewText,PCenterFilterAppliedAria:n.PCenterFilterAppliedAria||"Applied",PCenterFilterClearedAria:n.PCenterFilterClearedAria||"Filters Cleared",PCenterFilterText:n.PCenterFilterText,PCenterRejectAllButtonText:n.PCenterRejectAllButtonText,PCenterSelectAllVendorsText:n.PCenterSelectAllVendorsText,PCenterShowRejectAllButton:n.PCenterShowRejectAllButton,PCenterUserIdDescriptionText:n.PCenterUserIdDescriptionText,PCenterUserIdNotYetConsentedText:n.PCenterUserIdNotYetConsentedText,PCenterUserIdTimestampTitleText:n.PCenterUserIdTimestampTitleText,PCenterUserIdTitleText:n.PCenterUserIdTitleText,PCenterVendorListDescText:n.PCenterVendorListDescText,PCenterVendorSearchAriaLabel:n.PCenterVendorSearchAriaLabel||"Vendor list search",PCenterVendorsListText:n.PCenterVendorsListText,PCenterViewPrivacyPolicyText:n.PCenterViewPrivacyPolicyText,PCFirstPartyCookieListText:n.PCFirstPartyCookieListText,PCGoogleVendorsText:n.PCGoogleVendorsText,PCGrpDescLinkPosition:n.PCGrpDescLinkPosition,PCGrpDescType:n.PCGrpDescType,PCIABVendorsText:n.PCIABVendorsText,PCLogoAria:n.PCLogoScreenReader,PCOpensCookiesDetailsAlert:n.PCOpensCookiesDetailsAlert,PCenterVendorListScreenReader:n.PCenterVendorListScreenReader,PCOpensVendorDetailsAlert:n.PCOpensVendorDetailsAlert,PCShowPersistentCookiesHoverButton:n.PCShowPersistentCookiesHoverButton,PCenterDynamicRenderingEnable:n.PCenterDynamicRenderingEnable,PCTemplateUpgrade:n.PCTemplateUpgrade,PCVendorFullLegalText:n.PCVendorFullLegalText,PCViewCookiesText:n.PCViewCookiesText,PCLayout:{Center:n.Center,List:n.List,Panel:n.Panel,Popup:n.Popup,Tab:n.Tab},PCenterVendorListLinkText:n.PCenterVendorListLinkText,PCenterVendorListLinkAriaLabel:n.PCenterVendorListLinkAriaLabel,PCenterImprintLinkScreenReader:n.PCenterImprintLinkScreenReader,PCenterImprintLinkText:n.PCenterImprintLinkText,PCenterImprintLinkUrl:n.PCenterImprintLinkUrl,PreferenceCenterPosition:n.PreferenceCenterPosition,ScrollAcceptAllCookies:n.ScrollAcceptAllCookies,ScrollCloseBanner:n.ScrollCloseBanner,ShowAlertNotice:n.ShowAlertNotice,showBannerCloseButton:n.showBannerCloseButton,ShowPreferenceCenterCloseButton:n.ShowPreferenceCenterCloseButton,ThirdPartyCookieListText:n.ThirdPartyCookieListText,UseGoogleVendors:this.canUseGoogleVendors(n.PCTemplateUpgrade),VendorConsentModel:n.VendorConsentModel,VendorLevelOptOut:n.IsIabEnabled,VendorListText:n.VendorListText,CookiesV2NewCookiePolicy:!1},n.PCTemplateUpgrade&&(n.Center||n.Panel)&&n.PCAccordionStyle!==ce.NoAccordion&&(this.pubDomainData.PCAccordionStyle=n.PCAccordionStyle),this.pubDomainData.PCenterEnableAccordion=n.PCAccordionStyle!==ce.NoAccordion;var r=[];n.Groups.forEach(function(e){var t,o;!n.IsIabEnabled&&e.IsIabPurpose||(e.Cookies=JSON.parse(JSON.stringify(e.FirstPartyCookies)),o=null==(o=e.Hosts)?void 0:o.reduce(function(e,t){return e.concat(JSON.parse(JSON.stringify(t.Cookies)))},[]),(t=e.Cookies).push.apply(t,o),r.push(e))}),this.pubDomainData.Groups=r},t.prototype.setBannerScriptElement=function(e){this.bannerScriptElement=e,this.setDomainElementAttributes()},t.prototype.setGCMcallback=function(){window.otEventListeners&&window.otEventListeners.length&&window.otEventListeners.forEach(function(e){e&&"consent.changed"===e.event&&(P.gcmUpdateCallback=e.listener)})},t.prototype.setDomainElementAttributes=function(){this.bannerScriptElement&&(this.bannerScriptElement.hasAttribute("data-document-language")&&this.setUseDocumentLanguage("true"===this.bannerScriptElement.getAttribute("data-document-language")),this.bannerScriptElement.hasAttribute("data-ignore-ga")&&(this.ignoreGoogleAnlyticsCall="true"===this.bannerScriptElement.getAttribute("data-ignore-ga")),this.bannerScriptElement.hasAttribute("data-ignore-html"))&&(this.ignoreInjectingHtmlCss="true"===this.bannerScriptElement.getAttribute("data-ignore-html"))},t.prototype.setUseDocumentLanguage=function(e){this.useDocumentLanguage=e},t.prototype.setPcName=function(){var e=T.PCLayout;e.Center?this.pcName=yt:e.Panel?this.pcName=kt:e.Popup?this.pcName=mt:e.List?this.pcName=ft:e.Tab&&(this.pcName=g)},t.prototype.setBannerName=function(){T.Flat?this.bannerName=ct:T.FloatingRoundedCorner?this.bannerName=dt:T.FloatingFlat?this.bannerName=pt:T.FloatingRounded?this.bannerName=gt:T.FloatingRoundedIcon?this.bannerName=ut:T.CenterRounded?this.bannerName=lt:T.ChoicesBanner?this.bannerName=ht:T.NoBanner&&(this.bannerName=Ct)},t.prototype.populateGPCSignal=function(){var e=v.readCookieParam(m.OPTANON_CONSENT,Ue),t=this.gpcForAGrpEnabled&&this.gpcEnabled?"1":"0";this.gpcValueChanged=e?e!=t:this.gpcForAGrpEnabled,v.writeCookieParam(m.OPTANON_CONSENT,Ue,t)},t.prototype.populateGPCBrowserSignal=function(){var e=v.readCookieParam(m.OPTANON_CONSENT,je),t=this.gpcEnabled?"1":"0";this.gpcBrowserValueChanged=e!==t,v.writeCookieParam(m.OPTANON_CONSENT,je,t)},t.prototype.initGCM=function(){var o=[],e=(Object.keys(this.rule.States).forEach(function(t){P.rule.States[t].forEach(function(e){o.push((t+"-"+e).toUpperCase())})}),P.rule.Countries.map(function(e){return e.toUpperCase()}));P.gcmCountries=e.concat(o)};var e=t;function t(){var t=this;this.DNTEnabled="yes"===navigator.doNotTrack||"1"===navigator.doNotTrack,this.gpcEnabled=!1,this.gpcForAGrpEnabled=!1,this.pagePushedDown=!1,this.iabGroups={purposes:{},legIntPurposes:{},specialPurposes:{},features:{},specialFeatures:{}},this.iabType=null,this.grpContainLegalOptOut=!1,this.purposeOneTreatment=!1,this.ignoreInjectingHtmlCss=!1,this.ignoreGoogleAnlyticsCall=!1,this.mobileOnlineURL=[],this.iabGrpIdMap={},this.iabGrps=[],this.consentableGrps=[],this.consentableIabGrps=[],this.domainGrps={},this.thirdPartyiFrameLoaded=!1,this.thirdPartyiFrameResolve=null,this.thirdPartyiFramePromise=new Promise(function(e){t.thirdPartyiFrameResolve=e}),this.isOptInMode=!1,this.isSoftOptInMode=!1,this.gpcValueChanged=!1,this.gpcBrowserValueChanged=!1,this.conditionalLogicEnabled=!1,this.allConditionsFailed=!1,this.canUseConditionalLogic=!1,this.gtmUpdatedinStub=!1,this.gcmDevIdSet=!1,this.tcf2ActiveVendors={all:0,pur:new Map,ft:new Map,spl_pur:new Map,spl_ft:new Map}}var P,T={};function Ut(){this.otSDKVersion="202308.1.0",this.isAMP=!1,this.ampData={},this.otCookieData=window.OneTrust&&window.OneTrust.otCookieData||[],this.syncRequired=!1,this.isIabSynced=!1,this.isGacSynced=!1,this.grpsSynced=[],this.syncedValidGrp=!1,this.groupsConsent=[],this.initialGroupsConsent=[],this.hostsConsent=[],this.initialHostConsent=[],this.genVendorsConsent={},this.vsConsent=new Map,this.initialGenVendorsConsent={},this.vendors={list:[],searchParam:"",vendorTemplate:null,selectedVendors:[],selectedPurpose:[],selectedLegInt:[],selectedLegIntVendors:[],selectedSpecialFeatures:[]},this.initialVendors={list:[],searchParam:"",vendorTemplate:null,selectedVendors:[],selectedPurpose:[],selectedLegInt:[],selectedLegIntVendors:[],selectedSpecialFeatures:[]},this.oneTrustIABConsent={purpose:[],legimateInterest:[],features:[],specialFeatures:[],specialPurposes:[],vendors:[],legIntVendors:[],vendorList:null,IABCookieValue:""},this.initialOneTrustIABConsent={purpose:[],legimateInterest:[],features:[],specialFeatures:[],specialPurposes:[],vendors:[],legIntVendors:[],vendorList:null,IABCookieValue:""},this.addtlVendors={vendorConsent:[],vendorSelected:{}},this.initialAddtlVendors={vendorConsent:[],vendorSelected:{}},this.addtlConsentVersion="1~",this.initialAddtlVendorsList={},this.isAddtlConsent=!1,this.currentGlobalFilteredList=[],this.filterByIABCategories=[],this.filterByCategories=[],this.hosts={hostTemplate:null,hostCookieTemplate:null},this.generalVendors={gvTemplate:null,gvCookieTemplate:null},this.oneTrustAlwaysActiveHosts=[],this.alwaysActiveGenVendors=[],this.softOptInGenVendors=[],this.optInGenVendors=[],this.optanonHostList=[],this.srcExecGrps=[],this.htmlExecGrps=[],this.srcExecGrpsTemp=[],this.htmlExecGrpsTemp=[],this.isPCVisible=!1,this.dataGroupState=[],this.userLocation={country:"",state:""},this.vendorsSetting={},this.dsParams={},this.isV2Stub=!1,this.fireOnetrustGrp=!1,this.showVendorService=!1,this.showGeneralVendors=!1,this.genVenOptOutEnabled=!1,this.gpcConsentTxn=!1,this.vsIsActiveAndOptOut=!1,this.bAsset={},this.pcAsset={},this.csBtnAsset={},this.cStyles={},this.vendorDomInit=!1,this.genVendorDomInit=!1,this.syncNtfyContent={},this.ntfyRequired=!1,this.skipAddingHTML=!1,this.bnrAnimationInProg=!1,this.isPreview=!1,this.geoFromUrl="",this.hideBanner=!1,this.setAttributePolyfillIsActive=!1,this.storageBaseURL="",this.isKeyboardUser=!1,this.customerStyles=new Map,this.showTrackingTech=!1,this.currentTrackingTech={}}Ut.prototype.getVendorsInDomain=function(){var e,t;return A._vendorsInDomain||(e=new Map,t=null!=(t=T.Groups)?t:[],A.setVendorServicesMap(t,e),A._vendorsInDomain=e),A._vendorsInDomain},Ut.prototype.setVendorServicesMap=function(e,t){for(var o,n=0,r=e;n<r.length;n++){var i=r[n];i.SubGroups&&0<i.SubGroups.length&&A.setVendorServicesMap(i.SubGroups,t);for(var s=0,a=null!=(o=i.VendorServices)?o:[];s<a.length;s++){var l=a[s],c=Object.assign({},i);delete c.VendorServices,l.groupRef=c,t.set(l.CustomVendorServiceId,l)}}},Ut.prototype.clearVendorsInDomain=function(){A._vendorsInDomain=null};var A=new Ut,jt=(l.insertAfter=function(e,t){t.parentNode.insertBefore(e,t.nextSibling)},l.insertBefore=function(e,t){t.parentNode.insertBefore(e,t)},l.inArray=function(e,t){return t.indexOf(e)},l.ajax=function(e){var t=null,o=new XMLHttpRequest,n=e.type,r=e.url,i=(e.dataType,e.contentType),s=e.data,a=e.success,t=e.error,e=e.sync;o.open(n,r,!e),o.setRequestHeader("Content-Type",i),o.withCredentials=!1,o.onload=function(){var e;200<=this.status&&this.status<400?(e=JSON.parse(this.responseText),a(e)):t({message:"Error Loading Data",statusCode:this.status})},o.onerror=function(e){t(e)},"post"===n.toLowerCase()||"put"===n.toLowerCase()?o.send(s):o.send()},l.prevNextHelper=function(o,e,n){var r=[];function i(e,t,o){t[e]&&o?o.includes(".")?(t[e].classList[0]||t[e].classList.value&&t[e].classList.value.includes(o.split(".")[1]))&&r.push(t[e]):o.includes("#")?t[e].id===o.split("#")[1]&&r.push(t[e]):t[e].tagName===document.createElement(o.trim()).tagName&&r.push(t[e]):t[e]&&r.push(t[e])}return"string"==typeof e?Array.prototype.forEach.call(document.querySelectorAll(e),function(e,t){i(o,e,n)}):i(o,e,n),r},l.browser=function(){var e,t,o;return navigator.sayswho=(t=navigator.userAgent,o=t.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[],/trident/i.test(o[1])?"IE "+((e=/\brv[ :]+(\d+)/g.exec(t)||[])[1]||""):"Chrome"===o[1]&&null!=(e=t.match(/\b(OPR|Edge)\/(\d+)/))?e.slice(1).join(" ").replace("OPR","Opera"):(o=o[2]?[o[1],o[2]]:[navigator.appName,navigator.appVersion,"-?"],null!=(e=t.match(/version\/(\d+)/i))&&o.splice(1,1,e[1]),o.join(" "))),{version:parseInt(navigator.sayswho.split(" ")[1]),type:navigator.sayswho.split(" ")[0],userAgent:navigator.userAgent}},l.isNodeList=function(e){e=Object.prototype.toString.call(e);return"[object NodeList]"===e||"[object Array]"===e},l.prototype.fadeOut=function(e){var t=this;if(void 0===e&&(e=60),1<=this.el.length)for(var o=0;o<this.el.length;o++)d(this.el[o],"\n visibility: hidden;\n opacity: 0;\n transition: visibility 0s "+e+"ms, opacity "+e+"ms linear;\n ",!0);var n=setInterval(function(){if(1<=t.el.length)for(var e=0;e<t.el.length;e++)t.el[e].style.opacity<=0&&(d(t.el[e],"display: none;",!0),clearInterval(n),"optanon-popup-bg"===t.el[e].id)&&t.el[e].removeAttribute("style")},e);return this},l.prototype.hide=function(){if(1<=this.el.length)for(var e=0;e<this.el.length;e++)d(this.el[e],"display: none;",!0),this.el[e].setAttribute(_t,!0);else l.isNodeList(this.el)||(d(this.el,"display: none;",!0),this.el.setAttribute(_t,!0));return this},l.prototype.show=function(e){if(void 0===e&&(e="block"),1<=this.el.length)for(var t=0;t<this.el.length;t++)d(this.el[t],"display: "+e+";",!0),this.el[t].removeAttribute(_t);else l.isNodeList(this.el)||(d(this.el,"display: "+e+";",!0),this.el.removeAttribute(_t));return this},l.prototype.remove=function(){if(1<=this.el.length)for(var e=0;e<this.el.length;e++)this.el[e].parentNode.removeChild(this.el[e]);else this.el.parentNode.removeChild(this.el);return this},l.prototype.css=function(e){if(e)if(1<=this.el.length){if(!e.includes(":"))return this.el[0].style[e];for(var t=0;t<this.el.length;t++)d(this.el[t],e)}else{if(!e.includes(":"))return this.el.style[e];d(this.el,e)}return this},l.prototype.removeClass=function(e){if(1<=this.el.length)for(var t=0;t<this.el.length;t++)this.el[t].classList?this.el[t].classList.remove(e):this.el[t].className=this.el[t].className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ");else this.el.classList?this.el.classList.remove(e):this.el.className=this.el.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ");return this},l.prototype.addClass=function(e){if(1<=this.el.length)for(var t=0;t<this.el.length;t++)this.el[t].classList?this.el[t].classList.add(e):this.el[t].className+=" "+e;else this.el.classList?this.el.classList.add(e):this.el.className+=" "+e;return this},l.prototype.on=function(r,i,s){var e=this;if("string"!=typeof i)if(this.el&&"HTML"===this.el.nodeName&&"load"===r||"resize"===r||"scroll"===r)switch(r){case"load":window.onload=i;break;case"resize":window.onresize=i;break;case"scroll":window.onscroll=i}else if(this.el&&1<=this.el.length)for(var t=0;t<this.el.length;t++)this.el[t].addEventListener(r,i);else this.el&&this.el instanceof Element&&this.el.addEventListener(r,i);else if(this.el&&"HTML"===this.el.nodeName&&"load"===r||"resize"===r||"scroll"===r)switch(r){case"load":window.onload=s;break;case"resize":window.onresize=s;break;case"scroll":window.onscroll=s}else{var a=function(o){var n=o.target;e.el.eventExecuted=!0,Array.prototype.forEach.call(document.querySelectorAll(i),function(e,t){Kt[""+r+i]&&delete Kt[""+r+i],e.addEventListener(r,s),e===n&&s&&s.call(e,o)}),e.el&&e.el[0]?e.el[0].removeEventListener(r,a):e.el&&e.el instanceof Element&&e.el.removeEventListener(r,a)};if(this.el&&1<=this.el.length)for(t=0;t<this.el.length;t++)this.el[t].eventExecuted=!1,this.el[t].eventExecuted||this.el[t].addEventListener(r,a);else this.el&&(this.el.eventExecuted=!1,!this.el.eventExecuted)&&this.el instanceof Element&&(Kt[""+r+i]||(Kt[""+r+i]=!0,this.el.addEventListener(r,a)))}return this},l.prototype.off=function(e,t){if(1<=this.el.length)for(var o=0;o<this.el.length;o++)this.el[o].removeEventListener(e,t);else this.el.removeEventListener(e,t);return this},l.prototype.one=function(t,o){var n=this;if(1<=this.el.length)for(var e=0;e<this.el.length;e++)this.el[e].addEventListener(t,function(e){e.stopPropagation(),e.currentTarget.dataset.triggered||(o(),e.currentTarget.dataset.triggered=!0)});else{var r=function(e){e.stopPropagation(),o(),n.off(t,r)};this.el.addEventListener(t,r)}return this},l.prototype.trigger=function(e){e=new CustomEvent(e,{customEvent:"yes"});return this.el.dispatchEvent(e),this},l.prototype.focus=function(){return(1<=this.el.length?this.el[0]:this.el).focus(),this},l.prototype.attr=function(e,t){return this.el&&1<=this.el.length?t?("class"===e?this.addClass(t):this.el[0].setAttribute(e,t),this):this.el[0].getAttribute(e):t&&this.el?("class"===e?this.addClass(t):this.el.setAttribute(e,t),this):this.el&&this.el.getAttribute(e)},l.prototype.html=function(e){if(null==e)return(1<=this.el.length?this.el[0]:this.el).innerHTML;if(1<=this.el.length)for(var t=0;t<this.el.length;t++)this.el[t].innerHTML=e;else this.el.innerHTML=e;return this},l.prototype.append=function(o){if("string"!=typeof o||o.includes("<")||o.includes(">"))if(Array.isArray(o)){var n=this;Array.prototype.forEach.call(o,function(e,t){document.querySelector(n.selector).appendChild(new l(e,"ce").el)})}else if("string"==typeof o||Array.isArray(o)){var r,i,e;"string"==typeof this.selector?document.querySelector(this.selector).appendChild(new l(o,"ce").el):this.useEl?(r=document.createDocumentFragment(),(i=!(!o.includes("<th")&&!o.includes("<td")))&&(e=o.split(" ")[0].split("<")[1],r.appendChild(document.createElement(e)),r.firstChild.innerHTML=o),Array.prototype.forEach.call(this.el,function(e,t){i?e.appendChild(r.firstChild):e.appendChild(new l(o,"ce").el)})):this.selector.appendChild(new l(o,"ce").el)}else if("string"==typeof this.selector)document.querySelector(this.selector).appendChild(o);else if(1<=o.length)for(var t=0;t<o.length;t++)this.selector.appendChild(o[t]);else this.selector.appendChild(o);else this.el.insertAdjacentText("beforeend",o);return this},l.prototype.text=function(o){if(this.el){if(1<=this.el.length){if(!o)return this.el[0].textContent;Array.prototype.forEach.call(this.el,function(e,t){e.textContent=o})}else{if(!o)return this.el.textContent;this.el.textContent=o}return this}},l.prototype.data=function(o,n){if(!(this.el.length<1)){if(!(1<=this.el.length))return r(this.el,n);Array.prototype.forEach.call(this.el,function(e,t){r(e,n)})}return this;function r(e,t){if(!t)return JSON.parse(e.getAttribute("data-"+o));"object"==typeof t?e.setAttribute("data-"+o,JSON.stringify(t)):e.setAttribute("data-"+o,t)}},l.prototype.height=function(e){this.el.length&&(this.el=this.el[0]);for(var t=parseInt(window.getComputedStyle(this.el,null).getPropertyValue("padding-top").split("px")[0]),o=parseInt(window.getComputedStyle(this.el,null).getPropertyValue("padding-bottom").split("px")[0]),n=parseInt(window.getComputedStyle(this.el,null).getPropertyValue("margin-top").split("px")[0]),r=parseInt(window.getComputedStyle(this.el,null).getPropertyValue("margin-bottom").split("px")[0]),i=parseInt(window.getComputedStyle(this.el,null).getPropertyValue("height").split("px")[0]),s=[t,o,n,r],a=0,l=0;l<s.length;l++)0<s[l]&&(a+=s[l]);return e?(t=e.toString().split(parseInt(e))[1]?e.toString().split(parseInt(e))[1]:"px",o="number"==typeof e?e:parseInt(e.toString().split(t)[0]),(t&&"px"===t||"%"===t||"em"===t||"rem"===t)&&(0<o?d(this.el,"height: "+(a+o+t)+";",!0):"auto"===e&&d(this.el,"height: "+e+";",!0)),this):this.selector===document?i:this.el.clientHeight-a},l.prototype.each=function(e){var t=!1;return void 0===this.el.length&&(this.el=[this.el],t=!0),Array.prototype.forEach.call(this.el,e),t&&(this.el=this.el[0]),this},l.prototype.is=function(e){return this.el.length?(this.el[0].matches||this.el[0].matchesSelector||this.el[0].msMatchesSelector||this.el[0].mozMatchesSelector||this.el[0].webkitMatchesSelector||this.el[0].oMatchesSelector).call(this.el[0],e):(this.el.matches||this.el.matchesSelector||this.el.msMatchesSelector||this.el.mozMatchesSelector||this.el.webkitMatchesSelector||this.el.oMatchesSelector).call(this.el,e)},l.prototype.filter=function(e){return this.el=Array.prototype.filter.call(document.querySelectorAll(this.selector),e),this},l.prototype.animate=function(e,t){var o,n,r,i,s,a=this;this.el=document.querySelector(this.selector);for(o in e)n=o,s=i=r=void 0,i=parseInt(e[n]),s=e[n].split(parseInt(e[n]))[1]?e[n].split(parseInt(e[n]))[1]:"px",i="\n @keyframes slide-"+("top"===n?"up":"down")+"-custom {\n 0% {\n "+("top"===n?"top":"bottom")+": "+("top"===n?a.el.getBoundingClientRect().top:window.innerHeight)+"px !important;\n }\n 100% {\n "+("top"===n?"top":"bottom")+": "+(i+s)+";\n }\n }\n @-webkit-keyframes slide-"+("top"===n?"up":"down")+"-custom {\n 0% {\n "+("top"===n?"top":"bottom")+": "+("top"===n?a.el.getBoundingClientRect().top:window.innerHeight)+"px !important;\n }\n 100% {\n "+("top"===n?"top":"bottom")+": "+(i+s)+";\n }\n }\n @-moz-keyframes slide-"+("top"===n?"up":"down")+"-custom {\n 0% {\n "+("top"===n?"top":"bottom")+": "+("top"===n?a.el.getBoundingClientRect().top:window.innerHeight)+"px !important;\n }\n 100% {\n "+("top"===n?"top":"bottom")+": "+(i+s)+";\n }\n }\n ",(s=document.head.querySelector("#onetrust-style"))?s.innerHTML+=i:((r=document.createElement("style")).id="onetrust-legacy-style",r.type="text/css",r.innerHTML=i,document.head.appendChild(r)),(l.browser().type=l.browser().version<=8)?d(a.el,"top"===n?"-webkit-animation: slide-up-custom ":"-webkit-animation: slide-down-custom "+t+"ms ease-out forwards;"):d(a.el,r="\n animation-name: "+("top"===n?"slide-up-custom":"slide-down-custom")+";\n animation-duration: "+t+"ms;\n animation-fill-mode: forwards;\n animation-timing-function: ease-out;\n ",!0);return this},l.prototype.scrollTop=function(){return this.el.scrollTop},l);function l(e,t){switch(void 0===t&&(t=""),this.selector=e,this.useEl=!1,t){case"ce":var o=l.browser().type.toLowerCase(),n=l.browser().version;n<10&&"safari"===o||"chrome"===o&&n<=44||n<=40&&"firefox"===o?((n=document.implementation.createHTMLDocument()).body.innerHTML=e,this.el=n.body.children[0]):(o=document.createRange().createContextualFragment(e),this.el=o.firstChild),this.length=1;break;case"":this.el=e===document||e===window?document.documentElement:"string"!=typeof e?e:document.querySelectorAll(e),this.length=e===document||e===window||"string"!=typeof e?1:this.el.length;break;default:this.length=0}}function I(e,t){return new jt(e,t=void 0===t?"":t)}var zt,Kt={},Wt=(Jt.prototype.getDataLanguageCulture=function(){var e=P.bannerScriptElement;return e&&e.getAttribute(it)?this.checkAndTansformLangCodeWithUnderdscore(e.getAttribute(it).toLowerCase()):this.detectDocumentOrBrowserLanguage().toLowerCase()},Jt.prototype.checkAndTansformLangCodeWithUnderdscore=function(e){return e.replace(/\_/,"-")},Jt.prototype.detectDocumentOrBrowserLanguage=function(){var e="";if(P.langSwitcherPldr){var t=b.convertKeyValueLowerCase(P.langSwitcherPldr),o=this.getUserLanguage().toLowerCase();if(!(e=t[o]||t[o+"-"+o]||(t.default===o?t.default:null)))if(2===o.length)for(var n=0;n<Object.keys(t).length;n+=1){var r=Object.keys(t)[n];if(r.substr(0,2)===o){e=t[r];break}}else 2<o.length&&(e=t[o.substr(0,2)]);e=e||t.default}return e},Jt.prototype.getUserLanguage=function(){return P.useDocumentLanguage?this.checkAndTansformLangCodeWithUnderdscore(document.documentElement.lang):navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language||navigator.userLanguage},Jt.prototype.isValidLanguage=function(e,t){var o=b.convertKeyValueLowerCase(P.langSwitcherPldr);return!(!o||!o[t]&&!o[t+"-"+t]&&o.default!==t)},Jt.prototype.getLangJsonUrl=function(e){void 0===e&&(e=null);var t,o=P.getRegionRule();if(e){if(e=e.toLowerCase(),!this.isValidLanguage(o,e))return null}else e=this.getDataLanguageCulture();return A.lang=e,A.consentLanguage=e.substr(0,2),t=P.canUseConditionalLogic?P.bannerDataParentURL+"/"+o.Id+"/"+P.Condition.Id+"/"+e:P.bannerDataParentURL+"/"+o.Id+"/"+e,t=P.multiVariantTestingEnabled?P.bannerDataParentURL+"/"+o.Id+"/variants/"+P.selectedVariant.Id+"/"+e:t},Jt.prototype.populateLangSwitcherPlhdr=function(){var e,t,o,n=P.getRegionRule();n&&(e=n.Variants,P.multiVariantTestingEnabled&&e?(o=void 0,(t=v.getCookie(m.SELECTED_VARIANT))&&(o=e[b.findIndex(e,function(e){return e.Id===t})]),t&&o||(o=e[Math.floor(Math.random()*e.length)]),P.langSwitcherPldr=o.LanguageSwitcherPlaceholder,P.selectedVariant=o):P.canUseConditionalLogic?P.langSwitcherPldr=P.Condition.LanguageSwitcherPlaceholder:P.langSwitcherPldr=n.LanguageSwitcherPlaceholder)},Jt);function Jt(){}Qt.prototype.getLangJson=function(e){var t;return void 0===e&&(e=null),P.previewMode?(t=JSON.parse(window.sessionStorage.getItem("otPreviewData")),Promise.resolve(t.langJson)):(t=zt.getLangJsonUrl(e))?Yt.otFetch(t+".json"):Promise.resolve(null)},Qt.prototype.getPersistentCookieSvg=function(e){e=e||T.cookiePersistentLogo;return e?Yt.otFetch(e,!0):Promise.resolve(null)},Qt.prototype.fetchGvlObj=function(){var e=k.moduleInitializer.IabV2Data.globalVendorListUrl;return"IAB2V2"===P.getRegionRuleType()&&(e=k.moduleInitializer.Iab2V2Data.globalVendorListUrl),this.otFetch(e)},Qt.prototype.fetchGoogleVendors=function(){var e=y.updateCorrectIABUrl(k.moduleInitializer.GoogleData.googleVendorListUrl);return y.checkMobileOfflineRequest(y.getBannerVersionUrl())?y.otFetchOfflineFile(b.getRelativeURL(e,!0)):(P.mobileOnlineURL.push(e),this.otFetch(e))},Qt.prototype.getStorageDisclosure=function(t){return R(this,void 0,void 0,function(){return q(this,function(e){return[2,this.otFetch(t,!1,!0)]})})},Qt.prototype.loadCMP=function(){var o=this;return new Promise(function(e){var t=o.checkIfRequiresPollyfill()?"otTCF-ie":"otTCF";y.jsonp(y.getBannerVersionUrl()+"/"+t+".js",e,e)})},Qt.prototype.loadGPP=function(){return new Promise(function(e){y.jsonp(y.getBannerVersionUrl()+"/otGPP.js",e,e)})},Qt.prototype.getCSBtnContent=function(){return R(this,void 0,void 0,function(){var t,o,n,r;return q(this,function(e){switch(e.label){case 0:return(t=T.useRTL?ke.RTL:ke.LTR,A.csBtnAsset[t])?[3,2]:(o=y.getBannerSDKAssestsUrl()+"/"+(T.useRTL?at:st),n=A.csBtnAsset,r=t,[4,this.otFetch(o)]);case 1:n[r]=e.sent(),e.label=2;case 2:return[2,A.csBtnAsset[t]]}})})},Qt.prototype.getPcContent=function(i){return void 0===i&&(i=!1),R(this,void 0,void 0,function(){var t,o,n,r;return q(this,function(e){switch(e.label){case 0:return(t=T.useRTL?ke.RTL:ke.LTR,A.pcAsset[t]&&!i)?[3,2]:(o=y.getBannerSDKAssestsUrl(),T.PCTemplateUpgrade&&(o+="/v2"),o=o+"/"+P.pcName+(T.useRTL?"Rtl":"")+".json",n=A.pcAsset,r=t,[4,this.otFetch(o)]);case 1:n[r]=e.sent(),e.label=2;case 2:return[2,A.pcAsset[t]]}})})},Qt.prototype.getBannerContent=function(s,a){return void 0===s&&(s=!1),void 0===a&&(a=null),R(this,void 0,void 0,function(){var t,o,n,r,i;return q(this,function(e){switch(e.label){case 0:if(t=T.useRTL?ke.RTL:ke.LTR,o=a||zt.getDataLanguageCulture(),A.bAsset[t]&&!s)return[3,2];if(i=P.getRegionRule(),n=void 0,k.fp.CookieV2SSR){if(P.previewMode)return r=JSON.parse(window.sessionStorage.getItem("otPreviewData")),[2,Promise.resolve(r.bLayout)];n=P.bannerDataParentURL+"/"+i.Id,P.canUseConditionalLogic&&(n+="/"+P.Condition.Id),n+="/bLayout-"+o+".json"}else n=y.getBannerSDKAssestsUrl()+("/"+P.bannerName+(T.useRTL?"Rtl":""))+".json";return r=A.bAsset,i=t,[4,this.otFetch(n)];case 1:r[i]=e.sent(),e.label=2;case 2:return[2,A.bAsset[t]]}})})},Qt.prototype.getCommonStyles=function(i){return void 0===i&&(i=!1),R(this,void 0,void 0,function(){var t,o,n,r;return q(this,function(e){switch(e.label){case 0:return(t=T.useRTL?ke.RTL:ke.LTR,A.cStyles[t]&&!i)?[3,2]:(o=y.getBannerSDKAssestsUrl()+"/otCommonStyles"+(T.useRTL?"Rtl":"")+".css",n=A.cStyles,r=t,[4,this.otFetch(o,!0)]);case 1:n[r]=e.sent(),e.label=2;case 2:return[2,A.cStyles[t]]}})})},Qt.prototype.getSyncNtfyContent=function(){return R(this,void 0,void 0,function(){var t,o,n,r;return q(this,function(e){switch(e.label){case 0:return(t=T.useRTL?ke.RTL:ke.LTR,A.syncNtfyContent[t])?[3,2]:(o=y.getBannerSDKAssestsUrl()+"/otSyncNotification"+(T.useRTL?"Rtl":"")+".json",n=A.syncNtfyContent,r=t,[4,this.otFetch(o)]);case 1:n[r]=e.sent(),e.label=2;case 2:return[2,A.syncNtfyContent[t]]}})})},Qt.prototype.getConsentProfile=function(e,t){var o=this,n={Identifier:e,TenantId:A.tenantId,Authorization:t};return new Promise(function(e){o.getJSON(A.consentApi,n,e,e)})},Qt.prototype.checkIfRequiresPollyfill=function(){var e=window.navigator.userAgent;return 0<e.indexOf("MSIE ")||0<e.indexOf("Trident/")||"undefined"==typeof Set},Qt.prototype.otFetch=function(r,i,s){return void 0===i&&(i=!1),void 0===s&&(s=!1),R(this,void 0,void 0,function(){var t,o,n=this;return q(this,function(e){switch(e.label){case 0:return y.checkMobileOfflineRequest(r)?[4,y.otFetchOfflineFile(r)]:[3,2];case 1:return[2,e.sent()];case 2:return e.trys.push([2,9,,10]),P.mobileOnlineURL.push(r),"undefined"!=typeof fetch?[3,3]:[2,new Promise(function(e){n.getJSON(r,null,e,e,i)})];case 3:return[4,fetch(r)];case 4:return(t=e.sent(),s&&t.headers.get("Access-Control-Allow-Credentials"))?[2,Promise.resolve()]:i?[4,t.text()]:[3,6];case 5:return[2,e.sent()];case 6:return[4,t.json()];case 7:return[2,e.sent()];case 8:return[3,10];case 9:return o=e.sent(),console.log("Error in fetch URL : "+r+" Exception :"+o),[3,10];case 10:return[2]}})})},Qt.prototype.getJSON=function(e,t,o,n,r){void 0===t&&(t=null),void 0===r&&(r=!1);var i=new XMLHttpRequest;if(i.open("GET",e,!0),i.withCredentials=!1,t)for(var s in t)i.setRequestHeader(s,t[s]);i.onload=function(){var e;200<=this.status&&this.status<400&&this.responseText?(e=void 0,e=r?this.responseText:JSON.parse(this.responseText),o(e)):n({message:"Error Loading Data",statusCode:this.status})},i.onerror=function(e){n(e)},i.send()};var Yt,Xt=Qt;function Qt(){}Zt.prototype.addLogoUrls=function(){y.checkMobileOfflineRequest(y.getBannerVersionUrl())||(P.mobileOnlineURL.push(y.updateCorrectUrl(T.optanonLogo)),P.mobileOnlineURL.push(y.updateCorrectUrl(T.oneTrustFtrLogo)))},Zt.prototype.getCookieLabel=function(e,t,o){var n;return void 0===o&&(o=!0),e?(n=e.Name,t?'\n <a class="cookie-label"\n href="'+(o?"http://cookiepedia.co.uk/cookies/":"http://cookiepedia.co.uk/host/")+e.Name+'"\n rel="noopener"\n target="_blank"\n >\n '+e.Name+' <span class="ot-scrn-rdr">'+T.NewWinTxt+"</span>\n </a>\n ":n):""},Zt.prototype.getBannerSDKAssestsUrl=function(){return this.getBannerVersionUrl()+"/assets"},Zt.prototype.getBannerVersionUrl=function(){var e=P.bannerScriptElement.getAttribute("src");return""+(-1!==e.indexOf("/consent/")?e.split("consent/")[0]+"scripttemplates/":e.split("otSDKStub")[0])+k.moduleInitializer.Version},Zt.prototype.checkMobileOfflineRequest=function(e){return k.moduleInitializer.MobileSDK&&new RegExp("^file://","i").test(e)},Zt.prototype.updateCorrectIABUrl=function(e){var t,o=k.moduleInitializer.ScriptType;return o!==ot&&o!==rt||(o=b.getURL(e),(t=(t=P.bannerScriptElement)&&t.getAttribute("src")?b.getURL(t.getAttribute("src")):null)&&o&&t.hostname!==o.hostname&&(e=(e=(t=""+P.bannerDataParentURL)+o.pathname.split("/").pop().replace(/(^\/?)/,"/")).replace(o.hostname,t.hostname))),e},Zt.prototype.updateCorrectUrl=function(e,t){if((void 0===t&&(t=!1),P.previewMode)&&new RegExp("^data:image/").test(e))return e;var o=b.getURL(e),n=P.bannerScriptElement,n=n&&n.getAttribute("src")?b.getURL(n.getAttribute("src")):null;if(n&&o&&n.hostname!==o.hostname){var r=k.moduleInitializer.ScriptType;if(r===ot||r===rt){if(t)return e;e=(n=P.bannerDataParentURL+"/"+P.getRegionRule().Id)+o.pathname.replace(/(^\/?)/,"/")}else e=null==(r=e)?void 0:r.replace(o.hostname,n.hostname)}return e},Zt.prototype.isBundleOrStackActive=function(n,r){void 0===r&&(r=null);for(var i=A.oneTrustIABConsent,s=!0,a=(r=r||A.groupsConsent,0);function(){var e,t,o=n.SubGroups[a];o.Type===Vt?(-1<(t=b.findIndex(r,function(e){return e.split(":")[0]===o.CustomGroupId}))&&"0"===r[t].split(":")[1]||!r.length)&&(s=!1):(e=o.Type===f.GroupTypes.Spl_Ft?i.specialFeatures:i.purpose,(-1<(t=b.findIndex(e,function(e){return e.split(":")[0]===o.IabGrpId}))&&"false"===e[t].split(":")[1]||!e.length)&&(s=!1)),a++}(),s&&a<n.SubGroups.length;);return s},Zt.prototype.otFetchOfflineFile=function(n){return R(this,void 0,void 0,function(){var t,o;return q(this,function(e){switch(e.label){case 0:return n=n.replace(".json",".js"),t=n.split("/"),t=t[t.length-1],o=t.split(".js")[0],[4,new Promise(function(e){function t(){e(window[o])}y.jsonp(n,t,t)})];case 1:return[2,e.sent()]}})})},Zt.prototype.jsonp=function(e,t,o){y.checkMobileOfflineRequest(e)||P.mobileOnlineURL.push(e);var n=document.createElement("script"),r=document.getElementsByTagName("head")[0];function i(){t()}n.onreadystatechange=function(){"loaded"!==this.readyState&&"complete"!==this.readyState||i()},n.onload=i,n.onerror=function(){o()},n.type="text/javascript",n.async=!0,n.src=e,A.crossOrigin&&n.setAttribute("crossorigin",A.crossOrigin),r.appendChild(n)},Zt.prototype.isCookiePolicyPage=function(e){for(var t=!1,o=b.removeURLPrefixes(window.location.href),n=I("<div></div>","ce").el,r=(I(n).html(e),n.querySelectorAll("a")),i=0;i<r.length;i++)if(b.removeURLPrefixes(r[i].href)===o){t=!0;break}return t},Zt.prototype.isBannerVisible=function(){var e=!1,t=document.getElementById("onetrust-banner-sdk");return e=t&&t.getAttribute("style")?-1!==t.getAttribute("style").indexOf("display: none")||-1!==t.getAttribute("style").indexOf("display:none"):e},Zt.prototype.hideBanner=function(){var e=this;A.bnrAnimationInProg?setTimeout(function(){return e.hideBanner()},100):I("#onetrust-banner-sdk").fadeOut(400)},Zt.prototype.resetFocusToBody=function(){document.activeElement&&document.activeElement.blur()},Zt.prototype.getDuration=function(e){var t,o=e.Length,e=e.DurationType;return o&&0!==parseInt(o)?(o=parseInt(o),e?(t=1<(o=this.round_to_precision(o/e,.5))?bt[e]+"s":bt[e],T.LifespanDurationText&&1===e&&(t="LifespanDurationText"),o+" "+T[t]):this.getDurationText(o)):T.LfSpanSecs},Zt.prototype.isDateCurrent=function(e){var e=e.split("/"),t=parseInt(e[1]),o=parseInt(e[0]),e=parseInt(e[2]),n=new Date,r=n.getDate(),i=n.getFullYear(),n=n.getMonth()+1;return i<e||e===i&&n<o||e===i&&o===n&&r<=t},Zt.prototype.insertFooterLogo=function(e){var t=I(e).el;if(t.length&&T.oneTrustFtrLogo){var o=y.updateCorrectUrl(T.oneTrustFtrLogo);y.checkMobileOfflineRequest(y.getBannerVersionUrl())&&(o=b.getRelativeURL(o,!0,!0));for(var n=0;n<t.length;n++){var r=t[n].querySelector("img"),i="Powered by OneTrust "+T.NewWinTxt;I(t[n]).attr("href",T.pCFooterLogoUrl),r.setAttribute("src",o),r.setAttribute("title",i),I(t[n]).attr("aria-label",i)}}},Zt.prototype.getUTCFormattedDate=function(e){e=new Date(e);return e.getUTCFullYear()+"-"+(e.getUTCMonth()+1).toString().padStart(2,"0")+"-"+e.getUTCDate().toString().toString().padStart(2,"0")+" "+e.getUTCHours()+":"+e.getUTCMinutes().toString().toString().padStart(2,"0")+":"+e.getUTCSeconds().toString().toString().padStart(2,"0")},Zt.prototype.getDurationText=function(e){return 365<=e?(e=this.round_to_precision(e/=365,.5))+" "+(1<e?T.LfSpnYrs:T.LfSpnYr):T.LifespanDurationText?e+" "+T.LifespanDurationText:e+" "+(1<e?T.PCenterVendorListLifespanDays:T.PCenterVendorListLifespanDay)},Zt.prototype.round_to_precision=function(e,t){e=+e+(void 0===t?.5:t/2);return e-e%(void 0===t?1:+t)},Zt.prototype.isOptOutEnabled=function(){return T.PCTemplateUpgrade?A.genVenOptOutEnabled:T.allowHostOptOut},Zt.prototype.findUserType=function(e){A.isKeyboardUser=!(!e||0!==e.detail)},Zt.prototype.getCSSPropsFromString=function(e){var t,o;return e?(t=e.length,o={},(e=e.endsWith(";")?e.substring(0,t-1):e).trim().split(";").forEach(function(e){e=e.trim().toString().split(":"),e=JSON.parse('{ "'+e[0].trim()+'" : "'+e[1].trim()+'" }');o=Object.assign(o,e)}),o):{}},Zt.prototype.setCloseIcon=function(e){var t=y.updateCorrectUrl(T.OTCloseBtnLogo),e=I(e);e.length&&d(e.el,'background-image: url("'+t+'")',!0)},Zt.prototype.createOptOutSignalElement=function(e,t){var e=e(t?"#ot-pc-content":"#onetrust-policy"),o=document.createElement("div"),n=(o.classList.add("ot-optout-signal"),document.createElement("div")),r=(n.classList.add("ot-optout-icon"),document.createElement("span"));return r.innerText=t?T.PCOptOutSignalText:T.BOptOutSignalText,o.append(n),o.append(r),null!=(t=e)&&t.prepend(o),this.applyGuardLogo(),o},Zt.prototype.applyGuardLogo=function(){return R(this,void 0,void 0,function(){var t,o,n;return q(this,function(e){switch(e.label){case 0:return(t=T.cookiePersistentLogo).includes("ot_guard_logo.svg")||(n=T.OTCloseBtnLogo,o=n.indexOf("static/"),t=n.replace(n.slice(o+7),"ot_guard_logo.svg")),[4,Yt.getPersistentCookieSvg(t)];case 1:return n=e.sent(),I(".ot-optout-icon").html(n),[2]}})})};var y,$t=Zt;function Zt(){}function o(){}o.prototype.initializeBannerVariables=function(e){var t=e.DomainData;P.iabType=t.IabType,t=t.PCTemplateUpgrade,S=t?Ft:Rt,t=P.iabType,f="IAB2"===t?qt:Mt,P.init(e),A.showGeneralVendors=T.GeneralVendorsEnabled&&T.PCTemplateUpgrade,A.showVendorService=k.fp.CookieV2VendorServiceScript&&T.VendorServiceConfig.PCVSEnable&&!P.isIab2orv2Template&&T.PCTemplateUpgrade,A.vsIsActiveAndOptOut=A.showVendorService&&T.VendorServiceConfig.PCVSOptOut,A.showTrackingTech=k.fp.CookieV2TrackingTechPrefCenter&&T.AdditionalTechnologiesConfig.PCShowTrackingTech,A.genVenOptOutEnabled=A.showGeneralVendors&&T.GenVenOptOut,y.addLogoUrls(),this.setGeolocationInCookies(),this.setOrUpdate3rdPartyIABConsentFlag()},o.prototype.initializeVendorInOverriddenVendors=function(e,t){T.OverriddenVendors[e]={disabledCP:[],disabledLIP:[],active:t,legInt:!1,consent:!1}},o.prototype.applyGlobalRestrictionsonNewVendor=function(e,t,o,n){var r=T.GlobalRestrictions,i=T.OverriddenVendors;switch(i[t]||this.initializeVendorInOverriddenVendors(t,!0),i[t].disabledCP||(i[t].disabledCP=[]),i[t].disabledLIP||(i[t].disabledLIP=[]),r[o]){case ue.Disabled:(n?i[t].disabledCP:i[t].disabledLIP).push(o),T.Publisher.restrictions[o][t]=ue.Disabled;break;case ue.Consent:n?(i[t].consent=!0,T.Publisher.restrictions[o][t]=ue.Consent):(i[t].disabledLIP.push(o),this.checkFlexiblePurpose(e,t,o,!1));break;case ue.LegInt:n?(i[t].disabledCP.push(o),this.checkFlexiblePurpose(e,t,o,!0)):(i[t].legInt=!0,T.Publisher.restrictions[o][t]=ue.LegInt);break;case void 0:n?i[t].consent=!0:i[t].legInt=!0}},o.prototype.checkFlexiblePurpose=function(e,t,o,n){e.flexiblePurposes.includes(o)?(n?T.OverriddenVendors[t].legInt=!0:T.OverriddenVendors[t].consent=!0,T.Publisher.restrictions[o][t]=n?ue.LegInt:ue.Consent):T.Publisher.restrictions[o][t]=ue.Disabled},o.prototype.setActiveVendorCount=function(e,t){var o,n,r;"IAB2V2"===P.getRegionRuleType()&&(o=T.OverriddenVendors[t]&&T.OverriddenVendors[t].disabledCP,n=T.OverriddenVendors[t]&&T.OverriddenVendors[t].disabledLIP,0,o=M(o?this.removeElementsFromArray(e.purposes,T.OverriddenVendors[t].disabledCP)||[]:e.purposes||[],n?this.removeElementsFromArray(e.legIntPurposes,T.OverriddenVendors[t].disabledLIP)||[]:e.legIntPurposes||[],e.flexiblePurposes||[]),n=new Set(o),r=P.tcf2ActiveVendors,n.forEach(function(e){var t=r.pur.get(e)||0;r.pur.set(e,t+1)}),e.specialPurposes&&e.specialPurposes.forEach(function(e){var t=r.spl_pur.get(e)||0;r.spl_pur.set(e,t+1)}),e.features&&e.features.forEach(function(e){var t=r.ft.get(e)||0;r.ft.set(e,t+1)}),e.specialFeatures)&&e.specialFeatures.forEach(function(e){var t=r.spl_ft.get(e)||0;r.spl_ft.set(e,t+1)})},o.prototype.isVendorInvalid=function(e,t){var o=!1,n=!e.purposes.length&&!e.flexiblePurposes.length,r=(T.OverriddenVendors[t]&&!T.OverriddenVendors[t].consent&&(n=!0),!0);return P.legIntSettings.PAllowLI&&e.legIntPurposes.length&&(!T.OverriddenVendors[t]||T.OverriddenVendors[t].legInt)&&(r=!1),o=!n||!r||e.specialPurposes.length||e.features.length||e.specialFeatures.length?o:!0},o.prototype.removeInActiveVendorsForTcf=function(r){var i=this,s=A.iabData.vendorListVersion,e=T.Publisher,a=T.GlobalRestrictionEnabled,l=!(0===Object.keys(e).length||e&&0===Object.keys(e.restrictions).length);Object.keys(r.vendors).forEach(function(t){var o=r.vendors[t],e=(o.iab2GVLVersion>s&&(T.NewVendorsInactiveEnabled?i.initializeVendorInOverriddenVendors(t,!1):a&&(o.purposes.forEach(function(e){i.applyGlobalRestrictionsonNewVendor(o,t,e,!0)}),o.legIntPurposes.forEach(function(e){i.applyGlobalRestrictionsonNewVendor(o,t,e,!1)}))),!1),n=(T.IsIabThirdPartyCookieEnabled||(P.legIntSettings.PAllowLI?T.OverriddenVendors[t]&&!T.OverriddenVendors[t].active&&(e=!0):-1<T.Vendors.indexOf(Number(t))&&(e=!0)),i.isVendorInvalid(o,t)),e=e||n;(e=!a&&l&&o.iab2GVLVersion>s?!0:e)&&delete r.vendors[t],e||i.setActiveVendorCount(o,t)})},o.prototype.removeElementsFromArray=function(e,t){return e.filter(function(e){return!t.includes(e)})},o.prototype.setPublisherRestrictions=function(){var i,t,s,a,e=T.Publisher;e&&e.restrictions&&(i=this.iabStringSDK(),t=e.restrictions,s=A.iabData,a=A.oneTrustIABConsent.vendorList.vendors,Object.keys(t).forEach(function(o){var n,r=t[o],e=P.iabGroups.purposes[o];e&&(n={description:e.description,purposeId:e.id,purposeName:e.name}),Object.keys(r).forEach(function(e){var t;A.vendorsSetting[e]&&(t=A.vendorsSetting[e].arrIndex,1===r[e]&&-1===a[e].purposes.indexOf(Number(o))?s.vendors[t].purposes.push(n):2===r[e]&&-1===a[e].legIntPurposes.indexOf(Number(o))&&s.vendors[t].legIntPurposes.push(n),t=i.purposeRestriction(Number(o),r[e]),A.tcModel.publisherRestrictions.add(Number(e),t))})}))},o.prototype.populateVendorListTCF=function(){return R(this,void 0,void 0,function(){var t,o,n,r,i,s,a,l,c;return q(this,function(e){switch(e.label){case 0:return(t=this.iabStringSDK(),o=A.iabData,n=y.updateCorrectIABUrl(o.globalVendorListUrl),r=!this.isIABCrossConsentEnabled(),y.checkMobileOfflineRequest(y.getBannerVersionUrl()))?[3,1]:(P.mobileOnlineURL.push(n),i=t.gvl(n,A.gvlObj),[3,3]);case 1:return a=(s=t).gvl,l=[null],[4,y.otFetchOfflineFile(b.getRelativeURL(n,!0))];case 2:i=a.apply(s,l.concat([e.sent()])),e.label=3;case 3:return this.removeInActiveVendorsForTcf(i),P.tcf2ActiveVendors.all=Object.keys(i.vendors).length,A.oneTrustIABConsent.vendorList=i,this.assignIABDataWithGlobalVendorList(i),c=A,[4,t.tcModel(i)];case 4:c.tcModel=e.sent(),r&&this.setPublisherRestrictions(),A.tcModel.cmpId=parseInt(o.cmpId),A.tcModel.cmpVersion=parseInt(o.cmpVersion);try{A.tcModel.consentLanguage=A.consentLanguage}catch(e){A.tcModel.consentLanguage="EN"}return A.tcModel.consentScreen=parseInt(o.consentScreen),A.tcModel.isServiceSpecific=r,A.tcModel.purposeOneTreatment=P.purposeOneTreatment,T.PublisherCC?A.tcModel.publisherCountryCode=T.PublisherCC:A.userLocation.country&&(A.tcModel.publisherCountryCode=A.userLocation.country),A.cmpApi=t.cmpApi(A.tcModel.cmpId,A.tcModel.cmpVersion,r,T.UseGoogleVendors?{getTCData:this.addtlConsentString,getInAppTCData:this.addtlConsentString}:void 0),null!==this.alertBoxCloseDate()&&!this.needReconsent()||this.resetTCModel(),[2]}})})},o.prototype.resetTCModel=function(){var e,t,o=this.iabStringSDK(),n=A.tcModel.clone();n.unsetAll(),P.legIntSettings.PAllowLI&&(e=P.consentableIabGrps.filter(function(e){return e.HasLegIntOptOut&&e.Type===f.GroupTypes.Pur}).map(function(e){return parseInt(P.iabGrpIdMap[e.CustomGroupId])}),t=Object.keys(A.vendorsSetting).filter(function(e){return A.vendorsSetting[e].legInt}).map(function(e){return parseInt(e)}),n.purposeLegitimateInterests.set(e),n.vendorLegitimateInterests.set(t),n.isServiceSpecific)&&n.publisherLegitimateInterests.set(e),A.cmpApi.update(o.tcString().encode(n),!0)},o.prototype.addtlConsentString=function(e,t,o){t&&t.tcString&&(t.addtlConsent=""+A.addtlConsentVersion+(A.isAddtlConsent?A.addtlVendors.vendorConsent.join("."):"")),"function"==typeof e?e(t,o):console.error("__tcfapi received invalid parameters.")},o.prototype.setIabData=function(){A.iabData=k.moduleInitializer.IabV2Data,A.iabData.consentLanguage=A.consentLanguage},o.prototype.assignIABDataWithGlobalVendorList=function(r){var i=T.OverriddenVendors;A.iabData.vendorListVersion=r.vendorListVersion,A.iabData.vendors=[],Object.keys(r.vendors).forEach(function(n){A.vendorsSetting[n]={consent:!0,legInt:!0,arrIndex:0,specialPurposesOnly:!1};var e={},t=r.vendors[n],o=(e.vendorId=n,e.vendorName=t.name,e.policyUrl=t.policyUrl,e.cookieMaxAge=b.calculateCookieLifespan(t.cookieMaxAgeSeconds),e.usesNonCookieAccess=t.usesNonCookieAccess,e.deviceStorageDisclosureUrl=t.deviceStorageDisclosureUrl||null,!t.legIntPurposes.length&&!t.purposes.length&&t.specialPurposes.length);P.legIntSettings.PAllowLI&&((!i[n]||i[n].legInt)&&(i[n]||t.legIntPurposes.length)||o)||(A.vendorsSetting[n].legInt=!1),P.legIntSettings.PAllowLI&&o&&(A.vendorsSetting[n].specialPurposesOnly=!0),(!i[n]||i[n].consent)&&(i[n]||t.purposes.length||t.flexiblePurposes.length)&&(t.purposes.length||t.flexiblePurposes.length)||(A.vendorsSetting[n].consent=!1),e.features=t.features.map(function(e){var t,e=P.iabGroups.features[e];return t=e?{description:e.description,featureId:e.id,featureName:e.name}:t}),e.specialFeatures=r.vendors[n].specialFeatures.reduce(function(e,t){t=P.iabGroups.specialFeatures[t];return t&&e.push({description:t.description,featureId:t.id,featureName:t.name}),e},[]),e.purposes=r.vendors[n].purposes.reduce(function(e,t){var o=P.iabGroups.purposes[t];return!o||i[n]&&i[n].disabledCP&&-1!==i[n].disabledCP.indexOf(t)||e.push({description:o.description,purposeId:o.id,purposeName:o.name}),e},[]),e.legIntPurposes=r.vendors[n].legIntPurposes.reduce(function(e,t){var o=P.iabGroups.purposes[t];return!o||i[n]&&i[n].disabledLIP&&-1!==i[n].disabledLIP.indexOf(t)||e.push({description:o.description,purposeId:o.id,purposeName:o.name}),e},[]),e.specialPurposes=t.specialPurposes.map(function(e){var t,e=P.iabGroups.specialPurposes[e];return t=e?{description:e.description,purposeId:e.id,purposeName:e.name}:t}),A.iabData.vendors.push(e),A.vendorsSetting[n].arrIndex=A.iabData.vendors.length-1})},o.prototype.populateIABCookies=function(){return R(this,void 0,void 0,function(){return q(this,function(e){switch(e.label){case 0:if(!this.isIABCrossConsentEnabled())return[3,5];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,this.setIAB3rdPartyCookie(m.EU_CONSENT,"",0,!0)];case 2:return e.sent(),[3,4];case 3:return e.sent(),this.setIABCookieData(),this.updateCrossConsentCookie(!1),[3,4];case 4:return[3,6];case 5:p.needReconsent()||this.setIABCookieData(),e.label=6;case 6:return[2]}})})},o.prototype.setIAB3rdPartyCookie=function(e,t,o,n){var r=T.iabThirdPartyConsentUrl;try{if(r&&document.body)return this.updateThirdPartyConsent(r,e,t,o,n);throw new ReferenceError}catch(e){throw e}},o.prototype.setIABCookieData=function(){A.oneTrustIABConsent.IABCookieValue=v.getCookie(m.EU_PUB_CONSENT)},o.prototype.updateThirdPartyConsent=function(n,r,i,s,a){return R(this,void 0,void 0,function(){var t,o;return q(this,function(e){return t=window.location.protocol+"//"+n+"/?name="+r+"&value="+i+"&expire="+s+"&isFirstRequest="+a,document.getElementById("onetrustIabCookie")?(document.getElementById("onetrustIabCookie").contentWindow.location.replace(t),[2]):(d(o=document.createElement("iframe"),"display: none;",!0),o.id="onetrustIabCookie",o.setAttribute("title","OneTrust IAB Cookie"),o.src=t,document.body.appendChild(o),[2,new Promise(function(e){o.onload=function(){P.thirdPartyiFrameResolve(),P.thirdPartyiFrameLoaded=!0,e()},o.onerror=function(){throw P.thirdPartyiFrameResolve(),P.thirdPartyiFrameLoaded=!0,e(),new URIError}})])})})},o.prototype.setIABVendor=function(o,n){var t;void 0===o&&(o=!0),void 0===n&&(n=!1),A.iabData.vendors.forEach(function(e){var t,e=e.vendorId;P.legIntSettings.PAllowLI?(t=void 0,t=(n||!!A.vendorsSetting[e].consent)&&o,A.oneTrustIABConsent.vendors.push(e.toString()+":"+t),A.oneTrustIABConsent.legIntVendors.push(e.toString()+":"+A.vendorsSetting[e].legInt)):(A.oneTrustIABConsent.legIntVendors=[],A.oneTrustIABConsent.vendors.push(e.toString()+":"+o))}),T.UseGoogleVendors&&(t=A.addtlVendors,Object.keys(A.addtlVendorsList).forEach(function(e){o&&(t.vendorSelected[""+e.toString()]=!0,t.vendorConsent.push(""+e.toString()))}))},o.prototype.setOrUpdate3rdPartyIABConsentFlag=function(){var e=this.getIABCrossConsentflagData();T.IsIabEnabled?e&&!this.needReconsent()||this.updateCrossConsentCookie(T.IsIabThirdPartyCookieEnabled):e&&!this.reconsentRequired()&&"true"!==e||this.updateCrossConsentCookie(!1)},o.prototype.isIABCrossConsentEnabled=function(){return"true"===this.getIABCrossConsentflagData()},o.prototype.getIABCrossConsentflagData=function(){return v.readCookieParam(m.OPTANON_CONSENT,qe)},o.prototype.setGeolocationInCookies=function(){var e,t=v.readCookieParam(m.OPTANON_CONSENT,Fe);A.userLocation&&!t&&this.isAlertBoxClosedAndValid()?(e=A.userLocation.country+";"+A.userLocation.state,this.setUpdateGeolocationCookiesData(e)):this.reconsentRequired()&&t&&this.setUpdateGeolocationCookiesData("")},o.prototype.iabStringSDK=function(){var e=k.moduleInitializer.otIABModuleData;if(T.IsIabEnabled&&e)return{gvl:e.tcfSdkRef.gvl,tcModel:e.tcfSdkRef.tcModel,tcString:e.tcfSdkRef.tcString,cmpApi:e.tcfSdkRef.cmpApi,purposeRestriction:e.tcfSdkRef.purposeRestriction}},o.prototype.setUpdateGeolocationCookiesData=function(e){v.writeCookieParam(m.OPTANON_CONSENT,Fe,e)},o.prototype.reconsentRequired=function(){return(k.moduleInitializer.MobileSDK||this.awaitingReconsent())&&this.needReconsent()},o.prototype.awaitingReconsent=function(){return"true"===v.readCookieParam(m.OPTANON_CONSENT,De)},o.prototype.needReconsent=function(){var e=this.alertBoxCloseDate(),t=T.LastReconsentDate;return e&&t&&new Date(t)>new Date(e)},o.prototype.updateCrossConsentCookie=function(e){v.writeCookieParam(m.OPTANON_CONSENT,qe,e)},o.prototype.alertBoxCloseDate=function(){return v.getCookie(m.ALERT_BOX_CLOSED)},o.prototype.isAlertBoxClosedAndValid=function(){return null!==this.alertBoxCloseDate()&&!this.reconsentRequired()},o.prototype.generateLegIntButtonElements=function(e,t,o){return'<div class="ot-leg-btn-container" data-group-id="'+t+'" data-el-id="'+t+'-leg-out" is-vendor="'+(o=void 0===o?!1:o)+'">\n <button class="ot-obj-leg-btn-handler '+(e?"ot-leg-int-enabled ot-inactive-leg-btn":"ot-active-leg-btn")+'">\n <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512">\n <path fill="'+T.pcButtonTextColor+'" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"/>\n </svg>\n <span>'+(e?P.legIntSettings.PObjectLegIntText:P.legIntSettings.PObjectionAppliedText)+'\n </span>\n </button>\n <button\n class="ot-remove-objection-handler"\n data-style="color:'+T.pcButtonColor+"; "+(e?"display:none;":"")+'"\n >\n '+P.legIntSettings.PRemoveObjectionText+"\n </button>\n </div>"},o.prototype.syncAlertBoxCookie=function(e){var t=T.ReconsentFrequencyDays;v.setCookie(m.ALERT_BOX_CLOSED,e,t,!1,new Date(e))},o.prototype.syncCookieExpiry=function(){var e,t,o;A.syncRequired&&(e=T.ReconsentFrequencyDays,t=v.getCookie(m.ALERT_BOX_CLOSED),o=v.getCookie(m.OPTANON_CONSENT),v.setCookie(m.OPTANON_CONSENT,o,e,!1,new Date(t)),p.needReconsent()&&v.removeAlertBox(),(o=v.getCookie(m.EU_PUB_CONSENT))&&(p.isIABCrossConsentEnabled()?v.removeIab2():v.setCookie(m.EU_PUB_CONSENT,o,e,!1,new Date(t))),o=v.getCookie(m.ADDITIONAL_CONSENT_STRING))&&v.setCookie(m.ADDITIONAL_CONSENT_STRING,o,e,!1,new Date(t))},o.prototype.syncOtPreviewCookie=function(){var e=v.getCookie(m.OT_PREVIEW);e&&v.setCookie(m.OT_PREVIEW,e,1,!1)},o.prototype.dispatchConsentEvent=function(){window.dispatchEvent(new CustomEvent("OTConsentApplied",{OTConsentApplied:"yes"}))};var L,p=new o,eo=function(){};oo.prototype.isAlwaysActiveGroup=function(e){var t;return!this.getGrpStatus(e)||(t=this.getGrpStatus(e).toLowerCase(),(t=e.Parent&&t!==Qe?this.getGrpStatus(this.getParentGroup(e.Parent)).toLowerCase():t)===Qe)},oo.prototype.getGrpStatus=function(e){return e&&e.Status?P.DNTEnabled&&e.IsDntEnabled?tt:e.Status:""},oo.prototype.getParentGroup=function(t){var e;return t&&0<(e=T.Groups.filter(function(e){return e.OptanonGroupId===t})).length?e[0]:null},oo.prototype.checkIfGroupHasConsent=function(t){var e=A.groupsConsent,o=b.findIndex(e,function(e){return e.split(":")[0]===t.CustomGroupId});return-1<o&&"1"===e[o].split(":")[1]},oo.prototype.checkIsActiveByDefault=function(e){var t;return!this.getGrpStatus(e)||(t=this.getGrpStatus(e).toLowerCase(),(t=e.Parent&&t!==Qe?this.getGrpStatus(this.getParentGroup(e.Parent)).toLowerCase():t)===Qe)||t===Ze||t===$e||t===tt&&!P.DNTEnabled},oo.prototype.getGroupById=function(e){for(var t=null,o=0,n=T.Groups;o<n.length;o++){for(var r=n[o],i=0,s=M(r.SubGroups,[r]);i<s.length;i++){var a=s[i];if(a.CustomGroupId===e){t=a;break}}if(t)break}return t},oo.prototype.isSoftOptInGrp=function(e){return!!e&&(e=e&&!e.Parent?e:C.getParentGroup(e.Parent),"inactive landingpage"===C.getGrpStatus(e).toLowerCase())},oo.prototype.isOptInGrp=function(e){return!!e&&"inactive"===C.getGrpStatus(e).toLowerCase()},oo.prototype.getParentByGrp=function(e){return e.Parent?this.getGroupById(e.Parent):null},oo.prototype.getVSById=function(e){return A.getVendorsInDomain().get(e)},oo.prototype.getGrpByVendorId=function(e){var t=null;return t=A.getVendorsInDomain().has(e)?A.getVendorsInDomain().get(e).groupRef:t};var C,to=oo;function oo(){}io.prototype.ensureConsentId=function(e,t){var o=!1,n=!0,r="",i=v.readCookieParam(m.OPTANON_CONSENT,He,!0),s=A.dsParams;return s&&s.hasOwnProperty("isAnonymous")&&(n=s.isAnonymous),null!=(s=T.ConsentIntegration)&&s.IdentifiedReceiptsAllowed&&((r=v.readCookieParam(m.OPTANON_CONSENT,ze,!0))?n=!1:r=null==(s=T.ConsentIntegration)?void 0:s.DefaultIdentifier),s=!e&&t?(o=!0,1):0,i?(e=parseInt(v.readCookieParam(m.OPTANON_CONSENT,Re),10),isNaN(e)||(s=t?++e:e,o=!1)):(i=b.generateUUID(),v.writeCookieParam(m.OPTANON_CONSENT,He,i)),v.writeCookieParam(m.OPTANON_CONSENT,Re,s),{id:i,count:s,addDfltInt:o,identifierType:r,isAnonymous:n}},io.prototype.isAuthUsr=function(e){A.consentPreferences?v.writeCookieParam(m.OPTANON_CONSENT,"iType",""):v.writeCookieParam(m.OPTANON_CONSENT,"iType",""+ge[e])},io.prototype.createConsentTxn=function(e,t,o,n){void 0===t&&(t=""),void 0===o&&(o=!1);var r,i=this.ensureConsentId(e,n=void 0===n?!0:n),s=T.ConsentIntegration,a=window.navigator.userAgent,l=/OneTrustBot/.test(a);s.ConsentApi&&s.RequestInformation&&i.id&&!l&&(l=k.moduleInitializer,no.noOptOutToogle=l.TenantFeatures.CookieV2NoOptOut,r=A.bannerCloseSource,no.isCloseByIconOrLink=r===ee.BannerCloseButton||r===ee.ContinueWithoutAcceptingButton,r={requestInformation:s.RequestInformation,identifier:i.id,identifierType:i.identifierType,customPayload:{Interaction:i.count,AddDefaultInteraction:i.addDfltInt},isAnonymous:i.isAnonymous,test:l.ScriptType===nt||l.ScriptType===rt,purposes:this.getConsetPurposes(e),dsDataElements:{}},A.isV2Stub&&(r.syncGroup=A.syncGrpId,"IAB2"!==P.iabType||p.isIABCrossConsentEnabled()||(r.tcStringV2=v.getCookie(m.EU_PUB_CONSENT)),T.UseGoogleVendors)&&(r.gacString=v.getCookie(m.ADDITIONAL_CONSENT_STRING)),(i=C.getGroupById(T.AdvancedAnalyticsCategory))&&this.canSendAdvancedAnalytics(r.purposes,i)&&(r.dsDataElements={InteractionType:t,Country:A&&A.userLocation?A.userLocation.country:"",UserAgent:a,ConsentModel:T.ConsentModel.Name}),!l.MobileSDK&&n&&r.purposes.length&&(i=JSON.stringify(r),e&&navigator.sendBeacon?(navigator.sendBeacon(s.ConsentApi,i),p.dispatchConsentEvent()):!o&&P.apiSource!==oe.UpdateConsent&&A.consentInteractionType===t||(A.isV2Stub&&t&&this.isAuthUsr(t),jt.ajax({url:s.ConsentApi,type:"post",dataType:"json",contentType:"application/json",data:JSON.stringify(r),sync:e,success:function(){p.dispatchConsentEvent()},error:function(){p.dispatchConsentEvent()}}))),P.pubDomainData.ConsentIntegrationData={consentApi:s.ConsentApi,consentPayload:r}),A.consentInteractionType=t},io.prototype.getGrpDetails=function(e,o){var n=[];return e.forEach(function(e){var e=e.split(":"),t=e[0],e="true"===e[1]?"1":"0",t=no.getOptanonIdForIabGroup(t,o);n.push(t+":"+e)}),n},io.prototype.getOptanonIdForIabGroup=function(e,t){var o;return t===ne.Purpose?o=f.IdPatterns.Pur+e:t===ne.SpecialFeature&&(o=f.IdPatterns.Spl_Ft+e),o},io.prototype.getConsetPurposes=function(o){var n=this,r=[],e=[],t=A.oneTrustIABConsent,i=t&&t.purpose?this.getGrpDetails(t.purpose,ne.Purpose):[],s=t&&t.specialFeatures?this.getGrpDetails(t.specialFeatures,ne.SpecialFeature):[],e=M(t.specialPurposes,t.features);return M(A.groupsConsent,i,s).forEach(function(e){var e=e.split(":"),t=C.getGroupById(e[0]);t&&t.PurposeId&&(e=n.getTransactionType(t,e,o),r.push({Id:t.PurposeId,TransactionType:e.txnType}),n.setVSConsentByGroup(t,e).forEach(function(e){return r.push(e)}))}),e.forEach(function(e){e.purposeId&&r.push({Id:e.purposeId,TransactionType:Je})}),A.bannerCloseSource=ee.Unknown,r},io.prototype.setVSConsentByGroup=function(e,o){var n=[];return A.showVendorService&&e.VendorServices&&e.VendorServices.forEach(function(e){var t;t=o.useOwn?A.vsConsent.get(e.CustomVendorServiceId)?Ke:We:o.txnType,n.push({Id:e.PurposeId,TransactionType:t})}),n},io.prototype.getTransactionType=function(e,t,o){var n={txnType:Je,useOwn:!1};return e.Status===Qe?n.txnType=Je:e.Status===et&&no.isCloseByIconOrLink||o?n.txnType=Ye:e.Status===$e&&no.isCloseByIconOrLink?n.txnType=no.noOptOutToogle?Xe:Ke:(n.useOwn=!0,n.txnType=this.getTxnType(t[1])),n},io.prototype.getTxnType=function(e){return"0"===e?We:Ke},io.prototype.isPurposeConsentedTo=function(e,t){var o=[Ke,Je];return e.some(function(e){return e.Id===t.PurposeId&&-1!==o.indexOf(e.TransactionType)})},io.prototype.canSendAdvancedAnalytics=function(t,e){var o=this;return"BRANCH"===e.Type||e.Type===f.GroupTypes.Stack?e.SubGroups.length&&e.SubGroups.every(function(e){return o.isPurposeConsentedTo(t,e)}):this.isPurposeConsentedTo(t,e)};var no,ro=io;function io(){}lo.prototype.isIabCookieValid=function(){var e=null;return null!==(e=P.isIab2orv2Template?v.getCookie("eupubconsent-v2"):e)},lo.prototype.iabTypeIsChanged=function(){this.isIabCookieValid()||(v.removeAlertBox(),v.removeIab1())},lo.prototype.initializeIABModule=function(){return R(this,void 0,void 0,function(){return q(this,function(e){switch(e.label){case 0:return T.IsIabEnabled?(k.moduleInitializer.otIABModuleData=window.otIabModule,p.setIabData(),[4,p.populateVendorListTCF()]):[3,2];case 1:return e.sent(),p.isIABCrossConsentEnabled()||this.iabTypeIsChanged(),p.populateIABCookies(),T.UseGoogleVendors&&this.removeInActiveAddtlVendors(),[3,3];case 2:v.removeIab1(),e.label=3;case 3:return[2]}})})},lo.prototype.removeInActiveAddtlVendors=function(){var e,t=T.OverridenGoogleVendors;for(e in A.addtlVendorsList)t&&t[e]&&!t[e].active&&delete A.addtlVendorsList[e]},lo.prototype.getIABConsentData=function(){var e=A.oneTrustIABConsent,t=p.iabStringSDK().tcString(),o=(A.tcModel.unsetAllPurposeConsents(),A.tcModel.unsetAllVendorConsents(),A.tcModel.unsetAllVendorLegitimateInterests(),A.tcModel.unsetAllSpecialFeatureOptins(),A.tcModel.unsetAllPurposeLegitimateInterests(),A.tcModel.publisherConsents.empty(),A.tcModel.publisherLegitimateInterests.empty(),A.tcModel.purposeConsents.set(b.getActiveIdArray(e.purpose)),A.tcModel.publisherConsents.set(b.getActiveIdArray(e.purpose)),P.legIntSettings.PAllowLI?b.getActiveIdArray(e.legimateInterest):[]),o=(A.tcModel.purposeLegitimateInterests.set(o),A.tcModel.publisherLegitimateInterests.set(o),A.tcModel.vendorConsents.set(b.getActiveIdArray(b.distinctArray(e.vendors))),P.legIntSettings.PAllowLI&&!o.length&&(e.legIntVendors=[]),A.tcModel.vendorLegitimateInterests.set(b.getActiveIdArray(b.distinctArray(e.legIntVendors))),A.tcModel.specialFeatureOptins.set(b.getActiveIdArray(e.specialFeatures)),new Date),e=new Date(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate(),0,0,0),o=(A.tcModel.lastUpdated=e,A.tcModel.created=e,t.encode(A.tcModel));return A.cmpApi.update(o,!1),o},lo.prototype.decodeTCString=function(e){return p.iabStringSDK().tcString().decode(e)},lo.prototype.getVendorConsentsRequestV2=function(e){var o;return window.__tcfapi("getInAppTCData",2,function(e,t){o=[e,t]}),e.apply(this,o)},lo.prototype.getPingRequestForTcf=function(e){var t;return window.__tcfapi("ping",2,function(e){t=[e]}),e.apply(this,t)},lo.prototype.populateVendorAndPurposeFromCookieData=function(){var n=A.oneTrustIABConsent,e=so.decodeTCString(n.IABCookieValue),t=f.GroupTypes,r={},i={},s=(P.iabGrps.forEach(function(e){e.Type===t.Pur?r[P.iabGrpIdMap[e.CustomGroupId]]=e:e.Type===t.Spl_Ft&&(i[P.iabGrpIdMap[e.CustomGroupId]]=e)}),[]),e=(this.syncVendorConsent(e),s=[],e.vendorLegitimateInterests.forEach(function(e,t){var o=e;A.vendorsSetting[t]&&A.vendorsSetting[t].legInt||!e||(s.push(t),o=!1),n.legIntVendors.push(t+":"+o)}),e.vendorLegitimateInterests.unset(s),s=[],e.purposeConsents.forEach(function(e,o){var t=e,e=(!(r[o]&&r[o].HasConsentOptOut)&&e&&(s.push(o),t=!1),b.findIndex(n.purpose,function(e,t){return e.split(":")[0]===o.toString()}));-1===e?n.purpose.push(o+":"+t):n.purpose[e]=o+":"+t}),e.purposeConsents.unset(s),e.publisherConsents.unset(s),s=[],e.specialFeatureOptins.forEach(function(e,o){var t=e,e=(!(i[o]&&i[o].HasConsentOptOut)&&e&&(s.push(o),t=!1),b.findIndex(n.specialFeatures,function(e,t){return e.split(":")[0]===o.toString()}));-1===e?n.specialFeatures.push(o+":"+t):n.specialFeatures[e]=o+":"+t}),e.specialFeatureOptins.unset(s),this.syncPurAndPubLegInt(e,r),this.syncBundleAndStack(),e.gvl=A.tcModel.gvl,e.isServiceSpecific=!p.isIABCrossConsentEnabled(),A.tcModel=e,p.iabStringSDK().tcString().encode(e));p.isAlertBoxClosedAndValid()?(n.IABCookieValue!==e&&(n.IABCookieValue=e,p.isIABCrossConsentEnabled()?p.setIAB3rdPartyCookie(m.EU_CONSENT,n.IABCookieValue,T.ReconsentFrequencyDays,!1):v.setCookie(m.EU_PUB_CONSENT,n.IABCookieValue,T.ReconsentFrequencyDays)),A.cmpApi.update(e,!1)):p.resetTCModel()},lo.prototype.syncVendorConsent=function(e){var n=[],r=A.oneTrustIABConsent;e.vendorConsents.forEach(function(e,t){var o=e;A.vendorsSetting[t]&&A.vendorsSetting[t].consent||!e||(n.push(t),o=!1),r.vendors.push(t+":"+o)}),e.vendorConsents.unset(n)},lo.prototype.syncPurAndPubLegInt=function(e,n){var r=[],i=A.oneTrustIABConsent;e.purposeLegitimateInterests.forEach(function(e,o){var t=e,e=(!(n[o]&&n[o].HasLegIntOptOut&&P.legIntSettings.PAllowLI)&&e&&(r.push(o),t=!1),b.findIndex(i.legimateInterest,function(e,t){return e.split(":")[0]===o.toString()}));-1===e?i.legimateInterest.push(o+":"+t):i.legimateInterest[e]=o+":"+t}),e.purposeLegitimateInterests.unset(r),e.publisherLegitimateInterests.unset(r)},lo.prototype.syncBundleAndStack=function(){var e=v.readCookieParam(m.OPTANON_CONSENT,"groups"),n=(A.groupsConsent=b.strToArr(e),f.GroupTypes);T.Groups.forEach(function(t){var e,o;t.Type!==n.Bundle&&t.Type!==n.Stack||(o=y.isBundleOrStackActive(t),e=b.findIndex(A.groupsConsent,function(e){return e.split(":")[0]===t.CustomGroupId}),o=t.CustomGroupId+":"+Number(o),-1<e?A.groupsConsent[e]=o:A.groupsConsent.push(o))}),v.writeCookieParam(m.OPTANON_CONSENT,"groups",A.groupsConsent.join(","))},lo.prototype.populateGoogleConsent=function(){var e;T.UseGoogleVendors&&(e=v.getCookie(m.ADDITIONAL_CONSENT_STRING))&&(A.isAddtlConsent=!0,A.addtlVendors.vendorConsent=e.replace(A.addtlConsentVersion,"").split("."))},lo.prototype.isInitIABCookieData=function(e){return"init"===e||p.needReconsent()},lo.prototype.updateFromGlobalConsent=function(e){var t=A.oneTrustIABConsent;t.IABCookieValue=e,t.purpose=t.purpose||[],t.specialFeatures=t.specialFeatures||[],t.legIntVendors=[],t.legimateInterest=t.legimateInterest||[],t.vendors=[],so.populateVendorAndPurposeFromCookieData(),v.setCookie(m.EU_PUB_CONSENT,"",-1)};var so,ao=lo;function lo(){}var co,po="groups",uo="hosts",go="genVendors",ho="vs",Co=(yo.prototype.writeHstParam=function(e,t){v.writeCookieParam(e,"hosts",b.arrToStr((t=void 0===t?null:t)||A.hostsConsent))},yo.prototype.writeGenVenCookieParam=function(e){var t=T.GeneralVendors,o=A.genVendorsConsent,n="";t.forEach(function(e){n+=e.VendorCustomId+":"+(o[e.VendorCustomId]?"1":"0")+","}),v.writeCookieParam(e,"genVendors",n)},yo.prototype.writeVSConsentCookieParam=function(e){var o="";A.vsConsent.forEach(function(e,t){return o+=t+":"+(e?"1":"0")+","}),o=o.slice(0,-1),v.writeCookieParam(e,ho,o)},yo.prototype.updateGroupsInCookie=function(e,t){v.writeCookieParam(e,"groups",b.arrToStr((t=void 0===t?null:t)||A.groupsConsent))},yo.prototype.writeGrpParam=function(e,t){this.updateGroupsInCookie(e,t=void 0===t?null:t),T.IsIabEnabled&&p.isAlertBoxClosedAndValid()&&this.insertOrUpdateIabCookies()},yo.prototype.insertOrUpdateIabCookies=function(){var e,t=A.oneTrustIABConsent;t.purpose&&t.vendors&&(A.isAddtlConsent=T.UseGoogleVendors,t.IABCookieValue=so.getIABConsentData(),e=T.ReconsentFrequencyDays,p.isIABCrossConsentEnabled()?p.setIAB3rdPartyCookie(m.EU_CONSENT,t.IABCookieValue,e,!1):(v.setCookie(m.EU_PUB_CONSENT,t.IABCookieValue,e),T.UseGoogleVendors&&v.setCookie(m.ADDITIONAL_CONSENT_STRING,""+A.addtlConsentVersion+A.addtlVendors.vendorConsent.join("."),e)))},yo);function yo(){}mo.prototype.initGenVendorConsent=function(){var e,t,n=this;T.GenVenOptOut?(e=P.consentableGrps,(t=v.readCookieParam(m.OPTANON_CONSENT,"genVendors"))?(A.genVendorsConsent={},t.split(",").forEach(function(e){e&&"1"===(e=e.split(":"))[1]&&(A.genVendorsConsent[e[0]]=!0)})):(A.genVendorsConsent={},e.forEach(function(e){var o=A.syncRequired?C.checkIfGroupHasConsent(e):C.checkIsActiveByDefault(e);e.GeneralVendorsIds&&e.GeneralVendorsIds.length&&e.GeneralVendorsIds.forEach(function(e){var t=n.isGenVenPartOfAlwaysActiveGroup(e);A.genVendorsConsent[e]=t||o})}))):(A.genVendorsConsent={},co.writeGenVenCookieParam(m.OPTANON_CONSENT))},mo.prototype.populateGenVendorLists=function(){P.consentableGrps.forEach(function(e){e.GeneralVendorsIds&&(C.isAlwaysActiveGroup(e)?e.GeneralVendorsIds.forEach(function(e){A.alwaysActiveGenVendors.push(e)}):C.isOptInGrp(e)?e.GeneralVendorsIds.forEach(function(e){A.optInGenVendors.push(e)}):C.isSoftOptInGrp(e)&&e.GeneralVendorsIds.forEach(function(e){A.optInGenVendors.includes(e)||A.softOptInGenVendors.push(e)}))})},mo.prototype.updateGenVendorStatus=function(e,t){A.genVendorsConsent[e]=t||this.isGenVenPartOfAlwaysActiveGroup(e)},mo.prototype.isGenVenPartOfAlwaysActiveGroup=function(e){return A.alwaysActiveGenVendors.includes(e)};var fo,ko=mo;function mo(){}So.prototype.synchroniseCookieGroupData=function(e){var t=v.readCookieParam(m.OPTANON_CONSENT,"groups"),n=b.strToArr(t),r=b.strToArr(t.replace(/:0|:1/g,"")),t=p.needReconsent(),i=!1,s=!1,a=f.GroupTypes;e.forEach(function(e){var t,o=e.CustomGroupId;e.Type!==a.Bundle&&e.Type!==a.Stack&&(-1===b.indexOf(r,o)?(i=!0,t=C.checkIsActiveByDefault(e),s=!0,n.push(o+(t?":1":":0"))):P.gpcEnabled&&e.IsGpcEnabled&&P.gpcValueChanged&&-1<(t=n.indexOf(o+":1"))&&(s=!0,A.gpcConsentTxn=!0,n[t]=o+":0"))}),s=this.updateConsentForBundleGrps(e,n,r,s,t),(s=this.removeRedundantGrpsFromCookie(n,t,s))&&(A.fireOnetrustGrp=!0,co.updateGroupsInCookie(m.OPTANON_CONSENT,n),A.syncRequired)&&i&&v.removeAlertBox()},So.prototype.removeRedundantGrpsFromCookie=function(e,o,t){for(var n=e.length,r=t;n--;)!function(){var t=e[n].replace(/:0|:1/g,"");T.Groups.some(function(e){return(!o||e.Type!==f.GroupTypes.Stack)&&(e.CustomGroupId===t||e.SubGroups.some(function(e){return e.CustomGroupId===t}))})||(r=!0,e.splice(n,1))}();return r},So.prototype.updateConsentForBundleGrps=function(e,n,r,t,i){var s=t,a=f.GroupTypes;return e.forEach(function(e){var t=e.Type===a.Bundle||e.Type===a.Stack,o=e.CustomGroupId;t&&(-1===b.indexOf(r,o)?(t=y.isBundleOrStackActive(e,n),s=!0,n.push(o+(t?":1":":0"))):(i&&"false"===p.getIABCrossConsentflagData()||P.gpcEnabled&&P.gpcValueChanged||A.syncRequired)&&(t=y.isBundleOrStackActive(e,n),-1<(e=n.indexOf(o+":"+(t?"0":"1"))))&&(s=!0,n[e]=o+(t?":1":":0")))}),s},So.prototype.groupHasConsent=function(t){var e=b.strToArr(v.readCookieParam(m.OPTANON_CONSENT,"groups")),o=b.findIndex(e,function(e){return e.split(":")[0]===t.CustomGroupId});return-1<o&&"1"===e[o].split(":")[1]},So.prototype.synchroniseCookieHostData=function(){for(var n=this,e=v.readCookieParam(m.OPTANON_CONSENT,"hosts"),r=b.strToArr(e),i=b.strToArr(e.replace(/:0|:1/g,"")),s=!1,o=(T.Groups.forEach(function(e){M(e.SubGroups,[e]).forEach(function(o){o.Hosts.length&&o.Hosts.forEach(function(e){var t;-1===b.indexOf(i,e.HostId)&&(s=!0,t=A.syncRequired?n.groupHasConsent(o):C.checkIsActiveByDefault(o),r.push(e.HostId+(t?":1":":0")))})})}),r.length);o--;)!function(){var t=r[o].replace(/:0|:1/g,"");T.Groups.some(function(e){return M(e.SubGroups,[e]).some(function(e){return e.Hosts.some(function(e){return e.HostId===t})})})||(s=!0,r.splice(o,1))}();s&&(A.fireOnetrustGrp=!0,co.writeHstParam(m.OPTANON_CONSENT,r))},So.prototype.toggleGroupHosts=function(e,t){var o=this;e.Hosts.forEach(function(e){o.updateHostStatus(e,t)})},So.prototype.toggleGroupGenVendors=function(e,t){e.GeneralVendorsIds.forEach(function(e){fo.updateGenVendorStatus(e,t)})},So.prototype.updateHostStatus=function(t,e){var o=b.findIndex(A.hostsConsent,function(e){return!t.isActive&&t.HostId===e.replace(/:0|:1/g,"")});-1<o&&(e=e||this.isHostPartOfAlwaysActiveGroup(t.HostId),A.hostsConsent[o]=t.HostId+":"+(e?"1":"0"))},So.prototype.isHostPartOfAlwaysActiveGroup=function(e){return A.oneTrustAlwaysActiveHosts.includes(e)};var vo,bo=So;function So(){}var Po,To=function(){this.assets=function(){return{name:"otCookiePolicy",html:'<div class="ot-sdk-cookie-policy ot-sdk-container">\n <h3 id="cookie-policy-title">Cookie Tracking Table</h3>\n <div id="cookie-policy-description"></div>\n <section>\n <h4 class="ot-sdk-cookie-policy-group">Strictly Necessary Cookies</h4>\n <p class="ot-sdk-cookie-policy-group-desc">group description</p>\n <h5 class="cookies-used-header">Cookies Used</h5>\n <ul class="cookies-list">\n <li>Cookie 1</li>\n </ul>\n <table>\n <caption class="ot-scrn-rdr">caption</caption>\n <thead>\n <tr>\n <th scope="col" class="table-header host">Host</th>\n <th scope="col" class="table-header host-description">Host Description</th>\n <th scope="col" class="table-header cookies">Cookies</th>\n <th scope="col" class="table-header life-span">Life Span</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td class="host-td" data-label="Host"><span class="ot-mobile-border"></span><a\n href="https://cookiepedia.co.uk/host/.app.onetrust.com?_ga=2.157675898.1572084395.1556120090-1266459230.1555593548&_ga=2.157675898.1572084395.1556120090-1266459230.1555593548">Azure</a>\n </td>\n <td class="host-description-td" data-label="Host Description"><span\n class="ot-mobile-border"></span>These\n cookies are used to make sure\n visitor page requests are routed to the same server in all browsing sessions.</td>\n <td class="cookies-td" data-label="Cookies">\n <span class="ot-mobile-border"></span>\n <ul>\n <li>ARRAffinity</li>\n </ul>\n </td>\n <td class="life-span-td" data-label="Life Span"><span class="ot-mobile-border"></span>\n <ul>\n <li>100 days</li>\n </ul>\n </td>\n </tr>\n </tbody>\n </table>\n </section>\n <section class="subgroup">\n <h5 class="ot-sdk-cookie-policy-group">Strictly Necessary Cookies</h5>\n <p class="ot-sdk-cookie-policy-group-desc">description</p>\n <h6 class="cookies-used-header">Cookies Used</h6>\n <ul class="cookies-list">\n <li>Cookie 1</li>\n </ul>\n <table>\n <caption class="ot-scrn-rdr">caption</caption>\n <thead>\n <tr>\n <th scope="col" class="table-header host">Host</th>\n <th scope="col" class="table-header host-description">Host Description</th>\n <th scope="col" class="table-header cookies">Cookies</th>\n <th scope="col" class="table-header life-span">Life Span</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td class="host-td" data-label="Host"><span class="ot-mobile-border"></span><a\n href="https://cookiepedia.co.uk/host/.app.onetrust.com?_ga=2.157675898.1572084395.1556120090-1266459230.1555593548&_ga=2.157675898.1572084395.1556120090-1266459230.1555593548">Azure</a>\n </td>\n <td class="host-description-td" data-label="Host Description">\n <span class="ot-mobile-border"></span>\n cookies are used to make sureng sessions.\n </td>\n <td class="cookies-td" data-label="Cookies">\n <span class="ot-mobile-border"></span>\n <ul>\n <li>ARRAffinity</li>\n </ul>\n </td>\n <td class="life-span-td" data-label="Life Span"><span class="ot-mobile-border"></span>\n <ul>\n <li>100 days</li>\n </ul>\n </td>\n </tr>\n </tbody>\n </table>\n </section>\n</div>\n\x3c!-- New Cookies policy Link--\x3e\n<div id="ot-sdk-cookie-policy-v2" class="ot-sdk-cookie-policy ot-sdk-container">\n <h3 id="cookie-policy-title" class="ot-sdk-cookie-policy-title">Cookie Tracking Table</h3>\n <div id="cookie-policy-description"></div>\n <section>\n <h4 class="ot-sdk-cookie-policy-group">Strictly Necessary Cookies</h4>\n <p class="ot-sdk-cookie-policy-group-desc">group description</p>\n <section class="ot-sdk-subgroup">\n <ul>\n <li>\n <h5 class="ot-sdk-cookie-policy-group">Strictly Necessary Cookies</h5>\n <p class="ot-sdk-cookie-policy-group-desc">description</p>\n </li>\n </ul>\n </section>\n <table>\n <caption class="ot-scrn-rdr">caption</caption>\n <thead>\n <tr>\n <th scope="col" class="ot-table-header ot-host">Host</th>\n <th scope="col" class="ot-table-header ot-host-description">Host Description</th>\n <th scope="col" class="ot-table-header ot-cookies">Cookies</th>\n <th scope="col" class="ot-table-header ot-cookies-type">Type</th>\n <th scope="col" class="ot-table-header ot-life-span">Life Span</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td class="ot-host-td" data-label="Host"><span class="ot-mobile-border"></span><a\n href="https://cookiepedia.co.uk/host/.app.onetrust.com?_ga=2.157675898.1572084395.1556120090-1266459230.1555593548&_ga=2.157675898.1572084395.1556120090-1266459230.1555593548">Azure</a>\n </td>\n <td class="ot-host-description-td" data-label="Host Description">\n <span class="ot-mobile-border"></span>\n cookies are used to make sureng sessions.\n </td>\n <td class="ot-cookies-td" data-label="Cookies">\n <span class="ot-mobile-border"></span>\n <span class="ot-cookies-td-content">ARRAffinity</span>\n </td>\n <td class="ot-cookies-type" data-label="Type">\n <span class="ot-mobile-border"></span>\n <span class="ot-cookies-type-td-content">1st Party</span>\n </td>\n <td class="ot-life-span-td" data-label="Life Span">\n <span class="ot-mobile-border"></span>\n <span class="ot-life-span-td-content">100 days</span>\n </td>\n </tr>\n </tbody>\n </table>\n </section>\n</div>',css:".ot-sdk-cookie-policy{font-family:inherit;font-size:16px}.ot-sdk-cookie-policy.otRelFont{font-size:1rem}.ot-sdk-cookie-policy h3,.ot-sdk-cookie-policy h4,.ot-sdk-cookie-policy h6,.ot-sdk-cookie-policy p,.ot-sdk-cookie-policy li,.ot-sdk-cookie-policy a,.ot-sdk-cookie-policy th,.ot-sdk-cookie-policy #cookie-policy-description,.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group,.ot-sdk-cookie-policy #cookie-policy-title{color:dimgray}.ot-sdk-cookie-policy #cookie-policy-description{margin-bottom:1em}.ot-sdk-cookie-policy h4{font-size:1.2em}.ot-sdk-cookie-policy h6{font-size:1em;margin-top:2em}.ot-sdk-cookie-policy th{min-width:75px}.ot-sdk-cookie-policy a,.ot-sdk-cookie-policy a:hover{background:#fff}.ot-sdk-cookie-policy thead{background-color:#f6f6f4;font-weight:bold}.ot-sdk-cookie-policy .ot-mobile-border{display:none}.ot-sdk-cookie-policy section{margin-bottom:2em}.ot-sdk-cookie-policy table{border-collapse:inherit}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy{font-family:inherit;font-size:1rem}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy h3,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy h4,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy h6,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy p,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy li,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy th,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-description,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-title{color:dimgray}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-description{margin-bottom:1em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-subgroup{margin-left:1.5em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-description,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group-desc,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-table-header,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy span,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td{font-size:.9em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td span,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td a{font-size:inherit}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group{font-size:1em;margin-bottom:.6em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-title{margin-bottom:1.2em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy>section{margin-bottom:1em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy th{min-width:75px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a:hover{background:#fff}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy thead{background-color:#f6f6f4;font-weight:bold}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-mobile-border{display:none}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy section{margin-bottom:2em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-subgroup ul li{list-style:disc;margin-left:1.5em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-subgroup ul li h4{display:inline-block}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table{border-collapse:inherit;margin:auto;border:1px solid #d7d7d7;border-radius:5px;border-spacing:initial;width:100%;overflow:hidden}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table th,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table td{border-bottom:1px solid #d7d7d7;border-right:1px solid #d7d7d7}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr:last-child td{border-bottom:0px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr th:last-child,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr td:last-child{border-right:0px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-host,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-cookies-type{width:25%}.ot-sdk-cookie-policy[dir=rtl]{text-align:left}#ot-sdk-cookie-policy h3{font-size:1.5em}@media only screen and (max-width: 530px){.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) table,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) thead,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tbody,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) th,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) td,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tr{display:block}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) thead tr{position:absolute;top:-9999px;left:-9999px}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tr{margin:0 0 1em 0}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tr:nth-child(odd),.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tr:nth-child(odd) a{background:#f6f6f4}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) td{border:none;border-bottom:1px solid #eee;position:relative;padding-left:50%}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) td:before{position:absolute;height:100%;left:6px;width:40%;padding-right:10px}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) .ot-mobile-border{display:inline-block;background-color:#e4e4e4;position:absolute;height:100%;top:0;left:45%;width:2px}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) td:before{content:attr(data-label);font-weight:bold}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) li{word-break:break-word;word-wrap:break-word}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table{overflow:hidden}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table td{border:none;border-bottom:1px solid #d7d7d7}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy thead,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy tbody,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy th,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy tr{display:block}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-host,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-cookies-type{width:auto}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy tr{margin:0 0 1em 0}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td:before{height:100%;width:40%;padding-right:10px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td:before{content:attr(data-label);font-weight:bold}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy li{word-break:break-word;word-wrap:break-word}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy thead tr{position:absolute;top:-9999px;left:-9999px;z-index:-9999}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr:last-child td{border-bottom:1px solid #d7d7d7;border-right:0px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr:last-child td:last-child{border-bottom:0px}}",cssRTL:".ot-sdk-cookie-policy{font-family:inherit;font-size:16px}.ot-sdk-cookie-policy.otRelFont{font-size:1rem}.ot-sdk-cookie-policy h3,.ot-sdk-cookie-policy h4,.ot-sdk-cookie-policy h6,.ot-sdk-cookie-policy p,.ot-sdk-cookie-policy li,.ot-sdk-cookie-policy a,.ot-sdk-cookie-policy th,.ot-sdk-cookie-policy #cookie-policy-description,.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group,.ot-sdk-cookie-policy #cookie-policy-title{color:dimgray}.ot-sdk-cookie-policy #cookie-policy-description{margin-bottom:1em}.ot-sdk-cookie-policy h4{font-size:1.2em}.ot-sdk-cookie-policy h6{font-size:1em;margin-top:2em}.ot-sdk-cookie-policy th{min-width:75px}.ot-sdk-cookie-policy a,.ot-sdk-cookie-policy a:hover{background:#fff}.ot-sdk-cookie-policy thead{background-color:#f6f6f4;font-weight:bold}.ot-sdk-cookie-policy .ot-mobile-border{display:none}.ot-sdk-cookie-policy section{margin-bottom:2em}.ot-sdk-cookie-policy table{border-collapse:inherit}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy{font-family:inherit;font-size:1rem}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy h3,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy h4,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy h6,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy p,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy li,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy th,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-description,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-title{color:dimgray}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-description{margin-bottom:1em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-subgroup{margin-right:1.5em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-description,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group-desc,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-table-header,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy span,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td{font-size:.9em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td span,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td a{font-size:inherit}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group{font-size:1em;margin-bottom:.6em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-title{margin-bottom:1.2em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy>section{margin-bottom:1em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy th{min-width:75px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a:hover{background:#fff}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy thead{background-color:#f6f6f4;font-weight:bold}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-mobile-border{display:none}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy section{margin-bottom:2em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-subgroup ul li{list-style:disc;margin-right:1.5em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-subgroup ul li h4{display:inline-block}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table{border-collapse:inherit;margin:auto;border:1px solid #d7d7d7;border-radius:5px;border-spacing:initial;width:100%;overflow:hidden}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table th,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table td{border-bottom:1px solid #d7d7d7;border-left:1px solid #d7d7d7}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr:last-child td{border-bottom:0px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr th:last-child,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr td:last-child{border-left:0px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-host,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-cookies-type{width:25%}.ot-sdk-cookie-policy[dir=rtl]{text-align:right}#ot-sdk-cookie-policy h3{font-size:1.5em}@media only screen and (max-width: 530px){.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) table,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) thead,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tbody,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) th,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) td,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tr{display:block}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) thead tr{position:absolute;top:-9999px;right:-9999px}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tr{margin:0 0 1em 0}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tr:nth-child(odd),.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tr:nth-child(odd) a{background:#f6f6f4}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) td{border:none;border-bottom:1px solid #eee;position:relative;padding-right:50%}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) td:before{position:absolute;height:100%;right:6px;width:40%;padding-left:10px}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) .ot-mobile-border{display:inline-block;background-color:#e4e4e4;position:absolute;height:100%;top:0;right:45%;width:2px}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) td:before{content:attr(data-label);font-weight:bold}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) li{word-break:break-word;word-wrap:break-word}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table{overflow:hidden}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table td{border:none;border-bottom:1px solid #d7d7d7}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy thead,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy tbody,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy th,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy tr{display:block}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-host,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-cookies-type{width:auto}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy tr{margin:0 0 1em 0}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td:before{height:100%;width:40%;padding-left:10px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td:before{content:attr(data-label);font-weight:bold}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy li{word-break:break-word;word-wrap:break-word}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy thead tr{position:absolute;top:-9999px;right:-9999px;z-index:-9999}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr:last-child td{border-bottom:1px solid #d7d7d7;border-left:0px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr:last-child td:last-child{border-bottom:0px}}"}}},Ao=(Io.prototype.isLandingPage=function(){var e=v.readCookieParam(m.OPTANON_CONSENT,"landingPath");return!e||e===location.href},Io.prototype.setLandingPathParam=function(e){v.writeCookieParam(m.OPTANON_CONSENT,"landingPath",e)},Io);function Io(){}_o.prototype.loadBanner=function(){k.moduleInitializer.ScriptDynamicLoadEnabled?"complete"===document.readyState?I(window).trigger("otloadbanner"):window.addEventListener("load",function(e){I(window).trigger("otloadbanner")}):"loading"!==document.readyState?I(window).trigger("otloadbanner"):window.addEventListener("DOMContentLoaded",function(e){I(window).trigger("otloadbanner")}),P.pubDomainData.IsBannerLoaded=!0},_o.prototype.OnConsentChanged=function(e){var t=e.toString();c.consentChangedEventMap[t]||(c.consentChangedEventMap[t]=!0,window.addEventListener("consent.onetrust",e))},_o.prototype.triggerGoogleAnalyticsEvent=function(e,t,o,n){var r=!1;k.moduleInitializer.GATrackToggle&&("AS"===k.moduleInitializer.GATrackAssignedCategory||""===k.moduleInitializer.GATrackAssignedCategory||window.OnetrustActiveGroups.includes(","+k.moduleInitializer.GATrackAssignedCategory+","))&&(r=!0),!P.ignoreGoogleAnlyticsCall&&r&&(void 0!==window._gaq&&window._gaq.push(["_trackEvent",e,t,o,n]),"function"==typeof window.ga&&window.ga("send","event",e,t,o,n),r=window[P.otDataLayer.name],!P.otDataLayer.ignore)&&void 0!==r&&r&&r.constructor===Array&&r.push({event:"trackOptanonEvent",optanonCategory:e,optanonAction:t,optanonLabel:o,optanonValue:n})},_o.prototype.setAlertBoxClosed=function(e){var t=(new Date).toISOString(),e=(e?v.setCookie(m.ALERT_BOX_CLOSED,t,T.ReconsentFrequencyDays):v.setCookie(m.ALERT_BOX_CLOSED,t,0),I(".onetrust-pc-dark-filter").el[0]);e&&"none"!==getComputedStyle(e).getPropertyValue("display")&&I(".onetrust-pc-dark-filter").fadeOut(400)},_o.prototype.updateConsentFromCookie=function(t){return R(this,void 0,void 0,function(){return q(this,function(e){return t?(so.isInitIABCookieData(t)||so.updateFromGlobalConsent(t),"init"===t&&(v.removeIab1(),p.isAlertBoxClosedAndValid()&&p.resetTCModel(),v.removeAlertBox())):(p.resetTCModel(),p.updateCrossConsentCookie(!1),p.setIABCookieData()),c.assetPromise.then(function(){c.loadBanner()}),[2]})})};var c,Lo=_o;function _o(){var t=this;this.consentChangedEventMap={},this.assetResolve=null,this.assetPromise=new Promise(function(e){t.assetResolve=e})}var _,Eo="opt-out",Vo="OneTrust Cookie Consent",Oo="Banner Auto Close",Bo="Banner Close Button",wo="Banner - Continue without Accepting",Go="Banner - Confirm",xo="Preferences Close Button",No="Preference Center Opened From Banner",Do="Preference Center Opened From Button",Ho="Preference Center Opened From Function",Fo="Preferences Save Settings",Ro="Vendors List Opened From Function",qo="Floating Cookie Settings Open Button",Mo="Floating Cookie Settings Close Button",Uo="Preferences Toggle On",jo="Preferences Toggle Off",zo="General Vendor Toggle On",Ko="General Vendor Toggle Off",Wo="Host Toggle On",Jo="Host Toggle Off",Yo="Preferences Legitimate Interest Objection",Xo="Preferences Legitimate Interest Remove Objection",Qo="IAB Vendor Toggle ON",$o="IAB Vendor Toggle Off",Zo="IAB Vendor Legitimate Interest Objection",en="IAB Vendor Legitimate Interest Remove Objection",tn="Vendor Service Toggle On",on="Vendor Service Toggle Off",nn=(rn.prototype.initializeFeaturesAndSpecialPurposes=function(){A.oneTrustIABConsent.features=[],A.oneTrustIABConsent.specialPurposes=[];var o=f.GroupTypes;T.Groups.forEach(function(e){var t;e.Type!==o.Ft&&e.Type!==o.Spl_Pur||((t={}).groupId=e.OptanonGroupId,t.purposeId=e.PurposeId,t.value=!0,(e.Type===o.Ft?A.oneTrustIABConsent.features:A.oneTrustIABConsent.specialPurposes).push(t))})},rn.prototype.initGrpsAndHosts=function(){this.initializeGroupData(P.consentableGrps),T.showCookieList&&y.isOptOutEnabled()?this.initializeHostData(P.consentableGrps):(A.hostsConsent=[],co.writeHstParam(m.OPTANON_CONSENT))},rn.prototype.ensureHtmlGroupDataInitialised=function(){var e,t,o,n;this.initGrpsAndHosts(),A.showGeneralVendors&&(fo.populateGenVendorLists(),fo.initGenVendorConsent()),T.IsIabEnabled&&(this.initializeIABData(),this.initializeFeaturesAndSpecialPurposes()),A.vsIsActiveAndOptOut&&this.initializeVendorsService(),p.setOrUpdate3rdPartyIABConsentFlag(),p.setGeolocationInCookies(),T.IsConsentLoggingEnabled&&(e=window.OneTrust.dataSubjectParams||{},o="",n=!1,(t=v.readCookieParam(m.OPTANON_CONSENT,"iType"))&&A.isV2Stub&&e.id&&e.token&&(n=!0,o=ge[t]),no.createConsentTxn(!1,o,!1,n))},rn.prototype.initializeVendorsService=function(){var o=p.isAlertBoxClosedAndValid(),e=v.readCookieParam(m.OPTANON_CONSENT,ho),n=b.strToMap(e);A.getVendorsInDomain().forEach(function(e,t){n.has(t)||(e=!o&&C.checkIsActiveByDefault(e.groupRef),n.set(t,e))}),A.vsConsent=n},rn.prototype.initializeGroupData=function(e){var t;v.readCookieParam(m.OPTANON_CONSENT,po)?(vo.synchroniseCookieGroupData(e),t=v.readCookieParam(m.OPTANON_CONSENT,po),A.groupsConsent=b.strToArr(t),A.gpcConsentTxn&&(T.IsConsentLoggingEnabled&&no.createConsentTxn(!1,"GPC value changed",!1,!0),A.gpcConsentTxn=!1,c.setAlertBoxClosed(!0))):(A.groupsConsent=[],e.forEach(function(e){A.groupsConsent.push(""+e.CustomGroupId+(C.checkIsActiveByDefault(e)&&e.HasConsentOptOut?":1":":0"))}),T.IsConsentLoggingEnabled&&window.addEventListener("beforeunload",this.consentDefaulCall))},rn.prototype.initializeHostData=function(e){var t,r;v.readCookieParam(m.OPTANON_CONSENT,"hosts")?(vo.synchroniseCookieHostData(),t=v.readCookieParam(m.OPTANON_CONSENT,"hosts"),A.hostsConsent=b.strToArr(t),e.forEach(function(e){C.isAlwaysActiveGroup(e)&&e.Hosts.length&&e.Hosts.forEach(function(e){A.oneTrustAlwaysActiveHosts.push(e.HostId)})})):(A.hostsConsent=[],r={},e.forEach(function(e){var o=C.isAlwaysActiveGroup(e),n=A.syncRequired?vo.groupHasConsent(e):C.checkIsActiveByDefault(e);e.Hosts.length&&e.Hosts.forEach(function(e){var t;r[e.HostId]?vo.updateHostStatus(e,n):(r[e.HostId]=!0,o&&A.oneTrustAlwaysActiveHosts.push(e.HostId),t=vo.isHostPartOfAlwaysActiveGroup(e.HostId),A.hostsConsent.push(e.HostId+(t||n?":1":":0")))})}))},rn.prototype.consentDefaulCall=function(){var e=parseInt(v.readCookieParam(m.OPTANON_CONSENT,Re),10);!isNaN(e)&&0!==e||(c.triggerGoogleAnalyticsEvent(Vo,"Click","No interaction"),T.IsConsentLoggingEnabled&&no.createConsentTxn(!0),window.removeEventListener("beforeunload",_.consentDefaulCall))},rn.prototype.fetchAssets=function(s){return void 0===s&&(s=null),R(this,void 0,void 0,function(){var t,o,n,r,i;return q(this,function(e){switch(e.label){case 0:return t=k.moduleInitializer,i=p.isAlertBoxClosedAndValid(),o=!!s,i=_.isFetchBanner(t.IsSuppressBanner,i),n=_.cookieSettingBtnPresent(),n=P.isIab2orv2Template?T.PCShowPersistentCookiesHoverButton&&(!T.PCenterDynamicRenderingEnable||T.PCenterDynamicRenderingEnable&&!n):T.PCShowPersistentCookiesHoverButton,r="true"===A.urlParams.get(vt),A.hideBanner=r,[4,Promise.all([!i||T.NoBanner||r?Promise.resolve(null):Yt.getBannerContent(o,s),!t.IsSuppressPC||A.isPCVisible?Yt.getPcContent():Promise.resolve(null),n?Yt.getCSBtnContent():Promise.resolve(null),Yt.getCommonStyles()])];case 1:return i=e.sent(),r=i[0],o=i[1],t=i[2],n=i[3],_.fetchContent(r,o,t,n),_.setCookieListGroupData(),[2]}})})},rn.prototype.fetchContent=function(e,t,o,n){var r;e&&(r=e.html,k.fp.CookieV2SSR||(r=atob(e.html)),this.bannerGroup={name:e.name,html:r,css:e.css}),t&&(this.preferenceCenterGroup={name:t.name,html:atob(t.html),css:t.css},k.isV2Template=T.PCTemplateUpgrade&&/otPcPanel|otPcCenter|otPcTab/.test(t.name)),o&&(this.csBtnGroup={name:"CookieSettingsButton",html:atob(o.html),css:o.css}),n&&(this.commonStyles=n)},rn.prototype.cookieSettingBtnPresent=function(){return I("#ot-sdk-btn").length||I(".ot-sdk-show-settings").length||I(".optanon-show-settings").length},rn.prototype.isFetchBanner=function(e,t){return!e||T.ShowAlertNotice&&!t&&e&&!I("#onetrust-banner-sdk").length},rn.prototype.setCookieListGroupData=function(){var e;k.fp.CookieV2TrackingTechnologies||(e=(new To).assets(),_.cookieListGroup={name:e.name,html:e.html,css:T.useRTL?e.cssRTL:e.css})},rn.prototype.initializeIabPurposeConsentOnReload=function(){var t=this;P.consentableIabGrps.forEach(function(e){t.setIABConsent(e,!1),e.IsLegIntToggle=!0,t.setIABConsent(e,!1)})},rn.prototype.initializeIABData=function(o,n,r){var i=this,e=(void 0===o&&(o=!1),void 0===n&&(n=!1),void 0===r&&(r=!1),A.oneTrustIABConsent),t=(e.purpose=[],e.vendors=[],e.legIntVendors=[],e.specialFeatures=[],e.legimateInterest=[],A.addtlVendors),s=T.VendorConsentModel===Eo;t.vendorConsent=[],!e.IABCookieValue||o||n||p.reconsentRequired()?(P.consentableIabGrps.forEach(function(e){var t;n&&!r?i.setIABConsent(e,C.isAlwaysActiveGroup(e)):r?e.HasConsentOptOut&&i.setIABConsent(e,!1):(t=o&&e.HasConsentOptOut,i.setIABConsent(e,t),e.Type===f.GroupTypes.Pur&&(e.IsLegIntToggle=!0,i.setIABConsent(e,e.HasLegIntOptOut)))}),T.IsIabEnabled&&r&&(A.oneTrustIABConsent.legimateInterest=A.vendors.selectedLegInt.slice()),t=r?s:o||!n&&s,p.setIABVendor(t,r),!p.reconsentRequired()||o||n||p.resetTCModel()):(this.initializeIabPurposeConsentOnReload(),so.populateGoogleConsent(),so.populateVendorAndPurposeFromCookieData())},rn.prototype.canSoftOptInInsertForGroup=function(e){var e=C.getGroupById(e);if(e)return e=e&&!e.Parent?e:C.getParentGroup(e.Parent),"inactive landingpage"!==C.getGrpStatus(e).toLowerCase()||!Po.isLandingPage()},rn.prototype.setIABConsent=function(e,t){e.Type===f.GroupTypes.Spl_Ft?this.setIabSpeciFeatureConsent(e,t):e.IsLegIntToggle?(this.setIabLegIntConsent(e,t),e.IsLegIntToggle=!1):this.setIabPurposeConsent(e,t)},rn.prototype.setIabPurposeConsent=function(o,n){var r=!1;A.oneTrustIABConsent.purpose=A.oneTrustIABConsent.purpose.map(function(e){var t=e.split(":")[0];return t===o.IabGrpId&&(e=t+":"+n,r=!0),e}),r||A.oneTrustIABConsent.purpose.push(o.IabGrpId+":"+n)},rn.prototype.setIabLegIntConsent=function(o,n){var r=!1;A.oneTrustIABConsent.legimateInterest=A.oneTrustIABConsent.legimateInterest.map(function(e){var t=e.split(":")[0];return t===o.IabGrpId&&(e=t+":"+n,r=!0),e}),r||A.oneTrustIABConsent.legimateInterest.push(o.IabGrpId+":"+n)},rn.prototype.setIabSpeciFeatureConsent=function(o,n){var r=!1;A.oneTrustIABConsent.specialFeatures=A.oneTrustIABConsent.specialFeatures.map(function(e){var t=e.split(":")[0];return t===o.IabGrpId&&(e=t+":"+n,r=!0),e}),r||A.oneTrustIABConsent.specialFeatures.push(o.IabGrpId+":"+n)},rn);function rn(){}ln.prototype.getAllowAllButton=function(){return I("#onetrust-pc-sdk #accept-recommended-btn-handler")},ln.prototype.getSelectedVendors=function(){return I("#onetrust-pc-sdk "+S.P_Tgl_Cntr+" .ot-checkbox input:checked")};var sn,an=ln;function ln(){}pn.prototype.setBannerFocus=function(){var e=Array.prototype.slice.call(I("#onetrust-banner-sdk .onetrust-vendors-list-handler").el),t=Array.prototype.slice.call(I('#onetrust-banner-sdk #onetrust-policy-text [href],#onetrust-banner-sdk #onetrust-policy-text button,#onetrust-banner-sdk #onetrust-policy-text [tabindex]:not([tabindex="-1"])').el),o=Array.prototype.slice.call(I("#onetrust-banner-sdk .ot-bnr-save-handler").el),n=Array.prototype.slice.call(I("#onetrust-banner-sdk #onetrust-pc-btn-handler").el),r=Array.prototype.concat.call(Array.prototype.slice.call(I("#onetrust-banner-sdk .category-switch-handler:not([disabled])").el),Array.prototype.slice.call(I("#onetrust-banner-sdk .ot-cat-lst button").el),e),r=Array.prototype.concat.call(t,r),i=Array.prototype.slice.call(I("#onetrust-banner-sdk .onetrust-close-btn-handler").el),e=(P.bannerName===pt&&(r=Array.prototype.concat.call(e,t)),Array.prototype.slice.call(I("#onetrust-banner-sdk #onetrust-accept-btn-handler").el)),t=Array.prototype.slice.call(I("#onetrust-banner-sdk #onetrust-reject-all-handler").el),o=Array.prototype.concat.call(o,e,t,n),n=((P.bannerName!==ct||T.IsIabEnabled)&&P.bannerName!==lt&&P.bannerName!==gt||(o=Array.prototype.concat.call(n,t,e)),Array.prototype.slice.call(I("#onetrust-banner-sdk .ot-gv-list-handler").el));P.bannerName===ht?(r=Array.prototype.concat.call(n,r),o=Array.prototype.slice.call(I("#onetrust-banner-sdk #onetrust-button-group button").el)):r=Array.prototype.concat.call(r,n),this.bannerEl=Array.prototype.concat.call(Array.prototype.slice.call(I("#onetrust-banner-sdk #onetrust-cookie-btn").el),r,Array.prototype.slice.call(I("#onetrust-banner-sdk .banner-option-input").el),o,Array.prototype.slice.call(I("#onetrust-banner-sdk .ot-bnr-footer-logo a").el),i),this.banner=I("#onetrust-banner-sdk").el[0],(T.BInitialFocus||T.BInitialFocusLinkAndButton||T.ForceConsent)&&(T.BInitialFocus?this.banner:this.bannerEl[0]).focus()},pn.prototype.handleBannerFocus=function(e,t){var o=e.target,n=cn.bannerEl,r=n.indexOf(o),i=n.length-1,s=null;if(this.handleBannerFocusBodyReset(t,r,i))y.resetFocusToBody();else if(this.banner===o)s=this.handleInitialBannerFocus(t,n,i,s);else for(;!s;){var a=void 0;0!==(a=t?r<=0?n[i]:n[r-1]:r===i?n[0]:n[r+1]).clientHeight||0!==a.offsetHeight?s=a:t?r--:r++}s&&(e.preventDefault(),s.focus())},pn.prototype.handleBannerFocusBodyReset=function(e,t,o){return!(T.ForceConsent||!T.BInitialFocus&&!T.BInitialFocusLinkAndButton||!(e&&0===t||!e&&t===o))},pn.prototype.handleInitialBannerFocus=function(e,t,o,n){return e&&T.ForceConsent?n=t[o]:e||(n=t[0]),n},pn.prototype.setPCFocus=function(e){if(e&&!(e.length<=0)){for(var t=0;t<e.length;t++)e[t].setAttribute("tabindex","0");this.setFirstAndLast(e);var o=T.ShowPreferenceCenterCloseButton,n=o?this.getElementForFocus(e,T.PCLayout.Popup?2:1,!0):null,r={preventScroll:!0};this.firstItem?(o?n:this.firstItem).focus(r):e[0].focus(),this.firstItem&&I(this.firstItem).on("keydown",cn.firstItemHandler),this.lastItem&&I(this.lastItem).on("keydown",cn.lastItemHandler)}},pn.prototype.setFirstAndLast=function(e){this.firstItem=this.getElementForFocus(e,0,!0),this.lastItem=this.firstItem?this.getElementForFocus(e,e.length-1,!1):null},pn.prototype.setLastItem=function(){var e=this.getPCElements(),e=this.getElementForFocus(e,e.length-1,!1);e!==this.lastItem&&(I(this.lastItem).off("keydown",cn.lastItemHandler),this.lastItem=e,I(e).on("keydown",cn.lastItemHandler))},pn.prototype.getPCElements=function(){var e="#onetrust-pc-sdk #close-pc-btn-handler,\n #onetrust-pc-sdk .back-btn-handler,\n #onetrust-pc-sdk ."+S.P_Active_Menu+',\n #onetrust-pc-sdk input,\n #onetrust-pc-sdk a,\n #onetrust-pc-sdk [tabindex="0"] button,\n #onetrust-pc-sdk .save-preference-btn-handler,\n #onetrust-pc-sdk .ot-pc-refuse-all-handler,\n #onetrust-pc-sdk #accept-recommended-btn-handler';return A.pcLayer===se.CookieList?e+=" ,#onetrust-pc-sdk "+S.P_Content+" .powered-by-logo":e+=",#onetrust-pc-sdk #vendor-list-save-btn .powered-by-logo",Array.prototype.slice.call(I(e).el)},pn.prototype.getActiveTab=function(){return document.querySelector('#onetrust-pc-sdk .category-menu-switch-handler[tabindex="0"]')},pn.prototype.getElementForFocus=function(e,t,o){for(var n=e[t];o?n&&null===n.offsetParent&&t<e.length-1:n&&null===n.offsetParent&&0<t;)n=e[t],o?++t:--t;return n},pn.prototype.firstItemHandler=function(e){var t=document.getElementById("onetrust-banner-sdk");9===e.keyCode&&e.shiftKey&&cn.firstItem!==t?(e.preventDefault(),cn.lastItem.focus()):(t="close-pc-btn-handler"===e.target.id&&("13"===e.keyCode||"32"===e.keyCode||"Enter"===e.code||"Space"===e.code),T.PCLayout.Tab&&A.pcLayer===se.PrefCenterHome&&!t&&(t=cn.getActiveTab())&&(e.preventDefault(),t.focus()))},pn.prototype.lastItemHandler=function(e){9!==e.keyCode||e.shiftKey||(e.preventDefault(),e=A.pcLayer===se.VendorList||A.pcLayer===se.CookieList,(T.PCLayout.Tab&&A.isPCVisible&&!T.ShowPreferenceCenterCloseButton&&!e?cn.getActiveTab():cn.firstItem).focus())};var cn,dn=pn;function pn(){this.bannerEl=[]}n.prototype.getAllGroupElements=function(){return document.querySelectorAll("div#onetrust-pc-sdk "+S.P_Category_Grp+" "+S.P_Category_Item+":not(.ot-vnd-item)")},n.prototype.toggleGrpElements=function(e,t,o,n){void 0===n&&(n=!1);for(var r=(e=P.pcName===g&&T.PCTemplateUpgrade?document.querySelector("#ot-desc-id-"+e.getAttribute("data-optanongroupid")):e).querySelectorAll('input[class*="category-switch-handler"]'),i=0;i<r.length;i++){var s=r[i].getAttribute("id").includes("leg-out");n&&s||(b.setCheckedAttribute(null,r[i],o),r[i]&&T.PCShowConsentLabels&&(r[i].parentElement.parentElement.querySelector(".ot-label-status").innerHTML=o?T.PCActiveText:T.PCInactiveText))}P.legIntSettings.PAllowLI&&P.legIntSettings.PShowLegIntBtn&&t.Type===f.GroupTypes.Pur&&t.HasLegIntOptOut&&!n&&E.updateLegIntBtnElement(e.querySelector(".ot-leg-btn-container"),o)},n.prototype.toogleAllSubGrpElements=function(e,t){var o;e.ShowSubgroup?(o=e.CustomGroupId,o=this.getGroupElementByOptanonGroupId(o.toString()),E.toogleSubGroupElement(o,t,e.IsLegIntToggle)):this.updateHiddenSubGroupData(e,t)},n.prototype.isSubGrpLegIntEnabled=function(e,t){return P.legIntSettings.PAllowLI&&P.legIntSettings.PShowLegIntBtn&&e.Type===f.GroupTypes.Pur&&e.HasLegIntOptOut&&t.ShowSubgroupToggle},n.prototype.toogleSubGroupElement=function(e,t,o,n){void 0===o&&(o=!1),void 0===n&&(n=!1);for(var r=(e=P.pcName===g&&T.PCTemplateUpgrade?document.querySelector("#ot-desc-id-"+e.getAttribute("data-optanongroupid")):e).querySelectorAll("li"+S.P_Subgrp_li),i=0;i<r.length;i++){var s=C.getGroupById(r[i].getAttribute("data-optanongroupid")),a=s.OptanonGroupId,l=C.getParentGroup(s.Parent),l=(this.isSubGrpLegIntEnabled(s,l)&&o&&E.updateLegIntBtnElement(r[i],t),o?"[id='ot-sub-group-id-"+a+"-leg-out']":"[id='ot-sub-group-id-"+a+"']"),a=r[i].querySelector('input[class*="cookie-subgroup-handler"]'+l);b.setCheckedAttribute(null,a,t),a&&T.PCShowConsentLabels&&(a.parentElement.parentElement.querySelector(".ot-label-status").innerHTML=t?T.PCActiveText:T.PCInactiveText),n||(s.IsLegIntToggle=o,E.toggleGrpStatus(s,t),s.IsLegIntToggle=!1,vo.toggleGroupHosts(s,t),A.genVenOptOutEnabled&&vo.toggleGroupGenVendors(s,t))}},n.prototype.toggleGrpStatus=function(e,t){var o=e.IsLegIntToggle&&e.Type===f.GroupTypes.Pur?t?Xo:Yo:t?Uo:jo;c.triggerGoogleAnalyticsEvent(Vo,o,e.GroupName+": "+e.OptanonGroupId),t?this.updateEnabledGroupData(e):this.updateDisabledGroupData(e)},n.prototype.setInputID=function(e,t,o,n,r){I(e).attr("id",t),I(e).attr("name",t),I(e).data("optanonGroupId",o),b.setCheckedAttribute(null,e,n),I(e).attr("aria-labelledby",r)},n.prototype.updateEnabledGroupData=function(e){var t,o;-1<wt.indexOf(e.Type)?this.updateIabGroupData(e,!0):(t=E.getGroupVariable(),-1!==(o=b.indexOf(t,e.CustomGroupId+":0"))&&(t[o]=e.CustomGroupId+":1"))},n.prototype.updateDisabledGroupData=function(e){var t,o;-1<wt.indexOf(e.Type)?this.updateIabGroupData(e,!1):e.Status!==Qe&&(t=E.getGroupVariable(),-1!==(o=b.indexOf(t,e.CustomGroupId+":1")))&&(t[o]=e.CustomGroupId+":0")},n.prototype.updateIabGroupData=function(e,t){var o;e.Type===f.GroupTypes.Spl_Ft?this.updateIabSpecialFeatureData(e.IabGrpId,t):(o=e.IsLegIntToggle?A.vendors.selectedLegInt:A.vendors.selectedPurpose,this.updateIabPurposeData(e.IabGrpId,t,o))},n.prototype.isAllSubgroupsDisabled=function(e){return!e.SubGroups.some(function(e){return E.isGroupActive(e)})},n.prototype.isAllSubgroupsEnabled=function(e){return!e.SubGroups.some(function(e){return E.IsGroupInActive(e)})},n.prototype.toggleGroupHtmlElement=function(e,t,o){P.legIntSettings.PAllowLI&&P.legIntSettings.PShowLegIntBtn&&e.Type===f.GroupTypes.Pur&&e.HasLegIntOptOut&&(e=document.querySelector("[data-el-id="+t+"]"))&&this.updateLegIntBtnElement(e,o);e=I("#ot-group-id-"+t).el[0];b.setCheckedAttribute(null,e,o),e&&T.PCShowConsentLabels&&(e.parentElement.querySelector(".ot-label-status").innerHTML=o?T.PCActiveText:T.PCInactiveText)},n.prototype.updateLegIntBtnElement=function(e,t){var o=P.legIntSettings,n=e.querySelector(".ot-obj-leg-btn-handler"),e=e.querySelector(".ot-remove-objection-handler");t?(n.classList.add("ot-inactive-leg-btn"),n.classList.add("ot-leg-int-enabled"),n.classList.remove("ot-active-leg-btn")):(n.classList.add("ot-active-leg-btn"),n.classList.remove("ot-inactive-leg-btn"),n.classList.remove("ot-leg-int-enabled")),n.querySelector("span").innerText=t?o.PObjectLegIntText:o.PObjectionAppliedText,d(e,"display: "+(t?"none":"inline-block")+";",!0)},n.prototype.isGroupActive=function(e){e=-1<wt.indexOf(e.Type)?-1!==this.isIabPurposeActive(e):-1!==jt.inArray(e.CustomGroupId+":1",E.getGroupVariable());return e},n.prototype.safeFormattedGroupDescription=function(e){return e&&e.GroupDescription?e.GroupDescription.replace(/\r\n/g,"<br>"):""},n.prototype.canInsertForGroup=function(e,t){void 0===t&&(t=!1);var o=null!=e&&void 0!==e,n=v.readCookieParam(m.OPTANON_CONSENT,"groups"),r=A.groupsConsent.join(","),i=v.readCookieParam(m.OPTANON_CONSENT,"hosts"),s=A.hostsConsent.join(",");if(t)return!0;n===r&&i===s||_.ensureHtmlGroupDataInitialised();var a=[];if(A.showGeneralVendors)for(var l=0,c=Object.entries(A.genVendorsConsent);l<c.length;l++){var d=c[l],p=d[0],d=d[1];a.push(p+":"+(d?"1":"0"))}A.showVendorService&&A.vsConsent.forEach(function(e,t){a.push(t+":"+(e?"1":"0"))});t=A.groupsConsent.concat(A.hostsConsent).concat(a),n=b.contains(t,e+":1"),r=this.doesHostExist(e),i=this.doesGroupExist(e),s=!1,A.showGeneralVendors?s=this.doesGenVendorExist(e):A.showVendorService&&(s=this.doesVendorServiceExist(e)),t=!(!r&&!s)||n&&_.canSoftOptInInsertForGroup(e);return!(!o||!(n&&t||!i&&!r&&!s))},n.prototype.setAllowAllButton=function(){var t=0,e=T.Groups.some(function(e){if(-1===Gt.indexOf(e.Type))return E.IsGroupInActive(e)&&t++,e.SubGroups.some(function(e){return E.IsGroupInActive(e)})&&t++,1<=t}),o=sn.getAllowAllButton();return e?o.show("inline-block"):o.hide(),cn.lastItem&&cn.setLastItem(),e},n.prototype.isAnyGroupOptedOut=function(){for(var e=!1,t=0,o=T.Groups;t<o.length;t++){var n=o[t];if(!0===E.IsGroupInActive(n)){e=!0;break}}return e},n.prototype.getGroupVariable=function(){return A.groupsConsent},n.prototype.IsGroupInActive=function(e){e=-1<wt.indexOf(e.Type)?-1===this.isIabPurposeActive(e):!(-1<Gt.indexOf(e.Type))&&-1===jt.inArray(e.CustomGroupId+":1",E.getGroupVariable());return e},n.prototype.updateIabPurposeData=function(t,e,o){var n=b.findIndex(o,function(e){return e.split(":")[0]===t});o[-1===n?Number(t):n]=t+":"+e},n.prototype.updateIabSpecialFeatureData=function(t,e){var o=-1===(o=b.findIndex(A.vendors.selectedSpecialFeatures,function(e){return e.split(":")[0]===t}))?Number(t):o;A.vendors.selectedSpecialFeatures[o]=t+":"+e},n.prototype.getGroupElementByOptanonGroupId=function(e){return document.querySelector("#onetrust-pc-sdk "+S.P_Category_Grp+" "+S.P_Category_Item+'[data-optanongroupid=\n "'+e+'"]')},n.prototype.updateHiddenSubGroupData=function(e,t){e.SubGroups.forEach(function(e){E.toggleGrpStatus(e,t),vo.toggleGroupHosts(e,t),A.genVenOptOutEnabled&&vo.toggleGroupGenVendors(e,t)})},n.prototype.isIabPurposeActive=function(e){var t=e.Type===f.GroupTypes.Spl_Ft?A.vendors.selectedSpecialFeatures:e.IsLegIntToggle?A.vendors.selectedLegInt:A.vendors.selectedPurpose;return jt.inArray(e.IabGrpId+":true",t)},n.prototype.doesGroupExist=function(e){return!!C.getGroupById(e)},n.prototype.doesHostExist=function(e){var t=A.hostsConsent;return-1!==t.indexOf(e+":0")||-1!==t.indexOf(e+":1")},n.prototype.doesGenVendorExist=function(t){return!!T.GeneralVendors&&!!T.GeneralVendors.find(function(e){return e.VendorCustomId===t})},n.prototype.doesVendorServiceExist=function(e){return A.getVendorsInDomain().has(e)};var E,un=n;function n(){}Cn.prototype.updateFilterSelection=function(e){o=(e=void 0===e?!1:e)?(t=A.filterByCategories,"data-optanongroupid"):(t=A.filterByIABCategories,"data-purposeid");for(var t,o,n=I("#onetrust-pc-sdk .category-filter-handler").el,r=0;r<n.length;r++){var i=n[r].getAttribute(o),i=-1<t.indexOf(i);b.setCheckedAttribute(null,n[r],i)}},Cn.prototype.cancelHostFilter=function(){for(var e=I("#onetrust-pc-sdk .category-filter-handler").el,t=0;t<e.length;t++){var o=e[t].getAttribute("data-optanongroupid"),o=0<=A.filterByCategories.indexOf(o);b.setCheckedAttribute(null,e[t],o)}},Cn.prototype.updateHostFilterList=function(){for(var e=I("#onetrust-pc-sdk .category-filter-handler").el,t=0;t<e.length;t++){var o,n=e[t].getAttribute("data-optanongroupid");e[t].checked&&A.filterByCategories.indexOf(n)<0?A.filterByCategories.push(n):!e[t].checked&&-1<A.filterByCategories.indexOf(n)&&(o=A.filterByCategories,A.filterByCategories.splice(o.indexOf(n),1))}return A.filterByCategories},Cn.prototype.InitializeHostList=function(){var e=S.P_Vendor_List+" "+S.P_Host_Cntr+" li";A.hosts.hostTemplate=I(e).el[0].cloneNode(!0),A.hosts.hostCookieTemplate=I(S.P_Vendor_List+" "+S.P_Host_Cntr+" "+S.P_Host_Opt+" li").el[0].cloneNode(!0)},Cn.prototype.getCookiesForGroup=function(t){var o=[],n=[];return t.FirstPartyCookies.length&&t.FirstPartyCookies.forEach(function(e){n.push(F(F({},e),{groupName:t.GroupName}))}),t.Hosts.length&&t.Hosts.forEach(function(e){o.push(F(F({},e),{isActive:"always active"===C.getGrpStatus(t).toLowerCase(),groupName:t.GroupName,Type:Ce.Host}))}),{firstPartyCookiesList:n,thirdPartyCookiesList:o}},Cn.prototype.reactivateSrcTag=function(e){var t=["src"];e.setAttribute(t[0],e.getAttribute("data-"+t[0])),e.removeAttribute("data-src")},Cn.prototype.reactivateScriptTag=function(e){var t=e.parentNode,o=document.createElement(e.tagName),n=(o.innerHTML=e.innerHTML,e.attributes);if(0<n.length)for(var r=0;r<n.length;r++)"type"!==n[r].name?o.setAttribute(n[r].name,n[r].value,!0):o.setAttribute("type","text/javascript",!0);t.appendChild(o),t.removeChild(e)},Cn.prototype.reactivateTag=function(e,t){var o,n=0<=e.className.indexOf("ot-vscat"),r=0<=e.className.indexOf("optanon-category"),i=(n&&r?o=this.getGroupElements(e.className,A.showVendorService):n?A.showVendorService?o=this.getGroupElements(e.className,!0):this.unBlockTag(t,e):r&&(A.showVendorService?this.unBlockTag(t,e):o=this.getGroupElements(e.className,!1)),!0);if(o&&0<o.length){for(var s=0;s<o.length;s++)if(!E.canInsertForGroup(o[s].trim())){i=!1;break}i&&this.unBlockTag(t,e)}},Cn.prototype.unBlockTag=function(e,t){e?this.reactivateSrcTag(t):this.reactivateScriptTag(t)},Cn.prototype.getGroupElements=function(e,t){return(t?e.match(/ot-vscat(-[a-zA-Z0-9,]+)+($|\s)/)[0].split(/ot-vscat-/i):e.match(/optanon-category(-[a-zA-Z0-9,]+)+($|\s)/)[0].split(/optanon-category-/i))[1].split("-")},Cn.prototype.substitutePlainTextScriptTags=function(){var t=this,e=[].slice.call(document.querySelectorAll('script[class*="optanon-category"]')),o=[].slice.call(document.querySelectorAll('*[class*="optanon-category"]')),e=Array.from(new Set(e.concat([].slice.call(document.querySelectorAll('script[class*="ot-vscat"]')||[])))),o=Array.from(new Set(o.concat([].slice.call(document.querySelectorAll('*[class*="ot-vscat"]')||[]))));Array.prototype.forEach.call(o,function(e){"SCRIPT"!==e.tagName&&e.hasAttribute("data-src")&&t.reactivateTag(e,!0)}),Array.prototype.forEach.call(e,function(e){e.hasAttribute("type")&&"text/plain"===e.getAttribute("type")&&t.reactivateTag(e,!1)})};var gn,hn=Cn;function Cn(){}r.prototype.getSearchQuery=function(e){var t=this,e=e.trim().split(/\s+/g);return new RegExp(e.map(function(e){return t.escapeRegExp(e)}).join("|")+"(.+)?","gi")},r.prototype.escapeRegExp=function(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},r.prototype.setGlobalFilteredList=function(e){return A.currentGlobalFilteredList=e},r.prototype.vendorHasPurpose=function(e,t){var o=!1,n=parseInt(P.iabGrpIdMap[t]);return-1<t.indexOf(f.IdPatterns.Ft)?(e.features||[]).forEach(function(e){e.featureId===n&&(o=!0)}):-1<t.indexOf(f.IdPatterns.Spl_Ft)?e.specialFeatures.forEach(function(e){e.featureId===n&&(o=!0)}):-1<t.indexOf(f.IdPatterns.Spl_Pur)?(e.specialPurposes||[]).forEach(function(e){e.purposeId===n&&(o=!0)}):(e.purposes.forEach(function(e){e.purposeId===n&&(o=!0)}),e.legIntPurposes.forEach(function(e){e.purposeId===n&&(o=!0)})),o},r.prototype.filterList=function(t,e,o){var n,r,i=o&&o.length;return""!==t||i?(i&&(i=I("#onetrust-pc-sdk "+S.P_Fltr_Options+" input").el.length,r=!(n=[]),i!==o.length?e.forEach(function(t){r=!0,t.vendorName&&o.forEach(function(e){h.vendorHasPurpose(t,e)&&n.push(t)})}):n=e,r&&(n=n.filter(function(e,t,o){return o.indexOf(e)===t})),this.setGlobalFilteredList(n)),""===t?A.currentGlobalFilteredList:A.currentGlobalFilteredList.filter(function(e){if(e.vendorName)return e.vendorName.toLowerCase().includes(t.toLowerCase())})):this.setGlobalFilteredList(e)},r.prototype.loadVendorList=function(e,t){void 0===e&&(e="");var o=A.vendors,o=(A.currentGlobalFilteredList=o.list,e?(o.searchParam=e,A.filterByIABCategories=[],gn.updateFilterSelection(!1)):o.searchParam!==e?o.searchParam="":t=A.filterByIABCategories,this.filterList(o.searchParam,o.list,t));I("#onetrust-pc-sdk "+S.P_Vendor_Content).el[0].scrollTop=0,this.initVendorsData(e,o)},r.prototype.searchVendors=function(e,t,o,n){if(n){var r,i,s=this.getSearchQuery(n),a=0;for(r in t)r&&(i=o===me.GoogleVendor?r:t[r].VendorCustomId,i=I(""+e.vendorAccBtn+i).el[0].parentElement,s.lastIndex=0,s.test(t[r][e.name])?(d(i,this._displayNull,!0),a++):d(i,"display: none;",!0));0===a?(I(e.accId).hide(),o===me.GoogleVendor?this.hasGoogleVendors=!1:this.hasGenVendors=!1):(o===me.GoogleVendor?this.hasGoogleVendors=!0:this.hasGenVendors=!0,I(e.accId).show()),this.showEmptyResults(!this.hasGoogleVendors&&!this.hasIabVendors&&!this.hasGenVendors,n)}else for(var l=I(" "+e.venListId+' li[style^="display: none"]').el,c=0;c<l.length;c++)d(l[c],this._displayNull,!0);n=I("#onetrust-pc-sdk "+e.selectAllEvntHndlr).el[0];document.querySelector(e.venListId+' li:not([style^="display: none"]) '+e.ctgl+" > input[checked]")?b.setCheckedAttribute("",n,!0):b.setCheckedAttribute("",n,!1),document.querySelector(e.venListId+' li:not([style^="display: none"]) '+e.ctgl+" > input:not([checked])")?n.parentElement.classList.add("line-through"):n.parentElement.classList.remove("line-through")},r.prototype.initGoogleVendors=function(){this.populateAddtlVendors(A.addtlVendorsList),this.venAdtlSelAllTglEvent()},r.prototype.initGenVendors=function(){this.populateGeneralVendors(),T.GenVenOptOut&&T.GeneralVendors&&T.GeneralVendors.length&&this.genVenSelectAllTglEvent()},r.prototype.resetAddtlVendors=function(){h.searchVendors(h.googleSearchSelectors,A.addtlVendorsList,me.GoogleVendor),this.showConsentHeader()},r.prototype.venAdtlSelAllTglEvent=function(){h.selectAllEventHandler({vendorsList:'#ot-addtl-venlst li:not([style^="display: none"]) .ot-ven-adtlctgl input',selAllCntr:"#onetrust-pc-sdk #ot-selall-adtlvencntr",selAllChkbox:"#onetrust-pc-sdk #ot-selall-adtlven-handler"})},r.prototype.genVenSelectAllTglEvent=function(){var e={vendorsList:S.P_Gven_List+' li:not([style^="display: none"]) .ot-ven-gvctgl input',selAllCntr:"#onetrust-pc-sdk #ot-selall-gnvencntr",selAllChkbox:"#onetrust-pc-sdk #ot-selall-gnven-handler"};h.selectAllEventHandler(e)},r.prototype.selectAllEventHandler=function(e){for(var t=I(e.vendorsList).el,o=I(e.selAllCntr).el[0],n=I(e.selAllChkbox).el[0],r=!0,i=0;i<t.length;i++){if(!t[i].checked){r=!1;break}r=!0}o&&(r?o.classList.remove("line-through"):o.classList.add("line-through")),n.checked=!0;for(var s=0;s<t.length&&!t[s].checked;s++)s!==t.length-1||t[s].checked||(n.checked=!1);b.setCheckedAttribute("",n,n.checked)},r.prototype.vendorLegIntToggleEvent=function(){for(var e=I(S.P_Vendor_Container+' li:not([style^="display: none"]) .'+S.P_Ven_Ltgl+" input").el,t=I("#onetrust-pc-sdk #"+S.P_Sel_All_Vendor_Leg_El).el[0],o=I("#onetrust-pc-sdk #select-all-vendor-leg-handler").el[0],n=!0,r=0;r<e.length;r++){if(!e[r].checked){n=!1;break}n=!0}n?t.classList.remove("line-through"):t.classList.add("line-through"),o.checked=!0;for(var i=0;i<e.length&&!e[i].checked;i++)i!==e.length-1||e[i].checked||(o.checked=!1);b.setCheckedAttribute("",o,o.checked)},r.prototype.vendorsListEvent=function(){for(var e=I(S.P_Vendor_Container+' li:not([style^="display: none"]) .'+S.P_Ven_Ctgl+" input").el,t=I("#onetrust-pc-sdk #"+S.P_Sel_All_Vendor_Consent_El).el[0],o=I("#onetrust-pc-sdk #select-all-vendor-groups-handler").el[0],n=!0,r=0;r<e.length;r++){if(!e[r].checked){n=!1;break}n=!0}n?t.classList.remove("line-through"):t.classList.add("line-through"),o.checked=!0;for(var i=0;i<e.length&&!e[i].checked;i++)i!==e.length-1||e[i].checked||(o.checked=!1);b.setCheckedAttribute("",o,o.checked)},r.prototype.showEmptyResults=function(e,t,o){void 0===o&&(o=!1);var n=I("#onetrust-pc-sdk #no-results");e?this.setNoResultsContent(t,o):(I("#onetrust-pc-sdk "+S.P_Vendor_Content).removeClass("no-results"),n.length&&n.remove())},r.prototype.playSearchStatus=function(e){var t=e?document.querySelectorAll(S.P_Host_Cntr+" > li"):document.querySelectorAll(S.P_Vendor_Container+' li:not([style$="none;"]),'+S.P_Gven_List+' li:not([style$="none;"])'),o=t.length,n=I('#onetrust-pc-sdk [role="status"]');o?n.text(t.length+" "+(e?"host":"vendor")+(1<o?"s":"")+" returned."):n.el[0].textContent=""},r.prototype.setNoResultsContent=function(e,t){void 0===t&&(t=!1);var o,n,r,i=I("#onetrust-pc-sdk #no-results").el[0];if(!i)return t=h.getNoResultsFound(t),o=document.createElement("div"),n=document.createElement("p"),t=document.createTextNode(t),r=document.createElement("span"),o.id="no-results",r.id="user-text",r.innerText=e,n.appendChild(r),n.appendChild(t),o.appendChild(n),I("#onetrust-pc-sdk "+S.P_Vendor_Content).addClass("no-results"),I("#vendor-search-handler").el[0].setAttribute("aria-describedby",o.id),I("#onetrust-pc-sdk "+S.P_Vendor_Content).append(o);i.querySelector("span").innerText=e},r.prototype.searchHostList=function(e){var t={},o=[];A.showTrackingTech?(t=A.currentTrackingTech,o=(t=e?h.getFilteredAdditionaTechtData(e,t):t).Cookies):(o=A.currentGlobalFilteredList,e&&(o=this.searchList(e,o))),this.initHostData({searchString:e,cookiesList:o,addTechData:t})},r.prototype.searchList=function(e,t){var o=this.getSearchQuery(e);return t.filter(function(e){return o.lastIndex=0,o.test(e.DisplayName||e.HostName)})},r.prototype.setListSearchValues=function(e){var t=T.PCenterVendorSearchAriaLabel,o=T.PCenterVendorListSearch,n=T.PCenterVendorsListText,e=(e===_e.cookies&&(t=T.PCenterCookieSearchAriaLabel,o=T.PCenterCookieListSearch,n=T.PCenterCookiesListText),A.cookieListType!==ye.HostAndGenVen&&A.cookieListType!==ye.Host||!A.showTrackingTech||(n=T.AdditionalTechnologiesConfig.PCTrackingTechTitle),document.querySelector("#onetrust-pc-sdk "+S.P_Vendor_Title).innerText=n,I("#onetrust-pc-sdk "+S.P_Vendor_Search_Input));e.el[0].placeholder=o,e.attr("aria-label",t)},r.prototype.initHostData=function(e){var t=e.searchString,o=e.cookiesList,e=e.addTechData,n=(A.optanonHostList=o,!1),r=(this.setBackBtnTxt(),I(S.P_Vendor_List+" #select-all-text-container p").html(T.PCenterAllowAllConsentText),h.getHostParentContainer()),i=o&&0===o.length,s=(A.showTrackingTech&&(i=0===e.LocalStorages.length&&0===e.SessionStorages.length&&(0===e.Cookies.length||0===e.Cookies[0].Cookies.length)),A.cookieListType===ye.Host);this.showEmptyResults(i,t,s),this.setHostListSearchValues(),I("#filter-btn-handler").el[0].setAttribute(this.ARIA_LABEL_ATTRIBUTE,T.PCenterCookieListFilterAria);I("#filter-btn-handler title").html(T.PCenterCookieListFilterAria),k.isV2Template&&I("#ot-sel-blk span:first-child").html(T.PCenterAllowAllConsentText||T.ConsentText);for(var a=document.createDocumentFragment(),l=0;l<o.length;l++){var c=A.hosts.hostTemplate.cloneNode(!0),d=o[l].DisplayName||o[l].HostName;this.createHostAccordions(d,c,l),n=this.createHostCheckboxes(d,o,l,c,n),this.populateHostDataIntoDOMElements(c,o,d,l,a)}h.setCookiesInsideHostContainer(r,a,e);i=1===o.length&&o[0].HostName===T.PCFirstPartyCookieListText;if(y.isOptOutEnabled()&&!i){b.setDisabledAttribute("#onetrust-pc-sdk #select-all-hosts-groups-handler",null,!n);for(var p=I("#onetrust-pc-sdk "+S.P_Host_Cntr+" .ot-host-tgl input").el,u=0;u<p.length;u++)p[u].addEventListener("click",this.hostsListEvent);I("#onetrust-pc-sdk "+S.P_Select_Cntr).removeClass("ot-hide"),this.hostsListEvent()}else I("#onetrust-pc-sdk "+S.P_Select_Cntr).addClass("ot-hide")},r.prototype.setCookiesInsideHostContainer=function(e,t,o){var n,r;A.showTrackingTech&&o?0<(o=h.getAdditionalTechnologiesHtml(o)).children.length&&((n=o.querySelector("."+this.TECH_COOKIES_SELECTOR+" .ot-acc-txt"))&&((r=e.querySelector("ul"+S.P_Host_Cntr)).appendChild(t),n.appendChild(r)),e.appendChild(o)):e.appendChild(t)},r.prototype.getHostParentContainer=function(){var e=null;return A.showTrackingTech?(e=document.querySelector("#onetrust-pc-sdk "+S.P_Vendor_Content+" .ot-sdk-column"),h.removeTrackingTechAccorions()):(e=document.querySelector("#onetrust-pc-sdk "+S.P_Vendor_Content+" ul"+S.P_Host_Cntr)).innerHTML="",e},r.prototype.removeTrackingTechAccorions=function(){var e=document.querySelector("#onetrust-pc-sdk "+S.P_Vendor_Content+" .ot-sdk-column"),t=e.querySelector("."+this.TECH_COOKIES_SELECTOR+" ul"+S.P_Host_Cntr);if(t?(t.innerHTML="",e.appendChild(t)):(t=e.querySelector("ul"+S.P_Host_Cntr)).innerHTML="",e)for(var o=e.querySelectorAll(".ot-add-tech"),n=o.length-1;0<=n;n--){var r=o.item(n);e.removeChild(r)}},r.prototype.setHostListSearchValues=function(){var e=P.pcName;T.GeneralVendorsEnabled&&(k.isV2Template||e!==g)&&this.setListSearchValues(_e.vendors),T.GeneralVendorsEnabled||!k.isV2Template&&e===g||this.setListSearchValues(_e.cookies)},r.prototype.createHostAccordions=function(e,t,o){var n=t.querySelector("."+S.P_Host_Bx),e=(n&&b.setHtmlAttributes(n,{id:"host-"+o,name:"host-"+o,"aria-label":e+" "+T.PCViewCookiesText,"aria-controls":"ot-host-acc-txt-"+o}),t.querySelector(S.P_Acc_Txt));e&&b.setHtmlAttributes(e,{id:"ot-host-acc-txt-"+o,role:"region","aria-labelledby":n.id})},r.prototype.createHostCheckboxes=function(e,t,o,n,r){var i=y.isOptOutEnabled(),s=k.isV2Template,a=P.pcName;return!i||t[o].isFirstParty?(i=n.querySelector(".ot-host-tgl"))&&i.parentElement.removeChild(i):(i=void 0,s?((i=L.chkboxEl.cloneNode(!0)).classList.add("ot-host-tgl"),i.querySelector("input").classList.add("host-checkbox-handler"),a===g?n.querySelector(S.P_Host_Hdr).insertAdjacentElement("beforebegin",i):n.querySelector(S.P_Tgl_Cntr).insertAdjacentElement("beforeend",i)):i=n.querySelector(".ot-host-tgl"),b.setHtmlAttributes(i.querySelector("input"),{id:"ot-host-chkbox-"+o,"aria-label":e,hostId:t[o].HostId,ckType:t[o].Type}),i.querySelector("label").setAttribute("for","ot-host-chkbox-"+o),(t[o].Type===Ce.GenVendor?A.genVendorsConsent[t[o].HostId]:-1!==A.hostsConsent.indexOf(t[o].HostId+":1"))?(b.setCheckedAttribute(null,i.querySelector("input"),!0),t[o].isActive?b.setDisabledAttribute(null,i.querySelector("input"),!0):r=r||!0):(r=!0,b.setCheckedAttribute(null,i.querySelector("input"),!1)),i.querySelector(S.P_Label_Txt).innerText=e),r},r.prototype.populateHostDataIntoDOMElements=function(t,o,e,n,r){var i,s=this,a=k.isV2Template,l=P.pcName,l=(T.PCAccordionStyle===ce.PlusMinus?t.querySelector(S.P_Acc_Header).insertAdjacentElement("afterbegin",L.plusMinusEl.cloneNode(!0)):a&&(i=L.arrowEl.cloneNode(!0),l===g?t.querySelector(S.P_Host_View_Cookies).insertAdjacentElement("afterend",i):t.querySelector(S.P_Tgl_Cntr).insertAdjacentElement("beforeend",i)),T.AddLinksToCookiepedia&&!o[n].isFirstParty&&(e='\n <a class="cookie-label"\n href="http://cookiepedia.co.uk/host/'+o[n].HostName+'"\n rel="noopener"\n target="_blank"\n >\n '+e+' <span class="ot-scrn-rdr">'+T.NewWinTxt+"</span>\n </a>\n "),t.querySelector(S.P_Host_Title).innerHTML=e,t.querySelector(S.P_Host_Desc).innerHTML=o[n].Description,o[n].PrivacyPolicy&&T.pcShowCookieHost&&t.querySelector(S.P_Host_Desc).insertAdjacentHTML("afterend",'<a href="'+o[n].PrivacyPolicy+'" rel="noopener" target="_blank">'+(a?T.PCGVenPolicyTxt:T.PCCookiePolicyText)+' <span class="ot-scrn-rdr">'+T.NewWinTxt+"</span></a>"),t.querySelector(S.P_Host_View_Cookies));return!A.showGeneralVendors||o[n].Cookies&&o[n].Cookies.length?T.PCViewCookiesText&&(l.innerHTML=T.PCViewCookiesText):(b.removeChild(l),I(t).addClass("ot-hide-acc")),o[n].Description&&T.pcShowCookieHost||(i=t.querySelector(S.P_Host_Desc)).parentElement.removeChild(i),I(t.querySelector(S.P_Host_Opt)).html(""),null!=(a=o[n].Cookies)&&a.forEach(function(e){e=s.getCookieElement(e,o[n]);I(t.querySelector(S.P_Host_Opt)).append(e)}),r.append(t),e},r.prototype.hostsListEvent=function(){for(var e=I("#onetrust-pc-sdk "+S.P_Host_Cntr+" .ot-host-tgl input").el,t=I("#onetrust-pc-sdk #"+S.P_Sel_All_Host_El).el[0],o=I("#onetrust-pc-sdk #select-all-hosts-groups-handler").el[0],n=I("#onetrust-pc-sdk "+S.P_Cnsnt_Header).el[0],r=!0,i=0;i<e.length;i++){if(!e[i].checked){r=!1;break}r=!0}r?t.classList.remove("line-through"):t.classList.add("line-through"),o.checked=!0;for(var s=0;s<e.length&&!e[s].checked;s++)s!==e.length-1||e[s].checked||(o.checked=!1);b.setCheckedAttribute("",o,o.checked),o&&n&&o.setAttribute(this.ARIA_LABEL_ATTRIBUTE,n.textContent+" "+T.PCenterSelectAllVendorsText)},r.prototype.loadHostList=function(e,t){var o={},n=[],n=A.showTrackingTech?(o=h.getAdditionalTechnologiesDataFromGroup(t),(A.currentTrackingTech=o).Cookies):h.getCombinedCookieList(t);A.currentGlobalFilteredList=n,this.initHostData({searchString:e,cookiesList:n,addTechData:o})},r.prototype.getCombinedCookieList=function(e){var t,o=[],n=[];return A.cookieListType!==ye.GenVen&&(n=(t=h.getFirstsAndThirdCookisFromGroups(e)).firstPartyCookiesList,o=t.thirdPartyCookiesList,n.length)&&o.unshift({HostName:T.PCFirstPartyCookieListText,DisplayName:T.PCFirstPartyCookieListText,HostId:this.FIRST_PARTY_COOKIES_GROUP_NAME,isFirstParty:!0,Cookies:n,Description:""}),A.showGeneralVendors?(t=this.getFilteredGenVendorsList(e),M(o,this.mapGenVendorListToHostFormat(t))):o},r.prototype.mapGenVendorListToHostFormat=function(e){return e.map(function(e){return{Cookies:e.Cookies,DisplayName:e.Name,HostName:e.Name,HostId:e.VendorCustomId,Description:e.Description,Type:Ce.GenVendor,PrivacyPolicy:e.PrivacyPolicyUrl,isActive:-1<A.alwaysActiveGenVendors.indexOf(e.VendorCustomId)}})},r.prototype.mapGenVendorToHostFormat=function(e){return{Cookies:e.Cookies,DisplayName:e.Name,HostName:e.Name,HostId:e.VendorCustomId,Description:e.Description,Type:Ce.GenVendor}},r.prototype.getFilteredGenVendorsList=function(t){var e,o=[],n=[];return t.length?(T.Groups.forEach(function(e){M(e.SubGroups,[e]).forEach(function(e){-1!==t.indexOf(e.CustomGroupId)&&e.GeneralVendorsIds&&e.GeneralVendorsIds.forEach(function(e){o.push(e)})})}),e=T.GeneralVendors,o.length?e.filter(function(e){if(-1<o.indexOf(e.VendorCustomId))return e}):n):T.GeneralVendors},r.prototype.initVendorsData=function(e,t){var o=this,n=t,t=A.vendors.list;if(this.setBackBtnTxt(),I(S.P_Vendor_List+" #select-all-text-container p").html(T.PCenterAllowAllConsentText),h.setConsentLegIntAndHeaderText(),I("#onetrust-pc-sdk #filter-btn-handler").el[0].setAttribute(this.ARIA_LABEL_ATTRIBUTE,T.PCenterVendorListFilterAria),I("#onetrust-pc-sdk #filter-btn-handler title").html(T.PCenterVendorListFilterAria),this.hasIabVendors=0<n.length,this.showEmptyResults(!this.hasGoogleVendors&&!this.hasIabVendors&&!this.hasGenVendors,e,!1),h.hideOrShowVendorList(n),I("#onetrust-pc-sdk "+S.P_Vendor_Container+" ."+S.P_Ven_Bx).length!==t.length&&this.attachVendorsToDOM(),n.length!==t.length)t.forEach(function(e){var t=I(S.P_Vendor_Container+" #IAB"+e.vendorId).el[0].parentElement;-1===n.indexOf(e)?d(t,"display: none;",!0):d(t,o._displayNull,!0)});else for(var r=I(S.P_Vendor_Container+' li[style^="display: none"]').el,i=0;i<r.length;i++)d(r[i],this._displayNull,!0);!k.isV2Template&&P.pcName===g||this.setListSearchValues(_e.vendors);e=document.querySelector("#vdr-lst-dsc");!e&&T.PCenterVendorListDescText&&((e=document.createElement("p")).id="vdr-lst-dsc",I(e).html(T.PCenterVendorListDescText),P.pcName!==g&&P.pcName!==ft?(t=document.querySelector("#onetrust-pc-sdk "+S.P_Vendor_Title_Elm))&&t.insertAdjacentElement("afterend",e):(t=document.querySelector(S.P_Vendor_Content+" .ot-sdk-row"))&&t.insertAdjacentElement("beforebegin",e)),I("#onetrust-pc-sdk "+S.P_Select_Cntr).removeClass("ot-hide"),this.vendorsListEvent(),P.legIntSettings.PAllowLI&&this.vendorLegIntToggleEvent()},r.prototype.setConsentLegIntAndHeaderText=function(){k.isV2Template&&(I("#ot-sel-blk span:first-child").html(T.PCenterAllowAllConsentText||T.ConsentText),I("#ot-sel-blk span:last-child").html(T.LegitInterestText),I("#onetrust-pc-sdk "+S.P_Cnsnt_Header).html(T.PCenterAllowAllConsentText),P.legIntSettings.PAllowLI&&!P.legIntSettings.PShowLegIntBtn&&I("#onetrust-pc-sdk .ot-sel-all-hdr .ot-li-hdr").html(T.PCenterLegitInterestText),P.legIntSettings.PAllowLI&&!P.legIntSettings.PShowLegIntBtn||d(I("#ot-sel-blk span:first-child").el[0],"max-width: 100%;",!0))},r.prototype.hideOrShowVendorList=function(e){0===e.length?I("#ot-lst-cnt .ot-acc-cntr").hide():I("#ot-lst-cnt .ot-acc-cntr").show(),A.showTrackingTech&&h.removeTrackingTechAccorions()},r.prototype.updateVendorsDOMToggleStatus=function(e,t){void 0===t&&(t=!1);for(var o=I(S.P_Vendor_Container+" "+S.P_Tgl_Cntr).el,n=T.VendorConsentModel===Eo,r=0;r<o.length;r++){var i=o[r].querySelector("."+S.P_Ven_Ctgl+" input"),s=o[r].querySelector("."+S.P_Ven_Ltgl+" input");t?(i&&b.setCheckedAttribute("",i,n),s&&b.setCheckedAttribute("",s,!0)):(i&&b.setCheckedAttribute("",i,e),s&&b.setCheckedAttribute("",s,e))}var a=I("#onetrust-pc-sdk #select-all-vendor-leg-handler").el[0],a=(a&&(a.parentElement.classList.remove("line-through"),b.setCheckedAttribute("",a,!!t||e)),I("#onetrust-pc-sdk #select-all-vendor-groups-handler").el[0]);a&&(a.parentElement.classList.remove("line-through"),b.setCheckedAttribute("",a,t?n:e)),T.UseGoogleVendors&&(t?this.updateGoogleCheckbox(n):this.updateGoogleCheckbox(e)),A.showGeneralVendors&&T.GenVenOptOut&&this.updateGenVenCheckbox(e)},r.prototype.updateGenVenCheckbox=function(e){for(var t=I(S.P_Gven_List+" .ot-ven-gvctgl input").el,o=0;o<t.length;o++)b.setCheckedAttribute("",t[o],e);var n=I("#onetrust-pc-sdk #ot-selall-gnven-handler").el[0];n&&(n.parentElement.classList.remove("line-through"),b.setCheckedAttribute("",n,e))},r.prototype.updateGoogleCheckbox=function(e){for(var t=I("#ot-addtl-venlst .ot-tgl-cntr input").el,o=0;o<t.length;o++)b.setCheckedAttribute("",t[o],e);var n=I("#onetrust-pc-sdk #ot-selall-adtlven-handler").el[0];n&&(n.parentElement.classList.remove("line-through"),b.setCheckedAttribute("",n,e))},r.prototype.updateVendorDisclosure=function(e,t){var r,i,e=I(S.P_Vendor_Container+" #IAB"+e).el[0].parentElement;t&&t.disclosures&&(r=e.querySelector(S.P_Ven_Dets),(e=(i=e.querySelector(S.P_Ven_Disc).cloneNode(!0)).cloneNode(!0)).innerHTML="<p><b>"+T.PCenterVendorListDisclosure+": </b></p>",r.insertAdjacentElement("beforeend",e),t.disclosures.forEach(function(e){var t,o=i.cloneNode(!0),n="<p>"+T.PCenterVendorListStorageIdentifier+" </p> <p>"+(e.name||e.identifier)+" </p>";e.type&&(n+="<p>"+T.PCenterVendorListStorageType+" </p> <p>"+e.type+" </p>"),e.maxAgeSeconds&&(t=b.calculateCookieLifespan(e.maxAgeSeconds),n+="<p>"+T.PCenterVendorListLifespan+" </p> <p>"+t+" </p>"),e.domain&&(n+="<p>"+T.PCenterVendorListStorageDomain+" </p> <p>"+e.domain+" </p>"),e.purposes&&(n+="<p>"+T.PCenterVendorListStoragePurposes+' </p><div class="disc-pur-cont">',e.purposes.forEach(function(e){e=P.iabGroups.purposes[e].name;e&&(n+=' <p class="disc-pur">'+e+" </p>")}),n+="</div>"),o.innerHTML=n,r.insertAdjacentElement("beforeend",o)}),this.updateDomainsUsageInDisclosures(t,i,r))},r.prototype.updateDomainsUsageInDisclosures=function(e,n,r){var t;e.domains&&e.domains.length&&((t=n.cloneNode(!0)).innerHTML="<p><b>"+T.PCVLSDomainsUsed+": </b></p>",r.insertAdjacentElement("beforeend",t),e.domains.forEach(function(e){var t,o=n.cloneNode(!0);e.domain&&(t="<p>"+T.PCenterVendorListStorageDomain+" </p> <p>"+e.domain+" </p>"),e.use&&(t+="<p>"+T.PCVLSUse+" </p> <p>"+e.use+" </p>"),o.innerHTML=t,r.insertAdjacentElement("beforeend",o)}))},r.prototype.addDescriptionElement=function(e,t){var o=document.createElement("p");o.innerHTML=t||"",e.parentNode.insertBefore(o,e)},r.prototype.setVdrConsentTglOrChbox=function(e,t,o,n,r,i){var s,a,l=A.vendorsSetting[e],t=t.cloneNode(!0);l.consent&&(t.classList.add(S.P_Ven_Ctgl),l=-1!==jt.inArray(e+":true",A.vendors.selectedVendors),s=t.querySelector("input"),k.isV2Template&&(s.classList.add("vendor-checkbox-handler"),a=t.querySelector(this.LABEL_STATUS),T.PCShowConsentLabels?a.innerHTML=l?T.PCActiveText:T.PCInactiveText:b.removeChild(a)),b.setCheckedAttribute("",s,l),b.setHtmlAttributes(s,{id:S.P_Vendor_CheckBx+"-"+i,vendorid:e,"aria-label":o}),t.querySelector("label").setAttribute("for",S.P_Vendor_CheckBx+"-"+i),t.querySelector(S.P_Label_Txt).textContent=o,P.pcName===g?T.PCTemplateUpgrade?n.insertAdjacentElement("beforeend",t):I(n).append(t):n.insertBefore(t,r))},r.prototype.setVndrLegIntTglTxt=function(e,t){e=e.querySelector(this.LABEL_STATUS);T.PCShowConsentLabels?e.innerHTML=t?T.PCActiveText:T.PCInactiveText:b.removeChild(e)},r.prototype.setVdrLegIntTglOrChbx=function(e,t,o,n,r,i,s){var a,l,c=A.vendorsSetting[e],o=o.cloneNode(!0);c.legInt&&!c.specialPurposesOnly&&(a=-1!==jt.inArray(e+":true",A.vendors.selectedLegIntVendors),P.legIntSettings.PShowLegIntBtn?(l=p.generateLegIntButtonElements(a,e,!0),t.querySelector(S.P_Acc_Txt).insertAdjacentHTML("beforeend",l),(l=t.querySelector(".ot-remove-objection-handler"))&&d(l,l.getAttribute("data-style"))):(l=o.querySelector("input"),k.isV2Template&&(l.classList.add("vendor-checkbox-handler"),this.setVndrLegIntTglTxt(o,a)),o.classList.add(S.P_Ven_Ltgl),l.classList.remove("vendor-checkbox-handler"),l.classList.add("vendor-leg-checkbox-handler"),b.setCheckedAttribute("",l,a),b.setHtmlAttributes(l,{id:S.P_Vendor_LegCheckBx+"-"+r,"leg-vendorid":e,"aria-label":n}),o.querySelector("label").setAttribute("for",S.P_Vendor_LegCheckBx+"-"+r),o.querySelector(S.P_Label_Txt).textContent=n,t.querySelector("."+S.P_Ven_Ctgl)&&(i=t.querySelector("."+S.P_Ven_Ctgl)),P.pcName!==g||s.children.length?s.insertBefore(o,i):I(s).append(o),c.consent||P.pcName!==g||o.classList.add(S.P_Ven_Ltgl_Only)))},r.prototype.setVndrSplPurSection=function(e,t){var o=this,n=e.querySelector(".spl-purpose"),e=e.querySelector(".spl-purpose-grp"),r=e.cloneNode(!0);e.parentElement.removeChild(e),P.isIab2orv2Template&&t.specialPurposes.forEach(function(e){I(r.querySelector(o.CONSENT_CATEGORY)).text(e.purposeName),n.insertAdjacentHTML("afterend",r.outerHTML)}),0===t.specialPurposes.length?n.parentElement.removeChild(n):I(n.querySelector("p")).text(T.SpecialPurposesText)},r.prototype.setVndrFtSection=function(e,t){var o=this,n=e.querySelector(".vendor-feature"),e=e.querySelector(".vendor-feature-group"),r=e.cloneNode(!0);e.parentElement.removeChild(e),I(n.querySelector("p")).text(T.FeaturesText),t.features.forEach(function(e){I(r.querySelector(o.CONSENT_CATEGORY)).text(e.featureName),n.insertAdjacentHTML("afterend",r.outerHTML)}),0===t.features.length&&n.parentElement.removeChild(n)},r.prototype.setVndrSplFtSection=function(e,t){var o=this,n=e.querySelector(".vendor-spl-feature"),e=e.querySelector(".vendor-spl-feature-grp"),r=e.cloneNode(!0);n.parentElement.removeChild(e),P.isIab2orv2Template&&t.specialFeatures.forEach(function(e){I(r.querySelector(o.CONSENT_CATEGORY)).text(e.featureName),n.insertAdjacentHTML("afterend",r.outerHTML)}),0===t.specialFeatures.length?n.parentElement.removeChild(n):I(n.querySelector("p")).text(T.SpecialFeaturesText)},r.prototype.setVndrAccTxt=function(e,t){t=t.querySelector(S.P_Acc_Txt);t&&b.setHtmlAttributes(t,{id:"IAB-ACC-TXT"+e,"aria-labelledby":"IAB-ACC-TXT"+e,role:"region"})},r.prototype.setVndrDisclosure=function(e,t,o){t.deviceStorageDisclosureUrl&&(b.setHtmlAttributes(o,{"disc-vid":e}),A.discVendors[e]={isFetched:!1,disclosureUrl:t.deviceStorageDisclosureUrl})},r.prototype.setVndrListSelectAllChkBoxs=function(){var e=I("#onetrust-pc-sdk "+S.P_Sel_All_Vendor_Consent_Handler).el[0],e=(e&&e.setAttribute(this.ARIA_LABEL_ATTRIBUTE,T.PCenterSelectAllVendorsText+" "+T.LegitInterestText),I("#onetrust-pc-sdk "+S.P_Sel_All_Vendor_Leg_Handler).el[0]);e&&e.setAttribute(this.ARIA_LABEL_ATTRIBUTE,T.PCenterSelectAllVendorsText+" "+T.ConsentText)},r.prototype.setVndrConsentPurposes=function(e,t,o){var n=this,r=e.querySelector(".vendor-consent-group"),i=e.querySelector(".vendor-option-purpose"),s=r.cloneNode(!0),a=e.querySelector(".legitimate-interest"),l=!1;return r.parentElement.removeChild(r),t.consent&&(I(i.querySelector("p")).text(T.ConsentPurposesText),o.purposes.forEach(function(e){I(s.querySelector(n.CONSENT_CATEGORY)).text(e.purposeName);e=s.querySelector(".consent-status");e&&s.removeChild(e),a.insertAdjacentHTML("beforebegin",s.outerHTML),l=!0})),t.consent||i.parentElement.removeChild(i),l},r.prototype.getVndrTglCntr=function(e){return k.isV2Template?L.chkboxEl.cloneNode(!0):e.querySelector(".ot-checkbox")},r.prototype.attachVendorsToDOM=function(){for(var p,u,g=this,h=A.vendors.list,C=A.vendors.vendorTemplate.cloneNode(!0),y=(A.discVendors={},k.isV2Template&&(p=C.querySelector(".ot-ven-pur").cloneNode(!0),u=C.querySelector(S.P_Ven_Disc).cloneNode(!0),I(C.querySelector(".ot-ven-dets")).html("")),document.createDocumentFragment()),f=this,e=0;e<h.length;e++)!function(e){var t,o,n=C.cloneNode(!0),r=h[e].vendorId,i=h[e].vendorName,s=n.querySelector("."+S.P_Ven_Bx),a=A.vendorsSetting[r],l=n.querySelector(S.P_Ven_Link),l=(b.setHtmlAttributes(s,{id:"IAB"+r,name:"IAB"+r,"aria-controls":"IAB-ACC-TXT"+r,"aria-label":i}),s.nextElementSibling.setAttribute("for","IAB"+r),n.querySelector(S.P_Ven_Name).innerText=i,b.setHtmlAttributes(l,{href:h[e].policyUrl,rel:"noopener",target:"_blank"}),l.innerHTML=T.PCenterViewPrivacyPolicyText+" <span class='ot-scrn-rdr'>"+i+" "+T.NewWinTxt+"</span>",f.getVndrTglCntr(n)),c=n.querySelector(S.P_Tgl_Cntr),d=(k.isV2Template||l.parentElement.removeChild(l),n.querySelector(S.P_Arrw_Cntr));f.setVdrConsentTglOrChbox(r,l,i,c,d,e),f.setVdrLegIntTglOrChbx(r,n,l,i,e,d,c),k.isV2Template&&(c.insertAdjacentElement("beforeend",L.arrowEl.cloneNode(!0)),T.PCAccordionStyle!==ce.Caret)&&n.querySelector(".ot-ven-hdr").insertAdjacentElement("beforebegin",L.plusMinusEl.cloneNode(!0)),f.setVndrAccTxt(r,n),f.setVndrDisclosure(r,h[e],s),k.isV2Template?f.populateVendorDetailsHtml(n,p,h[e],u):(t=n.querySelector(".legitimate-interest"),l=n.querySelector(".legitimate-interest-group"),o=l.cloneNode(!0),u=n.querySelector(S.P_Ven_Disc),i=n.querySelector(S.P_Ven_Dets),d=u.cloneNode(!0),u.parentElement.removeChild(u),f.attachVendorDisclosure(d,h[e]),i.insertAdjacentElement("afterbegin",d),f.setVndrConsentPurposes(n,a,h[e]),c=o.querySelector(".vendor-opt-out-handler"),P.isIab2orv2Template&&c.parentElement.removeChild(c),l.parentElement.removeChild(l),a.legInt&&(I(t.querySelector("p")).text(T.LegitimateInterestPurposesText),P.legIntSettings.PAllowLI)&&P.isIab2orv2Template&&h[e].legIntPurposes.forEach(function(e){I(o.querySelector(g.CONSENT_CATEGORY)).text(e.purposeName),t.insertAdjacentHTML("afterend",o.outerHTML)}),a.legInt||t.parentElement.removeChild(t),f.setVndrSplPurSection(n,h[e]),f.setVndrFtSection(n,h[e]),f.setVndrSplFtSection(n,h[e]),(r=s.parentElement.querySelector(".vendor-purposes p")).parentElement.removeChild(r)),y.appendChild(n),f.setVndrListSelectAllChkBoxs()}(e);document.querySelector("#onetrust-pc-sdk "+S.P_Vendor_Container).append(y)},r.prototype.populateVendorDetailsHtml=function(e,t,o,n){var r,i,s,a,l,e=e.querySelector(".ot-ven-dets"),c=A.vendorsSetting[o.vendorId],n=n.cloneNode(!0);this.attachVendorDisclosure(n,o),e.insertAdjacentElement("beforeEnd",n),c.consent&&(n=t.cloneNode(!0),r="<h4>"+T.ConsentPurposesText+"</h4>",r+="<ul>",o.purposes.forEach(function(e){r+="<li><p>"+e.purposeName+"</p></li>"}),r+="</ul>",n.innerHTML=r,e.insertAdjacentElement("beforeEnd",n)),c.legInt&&o.legIntPurposes.length&&(n=t.cloneNode(!0),i="<h4>"+T.LegitimateInterestPurposesText+"</h4>",i+="<ul>",o.legIntPurposes.forEach(function(e){i+="<li><p>"+e.purposeName+"</p></li>"}),i+="</ul>",n.innerHTML=i,e.insertAdjacentElement("beforeEnd",n)),P.isIab2orv2Template&&o.specialPurposes.length&&(c=t.cloneNode(!0),s="<h4>"+T.SpecialPurposesText+"</h4>",s+="<ul>",o.specialPurposes.forEach(function(e){s+="<li><p>"+e.purposeName+"</p></li>"}),s+="</ul>",c.innerHTML=s,e.insertAdjacentElement("beforeEnd",c)),o.features.length&&(n=t.cloneNode(!0),a="<h4>"+T.FeaturesText+"</h4>",a+="<ul>",o.features.forEach(function(e){a+="<li><p>"+e.featureName+"</p></li>"}),a+="</ul>",n.innerHTML=a,e.insertAdjacentElement("beforeEnd",n)),P.isIab2orv2Template&&o.specialFeatures.length&&(c=t.cloneNode(!0),l="<h4>"+T.SpecialFeaturesText+"</h4>",l+="<ul>",o.specialFeatures.forEach(function(e){l+="<li><p>"+e.featureName+"</p></li>"}),l+="</ul>",c.innerHTML=l,e.insertAdjacentElement("beforeEnd",c))},r.prototype.InitializeVendorList=function(){var e;A.vendors.list=A.iabData?A.iabData.vendors:null,A.vendors.vendorTemplate=I(S.P_Vendor_Container+" li").el[0].cloneNode(!0),I("#onetrust-pc-sdk "+S.P_Vendor_Container).html(""),k.isV2Template||P.pcName!==g||(e=A.vendors.vendorTemplate.querySelectorAll(S.P_Acc_Header),(e=P.legIntSettings.PAllowLI&&P.isIab2orv2Template?e[0]:e[1]).parentElement.removeChild(e))},r.prototype.cancelVendorFilter=function(){for(var e=I("#onetrust-pc-sdk .category-filter-handler").el,t=0;t<e.length;t++){var o=e[t].getAttribute("data-purposeid"),o=0<=A.filterByIABCategories.indexOf(o);b.setCheckedAttribute(null,e[t],o)}},r.prototype.attachVendorDisclosure=function(e,t){var o="<h4>"+T.PCenterVendorListLifespan+" :</h4><span> "+t.cookieMaxAge+"</span>";t.usesNonCookieAccess&&(o+="<p>"+T.PCenterVendorListNonCookieUsage+"</p>"),e.innerHTML=o},r.prototype.updateVendorFilterList=function(){for(var e=I("#onetrust-pc-sdk .category-filter-handler").el,t=0;t<e.length;t++){var o,n=e[t].getAttribute("data-purposeid");e[t].checked&&A.filterByIABCategories.indexOf(n)<0?A.filterByIABCategories.push(n):!e[t].checked&&-1<A.filterByIABCategories.indexOf(n)&&(o=A.filterByIABCategories,A.filterByIABCategories.splice(o.indexOf(n),1))}return A.filterByIABCategories},r.prototype.saveVendorStatus=function(){var e=A.vendors,t=A.oneTrustIABConsent,t=(t.purpose=e.selectedPurpose.slice(),t.legimateInterest=e.selectedLegInt.slice(),t.vendors=e.selectedVendors.slice(),t.legIntVendors=e.selectedLegIntVendors.slice(),t.specialFeatures=e.selectedSpecialFeatures.slice(),A.addtlVendors);t.vendorConsent=Object.keys(t.vendorSelected)},r.prototype.updateIabVariableReference=function(){var e=A.oneTrustIABConsent,t=A.vendors,o=(t.selectedPurpose=e.purpose.slice(),t.selectedLegInt=e.legimateInterest.slice(),t.selectedVendors=e.vendors.slice(),t.selectedLegIntVendors=e.legIntVendors.slice(),t.selectedSpecialFeatures=e.specialFeatures.slice(),A.addtlVendors);o.vendorSelected={},o.vendorConsent.forEach(function(e){o.vendorSelected[e]=!0})},r.prototype.allowAllhandler=function(){_.initializeIABData(!0,!1)},r.prototype.rejectAllHandler=function(e){_.initializeIABData(!1,!0,e=void 0===e?!1:e)},r.prototype.populateAddtlVendors=function(e){var t,o,n,r,i,s,a,l=(T.PCAccordionStyle===ce.Caret?L.arrowEl:L.plusMinusEl).cloneNode(!0),c=document.querySelector("#onetrust-pc-sdk .ot-sel-all-chkbox"),d=c.cloneNode(!0),c=(b.removeChild(d.querySelector("#ot-selall-hostcntr")),b.removeChild(c.querySelector("#ot-selall-vencntr")),b.removeChild(c.querySelector("#ot-selall-licntr")),L.accordionEl.cloneNode(!0)),c=(c.classList.add("ot-iab-acc"),c.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",l.cloneNode(!0)),c.querySelector(".ot-acc-hdr").insertAdjacentHTML("beforeEnd","<div class='ot-vensec-title'>"+T.PCIABVendorsText+"</div>"),c.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",d),c.querySelector(".ot-acc-txt").insertAdjacentElement("beforeEnd",I("#ot-ven-lst").el[0]),I("#ot-lst-cnt .ot-sdk-column").append(c),c.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,T.PCIABVendorsText),this.iabAccInit=!0,d.cloneNode(!0)),p=(b.removeChild(c.querySelector("#ot-selall-licntr")),c.querySelector(".ot-chkbox").id="ot-selall-adtlvencntr",c.querySelector("input").id="ot-selall-adtlven-handler",c.querySelector("label").setAttribute("for","ot-selall-adtlven-handler"),L.accordionEl.cloneNode(!0)),u=(p.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",l.cloneNode(!0)),p.querySelector(".ot-acc-hdr").insertAdjacentHTML("beforeEnd","<div class='ot-vensec-title'>"+T.PCGoogleVendorsText+"</div>"),p.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",c),p.querySelector(".ot-acc-txt").insertAdjacentHTML("beforeEnd","<ul id='ot-addtl-venlst'></ul>"),p.classList.add("ot-adtlv-acc"),p.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,T.PCGoogleVendorsText),A.vendors.vendorTemplate.cloneNode(!0));for(t in u.querySelector("button").classList.remove("ot-ven-box"),u.querySelector("button").classList.add("ot-addtl-venbox"),b.removeChild(u.querySelector(".ot-acc-txt")),e)e[t]&&(o=u.cloneNode(!0),n=e[t].name,o.querySelector(S.P_Ven_Name).innerText=n,r=o.querySelector("button"),b.setHtmlAttributes(r,{id:"Adtl-IAB"+t}),b.setHtmlAttributes(o.querySelector(S.P_Ven_Link),{href:e[t].policyUrl,rel:"noopener",target:"_blank"}),o.querySelector(S.P_Ven_Link).innerHTML=T.PCenterViewPrivacyPolicyText+" <span class='ot-scrn-rdr'>"+n+" "+T.NewWinTxt+"</span>",(r=L.chkboxEl.cloneNode(!0)).classList.remove("ot-ven-ctgl"),r.classList.add("ot-ven-adtlctgl"),i=Boolean(A.addtlVendors.vendorSelected[t]),(s=r.querySelector("input")).classList.add("ot-addtlven-chkbox-handler"),a=r.querySelector(this.LABEL_STATUS),T.PCShowConsentLabels?a.innerHTML=i?T.PCActiveText:T.PCInactiveText:b.removeChild(a),b.setCheckedAttribute("",s,i),b.setHtmlAttributes(s,{id:"ot-addtlven-chkbox-"+t,"addtl-vid":t,"aria-label":n}),r.querySelector("label").setAttribute("for","ot-addtlven-chkbox-"+t),r.querySelector(S.P_Label_Txt).textContent=n,a=o.querySelector(S.P_Tgl_Cntr),I(a).append(r),a.insertAdjacentElement("beforeend",L.arrowEl.cloneNode(!0)),T.PCAccordionStyle!==ce.Caret&&o.querySelector(".ot-ven-hdr").insertAdjacentElement("beforebegin",L.plusMinusEl.cloneNode(!0)),I(p.querySelector("#ot-addtl-venlst")).append(o));I("#ot-lst-cnt .ot-sdk-column").append(p),I("#onetrust-pc-sdk").on("click","#ot-pc-lst .ot-acc-cntr > input",function(e){b.setCheckedAttribute(null,e.target,e.target.checked)}),this.showConsentHeader()},r.prototype.populateGeneralVendors=function(){var e,t,o,c,d,p,u=this,n=T.GeneralVendors,r=document.querySelector(".ot-gv-acc"),g=!!r;n.length?(this.hasGenVendors=!0,r&&I(r).show(),e=(T.PCAccordionStyle===ce.Caret?L.arrowEl:L.plusMinusEl).cloneNode(!0),this.iabAccInit||this.addIabAccordion(),(t=document.createElement("div")).setAttribute("class","ot-sel-all-chkbox"),o=L.chkboxEl.cloneNode(!0),o.id="ot-selall-gnvencntr",o.querySelector("input").id="ot-selall-gnven-handler",o.querySelector("label").setAttribute("for","ot-selall-gnven-handler"),I(t).append(o),c=L.accordionEl.cloneNode(!0),c.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",e.cloneNode(!0)),c.querySelector(".ot-acc-hdr").insertAdjacentHTML("beforeEnd","<div class='ot-vensec-title'>"+T.PCenterGeneralVendorsText+"</div>"),T.GenVenOptOut&&c.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",t),c.querySelector(".ot-acc-txt").insertAdjacentHTML("beforeEnd","<ul id='ot-gn-venlst'></ul>"),c.classList.add("ot-gv-acc"),c.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,T.PCenterGeneralVendorsText),d=A.vendors.vendorTemplate.cloneNode(!0),d.querySelector("button").classList.remove("ot-ven-box"),d.querySelector("button").classList.add("ot-gv-venbox"),I(d.querySelector(".ot-acc-txt")).html('<ul class="ot-host-opt"></ul>'),g&&I(""+S.P_Gven_List).html(""),p=!0,n.forEach(function(e){var t,o,n=u.mapGenVendorToHostFormat(e),r=d.cloneNode(!0),i=e.VendorCustomId,s=e.Name,a=r.querySelector(S.P_Ven_Link),l=(r.querySelector(S.P_Ven_Name).innerText=s,r.querySelector("button"));b.setHtmlAttributes(l,{id:"Gn-"+i}),e.PrivacyPolicyUrl?(b.setHtmlAttributes(a,{href:e.PrivacyPolicyUrl,rel:"noopener",target:"_blank"}),a.innerHTML=T.PCGVenPolicyTxt+" <span class='ot-scrn-rdr'>"+s+" "+T.NewWinTxt+"</span>"):a.classList.add("ot-hide"),u.addDescriptionElement(a,e.Description),T.GenVenOptOut&&((l=L.chkboxEl.cloneNode(!0)).classList.remove("ot-ven-ctgl"),l.classList.add("ot-ven-gvctgl"),a=Boolean(A.genVendorsConsent[i]),(t=l.querySelector("input")).classList.add("ot-gnven-chkbox-handler"),o=l.querySelector(u.LABEL_STATUS),T.PCShowConsentLabels?o.innerHTML=a?T.PCActiveText:T.PCInactiveText:b.removeChild(o),b.setCheckedAttribute("",t,a),b.setHtmlAttributes(t,{id:"ot-gnven-chkbox-"+i,"gn-vid":i,"aria-label":s}),fo.isGenVenPartOfAlwaysActiveGroup(i)?b.setDisabledAttribute(null,t,!0):p=!1,l.querySelector("label").setAttribute("for","ot-gnven-chkbox-"+i),l.querySelector(S.P_Label_Txt).textContent=s,o=r.querySelector(S.P_Tgl_Cntr),I(o).append(l),o.insertAdjacentElement("beforeend",L.arrowEl.cloneNode(!0))),T.PCAccordionStyle!==ce.Caret&&r.querySelector(".ot-ven-hdr").insertAdjacentElement("beforebegin",L.plusMinusEl.cloneNode(!0)),e.Cookies.length||I(r).addClass("ot-hide-acc"),e.Cookies.forEach(function(e){e=u.getCookieElement(e,n);I(r.querySelector(".ot-host-opt")).append(e)}),I(g?""+S.P_Gven_List:c.querySelector(""+S.P_Gven_List)).append(r)}),g||I("#ot-lst-cnt .ot-sdk-column").append(c),I("#onetrust-pc-sdk").on("click","#ot-pc-lst .ot-acc-cntr > input",function(e){b.setCheckedAttribute(null,e.target,e.target.checked)}),this.showConsentHeader(),p&&b.setDisabledAttribute("#ot-selall-gnven-handler",null,!0)):(this.hasGenVendors=!1,r&&I(r).hide())},r.prototype.addIabAccordion=function(){var e=(T.PCAccordionStyle===ce.Caret?L.arrowEl:L.plusMinusEl).cloneNode(!0),t=document.querySelector("#onetrust-pc-sdk .ot-sel-all-chkbox"),o=t.cloneNode(!0),t=(b.removeChild(o.querySelector("#ot-selall-hostcntr")),b.removeChild(t.querySelector("#ot-selall-vencntr")),b.removeChild(t.querySelector("#ot-selall-licntr")),L.accordionEl.cloneNode(!0));t.classList.add("ot-iab-acc"),t.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",e.cloneNode(!0)),t.querySelector(".ot-acc-hdr").insertAdjacentHTML("beforeEnd","<div class='ot-vensec-title'>"+T.PCIABVendorsText+"</div>"),t.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",o),t.querySelector(".ot-acc-txt").insertAdjacentElement("beforeEnd",I("#ot-ven-lst").el[0]),I("#ot-lst-cnt .ot-sdk-column").append(t),t.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,T.PCIABVendorsText),this.iabAccInit=!0},r.prototype.showConsentHeader=function(){var e=P.legIntSettings;I("#onetrust-pc-sdk .ot-sel-all-hdr").show(),e.PAllowLI&&!e.PShowLegIntBtn||I("#onetrust-pc-sdk .ot-li-hdr").hide()},r.prototype.setBackBtnTxt=function(){(k.isV2Template?(I(S.P_Vendor_List+" .back-btn-handler").attr(this.ARIA_LABEL_ATTRIBUTE,T.PCenterBackText),I(S.P_Vendor_List+" .back-btn-handler title")):I(S.P_Vendor_List+" .back-btn-handler .pc-back-button-text")).html(T.PCenterBackText)},r.prototype.getCookieElement=function(e,t){var o=A.hosts.hostCookieTemplate.cloneNode(!0),n=o.querySelector("div").cloneNode(!0),r=(n.classList.remove("cookie-name-container"),I(o).html(""),e.Name),i=(T.AddLinksToCookiepedia&&t.isFirstParty&&(r=y.getCookieLabel(e,T.AddLinksToCookiepedia)),n.cloneNode(!0));return i.classList.add(S.P_c_Name),i.querySelector("div:nth-child(1)").innerHTML=T.pcCListName,i.querySelector("div:nth-child(2)").innerHTML=r,I(o).append(i),T.pcShowCookieHost&&((r=n.cloneNode(!0)).classList.add(S.P_c_Host),r.querySelector("div:nth-child(1)").innerHTML=T.pcCListHost,r.querySelector("div:nth-child(2)").innerHTML=e.Host,I(o).append(r)),T.pcShowCookieDuration&&((i=n.cloneNode(!0)).classList.add(S.P_c_Duration),i.querySelector("div:nth-child(1)").innerHTML=T.pcCListDuration,i.querySelector("div:nth-child(2)").innerHTML=e.IsSession?T.LifespanTypeText:y.getDuration(e),I(o).append(i)),T.pcShowCookieType&&(r=t.Type===Ce.GenVendor?!e.isThirdParty:t.isFirstParty,(i=n.cloneNode(!0)).classList.add(S.P_c_Type),i.querySelector("div:nth-child(1)").innerHTML=T.pcCListType,i.querySelector("div:nth-child(2)").innerHTML=r?T.firstPartyTxt:T.thirdPartyTxt,I(o).append(i)),T.pcShowCookieCategory&&(r=void 0,r=t.Type===Ce.GenVendor?e.category:(t.isFirstParty?e:t).groupName)&&((i=n.cloneNode(!0)).classList.add(S.P_c_Category),i.querySelector("div:nth-child(1)").innerHTML=T.pcCListCategory,i.querySelector("div:nth-child(2)").innerHTML=r,I(o).append(i)),T.pcShowCookieDescription&&e.description&&((t=n.cloneNode(!0)).classList.add(S.P_c_Desc),t.querySelector("div:nth-child(1)").innerHTML=T.pcCListDescription,t.querySelector("div:nth-child(2)").innerHTML=e.description,I(o).append(t)),o},r.prototype.getNoResultsFound=function(e){e=A.showTrackingTech?T.PCTechNotFound:e?T.PCHostNotFound:T.PCVendorNotFound;return" "+e+"."},r.prototype.getAdditionalTechnologiesHtml=function(e){var t=document.createDocumentFragment(),o=T.AdditionalTechnologiesConfig,n=0<e.Cookies.length;return(n=n&&e.Cookies[0].HostId===this.FIRST_PARTY_COOKIES_GROUP_NAME?0<e.Cookies[0].Cookies.length:n)&&((n=h.getMainAccordionContainer(o.PCCookiesLabel,o.PCCookiesLabel,!1)).classList.add(this.TECH_COOKIES_SELECTOR),t.appendChild(n)),0<e.LocalStorages.length&&((n=h.getMainAccordionContainer(o.PCLocalStorageLabel,o.PCLocalStorageLabel)).classList.add("tech-local"),h.setSessionLocalStorageTemplate(n,e.LocalStorages,T.AdditionalTechnologiesConfig.PCLocalStorageDurationText),t.appendChild(n)),0<e.SessionStorages.length&&((n=h.getMainAccordionContainer(o.PCSessionStorageLabel,o.PCSessionStorageDurationText)).classList.add("tech-session"),h.setSessionLocalStorageTemplate(n,e.SessionStorages,T.AdditionalTechnologiesConfig.PCSessionStorageDurationText),t.appendChild(n)),t},r.prototype.getMainAccordionContainer=function(e,t,o){void 0===o&&(o=!0);var n=h.getAccordionStyleElement(),r=L.accordionEl.cloneNode(!0);return r.classList.add("ot-add-tech"),r.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",n),r.querySelector(".ot-acc-hdr").insertAdjacentHTML("beforeEnd","<div class='ot-vensec-title'>"+e+"</div>"),r.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,t),o&&r.querySelector(".ot-acc-txt").insertAdjacentHTML("beforeend",'<ul id="ot-host-lst" style="display: block;"></ul>'),r.cloneNode(!0)},r.prototype.setSessionLocalStorageTemplate=function(e,t,o){var n=A.hosts.hostTemplate.cloneNode(!0),r=(b.removeChild(n.querySelector(".ot-a scc-txt")),e.querySelector(".ot-acc-txt "+S.P_Host_Cntr));r.removeAttribute("style"),r.classList.add("ot-host-opt");for(var i=0,s=t;i<s.length;i++){var a=s[i],a=h.getSessionLocalStorageElement(a,o);r.append(a)}},r.prototype.getSessionLocalStorageElement=function(e,t){var o=A.hosts.hostCookieTemplate.cloneNode(!0),n=o.querySelector("div").cloneNode(!0),r=(I(o).html(""),h.createKeyValueDivEle(n,S.P_c_Name,T.pcCListName,e.Name)),r=(I(o).append(r),h.createKeyValueDivEle(n,S.P_c_Host,T.pcCListHost,e.Host)),r=(I(o).append(r),h.createKeyValueDivEle(n,S.P_c_Duration,T.pcCListDuration,t)),t=(I(o).append(r),h.createKeyValueDivEle(n,S.P_c_Desc,T.pcCListDescription,e.description));return I(o).append(t),o},r.prototype.createKeyValueDivEle=function(e,t,o,n){e=e.cloneNode(!0);return e.classList.add(t),e.querySelector("div:nth-child(1)").innerHTML=o,e.querySelector("div:nth-child(2)").innerHTML=n,e},r.prototype.getAdditionalTechnologiesDataFromGroup=function(e){for(var t,o=[],n={SessionStorages:[],LocalStorages:[],Cookies:[]},r=0,i=h.getGroupsFromFilter(e);r<i.length;r++){var s=i[r],a=gn.getCookiesForGroup(s),o=M(o,null!=(t=a.firstPartyCookiesList)?t:[]);n.Cookies=M(n.Cookies,a.thirdPartyCookiesList),n.LocalStorages=M(n.LocalStorages,null!=(a=null==(t=s.TrackingTech)?void 0:t.LocalStorages)?a:[]),n.SessionStorages=M(n.SessionStorages,null!=(a=null==(t=s.TrackingTech)?void 0:t.SessionStorages)?a:[])}return o.length&&n.Cookies.unshift({HostName:T.PCFirstPartyCookieListText,DisplayName:T.PCFirstPartyCookieListText,HostId:this.FIRST_PARTY_COOKIES_GROUP_NAME,isFirstParty:!0,Cookies:o,Description:""}),n},r.prototype.getFirstsAndThirdCookisFromGroups=function(e){var t=[],o=[];return h.getGroupsFromFilter(e).forEach(function(e){e=gn.getCookiesForGroup(e);t=M(t,e.firstPartyCookiesList),o=M(o,e.thirdPartyCookiesList)}),{firstPartyCookiesList:t,thirdPartyCookiesList:o}},r.prototype.getGroupsFromFilter=function(t){var o=[];return T.Groups.forEach(function(e){M(e.SubGroups,[e]).forEach(function(e){(!t||!t.length||-1!==t.indexOf(e.CustomGroupId))&&o.push(e)})}),o},r.prototype.getAccordionStyleElement=function(){return(T.PCAccordionStyle===ce.Caret?L.arrowEl:L.plusMinusEl).cloneNode(!0)},r.prototype.getFilteredAdditionaTechtData=function(e,t){var o,n={SessionStorages:[],LocalStorages:[],Cookies:[]},r=this.getSearchQuery(e),e=JSON.parse(JSON.stringify(t));return e.Cookies[0].HostId===this.FIRST_PARTY_COOKIES_GROUP_NAME&&((o=e.Cookies.shift()).Cookies=null==(t=o.Cookies)?void 0:t.filter(function(e){return r.lastIndex=0,r.test(e.Name||e.Host)})),n.Cookies=null==(t=e.Cookies)?void 0:t.filter(function(e){return r.lastIndex=0,r.test(e.DisplayName||e.HostName)}),o&&0<o.Cookies.length&&n.Cookies.unshift(o),n.LocalStorages=null==(t=e.LocalStorages)?void 0:t.filter(function(e){return r.lastIndex=0,r.test(e.Name||e.Host)}),n.SessionStorages=null==(o=e.SessionStorages)?void 0:o.filter(function(e){return r.lastIndex=0,r.test(e.Name||e.Host)}),n};var h,yn=r;function r(){this.hasIabVendors=!1,this.hasGoogleVendors=!1,this.hasGenVendors=!1,this.iabAccInit=!1,this._displayNull="display: '';",this.ARIA_LABEL_ATTRIBUTE="aria-label",this.TECH_COOKIES_SELECTOR="tech-cookies",this.FIRST_PARTY_COOKIES_GROUP_NAME="first-party-cookies-group",this.LABEL_STATUS=".ot-label-status",this.CONSENT_CATEGORY=".consent-category",this.googleSearchSelectors={vendorAccBtn:"#ot-addtl-venlst #Adtl-IAB",name:"name",accId:".ot-adtlv-acc",selectAllEvntHndlr:"#ot-selall-adtlven-handler",venListId:"#ot-addtl-venlst",ctgl:".ot-ven-adtlctgl"},this.genVendorSearchSelectors={vendorAccBtn:"#ot-gn-venlst #Gn-",name:"Name",accId:".ot-gv-acc",selectAllEvntHndlr:"#ot-selall-gnven-handler",venListId:"#ot-gn-venlst",ctgl:".ot-ven-gvctgl"}}function fn(){return(!P.isIab2orv2Template&&T.PCTemplateUpgrade&&T.PCCategoryStyle===ve.Toggle?L.toggleEl:L.chkboxEl).cloneNode(!0)}i.prototype.setHtmlTemplate=function(e){V.setInternalData(),V.rootHtml=e,V.cloneHtmlElements()},i.prototype.getVendorListEle=function(e){var t=document.createDocumentFragment(),o=document.createElement("div"),n=(o.classList.add("ot-vs-list"),T.VendorServiceConfig.PCVSExpandGroup);return e.forEach(function(e,t){e=V.createVendor(e.groupRef,e,n,"ot-vs-lst-id-"+t);o.appendChild(e)}),t.appendChild(o),t},i.prototype.insertVendorServiceHtml=function(e,t){var o;V.checkIfIsInvalid(e,t)||(o=document.createDocumentFragment(),V.setVendorContainer(o,e),V.setVendorList(o,e),e.SubGroups&&0<e.SubGroups.length?(o.querySelector(this.MAIN_CONT_ELE).classList.add("ot-vnd-subgrp-cnt"),e=t.children[1],P.pcName===g&&(e=t.children[2]),t.insertBefore(o,e)):t.appendChild(o))},i.prototype.toggleVendorService=function(e,t,o,n){e=C.getGroupById(e),t=C.getVSById(t);n=n||V.getVendorInputElement(t.CustomVendorServiceId),V.setVendorServiceState(n,t,o),o?V.changeGroupState(e,o,V.isToggle):V.checkGroupChildrenState(e)||V.changeGroupState(e,!1,V.isToggle)},i.prototype.setVendorStateByGroup=function(e,t){e=e.VendorServices;if(A.showVendorService&&e)for(var o=0,n=e;o<n.length;o++){var r=n[o],i=V.getVendorInputElement(r.CustomVendorServiceId);V.setVendorServiceState(i,r,t)}},i.prototype.resetVendorUIState=function(e){e.forEach(function(e,t){t=V.getVendorInputElement(t);V.changeVendorServiceUIState(t,e)})},i.prototype.setVendorServiceState=function(e,t,o){V.changeVendorServiceState(t,o),V.changeVendorServiceUIState(e,o);e=o?tn:on;c.triggerGoogleAnalyticsEvent(Vo,e,t.ServiceName+": "+t.CustomVendorServiceId)},i.prototype.removeVSUITemplate=function(e){var t=e.querySelector(this.MAIN_CONT_ELE);t&&e.removeChild(t)},i.prototype.consentAll=function(o){A.getVendorsInDomain().forEach(function(e){var t=o;o||(t=C.isAlwaysActiveGroup(e.groupRef)),V.toggleVendorService(e.groupRef.CustomGroupId,e.CustomVendorServiceId,t||o)})},i.prototype.cloneHtmlElements=function(){var e,t,o,n,r=V.rootHtml.querySelector(this.MAIN_CONT_ELE);r&&(e=r.querySelector(".ot-vnd-serv-hdr-cntr"),n=(o=(t=r.querySelector(".ot-vnd-lst-cont")).querySelector(".ot-vnd-item")).querySelector(".ot-vnd-info"),V.vendorLabelContainerClone=e.cloneNode(!0),r.removeChild(e),V.vendorInfoClone=n.cloneNode(!0),o.querySelector(".ot-vnd-info-cntr").removeChild(n),V.vendorItemClone=o.cloneNode(!0),t.removeChild(o),V.vendorListContainerClone=t.cloneNode(!0),r.removeChild(t),V.vendorServMainContainerClone=r.cloneNode(!0),V.rootHtml.removeChild(r))},i.prototype.setInternalData=function(){V.isToggle=T.PCCategoryStyle===ve.Toggle;var e=T.VendorServiceConfig;V.stringTranslation=new Map,V.stringTranslation.set("ServiceName",e.PCVSNameText||"ServiceName"),V.stringTranslation.set("ParentCompany",e.PCVSParentCompanyText||"ParentCompany"),V.stringTranslation.set("Address",e.PCVSAddressText||"Address"),V.stringTranslation.set("DefaultCategoryName",e.PCVSDefaultCategoryText||"DefaultCategoryName"),V.stringTranslation.set("Description",e.PCVSDefaultDescriptionText||"Description"),V.stringTranslation.set("DPOEmail",e.PCVSDPOEmailText||"DPOEmail"),V.stringTranslation.set("DPOLink",e.PCVSDPOLinkText||"DPOLink"),V.stringTranslation.set("PrivacyPolicyLink",e.PCVSPrivacyPolicyLinkText||"PrivacyPolicyLink"),V.stringTranslation.set("CookiePolicyLink",e.PCVSCookiePolicyLinkText||"CookiePolicyLink"),V.stringTranslation.set("OptOutLink",e.PCVSOptOutLinkText||"OptOutLink"),V.stringTranslation.set("LegalBasis",e.PCVSLegalBasisText||"LegalBasis")},i.prototype.setVendorContainer=function(e,t){var o=V.vendorServMainContainerClone.cloneNode(!0),t=(o.setAttribute("data-group-id",t.CustomGroupId),V.vendorLabelContainerClone.cloneNode(!0));t.querySelector(".ot-vnd-serv-hdr").innerHTML=T.VendorServiceConfig.PCVSListTitle,o.appendChild(t),e.appendChild(o)},i.prototype.setVendorList=function(e,t){for(var o=0,n=V.getVSFromGroupAndSubgroups(t),r=n.length,e=e.querySelector(this.MAIN_CONT_ELE),i=V.vendorListContainerClone.cloneNode(),s=T.VendorServiceConfig.PCVSExpandCategory;o<r;o++){var a=V.createVendor(t,n[o],s);i.appendChild(a)}e.appendChild(i)},i.prototype.getVSFromGroupAndSubgroups=function(e,t){var o,n=null!=(o=e.VendorServices)?o:[];if(t=void 0===t?!1:t)for(var r=0,i=null!=(o=e.SubGroups)?o:[];r<i.length;r++){var s=null!=(s=i[r].VendorServices)?s:[];n.push.apply(n,s)}return n},i.prototype.createVendor=function(e,t,o,n){var r=V.vendorItemClone.cloneNode(!0),i=(r.setAttribute("data-vnd-id",t.CustomVendorServiceId),T.PCAccordionStyle===ce.NoAccordion?(r.classList.remove("ot-accordion-layout"),(i=r.querySelector("button"))&&r.removeChild(i)):V.setExpandVendorList(r,o),V.setVendorHeader(e,t,r,n),r.querySelector(".ot-vnd-info-cntr"));return V.setVendorInfo(i,t),r},i.prototype.setExpandVendorList=function(e,t){e.querySelector("button").setAttribute("aria-expanded",""+t)},i.prototype.setVendorHeader=function(e,t,o,n){var r=T.PCShowAlwaysActiveToggle,i="always active"===C.getGrpStatus(e).toLowerCase(),o=o.querySelector(".ot-acc-hdr"),s=(i&&o.classList.add("ot-always-active-group"),null),e=(i&&T.PCCategoryStyle===ve.Toggle||(s=V.setHeaderInputStyle(e,t,i,n)),V.setHeaderText(t,o)),n=(o.appendChild(e),V.getPositionForElement(T.PCAccordionStyle,V.isToggle)),t=n.positionIcon,e=n.positionInput;s&&o.insertAdjacentElement(e,s),i&&r&&(n=V.getAlwaysActiveElement(),o.insertAdjacentElement("beforeend",n)),T.PCAccordionStyle!==ce.NoAccordion&&(e=V.setHeaderAccordionIcon(),o.insertAdjacentElement(t,e))},i.prototype.getPositionForElement=function(e,t){var o="beforeend",n="beforeend";return{positionIcon:o=t&&e===ce.PlusMinus?"afterbegin":o,positionInput:n=t?n:"afterbegin"}},i.prototype.setHeaderAccordionIcon=function(){var e=(T.PCAccordionStyle===ce.Caret?L.arrowEl:L.plusMinusEl).cloneNode(!0);return e},i.prototype.setHeaderText=function(e,t){var o=t.querySelector(".ot-cat-header"),n=o.cloneNode();return t.removeChild(o),n.innerText=e.ServiceName,n},i.prototype.setHeaderInputStyle=function(e,t,o,n){var r,i,s,a;return T.VendorServiceConfig.PCVSOptOut?(e=C.checkIsActiveByDefault(e),r=!1,r=(i=A.vsConsent).has(t.CustomVendorServiceId)?i.get(t.CustomVendorServiceId):e,(i=fn()).querySelector("input").classList.add("category-switch-handler"),e=i.querySelector("input"),a=t.CustomVendorServiceId,n=null!=n?n:"ot-vendor-id-"+a,s="ot-vendor-header-id-"+a,I(e).attr("id",n),I(e).attr("name",n),I(e).attr("aria-labelledby",s),I(e).data("ot-vs-id",a),I(e).data("optanongroupid",t.groupRef.CustomGroupId),e.disabled=o,b.setCheckedAttribute(null,e,r),a=V.isToggle?n:s,I(i.querySelector("label")).attr("for",a),I(i.querySelector(".ot-label-txt")).html(t.ServiceName),I(i.querySelector(".ot-switch-nob")).attr("aria-label",t.ServiceName),i):null},i.prototype.getAlwaysActiveElement=function(){var e=document.createElement("div");return e.classList.add("ot-always-active"),e.innerText=T.AlwaysActiveText,e},i.prototype.setVendorInfo=function(e,t){var o,n,r,i,s,a,l=["DPOLink","PrivacyPolicyLink","CookiePolicyLink","OptOutLink"];for(o in t)V.skipVendorInfoKey(o,t)||(n=t[o],(r=V.vendorInfoClone.cloneNode(!0)).dataset.vndInfoKey=o+"-"+t.CustomVendorServiceId,i=r.querySelector(".ot-vnd-lbl"),s=r.querySelector(".ot-vnd-cnt"),i.innerHTML=V.getLocalizedString(o),l.includes(o)?(s.remove(),a=document.createElement("a"),I(a).attr("href",n),I(a).attr("target","_blank"),I(a).attr("rel","noopener"),I(a).attr("aria-label",n+" "+T.NewWinTxt),a.classList.add("ot-vnd-cnt"),a.innerText=n,i.insertAdjacentElement("afterend",a)):s.innerHTML=n,e.appendChild(r))},i.prototype.skipVendorInfoKey=function(e,t){return"VendorServiceId"===e||"DefaultCategoryId"===e||"ServiceName"===e||"groupRef"===e||"CustomVendorServiceId"===e||"PurposeId"===e||!t[e]},i.prototype.getLocalizedString=function(e){return V.stringTranslation.has(e)?V.stringTranslation.get(e):"DEFAULT"},i.prototype.checkGroupChildrenState=function(e){for(var t,o=0,n=null!=(t=e.SubGroups)?t:[];o<n.length;o++){var r=n[o];if(V.checkGroupChildrenState(r))return!0}for(var i=0,s=null!=(t=e.VendorServices)?t:[];i<s.length;i++){var a=s[i];if(A.vsConsent.get(a.CustomVendorServiceId))return!0}return!1},i.prototype.changeVendorServiceState=function(e,t){A.vsConsent.set(e.CustomVendorServiceId,t)},i.prototype.changeVendorServiceUIState=function(e,t){e&&(b.setCheckedAttribute(null,e,t),V.isToggle)&&e.parentElement.querySelector(".ot-switch-nob").setAttribute("aria-checked",""+t)},i.prototype.changeGroupState=function(e,t,o){var n=C.getParentByGrp(e);E.toggleGrpStatus(e,t),V.updateGroupUIState(e.CustomGroupId,t,o,null!==n),n&&(e=V.checkGroupChildrenState(n),V.changeGroupState(n,e,o))},i.prototype.updateGroupUIState=function(e,t,o,n){void 0===n&&(n=!1);n=document.querySelector((n?"#ot-sub-group-id-":"#ot-group-id-")+e);n&&(b.setCheckedAttribute(null,n,t),o)&&n.parentElement.querySelector(".ot-switch-nob").setAttribute("aria-checked",""+t)},i.prototype.getVendorInputElement=function(e){return document.getElementById("ot-vendor-id-"+e)},i.prototype.checkIfIsInvalid=function(e,t){return!e||!e.VendorServices||!t||e.VendorServices.length<=0};var V,kn=i;function i(){this.MAIN_CONT_ELE=".ot-vnd-serv"}var O,mn="#onetrust-banner-sdk",vn=".banner_logo",bn="#onetrust-pc-sdk",Sn=(s.prototype.insertPcHtml=function(){O.jsonAddAboutCookies(T);var t=document.createDocumentFragment(),e=(_.preferenceCenterGroup&&(e=document.createElement("div"),I(e).html(_.preferenceCenterGroup.html),e=e.querySelector("#onetrust-pc-sdk"),O.addClassesPerConfig(e),I(t).append(e),O.manageCloseButtons(e,e=function(e){return t.querySelectorAll(e)},o=function(e){return t.querySelector(e)}),T.Language&&T.Language.Culture&&I(o("#onetrust-pc-sdk")).attr("lang",T.Language.Culture),O.addLogos(o,e),I(o(S.P_Title)).html(T.MainText),T.PCCloseButtonType===Se.Link&&T.PCTemplateUpgrade&&P.pcName===g&&I(o(S.P_Title)).addClass("ot-pc-title-shrink"),T.PCTemplateUpgrade&&I(o(bn+' > div[role="alertdialog"]')).css("height: 100%;"),I(o(bn+' > div[role="alertdialog"]')).attr(this._ariaLabel,T.MainText),T.PCRegionAriaLabel&&(I(o("#onetrust-pc-sdk")).attr(this._ariaLabel,T.PCRegionAriaLabel),I(o("#onetrust-pc-sdk")).attr("role","region")),P.pcName===g&&(I(o(S.P_Privacy_Txt)).html(T.AboutCookiesText),I(o(S.P_Privacy_Hdr)).html(T.AboutCookiesText)),I(o(S.P_Policy_Txt)).html(T.MainInfoText),O.configureLinkFields(o),O.configureSubjectDataFields(o),O.configureButtons(o,e),O.setManagePreferenceText(o),O.initializePreferenceCenterGroups(o,t),O.removeListsWhenAppropriate(o),T.PCTemplateUpgrade)&&O.setOptOutSignalNotification(o),document.createElement("iframe")),o=(e.setAttribute("class","ot-text-resize"),e.setAttribute("sandbox","allow-same-origin"),e.setAttribute("title","onetrust-text-resize"),d(e,"position: absolute; top: -50000px; width: 100em;"),e.setAttribute(this._ariaHidden,"true"),I(t.querySelector("#onetrust-pc-sdk")).append(e),document.getElementById("onetrust-consent-sdk")),e=(I(o).append(t),P.ignoreInjectingHtmlCss||I(document.body).append(o),(T.showCookieList||A.showGeneralVendors)&&gn.InitializeHostList(),S.P_Vendor_List+" "+S.P_Host_Cntr+" li"),o=I(e).el[0];o&&b.removeChild(o)},s.prototype.addClassesPerConfig=function(e){/Chrome|Safari/i.test(navigator.userAgent)&&/Google Inc|Apple Computer/i.test(navigator.vendor)||I(e).addClass("ot-sdk-not-webkit"),T.useRTL&&I(e).attr("dir","rtl"),P.legIntSettings.PAllowLI&&P.isIab2orv2Template&&(I(e).addClass("ot-leg-opt-out"),P.legIntSettings.PShowLegIntBtn)&&I(e).addClass("ot-leg-btn"),T.BannerRelativeFontSizesToggle&&I(e).addClass("otRelFont"),T.PCShowConsentLabels&&I(e).addClass("ot-tgl-with-label"),(T.UseGoogleVendors||A.showGeneralVendors)&&I(e).addClass("ot-addtl-vendors"),"right"===T.PreferenceCenterPosition&&I(e).addClass(T.useRTL?"right-rtl":"right")},s.prototype.manageCloseButtons=function(e,t,o){var n=I(t(S.P_Close_Btn)).el;if(T.ShowPreferenceCenterCloseButton){T.CloseText||(T.CloseText="Close Preference Center");for(var r=0,i=n;r<i.length;r++){var s=i[r];T.PCCloseButtonType===Se.Link&&T.PCTemplateUpgrade?(I(s).html(T.PCContinueText),I(e).addClass("ot-close-btn-link"),I(s).el.removeAttribute(this._ariaLabel)):(I(s).el.setAttribute(this._ariaLabel,T.CloseText),y.setCloseIcon(o("#onetrust-pc-sdk .ot-close-icon")))}}else for(var a=0;a<n.length;a++)I(n[a].parentElement).el.removeChild(n[a])},s.prototype.addLogos=function(e,t){var o,n,e=e(S.P_Logo);e&&T.optanonLogo&&(o=y.updateCorrectUrl(T.optanonLogo),y.checkMobileOfflineRequest(y.getBannerVersionUrl())&&(o=b.getRelativeURL(o,!0,!0)),(n=document.createElement("img")).setAttribute("alt",T.PCLogoAria),n.setAttribute("src",o),e.append(n),T.PCLogoAria)&&I(e).attr(this._ariaLabel,T.PCLogoAria),y.insertFooterLogo(t(".ot-pc-footer-logo a"))},s.prototype.configureLinkFields=function(e){var t;T.AboutText&&I(e(S.P_Policy_Txt)).html(I(e(S.P_Policy_Txt)).html()+'\n <br/><a href="'+T.AboutLink+'" class="privacy-notice-link" rel="noopener" target="_blank"\n aria-label="'+T.PCCookiePolicyLinkScreenReader+'">'+T.AboutText+"</a>"),T.PCenterImprintLinkText&&(T.AboutText||e(S.P_Policy_Txt).insertAdjacentHTML("beforeend","<br/>"),(t=document.createElement("a")).classList.add("ot-link-btn","ot-imprint-handler"),t.textContent=T.PCenterImprintLinkText,t.setAttribute(this._ariaLabel,T.PCenterImprintLinkScreenReader),t.setAttribute("href",T.PCenterImprintLinkUrl),e(S.P_Policy_Txt).appendChild(t)),T.PCenterVendorListLinkText&&(t=!T.IsIabEnabled&&A.showGeneralVendors?"ot-gv-list-handler":"onetrust-vendors-list-handler",e(S.P_Policy_Txt).insertAdjacentHTML("beforeend",'<button class="ot-link-btn '+t+'" aria-label="'+T.PCenterVendorListLinkAriaLabel+'">\n '+T.PCenterVendorListLinkText+"\n </button>"))},s.prototype.configureSubjectDataFields=function(e){var t;T.PCTemplateUpgrade&&T.PCenterUserIdTitleText&&T.IsConsentLoggingEnabled&&(t=v.readCookieParam(m.OPTANON_CONSENT,He),e(S.P_Policy_Txt).insertAdjacentHTML("beforeend",'<div class="ot-userid-title"><span>'+T.PCenterUserIdTitleText+": </span> "+t+"</div>"),T.PCenterUserIdDescriptionText&&e(S.P_Policy_Txt).insertAdjacentHTML("beforeend",'<div class="ot-userid-desc">'+T.PCenterUserIdDescriptionText+"</div>"),T.PCenterUserIdTimestampTitleText)&&(t=(t=v.getCookie(m.ALERT_BOX_CLOSED))&&y.getUTCFormattedDate(t)||T.PCenterUserIdNotYetConsentedText,e(S.P_Policy_Txt).insertAdjacentHTML("beforeend",'<div class="ot-userid-timestamp"><span>'+T.PCenterUserIdTimestampTitleText+": </span> "+t+"</div>"))},s.prototype.setManagePreferenceText=function(e){var e=e(S.P_Manage_Cookies_Txt),t=I(e);e&&(t.html(T.ManagePreferenceText),T.ManagePreferenceText||t.attr(this._ariaHidden,!0))},s.prototype.configureButtons=function(e,t){T.ConfirmText.trim()?I(e("#accept-recommended-btn-handler")).html(T.ConfirmText):e("#accept-recommended-btn-handler").parentElement.removeChild(e("#accept-recommended-btn-handler"));for(var o=t(".save-preference-btn-handler"),n=0;n<o.length;n++)I(o[n]).html(T.AllowAllText);var r=t(".ot-pc-refuse-all-handler");if(T.PCenterShowRejectAllButton&&T.PCenterRejectAllButtonText.trim())for(n=0;n<r.length;n++)I(r[n]).html(T.PCenterRejectAllButtonText);else b.removeChild(r)},s.prototype.removeListsWhenAppropriate=function(e){var t;T.IsIabEnabled||(t=e(S.P_Vendor_Container))&&t.parentElement.removeChild(t),T.showCookieList||A.showGeneralVendors||(t=e(S.P_Host_Cntr))&&t.parentElement.removeChild(t)},s.prototype.setParentGroupName=function(e,t,o,n){var r=e.querySelector(".category-header,.ot-cat-header,.category-menu-switch-handler>h3");I(r).html(t),I(r).attr("id",o),P.pcName===g&&(e.querySelector(S.P_Category_Header).innerHTML=t,e.querySelector(""+S.P_Desc_Container).setAttribute("id",n),e.querySelector(".category-menu-switch-handler").setAttribute("aria-controls",n))},s.prototype.setLegIntButton=function(e,t,o,n){void 0===o&&(o=!1);var r=!0,r=(-1<A.vendors.selectedLegInt.indexOf(t.IabGrpId+":false")&&(r=!1),p.generateLegIntButtonElements(r,t.OptanonGroupId)),t=(o?n.insertAdjacentHTML("afterend",r):e.insertAdjacentHTML("beforeend",r),e.querySelector(".ot-remove-objection-handler"));t&&d(t,t.getAttribute("data-style"))},s.prototype.setParentGroupDescription=function(e,t,o,n,r){var i=E.safeFormattedGroupDescription(t),s=e.querySelector("p:not(.ot-always-active)"),a=e.querySelector(S.P_Acc_Grp_Desc),s=s||a;return-1<xt.indexOf(t.Type)&&o.PCGrpDescType===re.Legal?i=t.DescriptionLegal:s.classList.add("ot-category-desc"),P.legIntSettings.PAllowLI&&!P.legIntSettings.PShowLegIntBtn&&(t.SubGroups.some(function(e){return e.HasLegIntOptOut})||t.HasLegIntOptOut?s.parentElement.classList.add("ot-leg-border-color"):b.removeChild(e.querySelector(S.P_Li_Hdr))),P.pcName!==g&&s.setAttribute("id",n),I(s).html(i),t.Type===f.GroupTypes.Stack&&b.removeChild(s),s},s.prototype.cloneOtHtmlEls=function(e){var t=/otPcPanel|otPcCenter/;L.toggleEl=I(e(".ot-tgl")).el.cloneNode(!0),L.arrowEl=I(e('#onetrust-pc-sdk [role="alertdialog"] > '+S.P_Arrw_Cntr)).el.cloneNode(!0),L.subGrpEl=I(e(S.P_Sub_Grp_Cntr)).el.cloneNode(!0),L.vListEl=I(e(S.P_Ven_Lst_Cntr)).el.cloneNode(!0),L.cListEl=I(e(S.P_Host_Lst_cntr)).el.cloneNode(!0),L.chkboxEl=I(e(S.P_CBx_Cntr)).el.cloneNode(!0),L.accordionEl=I(e(".ot-acc-cntr")).el.cloneNode(!0),t.test(P.pcName)&&(L.plusMinusEl=I(e(".ot-plus-minus")).el.cloneNode(!0)),b.removeChild(e(".ot-tgl")),b.removeChild(e('#onetrust-pc-sdk [role="alertdialog"] > '+S.P_Arrw_Cntr)),b.removeChild(e(S.P_Sub_Grp_Cntr)),b.removeChild(e(S.P_Ven_Lst_Cntr)),b.removeChild(e(S.P_Host_Lst_cntr)),b.removeChild(e(S.P_CBx_Cntr)),b.removeChild(e(".ot-acc-cntr")),t.test(P.pcName)&&b.removeChild(e(".ot-plus-minus"))},s.prototype.insertSelectAllEls=function(e){var e=e(S.P_Select_Cntr+" .ot-sel-all-chkbox"),t=A.showVendorService?fn():L.chkboxEl.cloneNode(!0),t=(t.id=S.P_Sel_All_Host_El,t.querySelector("input").id="select-all-hosts-groups-handler",t.querySelector("label").setAttribute("for","select-all-hosts-groups-handler"),I(e).append(t),A.showVendorService?fn():L.chkboxEl.cloneNode(!0)),t=(t.id=S.P_Sel_All_Vendor_Consent_El,t.querySelector("input").id="select-all-vendor-groups-handler",t.querySelector("label").setAttribute("for","select-all-vendor-groups-handler"),I(e).append(t),A.showVendorService?fn():L.chkboxEl.cloneNode(!0));t.id=S.P_Sel_All_Vendor_Leg_El,t.querySelector("input").id="select-all-vendor-leg-handler",t.querySelector("label").setAttribute("for","select-all-vendor-leg-handler"),I(e).append(t)},s.prototype.initializePreferenceCenterGroups=function(e,t){var o,n=P.pcName,r=(k.isV2Template&&(O.cloneOtHtmlEls(e),(r=L.chkboxEl.cloneNode(!0)).querySelector("input").classList.add("category-filter-handler"),I(e(S.P_Fltr_Modal+" "+S.P_Fltr_Option)).append(r),O.insertSelectAllEls(e)),I(e("#onetrust-pc-sdk "+S.P_Category_Grp))),i=(n===yt||n===kt||n===ft?T.PCenterEnableAccordion?b.removeChild(r.el.querySelector(S.P_Category_Item+":not(.ot-accordion-layout)")):b.removeChild(r.el.querySelector(S.P_Category_Item+".ot-accordion-layout")):n===g&&(T.PCenterEnableAccordion=!1),e("#onetrust-pc-sdk "+S.P_Category_Item)),s=k.isV2Template?L.subGrpEl.cloneNode(!0):I(e(S.P_Sub_Grp_Cntr)),a=k.isV2Template?null:I(e(S.P_Acc_Container+" "+S.P_Sub_Grp_Cntr));T.PCTemplateUpgrade&&/otPcTab/.test(n)&&(o=e(".ot-abt-tab").cloneNode(!0),b.removeChild(e(".ot-abt-tab"))),r.el.removeChild(i),O.setVendorListClass(e,i),O.setPCHeader(e,i),O.createHtmlForEachGroup({fm:e,fragment:t,categoryGroupTemplate:i,cookiePreferencesContainer:r,popupSubGrpContainer:a,subGrpContainer:s}),O.setPcTabLayout(e,t,o)},s.prototype.getActiveVendorCount=function(e){var t=parseInt(e.IabGrpId),o=0;return e.Type===f.GroupTypes.Pur?o=P.tcf2ActiveVendors.pur.get(t):e.Type===f.GroupTypes.Ft?o=P.tcf2ActiveVendors.ft.get(t):e.Type===f.GroupTypes.Spl_Pur?o=P.tcf2ActiveVendors.spl_pur.get(t):e.Type===f.GroupTypes.Spl_Ft&&(o=P.tcf2ActiveVendors.spl_ft.get(t)),o||0},s.prototype.getVendorCountEl=function(e){var t="[VENDOR_NUMBER]";return T.PCVendorsCountText&&-1<T.PCVendorsCountText.indexOf(t)?'<span class="ot-pur-vdr-count"> '+T.PCVendorsCountText.replace(t,e.toString())+" </span>":""},s.prototype.createHtmlForEachGroup=function(e){var t=e.fm,o=e.fragment,n=e.categoryGroupTemplate,r=e.cookiePreferencesContainer,i=e.popupSubGrpContainer,s=e.subGrpContainer,e=T.Groups.filter(function(e){return e.Order}),a=0===r.el.children.length;T.PCTemplateUpgrade&&(A.showVendorService?V.setHtmlTemplate(t('#onetrust-pc-sdk div[role="alertdialog"]')):V.removeVSUITemplate(t('#onetrust-pc-sdk div[role="alertdialog"]')));for(var l=0,c=e;l<c.length;l++){var d=c[l],p=d.GroupName,u=d.CustomGroupId,g=(P.isTcfV2Template&&d.IsIabPurpose&&d.Type!==f.GroupTypes.Stack&&(g=this.getActiveVendorCount(d),p+=this.getVendorCountEl(g)),n.cloneNode(!0)),h="ot-group-id-"+u,C="ot-header-id-"+u,y="ot-desc-id-"+u,u=((g=I(g).el).setAttribute("data-optanongroupid",u),g.querySelector("input,button")),u=(u&&(u.setAttribute("aria-controls",y),u.setAttribute("aria-labelledby",C)),O.setParentGroupName(g,p,C,y),O.setPopupData(d,g),O.setParentGroupDescription(g,d,T,y,h)),p=(k.isV2Template?O.setToggle(g,u,d,h,C):O.setToggleProps(g,u,d,h,C),!!t("#onetrust-pc-sdk "+S.P_Category_Grp).querySelector(S.P_Category_Item)),y=(y=r.el.querySelectorAll(S.P_Category_Item+":not(.ot-vnd-item)"))[y.length-1],h=(a?r.append(g):p?jt.insertAfter(g,y):jt.insertAfter(g,r.el.querySelector(S.P_Li_Hdr)||r.el.querySelector("h3")),O.setSubGroupData(d,g,i,s),T.PCGrpDescLinkPosition===ie.Top),C=(d.Type===f.GroupTypes.Stack&&h&&(u=g.querySelector(S.P_Sub_Grp_Cntr)),h?u:null);O.setVendorListBtn(g,t,o,d,C,T),O.setHostListBtn(g,t,o,d),O.setVendorServiceData(d,g),A.dataGroupState.push(d)}},s.prototype.setPopupData=function(e,t){P.pcName===mt&&(e.ShowVendorList&&P.isIab2orv2Template?(b.removeChild(t.querySelector("p:not(.ot-always-active)")),b.removeChild(t.querySelector(S.P_Acc_Txt+":not("+S.P_Acc_Container+")")),e.SubGroups.length||k.isV2Template||b.removeChild(t.querySelector(S.P_Sub_Grp_Cntr))):b.removeChild(t.querySelector(S.P_Acc_Container)))},s.prototype.setVendorServiceData=function(e,t){var o,n=P.pcName;A.showVendorService&&T.VendorServiceConfig.PCVSCategoryView&&(o=S.P_Acc_Txt,n===g&&(o=S.P_Desc_Container),n=t.querySelector(o),T.PCAccordionStyle===ce.NoAccordion&&(n=t),V.insertVendorServiceHtml(e,n))},s.prototype.jsonAddAboutCookies=function(e){var t={};return t.GroupName=e.AboutCookiesText,t.GroupDescription=e.MainInfoText,t.ShowInPopup=!0,t.Order=0,t.IsAboutGroup=!0,t},s.prototype.setVendorListBtn=function(e,t,o,n,r,i){var s,a,l=P.pcName;n.ShowVendorList?(s=a=void 0,k.isV2Template?a=(s=L.vListEl.cloneNode(!0)).querySelector(".category-vendors-list-handler"):s=(a=e.querySelector(".category-vendors-list-handler")).parentElement,a.innerHTML=i.VendorListText+"‎",a.setAttribute(this._ariaLabel,T.PCOpensVendorDetailsAlert),a.setAttribute("data-parent-id",n.CustomGroupId),i.PCGrpDescType===re.UserFriendly&&(a.insertAdjacentHTML("afterend","<span class='ot-ext-lnk'></span>"),a.insertAdjacentHTML("afterend","<a href='"+T.IabLegalTextUrl+"?lang="+A.consentLanguage+"' rel=\"noopener\" target='_blank'> | "+i.PCVendorFullLegalText+' <span class="ot-scrn-rdr">'+T.NewWinTxt+"</span></a>")),k.isV2Template&&(n=e,l===g?n=e.querySelector(""+S.P_Desc_Container):i.PCenterEnableAccordion&&(n=e.querySelector(S.P_Acc_Txt)),n.insertAdjacentElement("beforeend",s)),r&&r.insertAdjacentElement("beforebegin",s)):k.isV2Template||(l!==kt&&l!==yt||i.PCenterEnableAccordion?(l===mt||l===kt||l===yt&&i.PCenterEnableAccordion)&&(a=t("#vendor-list-container"),n=e.querySelector(S.P_Acc_Txt),a&&o.querySelector(""+S.P_Content).removeChild(a),k.isV2Template||I(n).el.removeChild(n.querySelector(S.P_Ven_Lst_Cntr))):b.removeChild(e.querySelector(S.P_Ven_Lst_Cntr)),l!==g&&l!==ft)||(r=e.querySelector(S.P_Ven_Lst_Cntr))&&r.parentElement.removeChild(r)},s.prototype.setHostListBtn=function(e,t,o,n){var r,i=P.pcName,s=!1,a=(T.showCookieList&&(s=-1<b.findIndex(M(n.SubGroups,[n]),function(e){return-1===Ot.indexOf(e.Type)&&e.FirstPartyCookies.length})),A.showGeneralVendors&&n.GeneralVendorsIds&&n.GeneralVendorsIds.length);!A.showVendorService&&(T.showCookieList||A.showGeneralVendors)&&(n.ShowHostList||s||a)?(s=void 0,k.isV2Template?(s=(a=L.cListEl.cloneNode(!0)).querySelector(".category-host-list-handler"),r=e,i===g?r=e.querySelector(""+S.P_Desc_Container):T.PCenterEnableAccordion&&(r=e.querySelector(S.P_Acc_Txt)),r.insertAdjacentElement("beforeend",a)):s=e.querySelector(".category-host-list-handler"),O.setcListHandler(s,n)):O.setHostListVendorList(t,o,e)},s.prototype.setcListHandler=function(e,t){var o,n;e&&(o=(n=O.setcListHeaderTitleAndScreenReader())[0],n=n[1],e.innerHTML=o+"‎",e.setAttribute(this._ariaLabel,n),e.setAttribute("data-parent-id",t.CustomGroupId))},s.prototype.setcListHeaderTitleAndScreenReader=function(){var e,t=A.showTrackingTech?(e=T.AdditionalTechnologiesConfig.PCTechDetailsText,T.AdditionalTechnologiesConfig.PCTechDetailsAriaLabel):A.showGeneralVendors?(e=T.GroupGenVenListLabel,T.PCenterVendorListScreenReader):(e=T.ThirdPartyCookieListText,T.PCOpensCookiesDetailsAlert);return[e,t]},s.prototype.setHostListVendorList=function(e,t,o){var n;P.pcName===mt?(e=e("#vendor-list-container"),n=o.querySelector(S.P_Acc_Txt),e&&t.querySelector(""+S.P_Content).removeChild(e),n.querySelector(S.P_Host_Lst_cntr)&&I(n).el.removeChild(n.querySelector(S.P_Host_Lst_cntr))):(t=o.querySelector(S.P_Host_Lst_cntr))&&t.parentElement.removeChild(t)},s.prototype.setSubGroupData=function(e,t,o,n){var r;0<e.SubGroups.length&&e.ShowSubgroup&&(r=P.pcName===mt&&e.ShowVendorList&&P.isIab2orv2Template&&!T.PCTemplateUpgrade,O.setSubGrps(e,r?o:n,t,T))},s.prototype.setSubGrps=function(t,o,n,r){var e;P.pcName===mt&&t.ShowVendorList&&P.isIab2orv2Template&&!T.PCTemplateUpgrade&&(e=n.querySelector(S.P_Sub_Grp_Cntr)).parentElement.removeChild(e),t.SubGroups.forEach(function(e){O.setSubGroups({group:t,subgroup:e,grpEl:n,subGrpEl:o,json:r})})},s.prototype.setSubGroups=function(e){var t,o,n=e.group,r=e.subgroup,i=e.grpEl,s=e.subGrpEl,e=e.json,a=P.pcName,s=(P.isIab2orv2Template&&r.Type===f.GroupTypes.Pur&&!r.HasConsentOptOut&&(t=!0),(k.isV2Template?s:s.el).cloneNode(!0)),l=s.querySelector(S.P_Subgp_ul),c=s.querySelector(S.P_Subgrp_li).cloneNode(!0),d=r.CustomGroupId,p="ot-sub-group-id-"+d,u=C.getGrpStatus(r).toLowerCase(),g=c.querySelector(".cookie-subgroup>h4, .cookie-subgroup>h5, .cookie-subgroup>h6, .ot-subgrp>h4, .ot-subgrp>h5, .ot-subgrp>h6"),h=c.querySelector(S.P_Tgl_Cntr),g=(c.setAttribute("data-optanongroupid",d),k.isV2Template?((o=O.getInputEle()).querySelector("input").setAttribute("data-optanongroupid",d),o.querySelector("input").classList.add("cookie-subgroup-handler"),o=o.cloneNode(!0),h.insertAdjacentElement("beforeend",o)):(o=c.querySelector(".ot-toggle")).querySelector("input").setAttribute("data-optanongroupid",d),I(s.querySelector(S.P_Subgp_ul)).html(""),I(g).html(r.GroupName),A.showVendorService&&((d=document.createElement("div")).classList.add("ot-acc-hdr"),g.classList.add("ot-cat-header"),d.appendChild(g),g="afterbegin",T.PCCategoryStyle===ve.Toggle&&(g="beforeend"),d.insertAdjacentElement(g,o),c.removeChild(c.querySelector(S.P_Subgrp_Tgl_Cntr)),c.insertAdjacentElement("afterbegin",d)),o.querySelector("input").setAttribute("id",p),o.querySelector("input").setAttribute(this._ariaLabel,r.GroupName),o.querySelector("label").setAttribute("for",p),O.setSubGroupDescription({json:e,group:n,subgroup:r,subGroupClone:c}),M(wt,Bt));n.ShowSubgroupToggle&&-1<g.indexOf(r.Type)?O.setSubGroupToggle({id:p,subGroupClone:c,group:n,subgroup:r,toggleGroup:h}):u===Qe&&(n.ShowSubgroupToggle||-1===Gt.indexOf(r.Type))||(t=!0),O.setSubGroupsProperties({removeConsentToggle:t,subGroupToggle:o,subGroupClone:c,status:u,subgroup:r,grpEl:i,pcName:a,json:e,subGrpElClone:s,ulParentContainerEle:l})},s.prototype.setSubGroupDescription=function(e){var t,o=e.json,n=e.group,r=e.subgroup,e=e.subGroupClone,i=P.pcName,s=o.PCGrpDescType===re.Legal,i=i===mt&&n.ShowVendorList&&P.isIab2orv2Template,a=I(e.querySelector(S.P_Subgrp_Desc));i?(t=r.DescriptionLegal&&s?r.DescriptionLegal:r.GroupDescription,a.html(t)):(t=E.safeFormattedGroupDescription(r),i=!1,-1<xt.indexOf(r.Type)&&s&&(i=!0,t=r.DescriptionLegal),o.PCenterEnableAccordion&&i||(a=I(e.querySelector("p"))),n.ShowSubGroupDescription?a.html(t):a.html(""))},s.prototype.setSubGroupToggle=function(e){var t=e.id,o=e.subGroupClone,n=e.group,r=e.subgroup,e=e.toggleGroup,i=E.isGroupActive(r),n=(O.setSubGroupActive({group:n,subgroup:r,subGroupClone:o},i),e.querySelector(".ot-label-status"));T.PCShowConsentLabels?n.innerHTML=i?T.PCActiveText:T.PCInactiveText:b.removeChild(n),P.legIntSettings.PAllowLI&&r.Type===f.GroupTypes.Pur&&r.HasLegIntOptOut&&(P.legIntSettings.PShowLegIntBtn?O.setLegIntButton(o,r):(i=e.cloneNode(!0),e.insertAdjacentElement("afterend",i),n=i.querySelector(".ot-label-status"),(o=i.querySelector("input")).setAttribute("id",t+"-leg-out"),i.querySelector("label").setAttribute("for",t+"-leg-out"),r.IsLegIntToggle=!0,e=E.isGroupActive(r),T.PCShowConsentLabels?n.innerHTML=e?T.PCActiveText:T.PCInactiveText:b.removeChild(n),b.setCheckedAttribute(null,o,e),r.IsLegIntToggle=!1))},s.prototype.setSubGroupActive=function(e,t){var o;t&&(t=e.group,o=e.subgroup,e=e.subGroupClone,t=C.getGrpStatus(t).toLowerCase(),e.querySelector("input").setAttribute("checked",""),t===Qe)&&-1===xt.indexOf(o.Type)&&(e.querySelector("input").disabled=!0,e.querySelector("input").setAttribute("disabled","true"))},s.prototype.setSubGroupsProperties=function(e){var t=e.removeConsentToggle,o=e.subGroupToggle,n=e.subGroupClone,r=e.status,i=e.subgroup,s=e.grpEl,a=e.pcName,l=e.json,c=e.subGrpElClone,e=e.ulParentContainerEle;t&&(o.classList.add("ot-hide-tgl"),o.querySelector("input").setAttribute(this._ariaHidden,"true")),r!==Qe||t||(o&&o.parentElement.removeChild(o),(r=n.querySelector(S.P_Tgl_Cntr))&&r.classList.add("ot-always-active-subgroup"),O.setAlwaysActive(n,!0)),"COOKIE"===i.Type&&-1!==i.Parent.indexOf("STACK")&&d(c,"display: none;"),I(e).append(n),k.isV2Template?(t=s,"otPcTab"===a?t=s.querySelector(""+S.P_Desc_Container):l.PCenterEnableAccordion&&(t=s.querySelector(S.P_Acc_Txt)),t.insertAdjacentElement("beforeend",c)):(o=s.querySelector(S.P_Category_Item+" "+S.P_Ven_Lst_Cntr))&&o.insertAdjacentElement("beforebegin",c),A.showVendorService&&T.VendorServiceConfig.PCVSCategoryView&&V.insertVendorServiceHtml(i,e)},s.prototype.getInputEleForCategory=function(e){return A.showVendorService&&T.PCCategoryStyle===ve.Checkbox&&e.classList.add("ot-checkbox-consent"),O.getInputEle()},s.prototype.getInputEle=function(){return!P.isIab2orv2Template&&T.PCTemplateUpgrade?fn():L.toggleEl.cloneNode(!0)},s.prototype.setToggle=function(e,t,o,n,r){var i=O.getInputEleForCategory(e),s=(i.querySelector("input").classList.add("category-switch-handler"),i.querySelector("input")),a=e.querySelector(S.P_Category_Header),l=E.isGroupActive(o),c=C.getGrpStatus(o).toLowerCase()===Qe,d=o.OptanonGroupId.toString(),p=f.GroupTypes,u=!0;!P.isIab2orv2Template||o.Type!==p.Pur&&o.Type!==p.Stack||o.HasConsentOptOut||(u=!1),I(i.querySelector("label")).attr("for",n),I(i.querySelector(".ot-label-txt")).html(o.GroupName),I(i.querySelector(".ot-switch-nob")).attr("aria-label",o.GroupName);P.legIntSettings.PAllowLI&&o.Type===p.Pur&&o.HasLegIntOptOut&&(P.legIntSettings.PShowLegIntBtn?O.setLegIntButton(e,o,!0,t):(p=i.cloneNode(!0),o.IsLegIntToggle=!0,t=E.isGroupActive(o),g=p.querySelector(".ot-label-status"),T.PCShowConsentLabels?g.innerHTML=t?T.PCActiveText:T.PCInactiveText:b.removeChild(g),o.IsLegIntToggle=!1,E.setInputID(p.querySelector("input"),n+"-leg-out",d,t,r),I(p.querySelector("label")).attr("for",n+"-leg-out"),a.insertAdjacentElement("afterend",p)));var g=i.querySelector(".ot-label-status"),d=(T.PCShowConsentLabels?g.innerHTML=l?T.PCActiveText:T.PCInactiveText:b.removeChild(g),T.PCCategoryStyle===ve.Toggle);this.hideToggleContainer(c,u,d,i),u&&this.setAlwaysActiveOrToggleInput(o,e,i,s,n,r),O.setNoAccordionHeader(e,c)},s.prototype.setNoAccordionHeader=function(e,t){var o,n,r,i;!P.isIab2orv2Template&&T.PCTemplateUpgrade&&(o=T.PCCategoryStyle===ve.Checkbox,T.PCAccordionStyle===ce.NoAccordion)&&o&&((o=document.createElement("div")).classList.add("ot-acc-hdr"),n=e.querySelector(".ot-chkbox"),r=e.querySelector(".ot-always-active"),i=e.querySelector(S.P_Category_Header),n&&o.appendChild(n),o.appendChild(i),t&&o.appendChild(r),e.insertBefore(o,e.firstChild))},s.prototype.hideToggleContainer=function(e,t,o,n){!e&&t||!o||(n.classList.add("ot-hide-tgl"),n.querySelector("input").setAttribute(this._ariaHidden,"true"))},s.prototype.setAlwaysActiveOrToggleInput=function(e,t,o,n,r,i){var s="always active"===C.getGrpStatus(e).toLowerCase(),a=T.PCCategoryStyle===ve.Toggle,l=e.OptanonGroupId.toString(),e=E.isGroupActive(e),c=t.querySelector(S.P_Category_Header);!P.isIab2orv2Template&&T.PCTemplateUpgrade?(s&&T.PCShowAlwaysActiveToggle&&(O.setAlwaysActive(t),o.querySelector("input").setAttribute("disabled","true")),s&&a||O.insertAccordionInputHeader(c,o),E.setInputID(n,r,l,e,i),O.insertAccordionPointer(t,c)):(O.insertAccordionPointer(t,c),s?T.PCShowAlwaysActiveToggle&&O.setAlwaysActive(t):(O.insertAccordionInputHeader(c,o),E.setInputID(n,r,l,e,i)))},s.prototype.setOptOutSignalVisibility=function(e){var t=!0===navigator.globalPrivacyControl&&P.gpcForAGrpEnabled,o=p.isAlertBoxClosedAndValid()&&E.isAnyGroupOptedOut();T.PCShowOptOutSignal&&(t||o||P.previewMode)?e.classList.remove("ot-hide"):e.classList.add("ot-hide")},s.prototype.setOptOutSignalNotification=function(e){e=y.createOptOutSignalElement(e,!0);O.setOptOutSignalVisibility(e)},s.prototype.insertAccordionInputHeader=function(e,t){var o=O.getPositionForInputEle();e.insertAdjacentElement(o,t)},s.prototype.getPositionForInputEle=function(){var e="beforebegin";return e=!P.isIab2orv2Template&&T.PCTemplateUpgrade&&T.PCCategoryStyle!==ve.Toggle?e:"afterend"},s.prototype.insertAccordionPointer=function(e,t){var o,n;e.classList.add("ot-vs-config"),T.PCenterEnableAccordion&&(!P.isIab2orv2Template&&T.PCTemplateUpgrade?(e=e.querySelector(S.P_Acc_Header),o=n=void 0,n=(T.PCAccordionStyle===ce.Caret?(o="beforeend",L.arrowEl):(o=T.PCCategoryStyle===ve.Checkbox?"beforeend":"afterbegin",L.plusMinusEl)).cloneNode(!0),e.insertAdjacentElement(o,n)):T.PCAccordionStyle===ce.Caret?t.insertAdjacentElement("afterend",L.arrowEl.cloneNode(!0)):t.insertAdjacentElement("beforebegin",L.plusMinusEl.cloneNode(!0)))},s.prototype.setToggleProps=function(e,t,o,n,r){var i=e.querySelectorAll("input:not(.cookie-subgroup-handler)"),s=e.querySelectorAll("label"),a=E.isGroupActive(o),l=o.CustomGroupId,c=e.querySelector(".label-text");c&&I(c).html(o.GroupName);for(var d,p,u,g,h=0;h<i.length;h++)s[h]&&I(s[h]).attr("for",n),2<=i.length&&0===h?I(i[h]).attr("id",n+"-toggle"):(d=this.canShowConsentToggle(o),this.canShowLegIntToggle(o)&&(P.legIntSettings.PShowLegIntBtn?O.setLegIntButton(e,o,!0,t):(p=(u=e.querySelector(S.P_Tgl_Cntr+":not("+S.P_Subgrp_Tgl_Cntr+")")||e.querySelector(".ot-toggle")).cloneNode(!0),u.insertAdjacentElement("afterend",p),u=p.querySelector("input"),o.IsLegIntToggle=!0,g=E.isGroupActive(o),o.IsLegIntToggle=!1,E.setInputID(u,n+"-leg-out",l,g,r),I(p.querySelector("label")).attr("for",n+"-leg-out"),b.removeChild(p.querySelector(S.P_Arrw_Cntr)))),!(u=C.getGrpStatus(o).toLowerCase()===Qe)&&d||(g=i[h].closest(".ot-toggle"))&&(g.classList.add("ot-hide-tgl"),g.querySelector("input").setAttribute(this._ariaHidden,!0)),d&&(u&&O.setAlwaysActive(e),E.setInputID(i[h],n,l,a,r)))},s.prototype.canShowConsentToggle=function(e){var t=!0,o=f.GroupTypes;return t=!P.isIab2orv2Template||e.Type!==o.Pur&&e.Type!==o.Stack||e.HasConsentOptOut?t:!1},s.prototype.canShowLegIntToggle=function(e){var t=f.GroupTypes;return P.legIntSettings.PAllowLI&&e.Type===t.Pur&&e.HasLegIntOptOut},s.prototype.setAlwaysActive=function(e,t){void 0===t&&(t=!1);var o=P.pcName;o===mt||o===g||t?(o=e.querySelector(S.P_Tgl_Cntr))&&o.insertAdjacentElement("afterbegin",I("<div class='ot-always-active'>"+T.AlwaysActiveText+"</div>","ce").el):(t=e.querySelector(S.P_Category_Header),!k.isV2Template&&T.PCenterEnableAccordion&&(t=e.querySelector(S.P_Arrw_Cntr)),I(t).el.insertAdjacentElement("afterend",I("<div class='ot-always-active'>"+T.AlwaysActiveText+"</div>","ce").el)),T.PCenterEnableAccordion?(o=e.querySelector(S.P_Acc_Header))&&o.classList.add("ot-always-active-group"):((t=e.querySelector(""+S.P_Desc_Container))&&t.classList.add("ot-always-active-group"),e.classList.add("ot-always-active-group"))},s.prototype.setPcTabLayout=function(e,t,o){var n=e(".ot-tab-desc");"otPcTab"===P.pcName&&(o&&e("#onetrust-pc-sdk "+S.P_Category_Grp).insertAdjacentElement("afterbegin",o),n&&640<window.innerWidth&&I(n).append(t.querySelectorAll("#onetrust-pc-sdk "+S.P_Desc_Container)),T.IsIabEnabled?e(S.P_Desc_Container+" .category-vendors-list-handler").innerHTML=T.VendorListText+"‎":(o=e(S.P_Desc_Container+" .category-vendors-list-handler"))&&o.parentElement.removeChild(o))},s.prototype.setVendorListClass=function(e,t){k.isV2Template?T.PCAccordionStyle===ce.Caret&&(I(e("#onetrust-pc-sdk "+S.P_Vendor_List)).addClass("ot-enbl-chr"),T.PCenterEnableAccordion)&&I(e("#onetrust-pc-sdk "+S.P_Content)).addClass("ot-enbl-chr"):I(t.querySelector(S.P_Sub_Grp_Cntr)).remove()},s.prototype.setPCHeader=function(e,t){var o=P.pcName,n=e(S.P_Li_Hdr)||t.querySelector(S.P_Li_Hdr);P.legIntSettings.PAllowLI&&P.grpContainLegalOptOut&&P.isIab2orv2Template&&!P.legIntSettings.PShowLegIntBtn?(n.querySelector("span:first-child").innerText=T.ConsentText,n.querySelector("span:last-child").innerText=T.LegitInterestText,k.isV2Template&&(n.querySelector("span:first-child").innerText=T.PCenterConsentText,n.querySelector("span:last-child").innerText=T.PCenterLegIntColumnHeader),T.PCenterEnableAccordion&&n?n.classList.add("ot-leg-border-color"):"otPcList"===o&&t.insertAdjacentElement("afterbegin",n)):(b.removeChild(e("#onetrust-pc-sdk "+S.P_Li_Hdr)),b.removeChild(t.querySelector(S.P_Li_Hdr)))},s);function s(){this._ariaHidden="aria-hidden",this._ariaLabel="aria-label"}An.prototype.updateGtmMacros=function(e){void 0===e&&(e=!0);var n=[];A.groupsConsent.forEach(function(e){var t=e.replace(":1",""),o=C.getGrpStatus(C.getGroupById(t)).toLowerCase()===Qe;b.endsWith(e,":1")&&(_.canSoftOptInInsertForGroup(t)||o)&&n.push(t)}),A.hostsConsent.forEach(function(e){b.endsWith(e,":1")&&n.push(e.replace(":1",""))}),A.showGeneralVendors&&T.GenVenOptOut&&T.GeneralVendors.forEach(function(e){!A.genVendorsConsent[e.VendorCustomId]||A.softOptInGenVendors.includes(e.VendorCustomId)&&Po.isLandingPage()||n.push(e.VendorCustomId)});A.vsIsActiveAndOptOut&&A.getVendorsInDomain().forEach(function(e){A.vsConsent.get(e.CustomVendorServiceId)&&n.push(e.CustomVendorServiceId)});var t=","+b.arrToStr(n)+",";T.GoogleConsent.GCEnable&&!P.otDataLayer.ignore&&this.updateGCMTags(n),window.OnetrustActiveGroups=t,window.OptanonActiveGroups=t,P.gcmUpdateCallback&&P.gcmUpdateCallback(),P.otDataLayer.ignore||void 0===this._window[P.otDataLayer.name]||this._window[P.otDataLayer.name].constructor!==Array?!P.otDataLayer.ignore&&P.otDataLayer.name&&(this._window[P.otDataLayer.name]=[{event:"OneTrustLoaded",OnetrustActiveGroups:t},{event:"OptanonLoaded",OptanonActiveGroups:t}]):(this._window[P.otDataLayer.name].push({event:"OneTrustLoaded",OnetrustActiveGroups:t}),this._window[P.otDataLayer.name].push({event:"OptanonLoaded",OptanonActiveGroups:t})),this.dispatchEvents(e,n,t)},An.prototype.dispatchEvents=function(e,t,o){!e&&P.gtmUpdatedinStub||(n=new CustomEvent("consent.onetrust",{detail:t}));var n,r,i=v.readCookieParam(m.OPTANON_CONSENT,"groups"),s=A.fireOnetrustGrp||!i||e||!P.gtmUpdatedinStub;s&&(A.fireOnetrustGrp=!1,!P.otDataLayer.ignore&&this._window[P.otDataLayer.name]&&this._window[P.otDataLayer.name].constructor===Array&&this._window[P.otDataLayer.name].push({event:"OneTrustGroupsUpdated",OnetrustActiveGroups:o}),r=new CustomEvent("OneTrustGroupsUpdated",{detail:t})),setTimeout(function(){n&&s&&window.dispatchEvent(n),r&&window.dispatchEvent(r)})},An.prototype.updateGCMTags=function(e){var n,t={},e=(this.canUpdateGCMCategories()&&(T.GoogleConsent.GCAdStorage!==St&&(o=e.includes(T.GoogleConsent.GCAdStorage)?Ie.granted:Ie.denied,t[Ae.ad_storage]=o),T.GoogleConsent.GCAnalyticsStorage!==St&&(o=e.includes(T.GoogleConsent.GCAnalyticsStorage)?Ie.granted:Ie.denied,t[Ae.analytics_storage]=o),T.GoogleConsent.GCFunctionalityStorage!==St&&(o=e.includes(T.GoogleConsent.GCFunctionalityStorage)?Ie.granted:Ie.denied,t[Ae.functionality_storage]=o),T.GoogleConsent.GCPersonalizationStorage!==St&&(o=e.includes(T.GoogleConsent.GCPersonalizationStorage)?Ie.granted:Ie.denied,t[Ae.personalization_storage]=o),T.GoogleConsent.GCSecurityStorage!==St)&&(o=e.includes(T.GoogleConsent.GCSecurityStorage)?Ie.granted:Ie.denied,t[Ae.security_storage]=o),v.getCookie(m.ALERT_BOX_CLOSED)),o=P.getRegionRule().Global;"function"!=typeof window.gtag&&(n=this._window,window.gtag=function(e,t,o){P.otDataLayer.ignore||(n[P.otDataLayer.name]?n[P.otDataLayer.name].push(arguments):n[P.otDataLayer.name]=[arguments])}),"function"==typeof window.gtag&&(P.gcmDevIdSet||(window.gtag(Pe.set,"developer_id.dYWJhMj",!0),P.gcmDevIdSet=!0),e)&&(o||(t[Ae.region]=P.gcmCountries),0!==Object.keys(t).length)&&window.gtag(Pe.consent,Te.update,t)},An.prototype.canUpdateGCMCategories=function(){return T.GoogleConsent.GCAdStorage!==St||T.GoogleConsent.GCAnalyticsStorage!==St||T.GoogleConsent.GCFunctionalityStorage!==St||T.GoogleConsent.GCPersonalizationStorage!==St||T.GoogleConsent.GCSecurityStorage!==St};var Pn,Tn=An;function An(){this._window=window}var In,Ln,_n="Banner",En="Preference Center",Vn="API",On="Close",Bn="Allow All",wn="Reject All",Gn="Confirm",xn="Confirm",Nn="Continue without Accepting",Dn=(Hn.prototype.BannerPushDownHandler=function(){this.checkIsBrowserIE11OrBelow()||(Ln.pushPageDown(mn),I(window).on("resize",function(){"none"!==I(mn).css("display")&&Ln.pushPageDown(mn)}))},Hn.prototype.checkIsBrowserIE11OrBelow=function(){var e=window.navigator.userAgent;return 0<e.indexOf("MSIE ")||0<e.indexOf("Trident/")},Hn.prototype.addOTCssPropertiesToBody=function(e,t){var o=Ln.getCssData(e,t);A.customerStyles.set(e,o),Ln.setStylesOnBody(t),e===In.PC&&Ln.setStylesOnHtml(t)},Hn.prototype.removeAddedOTCssStyles=function(e){void 0===e&&(e=In.Banner);var t=A.customerStyles.get(e);t?(Ln.setStylesOnBody(t.customerBodyCSS),Ln.setStylesOnHtml(t.customerHtmlCSS),A.customerStyles.delete(e)):0<A.customerStyles.size&&A.customerStyles.forEach(function(e,t){return Ln.removeAddedOTCssStyles(t)})},Hn.prototype.getCssData=function(e,t){var o,n,r=I("body").el[0],i=I("html").el[0],s={},a={},e=A.customerStyles.get(e),a=e?(o=e.scriptBodyCSS,n=e.customerBodyCSS,e=e.customerHtmlCSS,r.style.top!==o.top&&(n.top=r.style.top),r.style.position!==o.position&&(n.position=r.style.position),r.style.overflow!==o.overflow&&(n.overflow=r.style.overflow),i.style.overflow!==o.overflow&&(e.overflow=i.style.overflow),s=n,e):(s={top:r.style.top,position:r.style.position,overflow:r.style.overflow},{overflow:i.style.overflow});return{scriptBodyCSS:t,customerBodyCSS:s,customerHtmlCSS:a}},Hn.prototype.setStylesOnBody=function(e){var t=I("body").el[0];Ln.setStylesOnHtmlElement(t,e)},Hn.prototype.setStylesOnHtml=function(e){var t=I("html").el[0];Ln.setStylesOnHtmlElement(t,{overflow:e.overflow})},Hn.prototype.setStylesOnHtmlElement=function(e,t){for(var o="",n=0,r=Object.entries(t);n<r.length;n++){var i=r[n],s=i[0],i=i[1];i?o+=s+": "+i+";":e.style.removeProperty(s)}o&&d(e,o,!0)},Hn.prototype.pushPageDown=function(e){var t=I(e).height()+"px",e=(I(e).show().css("\n bottom: auto;\n position: absolute;\n top: -"+t+";\n "),A.isPCVisible?In.PC:In.Banner),t={position:"relative",top:t};A.isPCVisible&&(t.overflow="hidden"),Ln.addOTCssPropertiesToBody(e,t)},Hn);function Hn(){}(a=In=In||{}).Banner="Banner",a.PC="PC";qn.prototype.showConsentNotice=function(){var e,t,o;!T.NoBanner||T.ForceConsent?I(".onetrust-pc-dark-filter").removeClass("ot-hide"):I(".onetrust-pc-dark-filter").addClass("ot-hide"),I("#onetrust-pc-sdk").removeClass("ot-hide"),k.isV2Template&&this.closePCText(!0),P.pcName===kt&&(I("#onetrust-pc-sdk").el[0].classList.contains("ot-animated")||I("#onetrust-pc-sdk").addClass("ot-animated"),e=T.PreferenceCenterPosition,t=(o=T.useRTL)?"right":"left",o=o?"left":"right",I("#onetrust-pc-sdk").el[0].classList.contains("ot-slide-out-"+("right"===e?o:t))&&I("#onetrust-pc-sdk").removeClass("ot-slide-out-"+("right"===e?o:t)),I("#onetrust-pc-sdk").addClass("ot-slide-in-"+("right"===e?o:t))),E.setAllowAllButton(),cn.setPCFocus(cn.getPCElements()),T.NoBanner&&T.ScrollCloseBanner||this.pcHasScroll(),this.handleBodyStylesForBannerPushdown()},qn.prototype.hideConsentNoticeV2=function(){var e,t,o;0===I(this.ONETRUST_PC_SDK).length?this.setFocusOnPage():(k.isV2Template&&this.closePCText(),T.ForceConsent&&!y.isCookiePolicyPage(T.AlertNoticeText)&&!p.isAlertBoxClosedAndValid()&&T.ShowAlertNotice?I(""+this.ONETRUST_PC_DARK_FILTER).css("z-index: 2147483645;").show():I(""+this.ONETRUST_PC_DARK_FILTER).fadeOut(T.PCLayout.Panel?500:400),T.PCLayout.Panel&&(e=T.PreferenceCenterPosition,t=(o=T.useRTL)?"right":"left",o=o?"left":"right",I(""+this.ONETRUST_PC_SDK).removeClass("ot-slide-in-"+("right"===e?o:t)),I(""+this.ONETRUST_PC_SDK).addClass("ot-slide-out-"+("right"===e?o:t))),I(""+this.ONETRUST_PC_SDK).fadeOut(T.PCLayout.Panel?500:400),A.isPCVisible=!1,A.pcLayer=se.Banner,this.setFocus())},qn.prototype.setFocus=function(){var e;A.pcSource||p.isAlertBoxClosedAndValid()?A.pcSource?(A.pcSource.focus(),A.pcSource=null):T.BInitialFocus?y.resetFocusToBody():this.setFocusOnPage():(e=I("#onetrust-banner-sdk #onetrust-pc-btn-handler").el[0])&&e.focus()},qn.prototype.handleBodyStylesForBannerPushdown=function(){P.pcName===g&&P.pagePushedDown&&"top"===T.BannerPosition&&Ln.addOTCssPropertiesToBody(In.PC,{})},qn.prototype.setFocusOnPage=function(){var e=document.querySelectorAll('button, a, input, select, textarea, [tabindex]:not([tabindex="-1"])');A.isKeyboardUser&&e.length&&e[0].focus()},qn.prototype.closePCText=function(e){void 0===e&&(e=!1);var t=document.querySelector("#onetrust-pc-sdk span[aria-live]"),o=T.AboutCookiesText;t&&(t.innerText=e?"":o+(" "+T.pcDialogClose))},qn.prototype.pcHasScroll=function(){var e=I(S.P_Grp_Container).el[0]||I("#onetrust-pc-sdk "+S.P_Content).el[0];e.scrollHeight>e.clientHeight&&(this.bodyStyleChanged=!0,e=I("body"))&&e.length&&Ln.addOTCssPropertiesToBody(In.PC,{overflow:"hidden"})},qn.prototype.checkIfPcSdkContainerExist=function(){return!I("#onetrust-pc-sdk").length};var Fn,Rn=qn;function qn(){this.ONETRUST_PC_SDK="#onetrust-pc-sdk",this.ONETRUST_PC_DARK_FILTER=".onetrust-pc-dark-filter",this.bodyStyleChanged=!1}jn.prototype.init=function(){this.insertHtml(),this.insertCss(),this.showNty(),this.initHandler()},jn.prototype.getContent=function(){return R(this,void 0,void 0,function(){return q(this,function(e){return[2,Yt.getSyncNtfyContent().then(function(e){A.syncNtfyGrp={name:e.name,html:atob(e.html),css:e.css}})]})})},jn.prototype.insertHtml=function(){this.removeHtml();function e(e){return t.querySelector(e)}var t=document.createDocumentFragment(),o=document.createElement("div"),o=(I(o).html(A.syncNtfyGrp.html),o.querySelector(this.El)),n=(T.BannerRelativeFontSizesToggle&&I(o).addClass("otRelFont"),T.useRTL&&I(o).attr("dir","rtl"),I(t).append(o),T.NtfyConfig),n=(this.initHtml("Sync",n.Sync,e,t.querySelector(this.El)),n.ShowCS?I(e(".ot-pc-handler")).html(n.CSTxt):(I(o).addClass("ot-hide-csbtn"),e(".ot-sync-btncntr").parentElement.removeChild(e(".ot-sync-btncntr"))),document.createElement("div"));I(n).append(t),I("#onetrust-consent-sdk").append(n.firstChild)},jn.prototype.initHandler=function(){I(this.El+" .ot-sync-close-handler").on("click",function(){return Mn.close()})},jn.prototype.showNty=function(){var e=I(this.El);e.css("bottom: -300px;"),e.animate({bottom:"1em;"},1e3),setTimeout(function(){e.css("bottom: 1rem;")},1e3),e.focus()},jn.prototype.changeState=function(){setTimeout(function(){Mn.refreshState()},1500)},jn.prototype.refreshState=function(){function e(e){return t.querySelector(e)}var t=I(this.El).el[0],o=(t.classList.add("ot-nty-complete"),t.classList.remove("ot-nty-sync"),T.NtfyConfig);this.initHtml("Complete",o.Complete,e,t),o.ShowCS&&("LINK"===o.CSType&&I(e(".ot-pc-handler")).addClass("ot-pc-link"),I(".ot-sync-btncntr").show("inline-block"),this.alignContent(),I(window).on("resize",function(){return Mn.resizeEvent})),setTimeout(function(){Mn.close()},1e3*T.NtfyConfig.NtfyDuration)},jn.prototype.insertCss=function(){var e=document.getElementById("onetrust-style");e.innerHTML+=A.syncNtfyGrp.css,e.innerHTML+=this.addCustomStyles()},jn.prototype.addCustomStyles=function(){var e=T.NtfyConfig,t=e.Sync,o=e.Complete,n=e.CSButton,r=e.CSLink;return"\n #onetrust-consent-sdk #ot-sync-ntfy.ot-nty-sync {\n background-color: "+t.BgColor+";\n border: 1px solid "+t.BdrColor+";\n }\n #onetrust-consent-sdk #ot-sync-ntfy .ot-sync-refresh>g {\n fill: "+t.IconBgColor+";\n }\n #onetrust-consent-sdk #ot-sync-ntfy.ot-nty-sync #ot-sync-title {\n text-align: "+t.TitleAlign+";\n color: "+t.TitleColor+";\n }\n #onetrust-consent-sdk #ot-sync-ntfy.ot-nty-sync .ot-sync-desc {\n text-align: "+t.DescAlign+";\n color: "+t.DescColor+"; \n }\n #onetrust-consent-sdk #ot-sync-ntfy.ot-nty-complete {\n background-color: "+o.BgColor+";\n border: 1px solid "+o.BdrColor+";\n }\n #onetrust-consent-sdk #ot-sync-ntfy .ot-sync-check>g {\n fill: "+o.IconBgColor+";\n }\n #onetrust-consent-sdk #ot-sync-ntfy.ot-nty-complete #ot-sync-title {\n text-align: "+o.TitleAlign+";\n color: "+o.TitleColor+";\n }\n #onetrust-consent-sdk #ot-sync-ntfy.ot-nty-complete .ot-sync-desc {\n text-align: "+o.DescAlign+";\n color: "+o.DescColor+"; \n }\n "+("BUTTON"===e.CSType?"\n #onetrust-consent-sdk #ot-sync-ntfy .ot-pc-handler {\n background-color: "+n.BgColor+";\n border: 1px solid "+n.BdrColor+";\n color: "+n.Color+";\n text-align: "+n.Align+";\n }":" #onetrust-consent-sdk #ot-sync-ntfy .ot-pc-handler.ot-pc-link {\n color: "+r.Color+";\n text-align: "+r.Align+";\n }")+"\n "},jn.prototype.initHtml=function(e,t,o,n){var r="Complete"===e?".ot-sync-refresh":".ot-sync-check";t.ShowIcon?(I(o("Sync"===e?".ot-sync-refresh":".ot-sync-check")).show(),I(o(r)).hide(),I(o(".ot-sync-icon")).show("inline-block"),n.classList.remove("ot-hide-icon")):(I(o(".ot-sync-icon")).hide(),n.classList.add("ot-hide-icon")),t.Title?I(o("#ot-sync-title")).html(t.Title):I(o("#ot-sync-title")).hide(),t.Desc?I(o(".ot-sync-desc")).html(t.Desc):I(o(".ot-sync-desc")).hide(),t.ShowClose?(I(o(".ot-sync-close-handler")).show("inline-block"),I(o(".ot-close-icon")).attr("aria-label",t.CloseAria),n.classList.remove("ot-hide-close")):(I(o(".ot-sync-close-handler")).hide(),n.classList.add("ot-hide-close"))},jn.prototype.close=function(){this.hideSyncNtfy(),y.resetFocusToBody()},jn.prototype.hideSyncNtfy=function(){T.NtfyConfig.ShowCS&&window.removeEventListener("resize",Mn.resizeEvent),I("#ot-sync-ntfy").fadeOut(400)},jn.prototype.removeHtml=function(){var e=I(this.El).el;e&&b.removeChild(e)},jn.prototype.alignContent=function(){I(".ot-sync-btncntr").el[0].clientHeight>I(".ot-sync-titlecntr").el[0].clientHeight&&(I(".ot-sync-titlecntr").addClass("ot-pos-abs"),I(".ot-sync-btncntr").addClass("ot-pos-rel"))},jn.prototype.resizeEvent=function(){window.innerWidth<=896&&Mn.alignContent()};var Mn,Un=jn;function jn(){this.El="#ot-sync-ntfy"}Wn.prototype.toggleVendorConsent=function(e,t){void 0===t&&(t=null),(e=(e=void 0===e?[]:e).length?e:A.oneTrustIABConsent.vendors).forEach(function(e){var e=e.split(":"),t=e[0],e=e[1],t=I(S.P_Vendor_Container+" ."+S.P_Ven_Ctgl+' [vendorid="'+t+'"]').el[0];t&&b.setCheckedAttribute("",t,"true"===e)});var o,n=I("#onetrust-pc-sdk #select-all-vendor-groups-handler").el[0];n&&(o=b.getActiveIdArray(b.distinctArray(e)),(t=null===t?o.length===e.length:t)||0===o.length?n.parentElement.classList.remove(Ft.P_Line_Through):n.parentElement.classList.add(Ft.P_Line_Through),b.setCheckedAttribute("",n,t))},Wn.prototype.toggleVendorLi=function(e,t){void 0===t&&(t=null),(e=(e=void 0===e?[]:e).length?e:A.oneTrustIABConsent.legIntVendors).forEach(function(e){var e=e.split(":"),t=e[0],e=e[1],t=I(S.P_Vendor_Container+" ."+S.P_Ven_Ltgl+' [leg-vendorid="'+t+'"]').el[0];t&&b.setCheckedAttribute("",t,"true"===e)});var o,n=I("#onetrust-pc-sdk #select-all-vendor-leg-handler").el[0];n&&(o=b.getActiveIdArray(b.distinctArray(e)),(t=null===t?o.length===e.length:t)||0===o.length?n.parentElement.classList.remove(Ft.P_Line_Through):n.parentElement.classList.add(Ft.P_Line_Through),b.setCheckedAttribute("",n,t))},Wn.prototype.updateVendorLegBtns=function(e){(e=(e=void 0===e?[]:e).length?e:A.oneTrustIABConsent.legIntVendors).forEach(function(e){var e=e.split(":"),t=e[0],e=e[1],t=I(S.P_Vendor_Container+' .ot-leg-btn-container[data-group-id="'+t+'"]').el[0];t&&E.updateLegIntBtnElement(t,"true"===e)})};var zn,Kn=Wn;function Wn(){}Xn.prototype.setFilterList=function(o){var n=this,r=I("#onetrust-pc-sdk "+S.P_Fltr_Modal+" "+S.P_Fltr_Option).el[0].cloneNode(!0);I("#onetrust-pc-sdk "+S.P_Fltr_Modal+" "+S.P_Fltr_Options).html(""),(k.isV2Template||T.PCLayout.Popup)&&I("#onetrust-pc-sdk #filter-cancel-handler").html(T.PCenterCancelFiltersText||"Cancel"),!k.isV2Template&&T.PCLayout.Popup||(I("#onetrust-pc-sdk "+S.P_Clr_Fltr_Txt).html(T.PCenterClearFiltersText),I("#filter-btn-handler").el[0].setAttribute("aria-label",T.PCenterFilterText)),I("#onetrust-pc-sdk #filter-apply-handler").html(T.PCenterApplyFiltersText),o?P.consentableGrps.forEach(function(e){var t=A.cookieListType===ye.GenVen||A.cookieListType===ye.HostAndGenVen?e.Hosts.length||e.FirstPartyCookies.length||e.GeneralVendorsIds&&e.GeneralVendorsIds.length:e.Hosts.length||e.FirstPartyCookies.length;t&&n.filterGroupOptionSetter(r,e,o)}):P.iabGrps.forEach(function(e){n.filterGroupOptionSetter(r,e,o)})},Xn.prototype.setFilterListByGroup=function(e,t){var o,n=this;!e||e.length<=0?I("#onetrust-pc-sdk "+S.P_Fltr_Modal+" "+S.P_Fltr_Options).html(""):(o=I("#onetrust-pc-sdk "+S.P_Fltr_Modal+" "+S.P_Fltr_Option).el[0].cloneNode(!0),I("#onetrust-pc-sdk "+S.P_Fltr_Modal+" "+S.P_Fltr_Options).html(""),(k.isV2Template||T.PCLayout.Popup)&&I("#onetrust-pc-sdk #filter-cancel-handler").html(T.PCenterCancelFiltersText||"Cancel"),!k.isV2Template&&T.PCLayout.Popup||(I("#onetrust-pc-sdk "+S.P_Clr_Fltr_Txt).html(T.PCenterClearFiltersText),I("#filter-btn-handler").el[0].setAttribute("aria-label",T.PCenterFilterText)),I("#onetrust-pc-sdk #filter-apply-handler").html(T.PCenterApplyFiltersText),e.forEach(function(e){n.filterGroupOptionSetter(o,e,t)}))},Xn.prototype.filterGroupOptionSetter=function(e,t,o){var n=t.CustomGroupId,r=n+"-filter",e=e.cloneNode(!0);I(S.P_Fltr_Modal+" "+S.P_Fltr_Options).append(e),I(e.querySelector("input")).attr("id",r),I(e.querySelector("label")).attr("for",r),(k.isV2Template?I(e.querySelector(S.P_Label_Txt)):I(e.querySelector("label span"))).html(t.GroupName),I(e.querySelector("input")).attr(o?"data-optanongroupid":"data-purposeid",n)};var Jn,Yn=Xn;function Xn(){this.bodyScrollProp="",this.htmlScrollProp="",this.ONETRUST_PC_SDK="#onetrust-pc-sdk",this.ONETRUST_PC_DARK_FILTER=".onetrust-pc-dark-filter"}nr.prototype.initialiseCssReferences=function(){var e,t="";document.getElementById("onetrust-style")?e=document.getElementById("onetrust-style"):((e=document.createElement("style")).id="onetrust-style",k.moduleInitializer.CookieV2CSPEnabled&&A.nonce&&e.setAttribute("nonce",A.nonce)),_.commonStyles&&(t+=_.commonStyles),_.bannerGroup&&(t+=_.bannerGroup.css,k.fp.CookieV2SSR||(t+=this.addCustomBannerCSS()),T.bannerCustomCSS)&&(t+=T.bannerCustomCSS),_.preferenceCenterGroup&&(t=(t+=_.preferenceCenterGroup.css)+this.addCustomPreferenceCenterCSS()),_.cookieListGroup&&!k.fp.CookieV2TrackingTechnologies&&(t=(t+=_.cookieListGroup.css)+this.addCustomCookieListCSS()),T.cookiePersistentLogo&&!T.cookiePersistentLogo.includes("ot_guard_logo.svg")&&(t+=".ot-floating-button__front{background-image:url('"+y.updateCorrectUrl(T.cookiePersistentLogo)+"')}"),this.processedCSS=t,P.ignoreInjectingHtmlCss||(e.textContent=t,I(document.head).append(e))},nr.prototype.setButonColor=function(){var e,t=T.pcButtonColor,o=T.pcButtonTextColor,n=T.pcLegIntButtonColor,r=T.pcLegIntButtonTextColor,i="";return(t||o)&&(e=P.pcName===ft?"#onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Category_Item+",\n #onetrust-consent-sdk #onetrust-pc-sdk.ot-leg-opt-out "+S.P_Li_Hdr+"{\n border-color: "+t+";\n }":"",i="#onetrust-consent-sdk #onetrust-pc-sdk\n button:not(#clear-filters-handler):not(.ot-close-icon):not(#filter-btn-handler):not(.ot-remove-objection-handler):not(.ot-obj-leg-btn-handler):not([aria-expanded]):not(.ot-link-btn),\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-leg-btn-container .ot-active-leg-btn {\n "+(t?"background-color: "+t+";border-color: "+t+";":"")+"\n "+(o?"color: "+o+";":"")+"\n }\n #onetrust-consent-sdk #onetrust-pc-sdk ."+S.P_Active_Menu+" {\n "+(t?"border-color: "+t+";":"")+"\n }\n "+e+"\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-leg-btn-container .ot-remove-objection-handler{\n background-color: transparent;\n border: 1px solid transparent;\n }\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-leg-btn-container .ot-inactive-leg-btn {\n "+(n?"background-color: "+n+";":"")+"\n "+(r?"color: "+r+"; border-color: "+r+";":"")+"\n }"),i},nr.prototype.setFocusBorderColor=function(){var e="",t=T.PCFocusBorderColor;return t&&(e+='\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-tgl input:focus + .ot-switch, .ot-switch .ot-switch-nob, .ot-switch .ot-switch-nob:before,\n #onetrust-pc-sdk .ot-checkbox input[type="checkbox"]:focus + label::before,\n #onetrust-pc-sdk .ot-chkbox input[type="checkbox"]:focus + label::before {\n outline-color: '+t+";\n outline-width: 1px;\n }\n #onetrust-pc-sdk .ot-host-item > button:focus, #onetrust-pc-sdk .ot-ven-item > button:focus {\n border: 1px solid "+t+";\n }\n #onetrust-consent-sdk #onetrust-pc-sdk *:focus,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-vlst-cntr > a:focus {\n outline: 1px solid "+t+";\n }"),e},nr.prototype.setCloseIconColor=function(){var e="";return T.PCCloseButtonType===Se.Link&&(e+="#onetrust-pc-sdk.ot-close-btn-link .ot-close-icon {color: "+T.PCContinueColor+"}"),e},nr.prototype.setTabLayoutStyles=function(){var e="",t=T.pcMenuColor,o=T.pcMenuHighLightColor;return P.pcName===g&&(t&&(e+="#onetrust-consent-sdk #onetrust-pc-sdk .category-menu-switch-handler {\n background-color: "+t+"\n }"),o)&&(e+="#onetrust-consent-sdk #onetrust-pc-sdk ."+S.P_Active_Menu+" {\n background-color: "+o+"\n }"),e},nr.prototype.setFocusIfTemplateUpgrade=function(){var e="",t=T.PCFocusBorderColor;return!T.PCTemplateUpgrade&&t&&(e+='\n #onetrust-pc-sdk input[type="checkbox"]:focus + .accordion-header,\n #onetrust-pc-sdk .category-item .ot-switch.ot-toggle input:focus + .ot-switch-label,\n #onetrust-pc-sdk .checkbox input:focus + label::after {\n outline-color: '+t+";\n outline-width: 1px;\n }"),e},nr.prototype.setExtLnkUrl=function(){var e="",t=y.updateCorrectUrl(T.OTExternalLinkLogo);return t&&(e+="#onetrust-pc-sdk .ot-vlst-cntr .ot-ext-lnk {\n background-image: url('"+t+"');\n }\n "),e},nr.prototype.setCustomCss=function(){var e="";return T.pcCustomCSS&&(e+=T.pcCustomCSS),e};var Qn,$n,Zn,er,tr,or=nr;function nr(){this.processedCSS="",this.addCustomBannerCSS=function(){var e=T.backgroundColor,t=T.buttonColor,o=T.textColor,n=T.buttonTextColor,r=T.bannerMPButtonColor,i=T.bannerMPButtonTextColor,s=T.bannerAccordionBackgroundColor,a=T.BSaveBtnColor,l=T.BCategoryContainerColor,c=T.BLineBreakColor,d=T.BCategoryStyleColor,p=T.bannerLinksTextColor,u=T.BFocusBorderColor,o="\n "+(P.bannerName===pt?e?"#onetrust-consent-sdk #onetrust-banner-sdk .ot-sdk-container {\n background-color: "+e+";}":"":e?"#onetrust-consent-sdk #onetrust-banner-sdk {background-color: "+e+";}":"")+"\n "+(o?"#onetrust-consent-sdk #onetrust-policy-title,\n #onetrust-consent-sdk #onetrust-policy-text,\n #onetrust-consent-sdk .ot-b-addl-desc,\n #onetrust-consent-sdk .ot-dpd-desc,\n #onetrust-consent-sdk .ot-dpd-title,\n #onetrust-consent-sdk #onetrust-policy-text *:not(.onetrust-vendors-list-handler),\n #onetrust-consent-sdk .ot-dpd-desc *:not(.onetrust-vendors-list-handler),\n #onetrust-consent-sdk #onetrust-banner-sdk #banner-options *,\n #onetrust-banner-sdk .ot-cat-header,\n #onetrust-banner-sdk .ot-optout-signal\n {\n color: "+o+";\n }":"")+"\n "+(s?"#onetrust-consent-sdk #onetrust-banner-sdk .banner-option-details {\n background-color: "+s+";}":"")+"\n "+(p?" #onetrust-consent-sdk #onetrust-banner-sdk a[href],\n #onetrust-consent-sdk #onetrust-banner-sdk a[href] font,\n #onetrust-consent-sdk #onetrust-banner-sdk .ot-link-btn\n {\n color: "+p+";\n }":"");return(t||n)&&(o+="#onetrust-consent-sdk #onetrust-accept-btn-handler,\n #onetrust-banner-sdk #onetrust-reject-all-handler {\n "+(t?"background-color: "+t+";border-color: "+t+";":"")+"\n "+(n?"color: "+n+";":"")+"\n }"),u&&(o+="\n #onetrust-consent-sdk #onetrust-banner-sdk *:focus,\n #onetrust-consent-sdk #onetrust-banner-sdk:focus {\n outline-color: "+u+";\n outline-width: 1px;\n }"),(i||r)&&(o+="\n #onetrust-consent-sdk #onetrust-pc-btn-handler,\n #onetrust-consent-sdk #onetrust-pc-btn-handler.cookie-setting-link {\n "+(i?"color: "+i+"; border-color: "+i+";":"")+"\n background-color:\n "+(r&&!T.BannerSettingsButtonDisplayLink?r:e)+";\n }"),P.bannerName===ht&&(r=i=t=p=s=void 0,d&&(i="background-color: "+d+";",r="border-color: "+d+";"),u&&(o+="\n #onetrust-consent-sdk #onetrust-banner-sdk .ot-tgl input:focus+.ot-switch .ot-switch-nob,\n #onetrust-consent-sdk #onetrust-banner-sdk .ot-chkbox input:focus + label::before {\n outline-color: "+u+";\n outline-width: 1px;\n }"),o+="#onetrust-banner-sdk .ot-bnr-save-handler {"+(s=a?"color: "+n+";border-color: "+n+";background-color: "+a+";":s)+"}#onetrust-banner-sdk .ot-cat-lst {"+(p=l?"background-color: "+l+";":p)+"}#onetrust-banner-sdk .ot-cat-bdr {"+(t=c?"border-color: "+c+";":t)+"}#onetrust-banner-sdk .ot-tgl input:checked+.ot-switch .ot-switch-nob:before,#onetrust-banner-sdk .ot-chkbox input:checked~label::before {"+i+"}#onetrust-banner-sdk .ot-chkbox label::before,#onetrust-banner-sdk .ot-tgl input:checked+.ot-switch .ot-switch-nob {"+r+"}#onetrust-banner-sdk #onetrust-pc-btn-handler.cookie-setting-link {background: inherit}"),T.BCloseButtonType===Se.Link&&(o+="#onetrust-banner-sdk.ot-close-btn-link .banner-close-button {color: "+T.BContinueColor+"}"),o},this.addCustomPreferenceCenterCSS=function(){var e=T.pcBackgroundColor,t=T.pcTextColor,o=T.pcLinksTextColor,n=T.PCenterEnableAccordion,r=T.pcAccordionBackgroundColor,e="\n "+(e?(P.pcName===ft?"#onetrust-consent-sdk #onetrust-pc-sdk .group-parent-container,\n #onetrust-consent-sdk #onetrust-pc-sdk .manage-pc-container,\n #onetrust-pc-sdk "+S.P_Vendor_List:"#onetrust-consent-sdk #onetrust-pc-sdk")+",\n #onetrust-consent-sdk "+S.P_Search_Cntr+",\n "+(n&&P.pcName===ft?"#onetrust-consent-sdk #onetrust-pc-sdk .ot-accordion-layout"+S.P_Category_Item:"#onetrust-consent-sdk #onetrust-pc-sdk .ot-switch.ot-toggle")+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Tab_Grp_Hdr+" .checkbox,\n #onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Title+":after\n "+(k.isV2Template?",#onetrust-consent-sdk #onetrust-pc-sdk #ot-sel-blk,\n #onetrust-consent-sdk #onetrust-pc-sdk #ot-fltr-cnt,\n #onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Triangle:"")+" {\n background-color: "+e+";\n }\n ":"")+"\n "+(t?"#onetrust-consent-sdk #onetrust-pc-sdk h3,\n #onetrust-consent-sdk #onetrust-pc-sdk h4,\n #onetrust-consent-sdk #onetrust-pc-sdk h5,\n #onetrust-consent-sdk #onetrust-pc-sdk h6,\n #onetrust-consent-sdk #onetrust-pc-sdk p,\n #onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Vendor_Container+" "+S.P_Ven_Opts+" p,\n #onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Policy_Txt+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Title+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Li_Title+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Leg_Select_All+" span,\n #onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Host_Cntr+" "+S.P_Host_Info+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Fltr_Modal+" #modal-header,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-checkbox label span,\n #onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Vendor_List+" "+S.P_Select_Cntr+" p,\n #onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Vendor_List+" "+S.P_Vendor_Title+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Vendor_List+" .back-btn-handler p,\n #onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Vendor_List+" "+S.P_Ven_Name+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Vendor_List+" "+S.P_Vendor_Container+" .consent-category,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-leg-btn-container .ot-inactive-leg-btn,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-label-status,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-chkbox label span,\n #onetrust-consent-sdk #onetrust-pc-sdk #clear-filters-handler,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-optout-signal\n {\n color: "+t+";\n }":"")+"\n "+(o?" #onetrust-consent-sdk #onetrust-pc-sdk .privacy-notice-link,\n #onetrust-consent-sdk #onetrust-pc-sdk .category-vendors-list-handler,\n #onetrust-consent-sdk #onetrust-pc-sdk .category-vendors-list-handler + a,\n #onetrust-consent-sdk #onetrust-pc-sdk .category-host-list-handler,\n #onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Ven_Link+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Host_Cntr+" "+S.P_Host_Title+" a,\n #onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Host_Cntr+" "+S.P_Acc_Header+" "+S.P_Host_View_Cookies+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Host_Cntr+" "+S.P_Host_Info+" a,\n #onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Content+" "+S.P_Policy_Txt+" .ot-link-btn,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-vnd-serv .ot-vnd-item .ot-vnd-info a,\n #onetrust-consent-sdk #onetrust-pc-sdk #ot-lst-cnt .ot-vnd-info a\n {\n color: "+o+";\n }":"")+"\n #onetrust-consent-sdk #onetrust-pc-sdk .category-vendors-list-handler:hover { text-decoration: underline;}\n "+(n&&r?"#onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Acc_Container+S.P_Acc_Txt+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Acc_Txt+" "+S.P_Subgrp_Tgl_Cntr+" .ot-switch.ot-toggle\n {\n background-color: "+r+";\n }":"")+"\n "+(r?" #onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Host_Cntr+" "+S.P_Host_Info+",\n "+(k.isV2Template?"#onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Acc_Txt+" .ot-ven-dets":"#onetrust-consent-sdk #onetrust-pc-sdk "+S.P_Acc_Txt+" "+S.P_Ven_Opts)+"\n {\n background-color: "+r+";\n }":"")+"\n ";return(e+=Qn.setButonColor())+Qn.setFocusBorderColor()+Qn.setCloseIconColor()+Qn.setTabLayoutStyles()+Qn.setTabLayoutStyles()+Qn.setFocusIfTemplateUpgrade()+Qn.setExtLnkUrl()+Qn.setCustomCss()},this.addCustomCookieListCSS=function(){var e=T.CookiesV2NewCookiePolicy?"-v2.ot-sdk-cookie-policy":"",e="\n "+(T.cookieListPrimaryColor?"\n #ot-sdk-cookie-policy"+e+" h5,\n #ot-sdk-cookie-policy"+e+" h6,\n #ot-sdk-cookie-policy"+e+" li,\n #ot-sdk-cookie-policy"+e+" p,\n #ot-sdk-cookie-policy"+e+" a,\n #ot-sdk-cookie-policy"+e+" span,\n #ot-sdk-cookie-policy"+e+" td,\n #ot-sdk-cookie-policy"+e+" #cookie-policy-description {\n color: "+T.cookieListPrimaryColor+";\n }":"")+"\n "+(T.cookieListTableHeaderColor?"#ot-sdk-cookie-policy"+e+" th {\n color: "+T.cookieListTableHeaderColor+";\n }":"")+"\n "+(T.cookieListGroupNameColor?"#ot-sdk-cookie-policy"+e+" .ot-sdk-cookie-policy-group {\n color: "+T.cookieListGroupNameColor+";\n }":"")+"\n "+(T.cookieListTitleColor?"\n #ot-sdk-cookie-policy"+e+" #cookie-policy-title {\n color: "+T.cookieListTitleColor+";\n }\n ":"")+"\n "+(e&&T.CookieListTableHeaderBackgroundColor?"\n #ot-sdk-cookie-policy"+e+" table th {\n background-color: "+T.CookieListTableHeaderBackgroundColor+";\n }\n ":"")+"\n ";return T.cookieListCustomCss&&(e+=T.cookieListCustomCss),e}}(a=$n=$n||{}).SaleOptOut="SaleOptOutCID",a.SharingOptOut="SharingOptOutCID",a.PersonalDataConsents="PersonalDataCID",(a=Zn=Zn||{}).SharingOptOutNotice="SharingOptOutCID",a.SaleOptOutNotice="SaleOptOutCID",a.SensitiveDataLimitUseNotice="SensitivePICID || SensitiveSICID || GeolocationCID || RREPInfoCID || CommunicationCID || GeneticCID|| BiometricCID || HealthCID || SexualOrientationCID",(a=er=er||{}).KnownChildSensitiveDataConsents1="KnownChildSellPICID",a.KnownChildSensitiveDataConsents2="KnownChildSharePICID",(a=tr=tr||{}).SensitiveDataProcessing1="SensitivePICID",a.SensitiveDataProcessing2="SensitiveSICID",a.SensitiveDataProcessing3="GeolocationCID",a.SensitiveDataProcessing4="RREPInfoCID",a.SensitiveDataProcessing5="CommunicationCID",a.SensitiveDataProcessing6="GeneticCID",a.SensitiveDataProcessing7="BiometricCID",a.SensitiveDataProcessing8="HealthCID",a.SensitiveDataProcessing9="SexualOrientationCID";sr.prototype.initialiseLandingPath=function(){var e=p.needReconsent();Po.isLandingPage()?Po.setLandingPathParam(location.href):e&&!p.awaitingReconsent()?(Po.setLandingPathParam(location.href),v.writeCookieParam(m.OPTANON_CONSENT,De,!0)):(e||v.writeCookieParam(m.OPTANON_CONSENT,De,!1),Po.setLandingPathParam(Me),P.isSoftOptInMode&&!k.moduleInitializer.MobileSDK&&c.setAlertBoxClosed(!0),T.NextPageCloseBanner&&T.ShowAlertNotice&&G.nextPageCloseBanner())};var rr,ir=sr;function sr(){}cr.prototype.insertCookiePolicyHtml=function(){if(I(this.ONETRUST_COOKIE_POLICY).length){var e,t,o,n=document.createDocumentFragment(),r=(_.cookieListGroup&&(t=T.CookiesV2NewCookiePolicy?".ot-sdk-cookie-policy":"#ot-sdk-cookie-policy-v2",o=document.createElement("div"),I(o).html(_.cookieListGroup.html),o.removeChild(o.querySelector(t)),e=o.querySelector(".ot-sdk-cookie-policy"),T.useRTL)&&I(e).attr("dir","rtl"),e.querySelector("#cookie-policy-title").innerHTML=T.CookieListTitle||"",e.querySelector("#cookie-policy-description").innerHTML=T.CookieListDescription||"",e.querySelector("section")),i=e.querySelector("section tbody tr"),s=null,a=null;T.CookiesV2NewCookiePolicy||(s=e.querySelector("section.subgroup"),a=e.querySelector("section.subgroup tbody tr"),I(e).el.removeChild(e.querySelector("section.subgroup"))),I(e).el.removeChild(e.querySelector("section")),!I(this.COOKIE_POLICY_SELECTOR).length&&I(this.OPTANON_POLICY_SELECTOR).length?I(this.OPTANON_POLICY_SELECTOR).append('<div id="ot-sdk-cookie-policy"></div>'):(I(this.COOKIE_POLICY_SELECTOR).html(""),I(this.OPTANON_POLICY_SELECTOR).html(""));for(var l=0,c=T.Groups;l<c.length;l++){var d=c[l],p={json:T,group:d,sectionTemplate:r,tableRowTemplate:i,cookieList:e,fragment:n};if(T.CookiesV2NewCookiePolicy)this.insertGroupHTMLV2(p);else if(this.insertGroupHTML(p),d.ShowSubgroup)for(var u=0,g=d.SubGroups;u<g.length;u++){var h=g[u],h={json:T,group:h,sectionTemplate:s,tableRowTemplate:a,cookieList:e,fragment:n};this.insertGroupHTML(h)}}}},cr.prototype.insertGroupHTMLV2=function(e){function t(e){return c.querySelector(e)}var o,n=this,r=e.json,i=e.group,s=e.sectionTemplate,a=e.tableRowTemplate,l=e.cookieList,e=e.fragment,c=s.cloneNode(!0),s=i.SubGroups,d=(I(t("tbody")).html(""),i.Hosts.slice()),p=i.FirstPartyCookies.slice(),u=d.length||p.length?i.GroupName:"",s=(i.ShowSubgroup&&s.length?(o=c.querySelector("section.ot-sdk-subgroup ul li"),s.forEach(function(e){var t=o.cloneNode(!0);d=d.concat(e.Hosts),p=p.concat(e.FirstPartyCookies),(e.Hosts.length||e.FirstPartyCookies.length)&&(u+=","+e.GroupName),I(t.querySelector(".ot-sdk-cookie-policy-group")).html(e.GroupName),I(t.querySelector(".ot-sdk-cookie-policy-group-desc")).html(n.groupsClass.safeFormattedGroupDescription(e)),I(o.parentElement).append(t)}),c.querySelector("section.ot-sdk-subgroup ul").removeChild(o)):c.removeChild(c.querySelector("section.ot-sdk-subgroup")),T.TTLGroupByTech&&(this.setCookieListHeaderOrder(c),this.setCookieListBodyOrder(a)),r.IsLifespanEnabled?I(t("th.ot-life-span")).el.innerHTML=r.LifespanText:I(t("thead tr")).el.removeChild(I(t("th.ot-life-span")).el),I(t("th.ot-cookies")).el.innerHTML=r.CookiesText,I(t("th.ot-host")).el.innerHTML=r.CategoriesText,I(t("th.ot-cookies-type")).el.innerHTML=r.CookiesUsedText,I(t("th.ot-host-description")).el.innerHTML=r.CookiesDescText,this.transformFirstPartyCookies(p,d,i)),g=!1;(g=T.TTLGroupByTech?T.TTLShowTechDesc:s.some(function(e){return e.Description}))||I(t("thead tr")).el.removeChild(I(t("th.ot-host-description")).el),I(t(".ot-sdk-cookie-policy-group")).html(i.GroupName),I(t(".ot-sdk-cookie-policy-group-desc")).html(this.groupsClass.safeFormattedGroupDescription(i)),T.TTLGroupByTech?this.insertCookieLineByLine({json:r,hosts:s,tableRowTemplate:a,showHostDescription:g,st:t}):this.insertHostHtmlV2({json:r,hosts:s,tableRowTemplate:a,showHostDescription:g,st:t}),0===s.length?c.removeChild(c.querySelector("table")):I(t("caption")).el.innerHTML=u,I(l).append(c),I(e).append(l),I(this.COOKIE_POLICY_SELECTOR).append(e)},cr.prototype.insertHostHtmlV2=function(e){for(var l,c=e.json,t=e.hosts,d=e.tableRowTemplate,p=e.showHostDescription,u=e.st,g=this,o=0,n=t;o<n.length;o++)!function(e){for(var t=d.cloneNode(!0),o=function(e){return t.querySelector(e)},n=(g.clearCookieRowElement(o),[]),r=[],i=0,s=e.Cookies;i<s.length;i++){var a=s[i],a=((l=a).IsSession?n.push(c.LifespanTypeText):n.push(y.getDuration(l)),l.Name);e.Type&&(a='\n <a href="https://cookiepedia.co.uk/cookies/'+l.Name+'" \n rel="noopener" target="_blank" aria-label="'+l.Name+" "+T.NewWinTxt+'">\n '+l.Name+"\n </a>"),r.push(a)}g.setDataLabelAttribute(o,c),g.createCookieRowHtmlElement({host:e,subGroupCookie:l,trt:o,json:c,lifespanText:n.join(", "),hostType:r.join(", ")}),g.removeLifeSpanOrHostDescription(c,p,t,o),I(u("tbody")).append(t)}(n[o])},cr.prototype.insertGroupHTML=function(e){function t(e){return l.querySelector(e)}var o,n=e.json,r=e.group,i=e.sectionTemplate,s=e.tableRowTemplate,a=e.cookieList,e=e.fragment,l=i.cloneNode(!0),i=(I(t("caption")).el.innerHTML=r.GroupName,I(t("tbody")).html(""),I(t("thead tr")),n.IsLifespanEnabled?I(t("th.life-span")).el.innerHTML=n.LifespanText:I(t("thead tr")).el.removeChild(I(t("th.life-span")).el),I(t("th.cookies")).el.innerHTML=n.CookiesText,I(t("th.host")).el.innerHTML=n.CategoriesText,!1);if(r.Hosts.some(function(e){return e.description})?i=!0:I(t("thead tr")).el.removeChild(I(t("th.host-description")).el),I(t(".ot-sdk-cookie-policy-group")).html(r.GroupName),I(t(".ot-sdk-cookie-policy-group-desc")).html(this.groupsClass.safeFormattedGroupDescription(r)),0<r.FirstPartyCookies.length){I(t(".cookies-used-header")).html(n.CookiesUsedText),I(t(".cookies-list")).html("");for(var c=0;c<r.FirstPartyCookies.length;c++)o=r.FirstPartyCookies[c],I(t(".cookies-list")).append("<li> "+y.getCookieLabel(o,n.AddLinksToCookiepedia)+" <li>")}else l.removeChild(t(".cookies-used-header")),l.removeChild(t(".cookies-list"));this.insertHostHtmlV1({json:n,hosts:r.Hosts,tableRowTemplate:s,showHostDescription:i,st:t}),I(a).append(l),I(e).append(a),I(this.COOKIE_POLICY_SELECTOR).append(e)},cr.prototype.insertHostHtmlV1=function(e){for(var l=e.json,t=e.hosts,c=e.tableRowTemplate,d=e.showHostDescription,p=e.st,o=0,n=t;o<n.length;o++)!function(e){for(var t=c.cloneNode(!0),o=function(e){return t.querySelector(e)},n=(I(o(".cookies-td ul")).html(""),I(o(".life-span-td ul")).html(""),I(o(".host-td")).html(""),I(o(".host-description-td")).html('<span class="ot-mobile-border"></span><p>'+e.Description+"</p> "),0),r=0,i=e.Cookies;r<i.length;r++){var s=i[r],a="",a=s.IsSession?l.LifespanTypeText:0===s.Length?"<1 "+l.LifespanDurationText||l.PCenterVendorListLifespanDays:s.Length+" "+l.LifespanDurationText||l.PCenterVendorListLifespanDays,a=l.IsLifespanEnabled?" ("+a+")":"";I(o(".cookies-td ul")).append("<li> "+s.Name+" "+a+" </li>"),l.IsLifespanEnabled&&(a=s.Length?s.Length+" days":"N/A",I(o(".life-span-td ul")).append("<li>"+a+"</li>")),0===n&&(I(o(".host-td")).append('<span class="ot-mobile-border"></span>'),I(o(".host-td")).append('<a href="https://cookiepedia.co.uk/host/'+s.Host+'" rel="noopener" target="_blank"\n aria-label="'+(e.DisplayName||e.HostName)+" "+T.NewWinTxt+'">'+(e.DisplayName||e.HostName)+"</a>")),n++}d||t.removeChild(o("td.host-description-td")),I(p("tbody")).append(t)}(n[o]);0===t.length&&I(p("table")).el.removeChild(I(p("thead")).el)},cr.prototype.transformFirstPartyCookies=function(e,t,o){var n=this,r=t.slice(),t=(e.forEach(function(e){n.populateHostGroup(e,r,T.firstPartyTxt)}),o.GeneralVendorsIds),e=(this.populateGenVendor(t,o,r),o.SubGroups||[]);return e.length&&e.forEach(function(e){var t=e.GeneralVendorsIds;n.populateGenVendor(t,e,r)}),r},cr.prototype.populateGenVendor=function(e,o,n){var r=this;e.length&&e.forEach(function(t){var e=T.GeneralVendors.find(function(e){return e.VendorCustomId===t});e.Cookies.length&&e.Cookies.forEach(function(e){var t;e.category===o.GroupName&&(t=e.isThirdParty?"":T.firstPartyTxt,r.populateHostGroup(e,n,t))})})},cr.prototype.populateHostGroup=function(t,e,o){e.some(function(e){if(e.HostName===t.Host&&e.Type===o)return e.Cookies.push(t),!0})||e.unshift({HostName:t.Host,DisplayName:t.Host,HostId:"",Description:"",Type:o,Cookies:[t]})},cr.prototype.insertCookieLineByLine=function(e){for(var t=e.json,o=e.hosts,n=e.tableRowTemplate,r=e.showHostDescription,i=e.st,s=0,a=o;s<a.length;s++)for(var l=a[s],c=0,d=l.Cookies;c<d.length;c++){var p=d[c],u=p.IsSession?t.LifespanTypeText:y.getDuration(p),g=p.Name,h=(l.Type&&(g='<a href="https://cookiepedia.co.uk/cookies/'+g+'" \n rel="noopener" target="_blank" aria-label="'+g+" "+T.NewWinTxt+'">'+g+"\n </a>"),n.cloneNode(!0)),C=this.queryToHtmlElement(h);this.clearCookieRowElement(C),this.createCookieRowHtmlElement({host:l,subGroupCookie:p,trt:C,json:t,lifespanText:u,hostType:g}),this.removeLifeSpanOrHostDescription(t,r,h,C),I(i("tbody")).append(h)}},cr.prototype.removeLifeSpanOrHostDescription=function(e,t,o,n){e.IsLifespanEnabled||o.removeChild(n("td.ot-life-span-td")),t||o.removeChild(n("td.ot-host-description-td"))},cr.prototype.createCookieRowHtmlElement=function(e){var t=e.host,o=e.subGroupCookie,n=e.trt,r=e.json,i=e.lifespanText,e=e.hostType,s=".ot-host-td",r=(this.setDataLabelAttribute(n,r),I(n(".ot-host-description-td")).html('<span class="ot-mobile-border"></span><p>'+o.description+"</p> "),I(n(s)).append('<span class="ot-mobile-border"></span>'),t.DisplayName||t.HostName);I(n(s)).append(t.Type?r:'<a href="https://cookiepedia.co.uk/host/'+o.Host+'" rel="noopener" target="_blank" \n aria-label="'+r+" "+T.NewWinTxt+'">\n '+r+"\n </a>"),n(".ot-cookies-td .ot-cookies-td-content").insertAdjacentHTML("beforeend",e),n(".ot-life-span-td .ot-life-span-td-content").innerText=i,n(".ot-cookies-type .ot-cookies-type-td-content").innerText=t.Type?T.firstPartyTxt:T.thirdPartyTxt},cr.prototype.setDataLabelAttribute=function(e,t){var o="data-label";e(".ot-host-td").setAttribute(o,t.CategoriesText),e(".ot-cookies-td").setAttribute(o,t.CookiesText),e(".ot-cookies-type").setAttribute(o,t.CookiesUsedText),e(".ot-life-span-td").setAttribute(o,t.LifespanText)},cr.prototype.clearCookieRowElement=function(e){I(e(".ot-cookies-td span")).text(""),I(e(".ot-life-span-td span")).text(""),I(e(".ot-cookies-type span")).text(""),I(e(".ot-cookies-td .ot-cookies-td-content")).html(""),I(e(".ot-host-td")).html("")},cr.prototype.setCookieListHeaderOrder=function(e){var e=e.querySelector("section table thead tr"),t=e.querySelector("th.ot-host"),o=e.querySelector("th.ot-cookies"),n=e.querySelector("th.ot-life-span"),r=e.querySelector("th.ot-cookies-type"),i=e.querySelector("th.ot-host-description");e.innerHTML="",e.appendChild(o.cloneNode(!0)),e.appendChild(t.cloneNode(!0)),e.appendChild(n.cloneNode(!0)),e.appendChild(r.cloneNode(!0)),e.appendChild(i.cloneNode(!0))},cr.prototype.setCookieListBodyOrder=function(e){var t=e.querySelector("td.ot-host-td"),o=e.querySelector("td.ot-cookies-td"),n=e.querySelector("td.ot-life-span-td"),r=e.querySelector("td.ot-cookies-type"),i=e.querySelector("td.ot-host-description-td");e.innerHTML="",e.appendChild(o.cloneNode(!0)),e.appendChild(t.cloneNode(!0)),e.appendChild(n.cloneNode(!0)),e.appendChild(r.cloneNode(!0)),e.appendChild(i.cloneNode(!0))},cr.prototype.queryToHtmlElement=function(t){return function(e){return t.querySelector(e)}};var ar,lr=cr;function cr(){this.groupsClass=E,this.COOKIE_POLICY_SELECTOR="#ot-sdk-cookie-policy",this.OPTANON_POLICY_SELECTOR="#optanon-cookie-policy",this.ONETRUST_COOKIE_POLICY="#ot-sdk-cookie-policy, #optanon-cookie-policy"}ur.prototype.IsAlertBoxClosedAndValid=function(){return p.isAlertBoxClosedAndValid()},ur.prototype.LoadBanner=function(){c.loadBanner()},ur.prototype.Init=function(e){void 0===e&&(e=!1),Ne.insertViewPortTag(),_.ensureHtmlGroupDataInitialised(),Pn.updateGtmMacros(!1),rr.initialiseLandingPath(),e||Qn.initialiseCssReferences()},ur.prototype.FetchAndDownloadPC=function(){B.fetchAndSetupPC()},ur.prototype.ToggleInfoDisplay=function(){c.triggerGoogleAnalyticsEvent(Vo,Ho),B.toggleInfoDisplay()},ur.prototype.Close=function(e){B.close(e)},ur.prototype.AllowAll=function(e){G.allowAllEvent(e)},ur.prototype.RejectAll=function(e){G.rejectAllEvent(e)},ur.prototype.setDataSubjectIdV2=function(e,t,o){void 0===t&&(t=!1),void 0===o&&(o=""),e&&e.trim()&&(e=e.replace(/ /g,""),v.writeCookieParam(m.OPTANON_CONSENT,He,e,!0),A.dsParams.isAnonymous=t),null!=(t=null==(e=T)?void 0:e.ConsentIntegration)&&t.IdentifiedReceiptsAllowed&&null!=(e=o)&&e.trim()&&v.writeCookieParam(m.OPTANON_CONSENT,ze,o.trim())},ur.prototype.getDataSubjectId=function(){return v.readCookieParam(m.OPTANON_CONSENT,He,!0)},ur.prototype.synchroniseCookieWithPayload=function(n){var e=v.readCookieParam(m.OPTANON_CONSENT,"groups"),e=b.strToArr(e),r=[];e.forEach(function(e){var e=e.split(":"),t=C.getGroupById(e[0]),o=b.findIndex(n,function(e){return e.Id===t.PurposeId}),o=n[o];o?o.TransactionType===Ke?(r.push(e[0]+":1"),t.Parent?B.toggleSubCategory(null,t.CustomGroupId,!0,t.CustomGroupId):B.toggleV2Category(null,t,!0,t.CustomGroupId)):(r.push(e[0]+":0"),t.Parent?B.toggleSubCategory(null,t.CustomGroupId,!1,t.CustomGroupId):B.toggleV2Category(null,t,!1,t.CustomGroupId)):r.push(e[0]+":"+e[1])}),co.writeGrpParam(m.OPTANON_CONSENT,r)},ur.prototype.getGeolocationData=function(){return A.userLocation},ur.prototype.TriggerGoogleAnalyticsEvent=function(e,t,o,n){c.triggerGoogleAnalyticsEvent(e,t,o,n)},ur.prototype.ReconsentGroups=function(){var n=!1,e=v.readCookieParam(m.OPTANON_CONSENT,"groups"),r=b.strToArr(e),i=b.strToArr(e.replace(/:0|:1/g,"")),s=!1,t=v.readCookieParam(m.OPTANON_CONSENT,"hosts"),a=b.strToArr(t),l=b.strToArr(t.replace(/:0|:1/g,"")),c=["inactive","inactive landingpage","do not track"];e&&(T.Groups.forEach(function(e){M(e.SubGroups,[e]).forEach(function(e){var t=e.CustomGroupId,o=b.indexOf(i,t);-1!==o&&(e=C.getGrpStatus(e).toLowerCase(),-1<c.indexOf(e))&&(n=!0,r[o]=t+("inactive landingpage"===e?":1":":0"))})}),n)&&co.writeGrpParam(m.OPTANON_CONSENT,r),t&&(T.Groups.forEach(function(e){M(e.SubGroups,[e]).forEach(function(n){n.Hosts.forEach(function(e){var t,o=b.indexOf(l,e.HostId);-1!==o&&(t=C.getGrpStatus(n).toLowerCase(),-1<c.indexOf(t))&&(s=!0,a[o]=e.HostId+("inactive landingpage"===t?":1":":0"))})})}),s)&&co.writeHstParam(m.OPTANON_CONSENT,a)},ur.prototype.SetAlertBoxClosed=function(e){c.setAlertBoxClosed(e)},ur.prototype.GetDomainData=function(){return P.pubDomainData},ur.prototype.setGeoLocation=function(e,t){A.userLocation={country:e,state:t=void 0===t?"":t}},ur.prototype.changeLang=function(t){var o;t!==A.lang&&(o=k.moduleInitializer,Yt.getLangJson(t).then(function(e){e?(P.init(e),_.fetchAssets(t).then(function(){var e=document.getElementById("onetrust-style"),e=(e&&(e.textContent=""),Qn.initialiseCssReferences(),o.IsSuppressPC&&!A.isPCVisible||(b.removeChild(I("#onetrust-pc-sdk").el),A.vendorDomInit=!1,A.genVendorDomInit=!1,O.insertPcHtml(),B.initialiseConsentNoticeHandlers(),T.IsIabEnabled&&(p.assignIABDataWithGlobalVendorList(A.gvlObj),h.InitializeVendorList()),A.isPCVisible&&B.restorePc()),!0);p.isAlertBoxClosedAndValid()||o.IsSuppressBanner&&(!o.IsSuppressBanner||A.skipAddingHTML)||T.NoBanner||(b.removeChild(I("#onetrust-banner-sdk").el),B.initializeAlartHtmlAndHandler(),e=!1),dr.initCookiePolicyAndSettings(),b.removeChild(I("#ot-sdk-btn-floating").el),si.insertCSBtn(e),dr.processedHtml=null})):console.error("Language:"+t+" doesn't exist for the geo rule")}))},ur.prototype.initCookiePolicyAndSettings=function(e){var t;(e=void 0===e?!1:e)&&(null!=(t=document.querySelector(".ot-sdk-show-settings"))&&t.removeEventListener("click",B.cookiesSettingsBoundListener),null!=(t=document.querySelector(".optanon-toggle-display")))&&t.removeEventListener("click",B.cookiesSettingsBoundListener),k.fp.CookieV2TrackingTechnologies?si.insertTrackingTechnologies():ar.insertCookiePolicyHtml(),B.insertCookieSettingText(e)},ur.prototype.showVendorsList=function(){A.pcLayer!==se.VendorList&&(B.showAllVendors(),c.triggerGoogleAnalyticsEvent(Vo,Ro))},ur.prototype.getTestLogData=function(){var e=T.Groups,t=P.pubDomainData,o=k.moduleInitializer.Version,o=(console.info("%cWelcome to OneTrust Log","padding: 8px; background-color: #43c233; color: white; font-style: italic; border: 1px solid black; font-size: 1.5em;"),console.info("Script is for: %c"+(t.Domain||T.optanonCookieDomain),"padding: 4px 6px; font-style: italic; border: 2px solid #43c233; font-size: 12px;"),console.info("Script Version Published: "+o),console.info("The consent model is: "+t.ConsentModel.Name),null!==p.alertBoxCloseDate()),n=(console.info("Consent has "+(o?"":"not ")+"been given "+(o?"ðŸ‘":"🛑")),[]),r=(e.forEach(function(e){var t="",t=e.Status&&"always active"===e.Status.toLowerCase()?"Always Active":E.isGroupActive(e)?"Active":"Inactive";n.push({CustomGroupId:e.CustomGroupId,GroupName:e.GroupName,Status:t})}),console.groupCollapsed("Current Category Status"),console.table(n),console.groupEnd(),[]),o=(t.GeneralVendors.forEach(function(e){r.push({CustomGroupId:e.VendorCustomId,Name:e.Name,Status:dr.isCategoryActive(e.VendorCustomId)?"active":"inactive"})}),console.groupCollapsed("General Vendor Ids"),console.table(r),console.groupEnd(),P.getRegionRule()),t=A.userLocation,i=k.moduleInitializer.GeoRuleGroupName,t=(P.conditionalLogicEnabled?console.groupCollapsed("Geolocation, Template & Condition"):console.groupCollapsed("Geolocation and Template"),A.userLocation.country&&console.info("The Geolocation is "+t.country.toUpperCase()),console.info("The Geolocation rule is "+o.Name),console.info("The GeolocationRuleGroup is "+i),P.canUseConditionalLogic?(console.info("The Condition name is "+P.Condition.Name),console.info("The TemplateName is "+P.Condition.TemplateName)):console.info("The TemplateName is "+o.TemplateName),console.groupEnd(),e.filter(function(e){return E.isGroupActive(e)&&"COOKIE"===e.Type}));console.groupCollapsed("The cookies expected to be active if blocking has been implemented are"),t.forEach(function(e){console.groupCollapsed(e.GroupName);e=dr.getAllFormatCookiesForAGroup(e);console.table(e,["Name","Host","description"]),console.groupEnd()}),console.groupEnd()},ur.prototype.isCategoryActive=function(e){return-1!==window.OptanonActiveGroups.indexOf(","+e+",")},ur.prototype.getAllFormatCookiesForAGroup=function(e){var t=[];return e.FirstPartyCookies.forEach(function(e){return t.push({Name:e.Name,Host:e.Host,Description:e.description})}),(null==(e=e.Hosts)?void 0:e.reduce(function(e,t){return e.concat(JSON.parse(JSON.stringify(t.Cookies)))},[])).forEach(function(e){return t.push({Name:e.Name,Host:e.Host,Description:e.description})}),t},ur.prototype.updateSingularConsent=function(l,c){return R(this,void 0,void 0,function(){var t,o,n,r,i,s,a;return q(this,function(e){switch(e.label){case 0:return[4,B.fetchAndSetupPC()];case 1:for(e.sent(),P.apiSource=oe.UpdateConsent,t=c.split(","),o=[],n=0,r=t;n<r.length;n++)s=r[n],s=s.split(":"),i=s[0],s=s[1],a=Boolean(Number(s)),l===Pt?"always active"===C.getGrpStatus(C.getGroupById(i))||(dr.updateConsentArray(A.groupsConsent,i,s),o.push({id:i,isEnabled:a})):l===Tt?dr.updateConsentArray(A.hostsConsent,i,s):l===At?A.genVendorsConsent[i]=a:l===It&&o.push({id:i,isEnabled:a});return G.handleTogglesOnSingularConsentUpdate(l,o),[2]}})})},ur.prototype.vendorServiceEnabled=function(){return A.showVendorService},ur.prototype.updateGCM=function(e){e||console.error("No callback passed to the UpdateGCM"),P.gcmUpdateCallback=e},ur.prototype.updateConsentArray=function(e,t,o){var n=e.findIndex(function(e){return e.includes(t+":0")||e.includes(t+":1")});-1<n?e[n]=t+":"+o:e.push(t+":"+o)};var dr,pr=ur;function ur(){this.processedHtml="",this.useGeoLocationService=!0,this.IsAlertBoxClosed=this.IsAlertBoxClosedAndValid,this.InitializeBanner=function(){return si.initBanner()},this.getHTML=function(){return document.getElementById("onetrust-banner-sdk")||(O.insertPcHtml(),$r.insertAlertHtml()),dr.processedHtml||(dr.processedHtml=document.querySelector("#onetrust-consent-sdk").outerHTML),dr.processedHtml},this.getCSS=function(){return Qn.processedCSS},this.setConsentProfile=function(e){var t,o;e.customPayload&&null!=(t=o=e.customPayload)&&t.Interaction&&v.writeCookieParam(m.OPTANON_CONSENT,Re,o.Interaction),dr.setDataSubjectIdV2(e.identifier,e.isAnonymous,e.identifierType),dr.synchroniseCookieWithPayload(e.purposes),G.executeOptanonWrapper()},this.InsertScript=function(e,t,o,n,r,i){var s,a=null!=n&&void 0!==n,l=a&&void 0!==n.ignoreGroupCheck&&!0===n.ignoreGroupCheck;if(E.canInsertForGroup(r,l)&&!b.contains(A.srcExecGrps,r)){A.srcExecGrpsTemp.push(r),a&&void 0!==n.deleteSelectorContent&&!0===n.deleteSelectorContent&&b.empty(t);var c=document.createElement("script");switch(null!=o&&void 0!==o&&(s=!1,c.onload=c.onreadystatechange=function(){s||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(s=!0,o())}),c.type="text/javascript",c.src=e,i&&(c.async=i),t){case"head":document.getElementsByTagName("head")[0].appendChild(c);break;case"body":document.getElementsByTagName("body")[0].appendChild(c);break;default:var d=document.getElementById(t);d&&(d.appendChild(c),a)&&void 0!==n.makeSelectorVisible&&!0===n.makeSelectorVisible&&b.show(t)}if(a&&void 0!==n.makeElementsVisible)for(var p=0,u=n.makeElementsVisible;p<u.length;p++){var g=u[p];b.show(g)}if(a&&void 0!==n.deleteElements)for(var h=0,C=n.deleteElements;h<C.length;h++){g=C[h];b.remove(g)}}},this.InsertHtml=function(e,t,o,n,r){var i=null!=n&&void 0!==n,s=i&&void 0!==n.ignoreGroupCheck&&!0===n.ignoreGroupCheck;if(E.canInsertForGroup(r,s)&&!b.contains(A.htmlExecGrps,r)){if(A.htmlExecGrpsTemp.push(r),i&&void 0!==n.deleteSelectorContent&&!0===n.deleteSelectorContent&&b.empty(t),b.appendTo(t,e),i&&void 0!==n.makeSelectorVisible&&!0===n.makeSelectorVisible&&b.show(t),i&&void 0!==n.makeElementsVisible)for(var a=0,l=n.makeElementsVisible;a<l.length;a++){var c=l[a];b.show(c)}if(i&&void 0!==n.deleteElements)for(var d=0,p=n.deleteElements;d<p.length;d++){c=p[d];b.remove(c)}null!=o&&void 0!==o&&o()}},this.BlockGoogleAnalytics=function(e,t){window["ga-disable-"+e]=!E.canInsertForGroup(t)}}gr.prototype.getFieldsValues=function(e,t,o,n,r){void 0===r&&(r=!1);e=this.getSectionFieldsMapping(e),t=this.getSectionFieldsMapping(t,!0),o=this.getDynamicFields(o,n),n=this.getMSPASectionFieldValue(),r=r?this.getGpcSectionFieldValue():{};return F(F(F(F(F({},e),t),o),n),r)},gr.prototype.getGpcSectionFieldValue=function(){var e={};return e[Be.GpcSegmentType]=1,e[Be.Gpc]=Boolean(navigator.globalPrivacyControl),e},gr.prototype.getMSPASectionFieldValue=function(){var e={};return T.IsMSPAEnabled?(e.MspaCoveredTransaction=1,T.MSPAOptionMode===Oe.MspaServiceProviderMode?(e.MspaServiceProviderMode=1,e.MspaOptOutOptionMode=2):T.MSPAOptionMode===Oe.MspaOptOutOptionMode?(e.MspaServiceProviderMode=2,e.MspaOptOutOptionMode=1):(e.MspaServiceProviderMode=2,e.MspaOptOutOptionMode=2)):(e.MspaCoveredTransaction=2,e.MspaServiceProviderMode=0,e.MspaOptOutOptionMode=0),e},gr.prototype.getDynamicArrayFieldsValue=function(e,t){for(var o={},n=[],r=this.getSectionFieldsMapping(t),i=1;i<=Object.keys(r).length;i++)n.push(r[e+i]);return o[e]=n,o},gr.prototype.getDynamicFields=function(e,t){var o,n={};return T.IsGPPKnownChildApplicable&&e&&(o=this.getDynamicArrayFieldsValue(we.KnownChildSensitiveDataConsents,e),n=F(F({},n),o)),T.IsGPPDataProcessingApplicable&&t&&(o=this.getDynamicArrayFieldsValue(we.SensitiveDataProcessing,t),n=F(F({},n),o)),n},gr.prototype.getSectionFieldsMapping=function(e,o){var n=this,r=(void 0===o&&(o=!1),{});return Object.entries(e).forEach(function(e){var t=e[0],e=e[1],e=n.evaluateValueOperators(e);r[t]=n.calculateFieldValue(e,o)}),r},gr.prototype.evaluateValueOperators=function(e){var t,o,n="",r=[];return e&&(t=e.split(" && "),o=e.split(" || "),r=(1<t.length?(n="&&",t):1<o.length?(n="||",o):(n="",[e])).map(function(e){return T.GPPPurposes[e]||""})),{values:r,operator:n}},gr.prototype.calculateFieldValue=function(e,t){var o;if(e.values.length)switch(e.operator){case"&&":o=this.calculateAndFieldValue(e.values,t);break;case"||":o=this.calculateOrFieldValue(e.values,t);break;default:o=this.calculateSingleFieldValue(e.values[0],t)}else o=0;return o},gr.prototype.calculateOrFieldValue=function(e,t){var o=this;return this.isNotApplicable(e)?0:(e=e.some(function(e){return o.fieldValueCondition(e,t)}),this.calculateFieldValueFromBit(e,t))},gr.prototype.calculateAndFieldValue=function(e,t){var o=this;return this.isNotApplicable(e)?0:(e=e.every(function(e){return o.fieldValueCondition(e,t)}),this.calculateFieldValueFromBit(e,t))},gr.prototype.calculateSingleFieldValue=function(e,t){return e&&this.isValidGroup(e)?(e=this.fieldValueCondition(e,t),this.calculateFieldValueFromBit(e,t)):0},gr.prototype.isValidGroup=function(e){e=e?C.getGroupById(e):null;return!!e&&P.isValidConsentNoticeGroup(e,T.IsIabEnabled)},gr.prototype.calculateFieldValueFromBit=function(e,t){t=t?e?1:0:e?2:1;return t},gr.prototype.isNotApplicable=function(e){var t=this;return!e.some(function(e){return Boolean(e)&&t.isValidGroup(e)})},gr.prototype.fieldValueCondition=function(e,t){return t?Boolean(e):dr.isCategoryActive(e)};var a=gr;function gr(){}D(mr,hr=a),mr.prototype.getSectionFieldsValues=function(){return this.getFieldsValues($n,Zn,er,tr,!0)};var hr,Cr,yr,fr,kr=mr;function mr(){return null!==hr&&hr.apply(this,arguments)||this}(x=Cr=Cr||{}).SaleOptOut="SaleOptOutCID",x.KnownChildSensitiveDataConsents="KnownChildSellPICID",x.TargetedAdvertisingOptOut="TargetedAdvertisingOptOutCID",(x=yr=yr||{}).SharingNotice="SaleOptOutCID || TargetedAdvertisingOptOutCID",x.SaleOptOutNotice="SaleOptOutCID",x.TargetedAdvertisingOptOutNotice="TargetedAdvertisingOptOutCID",(x=fr=fr||{}).SensitiveDataProcessing1="RaceCID",x.SensitiveDataProcessing2="ReligionCID",x.SensitiveDataProcessing3="HealthCID",x.SensitiveDataProcessing4="SexualOrientationCID",x.SensitiveDataProcessing5="ImmigrationCID",x.SensitiveDataProcessing6="GeneticCID",x.SensitiveDataProcessing7="BiometricCID",x.SensitiveDataProcessing8="GeolocationCID";D(Ir,vr=a),Ir.prototype.getSectionFieldsValues=function(){return this.getFieldsValues(Cr,yr,null,fr,!1)};var vr,br,Sr,Pr,Tr,Ar=Ir;function Ir(){return null!==vr&&vr.apply(this,arguments)||this}(x=br=br||{}).SaleOptOut="SaleOptOutCID",x.SharingOptOut="SharingOptOutCID",x.PersonalDataConsents="PersonalDataCID",x.TargetedAdvertisingOptOut="TargetedAdvertisingOptOutCID",(x=Sr=Sr||{}).SharingNotice="SharingOptOutCID",x.SaleOptOutNotice="SaleOptOutCID",x.SharingOptOutNotice="SharingOptOutCID",x.SensitiveDataProcessingOptOutNotice="RaceCID || ReligionCID || HealthCID || SexualOrientationCID || ImmigrationCID || GeneticCID || BiometricCID || GeolocationCID || SensitivePICID || SensitiveSICID || UnionMembershipCID || CommunicationCID",x.SensitiveDataLimitUseNotice="RaceCID || ReligionCID || HealthCID || SexualOrientationCID || ImmigrationCID || GeneticCID || BiometricCID || GeolocationCID || SensitivePICID || SensitiveSICID || UnionMembershipCID || CommunicationCID",x.TargetedAdvertisingOptOutNotice="TargetedAdvertisingOptOutCID",(x=Pr=Pr||{}).KnownChildSensitiveDataConsents1="PDCAboveAgeCID",x.KnownChildSensitiveDataConsents2="PDCBelowAgeCID",(x=Tr=Tr||{}).SensitiveDataProcessing1="RaceCID",x.SensitiveDataProcessing2="ReligionCID",x.SensitiveDataProcessing3="HealthCID",x.SensitiveDataProcessing4="SexualOrientationCID",x.SensitiveDataProcessing5="ImmigrationCID",x.SensitiveDataProcessing6="GeneticCID",x.SensitiveDataProcessing7="BiometricCID",x.SensitiveDataProcessing8="GeolocationCID",x.SensitiveDataProcessing9="SensitivePICID",x.SensitiveDataProcessing10="SensitiveSICID",x.SensitiveDataProcessing11="UnionMembershipCID",x.SensitiveDataProcessing12="CommunicationCID";D(Br,Lr=a),Br.prototype.getSectionFieldsValues=function(){return this.getFieldsValues(br,Sr,Pr,Tr,!0)};var Lr,_r,Er,Vr,Or=Br;function Br(){return null!==Lr&&Lr.apply(this,arguments)||this}(x=_r=_r||{}).SaleOptOut="SaleOptOutCID",x.TargetedAdvertisingOptOut="TargetedAdvertisingOptOutCID",x.KnownChildSensitiveDataConsents="KnownChildSellPICID",(x=Er=Er||{}).SharingNotice="SaleOptOutCID || TargetedAdvertisingOptOutCID",x.SaleOptOutNotice="SaleOptOutCID",x.TargetedAdvertisingOptOutNotice="TargetedAdvertisingOptOutCID",(x=Vr=Vr||{}).SensitiveDataProcessing1="RaceCID",x.SensitiveDataProcessing2="ReligionCID",x.SensitiveDataProcessing3="HealthCID",x.SensitiveDataProcessing4="SexualOrientationCID",x.SensitiveDataProcessing5="ImmigrationCID",x.SensitiveDataProcessing6="GeneticCID",x.SensitiveDataProcessing7="BiometricCID";D(Fr,wr=a),Fr.prototype.getSectionFieldsValues=function(){return this.getFieldsValues(_r,Er,null,Vr,!0)};var wr,Gr,xr,Nr,Dr,Hr=Fr;function Fr(){return null!==wr&&wr.apply(this,arguments)||this}(x=Gr=Gr||{}).SaleOptOut="SaleOptOutCID",x.TargetedAdvertisingOptOut="TargetedAdvertisingOptOutCID",(x=xr=xr||{}).SharingNotice="SaleOptOutCID || TargetedAdvertisingOptOutCID",x.SaleOptOutNotice="SaleOptOutCID",x.TargetedAdvertisingOptOutNotice="TargetedAdvertisingOptOutCID",(x=Nr=Nr||{}).KnownChildSensitiveDataConsents1="KnownChildProcessCID",x.KnownChildSensitiveDataConsents2="KnownChildSellPICID",x.KnownChildSensitiveDataConsents3="KnownChildSharePICID",(x=Dr=Dr||{}).SensitiveDataProcessing1="RaceCID",x.SensitiveDataProcessing2="ReligionCID",x.SensitiveDataProcessing3="HealthCID",x.SensitiveDataProcessing4="SexualOrientationCID",x.SensitiveDataProcessing5="ImmigrationCID",x.SensitiveDataProcessing6="GeneticCID",x.SensitiveDataProcessing7="BiometricCID",x.SensitiveDataProcessing8="GeolocationCID";D(zr,Rr=a),zr.prototype.getSectionFieldsValues=function(){return this.getFieldsValues(Gr,xr,Nr,Dr,!0)};var Rr,qr,Mr,Ur,jr=zr;function zr(){return null!==Rr&&Rr.apply(this,arguments)||this}(x=qr=qr||{}).SaleOptOut="SaleOptOutCID",x.TargetedAdvertisingOptOut="TargetedAdvertisingOptOutCID",x.KnownChildSensitiveDataConsents="KnownChildSellPICID",(x=Mr=Mr||{}).SharingNotice="SaleOptOutCID || TargetedAdvertisingOptOutCID",x.SaleOptOutNotice="SaleOptOutCID",x.TargetedAdvertisingOptOutNotice="TargetedAdvertisingOptOutCID",x.SensitiveDataProcessingOptOutNotice="RaceCID || ReligionCID || SexualOrientationCID || ImmigrationCID || HealthCID || GeneticCID || BiometricCID || GeolocationCID",(x=Ur=Ur||{}).SensitiveDataProcessing1="RaceCID",x.SensitiveDataProcessing2="ReligionCID",x.SensitiveDataProcessing3="SexualOrientationCID",x.SensitiveDataProcessing4="ImmigrationCID",x.SensitiveDataProcessing5="HealthCID",x.SensitiveDataProcessing6="GeneticCID",x.SensitiveDataProcessing7="BiometricCID",x.SensitiveDataProcessing8="GeolocationCID";D(Jr,Kr=a),Jr.prototype.getSectionFieldsValues=function(){return this.getFieldsValues(qr,Mr,null,Ur,!1)};var Kr,Wr=Jr;function Jr(){return null!==Kr&&Kr.apply(this,arguments)||this}Qr.prototype.initGppConsent=function(){this.initTemplateAndSectionInstance(),this.cmpApi.setApplicableSections(this.getApplicableSections(this.gppTemplateApplied));var e=this.readGppCookies(),t=this.getCurrentSectionName(this.gppTemplateApplied),o=!1;e&&(p.needReconsent()?this.deleteAllGppCookies():(this.cmpApi.setGppString(e),o=!0)),this.cmpApi.setCmpStatus(null==(e=this.gppSDKRef)?void 0:e.cmpStatus.LOADED),(t&&!this.cmpApi.hasSection(t)||P.gpcBrowserValueChanged||A.grpsSynced&&0<A.grpsSynced.length)&&this.setOrUpdateGppSectionString(t,o),window.OneTrust.OnConsentChanged(this.updateGppConsentString)},Qr.prototype.initTemplateAndSectionInstance=function(){this.gppTemplateApplied=this.getGppTemplateApplied(),this.gppSection=this.getSectionInstance(this.gppTemplateApplied)},Qr.prototype.setCmpDisplayStatus=function(e){var t;"visible"===e?this.cmpApi.setCmpDisplayStatus(null==(t=this.gppSDKRef)?void 0:t.displayStatus.VISIBLE):"hidden"===e?this.cmpApi.setCmpDisplayStatus(null==(t=this.gppSDKRef)?void 0:t.displayStatus.HIDDEN):"disabled"===e&&this.cmpApi.setCmpDisplayStatus(null==(t=this.gppSDKRef)?void 0:t.displayStatus.DISABLED)},Qr.prototype.setGppCookies=function(e,t){t?this.updateGppCookies(e):(t=this.getCookiesChunk(e),e=Object.keys(t).length,this.writeGppCookies(e,t))},Qr.prototype.readGppCookies=function(){var e=Number(v.readCookieParam(m.OPTANON_CONSENT,Ve.ChunkCountParam)||0);if(e<=1)return 0===e?"":v.getCookie(m.GPP_CONSENT);for(var t="",o=1;o<=e;o++)var n=v.getCookie(""+Ve.Name+o),t=t.concat(n);return t},Qr.prototype.deleteGppCookies=function(e,t){if(0<e&&(1===e&&(v.setCookie(""+Ve.Name,"",0,!0),e++),e<=t))for(var o=e;o<=t;o++)v.setCookie(""+Ve.Name+o,"",0,!0)},Qr.prototype.getSectionInstance=function(e){var t;switch(e){case Ee.CPRA:case Ee.CCPA:t=new kr;break;case Ee.CDPA:t=new Ar;break;case Ee.USNATIONAL:t=new Or;break;case Ee.COLORADO:t=new Hr;break;case Ee.CONNECTICUT:t=new jr;break;case Ee.UCPA:t=new Wr}return t},Qr.prototype.getGppTemplateApplied=function(){return T.UseGPPUSNational?Ee.USNATIONAL:P.getRegionRuleType()},Qr.prototype.initGppSDK=function(){var e,t=Number.parseInt((null==(t=k.moduleInitializer.GppData)?void 0:t.cmpId)||"28");return null==(e=this.gppSDKRef)?void 0:e.gppCmpApi(t,1)},Qr.prototype.setOrUpdateGppSectionString=function(o,e){var n=this,t=this.gppSection.getSectionFieldsValues();Object.entries(t).forEach(function(e){var t=e[0],e=e[1];n.cmpApi.setFieldValue(o,t,e)}),this.cmpApi.fireSectionChange(o),this.setGppCookies(this.cmpApi.getGppString(),e)},Qr.prototype.getCurrentSectionName=function(o){var e,t="",n=Object.entries(Ge).find(function(e){var t=e[0];e[1];return t===o});return t=null!=(e=n)&&e.length&&1<n.length?n[1]:t},Qr.prototype.getCurrentSectionId=function(o){var e,t=0,n=Object.entries(xe).find(function(e){var t=e[0];e[1];return t===o});return t=null!=(e=n)&&e.length&&1<n.length?n[1]:t},Qr.prototype.updateGppCookies=function(e){var e=this.getCookiesChunk(e),t=Object.keys(e).length,o=Number(v.readCookieParam(m.OPTANON_CONSENT,Ve.ChunkCountParam)||0);this.writeGppCookies(t,e),t<o&&this.deleteGppCookies(t+1,o)},Qr.prototype.deleteAllGppCookies=function(){var e=Number(v.readCookieParam(m.OPTANON_CONSENT,Ve.ChunkCountParam)||0);this.deleteGppCookies(1,e)},Qr.prototype.getCookiesChunk=function(e){for(var t={},o=!1,n=e,r=1;n.length;){var i,s=void 0;n.length>Ve.ChunkSize?s=Ve.ChunkSize:(s=n.length,o=1===r),o?(t[Ve.Name]=n,n=""):(i=n.slice(0,s),n=n.slice(s,n.length),t[""+Ve.Name+r]=i),r++}return t},Qr.prototype.writeGppCookies=function(e,t){v.writeCookieParam(m.OPTANON_CONSENT,Ve.ChunkCountParam,e);for(var o=0,n=Object.entries(t);o<n.length;o++){var r=n[o],i=r[0],r=r[1];v.setCookie(i,r,T.ReconsentFrequencyDays)}},Qr.prototype.getSupportedAPIs=function(){return Object.values(Ge).filter(function(e,t,o){return o.indexOf(e)===t})},Qr.prototype.getApplicableSections=function(e){return[this.getCurrentSectionId(e)]};var Yr,Xr=Qr;function Qr(){var e,t=this;this.gppSDKRef=null==(e=window.otIabModule)?void 0:e.gppSdkRef,this.cmpApi=this.initGppSDK(),this.updateGppConsentString=function(){t.cmpApi.getCmpDisplayStatus()===(null==(e=t.gppSDKRef)?void 0:e.displayStatus.VISIBLE)&&t.cmpApi.setCmpDisplayStatus(null==(e=t.gppSDKRef)?void 0:e.displayStatus.HIDDEN);var e=t.getCurrentSectionName(t.gppTemplateApplied);t.setOrUpdateGppSectionString(e,!0)}}ei.prototype.showBanner=function(){var e=P.bannerName,t=I(this.El);A.skipAddingHTML&&"none"===getComputedStyle(t.el[0]).getPropertyValue("display")&&e!==dt&&e!==ct&&e!==gt?t.css("display: block;"):T.BAnimation===be.SlideIn?this.slideInAnimation(t,e):T.BAnimation===be.FadeIn&&t.addClass("ot-fade-in")},ei.prototype.insertAlertHtml=function(){T.IsGPPEnabled&&Yr.setCmpDisplayStatus("visible");function e(e){return t.querySelector(e)}var t=document.createDocumentFragment(),o=document.createElement("div"),o=(I(o).html(_.bannerGroup.html),o.querySelector("#onetrust-banner-sdk"));this.setAriaModalForBanner(o),k.fp.CookieV2SSR?(I(t).append(o),this._rejectBtn=e("#onetrust-reject-all-handler"),this._acceptBtn=e("#onetrust-accept-btn-handler")):this.insertHtmlForNonSSRFlow(o,t,e,function(e){return t.querySelectorAll(e)}),this.ssrAndNonSSRCommonHtml(t)},ei.prototype.insertHtmlForNonSSRFlow=function(e,t,o,n){var r,i,s=P.bannerName;_.bannerGroup&&(T.BannerRelativeFontSizesToggle&&I(e).addClass("otRelFont"),(T.BInitialFocus||T.BInitialFocusLinkAndButton)&&(e.setAttribute("tabindex","0"),e.setAttribute("role","main")),T.useRTL&&I(e).attr("dir","rtl"),P.isIab2orv2Template&&T.BannerDPDDescription.length&&I(e).addClass("ot-iab-2"),(r=T.BannerPosition)&&("bottom-left"===r?I(e).addClass("ot-bottom-left"):"bottom-right"===r?I(e).addClass("ot-bottom-right"):I(e).addClass(r)),I(t).append(e),this.setBannerData(o),r=this.setIAB2HtmlData(o),this.setAcceptAndRejectBtnHtml(o),t=this.htmlForBannerButtons(e,o,n),n=T.showBannerCloseButton,i=T.BCloseButtonType===Se.Link,this.setWidthForFlatBanner(o,r,t),n&&s===pt&&P.isIab2orv2Template&&!i&&((t=o(".banner-close-btn-container")).parentElement.removeChild(t),I(e).el.insertAdjacentElement("beforeEnd",t),I(o("#onetrust-banner-sdk .ot-sdk-container")).addClass("ot-top-cntr")),this.setBannerOptions(o,r),this.setBannerLogo(e,o))},ei.prototype.setBannerOptions=function(e,t){var o=this,n=P.bannerName,r=this.isCmpEnabled(),i=[{type:"purpose",titleKey:"BannerPurposeTitle",descriptionKey:"BannerPurposeDescription",identifier:"purpose-option"},{type:"feature",titleKey:"BannerFeatureTitle",descriptionKey:"BannerFeatureDescription",identifier:"feature-option"},{type:"information",titleKey:"BannerInformationTitle",descriptionKey:"BannerInformationDescription",identifier:"information-option"}],s=I(e(this._bannerOptionsSelector)).el;r?(n===ut?this.setFloatingRoundedIconBannerCmpOptions(e,i):(this.setCmpBannerOptions(e,i),n===ht&&t.el.insertAdjacentElement("beforeend",s)),I(window).on("resize",function(){window.innerWidth<=896&&o.setBannerOptionContent()})):(P.bannerName===pt&&(s=I(e(".banner-options-card")).el),b.removeChild(s))},ei.prototype.setWidthForFlatBanner=function(e,t,o){var n=P.bannerName,r=T.showBannerCloseButton,i=this.hasNoActionButtons();n===ct&&(P.isIab2orv2Template&&(t.removeClass("ot-sdk-eight"),T.showBannerAcceptButton&&o.insertAdjacentElement("afterbegin",this._acceptBtn),T.showBannerCookieSettings)&&o.insertAdjacentElement("beforeend",e("#onetrust-pc-btn-handler")),r&&!i&&P.isIab2orv2Template?t.addClass("ot-sdk-nine"):r&&i?t.addClass("ot-sdk-eleven"):!r&&i?t.addClass("ot-sdk-twelve"):r||i||!P.isIab2orv2Template||(t.addClass("ot-sdk-ten"),I(e(this._btnGrpParentSelector)).addClass("ot-sdk-two"),I(e(this._btnGrpParentSelector)).removeClass("ot-sdk-three")))},ei.prototype.hasNoActionButtons=function(){return!T.showBannerAcceptButton&&!T.showBannerCookieSettings&&!T.BannerShowRejectAllButton},ei.prototype.htmlForBannerButtons=function(e,t,o){var n=P.bannerName,r=(this.hasNoActionButtons()&&t(this._btnGrpParentSelector).parentElement.removeChild(t(this._btnGrpParentSelector)),T.showBannerCloseButton),i=I(o(".banner-close-button")).el,s=t("#onetrust-button-group"),a=T.BCloseButtonType===Se.Link;if(r)for(l=0;l<i.length;l++)a?(I(i[l]).html(T.BContinueText),I(e).addClass("ot-close-btn-link"),I(i[l]).addClass("ot-close-link"),I(i[l]).removeClass("onetrust-close-btn-ui"),I(i[l]).removeClass("ot-close-icon"),n!==pt&&n!==ut||(s.insertAdjacentElement("afterbegin",t(".onetrust-close-btn-handler").parentElement),I(i[l]).attr("tabindex","1"))):(y.setCloseIcon(t("#onetrust-banner-sdk .ot-close-icon")),I(i[l]).el.setAttribute(Lt,T.BannerCloseButtonText||"Close Cookie Banner"));else{for(var l=0;l<i.length;l++)I(i[l].parentElement).el.removeChild(i[l]);n!==ct&&n!==ut||b.removeChild(t("#onetrust-close-btn-container-mobile"))}return s},ei.prototype.setAcceptAndRejectBtnHtml=function(e){var t=P.bannerName,e=(T.showBannerAcceptButton?(this._acceptBtn=e("#onetrust-accept-btn-handler"),I(this._acceptBtn).html(T.AlertAllowCookiesText),t!==gt||T.showBannerCookieSettings||T.BannerShowRejectAllButton||I(this._acceptBtn.parentElement).addClass("accept-btn-only")):b.removeChild(e("#onetrust-accept-btn-handler")),T.BannerShowRejectAllButton&&T.BannerRejectAllButtonText.trim()?(this._rejectBtn=e("#onetrust-reject-all-handler"),I(this._rejectBtn).html(T.BannerRejectAllButtonText),e(this._btnGrpParentSelector).classList.add("has-reject-all-button")):(b.removeChild(e("#onetrust-reject-all-handler")),b.removeChild(e("#onetrust-reject-btn-container"))),I(e("#onetrust-pc-btn-handler")));T.showBannerCookieSettings?(e.html(T.AlertMoreInfoText),T.BannerSettingsButtonDisplayLink&&e.addClass("cookie-setting-link"),t!==gt||T.showBannerAcceptButton||e.addClass("cookie-settings-btn-only")):b.removeChild(e.el)},ei.prototype.setIAB2HtmlData=function(e){var t=P.bannerName,o=(P.isIab2orv2Template&&T.BannerDPDDescription.length&&t!==ht?(I(e(".ot-dpd-container .ot-dpd-title")).html(T.BannerDPDTitle),I(e(".ot-dpd-container .ot-dpd-desc")).html(T.BannerDPDDescription.join(", "))):b.removeChild(e(".ot-dpd-container")),I(e(this._otGrpContainerSelector))),t=(P.isIab2orv2Template&&T.BannerAdditionalDescription.trim()&&this.setAdditionalDesc(e),P.isIab2orv2Template&&T.BannerDPDDescription.length?t!==ht?I(e(".ot-dpd-container .ot-dpd-desc")):o:I(e("#onetrust-policy-text")));return T.IsIabEnabled&&T.BannerIABPartnersLink&&t.append('<button class="ot-link-btn onetrust-vendors-list-handler">\n '+T.BannerIABPartnersLink+"\n </button>"),o},ei.prototype.setBannerData=function(e){T.BannerTitle?(I(e("#onetrust-policy-title")).html(T.BannerTitle),I(e('[role="alertdialog"]')).attr(Lt,T.BannerTitle)):(b.removeChild(e("#onetrust-policy-title")),I(e("#onetrust-banner-sdk")).addClass("ot-wo-title"),I(e('[role="alertdialog"]')).attr(Lt,T.AriaPrivacy)),!T.IsIabEnabled&&A.showGeneralVendors&&T.BannerNonIABVendorListText&&((o=document.createElement("div")).setAttribute("id","ot-gv-link-ctnr"),I(o).html('<button class="ot-link-btn ot-gv-list-handler">'+T.BannerNonIABVendorListText+"</button>"),I(e("#onetrust-policy")).el.appendChild(o));var t,o="[VENDOR_NUMBER]",n=T.AlertNoticeText;P.isIab2orv2Template&&-1<n.indexOf(o)&&(t='<span class="ot-tcf2-vendor-count ot-text-bold">'+P.tcf2ActiveVendors.all.toString()+"</span>",n=n.split(o).join(t)),I(e("#onetrust-policy-text")).html(n),T.BShowPolicyLink&&T.BShowImprintLink&&I(e(this.cookiePolicyLinkSelector)).length?(I(e("#onetrust-policy-text a:first-child")).attr(Lt,T.BCookiePolicyLinkScreenReader),I(e("#onetrust-policy-text a:last-child")).attr(Lt,T.BImprintLinkScreenReader)):T.BShowPolicyLink&&I(e(this.cookiePolicyLinkSelector)).length?I(e(this.cookiePolicyLinkSelector)).attr(Lt,T.BCookiePolicyLinkScreenReader):T.BShowImprintLink&&I(e(this.cookiePolicyLinkSelector)).length&&I(e(this.cookiePolicyLinkSelector)).attr(Lt,T.BImprintLinkScreenReader)},ei.prototype.isCmpEnabled=function(){return T.BannerPurposeTitle||T.BannerPurposeDescription||T.BannerFeatureTitle||T.BannerFeatureDescription||T.BannerInformationTitle||T.BannerInformationDescription},ei.prototype.ssrAndNonSSRCommonHtml=function(t){function e(e){return t.querySelector(e)}var o=this,n=this.isCmpEnabled(),r=(this.setOptOutSignalNotification(e),T.BRegionAriaLabel&&(I(e("#onetrust-banner-sdk")).attr("role","region"),I(e("#onetrust-banner-sdk")).attr(Lt,T.BRegionAriaLabel)),P.bannerName===ht&&k.moduleInitializer.IsSuppressPC&&(A.dataGroupState=T.Groups.filter(function(e){return e.Order})),P.bannerName===ht&&(this._fourBtns=T.BannerShowRejectAllButton&&T.showBannerAcceptButton&&T.showBannerCookieSettings&&T.BShowSaveBtn,this._saveBtn=e(".ot-bnr-save-handler"),this._settingsBtn=e("#onetrust-pc-btn-handler"),this._btnsCntr=e(".banner-actions-container"),T.BShowSaveBtn?I(this._saveBtn).html(T.BSaveBtnTxt):(b.removeChild(this._saveBtn),this._saveBtn=null),y.insertFooterLogo(t.querySelectorAll(".ot-bnr-footer-logo a")),this._descriptCntr=e(".ot-cat-lst"),this.setBannerBtn(),window.addEventListener("resize",function(){o.setBannerBtn()}),this._fourBtns&&I(e("#onetrust-banner-sdk")).addClass("has-reject-all-button"),this.insertGrps(e)),document.createElement("div"));I(r).append(t),P.ignoreInjectingHtmlCss||(I("#onetrust-consent-sdk").append(r.firstChild),n&&this.setBannerOptionContent()),this.setBnrBtnGrpAlignment()},ei.prototype.setAriaModalForBanner=function(e){T.ForceConsent&&e.querySelector('[role="alertdialog"]').setAttribute("aria-modal","true")},ei.prototype.setBnrBtnGrpAlignment=function(){var e=I(this._otGrpContainerSelector).el,t=I(this._btnGrpParentSelector).el,e=((e.length&&e[0].clientHeight)<(t.length&&t[0].clientHeight)?I("#onetrust-banner-sdk").removeClass("vertical-align-content"):I("#onetrust-banner-sdk").addClass("vertical-align-content"),document.querySelector("#onetrust-button-group-parent button:first-of-type")),t=document.querySelector("#onetrust-button-group-parent button:last-of-type");t&&e&&1<Math.abs(t.offsetTop-e.offsetTop)&&I("#onetrust-banner-sdk").addClass("ot-buttons-fw")},ei.prototype.slideInAnimation=function(e,t){t===ct?"bottom"===T.BannerPosition?(e.css("bottom: -99px;"),e.animate({bottom:"0px"},1e3),A.bnrAnimationInProg=!0,setTimeout(function(){e.css("bottom: 0px;"),A.bnrAnimationInProg=!1},1e3)):(e.css("top: -99px; bottom: auto;"),P.pagePushedDown&&!Ln.checkIsBrowserIE11OrBelow()?Ln.BannerPushDownHandler():(e.animate({top:"0"},1e3),A.bnrAnimationInProg=!0,setTimeout(function(){e.css("top: 0px; bottom: auto;"),A.bnrAnimationInProg=!1},1e3))):t!==dt&&t!==gt||(e.css("bottom: -300px;"),e.animate({bottom:"1em"},2e3),A.bnrAnimationInProg=!0,setTimeout(function(){e.css("bottom: 1rem;"),A.bnrAnimationInProg=!1},2e3))},ei.prototype.setBannerBtn=function(){window.innerWidth<=600?(b.insertElement(this._btnsCntr,this._settingsBtn,"afterbegin"),b.insertElement(this._btnsCntr,this._saveBtn,"afterbegin"),b.insertElement(this._btnsCntr,this._acceptBtn,"afterbegin"),b.insertElement(this._btnsCntr,this._rejectBtn,"afterbegin")):this._fourBtns?(this._descriptCntr.insertAdjacentElement("beforeend",this._settingsBtn),this._acceptBtn.insertAdjacentElement("beforebegin",this._rejectBtn),this._btnsCntr.insertAdjacentElement("beforebegin",this._saveBtn)):(b.insertElement(this._btnsCntr,this._settingsBtn,"beforebegin"),b.insertElement(this._btnsCntr,this._saveBtn,this._settingsBtn?"afterbegin":"beforebegin"),b.insertElement(this._btnsCntr,this._rejectBtn,"beforeend"),b.insertElement(this._btnsCntr,this._acceptBtn,"beforeend"))},ei.prototype.setCmpBannerOptions=function(n,e){var r=I(n("#banner-options .banner-option")).el.cloneNode(!0),i=(I(n(this._bannerOptionsSelector)).html(""),1);e.forEach(function(e){var t=r.cloneNode(!0),o=T[e.titleKey],e=T[e.descriptionKey];(o||e)&&(t.querySelector(".banner-option-header :first-child").innerHTML=o,o=t.querySelector(".banner-option-details"),e?(o.setAttribute("id","option-details-"+i++),o.innerHTML=e):o.parentElement.removeChild(o),I(n("#banner-options")).el.appendChild(t))})},ei.prototype.setFloatingRoundedIconBannerCmpOptions=function(r,e){var i=this,s=I(r("#banner-options button")).el.cloneNode(!0),n=I(r(".banner-option-details")).el.cloneNode(!0);I(r(this._bannerOptionsSelector)).html(""),e.forEach(function(e){var t=s.cloneNode(!0),o=T[e.titleKey],n=T[e.descriptionKey];(o||n)&&(t.setAttribute("id",e.identifier),t.querySelector(".banner-option-header :first-child").innerHTML=o,I(r(i._bannerOptionsSelector)).el.appendChild(t))}),e.forEach(function(e){var t,o=T[e.descriptionKey];o&&((t=n.cloneNode(!0)).innerHTML=o,t.classList.add(e.identifier),I(r(i._bannerOptionsSelector)).el.appendChild(t))})},ei.prototype.setBannerOptionContent=function(){var t=this;P.bannerName!==ct&&P.bannerName!==ut||setTimeout(function(){var e;(window.innerWidth<769?(e=I(t._bannerOptionsSelector).el[0],I(t._otGrpContainerSelector)):(e=I(t._bannerOptionsSelector).el[0],P.bannerName===ut?I(".banner-content"):I("#onetrust-banner-sdk .ot-sdk-container"))).el[0].appendChild(e)})},ei.prototype.setAdditionalDesc=function(e){var t=T.BannerAdditionalDescPlacement,o=document.createElement("span"),n=(o.classList.add("ot-b-addl-desc"),o.innerHTML=T.BannerAdditionalDescription,e("#onetrust-policy-text"));t===le.AfterTitle?n.insertAdjacentElement("beforeBegin",o):t===le.AfterDescription?n.insertAdjacentElement("afterEnd",o):t===le.AfterDPD&&(n=e(".ot-dpd-container .ot-dpd-desc"),(n=T.ChoicesBanner?e(this._otGrpContainerSelector):n).insertAdjacentElement("beforeEnd",o))},ei.prototype.insertGrps=function(e){var c=e(".ot-cat-item").cloneNode(!0),d=(b.removeChild(e(".ot-cat-item")),T.BCategoryStyle===ve.Checkbox?b.removeChild(c.querySelector(".ot-tgl")):(b.removeChild(c.querySelector(".ot-chkbox")),I(c).addClass("ot-cat-bdr")),e(".ot-cat-lst ul"));T.Groups.forEach(function(e){var t=c.cloneNode(!0),o=t.querySelector(".ot-tgl,.ot-chkbox"),n=e.GroupName,r=e.CustomGroupId,i="ot-bnr-grp-id-"+r,s="ot-bnr-hdr-id-"+r,a=-1!==Gt.indexOf(e.Type),l=C.getGrpStatus(e).toLowerCase()===Qe||a,a=E.isGroupActive(e)||a,e=(I(o.querySelector("label")).attr("for",i),I(o.querySelector(".ot-label-txt")).html(e.GroupName),o.querySelector("input")),l=(l&&(T.BCategoryStyle===ve.Toggle?(b.removeChild(o),t.insertAdjacentElement("beforeend",I("<div class='ot-always-active'>"+T.AlwaysActiveText+"</div>","ce").el)):I(e).attr("disabled",!0)),e.classList.add("category-switch-handler"),E.setInputID(e,i,r,a,s),t.querySelector("h4"));I(l).html(n),I(l).attr("id",s),I(d).append(t)})},ei.prototype.setBannerLogo=function(e,t){var o,n;k.fp.CookieV2BannerLogo&&T.BnrLogo&&(o=t(vn),n="afterend",P.bannerName===ut&&(o=t("#onetrust-cookie-btn"),n="beforeend"),t=y.updateCorrectUrl(T.BnrLogo),I(e).addClass("ot-bnr-w-logo"),I(o).el.innerHTML="",o.insertAdjacentHTML(n,"<img class='ot-bnr-logo' src='"+t+"'\n title='"+T.BnrLogoAria+"'\n alt='"+T.BnrLogoAria+"'/>"))},ei.prototype.setOptOutSignalNotification=function(e){var t=!0===navigator.globalPrivacyControl&&P.gpcForAGrpEnabled;T.BShowOptOutSignal&&(t||P.previewMode)&&y.createOptOutSignalElement(e,!1)};var $r,Zr=ei;function ei(){this.El="#onetrust-banner-sdk",this._saveBtn=null,this._settingsBtn=null,this._acceptBtn=null,this._rejectBtn=null,this._descriptCntr=null,this._btnsCntr=null,this._fourBtns=!1,this._bannerOptionsSelector="#banner-options",this._btnGrpParentSelector="#onetrust-button-group-parent",this._otGrpContainerSelector="#onetrust-group-container",this.cookiePolicyLinkSelector="#onetrust-policy-text a"}oi.prototype.setHeaderConfig=function(){u.setHeader(),u.setSearchInput(),u.setHeaderUIConsent();var e=u.getGroupsForFilter();Jn.setFilterListByGroup(e,!1)},oi.prototype.filterVendorByString=function(e){u.searchQuery=e,u.filterVendorByGroupOrQuery()},oi.prototype.filterVendorByGroup=function(e){u.filterGroups=e,u.filterVendorByGroupOrQuery()},oi.prototype.showVSList=function(){u.removeListeners(),u.showEmptyResults(!1,""),u.clearUIElementsInMain(),u.addVSList(A.getVendorsInDomain())},oi.prototype.showEmptyResults=function(e,t){e?this.setNoResultsContent(t):(I("#onetrust-pc-sdk "+S.P_Vendor_Content).removeClass("no-results"),(e=I("#onetrust-pc-sdk #no-results")).length&&e.remove())},oi.prototype.setNoResultsContent=function(e){var t,o,n,r,i=I("#onetrust-pc-sdk #no-results").el[0];if(!i)return t=document.createElement("div"),o=document.createElement("p"),n=document.createTextNode(" "+T.PCVendorNotFound+"."),r=document.createElement("span"),t.id="no-results",r.id="user-text",r.innerText=e,o.appendChild(r),o.appendChild(n),t.appendChild(o),I("#onetrust-pc-sdk "+S.P_Vendor_Content).addClass("no-results"),I("#vendor-search-handler").el[0].setAttribute("aria-describedby",t.id),I("#onetrust-pc-sdk "+S.P_Vendor_Content).append(t);i.querySelector("span").innerText=e},oi.prototype.getGroupsFilter=function(){for(var e=[],t=0,o=I("#onetrust-pc-sdk .category-filter-handler").el;t<o.length;t++){var n=o[t],r=n.getAttribute("data-purposeid");n.checked&&e.push(r)}return e},oi.prototype.cancelFilter=function(){for(var e=0,t=I("#onetrust-pc-sdk .category-filter-handler").el;e<t.length;e++){var o=t[e],n=o.getAttribute("data-optanongroupid"),n=0<=A.filterByCategories.indexOf(n);b.setCheckedAttribute(null,o,n)}var r=u.getGroupsFilter();u.filterVendorByGroup(r)},oi.prototype.clearFilter=function(){u.searchQuery="",u.filterGroups=[]},oi.prototype.toggleVendors=function(r){A.getVendorsInDomain().forEach(function(e,t){var o,n;C.isAlwaysActiveGroup(e.groupRef)||(o=document.getElementById("ot-vendor-id-"+t),n=document.getElementById("ot-vs-lst-id-"+t),V.toggleVendorService(e.groupRef.CustomGroupId,t,r,o),V.toggleVendorService(e.groupRef.CustomGroupId,t,r,n))})},oi.prototype.hideVendorList=function(){u.removeListeners(),u.clearUIElementsInMain()},oi.prototype.addListeners=function(){I("#onetrust-pc-sdk "+S.P_Vendor_Content+" .ot-vs-list .category-switch-handler").on("click",u.toggleVendorHandler),I("#onetrust-pc-sdk").on("click",".ot-vs-list",B.onCategoryItemToggle.bind(this))},oi.prototype.removeListeners=function(){var e;document.querySelectorAll("#onetrust-pc-sdk .ot-vs-list .category-switch-handler").forEach(function(e){return e.removeEventListener("click",B.toggleGroupORVendorHandler)}),null!=(e=document.querySelector("#onetrust-pc-sdk .ot-vs-list"))&&e.removeEventListener("click",B.onCategoryItemToggle)},oi.prototype.toggleVendorHandler=function(e){B.toggleVendorFromListHandler(e),u.checkAllowAllCheckedValue()},oi.prototype.filterVendorByGroupOrQuery=function(){var o=new Map;A.getVendorsInDomain().forEach(function(e,t){u.checkVendorConditions(e)&&o.set(t,e)}),u.showEmptyResults(o.size<=0,u.searchQuery),u.removeListeners(),u.clearUIElementsInMain(),u.addVSList(o)},oi.prototype.checkVendorConditions=function(e){return!(""!==u.searchQuery&&e.ServiceName.toLowerCase().indexOf(u.searchQuery.toLowerCase())<0||0<u.filterGroups.length&&u.filterGroups.indexOf(e.groupRef.CustomGroupId)<0)},oi.prototype.addVSList=function(e){var t=I("#onetrust-pc-sdk "+S.P_Vendor_Content+" .ot-sdk-column"),e=V.getVendorListEle(e);t.append(e),u.addListeners()},oi.prototype.getGroupsForFilter=function(){var t=new Map;return A.getVendorsInDomain().forEach(function(e){t.has(e.groupRef.CustomGroupId)||t.set(e.groupRef.CustomGroupId,e.groupRef)}),Array.from(t.values())},oi.prototype.clearUIElementsInMain=function(){I("#onetrust-pc-sdk "+S.P_Vendor_Content+" ul"+S.P_Host_Cntr).html(""),I("#onetrust-pc-sdk "+S.P_Vendor_Content+" ul"+S.P_Host_Cntr).hide(),I("#onetrust-pc-sdk "+S.P_Vendor_Content+" ul"+S.P_Vendor_Container).html(""),I("#onetrust-pc-sdk "+S.P_Vendor_Content+" ul"+S.P_Vendor_Container).hide();var e=I("#onetrust-pc-sdk "+S.P_Vendor_Content+" .ot-vs-list");e&&e.length&&e.remove()},oi.prototype.setHeader=function(){var e=T.VendorServiceConfig.PCVSListTitle,t=document.querySelector("#onetrust-pc-sdk "+S.P_Vendor_Title);t&&(t.innerText=e)},oi.prototype.setSearchInput=function(){var e=T.PCenterCookieListSearch,t=T.PCenterCookieSearchAriaLabel,o=I("#onetrust-pc-sdk "+S.P_Vendor_Search_Input);o.el[0].placeholder=e,o.attr("aria-label",t)},oi.prototype.setHeaderUIConsent=function(){var e,t,o;I("#onetrust-pc-sdk "+S.P_Select_Cntr).addClass("ot-vnd-list-cnt"),I("#onetrust-pc-sdk "+S.P_Select_Cntr+" .ot-sel-all").addClass("ot-vs-selc-all"),T.PCCategoryStyle===ve.Toggle&&(I("#onetrust-pc-sdk "+S.P_Select_Cntr+" .ot-sel-all").addClass("ot-toggle-conf"),T.PCAccordionStyle===ce.Caret)&&I("#onetrust-pc-sdk "+S.P_Select_Cntr+" .ot-sel-all").addClass("ot-caret-conf"),I("#onetrust-pc-sdk "+S.P_Leg_Select_All).hide(),I("#onetrust-pc-sdk #"+S.P_Sel_All_Host_El).hide(),I("#onetrust-pc-sdk "+S.P_Host_Cntr).hide(),I(S.P_Vendor_List+" #select-all-text-container").hide(),I("#onetrust-pc-sdk #"+S.P_Sel_All_Vendor_Leg_El).hide(),I("#onetrust-pc-sdk "+S.P_Vendor_Container).show(),I("#onetrust-pc-sdk "+S.P_Select_Cntr).show(),I("#onetrust-pc-sdk #"+S.P_Sel_All_Vendor_Consent_El).show("inline-block"),I("#onetrust-pc-sdk "+S.P_Vendor_List).removeClass(S.P_Host_UI),I("#onetrust-pc-sdk "+S.P_Vendor_Content).removeClass(S.P_Host_Cnt),document.querySelector("#onetrust-pc-sdk .ot-sel-all-chkbox .sel-all-hdr")||((e=document.createElement("h4")).className="sel-all-hdr",e.textContent=(null==(t=T.VendorServiceConfig)?void 0:t.PCVSAllowAllText)||"PCVSAllowAllText",t=document.querySelector("#onetrust-pc-sdk .ot-sel-all-chkbox"),o=T.PCCategoryStyle===ve.Checkbox?"beforeend":"afterbegin",t.insertAdjacentElement(o,e)),u.checkAllowAllCheckedValue()},oi.prototype.checkAllowAllCheckedValue=function(){var t=!0,e=(A.vsConsent.forEach(function(e){e||(t=!1)}),document.getElementById("#select-all-vendor-groups-handler"));b.setCheckedAttribute(null,e,t)};var u,ti=oi;function oi(){this.searchQuery="",this.filterGroups=[]}w.prototype.initCookieSettingHandlers=function(){I(document).on("click",".optanon-show-settings, .optanon-toggle-display, .ot-sdk-show-settings, .ot-pc-handler",this.cookiesSettingsBoundListener)},w.prototype.initFlgtCkStgBtnEventHandlers=function(){I(".ot-floating-button__open").on("click",B.floatingCookieSettingOpenBtnClicked),I(".ot-floating-button__close").on("click",B.floatingCookieSettingCloseBtnClicked)},w.prototype.floatingCookieSettingOpenBtnClicked=function(e){I(B.fltgBtnSltr).addClass("ot-pc-open"),T.cookiePersistentLogo.includes("ot_guard_logo.svg")&&I(B.fltgBtnFSltr).attr(_t,"true"),I(B.fltgBtnBSltr).attr(_t,""),I(B.fltgBtnFrontBtn).el[0].setAttribute(_t,!0),I(B.fltgBtnFrontBtn).el[0].setAttribute("display","none"),I(B.fltgBtnBackBtn).el[0].setAttribute(Lt,T.AriaClosePreferences),I(B.fltgBtnBackBtn).el[0].setAttribute(_t,!1),I(B.fltgBtnBackBtn).el[0].removeAttribute("display"),c.triggerGoogleAnalyticsEvent(Vo,qo),B.showCookieSettingsHandler(e)},w.prototype.floatingCookieSettingCloseBtnClicked=function(e){I(B.fltgBtnFrontBtn).el[0].setAttribute(Lt,T.AriaOpenPreferences),I(B.fltgBtnFrontBtn).el[0].setAttribute(_t,!1),I(B.fltgBtnFrontBtn).el[0].removeAttribute("display"),I(B.fltgBtnBackBtn).el[0].setAttribute(_t,!0),I(B.fltgBtnBackBtn).el[0].setAttribute("display","none"),e&&(c.triggerGoogleAnalyticsEvent(Vo,Mo),B.hideCookieSettingsHandler(e))},w.prototype.initialiseLegIntBtnHandlers=function(){I(document).on("click",".ot-obj-leg-btn-handler",B.onLegIntButtonClick),I(document).on("click",".ot-remove-objection-handler",B.onLegIntButtonClick)},w.prototype.initialiseAddtlVenHandler=function(){I("#onetrust-pc-sdk #ot-addtl-venlst").on("click",B.selectVendorsGroupHandler),I("#onetrust-pc-sdk #ot-selall-adtlven-handler").on("click",B.selAllAdtlVenHandler)},w.prototype.initializeGenVenHandlers=function(){I("#onetrust-pc-sdk #ot-gn-venlst .ot-gnven-chkbox-handler").on("click",B.genVendorToggled),I("#onetrust-pc-sdk #ot-gn-venlst .ot-gv-venbox").on("click",B.genVendorDetails),I("#onetrust-pc-sdk #ot-selall-gnven-handler").on("click",B.selectAllGenVenHandler)},w.prototype.initialiseConsentNoticeHandlers=function(){var e=this,t=37,o=39;P.pcName===g&&B.categoryMenuSwitchHandler(),I("#onetrust-pc-sdk .onetrust-close-btn-handler").on("click",B.bannerCloseButtonHandler),I("#onetrust-pc-sdk #accept-recommended-btn-handler").on("click",G.allowAllEventHandler.bind(this,!0)),I("#onetrust-pc-sdk .ot-pc-refuse-all-handler").on("click",G.rejectAllEventHandler.bind(this,!0)),I("#onetrust-pc-sdk #close-pc-btn-handler").on("click",B.hideCookieSettingsHandler),I(document).on("keydown",B.closePCWhenEscPressed),I("#onetrust-pc-sdk #vendor-close-pc-btn-handler").on("click",B.hideCookieSettingsHandler),I("#onetrust-pc-sdk .category-switch-handler").on("click",B.toggleGroupORVendorHandler),I("#onetrust-pc-sdk .cookie-subgroup-handler").on("click",B.toggleSubCategory),I("#onetrust-pc-sdk .category-menu-switch-handler").on("keydown",function(e){P.pcName!==g||e.keyCode!==t&&e.keyCode!==o||(T.PCTemplateUpgrade?B.changeSelectedTabV2(e):B.changeSelectedTab(e))}),I("#onetrust-pc-sdk").on("click",S.P_Category_Item+" > input:first-child,"+S.P_Category_Item+" > button:first-child",B.onCategoryItemToggle.bind(this)),(T.showCookieList||A.showGeneralVendors)&&(I("#onetrust-pc-sdk .category-host-list-handler").on("click",function(e){A.showGeneralVendors&&T.showCookieList?A.cookieListType=ye.HostAndGenVen:A.showGeneralVendors?A.cookieListType=ye.GenVen:A.cookieListType=ye.Host,B.pcLinkSource=e.target,B.loadCookieList(e.target)}),y.isOptOutEnabled()?(I("#onetrust-pc-sdk #select-all-hosts-groups-handler").on("click",B.selectAllHostsGroupsHandler),I("#onetrust-pc-sdk "+S.P_Host_Cntr).on("click",B.selectHostsGroupHandler)):I("#onetrust-pc-sdk "+S.P_Host_Cntr).on("click",B.toggleAccordionStatus)),B.addListenerWhenIabEnabled(),B.addEventListenerWhenIsHostOrVendorsAreEnabled(),B.adddListenerWhenNoBanner(),I("#onetrust-pc-sdk .ot-gv-list-handler").on("click",function(t){return R(e,void 0,void 0,function(){return q(this,function(e){return A.cookieListType=ye.GenVen,B.loadCookieList(t.target),[2]})})}),B.addListenerWhenVendorServices()},w.prototype.addEventListenerWhenIsHostOrVendorsAreEnabled=function(){var e;(T.IsIabEnabled||T.showCookieList||A.showGeneralVendors||A.showVendorService)&&(I(document).on("click",".back-btn-handler",B.backBtnHandler),B.addListenerSearchKeyEvent(),I("#onetrust-pc-sdk #filter-btn-handler").on("click",B.toggleVendorFiltersHandler),I("#onetrust-pc-sdk #filter-apply-handler").on("click",B.applyFilterHandler),I("#onetrust-pc-sdk "+S.P_Fltr_Modal).on("click",B.tglFltrOptionHandler),!k.isV2Template&&P.pcName!==mt||I("#onetrust-pc-sdk #filter-cancel-handler").on("click",B.cancelFilterHandler),!k.isV2Template&&P.pcName===mt||I("#onetrust-pc-sdk #clear-filters-handler").on("click",B.clearFiltersHandler),k.isV2Template?I("#onetrust-pc-sdk #filter-cancel-handler").on("keydown",function(e){9!==e.keyCode&&"tab"!==e.code||e.shiftKey||(e.preventDefault(),I("#onetrust-pc-sdk #clear-filters-handler").el[0].focus())}):I("#onetrust-pc-sdk #filter-apply-handler").on("keydown",function(e){9!==e.keyCode&&"tab"!==e.code||e.shiftKey||(e.preventDefault(),I("#onetrust-pc-sdk .category-filter-handler").el[0].focus())}),e=I("#onetrust-pc-sdk .category-filter-handler").el,I(e[0]).on("keydown",function(e){9!==e.keyCode&&"tab"!==e.code||!e.shiftKey||(e.preventDefault(),I("#onetrust-pc-sdk #filter-apply-handler").el[0].focus())}))},w.prototype.addListenerSearchKeyEvent=function(){I(B.VENDOR_SEARCH_SELECTOR).on("keyup",function(e){e=e.target.value.trim();B.currentSearchInput!==e&&(A.showVendorService?u.filterVendorByString(e):B.isCookieList?(h.searchHostList(e),A.showTrackingTech&&B.addEventAdditionalTechnologies()):(h.loadVendorList(e,[]),T.UseGoogleVendors&&h.searchVendors(h.googleSearchSelectors,A.addtlVendorsList,me.GoogleVendor,e),A.showGeneralVendors&&T.GeneralVendors.length&&h.searchVendors(h.genVendorSearchSelectors,T.GeneralVendors,me.GeneralVendor,e)),h.playSearchStatus(B.isCookieList),B.currentSearchInput=e)})},w.prototype.addListenerWhenIabEnabled=function(){T.IsIabEnabled&&(I("#onetrust-pc-sdk .category-vendors-list-handler").on("click",function(e){B.pcLinkSource=e.target,B.showVendorsList(e.target)}),I("#onetrust-pc-sdk "+S.P_Vendor_Container).on("click",B.selectVendorsGroupHandler),T.UseGoogleVendors||B.bindSelAllHandlers(),B.initialiseLegIntBtnHandlers())},w.prototype.adddListenerWhenNoBanner=function(){T.NoBanner&&(T.OnClickCloseBanner&&document.body.addEventListener("click",G.bodyClickEvent),T.ScrollCloseBanner)&&window.addEventListener("scroll",G.scrollCloseBanner)},w.prototype.addListenerWhenVendorServices=function(){A.showVendorService&&(B.bindSelAllHandlers(),I("#onetrust-pc-sdk .onetrust-vendors-list-handler").on("click",function(){return B.showVendorsList(null,!0)}))},w.prototype.bindSelAllHandlers=function(){I("#onetrust-pc-sdk #select-all-vendor-leg-handler").on("click",B.selectAllVendorsLegIntHandler),I("#onetrust-pc-sdk #select-all-vendor-groups-handler").on("click",B.SelectAllVendorConsentHandler)},w.prototype.hideCookieSettingsHandler=function(e){return void 0===e&&(e=window.event),c.triggerGoogleAnalyticsEvent(Vo,xo),Ln.removeAddedOTCssStyles(In.PC),Fn.hideConsentNoticeV2(),I(document).off("keydown",B.closePCWhenEscPressed),B.getResizeElement().removeEventListener("resize",B.setCenterLayoutFooterHeight),window.removeEventListener("resize",B.setCenterLayoutFooterHeight),!k.isV2Template&&P.pcName!==mt||B.closeFilter(!1),P.pcName===ft&&I("#onetrust-pc-sdk "+S.P_Content).removeClass("ot-hide"),G.hideVendorsList(),_.csBtnGroup&&(I(B.fltgBtnSltr).removeClass("ot-pc-open"),B.floatingCookieSettingCloseBtnClicked(null)),B.confirmPC(e),G.resetConsent(),!1},w.prototype.selectAllHostsGroupsHandler=function(e){var t=e.target.checked,e=I("#onetrust-pc-sdk #"+S.P_Sel_All_Host_El).el[0],o=e.classList.contains("line-through"),n=I("#onetrust-pc-sdk .host-checkbox-handler").el;b.setCheckedAttribute("#select-all-hosts-groups-handler",null,t);for(var r=0;r<n.length;r++)n[r].getAttribute("disabled")||b.setCheckedAttribute(null,n[r],t);A.optanonHostList.forEach(function(e){vo.updateHostStatus(e,t)}),n.forEach(function(e){fo.updateGenVendorStatus(e.getAttribute("hostId"),t)}),o&&e.classList.remove("line-through")},w.prototype.selectHostsGroupHandler=function(e){B.toggleAccordionStatus(e);var t=e.target.getAttribute("hostId"),o=e.target.getAttribute("ckType"),n=e.target.checked;null!==t&&(o===Ce.GenVendor?(o=T.GeneralVendors.find(function(e){return e.VendorCustomId===t}).Name,c.triggerGoogleAnalyticsEvent(Vo,n?zo:Ko,o+": VEN_"+t),fo.updateGenVendorStatus(t,n)):(o=b.findIndex(A.optanonHostList,function(e){return e.HostId===t}),o=A.optanonHostList[o],B.toggleHostStatus(o,n)),b.setCheckedAttribute(null,e.target,n))},w.prototype.onCategoryItemToggle=function(e){e.stopPropagation();var t=e.target;"BUTTON"!==t.tagName&&"INPUT"!==t.tagName||(P.pcName===ft&&this.setPcListContainerHeight(),B.toggleAccordionStatus(e))},w.prototype.toggleAccordionStatus=function(e){var t,e=e.target;e&&e.getAttribute("aria-expanded")&&(t="true"===e.getAttribute("aria-expanded")?"false":"true",e.setAttribute("aria-expanded",t))},w.prototype.toggleHostStatus=function(e,t){c.triggerGoogleAnalyticsEvent(Vo,t?Wo:Jo,e.HostName+": H_"+e.HostId),vo.updateHostStatus(e,t)},w.prototype.toggleBannerOptions=function(e){I(".banner-option-input").each(function(e){I(e).el.setAttribute("aria-expanded",!1)}),B.toggleAccordionStatus(e)},w.prototype.bannerCloseButtonHandler=function(e){var t;return I(document).off("keydown",B.shiftBannerFocus),e&&e.target&&e.target.className&&(-1<(e=e.target.className).indexOf("save-preference-btn-handler")?(A.bannerCloseSource=ee.ConfirmChoiceButton,c.triggerGoogleAnalyticsEvent(Vo,Fo)):-1<e.indexOf("banner-close-button")?(A.bannerCloseSource=ee.BannerCloseButton,t=Bo,-1<e.indexOf("ot-close-link")&&(t=wo,A.bannerCloseSource=ee.ContinueWithoutAcceptingButton),c.triggerGoogleAnalyticsEvent(Vo,t)):-1<e.indexOf("ot-bnr-save-handler")&&(A.bannerCloseSource=ee.BannerSaveSettings,c.triggerGoogleAnalyticsEvent(Vo,Go))),Ln.removeAddedOTCssStyles(),G.hideVendorsList(),G.bannerCloseButtonHandler()},w.prototype.onLegIntButtonClick=function(e){var t,o,n;e&&(n="true"===(e=e.currentTarget).parentElement.getAttribute("is-vendor"),t=e.parentElement.getAttribute("data-group-id"),o=!e.classList.contains("ot-leg-int-enabled"),n?B.onVendorToggle(t,de.LI):(n=C.getGroupById(t)).Parent?B.updateSubGroupToggles(n,o,!0):B.updateGroupToggles(n,o,!0),E.updateLegIntBtnElement(e.parentElement,o))},w.prototype.updateGroupToggles=function(t,o,e){vo.toggleGroupHosts(t,o),A.genVenOptOutEnabled&&vo.toggleGroupGenVendors(t,o),t.IsLegIntToggle=e,E.toggleGrpStatus(t,o),t.SubGroups&&t.SubGroups.length&&(P.bannerName===ht&&k.moduleInitializer.IsSuppressPC&&t.SubGroups.length?t.SubGroups.forEach(function(e){e.IsLegIntToggle=t.IsLegIntToggle,E.toggleGrpStatus(e,o),e.IsLegIntToggle=!1,vo.toggleGroupHosts(e,o),A.genVenOptOutEnabled&&vo.toggleGroupGenVendors(e,o),V.setVendorStateByGroup(e,o)}):E.toogleAllSubGrpElements(t,o),t.SubGroups.forEach(function(e){return V.setVendorStateByGroup(e,o)})),V.setVendorStateByGroup(t,o),this.allowAllVisible(E.setAllowAllButton()),t.IsLegIntToggle=!1},w.prototype.updateSubGroupToggles=function(e,t,o){vo.toggleGroupHosts(e,t),A.genVenOptOutEnabled&&vo.toggleGroupGenVendors(e,t);var n=C.getGroupById(e.Parent),o=(e.IsLegIntToggle=o,n.IsLegIntToggle=e.IsLegIntToggle,E.isGroupActive(n));t?(E.toggleGrpStatus(e,!0),E.isAllSubgroupsEnabled(n)&&!o&&(E.toggleGrpStatus(n,!0),vo.toggleGroupHosts(n,t),A.genVenOptOutEnabled&&vo.toggleGroupGenVendors(n,t),E.toggleGroupHtmlElement(e,""+e.Parent+(e.IsLegIntToggle?"-leg-out":""),!0))):(E.toggleGrpStatus(e,!1),E.isAllSubgroupsDisabled(n)&&o?(E.toggleGrpStatus(n,!1),vo.toggleGroupHosts(n,t),A.genVenOptOutEnabled&&vo.toggleGroupGenVendors(n,t),E.toggleGroupHtmlElement(e,""+e.Parent+(e.IsLegIntToggle?"-leg-out":""),t)):(E.toggleGrpStatus(n,!1),vo.toggleGroupHosts(n,!1),A.genVenOptOutEnabled&&vo.toggleGroupGenVendors(n,t),E.toggleGroupHtmlElement(e,""+e.Parent+(e.IsLegIntToggle?"-leg-out":""),!1))),this.allowAllVisible(E.setAllowAllButton()),e.IsLegIntToggle=!1,n.IsLegIntToggle=e.IsLegIntToggle},w.prototype.hideCategoryContainer=function(e){var t=P.pcName;this.isCookieList=e=void 0===e?!1:e,T.PCTemplateUpgrade?I("#onetrust-pc-sdk "+S.P_Content).addClass("ot-hide"):I("#onetrust-pc-sdk .ot-main-content").hide(),I("#onetrust-pc-sdk "+S.P_Vendor_List).removeClass("ot-hide"),t!==mt&&t!==ft&&I("#onetrust-pc-sdk #close-pc-btn-handler.main").hide(),t===ft&&d(I("#onetrust-pc-sdk").el[0],'height: "";',!0),A.showVendorService?u.setHeaderConfig():(e?B.setCookieListTemplate():B.setVendorListTemplate(),Jn.setFilterList(e))},w.prototype.setCookieListTemplate=function(){var e=k.isV2Template;I(S.P_Vendor_List+" #select-all-text-container").show("inline-block"),I("#onetrust-pc-sdk "+S.P_Host_Cntr).show(),y.isOptOutEnabled()?I("#onetrust-pc-sdk #"+S.P_Sel_All_Host_El).show("inline-block"):I("#onetrust-pc-sdk #"+S.P_Sel_All_Host_El).hide(),I("#onetrust-pc-sdk #"+S.P_Sel_All_Vendor_Leg_El).hide(),I("#onetrust-pc-sdk "+S.P_Leg_Header).hide(),e||I("#onetrust-pc-sdk "+S.P_Leg_Select_All).hide(),I("#onetrust-pc-sdk #"+S.P_Sel_All_Vendor_Consent_El).hide(),I("#onetrust-pc-sdk "+S.P_Vendor_Container).hide(),(T.UseGoogleVendors||A.showGeneralVendors)&&I("#onetrust-pc-sdk .ot-acc-cntr").hide(),I("#onetrust-pc-sdk "+S.P_Vendor_List).addClass(S.P_Host_UI),I("#onetrust-pc-sdk "+S.P_Vendor_Content).addClass(S.P_Host_Cnt)},w.prototype.setVendorListTemplate=function(){I("#onetrust-pc-sdk "+S.P_Vendor_Container).show(),I("#onetrust-pc-sdk #"+S.P_Sel_All_Vendor_Consent_El).show("inline-block"),T.UseGoogleVendors&&I("#onetrust-pc-sdk .ot-acc-cntr").show(),P.legIntSettings.PAllowLI&&P.isIab2orv2Template?(I("#onetrust-pc-sdk "+S.P_Select_Cntr).show(k.isV2Template?void 0:"inline-block"),I("#onetrust-pc-sdk "+S.P_Leg_Select_All).show("inline-block"),I("#onetrust-pc-sdk #"+S.P_Sel_All_Vendor_Leg_El).show("inline-block"),I(S.P_Vendor_List+" #select-all-text-container").hide(),P.legIntSettings.PShowLegIntBtn?(I("#onetrust-pc-sdk "+S.P_Leg_Header).hide(),I("#onetrust-pc-sdk #"+S.P_Sel_All_Vendor_Leg_El).hide()):I("#onetrust-pc-sdk "+S.P_Leg_Header).show()):(I("#onetrust-pc-sdk "+S.P_Select_Cntr).show(),I(S.P_Vendor_List+" #select-all-text-container").show("inline-block"),I("#onetrust-pc-sdk "+S.P_Leg_Select_All).hide(),I("#onetrust-pc-sdk #"+S.P_Sel_All_Vendor_Leg_El).hide()),I("#onetrust-pc-sdk #"+S.P_Sel_All_Host_El).hide(),I("#onetrust-pc-sdk "+S.P_Host_Cntr).hide(),I("#onetrust-pc-sdk "+S.P_Vendor_List).removeClass(S.P_Host_UI),I("#onetrust-pc-sdk "+S.P_Vendor_Content).removeClass(S.P_Host_Cnt)},w.prototype.showAllVendors=function(t){return R(this,void 0,void 0,function(){return q(this,function(e){switch(e.label){case 0:return[4,B.fetchAndSetupPC()];case 1:return e.sent(),B.showVendorsList(null,!0),A.isPCVisible?[3,3]:[4,B.showCookieSettingsHandler(t)];case 2:e.sent(),e.label=3;case 3:return[2]}})})},w.prototype.fetchAndSetupPC=function(){return R(this,void 0,void 0,function(){var t;return q(this,function(e){switch(e.label){case 0:return k.moduleInitializer.IsSuppressPC&&0===I("#onetrust-pc-sdk").length?[4,Yt.getPcContent()]:[3,2];case 1:t=e.sent(),_.preferenceCenterGroup={name:t.name,html:atob(t.html),css:t.css},k.isV2Template=T.PCTemplateUpgrade&&/otPcPanel|otPcCenter|otPcTab/.test(t.name),(t=document.getElementById("onetrust-style")).innerHTML+=_.preferenceCenterGroup.css,t.innerHTML+=Qn.addCustomPreferenceCenterCSS(),O.insertPcHtml(),B.initialiseConsentNoticeHandlers(),T.IsIabEnabled&&h.InitializeVendorList(),e.label=2;case 2:return 0!==I("#onetrust-pc-sdk").length&&T.PCTemplateUpgrade&&(t=document.querySelector("#onetrust-pc-sdk .ot-optout-signal"),O.setOptOutSignalVisibility(t)),[2]}})})},w.prototype.setVendorContent=function(){I("#onetrust-pc-sdk #filter-count").text(A.filterByIABCategories.length.toString()),h.loadVendorList("",A.filterByIABCategories),T.UseGoogleVendors&&(A.vendorDomInit?h.resetAddtlVendors():(h.initGoogleVendors(),I("#onetrust-pc-sdk").on("click",".ot-acc-cntr > button",B.toggleAccordionStatus.bind(this)))),A.vendorDomInit||(A.vendorDomInit=!0,B.initialiseLegIntBtnHandlers(),T.UseGoogleVendors&&(B.initialiseAddtlVenHandler(),B.bindSelAllHandlers())),A.showGeneralVendors&&!A.genVendorDomInit&&(A.genVendorDomInit=!0,h.initGenVendors(),B.initializeGenVenHandlers(),T.UseGoogleVendors||(B.bindSelAllHandlers(),I("#onetrust-pc-sdk").on("click",".ot-acc-cntr > button",B.toggleAccordionStatus.bind(this))))},w.prototype.addEventAdditionalTechnologies=function(){var e=document.querySelectorAll("#onetrust-pc-sdk .ot-acc-cntr.ot-add-tech > button");0<e.length&&(I(e).off("click",B.toggleAccordionStatus),I(e).on("click",B.toggleAccordionStatus))},w.prototype.showVendorsList=function(e,t){return void 0===t&&(t=!1),A.cookieListType=null,B.hideCategoryContainer(!1),Ln.addOTCssPropertiesToBody(In.PC,{}),A.showVendorService?u.showVSList():(t||(t=e.getAttribute("data-parent-id"))&&(t=C.getGroupById(t))&&(t=M(t.SubGroups,[t]).reduce(function(e,t){return-1<Ot.indexOf(t.Type)&&e.push(t.CustomGroupId),e},[]),A.filterByIABCategories=M(A.filterByIABCategories,t)),B.setVendorContent(),gn.updateFilterSelection(!1)),A.pcLayer=se.VendorList,e&&cn.setPCFocus(cn.getPCElements()),this.setSearchInputFocus(),!1},w.prototype.loadCookieList=function(e){A.filterByCategories=[],B.hideCategoryContainer(!0);var t,e=e&&e.getAttribute("data-parent-id");return e&&(t=C.getGroupById(e),A.filterByCategories.push(e),t.SubGroups.length)&&t.SubGroups.forEach(function(e){-1===Ot.indexOf(e.Type)&&(e=e.CustomGroupId,A.filterByCategories.indexOf(e)<0)&&A.filterByCategories.push(e)}),h.loadHostList("",A.filterByCategories),A.showTrackingTech&&B.addEventAdditionalTechnologies(),I("#onetrust-pc-sdk #filter-count").text(A.filterByCategories.length.toString()),gn.updateFilterSelection(!0),A.pcLayer=se.CookieList,cn.setPCFocus(cn.getPCElements()),this.setSearchInputFocus(),!1},w.prototype.selectAllVendorsLegIntHandler=function(e){var t=I("#onetrust-pc-sdk #"+S.P_Sel_All_Vendor_Leg_El).el[0],o=t.classList.contains("line-through"),n=I(S.P_Vendor_Container+' li:not([style="display: none;"]) .vendor-leg-checkbox-handler').el,r=e.target.checked,i={};A.vendors.selectedLegIntVendors.map(function(e,t){i[e.split(":")[0]]=t});for(var s=0;s<n.length;s++){b.setCheckedAttribute(null,n[s],r),T.PCShowConsentLabels&&(n[s].parentElement.querySelector(".ot-label-status").innerHTML=r?T.PCActiveText:T.PCInactiveText);var a=n[s].getAttribute("leg-vendorid"),l=i[a];void 0===l&&(l=a),A.vendors.selectedLegIntVendors[l]=a+":"+r}o&&t.classList.remove("line-through"),b.setCheckedAttribute(null,e.target,r)},w.prototype.selAllAdtlVenHandler=function(e){for(var t=I("#onetrust-pc-sdk #ot-selall-adtlvencntr").el[0],o=t.classList.contains("line-through"),n=I("#onetrust-pc-sdk .ot-addtlven-chkbox-handler").el,r=e.target.checked,i=0;i<n.length;i++)b.setCheckedAttribute(null,n[i],r),T.PCShowConsentLabels&&(n[i].parentElement.querySelector(".ot-label-status").innerHTML=r?T.PCActiveText:T.PCInactiveText);r?T.UseGoogleVendors&&Object.keys(A.addtlVendorsList).forEach(function(e){A.addtlVendors.vendorSelected[e]=!0}):A.addtlVendors.vendorSelected={},o&&t.classList.remove("line-through")},w.prototype.selectAllGenVenHandler=function(e){e=e.target.checked;B.selectAllHandler({selAllEl:"#onetrust-pc-sdk #ot-selall-gnvencntr",vendorBoxes:"#onetrust-pc-sdk .ot-gnven-chkbox-handler"},"genven",e)},w.prototype.selectAllHandler=function(e,t,o){for(var n=I(e.selAllEl).el[0],r=n.classList.contains("line-through"),i=I(e.vendorBoxes).el,s=0;s<i.length;s++)"genven"===t&&!o&&A.alwaysActiveGenVendors.includes(i[s].getAttribute("gn-vid"))?(b.setDisabledAttribute(null,i[s],!0),b.setCheckedAttribute(null,i[s],!0)):b.setCheckedAttribute(null,i[s],o),T.PCShowConsentLabels&&(i[s].parentElement.querySelector(".ot-label-status").innerHTML=o?T.PCActiveText:T.PCInactiveText);o?"googleven"===t&&T.UseGoogleVendors?Object.keys(A.addtlVendorsList).forEach(function(e){A.addtlVendors.vendorSelected[e]=!0}):"genven"===t&&A.showGeneralVendors&&T.GeneralVendors.forEach(function(e){A.genVendorsConsent[e.VendorCustomId]=!0}):"googleven"===t?A.addtlVendors.vendorSelected={}:(A.genVendorsConsent={},A.alwaysActiveGenVendors.forEach(function(e){A.genVendorsConsent[e]=!0})),r&&n.classList.remove("line-through")},w.prototype.SelectAllVendorConsentHandler=function(e){var t=e.target.checked;if(A.showVendorService)u.toggleVendors(t);else{var o=I("#onetrust-pc-sdk #"+S.P_Sel_All_Vendor_Consent_El).el[0],n=o.classList.contains("line-through"),r=I(S.P_Vendor_Container+' li:not([style="display: none;"]) .vendor-checkbox-handler').el,i={};A.vendors.selectedVendors.map(function(e,t){i[e.split(":")[0]]=t});for(var s=0;s<r.length;s++){b.setCheckedAttribute(null,r[s],t),T.PCShowConsentLabels&&(r[s].parentElement.querySelector(".ot-label-status").innerHTML=t?T.PCActiveText:T.PCInactiveText);var a=r[s].getAttribute("vendorid"),l=i[a];void 0===l&&(l=a),A.vendors.selectedVendors[l]=a+":"+t}n&&o.classList.remove("line-through")}b.setCheckedAttribute(null,e.target,t)},w.prototype.onVendorToggle=function(o,e){var t=A.vendors,n=A.addtlVendors,r=e===de.LI?t.selectedLegIntVendors:e===de.AddtlConsent?[]:t.selectedVendors,i=!1,s=Number(o);r.some(function(e,t){e=e.split(":");if(e[0]===o)return s=t,i="true"===e[1],!0}),e===de.LI?(c.triggerGoogleAnalyticsEvent(Vo,i?Zo:en,t.list.find(function(e){return e.vendorId===o}).vendorName+": "+f.IdPatterns.Pur+o),t.selectedLegIntVendors[s]=o+":"+!i,P.legIntSettings.PShowLegIntBtn||h.vendorLegIntToggleEvent()):e===de.AddtlConsent?(n.vendorSelected[o]?delete n.vendorSelected[o]:n.vendorSelected[o]=!0,h.venAdtlSelAllTglEvent()):(c.triggerGoogleAnalyticsEvent(Vo,i?$o:Qo,t.list.find(function(e){return e.vendorId===o}).vendorName+": "+f.IdPatterns.Pur+o),t.selectedVendors[s]=o+":"+!i,h.vendorsListEvent())},w.prototype.onVendorDisclosure=function(o){return R(this,void 0,void 0,function(){var t;return q(this,function(e){switch(e.label){case 0:return(t=A.discVendors)[o].isFetched?[3,2]:(t[o].isFetched=!0,[4,Yt.getStorageDisclosure(t[o].disclosureUrl)]);case 1:t=e.sent(),h.updateVendorDisclosure(o,t),e.label=2;case 2:return[2]}})})},w.prototype.tglFltrOptionHandler=function(e){e&&e.target.classList.contains("category-filter-handler")&&b.setCheckedAttribute(null,e.target,e.target.checked)},w.prototype.selectVendorsGroupHandler=function(e){B.toggleAccordionStatus(e);var t=e.target.getAttribute("leg-vendorid"),o=e.target.getAttribute("vendorid"),n=e.target.getAttribute("addtl-vid"),r=e.target.getAttribute("disc-vid");t?B.onVendorToggle(t,de.LI):o?B.onVendorToggle(o,de.Consent):n&&B.onVendorToggle(n,de.AddtlConsent),r&&B.onVendorDisclosure(r),(t||o||n)&&(b.setCheckedAttribute(null,e.target,e.target.checked),T.PCShowConsentLabels)&&(e.target.parentElement.querySelector(".ot-label-status").innerHTML=e.target.checked?T.PCActiveText:T.PCInactiveText)},w.prototype.toggleVendorFiltersHandler=function(){var e,t=!1,o=I("#onetrust-pc-sdk "+S.P_Fltr_Modal).el[0];switch(P.pcName){case kt:case yt:case ft:case g:(t="block"===o.style.display)?B.closeFilter():(e=I("#onetrust-pc-sdk "+S.P_Triangle).el[0],I(e).attr("style","display: block;"),I(o).attr("style","display: block;"),e=Array.prototype.slice.call(o.querySelectorAll("[href], input, button")),cn.setPCFocus(e));break;case mt:896<window.innerWidth||896<window.screen.height?d(o,"width: 400px;",!0):d(o,"height: 100%; width: 100%;"),o.querySelector(".ot-checkbox input").focus();break;default:return}k.isV2Template&&!t&&(I("#onetrust-pc-sdk").addClass("ot-shw-fltr"),I("#onetrust-pc-sdk .ot-fltr-scrlcnt").el[0].scrollTop=0)},w.prototype.clearFiltersHandler=function(){B.setAriaLabelforButtonInFilter(T.PCenterFilterClearedAria);for(var e=I("#onetrust-pc-sdk "+S.P_Fltr_Modal+" input").el,t=0;t<e.length;t++)b.setCheckedAttribute(null,e[t],!1);B.isCookieList?A.filterByCategories=[]:A.filterByIABCategories=[]},w.prototype.cancelFilterHandler=function(){A.showVendorService?u.cancelFilter():B.isCookieList?gn.cancelHostFilter():h.cancelVendorFilter(),B.closeFilter(),I("#onetrust-pc-sdk #filter-btn-handler").focus()},w.prototype.applyFilterHandler=function(){var e;B.setAriaLabelforButtonInFilter(T.PCenterFilterAppliedAria),A.showVendorService?(e=u.getGroupsFilter(),u.filterVendorByGroup(e)):B.isCookieList?(e=gn.updateHostFilterList(),h.loadHostList("",e),A.showTrackingTech&&B.addEventAdditionalTechnologies()):(e=h.updateVendorFilterList(),h.loadVendorList("",e)),I("#onetrust-pc-sdk #filter-count").text(String(e.length)),B.closeFilter(),I("#onetrust-pc-sdk #filter-btn-handler").focus()},w.prototype.setAriaLabelforButtonInFilter=function(e){var t=A.isPCVisible?document.querySelector("#onetrust-pc-sdk span[aria-live]"):document.querySelector("#onetrust-banner-sdk span[aria-live]");if(!t){(t=document.createElement("span")).classList.add("ot-scrn-rdr"),t.setAttribute("aria-atomic","true");var o=void 0;if(A.isPCVisible?o=document.getElementById(B.pcSDKSelector):document.getElementById(B.bannerSelector)&&(o=document.getElementById(B.bannerSelector)),!o)return;o.appendChild(t)}t.setAttribute("aria-atomic","true"),t.setAttribute("aria-relevant","additions"),t.setAttribute("aria-live","assertive"),t.setAttribute(Lt,e),B.timeCallback&&clearTimeout(B.timeCallback),B.timeCallback=setTimeout(function(){B.timeCallback=null,t.setAttribute(Lt,"")},900)},w.prototype.setPcListContainerHeight=function(){I("#onetrust-pc-sdk "+S.P_Content).el[0].classList.contains("ot-hide")?d(I("#onetrust-pc-sdk").el[0],'height: "";',!0):setTimeout(function(){var e=window.innerHeight;768<=window.innerWidth&&600<=window.innerHeight&&(e=.8*window.innerHeight),!I("#onetrust-pc-sdk "+S.P_Content).el[0].scrollHeight||I("#onetrust-pc-sdk "+S.P_Content).el[0].scrollHeight>=e?d(I("#onetrust-pc-sdk").el[0],"height: "+e+"px;",!0):d(I("#onetrust-pc-sdk").el[0],"height: auto;",!0)})},w.prototype.changeSelectedTab=function(e){var t,o=I("#onetrust-pc-sdk .category-menu-switch-handler"),n=0,r=I(o.el[0]);o.each(function(e,t){I(e).el.classList.contains(S.P_Active_Menu)&&(n=t,I(e).el.classList.remove(S.P_Active_Menu),r=I(e))}),e.keyCode===ae.RightArrow?t=n+1>=o.el.length?I(o.el[0]):I(o.el[n+1]):e.keyCode===ae.LeftArrow&&(t=I(n-1<0?o.el[o.el.length-1]:o.el[n-1])),this.tabMenuToggle(t,r)},w.prototype.changeSelectedTabV2=function(e){var t,o=e.target.parentElement,e=(e.keyCode===ae.RightArrow?t=o.nextElementSibling||o.parentElement.firstChild:e.keyCode===ae.LeftArrow&&(t=o.previousElementSibling||o.parentElement.lastChild),t.querySelector(".category-menu-switch-handler"));e.focus(),this.groupTabClick(e)},w.prototype.categoryMenuSwitchHandler=function(){for(var t=this,e=I("#onetrust-pc-sdk .category-menu-switch-handler").el,o=0;o<e.length;o++)e[o].addEventListener("click",this.groupTabClick),e[o].addEventListener("keydown",function(e){if(32===e.keyCode||"space"===e.code)return t.groupTabClick(e.currentTarget),e.preventDefault(),!1})},w.prototype.groupTabClick=function(e){var t=I("#onetrust-pc-sdk "+S.P_Grp_Container).el[0],o=t.querySelector("."+S.P_Active_Menu),e=e.currentTarget||e,n=e.getAttribute("aria-controls");o.setAttribute("tabindex",-1),o.setAttribute("aria-selected",!1),o.classList.remove(S.P_Active_Menu),t.querySelector(S.P_Desc_Container+":not(.ot-hide)").classList.add("ot-hide"),t.querySelector("#"+n).classList.remove("ot-hide"),e.setAttribute("tabindex",0),e.setAttribute("aria-selected",!0),e.classList.add(S.P_Active_Menu)},w.prototype.tabMenuToggle=function(e,t){e.el.setAttribute("tabindex",0),e.el.setAttribute("aria-selected",!0),t.el.setAttribute("tabindex",-1),t.el.setAttribute("aria-selected",!1),e.focus(),t.el.parentElement.parentElement.querySelector(""+S.P_Desc_Container).classList.add("ot-hide"),e.el.parentElement.parentElement.querySelector(""+S.P_Desc_Container).classList.remove("ot-hide"),e.el.classList.add(S.P_Active_Menu)},w.prototype.closeFilter=function(e){var t,o;void 0===e&&(e=!0),Fn.checkIfPcSdkContainerExist()||(t=I("#onetrust-pc-sdk "+S.P_Fltr_Modal).el[0],o=I("#onetrust-pc-sdk "+S.P_Triangle).el[0],P.pcName===mt?896<window.innerWidth||896<window.screen.height?d(t,"width: 0;",!0):d(t,"height: 0;"):d(t,"display: none;"),o&&I(o).attr("style","display: none;"),k.isV2Template&&I("#onetrust-pc-sdk").removeClass("ot-shw-fltr"),e&&cn.setFirstAndLast(cn.getPCElements()))},w.prototype.setBackButtonFocus=function(){I("#onetrust-pc-sdk .back-btn-handler").el[0].focus()},w.prototype.setSearchInputFocus=function(){I(B.VENDOR_SEARCH_SELECTOR).el[0].focus()},w.prototype.setCenterLayoutFooterHeight=function(){var e=B.pc;if(B.setMainContentHeight(),P.pcName===g&&e){var t=e.querySelectorAll(""+S.P_Desc_Container),o=e.querySelectorAll("li .category-menu-switch-handler");if(!e.querySelector(".category-menu-switch-handler + "+S.P_Desc_Container)&&window.innerWidth<640)for(var n=0;n<t.length;n++)o[n].insertAdjacentElement("afterend",t[n]);else e.querySelector(".category-menu-switch-handler + "+S.P_Desc_Container)&&640<window.innerWidth&&I(e.querySelector(".ot-tab-desc")).append(t)}},w.prototype.setMainContentHeight=function(){var e=this.pc,t=e.querySelector(".ot-pc-footer"),o=e.querySelector(".ot-pc-header"),n=e.querySelectorAll(".ot-pc-footer button"),r=n[n.length-1],i=T.PCLayout,r=(e.classList.remove("ot-ftr-stacked"),n[0]&&r&&1<Math.abs(n[0].offsetTop-r.offsetTop)&&e.classList.add("ot-ftr-stacked"),T.PCTemplateUpgrade||i.Center||(n=e.clientHeight-t.clientHeight-o.clientHeight-3,T.PCTemplateUpgrade&&!i.Tab&&T.PCenterVendorListDescText&&(n=n-((r=I("#vdr-lst-dsc").el).length&&r[0].clientHeight)-10),d(e.querySelector(""+S.P_Vendor_List),"height: "+n+"px;",!0)),e.querySelector(""+S.P_Content));T.PCTemplateUpgrade&&i.Center?(n=600<window.innerWidth&&475<window.innerHeight,!this.pcBodyHeight&&n&&(this.pcBodyHeight=r.scrollHeight),n?(i=this.pcBodyHeight+t.clientHeight+o.clientHeight+20)>.8*window.innerHeight||0===this.pcBodyHeight?d(e,"height: "+.8*window.innerHeight+"px;",!0):d(e,"height: "+i+"px;",!0):d(e,"height: 100%;",!0)):d(e.querySelector(""+S.P_Content),"height: "+(e.clientHeight-t.clientHeight-o.clientHeight-3)+"px;",!0)},w.prototype.allowAllVisible=function(e){e!==this.allowVisible&&T.PCLayout.Tab&&T.PCTemplateUpgrade&&(this.pc&&this.setMainContentHeight(),this.allowVisible=e)},w.prototype.restorePc=function(){A.pcLayer===se.CookieList?(B.hideCategoryContainer(!0),h.loadHostList("",A.filterByCategories),A.showTrackingTech&&B.addEventAdditionalTechnologies(),I("#onetrust-pc-sdk #filter-count").text(A.filterByCategories.length.toString())):A.pcLayer===se.VendorList&&(B.hideCategoryContainer(!1),B.setVendorContent()),A.isPCVisible=!1,B.toggleInfoDisplay(),A.pcLayer!==se.VendorList&&A.pcLayer!==se.CookieList||(gn.updateFilterSelection(A.pcLayer===se.CookieList),B.setBackButtonFocus(),cn.setPCFocus(cn.getPCElements()))},w.prototype.toggleInfoDisplay=function(){return R(this,void 0,void 0,function(){var t;return q(this,function(e){switch(e.label){case 0:return _.csBtnGroup&&(I(B.fltgBtnSltr).addClass("ot-pc-open"),B.otGuardLogoPromise.then(function(){T.cookiePersistentLogo.includes("ot_guard_logo.svg")&&I(B.fltgBtnFSltr).attr(_t,"true")}),I(B.fltgBtnBSltr).attr(_t,"")),[4,B.fetchAndSetupPC()];case 1:return e.sent(),P.pcName===ft&&this.setPcListContainerHeight(),void 0!==A.pcLayer&&A.pcLayer!==se.Banner||(A.pcLayer=se.PrefCenterHome),t=I("#onetrust-pc-sdk").el[0],I(".onetrust-pc-dark-filter").el[0].removeAttribute("style"),t.removeAttribute("style"),A.isPCVisible||(Fn.showConsentNotice(),A.isPCVisible=!0,T.PCTemplateUpgrade&&(this.pc=t,t=t.querySelector("#accept-recommended-btn-handler"),this.allowVisible=t&&0<t.clientHeight,this.setCenterLayoutFooterHeight(),B.getResizeElement().addEventListener("resize",B.setCenterLayoutFooterHeight),window.addEventListener("resize",B.setCenterLayoutFooterHeight))),window.dispatchEvent(new CustomEvent("OneTrustPCLoaded",{OneTrustPCLoaded:"yes"})),B.captureInitialConsent(),[2]}})})},w.prototype.close=function(e){T.BCloseButtonType===Se.Link?A.bannerCloseSource=ee.ContinueWithoutAcceptingButton:A.bannerCloseSource=ee.BannerCloseButton,G.bannerCloseButtonHandler(e),B.getResizeElement().removeEventListener("resize",B.setCenterLayoutFooterHeight),window.removeEventListener("resize",B.setCenterLayoutFooterHeight)},w.prototype.closePreferenceCenter=function(e){e&&e.preventDefault(),window.location.href="http://otsdk//consentChanged"},w.prototype.initializeAlartHtmlAndHandler=function(){A.skipAddingHTML=0<I("#onetrust-banner-sdk").length,A.skipAddingHTML||$r.insertAlertHtml(),this.initialiseAlertHandlers()},w.prototype.initialiseAlertHandlers=function(){var e=this,t=($r.showBanner(),T.ForceConsent&&!y.isCookiePolicyPage(T.AlertNoticeText)&&I(".onetrust-pc-dark-filter").removeClass("ot-hide").css("z-index:2147483645;"),T.OnClickCloseBanner&&document.body.addEventListener("click",G.bodyClickEvent),T.ScrollCloseBanner&&(window.addEventListener("scroll",G.scrollCloseBanner),I(document).on("click",".onetrust-close-btn-handler",G.rmScrollAndClickBodyEvents),I(document).on("click","#onetrust-accept-btn-handler",G.rmScrollAndClickBodyEvents),I(document).on("click","#accept-recommended-btn-handler",G.rmScrollAndClickBodyEvents)),(T.IsIabEnabled||T.UseGoogleVendors||A.showGeneralVendors)&&!A.showVendorService&&I(document).on("click",".onetrust-vendors-list-handler",B.showAllVendors),T.FloatingRoundedIcon&&I("#onetrust-banner-sdk #onetrust-cookie-btn").on("click",function(e){A.pcSource=e.currentTarget,B.showCookieSettingsHandler(e)}),I("#onetrust-banner-sdk .onetrust-close-btn-handler, #onetrust-banner-sdk .ot-bnr-save-handler").on("click",B.bannerCloseButtonHandler),I("#onetrust-banner-sdk #onetrust-pc-btn-handler").on("click",B.showCookieSettingsHandler),I("#onetrust-banner-sdk #onetrust-accept-btn-handler").on("click",G.allowAllEventHandler.bind(this,!1)),I("#onetrust-banner-sdk #onetrust-reject-all-handler").on("click",G.rejectAllEventHandler.bind(this,!1)),I("#onetrust-banner-sdk .banner-option-input").on("click",P.bannerName===ut?B.toggleBannerOptions:B.toggleAccordionStatus),I("#onetrust-banner-sdk .ot-gv-list-handler").on("click",function(t){return R(e,void 0,void 0,function(){return q(this,function(e){switch(e.label){case 0:return A.cookieListType=ye.GenVen,[4,B.fetchAndSetupPC()];case 1:return e.sent(),B.loadCookieList(t.target),B.showCookieSettingsHandler(t),[2]}})})}),I("#onetrust-banner-sdk .category-switch-handler").on("click",B.toggleBannerCategory),document.getElementById("onetrust-banner-sdk"));T.ForceConsent&&t&&"none"!==window.getComputedStyle(t).display&&I(document).on("keydown",B.shiftBannerFocus),I("#onetrust-banner-sdk").on("keydown",function(e){32!==e.keyCode&&"Space"!==e.code&&13!==e.keyCode&&"Enter"!==e.code||y.findUserType(e)})},w.prototype.getResizeElement=function(){var e=document.querySelector("#onetrust-pc-sdk .ot-text-resize");return e?e.contentWindow||e:document},w.prototype.insertCookieSettingText=function(e){void 0===e&&(e=!1);for(var t=T.CookieSettingButtonText,o=I(".ot-sdk-show-settings").el,n=I(".optanon-toggle-display").el,r=0;r<o.length;r++)I(o[r]).text(t),I(n[r]).text(t);e?(null!=(e=document.querySelector(".ot-sdk-show-settings"))&&e.addEventListener("click",this.cookiesSettingsBoundListener),null!=(e=document.querySelector(".optanon-toggle-display"))&&e.addEventListener("click",this.cookiesSettingsBoundListener)):B.initCookieSettingHandlers()},w.prototype.genVendorToggled=function(e){var t=e.target.getAttribute("gn-vid"),o=(fo.updateGenVendorStatus(t,e.target.checked),T.GeneralVendors.find(function(e){return e.VendorCustomId===t}).Name);c.triggerGoogleAnalyticsEvent(Vo,e.target.checked?zo:Ko,o+": VEN_"+t),h.genVenSelectAllTglEvent()},w.prototype.genVendorDetails=function(e){B.toggleAccordionStatus(e)},w.prototype.confirmPC=function(e){var t=p.isAlertBoxClosedAndValid(),o=(T.NoBanner&&T.ShowPreferenceCenterCloseButton&&!t&&G.bannerCloseButtonHandler(),y.isBannerVisible());!k.moduleInitializer.MobileSDK||!t&&o||B.closePreferenceCenter(e)},w.prototype.captureInitialConsent=function(){A.initialGroupsConsent=JSON.parse(JSON.stringify(A.groupsConsent)),A.initialHostConsent=JSON.parse(JSON.stringify(A.hostsConsent)),A.showGeneralVendors&&(A.initialGenVendorsConsent=JSON.parse(JSON.stringify(A.genVendorsConsent))),T.IsIabEnabled&&(A.initialOneTrustIABConsent=JSON.parse(JSON.stringify(A.oneTrustIABConsent)),A.initialVendors=JSON.parse(JSON.stringify(A.vendors)),A.initialVendors.vendorTemplate=A.vendors.vendorTemplate),T.UseGoogleVendors&&(A.initialAddtlVendorsList=JSON.parse(JSON.stringify(A.addtlVendorsList)),A.initialAddtlVendors=JSON.parse(JSON.stringify(A.addtlVendors))),A.vsIsActiveAndOptOut&&(A.initialVendorsServiceConsent=new Map(A.vsConsent))};var B,ni=w;function w(){var t=this;this.allowVisible=!1,this.fltgBtnBackBtn=".ot-floating-button__back button",this.fltgBtnBSltr=".ot-floating-button__back svg",this.fltgBtnFrontBtn=".ot-floating-button__front button",this.fltgBtnFSltr=".ot-floating-button__front svg",this.fltgBtnSltr="#ot-sdk-btn-floating",this.VENDOR_SEARCH_SELECTOR="#onetrust-pc-sdk #vendor-search-handler",this.isCookieList=!1,this.pc=null,this.currentSearchInput="",this.pcLinkSource=null,this.pcSDKSelector="onetrust-pc-sdk",this.bannerSelector="onetrust-banner-sdk",this.otGuardLogoResolve=null,this.otGuardLogoPromise=new Promise(function(e){t.otGuardLogoResolve=e}),this.closePCWhenEscPressed=function(e){var t=document.getElementById(B.pcSDKSelector),o="none"!==window.getComputedStyle(t).display;27===e.keyCode&&t&&o&&("block"===(t=I("#onetrust-pc-sdk "+S.P_Fltr_Modal).el[0]).style.display||"0px"<t.style.width?(B.closeFilter(),I("#onetrust-pc-sdk #filter-btn-handler").focus()):T.NoBanner&&!T.ShowPreferenceCenterCloseButton||B.hideCookieSettingsHandler(),B.confirmPC()),(o&&32===e.keyCode||"Space"===e.code||13===e.keyCode||"Enter"===e.code)&&y.findUserType(e)},this.showCookieSettingsHandler=function(n){return R(t,void 0,void 0,function(){var t,o;return q(this,function(e){switch(e.label){case 0:return(o=document.getElementById(B.pcSDKSelector),o&&"none"!==window.getComputedStyle(o).getPropertyValue("display"))?[2]:(I(document).on("keydown",B.closePCWhenEscPressed),n&&n.stopPropagation(),n&&n.target&&(o=n.target.className,t="onetrust-pc-btn-handler"===n.target.id,o="ot-sdk-show-settings"===o,(t||o)&&(o=t?No:Do,c.triggerGoogleAnalyticsEvent(Vo,o)),A.pcSource=n.target),[4,B.toggleInfoDisplay()]);case 1:return e.sent(),[2,!1]}})})},this.cookiesSettingsBoundListener=this.showCookieSettingsHandler.bind(this),this.backBtnHandler=function(){return A.showVendorService&&u.hideVendorList(),A.showTrackingTech&&(B.currentSearchInput=""),G.hideVendorsList(),P.pcName===ft&&(I("#onetrust-pc-sdk "+S.P_Content).removeClass("ot-hide"),I("#onetrust-pc-sdk").el[0].removeAttribute("style"),t.setPcListContainerHeight()),I("#onetrust-pc-sdk #filter-count").text("0"),I(B.VENDOR_SEARCH_SELECTOR).length&&(I(B.VENDOR_SEARCH_SELECTOR).el[0].value=""),A.currentGlobalFilteredList=[],A.filterByCategories=[],A.filterByIABCategories=[],A.vendors.searchParam="",B.closeFilter(),A.pcLayer=se.PrefCenterHome,t.pcLinkSource?(t.pcLinkSource.focus(),t.pcLinkSource=null):cn.setPCFocus(cn.getPCElements()),!1},this.bannerCloseBoundListener=this.bannerCloseButtonHandler.bind(this),this.toggleGroupORVendorHandler=function(e){var t=e.currentTarget;t.dataset.otVsId?B.toggleVendorServiceHandler.bind(this)(e):t.dataset.optanongroupid&&B.toggleV2Category.bind(this)()},this.toggleVendorFromListHandler=function(e){var e=e.currentTarget,t=e.checked,o=e.dataset.otVsId,e=e.dataset.optanongroupid,n=document.getElementById("ot-vendor-id-"+o);V.toggleVendorService(e,o,t,n)},this.toggleVendorServiceHandler=function(e){var e=e.currentTarget,t=e.checked,o=e.dataset.otVsId,n=e.dataset.optanongroupid,n=(V.toggleVendorService(n,o,t,e),C.getVSById(o));B.setAriaLabelforButtonInFilter(n.ServiceName)},this.toggleV2Category=function(e,t,o,n){t||(r=this.getAttribute("data-optanongroupid"),i="function"==typeof this.getAttribute,a=b.findIndex(A.dataGroupState,function(e){return i&&e.CustomGroupId===r}),t=A.dataGroupState[a]),void 0===o&&(o=I(this).is(":checked")),T.ChoicesBanner&&b.setCheckedAttribute("#ot-bnr-grp-id-"+t.CustomGroupId,null,o),n?document.querySelector("#ot-group-id-"+n)&&(b.setCheckedAttribute("#ot-group-id-"+n,null,o),s=document.querySelector("#ot-group-id-"+n)):(b.setCheckedAttribute(null,s=this,o),a=s.parentElement.querySelector(".ot-switch-nob"),k.fp.CookieV2VendorServiceScript?T.PCCategoryStyle===ve.Toggle&&a&&a.setAttribute("aria-checked",o):T.PCTemplateUpgrade&&a&&a.setAttribute("aria-checked",o)),T.PCShowConsentLabels&&(s.parentElement.parentElement.querySelector(".ot-label-status").innerHTML=o?T.PCActiveText:T.PCInactiveText);var r,i,s,a,n=this instanceof HTMLElement&&-1!==this.getAttribute("id").indexOf("-leg-out");B.setAriaLabelforButtonInFilter(t.GroupName),B.updateGroupToggles(t,o,n)},this.toggleBannerCategory=function(){var t=this,e=b.findIndex(A.dataGroupState,function(e){return"function"==typeof t.getAttribute&&e.CustomGroupId===t.getAttribute("data-optanongroupid")}),e=A.dataGroupState[e],o=I(t).is(":checked");B.toggleV2Category(null,e,o,e.CustomGroupId)},this.shiftBannerFocus=function(e){var t=document.getElementById(B.pcSDKSelector),o=!1;t&&(o="none"!==window.getComputedStyle(t).display),"Tab"!==e.code||o||cn.handleBannerFocus(e,e.shiftKey)},this.toggleSubCategory=function(e,t,o,n){t=t||this.getAttribute("data-optanongroupid");var r,t=C.getGroupById(t),n=(void 0===o&&(o=I(this).is(":checked")),n?(b.setCheckedAttribute("#ot-sub-group-id-"+n,null,o),r=document.querySelector("#ot-sub-group-id-"+n)):b.setCheckedAttribute(null,r=this,o),T.PCShowConsentLabels&&(r.parentElement.parentElement.querySelector(".ot-label-status").innerHTML=o?T.PCActiveText:T.PCInactiveText),this instanceof HTMLElement&&-1!==this.getAttribute("id").indexOf("-leg-out"));B.setAriaLabelforButtonInFilter(t.GroupName),B.updateSubGroupToggles(t,o,n),V.setVendorStateByGroup(t,o)}}ii.prototype.updateDataSubjectTimestamp=function(){var e=p.alertBoxCloseDate(),e=e&&y.getUTCFormattedDate(e);I(".ot-userid-timestamp").html(T.PCenterUserIdTimestampTitleText+": "+e)},ii.prototype.closeBanner=function(e){this.closeOptanonAlertBox(),e?this.allowAll(!1):this.close(!1)},ii.prototype.allowAll=function(e,t){void 0===t&&(t=!1),k.moduleInitializer.MobileSDK?window.OneTrust.AllowAll():this.AllowAllV2(e,t)},ii.prototype.bannerActionsHandler=function(t,n,e){var r=this,i=(void 0===e&&(e=!1),Po.setLandingPathParam(Me),A.groupsConsent=[],A.hostsConsent=[],A.genVendorsConsent={},{});T.Groups.forEach(function(e){if(e.IsAboutGroup)return!1;M(e.SubGroups,[e]).forEach(function(e){var o=r.getGroupStatus(t,n,e);r.setGroupConsent(o,e),e.Hosts.length&&y.isOptOutEnabled()&&e.Hosts.forEach(function(e){var t;i[e.HostId]?vo.updateHostStatus(e,o):(i[e.HostId]=!0,t=vo.isHostPartOfAlwaysActiveGroup(e.HostId),A.hostsConsent.push(e.HostId+":"+(t||o?"1":"0")))}),A.genVenOptOutEnabled&&e.GeneralVendorsIds&&e.GeneralVendorsIds.length&&e.GeneralVendorsIds.forEach(function(e){fo.updateGenVendorStatus(e,o)})})}),T.IsIabEnabled&&(t?this.iab.allowAllhandler():this.iab.rejectAllHandler(e)),Ln.removeAddedOTCssStyles(),Fn.hideConsentNoticeV2(),co.writeGrpParam(m.OPTANON_CONSENT),co.writeHstParam(m.OPTANON_CONSENT),A.genVenOptOutEnabled&&co.writeGenVenCookieParam(m.OPTANON_CONSENT),A.vsIsActiveAndOptOut&&co.writeVSConsentCookieParam(m.OPTANON_CONSENT),gn.substitutePlainTextScriptTags(),Pn.updateGtmMacros(),this.executeOptanonWrapper()},ii.prototype.getGroupStatus=function(e,t,o){return!!e||!!t&&C.isAlwaysActiveGroup(o)},ii.prototype.setGroupConsent=function(e,t){-1<Bt.indexOf(t.Type)&&A.groupsConsent.push(t.CustomGroupId+":"+(e&&t.HasConsentOptOut?"1":"0"))},ii.prototype.nextPageCloseBanner=function(){Po.isLandingPage()||p.isAlertBoxClosedAndValid()||this.closeBanner(T.NextPageAcceptAllCookies)},ii.prototype.rmScrollAndClickBodyEvents=function(){T.ScrollCloseBanner&&window.removeEventListener("scroll",this.scrollCloseBanner),T.OnClickCloseBanner&&document.body.removeEventListener("click",this.bodyClickEvent)},ii.prototype.onClickCloseBanner=function(e){p.isAlertBoxClosedAndValid()||(c.triggerGoogleAnalyticsEvent(Vo,Oo),this.closeBanner(T.OnClickAcceptAllCookies),e.stopPropagation()),G.rmScrollAndClickBodyEvents()},ii.prototype.scrollCloseBanner=function(){var e=I(document).height()-I(window).height(),e=(0===e&&(e=I(window).height()),100*I(window).scrollTop()/e);25<(e=e<=0?100*(document.scrollingElement&&document.scrollingElement.scrollTop||document.documentElement&&document.documentElement.scrollTop||document.body&&document.body.scrollTop)/(document.scrollingElement&&document.scrollingElement.scrollHeight||document.documentElement&&document.documentElement.scrollHeight||document.body&&document.body.scrollHeight):e)&&!p.isAlertBoxClosedAndValid()&&(!A.isPCVisible||T.NoBanner)?(c.triggerGoogleAnalyticsEvent(Vo,Oo),G.closeBanner(T.ScrollAcceptAllCookies),G.rmScrollAndClickBodyEvents()):p.isAlertBoxClosedAndValid()&&G.rmScrollAndClickBodyEvents()},ii.prototype.AllowAllV2=function(e,t){void 0===t&&(t=!1);for(var o=this.groupsClass.getAllGroupElements(),n=0;n<o.length;n++){var r=C.getGroupById(o[n].getAttribute("data-optanongroupid"));this.groupsClass.toggleGrpElements(o[n],r,!0),this.groupsClass.toogleSubGroupElement(o[n],!0,!1,!0),this.groupsClass.toogleSubGroupElement(o[n],!0,!0,!0)}A.showVendorService&&V.consentAll(!0),this.bannerActionsHandler(!0,!1),this.consentTransactions(e,!0,t),T.IsIabEnabled&&(this.iab.updateIabVariableReference(),this.iab.updateVendorsDOMToggleStatus(!0),this.updateVendorLegBtns(!0))},ii.prototype.rejectAll=function(e,t){for(var o,n,r=(t=void 0===t?!1:t)?ge[5]:ge[2],i=this.groupsClass.getAllGroupElements(),s=null!=(o=null==(o=k)?void 0:o.fp)&&o.CookieV2RejectAll?(n=this.initializeObjectToLIRejectAll(t),this.initializeAllowLIRejectAll(t)):!(n=!0),a=0;a<i.length;a++){var l=C.getGroupById(i[a].getAttribute("data-optanongroupid"));"always active"!==C.getGrpStatus(l).toLowerCase()&&(E.toggleGrpElements(i[a],l,!1,s),this.groupsClass.toogleSubGroupElement(i[a],!1,!1,!0),!T.IsIabEnabled||T.IsIabEnabled&&n)&&this.groupsClass.toogleSubGroupElement(i[a],!1,!0,!0)}A.showVendorService&&V.consentAll(!1),this.bannerActionsHandler(!1,!0,s),r!==A.consentInteractionType&&this.consentTransactions(e,!1,t),T.IsIabEnabled&&(this.iab.updateIabVariableReference(),this.iab.updateVendorsDOMToggleStatus(!1,s),s||this.updateVendorLegBtns(!1))},ii.prototype.initializeObjectToLIRejectAll=function(e){return!e&&T.BannerShowRejectAllButton&&T.BRejectConsentType===Le.OBJECT_TO_LI||e&&T.PCenterShowRejectAllButton&&T.BRejectConsentType===Le.OBJECT_TO_LI},ii.prototype.initializeAllowLIRejectAll=function(e){return T.IsIabEnabled&&(!e&&T.BannerShowRejectAllButton&&T.BRejectConsentType===Le.LI_ACTIVE_IF_LEGAL_BASIS||e&&T.PCenterShowRejectAllButton&&T.BRejectConsentType===Le.LI_ACTIVE_IF_LEGAL_BASIS)},ii.prototype.executeCustomScript=function(){T.CustomJs&&new Function(T.CustomJs)()},ii.prototype.updateConsentData=function(e){Po.setLandingPathParam(Me),T.IsIabEnabled&&!e&&this.iab.saveVendorStatus(),co.writeGrpParam(m.OPTANON_CONSENT),co.writeHstParam(m.OPTANON_CONSENT),A.showGeneralVendors&&T.GenVenOptOut&&co.writeGenVenCookieParam(m.OPTANON_CONSENT),A.vsIsActiveAndOptOut&&co.writeVSConsentCookieParam(m.OPTANON_CONSENT),gn.substitutePlainTextScriptTags(),Pn.updateGtmMacros()},ii.prototype.close=function(e,t){var o;void 0===t&&(t=te.Banner),Fn.hideConsentNoticeV2(),this.updateConsentData(e),T.IsConsentLoggingEnabled?(e=t===te.PC?Gn:t===te.Banner?On:P.apiSource,o=t===te.PC?En:t===te.Banner?_n:Vn,A.bannerCloseSource===ee.ContinueWithoutAcceptingButton&&(e=Nn),A.bannerCloseSource===ee.BannerSaveSettings&&(e=xn),no.createConsentTxn(!1,o+" - "+e,t===te.PC)):p.dispatchConsentEvent(),this.executeOptanonWrapper()},ii.prototype.executeOptanonWrapper=function(){try{if(this.executeCustomScript(),"function"==typeof window.OptanonWrapper&&"undefined"!==window.OptanonWrapper){window.OptanonWrapper();for(var e=0,t=A.srcExecGrpsTemp;e<t.length;e++){var o=t[e];-1===A.srcExecGrps.indexOf(o)&&A.srcExecGrps.push(o)}A.srcExecGrpsTemp=[];for(var n=0,r=A.htmlExecGrpsTemp;n<r.length;n++){o=r[n];-1===A.htmlExecGrps.indexOf(o)&&A.htmlExecGrps.push(o)}A.htmlExecGrpsTemp=[]}}catch(e){console.warn("Error in Optanon wrapper, please review your code. "+e)}},ii.prototype.updateVendorLegBtns=function(e){if(P.legIntSettings.PAllowLI&&P.legIntSettings.PShowLegIntBtn)for(var t=I(S.P_Vendor_Container+" .ot-leg-btn-container").el,o=0;o<t.length;o++)this.groupsClass.updateLegIntBtnElement(t[o],e)},ii.prototype.showFltgCkStgButton=function(){var e=I("#ot-sdk-btn-floating"),e=(e.removeClass("ot-hide"),e.removeClass("ot-pc-open"),T.cookiePersistentLogo.includes("ot_guard_logo.svg")&&I(G.fltgFrontBtnSvg).attr(_t,""),I(G.fltgBackBtnSvg).attr(_t,"true"),document.querySelector(G.fltgBtnBackBtn)),t=document.querySelector(G.fltgBtnFrontBtn);t&&(t.setAttribute(_t,"false"),t.removeAttribute("display")),e&&(e.setAttribute(_t,"true"),e.setAttribute("display","none"))},ii.prototype.consentTransactions=function(e,t,o){void 0===o&&(o=!1),no&&!e&&T.IsConsentLoggingEnabled?no.createConsentTxn(!1,(o?En:_n)+" - "+(t?Bn:wn),o):p.dispatchConsentEvent()},ii.prototype.hideVendorsList=function(){Fn.checkIfPcSdkContainerExist()||(T.PCTemplateUpgrade?I("#onetrust-pc-sdk "+S.P_Content).removeClass("ot-hide"):I("#onetrust-pc-sdk .ot-main-content").show(),I("#onetrust-pc-sdk #close-pc-btn-handler.main").show(),I("#onetrust-pc-sdk "+S.P_Vendor_List).addClass("ot-hide"))},ii.prototype.resetConsent=function(){var e=this;A.groupsConsent=JSON.parse(JSON.stringify(A.initialGroupsConsent)),A.hostsConsent=JSON.parse(JSON.stringify(A.initialHostConsent)),A.showGeneralVendors&&(A.genVendorsConsent=JSON.parse(JSON.stringify(A.initialGenVendorsConsent))),A.vsIsActiveAndOptOut&&(A.vsConsent=new Map(A.initialVendorsServiceConsent)),T.IsIabEnabled&&(A.oneTrustIABConsent=JSON.parse(JSON.stringify(A.initialOneTrustIABConsent)),A.vendors=JSON.parse(JSON.stringify(A.initialVendors)),A.vendors.vendorTemplate=A.initialVendors.vendorTemplate),T.UseGoogleVendors&&(A.addtlVendors=JSON.parse(JSON.stringify(A.initialAddtlVendors)),A.addtlVendorsList=JSON.parse(JSON.stringify(A.initialAddtlVendorsList))),this.updateConsentData(!1),setTimeout(function(){e.resetConsentUI()},400)},ii.prototype.setLblTxtForTgl=function(e,t){e=e.querySelector(".ot-label-status");T.PCShowConsentLabels&&e&&(e.innerHTML=t?T.PCActiveText:T.PCInactiveText)},ii.prototype.resetConsentUI=function(){var u=this;E.getAllGroupElements().forEach(function(e){var t=e.getAttribute("data-optanongroupid"),o=C.getGroupById(t),t=G.isGroupActive(o,t),n=f.GroupTypes;if(P.pcName===g&&T.PCTemplateUpgrade&&(e=document.querySelector("#ot-desc-id-"+e.getAttribute("data-optanongroupid"))),u.setLblTxtForTgl(e,t),o.Type===Et||o.Type===n.Stack)for(var n=y.isBundleOrStackActive(o,A.initialGroupsConsent),r=e.querySelector('input[class*="category-switch-handler"]'),i=(b.setCheckedAttribute(null,r,n),e.querySelectorAll("li"+S.P_Subgrp_li)),s=0;s<i.length;s++){var a=C.getGroupById(i[s].getAttribute("data-optanongroupid")),l=a.OptanonGroupId,l=G.isGroupActive(a,l),c=i[s].querySelector('input[class*="cookie-subgroup-handler"]'),d=i[s].querySelector(".ot-label-status"),p=e.querySelector(".ot-label-status");T.PCShowConsentLabels&&d&&(p.innerHTML=l?T.PCActiveText:T.PCInactiveText),b.setCheckedAttribute(null,c,l),G.resetLegIntButton(a,i[s])}else{r=e.querySelector('input[class*="category-switch-handler"]');b.setCheckedAttribute(null,r,t),G.resetLegIntButton(o,e)}}),T.IsIabEnabled&&zn.toggleVendorConsent(),this.resetGenVenUI(),this.resetGoogleVenUI(),A.vsIsActiveAndOptOut&&V.resetVendorUIState(A.vsConsent)},ii.prototype.resetGenVenUI=function(){var e=I("#onetrust-pc-sdk .ot-gnven-chkbox-handler").el;if(A.showGeneralVendors&&e&&e.length){for(var t=0,o=e;t<o.length;t++){var n=o[t],r=n.getAttribute("gn-vid"),i=Boolean(A.genVendorsConsent[r]);b.setCheckedAttribute("",n,i),fo.updateGenVendorStatus(r,i)}h.genVenSelectAllTglEvent()}},ii.prototype.resetGoogleVenUI=function(){var e=I("#onetrust-pc-sdk .ot-addtlven-chkbox-handler").el;if(T.UseGoogleVendors&&e&&e.length)for(var t=0,o=e;t<o.length;t++){var n=o[t],r=n.getAttribute("addtl-vid");A.addtlVendorsList[r]&&(r=Boolean(A.addtlVendors.vendorSelected[r]),b.setCheckedAttribute("",n,r))}},ii.prototype.isGroupActive=function(e,t){var o;return e.IabGrpId?(o=void 0,o=e.Type===f.GroupTypes.Spl_Ft?A.initialVendors.selectedSpecialFeatures:e.IsLegIntToggle?A.initialVendors.selectedLegInt:A.initialVendors.selectedPurpose,-1!==jt.inArray(e.IabGrpId+":true",o)):-1!==jt.inArray(t+":1",A.initialGroupsConsent)},ii.prototype.resetLegIntButton=function(e,t){var o;P.legIntSettings.PAllowLI&&e.Type===f.GroupTypes.Pur&&e.HasLegIntOptOut&&P.legIntSettings.PShowLegIntBtn&&(o=!0,-1<A.vendors.selectedLegInt.indexOf(e.IabGrpId+":false")&&(o=!1),E.updateLegIntBtnElement(t,o))},ii.prototype.handleTogglesOnSingularConsentUpdate=function(e,t){if(this.closeOptanonAlertBox(),e===Pt)for(var s=this,o=0,n=t;o<n.length;o++){var r=n[o];!function(e,t){for(var o=C.getGroupById(e),n=s.groupsClass.getAllGroupElements(),r=0;r<n.length;r++){var i=C.getGroupById(n[r].getAttribute("data-optanongroupid"));if(i.OptanonGroupId===o.OptanonGroupId&&!i.Parent){B.toggleV2Category(null,i,t,i.CustomGroupId);break}i=i.SubGroups.find(function(e){return e.OptanonGroupId===o.OptanonGroupId});i&&B.toggleSubCategory(null,i.CustomGroupId,t,i.CustomGroupId)}}(c=r.id,d=r.isEnabled)}else if(e===It)for(var i=0,a=t;i<a.length;i++){var l=a[i],c=l.id,d=l.isEnabled,l=C.getGrpByVendorId(c);l&&V.toggleVendorService(l.CustomGroupId,c,d)}this.close(!1,te.API)};var G,ri=ii;function ii(){var o=this;this.iab=h,this.groupsClass=E,this.fltgBackBtnSvg=".ot-floating-button__back svg",this.fltgFrontBtnSvg=".ot-floating-button__front svg",this.fltgBtnBackBtn=".ot-floating-button__back button",this.fltgBtnFrontBtn=".ot-floating-button__front button",this.closeOptanonAlertBox=function(){var e;y.hideBanner(),I(document).off("keydown",B.closePCWhenEscPressed),T.NtfyConfig.ShowNtfy&&Mn.hideSyncNtfy(),P.isOptInMode||!P.isOptInMode&&!p.isAlertBoxClosedAndValid()?(c.setAlertBoxClosed(!0),T.PCTemplateUpgrade&&T.PCenterUserIdTitleText&&T.IsConsentLoggingEnabled&&o.updateDataSubjectTimestamp()):p.isAlertBoxClosedAndValid()&&(e=I(".onetrust-pc-dark-filter").el[0])&&"none"!==getComputedStyle(e).getPropertyValue("display")&&I(".onetrust-pc-dark-filter").fadeOut(400),_.csBtnGroup&&o.showFltgCkStgButton()},this.bodyClickEvent=function(e){var t=e.target;t.closest("#onetrust-banner-sdk")||t.closest("#onetrust-pc-sdk")||t.closest(".onetrust-pc-dark-filter")||t.closest(".ot-sdk-show-settings")||t.closest(".optanon-show-settings")||t.closest(".optanon-toggle-display")||G.onClickCloseBanner(e)},this.bannerCloseButtonHandler=function(e){var t;return void 0===e&&(e=!1),G.closeOptanonAlertBox(),k.moduleInitializer.MobileSDK?window.OneTrust.Close():(t=A.bannerCloseSource===ee.ConfirmChoiceButton?te.PC:te.Banner,G.close(e,t)),!1},this.allowAllEventHandler=function(e){void 0===e&&(e=!1),I(document).off("keydown",B.shiftBannerFocus),c.triggerGoogleAnalyticsEvent(Vo,e?"Preferences Allow All":"Banner Accept Cookies"),o.allowAllEvent(!1,e),o.hideVendorsList()},this.allowAllEvent=function(e,t){void 0===e&&(e=!1),void 0===t&&(t=!1),o.closeOptanonAlertBox(),G.allowAll(e,t)},this.rejectAllEventHandler=function(e){void 0===e&&(e=!1),I(document).off("keydown",B.shiftBannerFocus),c.triggerGoogleAnalyticsEvent(Vo,e?"Preferences Reject All":"Banner Reject All"),k.moduleInitializer.MobileSDK?window.OneTrust.RejectAll():(o.rejectAllEvent(!1,e),o.hideVendorsList())},this.rejectAllEvent=function(e,t){void 0===e&&(e=!1),void 0===t&&(t=!1),o.closeOptanonAlertBox(),!p.isIABCrossConsentEnabled()||P.thirdPartyiFrameLoaded?o.rejectAll(e,t):P.thirdPartyiFramePromise.then(function(){o.rejectAll(e,t)})}}li.prototype.initBanner=function(){this.canImpliedConsentLandingPage(),k.moduleInitializer.CookieSPAEnabled?I(window).on("otloadbanner",this.windowLoadBanner.bind(this)):I(window).one("otloadbanner",this.windowLoadBanner.bind(this))},li.prototype.insertCSBtnHtmlAndCss=function(e){document.getElementById("onetrust-style").innerHTML+=_.csBtnGroup.css;var t=document.createElement("div"),t=(I(t).html(_.csBtnGroup.html),t.querySelector("#ot-sdk-btn-floating"));e&&t&&I(t).removeClass("ot-hide"),I("#onetrust-consent-sdk").append(t),T.cookiePersistentLogo&&(T.cookiePersistentLogo.includes("ot_guard_logo.svg")?this.applyPersistentSvgOnDOM():I(".ot-floating-button__front, .ot-floating-button__back").addClass("custom-persistent-icon"))},li.prototype.applyPersistentSvgOnDOM=function(){return R(this,void 0,void 0,function(){var t;return q(this,function(e){switch(e.label){case 0:return[4,Yt.getPersistentCookieSvg()];case 1:return t=e.sent(),I(this.FLOATING_COOKIE_FRONT_BTN).html(t),B.otGuardLogoResolve(!0),[2]}})})},li.prototype.canImpliedConsentLandingPage=function(){this.isImpliedConsent()&&!Po.isLandingPage()&&"true"===v.readCookieParam(m.OPTANON_CONSENT,De)&&this.checkForRefreshCloseImplied()},li.prototype.isImpliedConsent=function(){return T.ConsentModel&&"implied consent"===T.ConsentModel.Name.toLowerCase()},li.prototype.checkForRefreshCloseImplied=function(){G.closeOptanonAlertBox(),G.close(!0)},li.prototype.hideCustomHtml=function(){var e=document.getElementById("onetrust-banner-sdk");e&&d(e,"display: none;")},li.prototype.shouldShowBanner=function(e){return T.ShowAlertNotice&&!e&&!T.NoBanner&&!A.hideBanner},li.prototype.shouldShowPc=function(e){return T.ShowAlertNotice&&!e&&T.NoBanner},li.prototype.windowLoadBanner=function(){return R(this,void 0,void 0,function(){var t,o,n,r,i;return q(this,function(e){switch(e.label){case 0:return(this.core.substitutePlainTextScriptTags(),t=k.moduleInitializer,I("#onetrust-consent-sdk").length?o=document.getElementById("onetrust-consent-sdk"):(o=document.createElement("div"),I(o).attr("id","onetrust-consent-sdk"),I(document.body).append(o)),I(".onetrust-pc-dark-filter").length||(n=document.createElement("div"),I(n).attr("class","onetrust-pc-dark-filter"),I(n).attr("class","ot-hide"),I(n).attr("class","ot-fade-in"),o.firstChild?o.insertBefore(n,o.firstChild):I(o).append(n)),T.IsIabEnabled&&this.iab.updateIabVariableReference(),n=p.isAlertBoxClosedAndValid(),r=this.shouldShowBanner(n),i=this.shouldShowPc(n),A.ntfyRequired?(this.hideCustomHtml(),Mn.init(),Mn.changeState()):r?B.initializeAlartHtmlAndHandler():(T.IsGPPEnabled&&Yr.setCmpDisplayStatus("disabled"),this.hideCustomHtml()),t.IsSuppressPC||(O.insertPcHtml(),B.initialiseConsentNoticeHandlers(),T.IsIabEnabled&&this.iab.InitializeVendorList()),this.prepopulateCookieOrVendorPageTitle(),this.initializeHbbTvScript(),this.insertCSBtn(!r),i)?[4,B.toggleInfoDisplay()]:[3,2];case 1:e.sent(),e.label=2;case 2:return B.insertCookieSettingText(),this.initializeFloatingButtonOnBannerLoad(i),si.insertTrackigTechOrCookiePolicy(),G.executeOptanonWrapper(),this.initializeCookieParamsOnBannerLoad(r),[2]}})})},li.prototype.prepopulateCookieOrVendorPageTitle=function(){k.isV2Template&&(T.GeneralVendorsEnabled?this.iab.setListSearchValues(_e.vendors):this.iab.setListSearchValues(_e.cookies))},li.prototype.initializeFloatingButtonOnBannerLoad=function(e){var t=I(this.FLOATING_COOKIE_BTN),o=I(this.FLOATING_COOKIE_FRONT_BTN),n=I(this.FLOATING_COOKIE_BACK_BTN);t.length&&(t.attr("title",T.CookieSettingButtonText),o.el[0].setAttribute(Lt,T.AriaOpenPreferences),n.el[0].setAttribute(Lt,T.AriaClosePreferences),(e?(o.el[0].setAttribute(_t,!0),o):(n.el[0].setAttribute(_t,!0),n)).el[0].setAttribute("display","none"))},li.prototype.initializeCookieParamsOnBannerLoad=function(e){v.readCookieParam(m.OPTANON_CONSENT,po)||co.writeGrpParam(m.OPTANON_CONSENT),v.readCookieParam(m.OPTANON_CONSENT,uo)||co.writeHstParam(m.OPTANON_CONSENT),A.showGeneralVendors&&!v.readCookieParam(m.OPTANON_CONSENT,go)&&co.writeGenVenCookieParam(m.OPTANON_CONSENT),A.vsIsActiveAndOptOut&&!v.readCookieParam(m.OPTANON_CONSENT,ho)&&co.writeVSConsentCookieParam(m.OPTANON_CONSENT),e&&cn.setBannerFocus()},li.prototype.initializeHbbTvScript=function(){var e;k.moduleInitializer.RemoteActionsEnabled&&((e=document.getElementById("hbbtv"))&&e.remove(),(e=document.createElement("script")).id="hbbtv",e.src=A.storageBaseURL+"/scripttemplates/"+k.moduleInitializer.Version+"/hbbtv.js",e.type="text/javascript",I(document.body).append(e))},li.prototype.insertCSBtn=function(e){_.csBtnGroup&&(this.insertCSBtnHtmlAndCss(e),B.initFlgtCkStgBtnEventHandlers())},li.prototype.insertTrackingTechnologies=function(){var e;I("#ot-sdk-cookie-policy, #optanon-cookie-policy").length&&(window.OnetrustCookiePolicy&&window.OnetrustCookiePolicy.InsertCookiePolicyHtml?window.OnetrustCookiePolicy.InsertCookiePolicyHtml(y,T,I):((e=document.createElement("script")).id="cookie-policy-script",e.onload=function(){return window.OnetrustCookiePolicy.InsertCookiePolicyHtml(y,T,I)},e.type="text/javascript",e.src=A.storageBaseURL+"/scripttemplates/"+k.moduleInitializer.Version+"/trackingTechnologies.js",document.head.appendChild(e)))},li.prototype.insertTrackigTechOrCookiePolicy=function(){k.fp.CookieV2TrackingTechnologies?si.insertTrackingTechnologies():ar.insertCookiePolicyHtml()};var si,ai=li;function li(){this.iab=h,this.core=gn,this.FLOATING_COOKIE_BTN="#ot-sdk-btn-floating",this.FLOATING_COOKIE_FRONT_BTN="#ot-sdk-btn-floating .ot-floating-button__front .ot-floating-button__open",this.FLOATING_COOKIE_BACK_BTN="#ot-sdk-btn-floating .ot-floating-button__back .ot-floating-button__close"}D(ui,ci=pr),ui.prototype.Close=function(e){G.closeBanner(!1),window.location.href="http://otsdk//consentChanged"},ui.prototype.RejectAll=function(e){G.rejectAllEvent(),window.location.href="http://otsdk//consentChanged"},ui.prototype.AllowAll=function(e){G.AllowAllV2(e),window.location.href="http://otsdk//consentChanged"},ui.prototype.ToggleInfoDisplay=function(){B.toggleInfoDisplay()};var ci,di,pi=ui;function ui(){var e=null!==ci&&ci.apply(this,arguments)||this;return e.mobileOnlineURL=P.mobileOnlineURL,e}Ci.prototype.syncConsentProfile=function(e,t,o){void 0===o&&(o=!1),e?(A.dsParams.id=e.trim(),dr.setDataSubjectIdV2(e)):e=A.dsParams.id,o&&(A.dsParams.isAnonymous=o),t=t||A.dsParams.token,e&&t&&Yt.getConsentProfile(e,t).then(function(e){return gi.consentProfileCallback(e)})},Ci.prototype.getConsentValue=function(e){var t=null;switch(e){case H[H.ACTIVE]:case H[H.ALWAYS_ACTIVE]:t=he.Active;break;case H[H.EXPIRED]:case H[H.OPT_OUT]:case H[H.PENDING]:case H[H.WITHDRAWN]:t=he.InActive}return t},Ci.prototype.isCookieGroup=function(e){return!/IABV2|ISPV2|IFEV2|ISFV2|IAB2V2|IFE2V2|ISP2V2|ISF2V2/.test(e)},Ci.prototype.syncPreferences=function(e,t){void 0===t&&(t=!1);var o=C=v.getCookie(m.ALERT_BOX_CLOSED),n=!1,r=!0,i=!1,s=b.strToArr(v.readCookieParam(m.OPTANON_CONSENT,"groups"));if(e&&e.preferences.length)for(var a=0,l=e.preferences;a<l.length;a++){var c=l[a],d=c.status===H[H.NO_CONSENT],p=P.domainGrps[c.id];if(p)if(-1<A.grpsSynced.indexOf(p)&&(A.syncedValidGrp=!0),d&&s.length){for(var u=-1,g=0;g<s.length;g++)if(s[g].split(":")[0]===p){u=g;break}-1<u&&(s.splice(u,1),A.grpsSynced.push(p))}else if(!d&&(!C||new Date(c.lastInteractionDate)>new Date(o))){var h=this.getConsentValue(c.status),i=!0,C=c.lastInteractionDate;if(!t&&this.isCookieGroup(p)){for(var y=p+":"+h,f=-1,g=0;g<s.length;g++){var k=s[g].split(":");if(k[0]===p){k[1]!==h&&(s[g]=y,n=!0),f=g;break}}-1===f&&(s.push(y),n=!0)}}}else r=!1;return{alertBoxCookieVal:C,groupsConsent:s,profileFound:r,syncRequired:n,syncOnlyDate:i=i&&!n}},Ci.prototype.hideBannerAndPc=function(){var e=y.isBannerVisible();e&&y.hideBanner(),(e||A.isPCVisible)&&(Ln.removeAddedOTCssStyles(),Fn.hideConsentNoticeV2())},Ci.prototype.setOptanonConsentCookie=function(e,t){var o;e.syncRequired&&(v.writeCookieParam(m.OPTANON_CONSENT,"groups",e.groupsConsent.toString()),o=v.getCookie(m.OPTANON_CONSENT),v.setCookie(m.OPTANON_CONSENT,o,t,!1,new Date(e.alertBoxCookieVal)))},Ci.prototype.setIabCookie=function(e,t,o){o.syncGroups&&o.syncGroups[A.syncGrpId]&&o.syncGroups[A.syncGrpId].tcStringV2?v.getCookie(m.EU_PUB_CONSENT)!==o.syncGroups[A.syncGrpId].tcStringV2&&(e.syncRequired=!0,v.setCookie(m.EU_PUB_CONSENT,o.syncGroups[A.syncGrpId].tcStringV2,t,!1,new Date(e.alertBoxCookieVal))):e.profileFound=!1},Ci.prototype.setAddtlVendorsCookie=function(e,t){T.UseGoogleVendors&&!v.getCookie(m.ADDITIONAL_CONSENT_STRING)&&v.setCookie(m.ADDITIONAL_CONSENT_STRING,A.addtlConsentVersion,t,!1,new Date(e.alertBoxCookieVal))},Ci.prototype.createTrans=function(){var e=v.readCookieParam(m.OPTANON_CONSENT,"iType");no.createConsentTxn(!1,ge[e],!1,!0)},Ci.prototype.updateGrpsDom=function(){for(var e=0,t=E.getAllGroupElements();e<t.length;e++)!function(e){var t=e.getAttribute("data-optanongroupid"),o=C.getGroupById(t),n=!0,r=b.findIndex(A.groupsConsent,function(e){return e.split(":")[0]===t});-1<r&&A.groupsConsent[r].split(":")[1]===he.InActive&&(n=!1),E.toggleGrpElements(e,o,n),E.toogleSubGroupElement(e,n,!1,!0),E.toogleSubGroupElement(e,n,!0,!0)}(t[e])},Ci.prototype.updateVendorsDom=function(){T.IsIabEnabled&&(h.updateIabVariableReference(),zn.toggleVendorConsent(),P.legIntSettings.PAllowLI)&&(P.legIntSettings.PShowLegIntBtn?zn.updateVendorLegBtns():zn.toggleVendorLi())},Ci.prototype.consentProfileCallback=function(r){return R(this,void 0,void 0,function(){var t,o,n;return q(this,function(e){switch(e.label){case 0:return(t=this.syncPreferences(r),o=T.ReconsentFrequencyDays,n=p.isIABCrossConsentEnabled(),this.setOptanonConsentCookie(t,o),T.IsIabEnabled&&!n&&this.setIabCookie(t,o,r),t.syncOnlyDate&&(p.syncAlertBoxCookie(t.alertBoxCookieVal),p.syncCookieExpiry()),t.syncRequired&&t.profileFound)?(A.syncRequired=t.syncRequired,p.syncAlertBoxCookie(t.alertBoxCookieVal),this.setAddtlVendorsCookie(t,o),this.hideBannerAndPc(),_.initGrpsAndHosts(),!n&&T.NtfyConfig.ShowNtfy&&p.isAlertBoxClosedAndValid()?[4,Mn.getContent()]:[3,2]):[3,3];case 1:e.sent(),Mn.init(),Mn.changeState(),e.label=2;case 2:return T.IsIabEnabled&&(p.setIABCookieData(),so.populateVendorAndPurposeFromCookieData()),this.updateGrpsDom(),this.updateVendorsDom(),Po.setLandingPathParam(Me),gn.substitutePlainTextScriptTags(),Pn.updateGtmMacros(!0),G.executeOptanonWrapper(),[3,4];case 3:!t.profileFound&&t.alertBoxCookieVal&&this.createTrans(),e.label=4;case 4:return[2]}})})};var gi,hi=Ci;function Ci(){}ki.prototype.removeCookies=function(){v.removePreview(),v.removeOptanon(),v.removeAlertBox(),v.removeIab2(),v.removeAddtlStr(),v.removeVariant(),A.isPreview&&yi.setPreviewCookie(),A.urlParams.get("otreset")&&A.urlParams.set("otreset","false");var e=window.location.pathname+"?"+A.urlParams.toString()+window.location.hash;yi.replaceHistory(e)},ki.prototype.setPreviewCookie=function(){var e=new Date,t=(e.setTime(e.getTime()+864e5),A.geoFromUrl?"&geo="+A.geoFromUrl:""),e="expiry="+e.toISOString()+t;v.setCookie(m.OT_PREVIEW,e,1,!1)},ki.prototype.bindStopPreviewEvent=function(){(window.attachEvent||window.addEventListener)("message",function(e){return yi.onMessage(e)})},ki.prototype.replaceHistory=function(e){history.pushState({},"",e),location.reload()},ki.prototype.onMessage=function(e){"string"==typeof e.data&&e.data===yi.CLEAR_COOKIES&&(yi.removeCookies(),e.source)&&e.source.postMessage&&e.source.postMessage(yi.CLEARED_COOKIES,e.origin)};var yi,fi,x=ki;function ki(){this.CLEAR_COOKIES="CLEAR_OT_COOKIES",this.CLEARED_COOKIES="CLEARED_OT_COOKIES"}Ne.initPolyfill(),v=new Dt,y=new $t,P=new e,zt=new Wt,yi=new x,(a=window.otStubData)&&(k.moduleInitializer=a.domainData,k.fp=k.moduleInitializer.TenantFeatures,A.isAMP=a.isAmp,A.dataDomainId=a.domainId,A.isPreview=a.isPreview,A.urlParams=a.urlParams,A.isV2Stub=a.isV2Stub||!1,P.gtmUpdatedinStub=a.gtmUpdated,a.isReset?yi.removeCookies():a.isPreview&&yi.setPreviewCookie(),P.setBannerScriptElement(a.stubElement),P.setRegionRule(a.regionRule),k.fp.CookieV2TargetedTemplates&&(P.conditionalLogicEnabled=!(null==(fi=P.getRegionRule().Conditions)||!fi.length),P.conditionalLogicEnabled)&&(function(){for(var e=P.getRegionRule(),t=0;t<e.Conditions.length;t++)try{if(function(e){if(e)return e=window.atob(e),Function('"use strict"; return '+e)()}(e.Conditions[t].Expression))return P.Condition=e.Conditions[t]}catch(e){console.warn(e);continue}P.allConditionsFailed=!0}(),P.canUseConditionalLogic=!P.allConditionsFailed),A.userLocation=a.userLocation,A.crossOrigin=a.crossOrigin,P.bannerDataParentURL=a.bannerBaseDataURL,P.mobileOnlineURL=M(P.mobileOnlineURL,a.mobileOnlineURL),fi=P.getRegionRule(),P.multiVariantTestingEnabled=k.moduleInitializer.MultiVariantTestingEnabled&&0<fi.Variants.length&&y.isDateCurrent(fi.TestEndTime),P.otDataLayer=a.otDataLayer,A.grpsSynced=a.grpsSynced||[],A.isIabSynced=a.isIabSynced,A.isGacSynced=a.isGacSynced,A.syncRequired=a.isIabSynced||a.isGacSynced||a.grpsSynced&&0<a.grpsSynced.length,A.consentPreferences=a.preferences,A.syncGrpId=a.syncGrpId,A.consentApi=a.consentApi,A.tenantId=a.tenantId,A.geoFromUrl=a.geoFromUrl,A.nonce=a.nonce,A.setAttributePolyfillIsActive=a.setAttributePolyfillIsActive,A.storageBaseURL=a.storageBaseURL,P.previewMode=a.previewMode,zt.populateLangSwitcherPlhdr(),window.otStubData={userLocation:A.userLocation},window.OneTrustStub=null),function(){R(this,void 0,void 0,function(){var r,i,s,a;return q(this,function(e){switch(e.label){case 0:return(C=new to,E=new un,sn=new an,h=new yn,gn=new hn,G=new ri,B=new ni,O=new Sn,$r=new Zr,si=new ai,k.fp.CookieV2TrackingTechnologies||(ar=new lr),Qn=new or,fo=new ko,_=new nn,Pn=new Tn,rr=new ir,c=new Lo,L=new eo,gi=new hi,zn=new Kn,Yt=new Xt,cn=new dn,Fn=new Rn,V=new kn,u=new ti,k.moduleInitializer.MobileSDK?di=new pi:dr=new pr,so=new ao,o=v.getCookie(m.ALERT_BOX_CLOSED),n=v.getCookie(m.OPTANON_CONSENT),o&&!n&&v.removeAlertBox(),P.setGCMcallback(),a=P.getRegionRule(),a=(P.canUseConditionalLogic?P.Condition:a).UseGoogleVendors,P.isIab2orv2Template="IAB2"===P.getRegionRuleType()||"IAB2V2"===P.getRegionRuleType(),P.isTcfV2Template="IAB2V2"===P.getRegionRuleType(),P.isIab2orv2Template)?[4,Promise.all([Yt.getLangJson(),Yt.fetchGvlObj(),a?Yt.fetchGoogleVendors():Promise.resolve(null),Yt.loadCMP()])]:[3,2];case 1:return a=e.sent(),r=a[0],i=a[1],s=a[2],A.gvlObj=i,A.addtlVendorsList=s?s.vendors:null,[3,4];case 2:return[4,Yt.getLangJson()];case 3:r=e.sent(),e.label=4;case 4:return r.DomainData.IsGPPEnabled?[4,Yt.loadGPP()]:[3,6];case 5:e.sent(),Yr=new Xr,e.label=6;case 6:var t;return function(s){R(this,void 0,void 0,function(){var r,i;return q(this,function(e){switch(e.label){case 0:window.OneTrust=window.Optanon=Object.assign({},window.OneTrust,function(e){var t,o=k.moduleInitializer.MobileSDK;t=o?di:dr;var n={AllowAll:t.AllowAll,BlockGoogleAnalytics:t.BlockGoogleAnalytics,Close:t.Close,getCSS:t.getCSS,GetDomainData:t.GetDomainData,getGeolocationData:t.getGeolocationData,getHTML:t.getHTML,Init:t.Init,InitializeBanner:t.InitializeBanner,initializeCookiePolicyHtml:t.initCookiePolicyAndSettings,InsertHtml:t.InsertHtml,InsertScript:t.InsertScript,IsAlertBoxClosed:t.IsAlertBoxClosed,IsAlertBoxClosedAndValid:t.IsAlertBoxClosedAndValid,LoadBanner:t.LoadBanner,OnConsentChanged:c.OnConsentChanged,ReconsentGroups:t.ReconsentGroups,RejectAll:t.RejectAll,SetAlertBoxClosed:t.SetAlertBoxClosed,setGeoLocation:t.setGeoLocation,ToggleInfoDisplay:t.ToggleInfoDisplay,TriggerGoogleAnalyticsEvent:t.TriggerGoogleAnalyticsEvent,useGeoLocationService:t.useGeoLocationService,FetchAndDownloadPC:t.FetchAndDownloadPC,changeLanguage:t.changeLang,testLog:t.getTestLogData,UpdateConsent:t.updateSingularConsent,IsVendorServiceEnabled:t.vendorServiceEnabled,UpdateGCM:t.updateGCM};e.IsConsentLoggingEnabled&&(n.getDataSubjectId=t.getDataSubjectId,n.setConsentProfile=t.setConsentProfile,n.setDataSubjectId=t.setDataSubjectIdV2,A.isV2Stub)&&(n.syncConsentProfile=gi.syncConsentProfile);o&&(n.mobileOnlineURL=t.mobileOnlineURL,n.otCookieData=A.otCookieData);e.IsIabEnabled&&(n.updateConsentFromCookies=c.updateConsentFromCookie,n.getPingRequest=so.getPingRequestForTcf,n.getVendorConsentsRequestV2=so.getVendorConsentsRequestV2,n.showVendorsList=t.showVendorsList);return n}(s.DomainData)),p.initializeBannerVariables(s),co=new Co,vo=new bo,no=new ro,Ln=new Dn,Po=new Ao,Jn=new Yn,Mn=new Un;var t,o=window.OTExternalConsent;return o&&o.consentedDate&&(o.groups||o.tcString||o.addtlString)&&(t=[],(n=o.groups.split(",")).forEach(function(e){e=e.split(":");t.push({lastInteractionDate:o.consentedDate,status:"1"===e[1]?H[H.ACTIVE]:H[H.OPT_OUT],id:e[0]}),A.grpsSynced.push(e[0])}),A.consentPreferences={preferences:t,syncGroups:null},A.syncRequired=!0,co.updateGroupsInCookie(m.OPTANON_CONSENT,n),v.setCookie(m.ALERT_BOX_CLOSED,o.consentedDate,365),o.tcString&&(A.isIabSynced=!0,v.setCookie(m.EU_PUB_CONSENT,o.tcString,365)),o.addtlString)&&(A.isGacSynced=!0,v.setCookie(m.ADDITIONAL_CONSENT_STRING,""+o.addtlString,365)),A.isPreview&&(p.syncOtPreviewCookie(),yi.bindStopPreviewEvent()),r=gi.syncPreferences(A.consentPreferences,!0),(A.syncRequired||r.syncRequired)&&p.syncAlertBoxCookie(r.alertBoxCookieVal),p.syncCookieExpiry(),n=window.OneTrust.dataSubjectParams||{},(A.dsParams=n).id&&dr.setDataSubjectIdV2(n.id,n.isAnonymous,n.identifierType),P.multiVariantTestingEnabled&&P.selectedVariant&&v.setCookie(m.SELECTED_VARIANT,P.selectedVariant.Id,T.ReconsentFrequencyDays),[4,so.initializeIABModule()];case 1:return e.sent(),window.OneTrust.Init(!0),s.DomainData.IsGPPEnabled&&Yr.initGppConsent(),[4,_.fetchAssets()];case 2:return(e.sent(),si.initBanner(),c.assetResolve(!0),Qn.initialiseCssReferences(),i=p.isIABCrossConsentEnabled(),(A.syncedValidGrp||A.isIabSynced||A.isGacSynced)&&!i&&T.NtfyConfig.ShowNtfy&&p.isAlertBoxClosedAndValid())?(A.ntfyRequired=!0,[4,Mn.getContent()]):[3,4];case 3:e.sent(),e.label=4;case 4:return i||window.OneTrust.LoadBanner(),[2]}var n})})}(r),k.moduleInitializer.WebFormIntegrationEnabled&&(o=window.otStubData,n=document.createElement("script"),t=k.moduleInitializer.WebFormSrcUrl,n.type="text/javascript",n.src=t,n.setAttribute("dataId",k.moduleInitializer.TenantGuid),n.setAttribute("worker",k.moduleInitializer.WebFormWorkerUrl),o.charset&&n.setAttribute("charset",o.charset),o.crossOrigin&&n.setAttribute("crossorigin",o.crossOrigin),document.querySelector('script[src="'+t+'"]')||document.getElementsByTagName("head")[0].appendChild(n)),[2]}var o,n})})}()}();