Files

8 lines
402 KiB
JavaScript
Executable File

/**
* onetrust-banner-sdk
* v202301.2.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)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)};function e(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}var k,t,o,r,i=function(){return(i=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 u(i,s,a,l){return new(a=a||Promise)(function(e,t){function o(e){try{r(l.next(e))}catch(e){t(e)}}function n(e){try{r(l.throw(e))}catch(e){t(e)}}function r(t){t.done?e(t.value):new a(function(e){e(t.value)}).then(o,n)}r((l=l.apply(i,s||[])).next())})}function g(o,n){var r,i,s,e,a={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return e={next:t(0),throw:t(1),return:t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,i&&(s=2&t[0]?i.return:t[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,t[1])).done)return s;switch(i=0,s&&(t=[2&t[0],s.value]),t[0]){case 0:case 1:s=t;break;case 4:return a.label++,{value:t[1],done:!1};case 5:a.label++,i=t[1],t=[0];continue;case 7:t=a.ops.pop(),a.trys.pop();continue;default:if(!(s=0<(s=a.trys).length&&s[s.length-1])&&(6===t[0]||2===t[0])){a=0;continue}if(3===t[0]&&(!s||t[1]>s[0]&&t[1]<s[3])){a.label=t[1];break}if(6===t[0]&&a.label<s[1]){a.label=s[1],s=t;break}if(s&&a.label<s[2]){a.label=s[2],a.ops.push(t);break}s[2]&&a.ops.pop(),a.trys.pop();continue}t=n.call(o,a)}catch(e){t=[6,e],i=0}finally{r=s=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}}function b(){for(var e=0,t=0,o=arguments.length;t<o;t++)e+=arguments[t].length;var n=Array(e),r=0;for(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}(t=k=k||{})[t.ACTIVE=0]="ACTIVE",t[t.ALWAYS_ACTIVE=1]="ALWAYS_ACTIVE",t[t.EXPIRED=2]="EXPIRED",t[t.NO_CONSENT=3]="NO_CONSENT",t[t.OPT_OUT=4]="OPT_OUT",t[t.PENDING=5]="PENDING",t[t.WITHDRAWN=6]="WITHDRAWN",(r=o=o||{}).ping="ping",r.addEventListener="addEventListener",r.removeEventListener="removeEventListener",r.hasSection="hasSection",r.getSection="getSection",r.getField="getField",r.getGPPData="getGPPData";var s=setTimeout;function l(e){return Boolean(e&&void 0!==e.length)}function a(){}function c(e){if(!(this instanceof c))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=[],f(e,this)}function d(o,n){for(;3===o._state;)o=o._value;0!==o._state?(o._handled=!0,c._immediateFn(function(){var e=1===o._state?n.onFulfilled:n.onRejected;if(null!==e){var t;try{t=e(o._value)}catch(e){return void h(n.promise,e)}p(n.promise,t)}else(1===o._state?p:h)(n.promise,o._value)})):o._deferreds.push(n)}function p(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 c)return t._state=3,t._value=e,void C(t);if("function"==typeof o)return void f((n=o,r=e,function(){n.apply(r,arguments)}),t)}t._state=1,t._value=e,C(t)}catch(e){h(t,e)}var n,r}function h(e,t){e._state=2,e._value=t,C(e)}function C(e){2===e._state&&0===e._deferreds.length&&c._immediateFn(function(){e._handled||c._unhandledRejectionFn(e._value)});for(var t=0,o=e._deferreds.length;t<o;t++)d(e,e._deferreds[t]);e._deferreds=null}function y(e,t,o){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=o}function f(e,t){var o=!1;try{e(function(e){o||(o=!0,p(t,e))},function(e){o||(o=!0,h(t,e))})}catch(e){if(o)return;o=!0,h(t,e)}}function v(){}c.prototype.catch=function(e){return this.then(null,e)},c.prototype.then=function(e,t){var o=new this.constructor(a);return d(this,new y(e,t,o)),o},c.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)})})},c.all=function(t){return new c(function(n,r){if(!l(t))return r(new TypeError("Promise.all accepts an array"));var i=Array.prototype.slice.call(t);if(0===i.length)return n([]);var s=i.length;function a(t,e){try{if(e&&("object"==typeof e||"function"==typeof e)){var o=e.then;if("function"==typeof o)return void o.call(e,function(e){a(t,e)},r)}i[t]=e,0==--s&&n(i)}catch(e){r(e)}}for(var e=0;e<i.length;e++)a(e,i[e])})},c.resolve=function(t){return t&&"object"==typeof t&&t.constructor===c?t:new c(function(e){e(t)})},c.reject=function(o){return new c(function(e,t){t(o)})},c.race=function(r){return new c(function(e,t){if(!l(r))return t(new TypeError("Promise.race accepts an array"));for(var o=0,n=r.length;o<n;o++)c.resolve(r[o]).then(e,t)})},c._immediateFn="function"==typeof setImmediate?function(e){setImmediate(e)}:function(e){s(e,0)},c._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var m,S,P,T,A,I,L,_,E,V,B,w,O,x,G,N,D,H,J,F,R,q,M,U,j,z,K,W,Y,X,Q,$,Z,ee,te,oe,ne,re,ie,se,ae,le,ce,de,pe,ue,he,ge,Ce,ye,fe,ve,ke,me,be,Se,Pe,Te,Ae,Ie,Le,_e,Ee,Ve,Be,we,Oe,xe,Ge,Ne,De,He,Fe,Re,qe,Me,Ue,je,ze,Ke=new(v.prototype.initPolyfill=function(){this.initArrayIncludesPolyfill(),this.initObjectAssignPolyfill(),this.initArrayFillPolyfill(),this.initClosestPolyfill(),this.initIncludesPolyfill(),this.initEndsWithPoly(),this.initCustomEventPolyfill(),this.promisesPolyfil()},v.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)return!1;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})},v.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})},v.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;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null},writable:!0,configurable:!0})},v.prototype.initIncludesPolyfill=function(){String.prototype.includes||Object.defineProperty(String.prototype,"includes",{value:function(e,t){return"number"!=typeof t&&(t=0),!(t+e.length>this.length)&&-1!==this.indexOf(e,t)},writable:!0,configurable:!0})},v.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})},v.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),i=arguments[2],s=void 0===i?o:i>>0,a=s<0?Math.max(o+s,0):Math.min(s,o);r<a;)t[r]=e,r++;return t}})},v.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},v.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)},v.prototype.promisesPolyfil=function(){"undefined"==typeof Promise&&(window.Promise=c)},v);(S=m=m||{})[S.Unknown=0]="Unknown",S[S.BannerCloseButton=1]="BannerCloseButton",S[S.ConfirmChoiceButton=2]="ConfirmChoiceButton",S[S.AcceptAll=3]="AcceptAll",S[S.RejectAll=4]="RejectAll",S[S.BannerSaveSettings=5]="BannerSaveSettings",S[S.ContinueWithoutAcceptingButton=6]="ContinueWithoutAcceptingButton",(T=P=P||{})[T.Banner=1]="Banner",T[T.PC=2]="PC",T[T.API=3]="API",(I=A=A||{}).AcceptAll="AcceptAll",I.RejectAll="RejectAll",I.UpdateConsent="UpdateConsent",(_=L=L||{})[_.Purpose=1]="Purpose",_[_.SpecialFeature=2]="SpecialFeature",(V=E=E||{}).Legal="legal",V.UserFriendly="user_friendly",(w=B=B||{}).Top="top",w.Bottom="bottom",(x=O=O||{})[x.Banner=0]="Banner",x[x.PrefCenterHome=1]="PrefCenterHome",x[x.VendorList=2]="VendorList",x[x.CookieList=3]="CookieList",(N=G=G||{})[N.RightArrow=39]="RightArrow",N[N.LeftArrow=37]="LeftArrow",(H=D=D||{}).AfterTitle="AfterTitle",H.AfterDescription="AfterDescription",H.AfterDPD="AfterDPD",(F=J=J||{}).PlusMinus="Plusminus",F.Caret="Caret",F.NoAccordion="NoAccordion",(q=R=R||{}).Consent="Consent",q.LI="LI",q.AddtlConsent="AddtlConsent",(U=M=M||{}).Iab1Pub="eupubconsent",U.Iab2Pub="eupubconsent-v2",U.Iab1Eu="euconsent",U.Iab2Eu="euconsent-v2",(z=j=j||{})[z.Disabled=0]="Disabled",z[z.Consent=1]="Consent",z[z.LegInt=2]="LegInt",(W=K=K||{})[W["Banner - Allow All"]=1]="Banner - Allow All",W[W["Banner - Reject All"]=2]="Banner - Reject All",W[W["Banner - Close"]=3]="Banner - Close",W[W["Preference Center - Allow All"]=4]="Preference Center - Allow All",W[W["Preference Center - Reject All"]=5]="Preference Center - Reject All",W[W["Preference Center - Confirm"]=6]="Preference Center - Confirm",(X=Y=Y||{}).Active="1",X.InActive="0",($=Q=Q||{}).Host="Host",$.GenVendor="GenVen",(ee=Z=Z||{})[ee.Host=1]="Host",ee[ee.GenVen=2]="GenVen",ee[ee.HostAndGenVen=3]="HostAndGenVen",(oe=te=te||{})[oe.minDays=1]="minDays",oe[oe.maxDays=30]="maxDays",oe[oe.maxYear=31536e3]="maxYear",oe[oe.maxSecToDays=86400]="maxSecToDays",(re=ne=ne||{})[re.RTL=0]="RTL",re[re.LTR=1]="LTR",(se=ie=ie||{})[se.GoogleVendor=1]="GoogleVendor",se[se.GeneralVendor=2]="GeneralVendor",(le=ae=ae||{})[le.Days=1]="Days",le[le.Weeks=7]="Weeks",le[le.Months=30]="Months",le[le.Years=365]="Years",(de=ce=ce||{}).Checkbox="Checkbox",de.Toggle="Toggle",(ue=pe=pe||{}).SlideIn="Slide_In",ue.FadeIn="Fade_In",ue.RemoveAnimation="Remove_Animation",(ge=he=he||{}).Link="Link",ge.Icon="Icon",(ye=Ce=Ce||{}).consent="consent",ye.set="set",(ve=fe=fe||{}).update="update",ve.default="default",ve.ads_data_redaction="ads_data_redaction",(me=ke=ke||{}).analytics_storage="analytics_storage",me.ad_storage="ad_storage",me.functionality_storage="functionality_storage",me.personalization_storage="personalization_storage",me.security_storage="security_storage",me.region="region",me.wait_for_update="wait_for_update",(Se=be=be||{}).granted="granted",Se.denied="denied",(Te=Pe=Pe||{})[Te.HostList=0]="HostList",Te[Te.IabVendors=1]="IabVendors",Te[Te.VendorServices=2]="VendorServices",(Ie=Ae=Ae||{}).OBJECT_TO_LI="ObjectToLI",Ie.LI_ACTIVE_IF_LEGAL_BASIS="LIActiveIfLegalBasis",(_e=Le=Le||{}).cookies="cookies",_e.vendors="vendors",(Ve=Ee=Ee||{}).GDPR="GDPR",Ve.IAB="IAB",Ve.CCPA="CCPA",Ve.IAB2="IAB2",Ve.GENERIC="GENERIC",Ve.LGPD="LGPD",Ve.GENERIC_PROMPT="GENERIC_PROMPT",Ve.CPRA="CPRA",Ve.CDPA="CDPA",Ve.USNATIONAL="USNATIONAL",Ve.CUSTOM="CUSTOM",(we=Be=Be||{}).Name="OTGPPConsent",we[we.ChunkSize=4e3]="ChunkSize",we.ChunkCountParam="GPPCookiesCount",we[we.ReconsentFrequencyDate=365]="ReconsentFrequencyDate",(xe=Oe=Oe||{}).MspaCoveredTransaction="IsMSPAEnabled",xe.MspaOptOutOptionMode="Opt Out",xe.MspaServiceProviderMode="Service Provider",(Ne=Ge=Ge||{}).MspaCoveredTransaction="MspaCoveredTransaction",Ne.MspaOptOutOptionMode="MspaOptOutOptionMode",Ne.MspaServiceProviderMode="MspaServiceProviderMode",(He=De=De||{}).CPRA="uspcav1",He.CCPA="uspcav1",He.CDPA="uspvav1",(Re=Fe=Fe||{})[Re.CPRA=8]="CPRA",Re[Re.CCPA=8]="CCPA",Re[Re.CDPA=9]="CDPA",(Me=qe=qe||{})[Me.NotApplicable=0]="NotApplicable",Me[Me.Yes=1]="Yes",Me[Me.No=2]="No",(je=Ue=Ue||{})[je.CmpId=28]="CmpId",je[je.CmpVersion=1]="CmpVersion";var We="AwaitingReconsent",Je="consentId",Ye="geolocation",Xe="interactionCount",Qe="isIABGlobal",$e="NotLandingPage",Ze="isGpcEnabled",et={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:Be.Name},tt="CONFIRMED",ot="OPT_OUT",nt="NO_CHOICE",rt="NOTGIVEN",it="NO_OPT_OUT",st="always active",at="active",lt="inactive landingpage",ct="inactive",dt="dnt",pt="LOCAL",ut="TEST",ht="LOCAL_TEST",gt="data-language",Ct="otCookieSettingsButton.json",yt="otCookieSettingsButtonRtl.json",ft="otCenterRounded",vt="otFlat",kt="otFloatingRoundedCorner",mt="otFloatingFlat",bt="otFloatingRoundedIcon",St="otFloatingRounded",Pt="otChoicesBanner",Tt="otNoBanner",At="otPcCenter",It="otPcList",Lt="otPcPanel",_t="otPcPopup",Et="otPcTab",Vt="hidebanner",Bt=((ze={})[ae.Days]="PCenterVendorListLifespanDay",ze[ae.Weeks]="LfSpnWk",ze[ae.Months]="PCenterVendorListLifespanMonth",ze[ae.Years]="LfSpnYr",ze),wt="DNAC",Ot="Category",xt="Host",Gt="General Vendor",Nt="VendorService",Dt="aria-label",Ht="aria-hidden",Ft="BRANCH",Rt="COOKIE",qt="IAB2_FEATURE",Mt="IAB2_PURPOSE",Ut="IAB2_SPL_FEATURE",jt="IAB2_SPL_PURPOSE",zt="IAB2_STACK",Kt=["IAB2_PURPOSE","IAB2_STACK","IAB2_FEATURE","IAB2_SPL_PURPOSE","IAB2_SPL_FEATURE"],Wt=["COOKIE","BRANCH","IAB2_STACK"],Jt=["IAB2_PURPOSE","IAB2_SPL_FEATURE"],Yt=["IAB2_FEATURE","IAB2_SPL_PURPOSE"],Xt=["IAB2_PURPOSE","IAB2_SPL_PURPOSE","IAB2_FEATURE","IAB2_SPL_FEATURE"],Qt=new function(){};function $t(e,t,o){void 0===o&&(o=!1);function n(e){if(!e)return null;var t=e.trim();return";"!==t.charAt(t.length-1)&&(t+=";"),t.trim()}var i=n(e.getAttribute("style")),s=n(t),r="";r=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",r)}function Zt(){}var eo,to=new(Zt.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},Zt.prototype.arrToStr=function(e){return e.toString()},Zt.prototype.strToArr=function(e){return e?e.split(","):[]},Zt.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},Zt.prototype.empty=function(e){var t=document.getElementById(e);if(t)for(;t.hasChildNodes();)t.removeChild(t.lastChild)},Zt.prototype.show=function(e){var t=document.getElementById(e);t&&$t(t,"display: block;",!0)},Zt.prototype.remove=function(e){var t=document.getElementById(e);t&&t.parentNode&&t.parentNode.removeChild(t)},Zt.prototype.appendTo=function(e,t){var o,n=document.getElementById(e);n&&((o=document.createElement("div")).innerHTML=t,n.appendChild(o))},Zt.prototype.contains=function(e,t){var o;for(o=0;o<e.length;o+=1)if(e[o].toString().toLowerCase()===t.toString().toLowerCase())return!0;return!1},Zt.prototype.indexOf=function(e,t){var o;for(o=0;o<e.length;o+=1)if(e[o]===t)return o;return-1},Zt.prototype.endsWith=function(e,t){return-1!==e.indexOf(t,e.length-t.length)},Zt.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)})},Zt.prototype.getActiveIdArray=function(e){return e.filter(function(e){return"true"===e.split(":")[1]}).map(function(e){return parseInt(e.split(":")[0])})},Zt.prototype.distinctArray=function(e){var t=new Array;return e.forEach(function(e){t.indexOf(e)<0&&t.push(e)}),t},Zt.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},Zt.prototype.getURL=function(e){var t=document.createElement("a");return t.href=e,t},Zt.prototype.removeURLPrefixes=function(e){return e.toLowerCase().replace(/(^\w+:|^)\/\//,"").replace("www.","")},Zt.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)},Zt.prototype.getRelativeURL=function(e,t,o){if(void 0===o&&(o=!1),t){var n="./"+e.replace(/^(http|https):\/\//,"").split("/").slice(1).join("/").replace(".json","");return o?n:n+".js"}return e},Zt.prototype.setCheckedAttribute=function(e,t,o){e&&(t=document.querySelector(e)),t&&(t.setAttribute("aria-checked",o.toString()),o?t.setAttribute("checked",""):t.removeAttribute("checked"),t.checked=o)},Zt.prototype.setDisabledAttribute=function(e,t,o){e&&(t=document.querySelector(e)),t&&(o?t.setAttribute("disabled",o.toString()):t.removeAttribute("disabled"))},Zt.prototype.setHtmlAttributes=function(e,t){for(var o in t)e.setAttribute(o,t[o]),e[o]=t[o]},Zt.prototype.calculateCookieLifespan=function(e){if(e<0)return ao.LifespanTypeText;var t=Math.floor(e/te.maxSecToDays);if(t<te.minDays)return"< 1 "+ao.PCenterVendorListLifespanDay;if(t<te.maxDays)return t+" "+ao.PCenterVendorListLifespanDays;var o=Math.floor(t/te.maxDays);return 1===o?o+" "+ao.PCenterVendorListLifespanMonth:o+" "+ao.PCenterVendorListLifespanMonths},Zt.prototype.insertElement=function(e,t,o){e&&t&&e.insertAdjacentElement(o,t)},Zt.prototype.customQuerySelector=function(t){return function(e){return t.querySelector(e)}},Zt.prototype.customQuerySelectorAll=function(t){return function(e){return t.querySelectorAll(e)}},Zt),oo=(no.prototype.removeAlertBox=function(){null!==this.getCookie(et.ALERT_BOX_CLOSED)&&this.setCookie(et.ALERT_BOX_CLOSED,"",0,!0)},no.prototype.removeIab1=function(){null!==this.getCookie(M.Iab1Pub)&&this.setCookie(M.Iab1Pub,"",0,!0)},no.prototype.removeIab2=function(){null!==this.getCookie(M.Iab2Pub)&&this.setCookie(M.Iab2Pub,"",0,!0)},no.prototype.removeAddtlStr=function(){null!==this.getCookie(et.ADDITIONAL_CONSENT_STRING)&&this.setCookie(et.ADDITIONAL_CONSENT_STRING,"",0,!0)},no.prototype.removeVariant=function(){null!==this.getCookie(et.SELECTED_VARIANT)&&this.setCookie(et.SELECTED_VARIANT,"",0,!0)},no.prototype.removeOptanon=function(){null!==this.getCookie(et.OPTANON_CONSENT)&&this.setCookie(et.OPTANON_CONSENT,"",0,!0)},no.prototype.removePreview=function(){null!==this.getCookie(et.OT_PREVIEW)&&this.setCookie(et.OT_PREVIEW,"",0,!0)},no.prototype.writeCookieParam=function(e,t,o,n){var r,i,s,a,l={},c=this.getCookie(e);if(c)for(i=c.split("&"),r=0;r<i.length;r+=1)s=i[r].split("="),l[decodeURIComponent(s[0])]=s[0]===t&&n?decodeURIComponent(s[1]):decodeURIComponent(s[1]).replace(/\+/g," ");l[t]=o;var d=Qt.moduleInitializer.TenantFeatures;d&&d.CookieV2CookieDateTimeInISO?l.datestamp=(new Date).toISOString():l.datestamp=(new Date).toString(),l.version=co.otSDKVersion,a=this.param(l),this.setCookie(e,a,ao.ReconsentFrequencyDays)},no.prototype.readCookieParam=function(e,t,o){var n,r,i,s,a=this.getCookie(e);if(a){for(r={},i=a.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""},no.prototype.getCookie=function(e){if(Qt&&Qt.moduleInitializer&&Qt.moduleInitializer.MobileSDK){var t=this.getCookieDataObj(e);if(t)return t.value}if(co.isAMP&&(co.ampData=JSON.parse(localStorage.getItem(co.dataDomainId))||{},co.ampData))return co.ampData[e]||null;var o,n,r=e+"=",i=document.cookie.split(";");for(o=0;o<i.length;o+=1){for(n=i[o];" "===n.charAt(0);)n=n.substring(1,n.length);if(0===n.indexOf(r))return n.substring(r.length,n.length)}return null},no.prototype.setAmpStorage=function(){window.localStorage.setItem(co.dataDomainId,JSON.stringify(co.ampData))},no.prototype.removeAmpStorage=function(){window.localStorage.removeItem(co.dataDomainId)},no.prototype.handleAmp=function(e,t){""!==t?co.ampData[e]=t:delete co.ampData[e],0===Object.keys(co.ampData).length?this.removeAmpStorage():this.setAmpStorage()},no.prototype.setCookie=function(e,t,o,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=new Date),co.isAMP)this.handleAmp(e,t);else{var i=void 0;i=o?(r.setTime(r.getTime()+24*o*60*60*1e3),"; expires="+r.toUTCString()):n?"; expires="+new Date(0).toUTCString():"";var s=Qt.moduleInitializer,a=s&&s.Domain?s.Domain.split("/"):[],l="";a.length<=1?a[1]="":l=a.slice(1).join("/");var c="Samesite=Lax";s.CookieSameSiteNoneEnabled&&(c="Samesite=None; Secure");var d=s.ScriptType===ut||s.ScriptType===ht;if(co.isPreview||!d&&!s.MobileSDK)p=t+i+"; path=/"+l+"; domain=."+a[0]+"; "+c,document.cookie=e+"="+p;else{var p=t+i+"; path=/; "+c;s.MobileSDK?this.setCookieDataObj({name:e,value:t,expires:i,date:r,domainAndPath:a}):document.cookie=e+"="+p}}},no.prototype.setCookieDataObj=function(t){if(t){co.otCookieData||(window.OneTrust&&window.OneTrust.otCookieData?co.otCookieData=window.OneTrust.otCookieData:co.otCookieData=[]);var e=to.findIndex(co.otCookieData,function(e){return e.name===t.name});-1<e?co.otCookieData[e]=t:co.otCookieData.push(t)}},no.prototype.getCookieDataObj=function(t){co.otCookieData&&0!==co.otCookieData.length||(window.OneTrust&&window.OneTrust.otCookieData?co.otCookieData=window.OneTrust.otCookieData:co.otCookieData=[]);var e=to.findIndex(co.otCookieData,function(e){return e.name===t});if(0<=e){var o=co.otCookieData[e];if(o.date)return new Date(o.date)<new Date?(co.otCookieData.splice(e,1),null):o}return null},no.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},no);function no(){}var ro=(io.prototype.setRegionRule=function(e){this.rule=e},io.prototype.getRegionRule=function(){return this.rule},io.prototype.getRegionRuleType=function(){return this.multiVariantTestingEnabled&&this.selectedVariant?this.selectedVariant.TemplateType:this.conditionalLogicEnabled&&!this.allConditionsFailed?this.Condition.TemplateType:this.rule.Type},io.prototype.canUseGoogleVendors=function(e){return!!e&&(this.conditionalLogicEnabled&&!this.allConditionsFailed?this.Condition.UseGoogleVendors:this.rule.UseGoogleVendors)},io.prototype.initVariables=function(){this.consentableGrps=[],this.consentableIabGrps=[],this.iabGrps=[],this.iabGrpIdMap={},this.domainGrps={},this.iabGroups={purposes:{},legIntPurposes:{},specialPurposes:{},features:{},specialFeatures:{}}},io.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),ao.NtfyConfig=e.NtfyConfig||{},this.setBannerName(),this.setPcName(),this.populateGPCSignal(),ao.GoogleConsent.GCEnable&&this.initGCM()},io.prototype.getGPCSignal=function(){this.gpcEnabled=!0===navigator.globalPrivacyControl},io.prototype.isValidConsentNoticeGroup=function(e,t){if(!e.ShowInPopup)return!1;var o=e.FirstPartyCookies.length||e.Hosts.length||e.GeneralVendorsIds&&e.GeneralVendorsIds.length||e.VendorServices&&e.VendorServices.length,n=!1,r=!1,i=!1;if(e&&!e.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===Kt.indexOf(e.Type)})));var s=e.SubGroups.some(function(e){return-1<Kt.indexOf(e.Type)});(-1<Kt.indexOf(e.Type)||s)&&(e.ShowVendorList=!0),(e.Hosts.length||r||n)&&(e.ShowHostList=!0)}return o||-1<Kt.indexOf(e.Type)||n||r||i},io.prototype.extractGroupIdForIabGroup=function(e){return-1<e.indexOf("ISPV2_")?e=e.replace("ISPV2_",""):-1<e.indexOf("IABV2_")?e=e.replace("IABV2_",""):-1<e.indexOf("IFEV2_")?e=e.replace("IFEV2_",""):-1<e.indexOf("ISFV2_")&&(e=e.replace("ISFV2_","")),e},io.prototype.populateGroups=function(e,r){var i=this,s={},a=[];e.forEach(function(e){var t=e.CustomGroupId;if(void 0!==e.HasConsentOptOut&&e.IsIabPurpose||(e.HasConsentOptOut=!0),!(!r.IsIabEnabled&&-1<Kt.indexOf(e.Type)||"IAB2"===i.iabType&&(e.Type===Mt||e.Type===zt)&&!e.HasConsentOptOut&&!e.HasLegIntOptOut||e.Type===Ut&&!e.HasConsentOptOut)&&(t!==so.purposeOneGrpId||e.ShowInPopup||(i.purposeOneTreatment=!0),i.grpContainLegalOptOut=e.HasLegIntOptOut||i.grpContainLegalOptOut,e.SubGroups=[],e.Parent?a.push(e):s[t]=e,"IAB2"===i.iabType&&-1<Kt.indexOf(e.Type))){var o=i.extractGroupIdForIabGroup(t);i.iabGrpIdMap[t]=o,e.IabGrpId=o;var n={description:e.GroupDescription,descriptionLegal:e.DescriptionLegal,id:Number(o),name:e.GroupName};switch(e.Type){case Mt:i.iabGroups.purposes[o]=n;break;case jt:i.iabGroups.specialPurposes[o]=n;break;case qt:i.iabGroups.features[o]=n;break;case Ut:i.iabGroups.specialFeatures[o]=n}}}),a.forEach(function(e){s[e.Parent]&&e.ShowInPopup&&(e.FirstPartyCookies.length||e.Hosts.length||e.GeneralVendorsIds&&e.GeneralVendorsIds.length||-1<Kt.indexOf(e.Type))&&s[e.Parent].SubGroups.push(e)});var t=[];return Object.keys(s).forEach(function(e){i.isValidConsentNoticeGroup(s[e],r.IsIabEnabled)&&(s[e].SubGroups.sort(function(e,t){return e.Order-t.Order}),t.push(s[e]))}),this.initGrpVar(t),t.sort(function(e,t){return e.Order-t.Order})},io.prototype.initGrpVar=function(e){var o=this,n=!0,r=!0;e.forEach(function(e){b([e],e.SubGroups).forEach(function(e){var t;e.Type!==Rt&&e.Type!==Mt&&e.Type!==Ut||(o.domainGrps[e.PurposeId.toLowerCase()]=e.CustomGroupId),-1<Wt.indexOf(e.Type)&&o.consentableGrps.push(e),-1<Jt.indexOf(e.Type)&&o.consentableIabGrps.push(e),-1===Wt.indexOf(e.Type)&&o.iabGrps.push(e),o.gpcEnabled&&e.IsGpcEnabled&&(e.Status=ct),(t=o.DNTEnabled&&e.IsDntEnabled?dt:e.Status.toLowerCase())!==at&&t!==lt&&t!==dt||(n=!1),t!==lt&&t!==st&&(r=!1),o.gpcForAGrpEnabled||(o.gpcForAGrpEnabled=e.IsGpcEnabled)})}),this.isOptInMode=n,this.isSoftOptInMode=r},io.prototype.domainDataMapper=function(e){var t,o,n={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!=(o=e.OverridenGoogleVendors)?o:{},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||ce.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(n,e),this.setAdditionalTechnologies(n,e),this.setVendorServiceConfigData(n,e),this.setDomainCommonDataDefaults(n,e),this.setDomainPCDataDefaults(n,e),this.setGppData(n,e),e.PCTemplateUpgrade&&(e.Center||e.Panel)&&(n.PCAccordionStyle=e.PCAccordionStyle),n.PCenterEnableAccordion=e.PCAccordionStyle!==J.NoAccordion,this.legIntSettings=e.LegIntSettings||{},void 0===this.legIntSettings.PAllowLI&&(this.legIntSettings.PAllowLI=!0),Qt.moduleInitializer.MobileSDK||(this.pagePushedDown=e.BannerPushesDownPage),ao=i(i({},ao),n)},io.prototype.setGppData=function(e,t){e.GPPPurposes=i({},t.GPPPurposes),e.IsGPPDataProcessingApplicable=t.IsGPPDataProcessingApplicable,e.IsGPPEnabled=t.IsGPPEnabled,e.IsGPPKnownChildApplicable=t.IsGPPKnownChildApplicable,e.IsMSPAEnabled=t.IsMSPAEnabled,e.MSPAOptionMode=t.MSPAOptionMode},io.prototype.setPCDomainData=function(e,t){e.PCAccordionStyle=J.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},io.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}},io.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}},io.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"},io.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},io.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),ao=i(i({},ao),t),this.pubDomainData.CookiesV2NewCookiePolicy=e.CookiesV2NewCookiePolicy},io.prototype.cookieListMapper=function(e,t){e.TTLGroupByTech=t.TTLGroupByTech,e.TTLShowTechDesc=t.TTLShowTechDesc},io.prototype.setPublicDomainData=function(r){this.pubDomainData={AboutCookiesText:r.AboutCookiesText,AboutLink:r.AboutLink,AboutText:r.AboutText,ActiveText:r.ActiveText,AddLinksToCookiepedia:r.AddLinksToCookiepedia,AlertAllowCookiesText:r.AlertAllowCookiesText,AlertCloseText:r.AlertCloseText,AlertLayout:r.AlertLayout,AlertMoreInfoText:r.AlertMoreInfoText,AlertNoticeText:r.AlertNoticeText,AllowAllText:r.PreferenceCenterConfirmText,AlwaysActiveText:r.AlwaysActiveText,BAnimation:r.BAnimation,BannerCloseButtonText:r.BannerCloseButtonText,BannerDPDDescription:r.BannerDPDDescription||[],BannerDPDDescriptionFormat:r.BannerDPDDescriptionFormat||"",BannerDPDTitle:r.BannerDPDTitle||"",BannerFeatureDescription:r.BannerFeatureDescription,BannerFeatureTitle:r.BannerFeatureTitle,BannerIABPartnersLink:r.BannerIABPartnersLink,BannerInformationDescription:r.BannerInformationDescription,BannerInformationTitle:r.BannerInformationTitle,BannerPosition:r.BannerPosition,BannerPurposeDescription:r.BannerPurposeDescription,BannerPurposeTitle:r.BannerPurposeTitle,BannerRejectAllButtonText:r.BannerRejectAllButtonText,BannerRelativeFontSizesToggle:r.BannerRelativeFontSizesToggle,BannerSettingsButtonDisplayLink:r.BannerSettingsButtonDisplayLink,BannerShowRejectAllButton:r.BannerShowRejectAllButton,BannerTitle:r.BannerTitle,BCategoryContainerColor:r.BCategoryContainerColor,BCategoryStyle:r.BCategoryStyle,BCategoryStyleColor:r.BCategoryStyleColor,BCloseButtonType:r.BCloseButtonType,BContinueText:r.BContinueText,BInitialFocus:r.BInitialFocus,BInitialFocusLinkAndButton:r.BInitialFocusLinkAndButton,BLineBreakColor:r.BLineBreakColor,BRejectConsentType:r.BRejectConsentType,BSaveBtnColor:r.BSaveBtnColor,BSaveBtnTxt:r.BSaveBtnText,BShowSaveBtn:r.BShowSaveBtn,CategoriesText:r.CategoriesText,cctId:r.cctId,ChoicesBanner:r.ChoicesBanner,CloseShouldAcceptAllCookies:r.CloseShouldAcceptAllCookies,CloseText:r.CloseText,ConfirmText:r.ConfirmText,ConsentIntegrationData:null,ConsentModel:{Name:r.ConsentModel},CookieListDescription:r.CookieListDescription,CookieListTitle:r.CookieListTitle,CookieSettingButtonText:r.CookieSettingButtonText,CookiesText:r.CookiesText,CookiesDescText:r.CookiesDescText,CookiesUsedText:r.CookiesUsedText,CustomJs:r.CustomJs,Domain:Qt.moduleInitializer.Domain,FooterDescriptionText:r.FooterDescriptionText,ForceConsent:r.ForceConsent,GeneralVendors:r.GeneralVendors,GoogleConsent:{GCAdStorage:r.GCAdStorage,GCAnalyticsStorage:r.GCAnalyticsStorage,GCEnable:r.GCEnable,GCFunctionalityStorage:r.GCFunctionalityStorage,GCPersonalizationStorage:r.GCPersonalizationStorage,GCRedactEnable:r.GCRedactEnable,GCSecurityStorage:r.GCSecurityStorage,GCWaitTime:r.GCWaitTime},Groups:null,HideToolbarCookieList:r.HideToolbarCookieList,IabType:r.IabType,InactiveText:r.InactiveText,IsBannerLoaded:!1,IsConsentLoggingEnabled:r.IsConsentLoggingEnabled,IsIABEnabled:r.IsIabEnabled,IsIabThirdPartyCookieEnabled:r.IsIabThirdPartyCookieEnabled,IsLifespanEnabled:r.IsLifespanEnabled,Language:r.Language,LastReconsentDate:r.LastReconsentDate,LifespanDurationText:r.LifespanDurationText,LifespanText:r.LifespanText,LifespanTypeText:r.LifespanTypeText,MainInfoText:r.MainInfoText,MainText:r.MainText,ManagePreferenceText:r.PreferenceCenterManagePreferencesText,NextPageAcceptAllCookies:r.NextPageAcceptAllCookies,NextPageCloseBanner:r.NextPageCloseBanner,NoBanner:r.NoBanner,OnClickAcceptAllCookies:r.OnClickAcceptAllCookies,OnClickCloseBanner:r.OnClickCloseBanner,OverridenGoogleVendors:r.OverridenGoogleVendors,PCAccordionStyle:J.Caret,PCCloseButtonType:r.PCCloseButtonType,PCContinueText:r.PCContinueText,PCenterAllowAllConsentText:r.PCenterAllowAllConsentText,PCenterApplyFiltersText:r.PCenterApplyFiltersText,PCenterBackText:r.PCenterBackText,PCenterCancelFiltersText:r.PCenterCancelFiltersText,PCenterClearFiltersText:r.PCenterClearFiltersText,PCenterCookieSearchAriaLabel:r.PCenterCookieSearchAriaLabel||"Cookie list search",PCenterCookiesListText:r.PCenterCookiesListText,PCenterEnableAccordion:r.PCenterEnableAccordion,PCenterExpandToViewText:r.PCenterExpandToViewText,PCenterFilterAppliedAria:r.PCenterFilterAppliedAria||"Applied",PCenterFilterClearedAria:r.PCenterFilterClearedAria||"Filters Cleared",PCenterFilterText:r.PCenterFilterText,PCenterRejectAllButtonText:r.PCenterRejectAllButtonText,PCenterSelectAllVendorsText:r.PCenterSelectAllVendorsText,PCenterShowRejectAllButton:r.PCenterShowRejectAllButton,PCenterUserIdDescriptionText:r.PCenterUserIdDescriptionText,PCenterUserIdNotYetConsentedText:r.PCenterUserIdNotYetConsentedText,PCenterUserIdTimestampTitleText:r.PCenterUserIdTimestampTitleText,PCenterUserIdTitleText:r.PCenterUserIdTitleText,PCenterVendorListDescText:r.PCenterVendorListDescText,PCenterVendorSearchAriaLabel:r.PCenterVendorSearchAriaLabel||"Vendor list search",PCenterVendorsListText:r.PCenterVendorsListText,PCenterViewPrivacyPolicyText:r.PCenterViewPrivacyPolicyText,PCFirstPartyCookieListText:r.PCFirstPartyCookieListText,PCGoogleVendorsText:r.PCGoogleVendorsText,PCGrpDescLinkPosition:r.PCGrpDescLinkPosition,PCGrpDescType:r.PCGrpDescType,PCIABVendorsText:r.PCIABVendorsText,PCLogoAria:r.PCLogoScreenReader,PCOpensCookiesDetailsAlert:r.PCOpensCookiesDetailsAlert,PCenterVendorListScreenReader:r.PCenterVendorListScreenReader,PCOpensVendorDetailsAlert:r.PCOpensVendorDetailsAlert,PCShowPersistentCookiesHoverButton:r.PCShowPersistentCookiesHoverButton,PCenterDynamicRenderingEnable:r.PCenterDynamicRenderingEnable,PCTemplateUpgrade:r.PCTemplateUpgrade,PCVendorFullLegalText:r.PCVendorFullLegalText,PCViewCookiesText:r.PCViewCookiesText,PCLayout:{Center:r.Center,List:r.List,Panel:r.Panel,Popup:r.Popup,Tab:r.Tab},PCenterVendorListLinkText:r.PCenterVendorListLinkText,PCenterVendorListLinkAriaLabel:r.PCenterVendorListLinkAriaLabel,PCenterImprintLinkScreenReader:r.PCenterImprintLinkScreenReader,PCenterImprintLinkText:r.PCenterImprintLinkText,PCenterImprintLinkUrl:r.PCenterImprintLinkUrl,PreferenceCenterPosition:r.PreferenceCenterPosition,ScrollAcceptAllCookies:r.ScrollAcceptAllCookies,ScrollCloseBanner:r.ScrollCloseBanner,ShowAlertNotice:r.ShowAlertNotice,showBannerCloseButton:r.showBannerCloseButton,ShowPreferenceCenterCloseButton:r.ShowPreferenceCenterCloseButton,ThirdPartyCookieListText:r.ThirdPartyCookieListText,UseGoogleVendors:this.canUseGoogleVendors(r.PCTemplateUpgrade),VendorConsentModel:r.VendorConsentModel,VendorLevelOptOut:r.IsIabEnabled,VendorListText:r.VendorListText,CookiesV2NewCookiePolicy:!1},r.PCTemplateUpgrade&&(r.Center||r.Panel)&&r.PCAccordionStyle!==J.NoAccordion&&(this.pubDomainData.PCAccordionStyle=r.PCAccordionStyle),this.pubDomainData.PCenterEnableAccordion=r.PCAccordionStyle!==J.NoAccordion;var i=[];r.Groups.forEach(function(e){var t,o;if(r.IsIabEnabled||!e.IsIabPurpose){e.Cookies=JSON.parse(JSON.stringify(e.FirstPartyCookies));var n=null===(o=e.Hosts)||void 0===o?void 0:o.reduce(function(e,t){return e.concat(JSON.parse(JSON.stringify(t.Cookies)))},[]);(t=e.Cookies).push.apply(t,n),i.push(e)}}),this.pubDomainData.Groups=i},io.prototype.setBannerScriptElement=function(e){this.bannerScriptElement=e,this.setDomainElementAttributes()},io.prototype.setGCMcallback=function(){window.otEventListeners&&window.otEventListeners.length&&window.otEventListeners.forEach(function(e){e&&"consent.changed"===e.event&&(so.gcmUpdateCallback=e.listener)})},io.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")))},io.prototype.setUseDocumentLanguage=function(e){this.useDocumentLanguage=e},io.prototype.setPcName=function(){var e=ao.PCLayout;e.Center?this.pcName=At:e.Panel?this.pcName=Lt:e.Popup?this.pcName=_t:e.List?this.pcName=It:e.Tab&&(this.pcName=Et)},io.prototype.setBannerName=function(){ao.Flat?this.bannerName=vt:ao.FloatingRoundedCorner?this.bannerName=kt:ao.FloatingFlat?this.bannerName=mt:ao.FloatingRounded?this.bannerName=St:ao.FloatingRoundedIcon?this.bannerName=bt:ao.CenterRounded?this.bannerName=ft:ao.ChoicesBanner?this.bannerName=Pt:ao.NoBanner&&(this.bannerName=Tt)},io.prototype.populateGPCSignal=function(){var e=eo.readCookieParam(et.OPTANON_CONSENT,Ze),t=this.gpcForAGrpEnabled&&this.gpcEnabled?"1":"0";this.gpcValueChanged=e?e!=t:this.gpcForAGrpEnabled,eo.writeCookieParam(et.OPTANON_CONSENT,Ze,t)},io.prototype.initGCM=function(){var o=[];Object.keys(this.rule.States).forEach(function(t){so.rule.States[t].forEach(function(e){o.push((t+"-"+e).toUpperCase())})});var e=so.rule.Countries.map(function(e){return e.toUpperCase()});so.gcmCountries=e.concat(o)},io);function io(){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.conditionalLogicEnabled=!1,this.allConditionsFailed=!1,this.canUseConditionalLogic=!1,this.gtmUpdatedinStub=!1,this.gcmDevIdSet=!1,this.purposeOneGrpId="IABV2_1"}var so,ao={};function lo(){this.otSDKVersion="202301.2.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.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={}}var co=new(lo.prototype.getVendorsInDomain=function(){var e;if(!co._vendorsInDomain){var t=new Map,o=null!=(e=ao.Groups)?e:[];co.setVendorServicesMap(o,t),co._vendorsInDomain=t}return co._vendorsInDomain},lo.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&&co.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)}}},lo.prototype.clearVendorsInDomain=function(){co._vendorsInDomain=null},lo),po=(uo.insertAfter=function(e,t){t.parentNode.insertBefore(e,t.nextSibling)},uo.insertBefore=function(e,t){t.parentNode.insertBefore(e,t)},uo.inArray=function(e,t){return t.indexOf(e)},uo.ajax=function(e){var t,o,n,r,i,s,a=null,l=new XMLHttpRequest;t=e.type,o=e.url,e.dataType,n=e.contentType,r=e.data,i=e.success,a=e.error,s=e.sync,l.open(t,o,!s),l.setRequestHeader("Content-Type",n),l.onload=function(){if(200<=this.status&&this.status<400){var e=JSON.parse(this.responseText);i(e)}else a({message:"Error Loading Data",statusCode:this.status})},l.onerror=function(e){a(e)},"post"===t.toLowerCase()||"put"===t.toLowerCase()?l.send(r):l.send()},uo.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},uo.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}},uo.isNodeList=function(e){var t=Object.prototype.toString.call(e);return"[object NodeList]"===t||"[object Array]"===t},uo.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++){var n="\n visibility: hidden;\n opacity: 0;\n transition: visibility 0s "+e+"ms, opacity "+e+"ms linear;\n ";$t(this.el[o],n,!0)}var r=setInterval(function(){if(1<=t.el.length)for(var e=0;e<t.el.length;e++)t.el[e].style.opacity<=0&&($t(t.el[e],"display: none;",!0),clearInterval(r),"optanon-popup-bg"===t.el[e].id&&t.el[e].removeAttribute("style"))},e);return this},uo.prototype.hide=function(){if(1<=this.el.length)for(var e=0;e<this.el.length;e++)$t(this.el[e],"display: none;",!0),this.el[e].setAttribute(Ht,!0);else uo.isNodeList(this.el)||($t(this.el,"display: none;",!0),this.el.setAttribute(Ht,!0));return this},uo.prototype.show=function(e){if(void 0===e&&(e="block"),1<=this.el.length)for(var t=0;t<this.el.length;t++)$t(this.el[t],"display: "+e+";",!0),this.el[t].removeAttribute(Ht);else uo.isNodeList(this.el)||($t(this.el,"display: "+e+";",!0),this.el.removeAttribute(Ht));return this},uo.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},uo.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++)$t(this.el[t],e)}else{if(!e.includes(":"))return this.el.style[e];$t(this.el,e)}return this},uo.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},uo.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},uo.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){Co[""+r+i]&&delete Co[""+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&&(Co[""+r+i]||(Co[""+r+i]=!0,this.el.addEventListener(r,a))))}return this},uo.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},uo.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},uo.prototype.trigger=function(e){var t=new CustomEvent(e,{customEvent:"yes"});return this.el.dispatchEvent(t),this},uo.prototype.focus=function(){return 1<=this.el.length?this.el[0].focus():this.el.focus(),this},uo.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)},uo.prototype.html=function(e){if(null==e)return 1<=this.el.length?this.el[0].innerHTML: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},uo.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 uo(e,"ce").el)})}else if("string"==typeof o||Array.isArray(o))if("string"==typeof this.selector)document.querySelector(this.selector).appendChild(new uo(o,"ce").el);else if(this.useEl){var r=document.createDocumentFragment(),i=!(!o.includes("<th")&&!o.includes("<td"));if(i){var 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 uo(o,"ce").el)})}else this.selector.appendChild(new uo(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},uo.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}},uo.prototype.data=function(o,n){if(this.el.length<1)return this;if(!(1<=this.el.length))return r(this.el,n);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)}return Array.prototype.forEach.call(this.el,function(e,t){r(e,n)}),this},uo.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]);if(!e)return this.selector===document?i:this.el.clientHeight-a;var c=e.toString().split(parseInt(e))[1]?e.toString().split(parseInt(e))[1]:"px",d="number"==typeof e?e:parseInt(e.toString().split(c)[0]);return(c&&"px"===c||"%"===c||"em"===c||"rem"===c)&&(0<d?$t(this.el,"height: "+(a+d+c)+";",!0):"auto"===e&&$t(this.el,"height: "+e+";",!0)),this},uo.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},uo.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)},uo.prototype.filter=function(e){return this.el=Array.prototype.filter.call(document.querySelectorAll(this.selector),e),this},uo.prototype.animate=function(s,a){var l,c=this;for(var e in this.el=document.querySelector(this.selector),s)l=e,function(){var e=parseInt(s[l]),t=s[l].split(parseInt(s[l]))[1]?s[l].split(parseInt(s[l]))[1]:"px",o="\n @keyframes slide-"+("top"===l?"up":"down")+"-custom {\n 0% {\n "+("top"===l?"top":"bottom")+": "+("top"===l?c.el.getBoundingClientRect().top:window.innerHeight)+"px !important;\n }\n 100% {\n "+("top"===l?"top":"bottom")+": "+(e+t)+";\n }\n }\n @-webkit-keyframes slide-"+("top"===l?"up":"down")+"-custom {\n 0% {\n "+("top"===l?"top":"bottom")+": "+("top"===l?c.el.getBoundingClientRect().top:window.innerHeight)+"px !important;\n }\n 100% {\n "+("top"===l?"top":"bottom")+": "+(e+t)+";\n }\n }\n @-moz-keyframes slide-"+("top"===l?"up":"down")+"-custom {\n 0% {\n "+("top"===l?"top":"bottom")+": "+("top"===l?c.el.getBoundingClientRect().top:window.innerHeight)+"px !important;\n }\n 100% {\n "+("top"===l?"top":"bottom")+": "+(e+t)+";\n }\n }\n ",n=document.head.querySelector("#onetrust-style");if(n?n.innerHTML+=o:((i=document.createElement("style")).id="onetrust-legacy-style",i.type="text/css",i.innerHTML=o,document.head.appendChild(i)),uo.browser().type=uo.browser().version<=8){var r="top"===l?"-webkit-animation: slide-up-custom ":"-webkit-animation: slide-down-custom "+a+"ms ease-out forwards;";$t(c.el,r)}else{var i="\n animation-name: "+("top"===l?"slide-up-custom":"slide-down-custom")+";\n animation-duration: "+a+"ms;\n animation-fill-mode: forwards;\n animation-timing-function: ease-out;\n ";$t(c.el,i,!0)}}();return this},uo.prototype.scrollTop=function(){return this.el.scrollTop},uo);function uo(e,t){switch(void 0===t&&(t=""),this.selector=e,this.useEl=!1,t){case"ce":var o=uo.browser().type.toLowerCase(),n=uo.browser().version;if(n<10&&"safari"===o||"chrome"===o&&n<=44||n<=40&&"firefox"===o){var r=document.implementation.createHTMLDocument();r.body.innerHTML=e,this.el=r.body.children[0]}else{var i=document.createRange().createContextualFragment(e);this.el=i.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 ho(e,t){return void 0===t&&(t=""),new po(e,t)}var go,Co={},yo=(fo.prototype.getDataLanguageCulture=function(){var e=so.bannerScriptElement;return e&&e.getAttribute(gt)?this.checkAndTansformLangCodeWithUnderdscore(e.getAttribute(gt).toLowerCase()):this.detectDocumentOrBrowserLanguage().toLowerCase()},fo.prototype.checkAndTansformLangCodeWithUnderdscore=function(e){return e.replace(/\_/,"-")},fo.prototype.detectDocumentOrBrowserLanguage=function(){var e="";if(so.langSwitcherPldr){var t=to.convertKeyValueLowerCase(so.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},fo.prototype.getUserLanguage=function(){return so.useDocumentLanguage?this.checkAndTansformLangCodeWithUnderdscore(document.documentElement.lang):navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language||navigator.userLanguage},fo.prototype.isValidLanguage=function(e,t){var o=to.convertKeyValueLowerCase(so.langSwitcherPldr);return!(!o||!o[t]&&!o[t+"-"+t]&&o.default!==t)},fo.prototype.getLangJsonUrl=function(e){void 0===e&&(e=null);var t,o=so.getRegionRule();if(e){if(e=e.toLowerCase(),!this.isValidLanguage(o,e))return null}else e=this.getDataLanguageCulture();return co.lang=e,co.consentLanguage=e.substr(0,2),t=so.canUseConditionalLogic?so.bannerDataParentURL+"/"+o.Id+"/"+so.Condition.Id+"/"+e:so.bannerDataParentURL+"/"+o.Id+"/"+e,so.multiVariantTestingEnabled&&(t=so.bannerDataParentURL+"/"+o.Id+"/variants/"+so.selectedVariant.Id+"/"+e),t},fo.prototype.populateLangSwitcherPlhdr=function(){var e=so.getRegionRule();if(e){var t=e.Variants;if(so.multiVariantTestingEnabled&&t){var o=eo.getCookie(et.SELECTED_VARIANT),n=void 0;o&&(n=t[to.findIndex(t,function(e){return e.Id===o})]),o&&n||(n=t[Math.floor(Math.random()*t.length)]),so.langSwitcherPldr=n.LanguageSwitcherPlaceholder,so.selectedVariant=n}else so.canUseConditionalLogic?so.langSwitcherPldr=so.Condition.LanguageSwitcherPlaceholder:so.langSwitcherPldr=e.LanguageSwitcherPlaceholder}},fo);function fo(){}var vo,ko=(mo.prototype.getLangJson=function(e){if(void 0===e&&(e=null),so.previewMode){var t=JSON.parse(window.sessionStorage.getItem("otPreviewData"));return Promise.resolve(t.langJson)}var o=go.getLangJsonUrl(e);return o?vo.otFetch(o+".json"):Promise.resolve(null)},mo.prototype.getPersistentCookieSvg=function(e){var t=e||ao.cookiePersistentLogo;return t?vo.otFetch(t,!0):Promise.resolve(null)},mo.prototype.fetchGvlObj=function(){return this.otFetch(Qt.moduleInitializer.IabV2Data.globalVendorListUrl)},mo.prototype.fetchGoogleVendors=function(){var e=bo.updateCorrectIABUrl(Qt.moduleInitializer.GoogleData.googleVendorListUrl);return bo.checkMobileOfflineRequest(bo.getBannerVersionUrl())?bo.otFetchOfflineFile(to.getRelativeURL(e,!0)):(so.mobileOnlineURL.push(e),this.otFetch(e))},mo.prototype.getStorageDisclosure=function(t){return u(this,void 0,void 0,function(){return g(this,function(e){return[2,this.otFetch(t,!1,!0)]})})},mo.prototype.loadCMP=function(){var o=this;return new Promise(function(e){var t=o.checkIfRequiresPollyfill()?"otTCF-ie":"otTCF";bo.jsonp(bo.getBannerVersionUrl()+"/"+t+".js",e,e)})},mo.prototype.loadGPP=function(){return new Promise(function(e){bo.jsonp(bo.getBannerVersionUrl()+"/otGPP.js",e,e)})},mo.prototype.getCSBtnContent=function(){return u(this,void 0,void 0,function(){var t,o,n,r;return g(this,function(e){switch(e.label){case 0:return t=ao.useRTL?ne.RTL:ne.LTR,co.csBtnAsset[t]?[3,2]:(o=bo.getBannerSDKAssestsUrl()+"/"+(ao.useRTL?yt:Ct),n=co.csBtnAsset,r=t,[4,this.otFetch(o)]);case 1:n[r]=e.sent(),e.label=2;case 2:return[2,co.csBtnAsset[t]]}})})},mo.prototype.getPcContent=function(s){return void 0===s&&(s=!1),u(this,void 0,void 0,function(){var t,o,n,r,i;return g(this,function(e){switch(e.label){case 0:return t=ao.useRTL?ne.RTL:ne.LTR,co.pcAsset[t]&&!s?[3,2]:(o=bo.getBannerSDKAssestsUrl(),ao.PCTemplateUpgrade&&(o+="/v2"),n=o+"/"+so.pcName+(ao.useRTL?"Rtl":"")+".json",r=co.pcAsset,i=t,[4,this.otFetch(n)]);case 1:r[i]=e.sent(),e.label=2;case 2:return[2,co.pcAsset[t]]}})})},mo.prototype.getBannerContent=function(l,c){return void 0===l&&(l=!1),void 0===c&&(c=null),u(this,void 0,void 0,function(){var t,o,n,r,i,s,a;return g(this,function(e){switch(e.label){case 0:if(t=ao.useRTL?ne.RTL:ne.LTR,o=c||go.getDataLanguageCulture(),co.bAsset[t]&&!l)return[3,2];if(n=so.getRegionRule(),r=void 0,Qt.fp.CookieV2SSR){if(so.previewMode)return i=JSON.parse(window.sessionStorage.getItem("otPreviewData")),[2,Promise.resolve(i.bLayout)];r=so.bannerDataParentURL+"/"+n.Id,so.canUseConditionalLogic&&(r+="/"+so.Condition.Id),r+="/bLayout-"+o+".json"}else r=bo.getBannerSDKAssestsUrl()+"/"+so.bannerName+(ao.useRTL?"Rtl":"")+".json";return s=co.bAsset,a=t,[4,this.otFetch(r)];case 1:s[a]=e.sent(),e.label=2;case 2:return[2,co.bAsset[t]]}})})},mo.prototype.getCommonStyles=function(i){return void 0===i&&(i=!1),u(this,void 0,void 0,function(){var t,o,n,r;return g(this,function(e){switch(e.label){case 0:return t=ao.useRTL?ne.RTL:ne.LTR,co.cStyles[t]&&!i?[3,2]:(o=bo.getBannerSDKAssestsUrl()+"/otCommonStyles"+(ao.useRTL?"Rtl":"")+".css",n=co.cStyles,r=t,[4,this.otFetch(o,!0)]);case 1:n[r]=e.sent(),e.label=2;case 2:return[2,co.cStyles[t]]}})})},mo.prototype.getSyncNtfyContent=function(){return u(this,void 0,void 0,function(){var t,o,n,r;return g(this,function(e){switch(e.label){case 0:return t=ao.useRTL?ne.RTL:ne.LTR,co.syncNtfyContent[t]?[3,2]:(o=bo.getBannerSDKAssestsUrl()+"/otSyncNotification"+(ao.useRTL?"Rtl":"")+".json",n=co.syncNtfyContent,r=t,[4,this.otFetch(o)]);case 1:n[r]=e.sent(),e.label=2;case 2:return[2,co.syncNtfyContent[t]]}})})},mo.prototype.getConsentProfile=function(e,t){var o=this,n={Identifier:e,TenantId:co.tenantId,Authorization:t};return new Promise(function(e){o.getJSON(co.consentApi,n,e,e)})},mo.prototype.checkIfRequiresPollyfill=function(){var e=window.navigator.userAgent;return 0<e.indexOf("MSIE ")||0<e.indexOf("Trident/")||"undefined"==typeof Set},mo.prototype.otFetch=function(r,i,s){return void 0===i&&(i=!1),void 0===s&&(s=!1),u(this,void 0,void 0,function(){var t,o,n=this;return g(this,function(e){switch(e.label){case 0:return bo.checkMobileOfflineRequest(r)?[4,bo.otFetchOfflineFile(r)]:[3,2];case 1:return[2,e.sent()];case 2:return e.trys.push([2,9,,10]),so.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]}})})},mo.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),t)for(var s in t)i.setRequestHeader(s,t[s]);i.onload=function(){if(200<=this.status&&this.status<400&&this.responseText){var e=void 0;e=r?this.responseText:JSON.parse(this.responseText),o(e)}else n({message:"Error Loading Data",statusCode:this.status})},i.onerror=function(e){n(e)},i.send()},mo);function mo(){}var bo,So=(Po.prototype.addLogoUrls=function(){bo.checkMobileOfflineRequest(bo.getBannerVersionUrl())||(so.mobileOnlineURL.push(bo.updateCorrectUrl(ao.optanonLogo)),so.mobileOnlineURL.push(bo.updateCorrectUrl(ao.oneTrustFtrLogo)))},Po.prototype.getCookieLabel=function(e,t,o){if(void 0===o&&(o=!0),!e)return"";var n=e.Name;return t&&(n='\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+'&nbsp;<span class="ot-scrn-rdr">'+ao.NewWinTxt+"</span>\n </a>\n "),n},Po.prototype.getBannerSDKAssestsUrl=function(){return this.getBannerVersionUrl()+"/assets"},Po.prototype.getBannerVersionUrl=function(){var e=so.bannerScriptElement.getAttribute("src");return""+(-1!==e.indexOf("/consent/")?e.split("consent/")[0]+"scripttemplates/":e.split("otSDKStub")[0])+Qt.moduleInitializer.Version},Po.prototype.checkMobileOfflineRequest=function(e){return Qt.moduleInitializer.MobileSDK&&new RegExp("^file://","i").test(e)},Po.prototype.updateCorrectIABUrl=function(e){var t=Qt.moduleInitializer.ScriptType;if(t===pt||t===ht){var o=to.getURL(e),n=so.bannerScriptElement,r=n&&n.getAttribute("src")?to.getURL(n.getAttribute("src")):null;r&&o&&r.hostname!==o.hostname&&(e=(e=(r=""+so.bannerDataParentURL)+o.pathname.split("/").pop().replace(/(^\/?)/,"/")).replace(o.hostname,r.hostname))}return e},Po.prototype.updateCorrectUrl=function(e,t){if(void 0===t&&(t=!1),so.previewMode&&new RegExp("^data:image/").test(e))return e;var o=to.getURL(e),n=so.bannerScriptElement,r=n&&n.getAttribute("src")?to.getURL(n.getAttribute("src")):null;if(r&&o&&r.hostname!==o.hostname){var i=Qt.moduleInitializer.ScriptType;if(i===pt||i===ht){if(t)return e;e=(r=so.bannerDataParentURL+"/"+so.getRegionRule().Id)+o.pathname.replace(/(^\/?)/,"/")}else e=null==e?void 0:e.replace(o.hostname,r.hostname)}return e},Po.prototype.isBundleOrStackActive=function(n,r){void 0===r&&(r=null);var i=co.oneTrustIABConsent,s=!0;r=r||co.groupsConsent;for(var a=0,e=function(){var t=n.SubGroups[a];if(t.Type===Rt)(-1<(e=to.findIndex(r,function(e){return e.split(":")[0]===t.CustomGroupId}))&&"0"===r[e].split(":")[1]||!r.length)&&(s=!1);else{var e,o=t.Type===Ut?i.specialFeatures:i.purpose;(-1<(e=to.findIndex(o,function(e){return e.split(":")[0]===t.IabGrpId}))&&"false"===o[e].split(":")[1]||!o.length)&&(s=!1)}a++};e(),s&&a<n.SubGroups.length;);return s},Po.prototype.otFetchOfflineFile=function(r){return u(this,void 0,void 0,function(){var t,o,n;return g(this,function(e){switch(e.label){case 0:return r=r.replace(".json",".js"),t=r.split("/"),o=t[t.length-1],n=o.split(".js")[0],[4,new Promise(function(e){function t(){e(window[n])}bo.jsonp(r,t,t)})];case 1:return[2,e.sent()]}})})},Po.prototype.jsonp=function(e,t,o){bo.checkMobileOfflineRequest(e)||so.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,co.crossOrigin&&n.setAttribute("crossorigin",co.crossOrigin),r.appendChild(n)},Po.prototype.isCookiePolicyPage=function(e){var t=!1,o=to.removeURLPrefixes(window.location.href),n=ho("<div></div>","ce").el;ho(n).html(e);for(var r=n.querySelectorAll("a"),i=0;i<r.length;i++)if(to.removeURLPrefixes(r[i].href)===o){t=!0;break}return t},Po.prototype.isBannerVisible=function(){var e=!1,t=document.getElementById("onetrust-banner-sdk");return t&&t.getAttribute("style")&&(e=-1!==t.getAttribute("style").indexOf("display: none")||-1!==t.getAttribute("style").indexOf("display:none")),e},Po.prototype.hideBanner=function(){var e=this;co.bnrAnimationInProg?setTimeout(function(){return e.hideBanner()},100):ho("#onetrust-banner-sdk").fadeOut(400)},Po.prototype.resetFocusToBody=function(){document.activeElement&&document.activeElement.blur()},Po.prototype.getDuration=function(e){var t=e.Length,o=e.DurationType,n="";if(!t||0===parseInt(t))return ao.LfSpanSecs;var r=parseInt(t);if(o){var i=1<(r=this.round_to_precision(r/o,.5))?Bt[o]+"s":Bt[o];ao.LifespanDurationText&&1===o&&(i="LifespanDurationText"),n=r+" "+ao[i]}else n=this.getDurationText(r);return n},Po.prototype.isDateCurrent=function(e){var t=e.split("/"),o=parseInt(t[1]),n=parseInt(t[0]),r=parseInt(t[2]),i=new Date,s=i.getDate(),a=i.getFullYear(),l=i.getMonth()+1;return a<r||r===a&&l<n||r===a&&n===l&&s<=o},Po.prototype.insertFooterLogo=function(e){var t=ho(e).el;if(t.length&&ao.oneTrustFtrLogo){var o=bo.updateCorrectUrl(ao.oneTrustFtrLogo);bo.checkMobileOfflineRequest(bo.getBannerVersionUrl())&&(o=to.getRelativeURL(o,!0,!0));for(var n=0;n<t.length;n++){var r=t[n].querySelector("img"),i="Powered by OneTrust "+ao.NewWinTxt;ho(t[n]).attr("href",ao.pCFooterLogoUrl),r.setAttribute("src",o),r.setAttribute("title",i),ho(t[n]).attr("aria-label",i)}}},Po.prototype.getUTCFormattedDate=function(e){var t=new Date(e);return t.getUTCFullYear()+"-"+(t.getUTCMonth()+1).toString().padStart(2,"0")+"-"+t.getUTCDate().toString().toString().padStart(2,"0")+" "+t.getUTCHours()+":"+t.getUTCMinutes().toString().toString().padStart(2,"0")+":"+t.getUTCSeconds().toString().toString().padStart(2,"0")},Po.prototype.getDurationText=function(e){return 365<=e?(e/=365,(e=this.round_to_precision(e,.5))+" "+(1<e?ao.LfSpnYrs:ao.LfSpnYr)):ao.LifespanDurationText?e+" "+ao.LifespanDurationText:e+" "+(1<e?ao.PCenterVendorListLifespanDays:ao.PCenterVendorListLifespanDay)},Po.prototype.round_to_precision=function(e,t){var o=+e+(void 0===t?.5:t/2);return o-o%(void 0===t?1:+t)},Po.prototype.isOptOutEnabled=function(){return ao.PCTemplateUpgrade?co.genVenOptOutEnabled:ao.allowHostOptOut},Po.prototype.findUserType=function(e){co.isKeyboardUser=!(!e||0!==e.detail)},Po.prototype.getCSSPropsFromString=function(e){if(e){var t=e.length,n={};return e.endsWith(";")&&(e=e.substring(0,t-1)),e.trim().split(";").forEach(function(e){var t=e.trim().toString().split(":"),o=JSON.parse('{ "'+t[0].trim()+'" : "'+t[1].trim()+'" }');n=Object.assign(n,o)}),n}return{}},Po.prototype.setCloseIcon=function(e){var t=bo.updateCorrectUrl(ao.OTCloseBtnLogo),o=ho(e);o.length&&$t(o.el,'background-image: url("'+t+'")',!0)},Po.prototype.createOptOutSignalElement=function(e,t){var o=e(t?"#ot-pc-content":"#onetrust-policy"),n=document.createElement("div");n.classList.add("ot-optout-signal");var r=document.createElement("div");r.classList.add("ot-optout-icon");var i=document.createElement("span");return i.innerText=t?ao.PCOptOutSignalText:ao.BOptOutSignalText,n.append(r),n.append(i),null!=o&&o.prepend(n),this.applyGuardLogo(),n},Po.prototype.applyGuardLogo=function(){return u(this,void 0,void 0,function(){var t,o,n,r;return g(this,function(e){switch(e.label){case 0:return(t=ao.cookiePersistentLogo).includes("ot_guard_logo.svg")||(o=ao.OTCloseBtnLogo,n=o.indexOf("static/"),t=o.replace(o.slice(n+7),"ot_guard_logo.svg")),[4,vo.getPersistentCookieSvg(t)];case 1:return r=e.sent(),ho(".ot-optout-icon").html(r),[2]}})})},Po);function Po(){}var To,Ao={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"},Io={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"};function Lo(){}var _o,Eo=new(Lo.prototype.initializeBannerVariables=function(e){var t,o=e.DomainData;so.iabType=o.IabType,t=o.PCTemplateUpgrade,To=t?Ao:Io,so.init(e),co.showGeneralVendors=ao.GeneralVendorsEnabled&&ao.PCTemplateUpgrade,co.showVendorService=Qt.fp.CookieV2VendorServiceScript&&ao.VendorServiceConfig.PCVSEnable&&"IAB2"!==ao.IabType&&ao.PCTemplateUpgrade,co.vsIsActiveAndOptOut=co.showVendorService&&ao.VendorServiceConfig.PCVSOptOut,co.showTrackingTech=Qt.fp.CookieV2TrackingTechPrefCenter&&ao.AdditionalTechnologiesConfig.PCShowTrackingTech,co.genVenOptOutEnabled=co.showGeneralVendors&&ao.GenVenOptOut,bo.addLogoUrls(),this.setGeolocationInCookies(),this.setOrUpdate3rdPartyIABConsentFlag()},Lo.prototype.initializeVendorInOverriddenVendors=function(e,t){ao.OverriddenVendors[e]={disabledCP:[],disabledLIP:[],active:t,legInt:!1,consent:!1}},Lo.prototype.applyGlobalRestrictionsonNewVendor=function(e,t,o,n){var r=ao.GlobalRestrictions,i=ao.OverriddenVendors;switch(i[t]||this.initializeVendorInOverriddenVendors(t,!0),i[t].disabledCP||(i[t].disabledCP=[]),i[t].disabledLIP||(i[t].disabledLIP=[]),r[o]){case j.Disabled:n?i[t].disabledCP.push(o):i[t].disabledLIP.push(o),ao.Publisher.restrictions[o][t]=j.Disabled;break;case j.Consent:n?(i[t].consent=!0,ao.Publisher.restrictions[o][t]=j.Consent):(i[t].disabledLIP.push(o),this.checkFlexiblePurpose(e,t,o,!1));break;case j.LegInt:n?(i[t].disabledCP.push(o),this.checkFlexiblePurpose(e,t,o,!0)):(i[t].legInt=!0,ao.Publisher.restrictions[o][t]=j.LegInt);break;case void 0:n?i[t].consent=!0:i[t].legInt=!0}},Lo.prototype.checkFlexiblePurpose=function(e,t,o,n){e.flexiblePurposes.includes(o)?(n?ao.OverriddenVendors[t].legInt=!0:ao.OverriddenVendors[t].consent=!0,ao.Publisher.restrictions[o][t]=n?j.LegInt:j.Consent):ao.Publisher.restrictions[o][t]=j.Disabled},Lo.prototype.removeInActiveVendorsForTcf=function(i){var s=this,a=co.iabData.vendorListVersion,e=ao.Publisher,l=ao.GlobalRestrictionEnabled,c=!(0===Object.keys(e).length||e&&0===Object.keys(e.restrictions).length);Object.keys(i.vendors).forEach(function(t){var o=i.vendors[t];o.iab2GVLVersion>a&&(ao.NewVendorsInactiveEnabled?s.initializeVendorInOverriddenVendors(t,!1):l&&(o.purposes.forEach(function(e){s.applyGlobalRestrictionsonNewVendor(o,t,e,!0)}),o.legIntPurposes.forEach(function(e){s.applyGlobalRestrictionsonNewVendor(o,t,e,!1)})));var e=!1;ao.IsIabThirdPartyCookieEnabled||(so.legIntSettings.PAllowLI?ao.OverriddenVendors[t]&&!ao.OverriddenVendors[t].active&&(e=!0):-1<ao.Vendors.indexOf(Number(t))&&(e=!0));var n=!o.purposes.length&&!o.flexiblePurposes.length;ao.OverriddenVendors[t]&&!ao.OverriddenVendors[t].consent&&(n=!0);var r=!0;so.legIntSettings.PAllowLI&&(!o.legIntPurposes.length||ao.OverriddenVendors[t]&&!ao.OverriddenVendors[t].legInt||(r=!1)),!n||!r||o.specialPurposes.length||o.features.length||o.specialFeatures.length||(e=!0),!l&&c&&o.iab2GVLVersion>a&&(e=!0),e&&delete i.vendors[t]})},Lo.prototype.setPublisherRestrictions=function(){var e=ao.Publisher;if(e&&e.restrictions){var s=this.iabStringSDK(),t=e.restrictions,a=co.iabData,l=co.oneTrustIABConsent.vendorList.vendors;Object.keys(t).forEach(function(n){var r,i=t[n],e=so.iabGroups.purposes[n];e&&(r={description:e.description,purposeId:e.id,purposeName:e.name}),Object.keys(i).forEach(function(e){if(co.vendorsSetting[e]){var t=co.vendorsSetting[e].arrIndex;1===i[e]&&-1===l[e].purposes.indexOf(Number(n))?a.vendors[t].purposes.push(r):2===i[e]&&-1===l[e].legIntPurposes.indexOf(Number(n))&&a.vendors[t].legIntPurposes.push(r);var o=s.purposeRestriction(Number(n),i[e]);co.tcModel.publisherRestrictions.add(Number(e),o)}})})}},Lo.prototype.populateVendorListTCF=function(){return u(this,void 0,void 0,function(){var t,o,n,r,i,s,a,l,c;return g(this,function(e){switch(e.label){case 0:return t=this.iabStringSDK(),o=co.iabData,n=bo.updateCorrectIABUrl(o.globalVendorListUrl),r=!this.isIABCrossConsentEnabled(),bo.checkMobileOfflineRequest(bo.getBannerVersionUrl())?[3,1]:(so.mobileOnlineURL.push(n),i=t.gvl(n,co.gvlObj),[3,3]);case 1:return a=(s=t).gvl,l=[null],[4,bo.otFetchOfflineFile(to.getRelativeURL(n,!0))];case 2:i=a.apply(s,l.concat([e.sent()])),e.label=3;case 3:return this.removeInActiveVendorsForTcf(i),co.oneTrustIABConsent.vendorList=i,this.assignIABDataWithGlobalVendorList(i),c=co,[4,t.tcModel(i)];case 4:c.tcModel=e.sent(),r&&this.setPublisherRestrictions(),co.tcModel.cmpId=parseInt(o.cmpId),co.tcModel.cmpVersion=parseInt(o.cmpVersion);try{co.tcModel.consentLanguage=co.consentLanguage}catch(e){co.tcModel.consentLanguage="EN"}return co.tcModel.consentScreen=parseInt(o.consentScreen),co.tcModel.isServiceSpecific=r,co.tcModel.purposeOneTreatment=so.purposeOneTreatment,ao.PublisherCC?co.tcModel.publisherCountryCode=ao.PublisherCC:co.userLocation.country&&(co.tcModel.publisherCountryCode=co.userLocation.country),co.cmpApi=t.cmpApi(co.tcModel.cmpId,co.tcModel.cmpVersion,r,ao.UseGoogleVendors?{getTCData:this.addtlConsentString,getInAppTCData:this.addtlConsentString}:void 0),null!==this.alertBoxCloseDate()&&!this.needReconsent()||this.resetTCModel(),[2]}})})},Lo.prototype.resetTCModel=function(){var e=this.iabStringSDK(),t=co.tcModel.clone();if(t.unsetAll(),so.legIntSettings.PAllowLI){var o=so.consentableIabGrps.filter(function(e){return e.HasLegIntOptOut&&e.Type===Mt}).map(function(e){return parseInt(so.iabGrpIdMap[e.CustomGroupId])}),n=Object.keys(co.vendorsSetting).filter(function(e){return co.vendorsSetting[e].legInt}).map(function(e){return parseInt(e)});t.purposeLegitimateInterests.set(o),t.vendorLegitimateInterests.set(n),t.isServiceSpecific&&t.publisherLegitimateInterests.set(o)}co.cmpApi.update(e.tcString().encode(t),!0)},Lo.prototype.addtlConsentString=function(e,t,o){t&&t.tcString&&(t.addtlConsent=""+co.addtlConsentVersion+(co.isAddtlConsent?co.addtlVendors.vendorConsent.join("."):"")),"function"==typeof e?e(t,o):console.error("__tcfapi received invalid parameters.")},Lo.prototype.setIabData=function(){co.iabData=Qt.moduleInitializer.IabV2Data,co.iabData.consentLanguage=co.consentLanguage},Lo.prototype.assignIABDataWithGlobalVendorList=function(r){var i=ao.OverriddenVendors;co.iabData.vendorListVersion=r.vendorListVersion,co.iabData.vendors=[],Object.keys(r.vendors).forEach(function(n){co.vendorsSetting[n]={consent:!0,legInt:!0,arrIndex:0,specialPurposesOnly:!1};var e={},t=r.vendors[n];e.vendorId=n,e.vendorName=t.name,e.policyUrl=t.policyUrl,e.cookieMaxAge=to.calculateCookieLifespan(t.cookieMaxAgeSeconds),e.usesNonCookieAccess=t.usesNonCookieAccess,e.deviceStorageDisclosureUrl=t.deviceStorageDisclosureUrl||null;var o=!t.legIntPurposes.length&&!t.purposes.length&&t.specialPurposes.length;so.legIntSettings.PAllowLI&&((!i[n]||i[n].legInt)&&(i[n]||t.legIntPurposes.length)||o)||(co.vendorsSetting[n].legInt=!1),so.legIntSettings.PAllowLI&&o&&(co.vendorsSetting[n].specialPurposesOnly=!0),i[n]&&!i[n].consent||!i[n]&&!t.purposes.length&&!t.flexiblePurposes.length?co.vendorsSetting[n].consent=!1:t.purposes.length||t.flexiblePurposes.length||(co.vendorsSetting[n].consent=!1),e.features=t.features.map(function(e){var t,o=so.iabGroups.features[e];return o&&(t={description:o.description,featureId:o.id,featureName:o.name}),t}),e.specialFeatures=r.vendors[n].specialFeatures.reduce(function(e,t){var o=so.iabGroups.specialFeatures[t];return o&&e.push({description:o.description,featureId:o.id,featureName:o.name}),e},[]),e.purposes=r.vendors[n].purposes.reduce(function(e,t){var o=so.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=so.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,o=so.iabGroups.specialPurposes[e];return o&&(t={description:o.description,purposeId:o.id,purposeName:o.name}),t}),co.iabData.vendors.push(e),co.vendorsSetting[n].arrIndex=co.iabData.vendors.length-1})},Lo.prototype.populateIABCookies=function(){return u(this,void 0,void 0,function(){return g(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(et.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:Eo.needReconsent()||this.setIABCookieData(),e.label=6;case 6:return[2]}})})},Lo.prototype.setIAB3rdPartyCookie=function(e,t,o,n){var r=ao.iabThirdPartyConsentUrl;try{if(r&&document.body)return this.updateThirdPartyConsent(r,e,t,o,n);throw new ReferenceError}catch(e){throw e}},Lo.prototype.setIABCookieData=function(){co.oneTrustIABConsent.IABCookieValue=eo.getCookie(et.EU_PUB_CONSENT)},Lo.prototype.updateThirdPartyConsent=function(n,r,i,s,a){return u(this,void 0,void 0,function(){var t,o;return g(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]):($t(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(){so.thirdPartyiFrameResolve(),so.thirdPartyiFrameLoaded=!0,e()},o.onerror=function(){throw so.thirdPartyiFrameResolve(),so.thirdPartyiFrameLoaded=!0,e(),new URIError}})])})})},Lo.prototype.setIABVendor=function(n,r){if(void 0===n&&(n=!0),void 0===r&&(r=!1),co.iabData.vendors.forEach(function(e){var t=e.vendorId;if(so.legIntSettings.PAllowLI){var o=void 0;o=r?n:!!co.vendorsSetting[t].consent&&n,co.oneTrustIABConsent.vendors.push(t.toString()+":"+o),co.oneTrustIABConsent.legIntVendors.push(t.toString()+":"+co.vendorsSetting[t].legInt)}else co.oneTrustIABConsent.legIntVendors=[],co.oneTrustIABConsent.vendors.push(t.toString()+":"+n)}),ao.UseGoogleVendors){var t=co.addtlVendors;Object.keys(co.addtlVendorsList).forEach(function(e){n&&(t.vendorSelected[""+e.toString()]=!0,t.vendorConsent.push(""+e.toString()))})}},Lo.prototype.setOrUpdate3rdPartyIABConsentFlag=function(){var e=this.getIABCrossConsentflagData();ao.IsIabEnabled?e&&!this.needReconsent()||this.updateCrossConsentCookie(ao.IsIabThirdPartyCookieEnabled):e&&!this.reconsentRequired()&&"true"!==e||this.updateCrossConsentCookie(!1)},Lo.prototype.isIABCrossConsentEnabled=function(){return"true"===this.getIABCrossConsentflagData()},Lo.prototype.getIABCrossConsentflagData=function(){return eo.readCookieParam(et.OPTANON_CONSENT,Qe)},Lo.prototype.setGeolocationInCookies=function(){var e=eo.readCookieParam(et.OPTANON_CONSENT,Ye);if(co.userLocation&&!e&&this.isAlertBoxClosedAndValid()){var t=co.userLocation.country+";"+co.userLocation.state;this.setUpdateGeolocationCookiesData(t)}else this.reconsentRequired()&&e&&this.setUpdateGeolocationCookiesData("")},Lo.prototype.iabStringSDK=function(){var e=Qt.moduleInitializer.otIABModuleData;if(ao.IsIabEnabled&&e)return{gvl:e.tcfSdkRef.gvl,tcModel:e.tcfSdkRef.tcModel,tcString:e.tcfSdkRef.tcString,cmpApi:e.tcfSdkRef.cmpApi,purposeRestriction:e.tcfSdkRef.purposeRestriction}},Lo.prototype.setUpdateGeolocationCookiesData=function(e){eo.writeCookieParam(et.OPTANON_CONSENT,Ye,e)},Lo.prototype.reconsentRequired=function(){return(Qt.moduleInitializer.MobileSDK||this.awaitingReconsent())&&this.needReconsent()},Lo.prototype.awaitingReconsent=function(){return"true"===eo.readCookieParam(et.OPTANON_CONSENT,We)},Lo.prototype.needReconsent=function(){var e=this.alertBoxCloseDate(),t=ao.LastReconsentDate;return e&&t&&new Date(t)>new Date(e)},Lo.prototype.updateCrossConsentCookie=function(e){eo.writeCookieParam(et.OPTANON_CONSENT,Qe,e)},Lo.prototype.alertBoxCloseDate=function(){return eo.getCookie(et.ALERT_BOX_CLOSED)},Lo.prototype.isAlertBoxClosedAndValid=function(){return null!==this.alertBoxCloseDate()&&!this.reconsentRequired()},Lo.prototype.generateLegIntButtonElements=function(e,t,o){void 0===o&&(o=!1);var n=e?"display:none;":"";return'<div class="ot-leg-btn-container" data-group-id="'+t+'" data-el-id="'+t+'-leg-out" is-vendor="'+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="'+ao.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?so.legIntSettings.PObjectLegIntText:so.legIntSettings.PObjectionAppliedText)+'\n </span>\n </button>\n <button\n class="ot-remove-objection-handler"\n data-style="color:'+ao.pcButtonColor+"; "+n+'"\n >\n '+so.legIntSettings.PRemoveObjectionText+"\n </button>\n </div>"},Lo.prototype.syncAlertBoxCookie=function(e){var t=ao.ReconsentFrequencyDays;eo.setCookie(et.ALERT_BOX_CLOSED,e,t,!1,new Date(e))},Lo.prototype.syncCookieExpiry=function(){if(co.syncRequired){var e=ao.ReconsentFrequencyDays,t=eo.getCookie(et.ALERT_BOX_CLOSED),o=eo.getCookie(et.OPTANON_CONSENT);eo.setCookie(et.OPTANON_CONSENT,o,e,!1,new Date(t)),Eo.needReconsent()&&eo.removeAlertBox();var n=eo.getCookie(et.EU_PUB_CONSENT);n&&(Eo.isIABCrossConsentEnabled()?eo.removeIab2():eo.setCookie(et.EU_PUB_CONSENT,n,e,!1,new Date(t)));var r=eo.getCookie(et.ADDITIONAL_CONSENT_STRING);r&&eo.setCookie(et.ADDITIONAL_CONSENT_STRING,r,e,!1,new Date(t))}},Lo.prototype.syncOtPreviewCookie=function(){var e=eo.getCookie(et.OT_PREVIEW);e&&eo.setCookie(et.OT_PREVIEW,e,1,!1)},Lo.prototype.dispatchConsentEvent=function(){window.dispatchEvent(new CustomEvent("OTConsentApplied",{OTConsentApplied:"yes"}))},Lo),Vo=function(){};var Bo,wo=(Oo.prototype.isAlwaysActiveGroup=function(e){if(this.getGrpStatus(e)){var t=this.getGrpStatus(e).toLowerCase();return e.Parent&&t!==st&&(t=this.getGrpStatus(this.getParentGroup(e.Parent)).toLowerCase()),t===st}return!0},Oo.prototype.getGrpStatus=function(e){return e&&e.Status?so.DNTEnabled&&e.IsDntEnabled?dt:e.Status:""},Oo.prototype.getParentGroup=function(t){if(t){var e=ao.Groups.filter(function(e){return e.OptanonGroupId===t});return 0<e.length?e[0]:null}return null},Oo.prototype.checkIfGroupHasConsent=function(t){var e=co.groupsConsent,o=to.findIndex(e,function(e){return e.split(":")[0]===t.CustomGroupId});return-1<o&&"1"===e[o].split(":")[1]},Oo.prototype.checkIsActiveByDefault=function(e){if(this.getGrpStatus(e)){var t=this.getGrpStatus(e).toLowerCase();return e.Parent&&t!==st&&(t=this.getGrpStatus(this.getParentGroup(e.Parent)).toLowerCase()),t===st||t===lt||t===at||t===dt&&!so.DNTEnabled}return!0},Oo.prototype.getGroupById=function(e){for(var t=null,o=0,n=ao.Groups;o<n.length;o++){for(var r=n[o],i=0,s=b(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){if(e){var t=e&&!e.Parent?e:Bo.getParentGroup(e.Parent);return"inactive landingpage"===Bo.getGrpStatus(t).toLowerCase()}return!1},Oo.prototype.isOptInGrp=function(e){return!!e&&"inactive"===Bo.getGrpStatus(e).toLowerCase()},Oo.prototype.getParentByGrp=function(e){return e.Parent?this.getGroupById(e.Parent):null},Oo.prototype.getVSById=function(e){return co.getVendorsInDomain().get(e)},Oo.prototype.getGrpByVendorId=function(e){var t=null;return co.getVendorsInDomain().has(e)&&(t=co.getVendorsInDomain().get(e).groupRef),t},Oo);function Oo(){}var xo,Go=(No.prototype.ensureConsentId=function(e,t){var o,n=!1,r=eo.readCookieParam(et.OPTANON_CONSENT,Je,!0);if(o=!e&&t?(n=!0,1):0,r){var i=parseInt(eo.readCookieParam(et.OPTANON_CONSENT,Xe),10);isNaN(i)||(o=t?++i:i,n=!1)}else r=to.generateUUID(),eo.writeCookieParam(et.OPTANON_CONSENT,Je,r);return eo.writeCookieParam(et.OPTANON_CONSENT,Xe,o),{id:r,count:o,addDfltInt:n}},No.prototype.isAnonymousConsent=function(){var e=!0,t=co.dsParams;return t&&t.hasOwnProperty("isAnonymous")&&(e=t.isAnonymous),e},No.prototype.isAuthUsr=function(e){co.consentPreferences?eo.writeCookieParam(et.OPTANON_CONSENT,"iType",""):eo.writeCookieParam(et.OPTANON_CONSENT,"iType",""+K[e])},No.prototype.createConsentTxn=function(e,t,o,n){void 0===t&&(t=""),void 0===o&&(o=!1),void 0===n&&(n=!0);var r=this.ensureConsentId(e,n),i=ao.ConsentIntegration,s=window.navigator.userAgent,a=/OneTrustBot/.test(s);if(i.ConsentApi&&i.RequestInformation&&r.id&&!a){var l=Qt.moduleInitializer;xo.noOptOutToogle=l.TenantFeatures.CookieV2NoOptOut;var c=co.bannerCloseSource;xo.isCloseByIconOrLink=c===m.BannerCloseButton||c===m.ContinueWithoutAcceptingButton;var d={requestInformation:i.RequestInformation,identifier:r.id,customPayload:{Interaction:r.count,AddDefaultInteraction:r.addDfltInt},isAnonymous:this.isAnonymousConsent(),test:l.ScriptType===ut||l.ScriptType===ht,purposes:this.getConsetPurposes(e),dsDataElements:{}};co.isV2Stub&&(d.syncGroup=co.syncGrpId,"IAB2"!==so.iabType||Eo.isIABCrossConsentEnabled()||(d.tcStringV2=eo.getCookie(et.EU_PUB_CONSENT)),ao.UseGoogleVendors&&(d.gacString=eo.getCookie(et.ADDITIONAL_CONSENT_STRING)));var p=Bo.getGroupById(ao.AdvancedAnalyticsCategory);if(p&&this.canSendAdvancedAnalytics(d.purposes,p)&&(d.dsDataElements={InteractionType:t,Country:co&&co.userLocation?co.userLocation.country:"",UserAgent:s,ConsentModel:ao.ConsentModel.Name}),!l.MobileSDK&&n&&d.purposes.length){var u=JSON.stringify(d);e&&navigator.sendBeacon?(navigator.sendBeacon(i.ConsentApi,u),Eo.dispatchConsentEvent()):!o&&so.apiSource!==A.UpdateConsent&&co.consentInteractionType===t||(co.isV2Stub&&t&&this.isAuthUsr(t),po.ajax({url:i.ConsentApi,type:"post",dataType:"json",contentType:"application/json",data:JSON.stringify(d),sync:e,success:function(){Eo.dispatchConsentEvent()},error:function(){Eo.dispatchConsentEvent()}}))}so.pubDomainData.ConsentIntegrationData={consentApi:i.ConsentApi,consentPayload:d}}co.consentInteractionType=t},No.prototype.getGrpDetails=function(e,i){var s=[];return e.forEach(function(e){var t=e.split(":"),o=t[0],n="true"===t[1]?"1":"0",r=xo.getOptanonIdForIabGroup(o,i);s.push(r+":"+n)}),s},No.prototype.getOptanonIdForIabGroup=function(e,t){var o;return t===L.Purpose?o="IABV2_"+e:t===L.SpecialFeature&&(o="ISFV2_"+e),o},No.prototype.getConsetPurposes=function(r){var e,t,i=this,s=[],o=[],n=co.oneTrustIABConsent;return e=n&&n.purpose?this.getGrpDetails(n.purpose,L.Purpose):[],t=n&&n.specialFeatures?this.getGrpDetails(n.specialFeatures,L.SpecialFeature):[],o=b(n.specialPurposes,n.features),b(co.groupsConsent,e,t).forEach(function(e){var t=e.split(":"),o=Bo.getGroupById(t[0]);if(o&&o.PurposeId){var n=i.getTransactionType(o,t,r);s.push({Id:o.PurposeId,TransactionType:n.txnType}),i.setVSConsentByGroup(o,n).forEach(function(e){return s.push(e)})}}),o.forEach(function(e){e.purposeId&&s.push({Id:e.purposeId,TransactionType:nt})}),co.bannerCloseSource=m.Unknown,s},No.prototype.setVSConsentByGroup=function(e,o){var n=[];return co.showVendorService&&e.VendorServices&&e.VendorServices.forEach(function(e){var t;t=o.useOwn?co.vsConsent.get(e.CustomVendorServiceId)?tt:ot:o.txnType,n.push({Id:e.PurposeId,TransactionType:t})}),n},No.prototype.getTransactionType=function(e,t,o){var n={txnType:nt,useOwn:!1};return e.Status===st?n.txnType=nt:e.Status===ct&&xo.isCloseByIconOrLink||o?n.txnType=rt:e.Status===at&&xo.isCloseByIconOrLink?n.txnType=xo.noOptOutToogle?it:tt:(n.useOwn=!0,n.txnType=this.getTxnType(t[1])),n},No.prototype.getTxnType=function(e){return"0"===e?ot:tt},No.prototype.isPurposeConsentedTo=function(e,t){var o=[tt,nt];return e.some(function(e){return e.Id===t.PurposeId&&-1!==o.indexOf(e.TransactionType)})},No.prototype.canSendAdvancedAnalytics=function(t,e){var o=this;return"BRANCH"===e.Type||"IAB2_STACK"===e.Type?e.SubGroups.length&&e.SubGroups.every(function(e){return o.isPurposeConsentedTo(t,e)}):this.isPurposeConsentedTo(t,e)},No);function No(){}var Do,Ho=(Fo.prototype.isIabCookieValid=function(){var e=null;switch(so.iabType){case"IAB2":e=eo.getCookie("eupubconsent-v2")}return null!==e},Fo.prototype.iabTypeIsChanged=function(){this.isIabCookieValid()||(eo.removeAlertBox(),eo.removeIab1())},Fo.prototype.initializeIABModule=function(){return u(this,void 0,void 0,function(){return g(this,function(e){switch(e.label){case 0:return ao.IsIabEnabled?(Qt.moduleInitializer.otIABModuleData=window.otIabModule,Eo.setIabData(),[4,Eo.populateVendorListTCF()]):[3,2];case 1:return e.sent(),Eo.isIABCrossConsentEnabled()||this.iabTypeIsChanged(),Eo.populateIABCookies(),ao.UseGoogleVendors&&this.removeInActiveAddtlVendors(),[3,3];case 2:eo.removeIab1(),e.label=3;case 3:return[2]}})})},Fo.prototype.removeInActiveAddtlVendors=function(){var e=ao.OverridenGoogleVendors;for(var t in co.addtlVendorsList)e&&e[t]&&!e[t].active&&delete co.addtlVendorsList[t]},Fo.prototype.getIABConsentData=function(){var e=co.oneTrustIABConsent,t=Eo.iabStringSDK().tcString();co.tcModel.unsetAllPurposeConsents(),co.tcModel.unsetAllVendorConsents(),co.tcModel.unsetAllVendorLegitimateInterests(),co.tcModel.unsetAllSpecialFeatureOptins(),co.tcModel.unsetAllPurposeLegitimateInterests(),co.tcModel.publisherConsents.empty(),co.tcModel.publisherLegitimateInterests.empty(),co.tcModel.purposeConsents.set(to.getActiveIdArray(e.purpose)),co.tcModel.publisherConsents.set(to.getActiveIdArray(e.purpose));var o=so.legIntSettings.PAllowLI?to.getActiveIdArray(e.legimateInterest):[];co.tcModel.purposeLegitimateInterests.set(o),co.tcModel.publisherLegitimateInterests.set(o),co.tcModel.vendorConsents.set(to.getActiveIdArray(to.distinctArray(e.vendors))),so.legIntSettings.PAllowLI&&!o.length&&(e.legIntVendors=[]),co.tcModel.vendorLegitimateInterests.set(to.getActiveIdArray(to.distinctArray(e.legIntVendors))),co.tcModel.specialFeatureOptins.set(to.getActiveIdArray(e.specialFeatures));var n=new Date,r=new Date(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),0,0,0);co.tcModel.lastUpdated=r,co.tcModel.created=r;var i=t.encode(co.tcModel);return co.cmpApi.update(i,!1),i},Fo.prototype.decodeTCString=function(e){return Eo.iabStringSDK().tcString().decode(e)},Fo.prototype.getVendorConsentsRequestV2=function(e){var o;return window.__tcfapi("getInAppTCData",2,function(e,t){o=[e,t]}),e.apply(this,o)},Fo.prototype.getPingRequestForTcf=function(e){var t;return window.__tcfapi("ping",2,function(e){t=[e]}),e.apply(this,t)},Fo.prototype.populateVendorAndPurposeFromCookieData=function(){var r=co.oneTrustIABConsent,e=Do.decodeTCString(r.IABCookieValue),i={},s={};so.iabGrps.forEach(function(e){e.Type===Mt?i[so.iabGrpIdMap[e.CustomGroupId]]=e:e.Type===Ut&&(s[so.iabGrpIdMap[e.CustomGroupId]]=e)});var a=[];e.vendorConsents.forEach(function(e,t){var o=e;co.vendorsSetting[t]&&co.vendorsSetting[t].consent||!e||(a.push(t),o=!1),r.vendors.push(t+":"+o)}),e.vendorConsents.unset(a),a=[],e.vendorLegitimateInterests.forEach(function(e,t){var o=e;co.vendorsSetting[t]&&co.vendorsSetting[t].legInt||!e||(a.push(t),o=!1),r.legIntVendors.push(t+":"+o)}),e.vendorLegitimateInterests.unset(a),a=[],e.purposeConsents.forEach(function(e,o){var t=e;i[o]&&i[o].HasConsentOptOut||!e||(a.push(o),t=!1);var n=to.findIndex(r.purpose,function(e,t){return e.split(":")[0]===o.toString()});-1===n?r.purpose.push(o+":"+t):r.purpose[n]=o+":"+t}),e.purposeConsents.unset(a),e.publisherConsents.unset(a),a=[],e.specialFeatureOptins.forEach(function(e,o){var t=e;s[o]&&s[o].HasConsentOptOut||!e||(a.push(o),t=!1);var n=to.findIndex(r.specialFeatures,function(e,t){return e.split(":")[0]===o.toString()});-1===n?r.specialFeatures.push(o+":"+t):r.specialFeatures[n]=o+":"+t}),e.specialFeatureOptins.unset(a),a=[],e.purposeLegitimateInterests.forEach(function(e,o){var t=e;i[o]&&i[o].HasLegIntOptOut&&so.legIntSettings.PAllowLI||!e||(a.push(o),t=!1);var n=to.findIndex(r.legimateInterest,function(e,t){return e.split(":")[0]===o.toString()});-1===n?r.legimateInterest.push(o+":"+t):r.legimateInterest[n]=o+":"+t}),e.purposeLegitimateInterests.unset(a),e.publisherLegitimateInterests.unset(a),this.syncBundleAndStack(),e.gvl=co.tcModel.gvl,e.isServiceSpecific=!Eo.isIABCrossConsentEnabled(),co.tcModel=e;var t=Eo.iabStringSDK().tcString().encode(e);Eo.isAlertBoxClosedAndValid()?(r.IABCookieValue!==t&&(r.IABCookieValue=t,Eo.isIABCrossConsentEnabled()?Eo.setIAB3rdPartyCookie(et.EU_CONSENT,r.IABCookieValue,ao.ReconsentFrequencyDays,!1):eo.setCookie(et.EU_PUB_CONSENT,r.IABCookieValue,ao.ReconsentFrequencyDays)),co.cmpApi.update(t,!1)):Eo.resetTCModel()},Fo.prototype.syncBundleAndStack=function(){var e=eo.readCookieParam(et.OPTANON_CONSENT,"groups");co.groupsConsent=to.strToArr(e),ao.Groups.forEach(function(t){if(t.Type===Ft||t.Type===zt){var e=bo.isBundleOrStackActive(t),o=to.findIndex(co.groupsConsent,function(e){return e.split(":")[0]===t.CustomGroupId}),n=t.CustomGroupId+":"+Number(e);-1<o?co.groupsConsent[o]=n:co.groupsConsent.push(n)}}),eo.writeCookieParam(et.OPTANON_CONSENT,"groups",co.groupsConsent.join(","))},Fo.prototype.populateGoogleConsent=function(){if(ao.UseGoogleVendors){var e=eo.getCookie(et.ADDITIONAL_CONSENT_STRING);e&&(co.isAddtlConsent=!0,co.addtlVendors.vendorConsent=e.replace(co.addtlConsentVersion,"").split("."))}},Fo.prototype.isInitIABCookieData=function(e){return"init"===e||Eo.needReconsent()},Fo.prototype.updateFromGlobalConsent=function(e){var t=co.oneTrustIABConsent;t.IABCookieValue=e,t.purpose=t.purpose||[],t.specialFeatures=t.specialFeatures||[],t.legIntVendors=[],t.legimateInterest=t.legimateInterest||[],t.vendors=[],Do.populateVendorAndPurposeFromCookieData(),eo.setCookie(et.EU_PUB_CONSENT,"",-1)},Fo);function Fo(){}var Ro,qo="groups",Mo="hosts",Uo="genVendors",jo="vs",zo=(Ko.prototype.writeHstParam=function(e,t){void 0===t&&(t=null),eo.writeCookieParam(e,"hosts",to.arrToStr(t||co.hostsConsent))},Ko.prototype.writeGenVenCookieParam=function(e){var t=ao.GeneralVendors,o=co.genVendorsConsent,n="";t.forEach(function(e){n+=e.VendorCustomId+":"+(o[e.VendorCustomId]?"1":"0")+","}),eo.writeCookieParam(e,"genVendors",n)},Ko.prototype.writeVSConsentCookieParam=function(e){var o="";co.vsConsent.forEach(function(e,t){return o+=t+":"+(e?"1":"0")+","}),o=o.slice(0,-1),eo.writeCookieParam(e,jo,o)},Ko.prototype.updateGroupsInCookie=function(e,t){void 0===t&&(t=null),eo.writeCookieParam(e,"groups",to.arrToStr(t||co.groupsConsent))},Ko.prototype.writeGrpParam=function(e,t){void 0===t&&(t=null),this.updateGroupsInCookie(e,t),ao.IsIabEnabled&&Eo.isAlertBoxClosedAndValid()&&this.insertOrUpdateIabCookies()},Ko.prototype.insertOrUpdateIabCookies=function(){var e=co.oneTrustIABConsent;if(e.purpose&&e.vendors){co.isAddtlConsent=ao.UseGoogleVendors,e.IABCookieValue=Do.getIABConsentData();var t=ao.ReconsentFrequencyDays;Eo.isIABCrossConsentEnabled()?Eo.setIAB3rdPartyCookie(et.EU_CONSENT,e.IABCookieValue,t,!1):(eo.setCookie(et.EU_PUB_CONSENT,e.IABCookieValue,t),ao.UseGoogleVendors&&eo.setCookie(et.ADDITIONAL_CONSENT_STRING,""+co.addtlConsentVersion+co.addtlVendors.vendorConsent.join("."),t))}},Ko);function Ko(){}var Wo,Jo=(Yo.prototype.initGenVendorConsent=function(){var n=this;if(ao.GenVenOptOut){var e=so.consentableGrps,t=eo.readCookieParam(et.OPTANON_CONSENT,"genVendors");t?(co.genVendorsConsent={},t.split(",").forEach(function(e){if(e){var t=e.split(":");"1"===t[1]&&(co.genVendorsConsent[t[0]]=!0)}})):(co.genVendorsConsent={},e.forEach(function(e){var o=co.syncRequired?Bo.checkIfGroupHasConsent(e):Bo.checkIsActiveByDefault(e);e.GeneralVendorsIds&&e.GeneralVendorsIds.length&&e.GeneralVendorsIds.forEach(function(e){var t=n.isGenVenPartOfAlwaysActiveGroup(e);co.genVendorsConsent[e]=t||o})}))}else co.genVendorsConsent={},Ro.writeGenVenCookieParam(et.OPTANON_CONSENT)},Yo.prototype.populateGenVendorLists=function(){so.consentableGrps.forEach(function(e){e.GeneralVendorsIds&&(Bo.isAlwaysActiveGroup(e)?e.GeneralVendorsIds.forEach(function(e){co.alwaysActiveGenVendors.push(e)}):Bo.isOptInGrp(e)?e.GeneralVendorsIds.forEach(function(e){co.optInGenVendors.push(e)}):Bo.isSoftOptInGrp(e)&&e.GeneralVendorsIds.forEach(function(e){co.optInGenVendors.includes(e)||co.softOptInGenVendors.push(e)}))})},Yo.prototype.updateGenVendorStatus=function(e,t){co.genVendorsConsent[e]=t||this.isGenVenPartOfAlwaysActiveGroup(e)},Yo.prototype.isGenVenPartOfAlwaysActiveGroup=function(e){return co.alwaysActiveGenVendors.includes(e)},Yo);function Yo(){}var Xo,Qo=($o.prototype.synchroniseCookieGroupData=function(e){var t=eo.readCookieParam(et.OPTANON_CONSENT,"groups"),r=to.strToArr(t),i=to.strToArr(t.replace(/:0|:1/g,"")),o=Eo.needReconsent(),s=!1,a=!1;e.forEach(function(e){var t=e.CustomGroupId;if(e.Type!==Ft&&e.Type!==zt)if(-1===to.indexOf(i,t)){s=!0;var o=Bo.checkIsActiveByDefault(e);a=!0,r.push(t+(o?":1":":0"))}else if(so.gpcEnabled&&e.IsGpcEnabled&&so.gpcValueChanged){var n=r.indexOf(t+":1");-1<n&&(a=!0,r[n]=t+":0")}}),a=this.updateConsentForBundleGrps(e,r,i,a,o),(a=this.removeRedundantGrpsFromCookie(r,o,a))&&(co.fireOnetrustGrp=!0,Ro.updateGroupsInCookie(et.OPTANON_CONSENT,r),co.syncRequired&&s&&eo.removeAlertBox())},$o.prototype.removeRedundantGrpsFromCookie=function(e,o,t){for(var n=e.length,r=t,i=function(){var t=e[n].replace(/:0|:1/g,"");ao.Groups.some(function(e){return(!o||e.Type!==zt)&&(e.CustomGroupId===t||e.SubGroups.some(function(e){return e.CustomGroupId===t}))})||(r=!0,e.splice(n,1))};n--;)i();return r},$o.prototype.updateConsentForBundleGrps=function(e,s,a,t,l){var c=t;return e.forEach(function(e){var t=e.Type===Ft||e.Type===zt,o=e.CustomGroupId;if(t)if(-1===to.indexOf(a,o)){var n=bo.isBundleOrStackActive(e,s);c=!0,s.push(o+(n?":1":":0"))}else if(l&&"false"===Eo.getIABCrossConsentflagData()||so.gpcEnabled&&so.gpcValueChanged||co.syncRequired){var r=bo.isBundleOrStackActive(e,s),i=s.indexOf(o+":"+(r?"0":"1"));-1<i&&(c=!0,s[i]=o+(r?":1":":0"))}}),c},$o.prototype.groupHasConsent=function(t){var e=to.strToArr(eo.readCookieParam(et.OPTANON_CONSENT,"groups")),o=to.findIndex(e,function(e){return e.split(":")[0]===t.CustomGroupId});return-1<o&&"1"===e[o].split(":")[1]},$o.prototype.synchroniseCookieHostData=function(){var n=this,e=eo.readCookieParam(et.OPTANON_CONSENT,"hosts"),r=to.strToArr(e),i=to.strToArr(e.replace(/:0|:1/g,"")),s=!1;ao.Groups.forEach(function(e){b(e.SubGroups,[e]).forEach(function(o){o.Hosts.length&&o.Hosts.forEach(function(e){if(-1===to.indexOf(i,e.HostId)){s=!0;var t=co.syncRequired?n.groupHasConsent(o):Bo.checkIsActiveByDefault(o);r.push(e.HostId+(t?":1":":0"))}})})});for(var o=r.length,t=function(){var t=r[o].replace(/:0|:1/g,"");ao.Groups.some(function(e){return b(e.SubGroups,[e]).some(function(e){return e.Hosts.some(function(e){return e.HostId===t})})})||(s=!0,r.splice(o,1))};o--;)t();s&&(co.fireOnetrustGrp=!0,Ro.writeHstParam(et.OPTANON_CONSENT,r))},$o.prototype.toggleGroupHosts=function(e,t){var o=this;e.Hosts.forEach(function(e){o.updateHostStatus(e,t)})},$o.prototype.toggleGroupGenVendors=function(e,t){e.GeneralVendorsIds.forEach(function(e){Wo.updateGenVendorStatus(e,t)})},$o.prototype.updateHostStatus=function(t,e){var o=to.findIndex(co.hostsConsent,function(e){return!t.isActive&&t.HostId===e.replace(/:0|:1/g,"")});if(-1<o){var n=e||this.isHostPartOfAlwaysActiveGroup(t.HostId);co.hostsConsent[o]=t.HostId+":"+(n?"1":"0")}},$o.prototype.isHostPartOfAlwaysActiveGroup=function(e){return co.oneTrustAlwaysActiveHosts.includes(e)},$o);function $o(){}var Zo,en=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}}"}}},tn=(on.prototype.isLandingPage=function(){var e=eo.readCookieParam(et.OPTANON_CONSENT,"landingPath");return!e||e===location.href},on.prototype.setLandingPathParam=function(e){eo.writeCookieParam(et.OPTANON_CONSENT,"landingPath",e)},on);function on(){}var nn,rn=(sn.prototype.loadBanner=function(){Qt.moduleInitializer.ScriptDynamicLoadEnabled?"complete"===document.readyState?ho(window).trigger("otloadbanner"):window.addEventListener("load",function(e){ho(window).trigger("otloadbanner")}):"loading"!==document.readyState?ho(window).trigger("otloadbanner"):window.addEventListener("DOMContentLoaded",function(e){ho(window).trigger("otloadbanner")}),so.pubDomainData.IsBannerLoaded=!0},sn.prototype.OnConsentChanged=function(e){var t=e.toString();nn.consentChangedEventMap[t]||(nn.consentChangedEventMap[t]=!0,window.addEventListener("consent.onetrust",e))},sn.prototype.triggerGoogleAnalyticsEvent=function(e,t,o,n){var r=!1;if(Qt.moduleInitializer.GATrackToggle&&("AS"===Qt.moduleInitializer.GATrackAssignedCategory||""===Qt.moduleInitializer.GATrackAssignedCategory||window.OnetrustActiveGroups.includes(","+Qt.moduleInitializer.GATrackAssignedCategory+","))&&(r=!0),!so.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);var i=window[so.otDataLayer.name];!so.otDataLayer.ignore&&void 0!==i&&i&&i.constructor===Array&&i.push({event:"trackOptanonEvent",optanonCategory:e,optanonAction:t,optanonLabel:o,optanonValue:n})}},sn.prototype.setAlertBoxClosed=function(e){var t=(new Date).toISOString();e?eo.setCookie(et.ALERT_BOX_CLOSED,t,ao.ReconsentFrequencyDays):eo.setCookie(et.ALERT_BOX_CLOSED,t,0);var o=ho(".onetrust-pc-dark-filter").el[0];o&&"none"!==getComputedStyle(o).getPropertyValue("display")&&ho(".onetrust-pc-dark-filter").fadeOut(400)},sn.prototype.updateConsentFromCookie=function(t){return u(this,void 0,void 0,function(){return g(this,function(e){return t?(Do.isInitIABCookieData(t)||Do.updateFromGlobalConsent(t),"init"===t&&(eo.removeIab1(),Eo.isAlertBoxClosedAndValid()&&Eo.resetTCModel(),eo.removeAlertBox())):(Eo.resetTCModel(),Eo.updateCrossConsentCookie(!1),Eo.setIABCookieData()),nn.assetPromise.then(function(){nn.loadBanner()}),[2]})})},sn);function sn(){var t=this;this.consentChangedEventMap={},this.assetResolve=null,this.assetPromise=new Promise(function(e){t.assetResolve=e})}var an,ln="opt-out",cn="OneTrust Cookie Consent",dn="Banner Auto Close",pn="Banner Close Button",un="Banner - Continue without Accepting",hn="Banner - Confirm",gn="Preferences Close Button",Cn="Preference Center Opened From Banner",yn="Preference Center Opened From Button",fn="Preference Center Opened From Function",vn="Preferences Save Settings",kn="Vendors List Opened From Function",mn="Floating Cookie Settings Open Button",bn="Floating Cookie Settings Close Button",Sn="Preferences Toggle On",Pn="Preferences Toggle Off",Tn="General Vendor Toggle On",An="General Vendor Toggle Off",In="Host Toggle On",Ln="Host Toggle Off",_n="Preferences Legitimate Interest Objection",En="Preferences Legitimate Interest Remove Objection",Vn="IAB Vendor Toggle ON",Bn="IAB Vendor Toggle Off",wn="IAB Vendor Legitimate Interest Objection",On="IAB Vendor Legitimate Interest Remove Objection",xn="Vendor Service Toggle On",Gn="Vendor Service Toggle Off",Nn=(Dn.prototype.initializeFeaturesAndSpecialPurposes=function(){co.oneTrustIABConsent.features=[],co.oneTrustIABConsent.specialPurposes=[],ao.Groups.forEach(function(e){if("IAB2_FEATURE"===e.Type||"IAB2_SPL_PURPOSE"===e.Type){var t={};t.groupId=e.OptanonGroupId,t.purposeId=e.PurposeId,t.value=!0,"IAB2_FEATURE"===e.Type?co.oneTrustIABConsent.features.push(t):co.oneTrustIABConsent.specialPurposes.push(t)}})},Dn.prototype.initGrpsAndHosts=function(){this.initializeGroupData(so.consentableGrps),ao.showCookieList&&bo.isOptOutEnabled()?this.initializeHostData(so.consentableGrps):(co.hostsConsent=[],Ro.writeHstParam(et.OPTANON_CONSENT))},Dn.prototype.ensureHtmlGroupDataInitialised=function(){if(this.initGrpsAndHosts(),co.showGeneralVendors&&(Wo.populateGenVendorLists(),Wo.initGenVendorConsent()),ao.IsIabEnabled&&(this.initializeIABData(),this.initializeFeaturesAndSpecialPurposes()),co.vsIsActiveAndOptOut&&this.initializeVendorsService(),Eo.setOrUpdate3rdPartyIABConsentFlag(),Eo.setGeolocationInCookies(),ao.IsConsentLoggingEnabled){var e=window.OneTrust.dataSubjectParams||{},t=eo.readCookieParam(et.OPTANON_CONSENT,"iType"),o="",n=!1;t&&co.isV2Stub&&e.id&&e.token&&(n=!0,o=K[t]),xo.createConsentTxn(!1,o,!1,n)}},Dn.prototype.initializeVendorsService=function(){var n=Eo.isAlertBoxClosedAndValid(),e=eo.readCookieParam(et.OPTANON_CONSENT,jo),r=to.strToMap(e);co.getVendorsInDomain().forEach(function(e,t){if(!r.has(t)){var o=!n&&Bo.checkIsActiveByDefault(e.groupRef);r.set(t,o)}}),co.vsConsent=r},Dn.prototype.initializeGroupData=function(e){var t=eo.readCookieParam(et.OPTANON_CONSENT,qo);t?(Xo.synchroniseCookieGroupData(e),t=eo.readCookieParam(et.OPTANON_CONSENT,qo),co.groupsConsent=to.strToArr(t)):(co.groupsConsent=[],e.forEach(function(e){co.groupsConsent.push(e.CustomGroupId+(Bo.checkIsActiveByDefault(e)&&e.HasConsentOptOut?":1":":0"))}),ao.IsConsentLoggingEnabled&&window.addEventListener("beforeunload",this.consentDefaulCall))},Dn.prototype.initializeHostData=function(e){var t=eo.readCookieParam(et.OPTANON_CONSENT,"hosts");if(t)Xo.synchroniseCookieHostData(),t=eo.readCookieParam(et.OPTANON_CONSENT,"hosts"),co.hostsConsent=to.strToArr(t),e.forEach(function(e){Bo.isAlwaysActiveGroup(e)&&e.Hosts.length&&e.Hosts.forEach(function(e){co.oneTrustAlwaysActiveHosts.push(e.HostId)})});else{co.hostsConsent=[];var r={};e.forEach(function(e){var o=Bo.isAlwaysActiveGroup(e),n=co.syncRequired?Xo.groupHasConsent(e):Bo.checkIsActiveByDefault(e);e.Hosts.length&&e.Hosts.forEach(function(e){if(r[e.HostId])Xo.updateHostStatus(e,n);else{r[e.HostId]=!0,o&&co.oneTrustAlwaysActiveHosts.push(e.HostId);var t=Xo.isHostPartOfAlwaysActiveGroup(e.HostId);co.hostsConsent.push(e.HostId+(t||n?":1":":0"))}})})}},Dn.prototype.consentDefaulCall=function(){var e=parseInt(eo.readCookieParam(et.OPTANON_CONSENT,Xe),10);!isNaN(e)&&0!==e||(nn.triggerGoogleAnalyticsEvent(cn,"Click","No interaction"),ao.IsConsentLoggingEnabled&&xo.createConsentTxn(!0),window.removeEventListener("beforeunload",an.consentDefaulCall))},Dn.prototype.fetchAssets=function(h){return void 0===h&&(h=null),u(this,void 0,void 0,function(){var t,o,n,r,i,s,a,l,c,d,p,u;return g(this,function(e){switch(e.label){case 0:return s=Qt.moduleInitializer,a=Eo.isAlertBoxClosedAndValid(),l=!!h,c=an.isFetchBanner(s.IsSuppressBanner,a),d=an.cookieSettingBtnPresent(),i="IAB2"===ao.IabType?ao.PCShowPersistentCookiesHoverButton&&(!ao.PCenterDynamicRenderingEnable||ao.PCenterDynamicRenderingEnable&&!d):ao.PCShowPersistentCookiesHoverButton,p="true"===co.urlParams.get(Vt),co.hideBanner=p,[4,Promise.all([!c||ao.NoBanner||p?Promise.resolve(null):vo.getBannerContent(l,h),!s.IsSuppressPC||co.isPCVisible?vo.getPcContent():Promise.resolve(null),i?vo.getCSBtnContent():Promise.resolve(null),vo.getCommonStyles()])];case 1:return u=e.sent(),t=u[0],o=u[1],n=u[2],r=u[3],an.fetchContent(t,o,n,r),an.setCookieListGroupData(),[2]}})})},Dn.prototype.fetchContent=function(e,t,o,n){if(e){var r=e.html;Qt.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},Qt.isV2Template=ao.PCTemplateUpgrade&&/otPcPanel|otPcCenter|otPcTab/.test(t.name)),o&&(this.csBtnGroup={name:"CookieSettingsButton",html:atob(o.html),css:o.css}),n&&(this.commonStyles=n)},Dn.prototype.cookieSettingBtnPresent=function(){return ho("#ot-sdk-btn").length||ho(".ot-sdk-show-settings").length||ho(".optanon-show-settings").length},Dn.prototype.isFetchBanner=function(e,t){return!e||ao.ShowAlertNotice&&!t&&e&&!ho("#onetrust-banner-sdk").length},Dn.prototype.setCookieListGroupData=function(){if(!Qt.fp.CookieV2TrackingTechnologies){var e=(new en).assets();an.cookieListGroup={name:e.name,html:e.html,css:ao.useRTL?e.cssRTL:e.css}}},Dn.prototype.initializeIabPurposeConsentOnReload=function(){var t=this;so.consentableIabGrps.forEach(function(e){t.setIABConsent(e,!1),e.IsLegIntToggle=!0,t.setIABConsent(e,!1)})},Dn.prototype.initializeIABData=function(o,n,r){var i=this;void 0===o&&(o=!1),void 0===n&&(n=!1),void 0===r&&(r=!1);var e=co.oneTrustIABConsent;e.purpose=[],e.vendors=[],e.legIntVendors=[],e.specialFeatures=[],e.legimateInterest=[];var t=co.addtlVendors,s=ao.VendorConsentModel===ln;if(t.vendorConsent=[],!e.IABCookieValue||o||n||Eo.reconsentRequired()){so.consentableIabGrps.forEach(function(e){if(n&&!r)i.setIABConsent(e,Bo.isAlwaysActiveGroup(e));else if(r)e.HasConsentOptOut&&i.setIABConsent(e,!1);else{var t=o&&e.HasConsentOptOut;i.setIABConsent(e,t),"IAB2_PURPOSE"===e.Type&&(e.IsLegIntToggle=!0,i.setIABConsent(e,e.HasLegIntOptOut))}}),ao.IsIabEnabled&&r&&(co.oneTrustIABConsent.legimateInterest=co.vendors.selectedLegInt.slice());var a=o||!n&&s;r&&(a=s),Eo.setIABVendor(a,r),!Eo.reconsentRequired()||o||n||Eo.resetTCModel()}else this.initializeIabPurposeConsentOnReload(),Do.populateGoogleConsent(),Do.populateVendorAndPurposeFromCookieData()},Dn.prototype.canSoftOptInInsertForGroup=function(e){var t=Bo.getGroupById(e);if(t){var o=t&&!t.Parent?t:Bo.getParentGroup(t.Parent);return"inactive landingpage"!==Bo.getGrpStatus(o).toLowerCase()||!Zo.isLandingPage()}},Dn.prototype.setIABConsent=function(e,t){e.Type===Ut?this.setIabSpeciFeatureConsent(e,t):e.IsLegIntToggle?(this.setIabLegIntConsent(e,t),e.IsLegIntToggle=!1):this.setIabPurposeConsent(e,t)},Dn.prototype.setIabPurposeConsent=function(o,n){var r=!1;co.oneTrustIABConsent.purpose=co.oneTrustIABConsent.purpose.map(function(e){var t=e.split(":")[0];return t===o.IabGrpId&&(e=t+":"+n,r=!0),e}),r||co.oneTrustIABConsent.purpose.push(o.IabGrpId+":"+n)},Dn.prototype.setIabLegIntConsent=function(o,n){var r=!1;co.oneTrustIABConsent.legimateInterest=co.oneTrustIABConsent.legimateInterest.map(function(e){var t=e.split(":")[0];return t===o.IabGrpId&&(e=t+":"+n,r=!0),e}),r||co.oneTrustIABConsent.legimateInterest.push(o.IabGrpId+":"+n)},Dn.prototype.setIabSpeciFeatureConsent=function(o,n){var r=!1;co.oneTrustIABConsent.specialFeatures=co.oneTrustIABConsent.specialFeatures.map(function(e){var t=e.split(":")[0];return t===o.IabGrpId&&(e=t+":"+n,r=!0),e}),r||co.oneTrustIABConsent.specialFeatures.push(o.IabGrpId+":"+n)},Dn);function Dn(){}var Hn,Fn=(Rn.prototype.getAllowAllButton=function(){return ho("#onetrust-pc-sdk #accept-recommended-btn-handler")},Rn.prototype.getSelectedVendors=function(){return ho("#onetrust-pc-sdk "+To.P_Tgl_Cntr+" .ot-checkbox input:checked")},Rn);function Rn(){}var qn,Mn=(Un.prototype.setBannerFocus=function(){var e=Array.prototype.slice.call(ho("#onetrust-banner-sdk .onetrust-vendors-list-handler").el),t=Array.prototype.slice.call(ho('#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(ho("#onetrust-banner-sdk .ot-bnr-save-handler").el),n=Array.prototype.slice.call(ho("#onetrust-banner-sdk #onetrust-pc-btn-handler").el),r=Array.prototype.concat.call(Array.prototype.slice.call(ho("#onetrust-banner-sdk .category-switch-handler:not([disabled])").el),Array.prototype.slice.call(ho("#onetrust-banner-sdk .ot-cat-lst button").el),e),i=Array.prototype.concat.call(t,r),s=Array.prototype.slice.call(ho("#onetrust-banner-sdk .onetrust-close-btn-handler").el);so.bannerName===mt&&(i=Array.prototype.concat.call(e,t));var a=Array.prototype.slice.call(ho("#onetrust-banner-sdk #onetrust-accept-btn-handler").el),l=Array.prototype.slice.call(ho("#onetrust-banner-sdk #onetrust-reject-all-handler").el),c=Array.prototype.concat.call(o,a,l,n);(so.bannerName!==vt||ao.IsIabEnabled)&&so.bannerName!==ft&&so.bannerName!==St||(c=Array.prototype.concat.call(n,l,a));var d=Array.prototype.slice.call(ho("#onetrust-banner-sdk .ot-gv-list-handler").el);so.bannerName===Pt?(i=Array.prototype.concat.call(d,i),c=Array.prototype.slice.call(ho("#onetrust-banner-sdk #onetrust-button-group button").el)):i=Array.prototype.concat.call(i,d),this.bannerEl=Array.prototype.concat.call(Array.prototype.slice.call(ho("#onetrust-banner-sdk #onetrust-cookie-btn").el),i,Array.prototype.slice.call(ho("#onetrust-banner-sdk .banner-option-input").el),c,Array.prototype.slice.call(ho("#onetrust-banner-sdk .ot-bnr-footer-logo a").el),s),this.banner=ho("#onetrust-banner-sdk").el[0],(ao.BInitialFocus||ao.BInitialFocusLinkAndButton||ao.ForceConsent)&&(ao.BInitialFocus?this.banner.focus():this.bannerEl[0].focus())},Un.prototype.handleBannerFocus=function(e,t){var o=e.target,n=qn.bannerEl,r=n.indexOf(o),i=n.length-1,s=null;if(this.handleBannerFocusBodyReset(t,r,i))bo.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())},Un.prototype.handleBannerFocusBodyReset=function(e,t,o){return!(ao.ForceConsent||!ao.BInitialFocus&&!ao.BInitialFocusLinkAndButton||!(e&&0===t||!e&&t===o))},Un.prototype.handleInitialBannerFocus=function(e,t,o,n){return e&&ao.ForceConsent?n=t[o]:e||(n=t[0]),n},Un.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=ao.ShowPreferenceCenterCloseButton,n=o?this.getElementForFocus(e,ao.PCLayout.Popup?2:1,!0):null,r={preventScroll:!0};this.firstItem?o?n.focus(r):this.firstItem.focus(r):e[0].focus(),this.firstItem&&ho(this.firstItem).on("keydown",qn.firstItemHandler),this.lastItem&&ho(this.lastItem).on("keydown",qn.lastItemHandler)}},Un.prototype.setFirstAndLast=function(e){this.firstItem=this.getElementForFocus(e,0,!0),this.lastItem=this.firstItem?this.getElementForFocus(e,e.length-1,!1):null},Un.prototype.setLastItem=function(){var e=this.getPCElements(),t=this.getElementForFocus(e,e.length-1,!1);t!==this.lastItem&&(ho(this.lastItem).off("keydown",qn.lastItemHandler),this.lastItem=t,ho(t).on("keydown",qn.lastItemHandler))},Un.prototype.getPCElements=function(){var e="#onetrust-pc-sdk #close-pc-btn-handler,\n #onetrust-pc-sdk .back-btn-handler,\n #onetrust-pc-sdk ."+To.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 co.pcLayer===O.CookieList?e+=" ,#onetrust-pc-sdk "+To.P_Content+" .powered-by-logo":e+=",#onetrust-pc-sdk #vendor-list-save-btn .powered-by-logo",Array.prototype.slice.call(ho(e).el)},Un.prototype.getActiveTab=function(){return document.querySelector('#onetrust-pc-sdk .category-menu-switch-handler[tabindex="0"]')},Un.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},Un.prototype.firstItemHandler=function(e){var t=document.getElementById("onetrust-banner-sdk");if(9===e.keyCode&&e.shiftKey&&qn.firstItem!==t)e.preventDefault(),qn.lastItem.focus();else{var o="close-pc-btn-handler"===e.target.id&&("13"===e.keyCode||"32"===e.keyCode||"Enter"===e.code||"Space"===e.code);if(ao.PCLayout.Tab&&co.pcLayer===O.PrefCenterHome&&!o){var n=qn.getActiveTab();n&&(e.preventDefault(),n.focus())}}},Un.prototype.lastItemHandler=function(e){if(9===e.keyCode&&!e.shiftKey){e.preventDefault();var t=co.pcLayer===O.VendorList||co.pcLayer===O.CookieList;ao.PCLayout.Tab&&co.isPCVisible&&!ao.ShowPreferenceCenterCloseButton&&!t?qn.getActiveTab().focus():qn.firstItem.focus()}},Un);function Un(){this.bannerEl=[]}var jn,zn=(Kn.prototype.getAllGroupElements=function(){return document.querySelectorAll("div#onetrust-pc-sdk "+To.P_Category_Grp+" "+To.P_Category_Item+":not(.ot-vnd-item)")},Kn.prototype.toggleGrpElements=function(e,t,o,n){void 0===n&&(n=!1),so.pcName===Et&&ao.PCTemplateUpgrade&&(e=document.querySelector("#ot-desc-id-"+e.getAttribute("data-optanongroupid")));for(var r=e.querySelectorAll('input[class*="category-switch-handler"]'),i=0;i<r.length;i++){var s=r[i].getAttribute("id").includes("leg-out");n&&(!n||s)||(to.setCheckedAttribute(null,r[i],o),r[i]&&ao.PCShowConsentLabels&&(r[i].parentElement.parentElement.querySelector(".ot-label-status").innerHTML=o?ao.PCActiveText:ao.PCInactiveText))}so.legIntSettings.PAllowLI&&so.legIntSettings.PShowLegIntBtn&&t.Type===Mt&&t.HasLegIntOptOut&&!n&&jn.updateLegIntBtnElement(e.querySelector(".ot-leg-btn-container"),o)},Kn.prototype.toogleAllSubGrpElements=function(e,t){if(e.ShowSubgroup){var o=e.CustomGroupId,n=this.getGroupElementByOptanonGroupId(o.toString());jn.toogleSubGroupElement(n,t,e.IsLegIntToggle)}else this.updateHiddenSubGroupData(e,t)},Kn.prototype.toogleSubGroupElement=function(e,t,o,n){void 0===o&&(o=!1),void 0===n&&(n=!1),so.pcName===Et&&ao.PCTemplateUpgrade&&(e=document.querySelector("#ot-desc-id-"+e.getAttribute("data-optanongroupid")));for(var r=e.querySelectorAll("li"+To.P_Subgrp_li),i=0;i<r.length;i++){var s=Bo.getGroupById(r[i].getAttribute("data-optanongroupid")),a=s.OptanonGroupId,l=Bo.getParentGroup(s.Parent);so.legIntSettings.PAllowLI&&so.legIntSettings.PShowLegIntBtn&&o&&s.Type===Mt&&s.HasLegIntOptOut&&l.ShowSubgroupToggle&&jn.updateLegIntBtnElement(r[i],t);var c=o?"[id='ot-sub-group-id-"+a+"-leg-out']":"[id='ot-sub-group-id-"+a+"']",d=r[i].querySelector('input[class*="cookie-subgroup-handler"]'+c);to.setCheckedAttribute(null,d,t),d&&ao.PCShowConsentLabels&&(d.parentElement.parentElement.querySelector(".ot-label-status").innerHTML=t?ao.PCActiveText:ao.PCInactiveText),n||(s.IsLegIntToggle=o,jn.toggleGrpStatus(s,t),s.IsLegIntToggle=!1,Xo.toggleGroupHosts(s,t),co.genVenOptOutEnabled&&Xo.toggleGroupGenVendors(s,t))}},Kn.prototype.toggleGrpStatus=function(e,t){var o=e.IsLegIntToggle&&e.Type===Mt?t?En:_n:t?Sn:Pn;nn.triggerGoogleAnalyticsEvent(cn,o,e.GroupName+": "+e.OptanonGroupId),t?this.updateEnabledGroupData(e):this.updateDisabledGroupData(e)},Kn.prototype.setInputID=function(e,t,o,n,r){ho(e).attr("id",t),ho(e).attr("name",t),ho(e).data("optanonGroupId",o),to.setCheckedAttribute(null,e,n),ho(e).attr("aria-labelledby",r)},Kn.prototype.updateEnabledGroupData=function(e){if(-1<Jt.indexOf(e.Type))this.updateIabGroupData(e,!0);else{var t=jn.getGroupVariable(),o=to.indexOf(t,e.CustomGroupId+":0");-1!==o&&(t[o]=e.CustomGroupId+":1")}},Kn.prototype.updateDisabledGroupData=function(e){if(-1<Jt.indexOf(e.Type))this.updateIabGroupData(e,!1);else if(e.Status!==st){var t=jn.getGroupVariable(),o=to.indexOf(t,e.CustomGroupId+":1");-1!==o&&(t[o]=e.CustomGroupId+":0")}},Kn.prototype.updateIabGroupData=function(e,t){if(e.Type===Ut)this.updateIabSpecialFeatureData(e.IabGrpId,t);else{var o=e.IsLegIntToggle?co.vendors.selectedLegInt:co.vendors.selectedPurpose;this.updateIabPurposeData(e.IabGrpId,t,o)}},Kn.prototype.isAllSubgroupsDisabled=function(e){return!e.SubGroups.some(function(e){return jn.isGroupActive(e)})},Kn.prototype.isAllSubgroupsEnabled=function(e){return!e.SubGroups.some(function(e){return jn.IsGroupInActive(e)})},Kn.prototype.toggleGroupHtmlElement=function(e,t,o){if(so.legIntSettings.PAllowLI&&so.legIntSettings.PShowLegIntBtn&&e.Type===Mt&&e.HasLegIntOptOut){var n=document.querySelector("[data-el-id="+t+"]");n&&this.updateLegIntBtnElement(n,o)}var r=ho("#ot-group-id-"+t).el[0];to.setCheckedAttribute(null,r,o),r&&ao.PCShowConsentLabels&&(r.parentElement.querySelector(".ot-label-status").innerHTML=o?ao.PCActiveText:ao.PCInactiveText)},Kn.prototype.updateLegIntBtnElement=function(e,t){var o=so.legIntSettings,n=e.querySelector(".ot-obj-leg-btn-handler"),r=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,$t(r,"display: "+(t?"none":"inline-block")+";",!0)},Kn.prototype.isGroupActive=function(e){return-1<Jt.indexOf(e.Type)?-1!==this.isIabPurposeActive(e):-1!==po.inArray(e.CustomGroupId+":1",jn.getGroupVariable())},Kn.prototype.safeFormattedGroupDescription=function(e){return e&&e.GroupDescription?e.GroupDescription.replace(/\r\n/g,"<br>"):""},Kn.prototype.canInsertForGroup=function(e,t){void 0===t&&(t=!1);var o,n=null!=e&&void 0!==e,r=eo.readCookieParam(et.OPTANON_CONSENT,"groups"),i=co.groupsConsent.join(","),s=eo.readCookieParam(et.OPTANON_CONSENT,"hosts"),a=co.hostsConsent.join(",");if(t)return!0;r===i&&s===a||an.ensureHtmlGroupDataInitialised();var l=[];if(co.showGeneralVendors)for(var c=0,d=Object.entries(co.genVendorsConsent);c<d.length;c++){var p=d[c],u=p[0],h=p[1];l.push(u+":"+(h?"1":"0"))}co.showVendorService&&co.vsConsent.forEach(function(e,t){l.push(t+":"+(e?"1":"0"))});var g=co.groupsConsent.concat(co.hostsConsent).concat(l);o=to.contains(g,e+":1");var C=this.doesHostExist(e),y=this.doesGroupExist(e),f=!1;co.showGeneralVendors?f=this.doesGenVendorExist(e):co.showVendorService&&(f=this.doesVendorServiceExist(e));var v=!(!C&&!f)||o&&an.canSoftOptInInsertForGroup(e);return!(!n||!(o&&v||!y&&!C&&!f))},Kn.prototype.setAllowAllButton=function(){var t=0,e=ao.Groups.some(function(e){if(-1===Yt.indexOf(e.Type))return jn.IsGroupInActive(e)&&t++,e.SubGroups.some(function(e){return jn.IsGroupInActive(e)})&&t++,1<=t}),o=Hn.getAllowAllButton();return e?o.show("inline-block"):o.hide(),qn.lastItem&&qn.setLastItem(),e},Kn.prototype.isAnyGroupOptedOut=function(){for(var e=!1,t=0,o=ao.Groups;t<o.length;t++){var n=o[t];if(!0===jn.IsGroupInActive(n)){e=!0;break}}return e},Kn.prototype.getGroupVariable=function(){return co.groupsConsent},Kn.prototype.IsGroupInActive=function(e){return-1<Jt.indexOf(e.Type)?-1===this.isIabPurposeActive(e):!(-1<Yt.indexOf(e.Type))&&-1===po.inArray(e.CustomGroupId+":1",jn.getGroupVariable())},Kn.prototype.updateIabPurposeData=function(t,e,o){var n=to.findIndex(o,function(e){return e.split(":")[0]===t});o[n=-1===n?Number(t):n]=t+":"+e},Kn.prototype.updateIabSpecialFeatureData=function(t,e){var o=to.findIndex(co.vendors.selectedSpecialFeatures,function(e){return e.split(":")[0]===t});o=-1===o?Number(t):o,co.vendors.selectedSpecialFeatures[o]=t+":"+e},Kn.prototype.getGroupElementByOptanonGroupId=function(e){return document.querySelector("#onetrust-pc-sdk "+To.P_Category_Grp+" "+To.P_Category_Item+'[data-optanongroupid=\n "'+e+'"]')},Kn.prototype.updateHiddenSubGroupData=function(e,t){e.SubGroups.forEach(function(e){jn.toggleGrpStatus(e,t),Xo.toggleGroupHosts(e,t),co.genVenOptOutEnabled&&Xo.toggleGroupGenVendors(e,t)})},Kn.prototype.isIabPurposeActive=function(e){var t;return t=e.Type===Ut?co.vendors.selectedSpecialFeatures:e.IsLegIntToggle?co.vendors.selectedLegInt:co.vendors.selectedPurpose,po.inArray(e.IabGrpId+":true",t)},Kn.prototype.doesGroupExist=function(e){return!!Bo.getGroupById(e)},Kn.prototype.doesHostExist=function(e){var t=co.hostsConsent;return-1!==t.indexOf(e+":0")||-1!==t.indexOf(e+":1")},Kn.prototype.doesGenVendorExist=function(t){return!!ao.GeneralVendors&&!!ao.GeneralVendors.find(function(e){return e.VendorCustomId===t})},Kn.prototype.doesVendorServiceExist=function(e){return co.getVendorsInDomain().has(e)},Kn);function Kn(){}var Wn,Jn=(Yn.prototype.updateFilterSelection=function(e){var t,o;void 0===e&&(e=!1),o=e?(t=co.filterByCategories,"data-optanongroupid"):(t=co.filterByIABCategories,"data-purposeid");for(var n=ho("#onetrust-pc-sdk .category-filter-handler").el,r=0;r<n.length;r++){var i=n[r].getAttribute(o),s=-1<t.indexOf(i);to.setCheckedAttribute(null,n[r],s)}},Yn.prototype.cancelHostFilter=function(){for(var e=ho("#onetrust-pc-sdk .category-filter-handler").el,t=0;t<e.length;t++){var o=e[t].getAttribute("data-optanongroupid"),n=0<=co.filterByCategories.indexOf(o);to.setCheckedAttribute(null,e[t],n)}},Yn.prototype.updateHostFilterList=function(){for(var e=ho("#onetrust-pc-sdk .category-filter-handler").el,t=0;t<e.length;t++){var o=e[t].getAttribute("data-optanongroupid");if(e[t].checked&&co.filterByCategories.indexOf(o)<0)co.filterByCategories.push(o);else if(!e[t].checked&&-1<co.filterByCategories.indexOf(o)){var n=co.filterByCategories;co.filterByCategories.splice(n.indexOf(o),1)}}return co.filterByCategories},Yn.prototype.InitializeHostList=function(){co.hosts.hostTemplate=ho(To.P_Vendor_List+" "+To.P_Host_Cntr+" li").el[0].cloneNode(!0),co.hosts.hostCookieTemplate=ho(To.P_Vendor_List+" "+To.P_Host_Cntr+" "+To.P_Host_Opt+" li").el[0].cloneNode(!0)},Yn.prototype.getCookiesForGroup=function(t){var o=[],n=[];return t.FirstPartyCookies.length&&t.FirstPartyCookies.forEach(function(e){n.push(i(i({},e),{groupName:t.GroupName}))}),t.Hosts.length&&t.Hosts.forEach(function(e){o.push(i(i({},e),{isActive:"always active"===Bo.getGrpStatus(t).toLowerCase(),groupName:t.GroupName,Type:Q.Host}))}),{firstPartyCookiesList:n,thirdPartyCookiesList:o}},Yn.prototype.reactivateSrcTag=function(e){var t=["src"];e.setAttribute(t[0],e.getAttribute("data-"+t[0])),e.removeAttribute("data-src")},Yn.prototype.reactivateScriptTag=function(e){var t=e.parentNode,o=document.createElement(e.tagName);o.innerHTML=e.innerHTML;var n=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)},Yn.prototype.reactivateTag=function(e,t){var o,n=0<=e.className.indexOf("ot-vscat"),r=0<=e.className.indexOf("optanon-category");n&&r?o=this.getGroupElements(e.className,co.showVendorService):n?co.showVendorService?o=this.getGroupElements(e.className,!0):this.unBlockTag(t,e):r&&(co.showVendorService?this.unBlockTag(t,e):o=this.getGroupElements(e.className,!1));var i=!0;if(o&&0<o.length){for(var s=0;s<o.length;s++)if(!jn.canInsertForGroup(o[s].trim())){i=!1;break}i&&this.unBlockTag(t,e)}},Yn.prototype.unBlockTag=function(e,t){e?this.reactivateSrcTag(t):this.reactivateScriptTag(t)},Yn.prototype.getGroupElements=function(e,t){return t?e.match(/ot-vscat(-[a-zA-Z0-9,]+)+($|\s)/)[0].split(/ot-vscat-/i)[1].split("-"):e.match(/optanon-category(-[a-zA-Z0-9,]+)+($|\s)/)[0].split(/optanon-category-/i)[1].split("-")},Yn.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)})},Yn);function Yn(){}var Xn,Qn=($n.prototype.getSearchQuery=function(e){var t=this,o=e.trim().split(/\s+/g);return new RegExp(o.map(function(e){return t.escapeRegExp(e)}).join("|")+"(.+)?","gi")},$n.prototype.escapeRegExp=function(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},$n.prototype.setGlobalFilteredList=function(e){return co.currentGlobalFilteredList=e},$n.prototype.filterList=function(t,e,n){var o=n&&n.length;if(""===t&&!o)return this.setGlobalFilteredList(e);if(o){var r=ho("#onetrust-pc-sdk "+To.P_Fltr_Options+" input").el.length,i=[],s=!1;r!==n.length?e.forEach(function(o){s=!0,o.vendorName&&n.forEach(function(e){var t=parseInt(so.iabGrpIdMap[e]);-1<e.indexOf("IFEV2_")?(o.features||[]).forEach(function(e){e.featureId===t&&i.push(o)}):-1<e.indexOf("ISFV2_")?o.specialFeatures.forEach(function(e){e.featureId===t&&i.push(o)}):-1<e.indexOf("ISPV2_")?(o.specialPurposes||[]).forEach(function(e){e.purposeId===t&&i.push(o)}):(o.purposes.forEach(function(e){e.purposeId===t&&i.push(o)}),o.legIntPurposes.forEach(function(e){e.purposeId===t&&i.push(o)}))})}):i=e,s&&(i=i.filter(function(e,t,o){return o.indexOf(e)===t})),this.setGlobalFilteredList(i)}return""===t?co.currentGlobalFilteredList:co.currentGlobalFilteredList.filter(function(e){if(e.vendorName)return e.vendorName.toLowerCase().includes(t.toLowerCase())})},$n.prototype.loadVendorList=function(e,t){void 0===e&&(e="");var o=co.vendors;co.currentGlobalFilteredList=o.list,e?(o.searchParam=e,co.filterByIABCategories=[],Wn.updateFilterSelection(!1)):o.searchParam!==e?o.searchParam="":t=co.filterByIABCategories;var n=this.filterList(o.searchParam,o.list,t);ho("#onetrust-pc-sdk "+To.P_Vendor_Content).el[0].scrollTop=0,this.initVendorsData(e,n)},$n.prototype.searchVendors=function(e,t,o,n){if(n){var r=this.getSearchQuery(n),i=0;for(var s in t)if(s){var a=o===ie.GoogleVendor?s:t[s].VendorCustomId,l=ho(""+e.vendorAccBtn+a).el[0].parentElement;r.lastIndex=0,r.test(t[s][e.name])?($t(l,this._displayNull,!0),i++):$t(l,"display: none;",!0)}0===i?(ho(e.accId).hide(),o===ie.GoogleVendor?this.hasGoogleVendors=!1:this.hasGenVendors=!1):(o===ie.GoogleVendor?this.hasGoogleVendors=!0:this.hasGenVendors=!0,ho(e.accId).show()),this.showEmptyResults(!this.hasGoogleVendors&&!this.hasIabVendors&&!this.hasGenVendors,n)}else for(var c=ho(" "+e.venListId+' li[style^="display: none"]').el,d=0;d<c.length;d++)$t(c[d],this._displayNull,!0);var p=ho("#onetrust-pc-sdk "+e.selectAllEvntHndlr).el[0];document.querySelector(e.venListId+' li:not([style^="display: none"]) '+e.ctgl+" > input[checked]")?to.setCheckedAttribute("",p,!0):to.setCheckedAttribute("",p,!1),document.querySelector(e.venListId+' li:not([style^="display: none"]) '+e.ctgl+" > input:not([checked])")?p.parentElement.classList.add("line-through"):p.parentElement.classList.remove("line-through")},$n.prototype.initGoogleVendors=function(){this.populateAddtlVendors(co.addtlVendorsList),this.venAdtlSelAllTglEvent()},$n.prototype.initGenVendors=function(){this.populateGeneralVendors(),ao.GenVenOptOut&&ao.GeneralVendors&&ao.GeneralVendors.length&&this.genVenSelectAllTglEvent()},$n.prototype.resetAddtlVendors=function(){Xn.searchVendors(Xn.googleSearchSelectors,co.addtlVendorsList,ie.GoogleVendor),this.showConsentHeader()},$n.prototype.venAdtlSelAllTglEvent=function(){Xn.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"})},$n.prototype.genVenSelectAllTglEvent=function(){var e={vendorsList:To.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"};Xn.selectAllEventHandler(e)},$n.prototype.selectAllEventHandler=function(e){for(var t=ho(e.vendorsList).el,o=ho(e.selAllCntr).el[0],n=ho(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);to.setCheckedAttribute("",n,n.checked)},$n.prototype.vendorLegIntToggleEvent=function(){for(var e=ho(To.P_Vendor_Container+' li:not([style^="display: none"]) .'+To.P_Ven_Ltgl+" input").el,t=ho("#onetrust-pc-sdk #"+To.P_Sel_All_Vendor_Leg_El).el[0],o=ho("#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);to.setCheckedAttribute("",o,o.checked)},$n.prototype.vendorsListEvent=function(){for(var e=ho(To.P_Vendor_Container+' li:not([style^="display: none"]) .'+To.P_Ven_Ctgl+" input").el,t=ho("#onetrust-pc-sdk #"+To.P_Sel_All_Vendor_Consent_El).el[0],o=ho("#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);to.setCheckedAttribute("",o,o.checked)},$n.prototype.showEmptyResults=function(e,t,o){void 0===o&&(o=!1);var n=ho("#onetrust-pc-sdk #no-results");e?this.setNoResultsContent(t,o):(ho("#onetrust-pc-sdk "+To.P_Vendor_Content).removeClass("no-results"),n.length&&n.remove())},$n.prototype.playSearchStatus=function(e){var t=e?document.querySelectorAll(To.P_Host_Cntr+" > li"):document.querySelectorAll(To.P_Vendor_Container+' li:not([style$="none;"]),'+To.P_Gven_List+' li:not([style$="none;"])'),o=t.length,n=ho('#onetrust-pc-sdk [role="status"]');o?n.text(t.length+" "+(e?"host":"vendor")+(1<o?"s":"")+" returned."):n.el[0].textContent=""},$n.prototype.setNoResultsContent=function(e,t){void 0===t&&(t=!1);var o=ho("#onetrust-pc-sdk #no-results").el[0];if(!o){var n=Xn.getNoResultsFound(t),r=document.createElement("div"),i=document.createElement("p"),s=document.createTextNode(n),a=document.createElement("span");return r.id="no-results",a.id="user-text",a.innerText=e,i.appendChild(a),i.appendChild(s),r.appendChild(i),ho("#onetrust-pc-sdk "+To.P_Vendor_Content).addClass("no-results"),ho("#vendor-search-handler").el[0].setAttribute("aria-describedby",r.id),ho("#onetrust-pc-sdk "+To.P_Vendor_Content).append(r)}o.querySelector("span").innerText=e},$n.prototype.searchHostList=function(e){var t={},o=[];co.showTrackingTech?(t=co.currentTrackingTech,e&&(t=Xn.getFilteredAdditionaTechtData(e,t)),o=t.Cookies):(o=co.currentGlobalFilteredList,e&&(o=this.searchList(e,o))),this.initHostData({searchString:e,cookiesList:o,addTechData:t})},$n.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)})},$n.prototype.setListSearchValues=function(e){var t=ao.PCenterVendorSearchAriaLabel,o=ao.PCenterVendorListSearch,n=ao.PCenterVendorsListText;e===Le.cookies&&(t=ao.PCenterCookieSearchAriaLabel,o=ao.PCenterCookieListSearch,n=ao.PCenterCookiesListText),co.cookieListType!==Z.HostAndGenVen&&co.cookieListType!==Z.Host||!co.showTrackingTech||(n=ao.AdditionalTechnologiesConfig.PCTrackingTechTitle),document.querySelector("#onetrust-pc-sdk "+To.P_Vendor_Title).innerText=n;var r=ho("#onetrust-pc-sdk "+To.P_Vendor_Search_Input);r.el[0].placeholder=o,r.attr("aria-label",t)},$n.prototype.initHostData=function(e){var t=e.searchString,o=e.cookiesList,n=e.addTechData;co.optanonHostList=o;var r=!1;this.setBackBtnTxt(),ho(To.P_Vendor_List+" #select-all-text-container p").html(ao.PCenterAllowAllConsentText);var i=Xn.getHostParentContainer(),s=o&&0===o.length;co.showTrackingTech&&(s=0===n.LocalStorages.length&&0===n.SessionStorages.length&&(0===n.Cookies.length||0===n.Cookies[0].Cookies.length));var a=co.cookieListType===Z.Host;this.showEmptyResults(s,t,a),this.setHostListSearchValues(),ho("#filter-btn-handler").el[0].setAttribute(this.ARIA_LABEL_ATTRIBUTE,ao.PCenterCookieListFilterAria),ho("#filter-btn-handler title").html(ao.PCenterCookieListFilterAria),Qt.isV2Template&&ho("#ot-sel-blk span:first-child").html(ao.PCenterAllowAllConsentText||ao.ConsentText);for(var l=document.createDocumentFragment(),c=0;c<o.length;c++){var d=co.hosts.hostTemplate.cloneNode(!0),p=o[c].DisplayName||o[c].HostName;this.createHostAccordions(p,d,c),r=this.createHostCheckboxes(p,o,c,d,r),p=this.populateHostDataIntoDOMElements(d,o,p,c,l)}Xn.setCookiesInsideHostContainer(i,l,n);var u=1===o.length&&o[0].HostName===ao.PCFirstPartyCookieListText;if(bo.isOptOutEnabled()&&!u){to.setDisabledAttribute("#onetrust-pc-sdk #select-all-hosts-groups-handler",null,!r);for(var h=ho("#onetrust-pc-sdk "+To.P_Host_Cntr+" .ot-host-tgl input").el,g=0;g<h.length;g++)h[g].addEventListener("click",this.hostsListEvent);ho("#onetrust-pc-sdk "+To.P_Select_Cntr).removeClass("ot-hide"),this.hostsListEvent()}else ho("#onetrust-pc-sdk "+To.P_Select_Cntr).addClass("ot-hide")},$n.prototype.setCookiesInsideHostContainer=function(e,t,o){if(co.showTrackingTech&&o){var n=Xn.getAdditionalTechnologiesHtml(o);if(0<n.children.length){var r=n.querySelector("."+this.TECH_COOKIES_SELECTOR+" .ot-acc-txt");if(r){var i=e.querySelector("ul"+To.P_Host_Cntr);i.appendChild(t),r.appendChild(i)}e.appendChild(n)}}else e.appendChild(t)},$n.prototype.getHostParentContainer=function(){var e=null;return co.showTrackingTech?(e=document.querySelector("#onetrust-pc-sdk "+To.P_Vendor_Content+" .ot-sdk-column"),Xn.removeTrackingTechAccorions()):(e=document.querySelector("#onetrust-pc-sdk "+To.P_Vendor_Content+" ul"+To.P_Host_Cntr)).innerHTML="",e},$n.prototype.removeTrackingTechAccorions=function(){var e=document.querySelector("#onetrust-pc-sdk "+To.P_Vendor_Content+" .ot-sdk-column"),t=e.querySelector("."+this.TECH_COOKIES_SELECTOR+" ul"+To.P_Host_Cntr);if(t?(t.innerHTML="",e.appendChild(t)):(t=e.querySelector("ul"+To.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)}},$n.prototype.setHostListSearchValues=function(){var e=so.pcName;ao.GeneralVendorsEnabled&&(Qt.isV2Template||e!==Et)&&this.setListSearchValues(Le.vendors),ao.GeneralVendorsEnabled||!Qt.isV2Template&&e===Et||this.setListSearchValues(Le.cookies)},$n.prototype.createHostAccordions=function(e,t,o){var n=t.querySelector("."+To.P_Host_Bx);n&&to.setHtmlAttributes(n,{id:"host-"+o,name:"host-"+o,"aria-label":e+" "+ao.PCViewCookiesText,"aria-controls":"ot-host-acc-txt-"+o});var r=t.querySelector(To.P_Acc_Txt);r&&to.setHtmlAttributes(r,{id:"ot-host-acc-txt-"+o,role:"region","aria-labelledby":n.id})},$n.prototype.createHostCheckboxes=function(e,t,o,n,r){var i=bo.isOptOutEnabled(),s=Qt.isV2Template,a=so.pcName;if(!i||t[o].isFirstParty){var l=n.querySelector(".ot-host-tgl");l&&l.parentElement.removeChild(l)}else{var c=void 0;s?((c=_o.chkboxEl.cloneNode(!0)).classList.add("ot-host-tgl"),c.querySelector("input").classList.add("host-checkbox-handler"),a===Et?n.querySelector(To.P_Host_Hdr).insertAdjacentElement("beforebegin",c):n.querySelector(To.P_Tgl_Cntr).insertAdjacentElement("beforeend",c)):c=n.querySelector(".ot-host-tgl"),to.setHtmlAttributes(c.querySelector("input"),{id:"ot-host-chkbox-"+o,"aria-label":e,hostId:t[o].HostId,ckType:t[o].Type}),c.querySelector("label").setAttribute("for","ot-host-chkbox-"+o),(t[o].Type===Q.GenVendor?co.genVendorsConsent[t[o].HostId]:-1!==co.hostsConsent.indexOf(t[o].HostId+":1"))?(to.setCheckedAttribute(null,c.querySelector("input"),!0),t[o].isActive?to.setDisabledAttribute(null,c.querySelector("input"),!0):r=r||!0):(r=!0,to.setCheckedAttribute(null,c.querySelector("input"),!1)),c.querySelector(To.P_Label_Txt).innerText=e}return r},$n.prototype.populateHostDataIntoDOMElements=function(o,n,e,r,t){var i,s=this,a=Qt.isV2Template,l=so.pcName;if(ao.PCAccordionStyle===J.PlusMinus)o.querySelector(To.P_Acc_Header).insertAdjacentElement("afterbegin",_o.plusMinusEl.cloneNode(!0));else if(a){var c=_o.arrowEl.cloneNode(!0);l===Et?o.querySelector(To.P_Host_View_Cookies).insertAdjacentElement("afterend",c):o.querySelector(To.P_Tgl_Cntr).insertAdjacentElement("beforeend",c)}ao.AddLinksToCookiepedia&&!n[r].isFirstParty&&(e='\n <a class="cookie-label"\n href="http://cookiepedia.co.uk/host/'+n[r].HostName+'"\n rel="noopener"\n target="_blank"\n >\n '+e+'&nbsp;<span class="ot-scrn-rdr">'+ao.NewWinTxt+"</span>\n </a>\n "),o.querySelector(To.P_Host_Title).innerHTML=e,o.querySelector(To.P_Host_Desc).innerHTML=n[r].Description,n[r].PrivacyPolicy&&ao.pcShowCookieHost&&o.querySelector(To.P_Host_Desc).insertAdjacentHTML("afterend",'<a href="'+n[r].PrivacyPolicy+'" rel="noopener" target="_blank">'+(a?ao.PCGVenPolicyTxt:ao.PCCookiePolicyText)+'&nbsp;<span class="ot-scrn-rdr">'+ao.NewWinTxt+"</span></a>");var d=o.querySelector(To.P_Host_View_Cookies);if(!co.showGeneralVendors||n[r].Cookies&&n[r].Cookies.length?ao.PCViewCookiesText&&(d.innerHTML=ao.PCViewCookiesText):(to.removeChild(d),ho(o).addClass("ot-hide-acc")),!n[r].Description||!ao.pcShowCookieHost){var p=o.querySelector(To.P_Host_Desc);p.parentElement.removeChild(p)}return ho(o.querySelector(To.P_Host_Opt)).html(""),null!==(i=n[r].Cookies)&&void 0!==i&&i.forEach(function(e){var t=s.getCookieElement(e,n[r]);ho(o.querySelector(To.P_Host_Opt)).append(t)}),t.append(o),e},$n.prototype.hostsListEvent=function(){for(var e=ho("#onetrust-pc-sdk "+To.P_Host_Cntr+" .ot-host-tgl input").el,t=ho("#onetrust-pc-sdk #"+To.P_Sel_All_Host_El).el[0],o=ho("#onetrust-pc-sdk #select-all-hosts-groups-handler").el[0],n=ho("#onetrust-pc-sdk "+To.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);to.setCheckedAttribute("",o,o.checked),o&&n&&o.setAttribute(this.ARIA_LABEL_ATTRIBUTE,n.textContent+" "+ao.PCenterSelectAllVendorsText)},$n.prototype.loadHostList=function(e,t){var o={},n=[];n=co.showTrackingTech?(o=Xn.getAdditionalTechnologiesDataFromGroup(t),(co.currentTrackingTech=o).Cookies):Xn.getCombinedCookieList(t),co.currentGlobalFilteredList=n,this.initHostData({searchString:e,cookiesList:n,addTechData:o})},$n.prototype.getCombinedCookieList=function(e){var t=[],o=[],n=[];if(co.cookieListType!==Z.GenVen){var r=Xn.getFirstsAndThirdCookisFromGroups(e);o=r.firstPartyCookiesList,t=r.thirdPartyCookiesList,o.length&&t.unshift({HostName:ao.PCFirstPartyCookieListText,DisplayName:ao.PCFirstPartyCookieListText,HostId:this.FIRST_PARTY_COOKIES_GROUP_NAME,isFirstParty:!0,Cookies:o,Description:""})}if(co.showGeneralVendors){var i=this.getFilteredGenVendorsList(e);n=b(t,this.mapGenVendorListToHostFormat(i))}else n=t;return n},$n.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:Q.GenVendor,PrivacyPolicy:e.PrivacyPolicyUrl,isActive:-1<co.alwaysActiveGenVendors.indexOf(e.VendorCustomId)}})},$n.prototype.mapGenVendorToHostFormat=function(e){return{Cookies:e.Cookies,DisplayName:e.Name,HostName:e.Name,HostId:e.VendorCustomId,Description:e.Description,Type:Q.GenVendor}},$n.prototype.getFilteredGenVendorsList=function(t){var o=[],e=[];if(t.length){ao.Groups.forEach(function(e){b(e.SubGroups,[e]).forEach(function(e){-1!==t.indexOf(e.CustomGroupId)&&e.GeneralVendorsIds&&e.GeneralVendorsIds.forEach(function(e){o.push(e)})})});var n=ao.GeneralVendors;return o.length&&(e=n.filter(function(e){if(-1<o.indexOf(e.VendorCustomId))return e})),e}return ao.GeneralVendors},$n.prototype.initVendorsData=function(e,t){var o=this,n=t,r=co.vendors.list;if(this.setBackBtnTxt(),ho(To.P_Vendor_List+" #select-all-text-container p").html(ao.PCenterAllowAllConsentText),Xn.setConsentLegIntAndHeaderText(),ho("#onetrust-pc-sdk #filter-btn-handler").el[0].setAttribute(this.ARIA_LABEL_ATTRIBUTE,ao.PCenterVendorListFilterAria),ho("#onetrust-pc-sdk #filter-btn-handler title").html(ao.PCenterVendorListFilterAria),this.hasIabVendors=0<n.length,this.showEmptyResults(!this.hasGoogleVendors&&!this.hasIabVendors&&!this.hasGenVendors,e,!1),Xn.hideOrShowVendorList(n),ho("#onetrust-pc-sdk "+To.P_Vendor_Container+" ."+To.P_Ven_Bx).length!==r.length&&this.attachVendorsToDOM(),n.length!==r.length)r.forEach(function(e){var t=ho(To.P_Vendor_Container+" #IAB"+e.vendorId).el[0].parentElement;-1===n.indexOf(e)?$t(t,"display: none;",!0):$t(t,o._displayNull,!0)});else for(var i=ho(To.P_Vendor_Container+' li[style^="display: none"]').el,s=0;s<i.length;s++)$t(i[s],this._displayNull,!0);!Qt.isV2Template&&so.pcName===Et||this.setListSearchValues(Le.vendors);var a=document.querySelector("#vdr-lst-dsc");if(!a&&ao.PCenterVendorListDescText)if((a=document.createElement("p")).id="vdr-lst-dsc",ho(a).html(ao.PCenterVendorListDescText),so.pcName!==Et&&so.pcName!==It){var l=document.querySelector("#onetrust-pc-sdk "+To.P_Vendor_Title_Elm);l&&l.insertAdjacentElement("afterend",a)}else{var c=document.querySelector(To.P_Vendor_Content+" .ot-sdk-row");c&&c.insertAdjacentElement("beforebegin",a)}ho("#onetrust-pc-sdk "+To.P_Select_Cntr).removeClass("ot-hide"),this.vendorsListEvent(),so.legIntSettings.PAllowLI&&this.vendorLegIntToggleEvent()},$n.prototype.setConsentLegIntAndHeaderText=function(){Qt.isV2Template&&(ho("#ot-sel-blk span:first-child").html(ao.PCenterAllowAllConsentText||ao.ConsentText),ho("#ot-sel-blk span:last-child").html(ao.LegitInterestText),ho("#onetrust-pc-sdk "+To.P_Cnsnt_Header).html(ao.PCenterAllowAllConsentText),so.legIntSettings.PAllowLI&&!so.legIntSettings.PShowLegIntBtn&&ho("#onetrust-pc-sdk .ot-sel-all-hdr .ot-li-hdr").html(ao.PCenterLegitInterestText),so.legIntSettings.PAllowLI&&!so.legIntSettings.PShowLegIntBtn||$t(ho("#ot-sel-blk span:first-child").el[0],"max-width: 100%;",!0))},$n.prototype.hideOrShowVendorList=function(e){0===e.length?ho("#ot-lst-cnt .ot-acc-cntr").hide():ho("#ot-lst-cnt .ot-acc-cntr").show(),co.showTrackingTech&&Xn.removeTrackingTechAccorions()},$n.prototype.updateVendorsDOMToggleStatus=function(e,t){void 0===t&&(t=!1);for(var o=ho(To.P_Vendor_Container+" "+To.P_Tgl_Cntr).el,n=ao.VendorConsentModel===ln,r=0;r<o.length;r++){var i=o[r].querySelector("."+To.P_Ven_Ctgl+" input"),s=o[r].querySelector("."+To.P_Ven_Ltgl+" input");t?(i&&to.setCheckedAttribute("",i,n),s&&to.setCheckedAttribute("",s,!0)):(i&&to.setCheckedAttribute("",i,e),s&&to.setCheckedAttribute("",s,e))}var a=ho("#onetrust-pc-sdk #select-all-vendor-leg-handler").el[0];if(a){a.parentElement.classList.remove("line-through");var l=!!t||e;to.setCheckedAttribute("",a,l)}var c=ho("#onetrust-pc-sdk #select-all-vendor-groups-handler").el[0];c&&(c.parentElement.classList.remove("line-through"),l=t?n:e,to.setCheckedAttribute("",c,l)),ao.UseGoogleVendors&&(t?this.updateGoogleCheckbox(n):this.updateGoogleCheckbox(e)),co.showGeneralVendors&&ao.GenVenOptOut&&this.updateGenVenCheckbox(e)},$n.prototype.updateGenVenCheckbox=function(e){for(var t=ho(To.P_Gven_List+" .ot-ven-gvctgl input").el,o=0;o<t.length;o++)to.setCheckedAttribute("",t[o],e);var n=ho("#onetrust-pc-sdk #ot-selall-gnven-handler").el[0];n&&(n.parentElement.classList.remove("line-through"),to.setCheckedAttribute("",n,e))},$n.prototype.updateGoogleCheckbox=function(e){for(var t=ho("#ot-addtl-venlst .ot-tgl-cntr input").el,o=0;o<t.length;o++)to.setCheckedAttribute("",t[o],e);var n=ho("#onetrust-pc-sdk #ot-selall-adtlven-handler").el[0];n&&(n.parentElement.classList.remove("line-through"),to.setCheckedAttribute("",n,e))},$n.prototype.updateVendorDisclosure=function(e,t){var o=ho(To.P_Vendor_Container+" #IAB"+e).el[0].parentElement;if(t&&t.disclosures){var r=o.querySelector(To.P_Ven_Dets),i=o.querySelector(To.P_Ven_Disc).cloneNode(!0),n=i.cloneNode(!0);n.innerHTML="<p><b>"+ao.PCenterVendorListDisclosure+": </b></p>",r.insertAdjacentElement("beforeend",n),t.disclosures.forEach(function(e){var t=i.cloneNode(!0),o="<p>"+ao.PCenterVendorListStorageIdentifier+" </p> <p>"+(e.name||e.identifier)+" </p>";if(e.type&&(o+="<p>"+ao.PCenterVendorListStorageType+" </p> <p>"+e.type+" </p>"),e.maxAgeSeconds){var n=to.calculateCookieLifespan(e.maxAgeSeconds);o+="<p>"+ao.PCenterVendorListLifespan+" </p> <p>"+n+" </p>"}e.domain&&(o+="<p>"+ao.PCenterVendorListStorageDomain+" </p> <p>"+e.domain+" </p>"),e.purposes&&(o+="<p>"+ao.PCenterVendorListStoragePurposes+' </p><div class="disc-pur-cont">',e.purposes.forEach(function(e){var t=so.iabGroups.purposes[e].name;t&&(o+=' <p class="disc-pur">'+t+" </p>")}),o+="</div>"),t.innerHTML=o,r.insertAdjacentElement("beforeend",t)}),this.updateDomainsUsageInDisclosures(t,i,r)}},$n.prototype.updateDomainsUsageInDisclosures=function(e,n,r){if(e.domains&&e.domains.length){var t=n.cloneNode(!0);t.innerHTML="<p><b>"+ao.PCVLSDomainsUsed+": </b></p>",r.insertAdjacentElement("beforeend",t),e.domains.forEach(function(e){var t,o=n.cloneNode(!0);e.domain&&(t="<p>"+ao.PCenterVendorListStorageDomain+" </p> <p>"+e.domain+" </p>"),e.use&&(t+="<p>"+ao.PCVLSUse+" </p> <p>"+e.use+" </p>"),o.innerHTML=t,r.insertAdjacentElement("beforeend",o)})}},$n.prototype.addDescriptionElement=function(e,t){var o=document.createElement("p");o.innerHTML=t||"",e.parentNode.insertBefore(o,e)},$n.prototype.attachVendorsToDOM=function(){var R,q,M=co.vendors.list,U=ao.IabType,j=so.pcName,z=co.vendors.vendorTemplate.cloneNode(!0);co.discVendors={},Qt.isV2Template&&(R=z.querySelector(".ot-ven-pur").cloneNode(!0),q=z.querySelector(To.P_Ven_Disc).cloneNode(!0),ho(z.querySelector(".ot-ven-dets")).html(""));for(var K=document.createDocumentFragment(),e=function(e){var t=z.cloneNode(!0),o=M[e].vendorId,n=M[e].vendorName,r=t.querySelector("."+To.P_Ven_Bx),i=co.vendorsSetting[o],s=t.querySelector(To.P_Ven_Link);to.setHtmlAttributes(r,{id:"IAB"+o,name:"IAB"+o,"aria-controls":"IAB-ACC-TXT"+o,"aria-label":n}),r.nextElementSibling.setAttribute("for","IAB"+o),t.querySelector(To.P_Ven_Name).innerText=n,to.setHtmlAttributes(s,{href:M[e].policyUrl,rel:"noopener",target:"_blank"}),s.innerHTML=ao.PCenterViewPrivacyPolicyText+"&nbsp;<span class='ot-scrn-rdr'>"+n+" "+ao.NewWinTxt+"</span>";var a=Qt.isV2Template?_o.chkboxEl.cloneNode(!0):t.querySelector(".ot-checkbox"),l=a.cloneNode(!0),c=a.cloneNode(!0),d=t.querySelector(To.P_Tgl_Cntr);Qt.isV2Template||a.parentElement.removeChild(a);var p=t.querySelector(To.P_Arrw_Cntr);if(i.consent){c.classList.add(To.P_Ven_Ctgl);var u=-1!==po.inArray(o+":true",co.vendors.selectedVendors),h=c.querySelector("input");if(Qt.isV2Template){h.classList.add("vendor-checkbox-handler");var g=c.querySelector(".ot-label-status");ao.PCShowConsentLabels?g.innerHTML=u?ao.PCActiveText:ao.PCInactiveText:to.removeChild(g)}to.setCheckedAttribute("",h,u),to.setHtmlAttributes(h,{id:To.P_Vendor_CheckBx+"-"+e,vendorid:o,"aria-label":n}),c.querySelector("label").setAttribute("for",To.P_Vendor_CheckBx+"-"+e),c.querySelector(To.P_Label_Txt).textContent=n,j===Et?ao.PCTemplateUpgrade?d.insertAdjacentElement("beforeend",c):ho(d).append(c):d.insertBefore(c,p)}if(i.legInt&&!i.specialPurposesOnly){var C=-1!==po.inArray(o+":true",co.vendors.selectedLegIntVendors);if(so.legIntSettings.PShowLegIntBtn){var y=Eo.generateLegIntButtonElements(C,o,!0);t.querySelector(To.P_Acc_Txt).insertAdjacentHTML("beforeend",y);var f=t.querySelector(".ot-remove-objection-handler");f&&$t(f,f.getAttribute("data-style"))}else h=l.querySelector("input"),Qt.isV2Template&&(h.classList.add("vendor-checkbox-handler"),g=l.querySelector(".ot-label-status"),ao.PCShowConsentLabels?g.innerHTML=C?ao.PCActiveText:ao.PCInactiveText:to.removeChild(g)),l.classList.add(To.P_Ven_Ltgl),h.classList.remove("vendor-checkbox-handler"),h.classList.add("vendor-leg-checkbox-handler"),to.setCheckedAttribute("",h,C),to.setHtmlAttributes(h,{id:To.P_Vendor_LegCheckBx+"-"+e,"leg-vendorid":o,"aria-label":n}),l.querySelector("label").setAttribute("for",To.P_Vendor_LegCheckBx+"-"+e),l.querySelector(To.P_Label_Txt).textContent=n,t.querySelector("."+To.P_Ven_Ctgl)&&(p=t.querySelector("."+To.P_Ven_Ctgl)),j!==Et||d.children.length?d.insertBefore(l,p):ho(d).append(l),i.consent||j!==Et||l.classList.add(To.P_Ven_Ltgl_Only)}Qt.isV2Template&&(d.insertAdjacentElement("beforeend",_o.arrowEl.cloneNode(!0)),ao.PCAccordionStyle!==J.Caret&&t.querySelector(".ot-ven-hdr").insertAdjacentElement("beforebegin",_o.plusMinusEl.cloneNode(!0)));var v=t.querySelector(To.P_Acc_Txt);if(v&&to.setHtmlAttributes(v,{id:"IAB-ACC-TXT"+o,"aria-labelledby":"IAB-ACC-TXT"+o,role:"region"}),M[e].deviceStorageDisclosureUrl&&(to.setHtmlAttributes(r,{"disc-vid":o}),co.discVendors[o]={isFetched:!1,disclosureUrl:M[e].deviceStorageDisclosureUrl}),Qt.isV2Template)W.populateVendorDetailsHtml(t,R,M[e],q);else{var k=t.querySelector(".vendor-option-purpose"),m=t.querySelector(".vendor-consent-group"),b=t.querySelector(".legitimate-interest"),S=t.querySelector(".legitimate-interest-group"),P=t.querySelector(".spl-purpose"),T=t.querySelector(".spl-purpose-grp"),A=t.querySelector(".vendor-feature"),I=t.querySelector(".vendor-feature-group"),L=t.querySelector(".vendor-spl-feature"),_=t.querySelector(".vendor-spl-feature-grp"),E=m.cloneNode(!0),V=S.cloneNode(!0),B=T.cloneNode(!0),w=I.cloneNode(!0),O=_.cloneNode(!0);q=t.querySelector(To.P_Ven_Disc);var x=t.querySelector(To.P_Ven_Dets),G=q.cloneNode(!0);q.parentElement.removeChild(q),W.attachVendorDisclosure(G,M[e]),x.insertAdjacentElement("afterbegin",G),m.parentElement.removeChild(m),i.consent&&(ho(k.querySelector("p")).text(ao.ConsentPurposesText),M[e].purposes.forEach(function(e){ho(E.querySelector(".consent-category")).text(e.purposeName);var t=E.querySelector(".consent-status");t&&E.removeChild(t),b.insertAdjacentHTML("beforebegin",E.outerHTML)})),i.consent||k.parentElement.removeChild(k);var N=V.querySelector(".vendor-opt-out-handler");"IAB2"===ao.IabType&&N.parentElement.removeChild(N),S.parentElement.removeChild(S),i.legInt&&(ho(b.querySelector("p")).text(ao.LegitimateInterestPurposesText),so.legIntSettings.PAllowLI&&"IAB2"===ao.IabType&&M[e].legIntPurposes.forEach(function(e){ho(V.querySelector(".consent-category")).text(e.purposeName),b.insertAdjacentHTML("afterend",V.outerHTML)})),i.legInt||b.parentElement.removeChild(b),T.parentElement.removeChild(T),"IAB2"===U&&M[e].specialPurposes.forEach(function(e){ho(B.querySelector(".consent-category")).text(e.purposeName),P.insertAdjacentHTML("afterend",B.outerHTML)}),0===M[e].specialPurposes.length?P.parentElement.removeChild(P):ho(P.querySelector("p")).text(ao.SpecialPurposesText),I.parentElement.removeChild(I),ho(A.querySelector("p")).text(ao.FeaturesText),M[e].features.forEach(function(e){ho(w.querySelector(".consent-category")).text(e.featureName),A.insertAdjacentHTML("afterend",w.outerHTML)}),0===M[e].features.length&&A.parentElement.removeChild(A),L.parentElement.removeChild(_),"IAB2"===U&&M[e].specialFeatures.forEach(function(e){ho(O.querySelector(".consent-category")).text(e.featureName),L.insertAdjacentHTML("afterend",O.outerHTML)}),0===M[e].specialFeatures.length?L.parentElement.removeChild(L):ho(L.querySelector("p")).text(ao.SpecialFeaturesText);var D=r.parentElement.querySelector(".vendor-purposes p");D.parentElement.removeChild(D)}K.appendChild(t);var H=ho("#onetrust-pc-sdk "+To.P_Sel_All_Vendor_Consent_Handler).el[0];H&&H.setAttribute(W.ARIA_LABEL_ATTRIBUTE,ao.PCenterSelectAllVendorsText+" "+ao.LegitInterestText);var F=ho("#onetrust-pc-sdk "+To.P_Sel_All_Vendor_Leg_Handler).el[0];F&&F.setAttribute(W.ARIA_LABEL_ATTRIBUTE,ao.PCenterSelectAllVendorsText+" "+ao.ConsentText)},W=this,t=0;t<M.length;t++)e(t);document.querySelector("#onetrust-pc-sdk "+To.P_Vendor_Container).append(K)},$n.prototype.populateVendorDetailsHtml=function(e,t,o,n){var r=e.querySelector(".ot-ven-dets"),i=co.vendorsSetting[o.vendorId],s=n.cloneNode(!0);if(this.attachVendorDisclosure(s,o),r.insertAdjacentElement("beforeEnd",s),i.consent){var a=t.cloneNode(!0),l="<h4>"+ao.ConsentPurposesText+"</h4>";l+="<ul>",o.purposes.forEach(function(e){l+="<li><p>"+e.purposeName+"</p></li>"}),l+="</ul>",a.innerHTML=l,r.insertAdjacentElement("beforeEnd",a)}if(i.legInt&&o.legIntPurposes.length){var c=t.cloneNode(!0),d="<h4>"+ao.LegitimateInterestPurposesText+"</h4>";d+="<ul>",o.legIntPurposes.forEach(function(e){d+="<li><p>"+e.purposeName+"</p></li>"}),d+="</ul>",c.innerHTML=d,r.insertAdjacentElement("beforeEnd",c)}if("IAB2"===so.iabType&&o.specialPurposes.length){var p=t.cloneNode(!0),u="<h4>"+ao.SpecialPurposesText+"</h4>";u+="<ul>",o.specialPurposes.forEach(function(e){u+="<li><p>"+e.purposeName+"</p></li>"}),u+="</ul>",p.innerHTML=u,r.insertAdjacentElement("beforeEnd",p)}if(o.features.length){var h=t.cloneNode(!0),g="<h4>"+ao.FeaturesText+"</h4>";g+="<ul>",o.features.forEach(function(e){g+="<li><p>"+e.featureName+"</p></li>"}),g+="</ul>",h.innerHTML=g,r.insertAdjacentElement("beforeEnd",h)}if("IAB2"===so.iabType&&o.specialFeatures.length){var C=t.cloneNode(!0),y="<h4>"+ao.SpecialFeaturesText+"</h4>";y+="<ul>",o.specialFeatures.forEach(function(e){y+="<li><p>"+e.featureName+"</p></li>"}),y+="</ul>",C.innerHTML=y,r.insertAdjacentElement("beforeEnd",C)}},$n.prototype.InitializeVendorList=function(){if(co.vendors.list=co.iabData?co.iabData.vendors:null,co.vendors.vendorTemplate=ho(To.P_Vendor_Container+" li").el[0].cloneNode(!0),ho("#onetrust-pc-sdk "+To.P_Vendor_Container).html(""),!Qt.isV2Template&&so.pcName===Et){var e,t=co.vendors.vendorTemplate.querySelectorAll(To.P_Acc_Header);so.legIntSettings.PAllowLI&&"IAB2"===so.iabType?(e=t[0]).parentElement.removeChild(e):(e=t[1]).parentElement.removeChild(e)}},$n.prototype.cancelVendorFilter=function(){for(var e=ho("#onetrust-pc-sdk .category-filter-handler").el,t=0;t<e.length;t++){var o=e[t].getAttribute("data-purposeid"),n=0<=co.filterByIABCategories.indexOf(o);to.setCheckedAttribute(null,e[t],n)}},$n.prototype.attachVendorDisclosure=function(e,t){var o="<h4>"+ao.PCenterVendorListLifespan+" :</h4><span> "+t.cookieMaxAge+"</span>";t.usesNonCookieAccess&&(o+="<p>"+ao.PCenterVendorListNonCookieUsage+"</p>"),e.innerHTML=o},$n.prototype.updateVendorFilterList=function(){for(var e=ho("#onetrust-pc-sdk .category-filter-handler").el,t=0;t<e.length;t++){var o=e[t].getAttribute("data-purposeid");if(e[t].checked&&co.filterByIABCategories.indexOf(o)<0)co.filterByIABCategories.push(o);else if(!e[t].checked&&-1<co.filterByIABCategories.indexOf(o)){var n=co.filterByIABCategories;co.filterByIABCategories.splice(n.indexOf(o),1)}}return co.filterByIABCategories},$n.prototype.saveVendorStatus=function(){var e=co.vendors,t=co.oneTrustIABConsent;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();var o=co.addtlVendors;o.vendorConsent=Object.keys(o.vendorSelected)},$n.prototype.updateIabVariableReference=function(){var e=co.oneTrustIABConsent,t=co.vendors;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();var o=co.addtlVendors;o.vendorSelected={},o.vendorConsent.forEach(function(e){o.vendorSelected[e]=!0})},$n.prototype.allowAllhandler=function(){an.initializeIABData(!0,!1)},$n.prototype.rejectAllHandler=function(e){void 0===e&&(e=!1),an.initializeIABData(!1,!0,e)},$n.prototype.populateAddtlVendors=function(e){var t=ao.PCAccordionStyle===J.Caret?_o.arrowEl.cloneNode(!0):_o.plusMinusEl.cloneNode(!0),o=document.querySelector("#onetrust-pc-sdk .ot-sel-all-chkbox"),n=o.cloneNode(!0);to.removeChild(n.querySelector("#ot-selall-hostcntr")),to.removeChild(o.querySelector("#ot-selall-vencntr")),to.removeChild(o.querySelector("#ot-selall-licntr"));var r=_o.accordionEl.cloneNode(!0);r.classList.add("ot-iab-acc"),r.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",t.cloneNode(!0)),r.querySelector(".ot-acc-hdr").insertAdjacentHTML("beforeEnd","<div class='ot-vensec-title'>"+ao.PCIABVendorsText+"</div>"),r.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",n),r.querySelector(".ot-acc-txt").insertAdjacentElement("beforeEnd",ho("#ot-ven-lst").el[0]),ho("#ot-lst-cnt .ot-sdk-column").append(r),r.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,ao.PCIABVendorsText),this.iabAccInit=!0;var i=n.cloneNode(!0);to.removeChild(i.querySelector("#ot-selall-licntr")),i.querySelector(".ot-chkbox").id="ot-selall-adtlvencntr",i.querySelector("input").id="ot-selall-adtlven-handler",i.querySelector("label").setAttribute("for","ot-selall-adtlven-handler");var s=_o.accordionEl.cloneNode(!0);s.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",t.cloneNode(!0)),s.querySelector(".ot-acc-hdr").insertAdjacentHTML("beforeEnd","<div class='ot-vensec-title'>"+ao.PCGoogleVendorsText+"</div>"),s.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",i),s.querySelector(".ot-acc-txt").insertAdjacentHTML("beforeEnd","<ul id='ot-addtl-venlst'></ul>"),s.classList.add("ot-adtlv-acc"),s.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,ao.PCGoogleVendorsText);var a=co.vendors.vendorTemplate.cloneNode(!0);for(var l in a.querySelector("button").classList.remove("ot-ven-box"),a.querySelector("button").classList.add("ot-addtl-venbox"),to.removeChild(a.querySelector(".ot-acc-txt")),e)if(e[l]){var c=a.cloneNode(!0),d=e[l].name;c.querySelector(To.P_Ven_Name).innerText=d;var p=c.querySelector("button");to.setHtmlAttributes(p,{id:"Adtl-IAB"+l}),to.setHtmlAttributes(c.querySelector(To.P_Ven_Link),{href:e[l].policyUrl,rel:"noopener",target:"_blank"}),c.querySelector(To.P_Ven_Link).innerHTML=ao.PCenterViewPrivacyPolicyText+"&nbsp;<span class='ot-scrn-rdr'>"+d+" "+ao.NewWinTxt+"</span>";var u=_o.chkboxEl.cloneNode(!0);u.classList.remove("ot-ven-ctgl"),u.classList.add("ot-ven-adtlctgl");var h=Boolean(co.addtlVendors.vendorSelected[l]),g=u.querySelector("input");g.classList.add("ot-addtlven-chkbox-handler");var C=u.querySelector(".ot-label-status");ao.PCShowConsentLabels?C.innerHTML=h?ao.PCActiveText:ao.PCInactiveText:to.removeChild(C),to.setCheckedAttribute("",g,h),to.setHtmlAttributes(g,{id:"ot-addtlven-chkbox-"+l,"addtl-vid":l,"aria-label":d}),u.querySelector("label").setAttribute("for","ot-addtlven-chkbox-"+l),u.querySelector(To.P_Label_Txt).textContent=d;var y=c.querySelector(To.P_Tgl_Cntr);ho(y).append(u),y.insertAdjacentElement("beforeend",_o.arrowEl.cloneNode(!0)),ao.PCAccordionStyle!==J.Caret&&c.querySelector(".ot-ven-hdr").insertAdjacentElement("beforebegin",_o.plusMinusEl.cloneNode(!0)),ho(s.querySelector("#ot-addtl-venlst")).append(c)}ho("#ot-lst-cnt .ot-sdk-column").append(s),ho("#onetrust-pc-sdk").on("click","#ot-pc-lst .ot-acc-cntr > input",function(e){to.setCheckedAttribute(null,e.target,e.target.checked)}),this.showConsentHeader()},$n.prototype.populateGeneralVendors=function(){var u=this,e=ao.GeneralVendors,t=document.querySelector(".ot-gv-acc"),h=!!t;if(!e.length)return this.hasGenVendors=!1,void(t&&ho(t).hide());this.hasGenVendors=!0,t&&ho(t).show();var o=ao.PCAccordionStyle===J.Caret?_o.arrowEl.cloneNode(!0):_o.plusMinusEl.cloneNode(!0);this.iabAccInit||this.addIabAccordion();var n=document.createElement("div");n.setAttribute("class","ot-sel-all-chkbox");var r=_o.chkboxEl.cloneNode(!0);r.id="ot-selall-gnvencntr",r.querySelector("input").id="ot-selall-gnven-handler",r.querySelector("label").setAttribute("for","ot-selall-gnven-handler"),ho(n).append(r);var g=_o.accordionEl.cloneNode(!0);g.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",o.cloneNode(!0)),g.querySelector(".ot-acc-hdr").insertAdjacentHTML("beforeEnd","<div class='ot-vensec-title'>"+ao.PCenterGeneralVendorsText+"</div>"),ao.GenVenOptOut&&g.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",n),g.querySelector(".ot-acc-txt").insertAdjacentHTML("beforeEnd","<ul id='ot-gn-venlst'></ul>"),g.classList.add("ot-gv-acc"),g.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,ao.PCenterGeneralVendorsText);var C=co.vendors.vendorTemplate.cloneNode(!0);C.querySelector("button").classList.remove("ot-ven-box"),C.querySelector("button").classList.add("ot-gv-venbox"),ho(C.querySelector(".ot-acc-txt")).html('<ul class="ot-host-opt"></ul>'),h&&ho(""+To.P_Gven_List).html("");var y=!0;e.forEach(function(e){var o=u.mapGenVendorToHostFormat(e),n=C.cloneNode(!0),t=e.VendorCustomId,r=e.Name,i=n.querySelector(To.P_Ven_Link);n.querySelector(To.P_Ven_Name).innerText=r;var s=n.querySelector("button");if(to.setHtmlAttributes(s,{id:"Gn-"+t}),e.PrivacyPolicyUrl?(to.setHtmlAttributes(i,{href:e.PrivacyPolicyUrl,rel:"noopener",target:"_blank"}),i.innerHTML=ao.PCGVenPolicyTxt+"&nbsp;<span class='ot-scrn-rdr'>"+r+" "+ao.NewWinTxt+"</span>"):i.classList.add("ot-hide"),u.addDescriptionElement(i,e.Description),ao.GenVenOptOut){var a=_o.chkboxEl.cloneNode(!0);a.classList.remove("ot-ven-ctgl"),a.classList.add("ot-ven-gvctgl");var l=Boolean(co.genVendorsConsent[t]),c=a.querySelector("input");c.classList.add("ot-gnven-chkbox-handler");var d=a.querySelector(".ot-label-status");ao.PCShowConsentLabels?d.innerHTML=l?ao.PCActiveText:ao.PCInactiveText:to.removeChild(d),to.setCheckedAttribute("",c,l),to.setHtmlAttributes(c,{id:"ot-gnven-chkbox-"+t,"gn-vid":t,"aria-label":r}),Wo.isGenVenPartOfAlwaysActiveGroup(t)?to.setDisabledAttribute(null,c,!0):y=!1,a.querySelector("label").setAttribute("for","ot-gnven-chkbox-"+t),a.querySelector(To.P_Label_Txt).textContent=r;var p=n.querySelector(To.P_Tgl_Cntr);ho(p).append(a),p.insertAdjacentElement("beforeend",_o.arrowEl.cloneNode(!0))}ao.PCAccordionStyle!==J.Caret&&n.querySelector(".ot-ven-hdr").insertAdjacentElement("beforebegin",_o.plusMinusEl.cloneNode(!0)),e.Cookies.length||ho(n).addClass("ot-hide-acc"),e.Cookies.forEach(function(e){var t=u.getCookieElement(e,o);ho(n.querySelector(".ot-host-opt")).append(t)}),h?ho(""+To.P_Gven_List).append(n):ho(g.querySelector(""+To.P_Gven_List)).append(n)}),h||ho("#ot-lst-cnt .ot-sdk-column").append(g),ho("#onetrust-pc-sdk").on("click","#ot-pc-lst .ot-acc-cntr > input",function(e){to.setCheckedAttribute(null,e.target,e.target.checked)}),this.showConsentHeader(),y&&to.setDisabledAttribute("#ot-selall-gnven-handler",null,!0)},$n.prototype.addIabAccordion=function(){var e=ao.PCAccordionStyle===J.Caret?_o.arrowEl.cloneNode(!0):_o.plusMinusEl.cloneNode(!0),t=document.querySelector("#onetrust-pc-sdk .ot-sel-all-chkbox"),o=t.cloneNode(!0);to.removeChild(o.querySelector("#ot-selall-hostcntr")),to.removeChild(t.querySelector("#ot-selall-vencntr")),to.removeChild(t.querySelector("#ot-selall-licntr"));var n=_o.accordionEl.cloneNode(!0);n.classList.add("ot-iab-acc"),n.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",e.cloneNode(!0)),n.querySelector(".ot-acc-hdr").insertAdjacentHTML("beforeEnd","<div class='ot-vensec-title'>"+ao.PCIABVendorsText+"</div>"),n.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",o),n.querySelector(".ot-acc-txt").insertAdjacentElement("beforeEnd",ho("#ot-ven-lst").el[0]),ho("#ot-lst-cnt .ot-sdk-column").append(n),n.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,ao.PCIABVendorsText),this.iabAccInit=!0},$n.prototype.showConsentHeader=function(){var e=so.legIntSettings;ho("#onetrust-pc-sdk .ot-sel-all-hdr").show(),e.PAllowLI&&!e.PShowLegIntBtn||ho("#onetrust-pc-sdk .ot-li-hdr").hide()},$n.prototype.setBackBtnTxt=function(){Qt.isV2Template?(ho(To.P_Vendor_List+" .back-btn-handler").attr(this.ARIA_LABEL_ATTRIBUTE,ao.PCenterBackText),ho(To.P_Vendor_List+" .back-btn-handler title").html(ao.PCenterBackText)):ho(To.P_Vendor_List+" .back-btn-handler .pc-back-button-text").html(ao.PCenterBackText)},$n.prototype.getCookieElement=function(e,t){var o=co.hosts.hostCookieTemplate.cloneNode(!0),n=o.querySelector("div").cloneNode(!0);n.classList.remove("cookie-name-container"),ho(o).html("");var r=e.Name;ao.AddLinksToCookiepedia&&t.isFirstParty&&(r=bo.getCookieLabel(e,ao.AddLinksToCookiepedia));var i=n.cloneNode(!0);if(i.classList.add(To.P_c_Name),i.querySelector("div:nth-child(1)").innerHTML=ao.pcCListName,i.querySelector("div:nth-child(2)").innerHTML=r,ho(o).append(i),ao.pcShowCookieHost){var s=n.cloneNode(!0);s.classList.add(To.P_c_Host),s.querySelector("div:nth-child(1)").innerHTML=ao.pcCListHost,s.querySelector("div:nth-child(2)").innerHTML=e.Host,ho(o).append(s)}if(ao.pcShowCookieDuration){var a=n.cloneNode(!0);a.classList.add(To.P_c_Duration),a.querySelector("div:nth-child(1)").innerHTML=ao.pcCListDuration,a.querySelector("div:nth-child(2)").innerHTML=e.IsSession?ao.LifespanTypeText:bo.getDuration(e),ho(o).append(a)}if(ao.pcShowCookieType){var l=t.Type===Q.GenVendor?!e.isThirdParty:t.isFirstParty,c=n.cloneNode(!0);c.classList.add(To.P_c_Type),c.querySelector("div:nth-child(1)").innerHTML=ao.pcCListType,c.querySelector("div:nth-child(2)").innerHTML=l?ao.firstPartyTxt:ao.thirdPartyTxt,ho(o).append(c)}if(ao.pcShowCookieCategory){var d=void 0;if(d=t.Type===Q.GenVendor?e.category:t.isFirstParty?e.groupName:t.groupName){var p=n.cloneNode(!0);p.classList.add(To.P_c_Category),p.querySelector("div:nth-child(1)").innerHTML=ao.pcCListCategory,p.querySelector("div:nth-child(2)").innerHTML=d,ho(o).append(p)}}if(ao.pcShowCookieDescription&&e.description){var u=n.cloneNode(!0);u.classList.add(To.P_c_Desc),u.querySelector("div:nth-child(1)").innerHTML=ao.pcCListDescription,u.querySelector("div:nth-child(2)").innerHTML=e.description,ho(o).append(u)}return o},$n.prototype.getNoResultsFound=function(e){return" "+(co.showTrackingTech?ao.PCTechNotFound:e?ao.PCHostNotFound:ao.PCVendorNotFound)+"."},$n.prototype.getAdditionalTechnologiesHtml=function(e){var t=document.createDocumentFragment(),o=ao.AdditionalTechnologiesConfig,n=0<e.Cookies.length;if(n&&e.Cookies[0].HostId===this.FIRST_PARTY_COOKIES_GROUP_NAME&&(n=0<e.Cookies[0].Cookies.length),n){var r=Xn.getMainAccordionContainer(o.PCCookiesLabel,o.PCCookiesLabel,!1);r.classList.add(this.TECH_COOKIES_SELECTOR),t.appendChild(r)}if(0<e.LocalStorages.length){var i=Xn.getMainAccordionContainer(o.PCLocalStorageLabel,o.PCLocalStorageLabel);i.classList.add("tech-local"),Xn.setSessionLocalStorageTemplate(i,e.LocalStorages,ao.AdditionalTechnologiesConfig.PCLocalStorageDurationText),t.appendChild(i)}if(0<e.SessionStorages.length){var s=Xn.getMainAccordionContainer(o.PCSessionStorageLabel,o.PCSessionStorageDurationText);s.classList.add("tech-session"),Xn.setSessionLocalStorageTemplate(s,e.SessionStorages,ao.AdditionalTechnologiesConfig.PCSessionStorageDurationText),t.appendChild(s)}return t},$n.prototype.getMainAccordionContainer=function(e,t,o){void 0===o&&(o=!0);var n=Xn.getAccordionStyleElement(),r=_o.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)},$n.prototype.setSessionLocalStorageTemplate=function(e,t,o){var n=co.hosts.hostTemplate.cloneNode(!0);to.removeChild(n.querySelector(".ot-a scc-txt"));var r=e.querySelector(".ot-acc-txt "+To.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],l=Xn.getSessionLocalStorageElement(a,o);r.append(l)}},$n.prototype.getSessionLocalStorageElement=function(e,t){var o=co.hosts.hostCookieTemplate.cloneNode(!0),n=o.querySelector("div").cloneNode(!0);ho(o).html("");var r=Xn.createKeyValueDivEle(n,To.P_c_Name,ao.pcCListName,e.Name);ho(o).append(r);var i=Xn.createKeyValueDivEle(n,To.P_c_Host,ao.pcCListHost,e.Host);ho(o).append(i);var s=Xn.createKeyValueDivEle(n,To.P_c_Duration,ao.pcCListDuration,t);ho(o).append(s);var a=Xn.createKeyValueDivEle(n,To.P_c_Desc,ao.pcCListDescription,e.description);return ho(o).append(a),o},$n.prototype.createKeyValueDivEle=function(e,t,o,n){var r=e.cloneNode(!0);return r.classList.add(t),r.querySelector("div:nth-child(1)").innerHTML=o,r.querySelector("div:nth-child(2)").innerHTML=n,r},$n.prototype.getAdditionalTechnologiesDataFromGroup=function(e){for(var t,o,n,r,i,s=[],a={SessionStorages:[],LocalStorages:[],Cookies:[]},l=0,c=Xn.getGroupsFromFilter(e);l<c.length;l++){var d=c[l],p=Wn.getCookiesForGroup(d);s=b(s,null!=(t=p.firstPartyCookiesList)?t:[]),a.Cookies=b(a.Cookies,p.thirdPartyCookiesList),a.LocalStorages=b(a.LocalStorages,null!=(n=null===(o=d.TrackingTech)||void 0===o?void 0:o.LocalStorages)?n:[]),a.SessionStorages=b(a.SessionStorages,null!=(i=null===(r=d.TrackingTech)||void 0===r?void 0:r.SessionStorages)?i:[])}return s.length&&a.Cookies.unshift({HostName:ao.PCFirstPartyCookieListText,DisplayName:ao.PCFirstPartyCookieListText,HostId:this.FIRST_PARTY_COOKIES_GROUP_NAME,isFirstParty:!0,Cookies:s,Description:""}),a},$n.prototype.getFirstsAndThirdCookisFromGroups=function(e){var o=[],n=[];return Xn.getGroupsFromFilter(e).forEach(function(e){var t=Wn.getCookiesForGroup(e);o=b(o,t.firstPartyCookiesList),n=b(n,t.thirdPartyCookiesList)}),{firstPartyCookiesList:o,thirdPartyCookiesList:n}},$n.prototype.getGroupsFromFilter=function(t){var o=[];return ao.Groups.forEach(function(e){b(e.SubGroups,[e]).forEach(function(e){t&&t.length?-1!==t.indexOf(e.CustomGroupId)&&o.push(e):o.push(e)})}),o},$n.prototype.getAccordionStyleElement=function(){return ao.PCAccordionStyle===J.Caret?_o.arrowEl.cloneNode(!0):_o.plusMinusEl.cloneNode(!0)},$n.prototype.getFilteredAdditionaTechtData=function(e,t){var o,n,r,i,s,a={SessionStorages:[],LocalStorages:[],Cookies:[]},l=this.getSearchQuery(e),c=JSON.parse(JSON.stringify(t));return c.Cookies[0].HostId===this.FIRST_PARTY_COOKIES_GROUP_NAME&&((s=c.Cookies.shift()).Cookies=null===(o=s.Cookies)||void 0===o?void 0:o.filter(function(e){return l.lastIndex=0,l.test(e.Name||e.Host)})),a.Cookies=null===(n=c.Cookies)||void 0===n?void 0:n.filter(function(e){return l.lastIndex=0,l.test(e.DisplayName||e.HostName)}),s&&0<s.Cookies.length&&a.Cookies.unshift(s),a.LocalStorages=null===(r=c.LocalStorages)||void 0===r?void 0:r.filter(function(e){return l.lastIndex=0,l.test(e.Name||e.Host)}),a.SessionStorages=null===(i=c.SessionStorages)||void 0===i?void 0:i.filter(function(e){return l.lastIndex=0,l.test(e.Name||e.Host)}),a},$n);function $n(){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.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 Zn(){return"IAB2"!==ao.IabType&&ao.PCTemplateUpgrade&&ao.PCCategoryStyle===ce.Toggle?_o.toggleEl.cloneNode(!0):_o.chkboxEl.cloneNode(!0)}var er,tr=(or.prototype.setHtmlTemplate=function(e){er.setInternalData(),er.rootHtml=e,er.cloneHtmlElements()},or.prototype.getVendorListEle=function(e){var t=document.createDocumentFragment(),r=document.createElement("div");r.classList.add("ot-vs-list");var i=ao.VendorServiceConfig.PCVSExpandGroup;return e.forEach(function(e,t){var o="ot-vs-lst-id-"+t,n=er.createVendor(e.groupRef,e,i,o);r.appendChild(n)}),t.appendChild(r),t},or.prototype.insertVendorServiceHtml=function(e,t){if(!er.checkIfIsInvalid(e,t)){var o=document.createDocumentFragment();if(er.setVendorContainer(o,e),er.setVendorList(o,e),e.SubGroups&&0<e.SubGroups.length){o.querySelector(this.MAIN_CONT_ELE).classList.add("ot-vnd-subgrp-cnt");var n=t.children[1];so.pcName===Et&&(n=t.children[2]),t.insertBefore(o,n)}else t.appendChild(o)}},or.prototype.toggleVendorService=function(e,t,o,n){var r=Bo.getGroupById(e),i=Bo.getVSById(t);n=n||er.getVendorInputElement(i.CustomVendorServiceId),er.setVendorServiceState(n,i,o),o?er.changeGroupState(r,o,er.isToggle):er.checkGroupChildrenState(r)||er.changeGroupState(r,!1,er.isToggle)},or.prototype.setVendorStateByGroup=function(e,t){var o=e.VendorServices;if(co.showVendorService&&o)for(var n=0,r=o;n<r.length;n++){var i=r[n],s=er.getVendorInputElement(i.CustomVendorServiceId);er.setVendorServiceState(s,i,t)}},or.prototype.resetVendorUIState=function(e){e.forEach(function(e,t){var o=er.getVendorInputElement(t);er.changeVendorServiceUIState(o,e)})},or.prototype.setVendorServiceState=function(e,t,o){er.changeVendorServiceState(t,o),er.changeVendorServiceUIState(e,o);var n=o?xn:Gn;nn.triggerGoogleAnalyticsEvent(cn,n,t.ServiceName+": "+t.CustomVendorServiceId)},or.prototype.removeVSUITemplate=function(e){var t=e.querySelector(this.MAIN_CONT_ELE);t&&e.removeChild(t)},or.prototype.consentAll=function(o){co.getVendorsInDomain().forEach(function(e){var t=o;o||(t=Bo.isAlwaysActiveGroup(e.groupRef)),er.toggleVendorService(e.groupRef.CustomGroupId,e.CustomVendorServiceId,t||o)})},or.prototype.cloneHtmlElements=function(){var e=er.rootHtml.querySelector(this.MAIN_CONT_ELE);if(e){var t=e.querySelector(".ot-vnd-serv-hdr-cntr"),o=e.querySelector(".ot-vnd-lst-cont"),n=o.querySelector(".ot-vnd-item"),r=n.querySelector(".ot-vnd-info");er.vendorLabelContainerClone=t.cloneNode(!0),e.removeChild(t),er.vendorInfoClone=r.cloneNode(!0),n.querySelector(".ot-vnd-info-cntr").removeChild(r),er.vendorItemClone=n.cloneNode(!0),o.removeChild(n),er.vendorListContainerClone=o.cloneNode(!0),e.removeChild(o),er.vendorServMainContainerClone=e.cloneNode(!0),er.rootHtml.removeChild(e)}},or.prototype.setInternalData=function(){er.isToggle=ao.PCCategoryStyle===ce.Toggle;var e=ao.VendorServiceConfig;er.stringTranslation=new Map,er.stringTranslation.set("ServiceName",e.PCVSNameText||"ServiceName"),er.stringTranslation.set("ParentCompany",e.PCVSParentCompanyText||"ParentCompany"),er.stringTranslation.set("Address",e.PCVSAddressText||"Address"),er.stringTranslation.set("DefaultCategoryName",e.PCVSDefaultCategoryText||"DefaultCategoryName"),er.stringTranslation.set("Description",e.PCVSDefaultDescriptionText||"Description"),er.stringTranslation.set("DPOEmail",e.PCVSDPOEmailText||"DPOEmail"),er.stringTranslation.set("DPOLink",e.PCVSDPOLinkText||"DPOLink"),er.stringTranslation.set("PrivacyPolicyLink",e.PCVSPrivacyPolicyLinkText||"PrivacyPolicyLink"),er.stringTranslation.set("CookiePolicyLink",e.PCVSCookiePolicyLinkText||"CookiePolicyLink"),er.stringTranslation.set("OptOutLink",e.PCVSOptOutLinkText||"OptOutLink"),er.stringTranslation.set("LegalBasis",e.PCVSLegalBasisText||"LegalBasis")},or.prototype.setVendorContainer=function(e,t){var o=er.vendorServMainContainerClone.cloneNode(!0);o.setAttribute("data-group-id",t.CustomGroupId);var n=er.vendorLabelContainerClone.cloneNode(!0);n.querySelector(".ot-vnd-serv-hdr").innerHTML=ao.VendorServiceConfig.PCVSListTitle,o.appendChild(n),e.appendChild(o)},or.prototype.setVendorList=function(e,t){for(var o=0,n=er.getVSFromGroupAndSubgroups(t),r=n.length,i=e.querySelector(this.MAIN_CONT_ELE),s=er.vendorListContainerClone.cloneNode(),a=ao.VendorServiceConfig.PCVSExpandCategory;o<r;o++){var l=er.createVendor(t,n[o],a);s.appendChild(l)}i.appendChild(s)},or.prototype.getVSFromGroupAndSubgroups=function(e,t){var o,n,r;void 0===t&&(t=!1);var i=null!=(o=e.VendorServices)?o:[];if(t)for(var s=0,a=null!=(n=e.SubGroups)?n:[];s<a.length;s++){var l=null!=(r=a[s].VendorServices)?r:[];i.push.apply(i,l)}return i},or.prototype.createVendor=function(e,t,o,n){var r=er.vendorItemClone.cloneNode(!0);if(r.setAttribute("data-vnd-id",t.CustomVendorServiceId),ao.PCAccordionStyle===J.NoAccordion){r.classList.remove("ot-accordion-layout");var i=r.querySelector("button");i&&r.removeChild(i)}else er.setExpandVendorList(r,o);er.setVendorHeader(e,t,r,n);var s=r.querySelector(".ot-vnd-info-cntr");return er.setVendorInfo(s,t),r},or.prototype.setExpandVendorList=function(e,t){e.querySelector("button").setAttribute("aria-expanded",""+t)},or.prototype.setVendorHeader=function(e,t,o,n){var r=ao.PCShowAlwaysActiveToggle,i="always active"===Bo.getGrpStatus(e).toLowerCase(),s=o.querySelector(".ot-acc-hdr");i&&s.classList.add("ot-always-active-group");var a=null;i&&ao.PCCategoryStyle===ce.Toggle||(a=er.setHeaderInputStyle(e,t,i,n));var l=er.setHeaderText(t,s);s.appendChild(l);var c=er.getPositionForElement(ao.PCAccordionStyle,er.isToggle),d=c.positionIcon,p=c.positionInput;if(a&&s.insertAdjacentElement(p,a),i&&r){var u=er.getAlwaysActiveElement();s.insertAdjacentElement("beforeend",u)}if(ao.PCAccordionStyle!==J.NoAccordion){var h=er.setHeaderAccordionIcon();s.insertAdjacentElement(d,h)}},or.prototype.getPositionForElement=function(e,t){var o="beforeend",n="beforeend";return t&&e===J.PlusMinus&&(o="afterbegin"),t||(n="afterbegin"),{positionIcon:o,positionInput:n}},or.prototype.setHeaderAccordionIcon=function(){return ao.PCAccordionStyle===J.Caret?_o.arrowEl.cloneNode(!0):_o.plusMinusEl.cloneNode(!0)},or.prototype.setHeaderText=function(e,t){var o=t.querySelector(".ot-cat-header"),n=o.cloneNode();return t.removeChild(o),n.innerText=e.ServiceName,n},or.prototype.setHeaderInputStyle=function(e,t,o,n){if(!ao.VendorServiceConfig.PCVSOptOut)return null;var r=Bo.checkIsActiveByDefault(e),i=!1,s=co.vsConsent;i=s.has(t.CustomVendorServiceId)?s.get(t.CustomVendorServiceId):r;var a=Zn();a.querySelector("input").classList.add("category-switch-handler");var l=a.querySelector("input"),c=t.CustomVendorServiceId,d=null!=n?n:"ot-vendor-id-"+c,p="ot-vendor-header-id-"+c;ho(l).attr("id",d),ho(l).attr("name",d),ho(l).attr("aria-labelledby",p),ho(l).data("ot-vs-id",c),ho(l).data("optanongroupid",t.groupRef.CustomGroupId),l.disabled=o,to.setCheckedAttribute(null,l,i);var u=er.isToggle?d:p;return ho(a.querySelector("label")).attr("for",u),ho(a.querySelector(".ot-label-txt")).html(t.ServiceName),a},or.prototype.getAlwaysActiveElement=function(){var e=document.createElement("div");return e.classList.add("ot-always-active"),e.innerText=ao.AlwaysActiveText,e},or.prototype.setVendorInfo=function(e,t){var o,n=["DPOLink","PrivacyPolicyLink","CookiePolicyLink","OptOutLink"];for(o in t)if(!er.skipVendorInfoKey(o,t)){var r=t[o],i=er.vendorInfoClone.cloneNode(!0);i.dataset.vndInfoKey=o+"-"+t.CustomVendorServiceId;var s=i.querySelector(".ot-vnd-lbl"),a=i.querySelector(".ot-vnd-cnt");if(s.innerHTML=er.getLocalizedString(o),n.includes(o)){a.remove();var l=document.createElement("a");ho(l).attr("href",r),ho(l).attr("target","_blank"),ho(l).attr("rel","noopener"),ho(l).attr("aria-label",r+" "+ao.NewWinTxt),l.classList.add("ot-vnd-cnt"),l.innerText=r,s.insertAdjacentElement("afterend",l)}else a.innerHTML=r;e.appendChild(i)}},or.prototype.skipVendorInfoKey=function(e,t){return"VendorServiceId"===e||"DefaultCategoryId"===e||"ServiceName"===e||"groupRef"===e||"CustomVendorServiceId"===e||"PurposeId"===e||!t[e]},or.prototype.getLocalizedString=function(e){return er.stringTranslation.has(e)?er.stringTranslation.get(e):"DEFAULT"},or.prototype.checkGroupChildrenState=function(e){for(var t,o,n=0,r=null!=(t=e.SubGroups)?t:[];n<r.length;n++){var i=r[n];if(er.checkGroupChildrenState(i))return!0}for(var s=0,a=null!=(o=e.VendorServices)?o:[];s<a.length;s++){var l=a[s];if(co.vsConsent.get(l.CustomVendorServiceId))return!0}return!1},or.prototype.changeVendorServiceState=function(e,t){co.vsConsent.set(e.CustomVendorServiceId,t)},or.prototype.changeVendorServiceUIState=function(e,t){e&&(to.setCheckedAttribute(null,e,t),er.isToggle&&e.parentElement.querySelector(".ot-switch-nob").setAttribute("aria-checked",""+t))},or.prototype.changeGroupState=function(e,t,o){var n=Bo.getParentByGrp(e);if(jn.toggleGrpStatus(e,t),er.updateGroupUIState(e.CustomGroupId,t,o,null!==n),n){var r=er.checkGroupChildrenState(n);er.changeGroupState(n,r,o)}},or.prototype.updateGroupUIState=function(e,t,o,n){void 0===n&&(n=!1);var r=n?"#ot-sub-group-id-":"#ot-group-id-",i=document.querySelector(r+e);i&&(to.setCheckedAttribute(null,i,t),o&&i.parentElement.querySelector(".ot-switch-nob").setAttribute("aria-checked",""+t))},or.prototype.getVendorInputElement=function(e){return document.getElementById("ot-vendor-id-"+e)},or.prototype.checkIfIsInvalid=function(e,t){return!e||!e.VendorServices||!t||e.VendorServices.length<=0},or);function or(){this.MAIN_CONT_ELE=".ot-vnd-serv"}var nr,rr="#onetrust-banner-sdk",ir=".banner_logo",sr="#onetrust-pc-sdk",ar=(lr.prototype.insertPcHtml=function(){nr.jsonAddAboutCookies(ao);var t=document.createDocumentFragment();if(an.preferenceCenterGroup){var e=document.createElement("div");ho(e).html(an.preferenceCenterGroup.html);var o=e.querySelector("#onetrust-pc-sdk");nr.addClassesPerConfig(o),ho(t).append(o);var n=function(e){return t.querySelector(e)},r=function(e){return t.querySelectorAll(e)};nr.manageCloseButtons(o,r,n),ao.Language&&ao.Language.Culture&&ho(n("#onetrust-pc-sdk")).attr("lang",ao.Language.Culture),nr.addLogos(n,r),ho(n(To.P_Title)).html(ao.MainText),ao.PCCloseButtonType===he.Link&&ao.PCTemplateUpgrade&&so.pcName===Et&&ho(n(To.P_Title)).addClass("ot-pc-title-shrink"),ao.PCTemplateUpgrade&&ho(n(sr+' > div[role="alertdialog"]')).css("height: 100%;"),ho(n(sr+' > div[role="alertdialog"]')).attr(this._ariaLabel,ao.MainText),ao.PCRegionAriaLabel&&(ho(n("#onetrust-pc-sdk")).attr(this._ariaLabel,ao.PCRegionAriaLabel),ho(n("#onetrust-pc-sdk")).attr("role","region")),so.pcName===Et&&(ho(n(To.P_Privacy_Txt)).html(ao.AboutCookiesText),ho(n(To.P_Privacy_Hdr)).html(ao.AboutCookiesText)),ho(n(To.P_Policy_Txt)).html(ao.MainInfoText),nr.configureLinkFields(n),nr.configureSubjectDataFields(n),nr.configureButtons(n,r),nr.setManagePreferenceText(n),nr.initializePreferenceCenterGroups(n,t),nr.removeListsWhenAppropriate(n),ao.PCTemplateUpgrade&&nr.setOptOutSignalNotification(n)}var i=document.createElement("iframe");i.setAttribute("class","ot-text-resize"),i.setAttribute("title","onetrust-text-resize"),$t(i,"position: absolute; top: -50000px; width: 100em;"),i.setAttribute(this._ariaHidden,"true"),ho(t.querySelector("#onetrust-pc-sdk")).append(i);var s=document.getElementById("onetrust-consent-sdk");ho(s).append(t),so.ignoreInjectingHtmlCss||ho(document.body).append(s),(ao.showCookieList||co.showGeneralVendors)&&Wn.InitializeHostList()},lr.prototype.addClassesPerConfig=function(e){/Chrome|Safari/i.test(navigator.userAgent)&&/Google Inc|Apple Computer/i.test(navigator.vendor)||ho(e).addClass("ot-sdk-not-webkit"),ao.useRTL&&ho(e).attr("dir","rtl"),so.legIntSettings.PAllowLI&&"IAB2"===so.iabType&&(ho(e).addClass("ot-leg-opt-out"),so.legIntSettings.PShowLegIntBtn&&ho(e).addClass("ot-leg-btn")),ao.BannerRelativeFontSizesToggle&&ho(e).addClass("otRelFont"),ao.PCShowConsentLabels&&ho(e).addClass("ot-tgl-with-label"),(ao.UseGoogleVendors||co.showGeneralVendors)&&ho(e).addClass("ot-addtl-vendors"),"right"===ao.PreferenceCenterPosition&&ho(e).addClass(ao.useRTL?"right-rtl":"right")},lr.prototype.manageCloseButtons=function(e,t,o){var n=ho(t(To.P_Close_Btn)).el;if(ao.ShowPreferenceCenterCloseButton){ao.CloseText||(ao.CloseText="Close Preference Center");for(var r=0,i=n;r<i.length;r++){var s=i[r];ao.PCCloseButtonType===he.Link&&ao.PCTemplateUpgrade?(ho(s).html(ao.PCContinueText),ho(e).addClass("ot-close-btn-link"),ho(s).el.removeAttribute(this._ariaLabel)):(ho(s).el.setAttribute(this._ariaLabel,ao.CloseText),bo.setCloseIcon(o("#onetrust-pc-sdk .ot-close-icon")))}}else for(var a=0;a<n.length;a++)ho(n[a].parentElement).el.removeChild(n[a])},lr.prototype.addLogos=function(e,t){var o=e(To.P_Logo);if(o&&ao.optanonLogo){var n=bo.updateCorrectUrl(ao.optanonLogo);bo.checkMobileOfflineRequest(bo.getBannerVersionUrl())&&(n=to.getRelativeURL(n,!0,!0));var r=document.createElement("img");r.setAttribute("alt",ao.PCLogoAria),r.setAttribute("src",n),o.append(r),ao.PCLogoAria&&ho(o).attr(this._ariaLabel,ao.PCLogoAria)}bo.insertFooterLogo(t(".ot-pc-footer-logo a"))},lr.prototype.configureLinkFields=function(e){if(ao.AboutText&&ho(e(To.P_Policy_Txt)).html(ho(e(To.P_Policy_Txt)).html()+'\n <br/><a href="'+ao.AboutLink+'" class="privacy-notice-link" rel="noopener" target="_blank"\n aria-label="'+ao.PCCookiePolicyLinkScreenReader+'">'+ao.AboutText+"</a>"),ao.PCenterImprintLinkText){ao.AboutText||e(To.P_Policy_Txt).insertAdjacentHTML("beforeend","<br/>");var t=document.createElement("a");t.classList.add("ot-link-btn","ot-imprint-handler"),t.textContent=ao.PCenterImprintLinkText,t.setAttribute(this._ariaLabel,ao.PCenterImprintLinkScreenReader),t.setAttribute("href",ao.PCenterImprintLinkUrl),e(To.P_Policy_Txt).appendChild(t)}if(ao.PCenterVendorListLinkText){var o=!ao.IsIabEnabled&&co.showGeneralVendors?"ot-gv-list-handler":"onetrust-vendors-list-handler";e(To.P_Policy_Txt).insertAdjacentHTML("beforeend",'<button class="ot-link-btn '+o+'" aria-label="'+ao.PCenterVendorListLinkAriaLabel+'">\n '+ao.PCenterVendorListLinkText+"\n </button>")}},lr.prototype.configureSubjectDataFields=function(e){if(ao.PCTemplateUpgrade&&ao.PCenterUserIdTitleText&&ao.IsConsentLoggingEnabled){var t=eo.readCookieParam(et.OPTANON_CONSENT,Je);if(e(To.P_Policy_Txt).insertAdjacentHTML("beforeend",'<div class="ot-userid-title"><span>'+ao.PCenterUserIdTitleText+": </span> "+t+"</div>"),ao.PCenterUserIdDescriptionText&&e(To.P_Policy_Txt).insertAdjacentHTML("beforeend",'<div class="ot-userid-desc">'+ao.PCenterUserIdDescriptionText+"</div>"),ao.PCenterUserIdTimestampTitleText){var o=eo.getCookie(et.ALERT_BOX_CLOSED),n=o&&bo.getUTCFormattedDate(o),r=n||ao.PCenterUserIdNotYetConsentedText;e(To.P_Policy_Txt).insertAdjacentHTML("beforeend",'<div class="ot-userid-timestamp"><span>'+ao.PCenterUserIdTimestampTitleText+": </span> "+r+"</div>")}}},lr.prototype.setManagePreferenceText=function(e){var t=e(To.P_Manage_Cookies_Txt),o=ho(t);t&&(o.html(ao.ManagePreferenceText),ao.ManagePreferenceText||o.attr(this._ariaHidden,!0))},lr.prototype.configureButtons=function(e,t){ao.ConfirmText.trim()?ho(e("#accept-recommended-btn-handler")).html(ao.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++)ho(o[n]).html(ao.AllowAllText);var r=t(".ot-pc-refuse-all-handler");if(ao.PCenterShowRejectAllButton&&ao.PCenterRejectAllButtonText.trim())for(n=0;n<r.length;n++)ho(r[n]).html(ao.PCenterRejectAllButtonText);else to.removeChild(r)},lr.prototype.removeListsWhenAppropriate=function(e){if(!ao.IsIabEnabled){var t=e(To.P_Vendor_Container);t&&t.parentElement.removeChild(t)}if(!ao.showCookieList&&!co.showGeneralVendors){var o=e(To.P_Host_Cntr);o&&o.parentElement.removeChild(o)}},lr.prototype.setParentGroupName=function(e,t,o,n){var r=e.querySelector(".category-header,.ot-cat-header,.category-menu-switch-handler>h3");ho(r).html(t),ho(r).attr("id",o),so.pcName===Et&&(e.querySelector(To.P_Category_Header).innerHTML=t,e.querySelector(""+To.P_Desc_Container).setAttribute("id",n),e.querySelector(".category-menu-switch-handler").setAttribute("aria-controls",n))},lr.prototype.setLegIntButton=function(e,t,o,n){void 0===o&&(o=!1);var r=!0;-1<co.vendors.selectedLegInt.indexOf(t.IabGrpId+":false")&&(r=!1);var i=Eo.generateLegIntButtonElements(r,t.OptanonGroupId);o?n.insertAdjacentHTML("afterend",i):e.insertAdjacentHTML("beforeend",i);var s=e.querySelector(".ot-remove-objection-handler");s&&$t(s,s.getAttribute("data-style"))},lr.prototype.setParentGroupDescription=function(e,t,o,n,r){var i=jn.safeFormattedGroupDescription(t),s=e.querySelector("p:not(.ot-always-active)"),a=e.querySelector(To.P_Acc_Grp_Desc),l=s||a;return-1<Xt.indexOf(t.Type)&&o.PCGrpDescType===E.Legal?i=t.DescriptionLegal:l.classList.add("ot-category-desc"),so.legIntSettings.PAllowLI&&!so.legIntSettings.PShowLegIntBtn&&(t.SubGroups.some(function(e){return e.HasLegIntOptOut})||t.HasLegIntOptOut?l.parentElement.classList.add("ot-leg-border-color"):to.removeChild(e.querySelector(To.P_Li_Hdr))),so.pcName!==Et&&l.setAttribute("id",n),ho(l).html(i),t.Type===zt&&to.removeChild(l),l},lr.prototype.cloneOtHtmlEls=function(e){var t=/otPcPanel|otPcCenter/;_o.toggleEl=ho(e(".ot-tgl")).el.cloneNode(!0),_o.arrowEl=ho(e('#onetrust-pc-sdk [role="alertdialog"] > '+To.P_Arrw_Cntr)).el.cloneNode(!0),_o.subGrpEl=ho(e(To.P_Sub_Grp_Cntr)).el.cloneNode(!0),_o.vListEl=ho(e(To.P_Ven_Lst_Cntr)).el.cloneNode(!0),_o.cListEl=ho(e(To.P_Host_Lst_cntr)).el.cloneNode(!0),_o.chkboxEl=ho(e(To.P_CBx_Cntr)).el.cloneNode(!0),_o.accordionEl=ho(e(".ot-acc-cntr")).el.cloneNode(!0),t.test(so.pcName)&&(_o.plusMinusEl=ho(e(".ot-plus-minus")).el.cloneNode(!0)),to.removeChild(e(".ot-tgl")),to.removeChild(e('#onetrust-pc-sdk [role="alertdialog"] > '+To.P_Arrw_Cntr)),to.removeChild(e(To.P_Sub_Grp_Cntr)),to.removeChild(e(To.P_Ven_Lst_Cntr)),to.removeChild(e(To.P_Host_Lst_cntr)),to.removeChild(e(To.P_CBx_Cntr)),to.removeChild(e(".ot-acc-cntr")),t.test(so.pcName)&&to.removeChild(e(".ot-plus-minus"))},lr.prototype.insertSelectAllEls=function(e){var t=e(To.P_Select_Cntr+" .ot-sel-all-chkbox"),o=co.showVendorService?Zn():_o.chkboxEl.cloneNode(!0);o.id=To.P_Sel_All_Host_El,o.querySelector("input").id="select-all-hosts-groups-handler",o.querySelector("label").setAttribute("for","select-all-hosts-groups-handler"),ho(t).append(o);var n=co.showVendorService?Zn():_o.chkboxEl.cloneNode(!0);n.id=To.P_Sel_All_Vendor_Consent_El,n.querySelector("input").id="select-all-vendor-groups-handler",n.querySelector("label").setAttribute("for","select-all-vendor-groups-handler"),ho(t).append(n);var r=co.showVendorService?Zn():_o.chkboxEl.cloneNode(!0);r.id=To.P_Sel_All_Vendor_Leg_El,r.querySelector("input").id="select-all-vendor-leg-handler",r.querySelector("label").setAttribute("for","select-all-vendor-leg-handler"),ho(t).append(r)},lr.prototype.initializePreferenceCenterGroups=function(e,t){var o=so.pcName;if(Qt.isV2Template){nr.cloneOtHtmlEls(e);var n=_o.chkboxEl.cloneNode(!0);n.querySelector("input").classList.add("category-filter-handler"),ho(e(To.P_Fltr_Modal+" "+To.P_Fltr_Option)).append(n),nr.insertSelectAllEls(e)}var r=ho(e("#onetrust-pc-sdk "+To.P_Category_Grp));o===At||o===Lt||o===It?ao.PCenterEnableAccordion?to.removeChild(r.el.querySelector(To.P_Category_Item+":not(.ot-accordion-layout)")):to.removeChild(r.el.querySelector(To.P_Category_Item+".ot-accordion-layout")):o===Et&&(ao.PCenterEnableAccordion=!1);var i,s=e("#onetrust-pc-sdk "+To.P_Category_Item),a=Qt.isV2Template?_o.subGrpEl.cloneNode(!0):ho(e(To.P_Sub_Grp_Cntr)),l=Qt.isV2Template?null:ho(e(To.P_Acc_Container+" "+To.P_Sub_Grp_Cntr));ao.PCTemplateUpgrade&&/otPcTab/.test(o)&&(i=e(".ot-abt-tab").cloneNode(!0),to.removeChild(e(".ot-abt-tab"))),r.el.removeChild(s),nr.setVendorListClass(e,s),nr.setPCHeader(e,s),nr.createHtmlForEachGroup({fm:e,fragment:t,categoryGroupTemplate:s,cookiePreferencesContainer:r,popupSubGrpContainer:l,subGrpContainer:a}),nr.setPcTabLayout(e,t,i)},lr.prototype.createHtmlForEachGroup=function(e){var t=e.fm,o=e.fragment,n=e.categoryGroupTemplate,r=e.cookiePreferencesContainer,i=e.popupSubGrpContainer,s=e.subGrpContainer,a=ao.Groups.filter(function(e){return e.Order}),l=0===r.el.children.length;ao.PCTemplateUpgrade&&(co.showVendorService?er.setHtmlTemplate(t('#onetrust-pc-sdk div[role="alertdialog"]')):er.removeVSUITemplate(t('#onetrust-pc-sdk div[role="alertdialog"]')));for(var c=0,d=a;c<d.length;c++){var p=d[c],u=p.GroupName,h=p.CustomGroupId,g=n.cloneNode(!0),C="ot-group-id-"+h,y="ot-header-id-"+h,f="ot-desc-id-"+h;(g=ho(g).el).setAttribute("data-optanongroupid",h);var v=g.querySelector("input,button");v&&(v.setAttribute("aria-controls",f),v.setAttribute("aria-labelledby",y)),nr.setParentGroupName(g,u,y,f),nr.setPopupData(p,g);var k=nr.setParentGroupDescription(g,p,ao,f,C);Qt.isV2Template?nr.setToggle(g,k,p,C,y):nr.setToggleProps(g,k,p,C,y);var m=!!t("#onetrust-pc-sdk "+To.P_Category_Grp).querySelector(To.P_Category_Item),b=r.el.querySelectorAll(To.P_Category_Item+":not(.ot-vnd-item)");b=b[b.length-1],l?r.append(g):m?po.insertAfter(g,b):po.insertAfter(g,r.el.querySelector(To.P_Li_Hdr)||r.el.querySelector("h3")),nr.setSubGroupData(p,g,i,s);var S=ao.PCGrpDescLinkPosition===B.Top;p.Type===zt&&S&&(k=g.querySelector(To.P_Sub_Grp_Cntr));var P=S?k:null;nr.setVendorListBtn(g,t,o,p,P,ao),nr.setHostListBtn(g,t,o,p),nr.setVendorServiceData(p,g),co.dataGroupState.push(p)}},lr.prototype.setPopupData=function(e,t){so.pcName===_t&&(e.ShowVendorList&&"IAB2"===ao.IabType?(to.removeChild(t.querySelector("p:not(.ot-always-active)")),to.removeChild(t.querySelector(To.P_Acc_Txt+":not("+To.P_Acc_Container+")")),e.SubGroups.length||Qt.isV2Template||to.removeChild(t.querySelector(To.P_Sub_Grp_Cntr))):to.removeChild(t.querySelector(To.P_Acc_Container)))},lr.prototype.setVendorServiceData=function(e,t){var o=so.pcName;if(co.showVendorService&&ao.VendorServiceConfig.PCVSCategoryView){var n=To.P_Acc_Txt;o===Et&&(n=To.P_Desc_Container);var r=t.querySelector(n);ao.PCAccordionStyle===J.NoAccordion&&(r=t),er.insertVendorServiceHtml(e,r)}},lr.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},lr.prototype.setVendorListBtn=function(e,t,o,n,r,i){var s=so.pcName;if(n.ShowVendorList){var a=void 0,l=void 0;if(Qt.isV2Template?a=(l=_o.vListEl.cloneNode(!0)).querySelector(".category-vendors-list-handler"):l=(a=e.querySelector(".category-vendors-list-handler")).parentElement,a.innerHTML=i.VendorListText+"&#x200E;",a.setAttribute(this._ariaLabel,ao.PCOpensVendorDetailsAlert),a.setAttribute("data-parent-id",n.CustomGroupId),i.PCGrpDescType===E.UserFriendly&&(a.insertAdjacentHTML("afterend","<span class='ot-ext-lnk'></span>"),a.insertAdjacentHTML("afterend","<a href='"+ao.IabLegalTextUrl+"?lang="+co.consentLanguage+"' rel=\"noopener\" target='_blank'>&nbsp;|&nbsp;"+i.PCVendorFullLegalText+'&nbsp;<span class="ot-scrn-rdr">'+ao.NewWinTxt+"</span></a>")),Qt.isV2Template){var c=e;s===Et?c=e.querySelector(""+To.P_Desc_Container):i.PCenterEnableAccordion&&(c=e.querySelector(To.P_Acc_Txt)),c.insertAdjacentElement("beforeend",l)}r&&r.insertAdjacentElement("beforebegin",l)}else if(!Qt.isV2Template){if(s!==Lt&&s!==At||i.PCenterEnableAccordion){if(s===_t||s===Lt||s===At&&i.PCenterEnableAccordion){var d=t("#vendor-list-container"),p=e.querySelector(To.P_Acc_Txt);d&&o.querySelector(""+To.P_Content).removeChild(d),Qt.isV2Template||ho(p).el.removeChild(p.querySelector(To.P_Ven_Lst_Cntr))}}else to.removeChild(e.querySelector(To.P_Ven_Lst_Cntr));if(s===Et||s===It){var u=e.querySelector(To.P_Ven_Lst_Cntr);u&&u.parentElement.removeChild(u)}}},lr.prototype.setHostListBtn=function(e,t,o,n){var r=so.pcName,i=!1;ao.showCookieList&&(i=-1<to.findIndex(b(n.SubGroups,[n]),function(e){return-1===Kt.indexOf(e.Type)&&e.FirstPartyCookies.length}));var s=co.showGeneralVendors&&n.GeneralVendorsIds&&n.GeneralVendorsIds.length;if(!co.showVendorService&&(ao.showCookieList||co.showGeneralVendors)&&(n.ShowHostList||i||s)){var a=void 0;if(Qt.isV2Template){var l=_o.cListEl.cloneNode(!0);a=l.querySelector(".category-host-list-handler");var c=e;r===Et?c=e.querySelector(""+To.P_Desc_Container):ao.PCenterEnableAccordion&&(c=e.querySelector(To.P_Acc_Txt)),c.insertAdjacentElement("beforeend",l)}else a=e.querySelector(".category-host-list-handler");nr.setcListHandler(a,n)}else nr.setHostListVendorList(t,o,e)},lr.prototype.setcListHandler=function(e,t){if(e){var o=nr.setcListHeaderTitleAndScreenReader(),n=o[0],r=o[1];e.innerHTML=n+"&#x200E;",e.setAttribute(this._ariaLabel,r),e.setAttribute("data-parent-id",t.CustomGroupId)}},lr.prototype.setcListHeaderTitleAndScreenReader=function(){var e,t;return e=co.showTrackingTech?(t=ao.AdditionalTechnologiesConfig.PCTechDetailsText,ao.AdditionalTechnologiesConfig.PCTechDetailsAriaLabel):co.showGeneralVendors?(t=ao.GroupGenVenListLabel,ao.PCenterVendorListScreenReader):(t=ao.ThirdPartyCookieListText,ao.PCOpensCookiesDetailsAlert),[t,e]},lr.prototype.setHostListVendorList=function(e,t,o){if(so.pcName===_t){var n=e("#vendor-list-container"),r=o.querySelector(To.P_Acc_Txt);n&&t.querySelector(""+To.P_Content).removeChild(n),r.querySelector(To.P_Host_Lst_cntr)&&ho(r).el.removeChild(r.querySelector(To.P_Host_Lst_cntr))}else{var i=o.querySelector(To.P_Host_Lst_cntr);i&&i.parentElement.removeChild(i)}},lr.prototype.setSubGroupData=function(e,t,o,n){if(0<e.SubGroups.length&&e.ShowSubgroup){var r=so.pcName===_t&&e.ShowVendorList&&"IAB2"===ao.IabType&&!ao.PCTemplateUpgrade;nr.setSubGrps(e,r?o:n,t,ao)}},lr.prototype.setSubGrps=function(t,o,n,r){if(so.pcName===_t&&t.ShowVendorList&&"IAB2"===r.IabType&&!ao.PCTemplateUpgrade){var e=n.querySelector(To.P_Sub_Grp_Cntr);e.parentElement.removeChild(e)}t.SubGroups.forEach(function(e){nr.setSubGroups({group:t,subgroup:e,grpEl:n,subGrpEl:o,json:r})})},lr.prototype.setSubGroups=function(e){var t,o=e.group,n=e.subgroup,r=e.grpEl,i=e.subGrpEl,s=e.json,a=so.pcName;"IAB2"!==so.iabType||n.Type!==Mt||n.HasConsentOptOut||(t=!0);var l,c,d=Qt.isV2Template?i.cloneNode(!0):i.el.cloneNode(!0),p=d.querySelector(To.P_Subgp_ul),u=d.querySelector(To.P_Subgrp_li).cloneNode(!0),h=n.CustomGroupId,g="ot-sub-group-id-"+h,C=Bo.getGrpStatus(n).toLowerCase(),y=u.querySelector(".cookie-subgroup>h4, .cookie-subgroup>h5, .cookie-subgroup>h6, .ot-subgrp>h4, .ot-subgrp>h5, .ot-subgrp>h6"),f=u.querySelector(To.P_Tgl_Cntr);if(u.setAttribute("data-optanongroupid",h),Qt.isV2Template?((c=nr.getInputEle()).querySelector("input").setAttribute("data-optanongroupid",h),c.querySelector("input").classList.add("cookie-subgroup-handler"),l=c.cloneNode(!0),f.insertAdjacentElement("beforeend",l)):(l=u.querySelector(".ot-toggle")).querySelector("input").setAttribute("data-optanongroupid",h),ho(d.querySelector(To.P_Subgp_ul)).html(""),ho(y).html(n.GroupName),co.showVendorService){var v=document.createElement("div");v.classList.add("ot-acc-hdr"),y.classList.add("ot-cat-header"),v.appendChild(y);var k="afterbegin";ao.PCCategoryStyle===ce.Toggle&&(k="beforeend"),v.insertAdjacentElement(k,l),u.removeChild(u.querySelector(To.P_Subgrp_Tgl_Cntr)),u.insertAdjacentElement("afterbegin",v)}l.querySelector("input").setAttribute("id",g),l.querySelector("input").setAttribute(this._ariaLabel,n.GroupName),l.querySelector("label").setAttribute("for",g),nr.setSubGroupDescription({json:s,group:o,subgroup:n,subGroupClone:u});var m=b(Jt,Wt);o.ShowSubgroupToggle&&-1<m.indexOf(n.Type)?nr.setSubGroupToggle({id:g,subGroupClone:u,group:o,subgroup:n,toggleGroup:f}):C===st&&(o.ShowSubgroupToggle||-1===Yt.indexOf(n.Type))||(t=!0),nr.setSubGroupsProperties({removeConsentToggle:t,subGroupToggle:l,subGroupClone:u,status:C,subgroup:n,grpEl:r,pcName:a,json:s,subGrpElClone:d,ulParentContainerEle:p})},lr.prototype.setSubGroupDescription=function(e){var t=e.json,o=e.group,n=e.subgroup,r=e.subGroupClone,i=so.pcName,s=t.PCGrpDescType===E.Legal,a=i===_t&&o.ShowVendorList&&"IAB2"===t.IabType,l=ho(r.querySelector(To.P_Subgrp_Desc));if(a){var c=n.DescriptionLegal&&s?n.DescriptionLegal:n.GroupDescription;l.html(c)}else{c=jn.safeFormattedGroupDescription(n);var d=!1;-1<Xt.indexOf(n.Type)&&s&&(d=!0,c=n.DescriptionLegal),t.PCenterEnableAccordion&&d||(l=ho(r.querySelector("p"))),o.ShowSubGroupDescription?l.html(c):l.html("")}},lr.prototype.setSubGroupToggle=function(e){var t=e.id,o=e.subGroupClone,n=e.group,r=e.subgroup,i=e.toggleGroup,s=jn.isGroupActive(r);nr.setSubGroupActive({group:n,subgroup:r,subGroupClone:o},s);var a=i.querySelector(".ot-label-status");if(ao.PCShowConsentLabels?a.innerHTML=s?ao.PCActiveText:ao.PCInactiveText:to.removeChild(a),so.legIntSettings.PAllowLI&&r.Type===Mt&&r.HasLegIntOptOut)if(so.legIntSettings.PShowLegIntBtn)nr.setLegIntButton(o,r);else{var l=i.cloneNode(!0);i.insertAdjacentElement("afterend",l);var c=l.querySelector(".ot-label-status"),d=l.querySelector("input");d.setAttribute("id",t+"-leg-out"),l.querySelector("label").setAttribute("for",t+"-leg-out"),r.IsLegIntToggle=!0;var p=jn.isGroupActive(r);ao.PCShowConsentLabels?c.innerHTML=p?ao.PCActiveText:ao.PCInactiveText:to.removeChild(c),to.setCheckedAttribute(null,d,p),r.IsLegIntToggle=!1}},lr.prototype.setSubGroupActive=function(e,t){if(t){var o=e.group,n=e.subgroup,r=e.subGroupClone,i=Bo.getGrpStatus(o).toLowerCase();r.querySelector("input").setAttribute("checked",""),i===st&&-1===Xt.indexOf(n.Type)&&(r.querySelector("input").disabled=!0,r.querySelector("input").setAttribute("disabled","true"))}},lr.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,d=e.ulParentContainerEle;if(t&&(o.classList.add("ot-hide-tgl"),o.querySelector("input").setAttribute(this._ariaHidden,"true")),r!==st||t||(o&&o.parentElement.removeChild(o),n.querySelector(To.P_Tgl_Cntr).classList.add("ot-always-active-subgroup"),nr.setAlwaysActive(n,!0)),"COOKIE"===i.Type&&-1!==i.Parent.indexOf("STACK")&&$t(c,"display: none;"),ho(d).append(n),Qt.isV2Template){var p=s;"otPcTab"===a?p=s.querySelector(""+To.P_Desc_Container):l.PCenterEnableAccordion&&(p=s.querySelector(To.P_Acc_Txt)),p.insertAdjacentElement("beforeend",c)}else{var u=s.querySelector(To.P_Category_Item+" "+To.P_Ven_Lst_Cntr);u&&u.insertAdjacentElement("beforebegin",c)}if(co.showVendorService&&ao.VendorServiceConfig.PCVSCategoryView){var h=d;er.insertVendorServiceHtml(i,h)}},lr.prototype.getInputEleForCategory=function(e){return co.showVendorService&&ao.PCCategoryStyle===ce.Checkbox&&e.classList.add("ot-checkbox-consent"),nr.getInputEle()},lr.prototype.getInputEle=function(){return"IAB2"!==ao.IabType&&ao.PCTemplateUpgrade?Zn():_o.toggleEl.cloneNode(!0)},lr.prototype.setToggle=function(e,t,o,n,r){var i=nr.getInputEleForCategory(e);i.querySelector("input").classList.add("category-switch-handler");var s=i.querySelector("input"),a=e.querySelector(To.P_Category_Header),l=jn.isGroupActive(o),c=Bo.getGrpStatus(o).toLowerCase()===st,d=o.OptanonGroupId.toString(),p=!0;if("IAB2"!==so.iabType||o.Type!==Mt&&o.Type!==zt||o.HasConsentOptOut||(p=!1),ho(i.querySelector("label")).attr("for",n),ho(i.querySelector(".ot-label-txt")).html(o.GroupName),so.legIntSettings.PAllowLI&&o.Type===Mt&&o.HasLegIntOptOut)if(so.legIntSettings.PShowLegIntBtn)nr.setLegIntButton(e,o,!0,t);else{var u=i.cloneNode(!0);o.IsLegIntToggle=!0;var h=jn.isGroupActive(o),g=u.querySelector(".ot-label-status");ao.PCShowConsentLabels?g.innerHTML=h?ao.PCActiveText:ao.PCInactiveText:to.removeChild(g),o.IsLegIntToggle=!1,jn.setInputID(u.querySelector("input"),n+"-leg-out",d,h,r),ho(u.querySelector("label")).attr("for",n+"-leg-out"),a.insertAdjacentElement("afterend",u)}var C=i.querySelector(".ot-label-status");ao.PCShowConsentLabels?C.innerHTML=l?ao.PCActiveText:ao.PCInactiveText:to.removeChild(C);var y=ao.PCCategoryStyle===ce.Toggle;this.hideToggleContainer(c,p,y,i),p&&this.setAlwaysActiveOrToggleInput(o,e,i,s,n,r),nr.setNoAccordionHeader(e,c)},lr.prototype.setNoAccordionHeader=function(e,t){if("IAB2"!==ao.IabType&&ao.PCTemplateUpgrade){var o=ao.PCCategoryStyle===ce.Checkbox;if(ao.PCAccordionStyle===J.NoAccordion&&o){var n=document.createElement("div");n.classList.add("ot-acc-hdr");var r=e.querySelector(".ot-chkbox"),i=e.querySelector(".ot-always-active"),s=e.querySelector(To.P_Category_Header);r&&n.appendChild(r),n.appendChild(s),t&&n.appendChild(i),e.insertBefore(n,e.firstChild)}}},lr.prototype.hideToggleContainer=function(e,t,o,n){!e&&t||!o||(n.classList.add("ot-hide-tgl"),n.querySelector("input").setAttribute(this._ariaHidden,"true"))},lr.prototype.setAlwaysActiveOrToggleInput=function(e,t,o,n,r,i){var s="always active"===Bo.getGrpStatus(e).toLowerCase(),a=ao.PCCategoryStyle===ce.Toggle,l=e.OptanonGroupId.toString(),c=jn.isGroupActive(e),d=t.querySelector(To.P_Category_Header);"IAB2"!==ao.IabType&&ao.PCTemplateUpgrade?(s&&ao.PCShowAlwaysActiveToggle&&(nr.setAlwaysActive(t),o.querySelector("input").setAttribute("disabled","true")),s&&a||nr.insertAccordionInputHeader(d,o),jn.setInputID(n,r,l,c,i),nr.insertAccordionPointer(t,d)):(nr.insertAccordionPointer(t,d),s?ao.PCShowAlwaysActiveToggle&&nr.setAlwaysActive(t):(nr.insertAccordionInputHeader(d,o),jn.setInputID(n,r,l,c,i)))},lr.prototype.setOptOutSignalVisibility=function(e){var t=!0===navigator.globalPrivacyControl&&so.gpcForAGrpEnabled,o=Eo.isAlertBoxClosedAndValid()&&jn.isAnyGroupOptedOut();ao.PCShowOptOutSignal&&(t||o||so.previewMode)?e.classList.remove("ot-hide"):e.classList.add("ot-hide")},lr.prototype.setOptOutSignalNotification=function(e){var t=bo.createOptOutSignalElement(e,!0);nr.setOptOutSignalVisibility(t)},lr.prototype.insertAccordionInputHeader=function(e,t){var o=nr.getPositionForInputEle();e.insertAdjacentElement(o,t)},lr.prototype.getPositionForInputEle=function(){var e="beforebegin";return"IAB2"!==ao.IabType&&ao.PCTemplateUpgrade?ao.PCCategoryStyle===ce.Toggle&&(e="afterend"):e="afterend",e},lr.prototype.insertAccordionPointer=function(e,t){if(e.classList.add("ot-vs-config"),ao.PCenterEnableAccordion)if("IAB2"!==ao.IabType&&ao.PCTemplateUpgrade){var o=e.querySelector(To.P_Acc_Header),n=void 0,r=void 0;n=ao.PCAccordionStyle===J.Caret?(r="beforeend",_o.arrowEl.cloneNode(!0)):(r=ao.PCCategoryStyle===ce.Checkbox?"beforeend":"afterbegin",_o.plusMinusEl.cloneNode(!0)),o.insertAdjacentElement(r,n)}else ao.PCAccordionStyle===J.Caret?t.insertAdjacentElement("afterend",_o.arrowEl.cloneNode(!0)):t.insertAdjacentElement("beforebegin",_o.plusMinusEl.cloneNode(!0))},lr.prototype.setToggleProps=function(e,t,o,n,r){var i=e.querySelectorAll("input:not(.cookie-subgroup-handler)"),s=e.querySelectorAll("label"),a=jn.isGroupActive(o),l=o.CustomGroupId,c=e.querySelector(".label-text");c&&ho(c).html(o.GroupName);for(var d=0;d<i.length;d++)if(s[d]&&ho(s[d]).attr("for",n),2<=i.length&&0===d)ho(i[d]).attr("id",n+"-toggle");else{var p=!0;if("IAB2"!==so.iabType||o.Type!==Mt&&o.Type!==zt||o.HasConsentOptOut||(p=!1),so.legIntSettings.PAllowLI&&o.Type===Mt&&o.HasLegIntOptOut)if(so.legIntSettings.PShowLegIntBtn)nr.setLegIntButton(e,o,!0,t);else{var u=e.querySelector(To.P_Tgl_Cntr+":not("+To.P_Subgrp_Tgl_Cntr+")")||e.querySelector(".ot-toggle"),h=u.cloneNode(!0);u.insertAdjacentElement("afterend",h);var g=h.querySelector("input");o.IsLegIntToggle=!0;var C=jn.isGroupActive(o);o.IsLegIntToggle=!1,jn.setInputID(g,n+"-leg-out",l,C,r),ho(h.querySelector("label")).attr("for",n+"-leg-out"),to.removeChild(h.querySelector(To.P_Arrw_Cntr))}var y=Bo.getGrpStatus(o).toLowerCase()===st;if(y||!p){var f=i[d].closest(".ot-toggle");f&&(f.classList.add("ot-hide-tgl"),f.querySelector("input").setAttribute(this._ariaHidden,!0))}p&&(y&&nr.setAlwaysActive(e),jn.setInputID(i[d],n,l,a,r))}},lr.prototype.setAlwaysActive=function(e,t){void 0===t&&(t=!1);var o=so.pcName;if(o===_t||o===Et||t)e.querySelector(To.P_Tgl_Cntr).insertAdjacentElement("afterbegin",ho("<div class='ot-always-active'>"+ao.AlwaysActiveText+"</div>","ce").el);else{var n=e.querySelector(To.P_Category_Header);!Qt.isV2Template&&ao.PCenterEnableAccordion&&(n=e.querySelector(To.P_Arrw_Cntr)),ho(n).el.insertAdjacentElement("afterend",ho("<div class='ot-always-active'>"+ao.AlwaysActiveText+"</div>","ce").el)}if(ao.PCenterEnableAccordion){var r=e.querySelector(To.P_Acc_Header);r&&r.classList.add("ot-always-active-group")}else{var i=e.querySelector(""+To.P_Desc_Container);i&&i.classList.add("ot-always-active-group"),e.classList.add("ot-always-active-group")}},lr.prototype.setPcTabLayout=function(e,t,o){var n=e(".ot-tab-desc");if("otPcTab"===so.pcName)if(o&&e("#onetrust-pc-sdk "+To.P_Category_Grp).insertAdjacentElement("afterbegin",o),n&&640<window.innerWidth&&ho(n).append(t.querySelectorAll("#onetrust-pc-sdk "+To.P_Desc_Container)),ao.IsIabEnabled)e(To.P_Desc_Container+" .category-vendors-list-handler").innerHTML=ao.VendorListText+"&#x200E;";else{var r=e(To.P_Desc_Container+" .category-vendors-list-handler");r&&r.parentElement.removeChild(r)}},lr.prototype.setVendorListClass=function(e,t){Qt.isV2Template?ao.PCAccordionStyle===J.Caret&&(ho(e("#onetrust-pc-sdk "+To.P_Vendor_List)).addClass("ot-enbl-chr"),ao.PCenterEnableAccordion&&ho(e("#onetrust-pc-sdk "+To.P_Content)).addClass("ot-enbl-chr")):ho(t.querySelector(To.P_Sub_Grp_Cntr)).remove()},lr.prototype.setPCHeader=function(e,t){var o=so.pcName,n=e(To.P_Li_Hdr)||t.querySelector(To.P_Li_Hdr);so.legIntSettings.PAllowLI&&so.grpContainLegalOptOut&&"IAB2"===ao.IabType&&!so.legIntSettings.PShowLegIntBtn?(n.querySelector("span:first-child").innerText=ao.ConsentText,n.querySelector("span:last-child").innerText=ao.LegitInterestText,Qt.isV2Template&&(n.querySelector("span:first-child").innerText=ao.PCenterConsentText,n.querySelector("span:last-child").innerText=ao.PCenterLegIntColumnHeader),ao.PCenterEnableAccordion&&n?n.classList.add("ot-leg-border-color"):"otPcList"===o&&t.insertAdjacentElement("afterbegin",n)):(to.removeChild(e("#onetrust-pc-sdk "+To.P_Li_Hdr)),to.removeChild(t.querySelector(To.P_Li_Hdr)))},lr);function lr(){this._ariaHidden="aria-hidden",this._ariaLabel="aria-label"}var cr,dr=(pr.prototype.updateGtmMacros=function(e){void 0===e&&(e=!0);var n=[];co.groupsConsent.forEach(function(e){var t=e.replace(":1",""),o=Bo.getGrpStatus(Bo.getGroupById(t)).toLowerCase()===st;to.endsWith(e,":1")&&(an.canSoftOptInInsertForGroup(t)||o)&&n.push(t)}),co.hostsConsent.forEach(function(e){to.endsWith(e,":1")&&n.push(e.replace(":1",""))}),co.showGeneralVendors&&ao.GenVenOptOut&&ao.GeneralVendors.forEach(function(e){co.genVendorsConsent[e.VendorCustomId]&&(co.softOptInGenVendors.includes(e.VendorCustomId)&&Zo.isLandingPage()||n.push(e.VendorCustomId))}),co.vsIsActiveAndOptOut&&co.getVendorsInDomain().forEach(function(e){co.vsConsent.get(e.CustomVendorServiceId)&&n.push(e.CustomVendorServiceId)});var t=","+to.arrToStr(n)+",";ao.GoogleConsent.GCEnable&&!so.otDataLayer.ignore&&this.updateGCMTags(n),window.OnetrustActiveGroups=t,window.OptanonActiveGroups=t,so.gcmUpdateCallback&&so.gcmUpdateCallback(),so.otDataLayer.ignore||void 0===this._window[so.otDataLayer.name]||this._window[so.otDataLayer.name].constructor!==Array?!so.otDataLayer.ignore&&so.otDataLayer.name&&(this._window[so.otDataLayer.name]=[{event:"OneTrustLoaded",OnetrustActiveGroups:t},{event:"OptanonLoaded",OptanonActiveGroups:t}]):(this._window[so.otDataLayer.name].push({event:"OneTrustLoaded",OnetrustActiveGroups:t}),this._window[so.otDataLayer.name].push({event:"OptanonLoaded",OptanonActiveGroups:t})),this.dispatchEvents(e,n,t)},pr.prototype.dispatchEvents=function(e,t,o){var n,r;!e&&so.gtmUpdatedinStub||(n=new CustomEvent("consent.onetrust",{detail:t}));var i=eo.readCookieParam(et.OPTANON_CONSENT,"groups"),s=co.fireOnetrustGrp||!i||e||!so.gtmUpdatedinStub;s&&(co.fireOnetrustGrp=!1,!so.otDataLayer.ignore&&this._window[so.otDataLayer.name]&&this._window[so.otDataLayer.name].constructor===Array&&this._window[so.otDataLayer.name].push({event:"OneTrustGroupsUpdated",OnetrustActiveGroups:o}),r=new CustomEvent("OneTrustGroupsUpdated",{detail:t})),setTimeout(function(){n&&s&&window.dispatchEvent(n),r&&window.dispatchEvent(r)})},pr.prototype.updateGCMTags=function(e){var t={};if(this.canUpdateGCMCategories()){if(ao.GoogleConsent.GCAdStorage!==wt){var o=e.includes(ao.GoogleConsent.GCAdStorage)?be.granted:be.denied;t[ke.ad_storage]=o}if(ao.GoogleConsent.GCAnalyticsStorage!==wt){var n=e.includes(ao.GoogleConsent.GCAnalyticsStorage)?be.granted:be.denied;t[ke.analytics_storage]=n}if(ao.GoogleConsent.GCFunctionalityStorage!==wt){var r=e.includes(ao.GoogleConsent.GCFunctionalityStorage)?be.granted:be.denied;t[ke.functionality_storage]=r}if(ao.GoogleConsent.GCPersonalizationStorage!==wt){var i=e.includes(ao.GoogleConsent.GCPersonalizationStorage)?be.granted:be.denied;t[ke.personalization_storage]=i}if(ao.GoogleConsent.GCSecurityStorage!==wt){var s=e.includes(ao.GoogleConsent.GCSecurityStorage)?be.granted:be.denied;t[ke.security_storage]=s}}var a=eo.getCookie(et.ALERT_BOX_CLOSED),l=so.getRegionRule().Global;if("function"!=typeof window.gtag){var c=this._window;window.gtag=function(e,t,o){so.otDataLayer.ignore||(c[so.otDataLayer.name]?c[so.otDataLayer.name].push(arguments):c[so.otDataLayer.name]=[arguments])}}"function"==typeof window.gtag&&(so.gcmDevIdSet||(window.gtag(Ce.set,"developer_id.dYWJhMj",!0),so.gcmDevIdSet=!0),a&&(l||(t[ke.region]=so.gcmCountries),0!==Object.keys(t).length&&window.gtag(Ce.consent,fe.update,t)))},pr.prototype.canUpdateGCMCategories=function(){return ao.GoogleConsent.GCAdStorage!==wt||ao.GoogleConsent.GCAnalyticsStorage!==wt||ao.GoogleConsent.GCFunctionalityStorage!==wt||ao.GoogleConsent.GCPersonalizationStorage!==wt||ao.GoogleConsent.GCSecurityStorage!==wt},pr);function pr(){this._window=window}var ur,hr,gr,Cr="Banner",yr="Preference Center",fr="API",vr="Close",kr="Allow All",mr="Reject All",br="Confirm",Sr="Confirm",Pr="Continue without Accepting",Tr=(Ar.prototype.BannerPushDownHandler=function(){this.checkIsBrowserIE11OrBelow()||(gr.pushPageDown(rr),ho(window).on("resize",function(){"none"!==ho(rr).css("display")&&gr.pushPageDown(rr)}))},Ar.prototype.checkIsBrowserIE11OrBelow=function(){var e=window.navigator.userAgent;return 0<e.indexOf("MSIE ")||0<e.indexOf("Trident/")},Ar.prototype.addOTCssPropertiesToBody=function(e,t){var o=gr.getCssData(e,t);co.customerStyles.set(e,o),gr.setStylesOnBody(t),e===ur.PC&&gr.setStylesOnHtml(t)},Ar.prototype.removeAddedOTCssStyles=function(e){void 0===e&&(e=ur.Banner);var t=co.customerStyles.get(e);t?(gr.setStylesOnBody(t.customerBodyCSS),gr.setStylesOnHtml(t.customerHtmlCSS),co.customerStyles.delete(e)):0<co.customerStyles.size&&co.customerStyles.forEach(function(e,t){return gr.removeAddedOTCssStyles(t)})},Ar.prototype.getCssData=function(e,t){var o=ho("body").el[0],n=ho("html").el[0],r={},i={},s=co.customerStyles.get(e);if(s){var a=s.scriptBodyCSS,l=s.customerBodyCSS,c=s.customerHtmlCSS;o.style.top!==a.top&&(l.top=o.style.top),o.style.position!==a.position&&(l.position=o.style.position),o.style.overflow!==a.overflow&&(l.overflow=o.style.overflow),n.style.overflow!==a.overflow&&(c.overflow=n.style.overflow),r=l,i=c}else r={top:o.style.top,position:o.style.position,overflow:o.style.overflow},i={overflow:n.style.overflow};return{scriptBodyCSS:t,customerBodyCSS:r,customerHtmlCSS:i}},Ar.prototype.setStylesOnBody=function(e){var t=ho("body").el[0];gr.setStylesOnHtmlElement(t,e)},Ar.prototype.setStylesOnHtml=function(e){var t=ho("html").el[0];gr.setStylesOnHtmlElement(t,{overflow:e.overflow})},Ar.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],a=i[1];a?o+=s+": "+a+";":e.style.removeProperty(s)}o&&$t(e,o,!0)},Ar.prototype.pushPageDown=function(e){var t=ho(e).height()+"px";ho(e).show().css("\n bottom: auto;\n position: absolute;\n top: -"+t+";\n ");var o=co.isPCVisible?ur.PC:ur.Banner,n={position:"relative",top:t};co.isPCVisible&&(n.overflow="hidden"),gr.addOTCssPropertiesToBody(o,n)},Ar);function Ar(){}(hr=ur=ur||{}).Banner="Banner",hr.PC="PC";var Ir,Lr=(_r.prototype.showConsentNotice=function(){switch(!ao.NoBanner||ao.ForceConsent?ho(".onetrust-pc-dark-filter").removeClass("ot-hide"):ho(".onetrust-pc-dark-filter").addClass("ot-hide"),ho("#onetrust-pc-sdk").removeClass("ot-hide"),so.pcName){case Lt:ho("#onetrust-pc-sdk").el[0].classList.contains("ot-animated")||ho("#onetrust-pc-sdk").addClass("ot-animated");var e=ao.PreferenceCenterPosition,t=ao.useRTL,o=t?"right":"left",n=t?"left":"right";ho("#onetrust-pc-sdk").el[0].classList.contains("ot-slide-out-"+("right"===e?n:o))&&ho("#onetrust-pc-sdk").removeClass("ot-slide-out-"+("right"===e?n:o)),ho("#onetrust-pc-sdk").addClass("ot-slide-in-"+("right"===e?n:o))}jn.setAllowAllButton(),qn.setPCFocus(qn.getPCElements()),ao.NoBanner&&ao.ScrollCloseBanner||this.pcHasScroll()},_r.prototype.hideConsentNoticeV2=function(){if(0!==ho(this.ONETRUST_PC_SDK).length){if(Qt.isV2Template&&this.closePCText(),ao.ForceConsent&&!bo.isCookiePolicyPage(ao.AlertNoticeText)&&!Eo.isAlertBoxClosedAndValid()&&ao.ShowAlertNotice?ho(""+this.ONETRUST_PC_DARK_FILTER).css("z-index: 2147483645;").show():ho(""+this.ONETRUST_PC_DARK_FILTER).fadeOut(ao.PCLayout.Panel?500:400),ao.PCLayout.Panel){var e=ao.PreferenceCenterPosition,t=ao.useRTL,o=t?"right":"left",n=t?"left":"right";ho(""+this.ONETRUST_PC_SDK).removeClass("ot-slide-in-"+("right"===e?n:o)),ho(""+this.ONETRUST_PC_SDK).addClass("ot-slide-out-"+("right"===e?n:o))}ho(""+this.ONETRUST_PC_SDK).fadeOut(ao.PCLayout.Panel?500:400),co.isPCVisible=!1,co.pcLayer=O.Banner,this.setFocus()}else this.setFocusOnPage()},_r.prototype.setFocus=function(){if(co.pcSource||Eo.isAlertBoxClosedAndValid())co.pcSource?(co.pcSource.focus(),co.pcSource=null):ao.BInitialFocus?bo.resetFocusToBody():this.setFocusOnPage();else{var e=ho("#onetrust-banner-sdk #onetrust-pc-btn-handler").el[0];e&&e.focus()}},_r.prototype.setFocusOnPage=function(){var e=document.querySelectorAll('button, a, input, select, textarea, [tabindex]:not([tabindex="-1"])');co.isKeyboardUser&&e.length&&e[0].focus()},_r.prototype.closePCText=function(){var e=document.querySelector("#onetrust-pc-sdk span[aria-live]"),t=ao.AboutCookiesText;e.innerText=t+" "+ao.pcDialogClose},_r.prototype.pcHasScroll=function(){var e=ho(To.P_Grp_Container).el[0]||ho("#onetrust-pc-sdk "+To.P_Content).el[0];if(e.scrollHeight>e.clientHeight){this.bodyStyleChanged=!0;var t=ho("body");t&&t.length&&gr.addOTCssPropertiesToBody(ur.PC,{overflow:"hidden"})}},_r.prototype.checkIfPcSdkContainerExist=function(){return!ho("#onetrust-pc-sdk").length},_r);function _r(){this.ONETRUST_PC_SDK="#onetrust-pc-sdk",this.ONETRUST_PC_DARK_FILTER=".onetrust-pc-dark-filter",this.bodyStyleChanged=!1}var Er,Vr=(Br.prototype.init=function(){this.insertHtml(),this.insertCss(),this.showNty(),this.initHandler()},Br.prototype.getContent=function(){return u(this,void 0,void 0,function(){return g(this,function(e){return[2,vo.getSyncNtfyContent().then(function(e){co.syncNtfyGrp={name:e.name,html:atob(e.html),css:e.css}})]})})},Br.prototype.insertHtml=function(){function e(e){return t.querySelector(e)}this.removeHtml();var t=document.createDocumentFragment(),o=document.createElement("div");ho(o).html(co.syncNtfyGrp.html);var n=o.querySelector(this.El);ao.BannerRelativeFontSizesToggle&&ho(n).addClass("otRelFont"),ao.useRTL&&ho(n).attr("dir","rtl"),ho(t).append(n);var r=ao.NtfyConfig;this.initHtml("Sync",r.Sync,e,t.querySelector(this.El)),r.ShowCS?ho(e(".ot-pc-handler")).html(r.CSTxt):(ho(n).addClass("ot-hide-csbtn"),e(".ot-sync-btncntr").parentElement.removeChild(e(".ot-sync-btncntr")));var i=document.createElement("div");ho(i).append(t),ho("#onetrust-consent-sdk").append(i.firstChild)},Br.prototype.initHandler=function(){ho(this.El+" .ot-sync-close-handler").on("click",function(){return Er.close()})},Br.prototype.showNty=function(){var e=ho(this.El);e.css("bottom: -300px;"),e.animate({bottom:"1em;"},1e3),setTimeout(function(){e.css("bottom: 1rem;")},1e3),e.focus()},Br.prototype.changeState=function(){setTimeout(function(){Er.refreshState()},1500)},Br.prototype.refreshState=function(){function e(e){return t.querySelector(e)}var t=ho(this.El).el[0];t.classList.add("ot-nty-complete"),t.classList.remove("ot-nty-sync");var o=ao.NtfyConfig;this.initHtml("Complete",o.Complete,e,t),o.ShowCS&&("LINK"===o.CSType&&ho(e(".ot-pc-handler")).addClass("ot-pc-link"),ho(".ot-sync-btncntr").show("inline-block"),this.alignContent(),ho(window).on("resize",function(){return Er.resizeEvent})),setTimeout(function(){Er.close()},1e3*ao.NtfyConfig.NtfyDuration)},Br.prototype.insertCss=function(){var e=document.getElementById("onetrust-style");e.innerHTML+=co.syncNtfyGrp.css,e.innerHTML+=this.addCustomStyles()},Br.prototype.addCustomStyles=function(){var e=ao.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 "},Br.prototype.initHtml=function(e,t,o,n){var r="Sync"===e?".ot-sync-refresh":".ot-sync-check",i="Complete"===e?".ot-sync-refresh":".ot-sync-check";t.ShowIcon?(ho(o(r)).show(),ho(o(i)).hide(),ho(o(".ot-sync-icon")).show("inline-block"),n.classList.remove("ot-hide-icon")):(ho(o(".ot-sync-icon")).hide(),n.classList.add("ot-hide-icon")),t.Title?ho(o("#ot-sync-title")).html(t.Title):ho(o("#ot-sync-title")).hide(),t.Desc?ho(o(".ot-sync-desc")).html(t.Desc):ho(o(".ot-sync-desc")).hide(),t.ShowClose?(ho(o(".ot-sync-close-handler")).show("inline-block"),ho(o(".ot-close-icon")).attr("aria-label",t.CloseAria),n.classList.remove("ot-hide-close")):(ho(o(".ot-sync-close-handler")).hide(),n.classList.add("ot-hide-close"))},Br.prototype.close=function(){this.hideSyncNtfy(),bo.resetFocusToBody()},Br.prototype.hideSyncNtfy=function(){ao.NtfyConfig.ShowCS&&window.removeEventListener("resize",Er.resizeEvent),ho("#ot-sync-ntfy").fadeOut(400)},Br.prototype.removeHtml=function(){var e=ho(this.El).el;e&&to.removeChild(e)},Br.prototype.alignContent=function(){ho(".ot-sync-btncntr").el[0].clientHeight>ho(".ot-sync-titlecntr").el[0].clientHeight&&(ho(".ot-sync-titlecntr").addClass("ot-pos-abs"),ho(".ot-sync-btncntr").addClass("ot-pos-rel"))},Br.prototype.resizeEvent=function(){window.innerWidth<=896&&Er.alignContent()},Br);function Br(){this.El="#ot-sync-ntfy"}var wr,Or=(xr.prototype.toggleVendorConsent=function(e,t){void 0===e&&(e=[]),void 0===t&&(t=null),e.length||(e=co.oneTrustIABConsent.vendors),e.forEach(function(e){var t=e.split(":"),o=t[0],n=t[1],r=ho(To.P_Vendor_Container+" ."+To.P_Ven_Ctgl+' [vendorid="'+o+'"]').el[0];r&&to.setCheckedAttribute("",r,"true"===n)});var o=ho("#onetrust-pc-sdk #select-all-vendor-groups-handler").el[0];if(o){var n=to.getActiveIdArray(to.distinctArray(e));null===t&&(t=n.length===e.length),t||0===n.length?o.parentElement.classList.remove(Ao.P_Line_Through):o.parentElement.classList.add(Ao.P_Line_Through),to.setCheckedAttribute("",o,t)}},xr.prototype.toggleVendorLi=function(e,t){void 0===e&&(e=[]),void 0===t&&(t=null),e.length||(e=co.oneTrustIABConsent.legIntVendors),e.forEach(function(e){var t=e.split(":"),o=t[0],n=t[1],r=ho(To.P_Vendor_Container+" ."+To.P_Ven_Ltgl+' [leg-vendorid="'+o+'"]').el[0];r&&to.setCheckedAttribute("",r,"true"===n)});var o=ho("#onetrust-pc-sdk #select-all-vendor-leg-handler").el[0];if(o){var n=to.getActiveIdArray(to.distinctArray(e));null===t&&(t=n.length===e.length),t||0===n.length?o.parentElement.classList.remove(Ao.P_Line_Through):o.parentElement.classList.add(Ao.P_Line_Through),to.setCheckedAttribute("",o,t)}},xr.prototype.updateVendorLegBtns=function(e){void 0===e&&(e=[]),e.length||(e=co.oneTrustIABConsent.legIntVendors),e.forEach(function(e){var t=e.split(":"),o=t[0],n=t[1],r=ho(To.P_Vendor_Container+' .ot-leg-btn-container[data-group-id="'+o+'"]').el[0];r&&jn.updateLegIntBtnElement(r,"true"===n)})},xr);function xr(){}var Gr,Nr=(Dr.prototype.setFilterList=function(t){var o=this,n=ho("#onetrust-pc-sdk "+To.P_Fltr_Modal+" "+To.P_Fltr_Option).el[0].cloneNode(!0);ho("#onetrust-pc-sdk "+To.P_Fltr_Modal+" "+To.P_Fltr_Options).html(""),(Qt.isV2Template||ao.PCLayout.Popup)&&ho("#onetrust-pc-sdk #filter-cancel-handler").html(ao.PCenterCancelFiltersText||"Cancel"),!Qt.isV2Template&&ao.PCLayout.Popup||(ho("#onetrust-pc-sdk "+To.P_Clr_Fltr_Txt).html(ao.PCenterClearFiltersText),ho("#filter-btn-handler").el[0].setAttribute("aria-label",ao.PCenterFilterText)),ho("#onetrust-pc-sdk #filter-apply-handler").html(ao.PCenterApplyFiltersText),t?so.consentableGrps.forEach(function(e){(co.cookieListType===Z.GenVen||co.cookieListType===Z.HostAndGenVen?e.Hosts.length||e.FirstPartyCookies.length||e.GeneralVendorsIds&&e.GeneralVendorsIds.length:e.Hosts.length||e.FirstPartyCookies.length)&&o.filterGroupOptionSetter(n,e,t)}):so.iabGrps.forEach(function(e){o.filterGroupOptionSetter(n,e,t)})},Dr.prototype.setFilterListByGroup=function(e,t){var o=this;if(!e||e.length<=0)ho("#onetrust-pc-sdk "+To.P_Fltr_Modal+" "+To.P_Fltr_Options).html("");else{var n=ho("#onetrust-pc-sdk "+To.P_Fltr_Modal+" "+To.P_Fltr_Option).el[0].cloneNode(!0);ho("#onetrust-pc-sdk "+To.P_Fltr_Modal+" "+To.P_Fltr_Options).html(""),(Qt.isV2Template||ao.PCLayout.Popup)&&ho("#onetrust-pc-sdk #filter-cancel-handler").html(ao.PCenterCancelFiltersText||"Cancel"),!Qt.isV2Template&&ao.PCLayout.Popup||(ho("#onetrust-pc-sdk "+To.P_Clr_Fltr_Txt).html(ao.PCenterClearFiltersText),ho("#filter-btn-handler").el[0].setAttribute("aria-label",ao.PCenterFilterText)),ho("#onetrust-pc-sdk #filter-apply-handler").html(ao.PCenterApplyFiltersText),e.forEach(function(e){o.filterGroupOptionSetter(n,e,t)})}},Dr.prototype.filterGroupOptionSetter=function(e,t,o){var n=t.CustomGroupId,r=n+"-filter",i=e.cloneNode(!0);ho(To.P_Fltr_Modal+" "+To.P_Fltr_Options).append(i),ho(i.querySelector("input")).attr("id",r),ho(i.querySelector("label")).attr("for",r),Qt.isV2Template?ho(i.querySelector(To.P_Label_Txt)).html(t.GroupName):ho(i.querySelector("label span")).html(t.GroupName),ho(i.querySelector("input")).attr(o?"data-optanongroupid":"data-purposeid",n)},Dr);function Dr(){this.bodyScrollProp="",this.htmlScrollProp="",this.ONETRUST_PC_SDK="#onetrust-pc-sdk",this.ONETRUST_PC_DARK_FILTER=".onetrust-pc-dark-filter"}var Hr,Fr=(Rr.prototype.initialiseCssReferences=function(){var e,t="";document.getElementById("onetrust-style")?e=document.getElementById("onetrust-style"):((e=document.createElement("style")).id="onetrust-style",Qt.moduleInitializer.CookieV2CSPEnabled&&co.nonce&&e.setAttribute("nonce",co.nonce)),an.commonStyles&&(t+=an.commonStyles),an.bannerGroup&&(t+=an.bannerGroup.css,Qt.fp.CookieV2SSR||(t+=this.addCustomBannerCSS()),ao.bannerCustomCSS&&(t+=ao.bannerCustomCSS)),an.preferenceCenterGroup&&(t+=an.preferenceCenterGroup.css,t+=this.addCustomPreferenceCenterCSS()),an.cookieListGroup&&!Qt.fp.CookieV2TrackingTechnologies&&(t+=an.cookieListGroup.css,t+=this.addCustomCookieListCSS()),ao.cookiePersistentLogo&&!ao.cookiePersistentLogo.includes("ot_guard_logo.svg")&&(t+=".ot-floating-button__front{background-image:url('"+bo.updateCorrectUrl(ao.cookiePersistentLogo)+"')}"),this.processedCSS=t,so.ignoreInjectingHtmlCss||(e.textContent=t,ho(document.head).append(e))},Rr.prototype.setButonColor=function(){var e=ao.pcButtonColor,t=ao.pcButtonTextColor,o=ao.pcLegIntButtonColor,n=ao.pcLegIntButtonTextColor,r="";if(e||t){var i=t?"color: "+t+";":"",s=e?"background-color: "+e+";border-color: "+e+";":"",a=so.pcName===It?"#onetrust-consent-sdk #onetrust-pc-sdk "+To.P_Category_Item+",\n #onetrust-consent-sdk #onetrust-pc-sdk.ot-leg-opt-out "+To.P_Li_Hdr+"{\n border-color: "+e+";\n }":"",l=e?"border-color: "+e+";":"",c=o?"background-color: "+o+";":"",d=n?"color: "+n+"; border-color: "+n+";":"";r="#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 "+s+"\n "+i+"\n }\n #onetrust-consent-sdk #onetrust-pc-sdk ."+To.P_Active_Menu+" {\n "+l+"\n }\n "+a+"\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 "+c+"\n "+d+"\n }"}return r},Rr.prototype.setFocusBorderColor=function(){var e="",t=ao.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},Rr.prototype.setCloseIconColor=function(){var e="";return ao.PCCloseButtonType===he.Link&&(e+="#onetrust-pc-sdk.ot-close-btn-link .ot-close-icon {color: "+ao.PCContinueColor+"}"),e},Rr.prototype.setTabLayoutStyles=function(){var e="",t=ao.pcMenuColor,o=ao.pcMenuHighLightColor;return so.pcName===Et&&(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 ."+To.P_Active_Menu+" {\n background-color: "+o+"\n }")),e},Rr.prototype.setFocusIfTemplateUpgrade=function(){var e="",t=ao.PCFocusBorderColor;return!ao.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},Rr.prototype.setExtLnkUrl=function(){var e="",t=bo.updateCorrectUrl(ao.OTExternalLinkLogo);return t&&(e+="#onetrust-pc-sdk .ot-vlst-cntr .ot-ext-lnk {\n background-image: url('"+t+"');\n }\n "),e},Rr.prototype.setCustomCss=function(){var e="";return ao.pcCustomCSS&&(e+=ao.pcCustomCSS),e},Rr);function Rr(){this.processedCSS="",this.addCustomBannerCSS=function(){var e=ao.backgroundColor,t=ao.buttonColor,o=ao.textColor,n=ao.buttonTextColor,r=ao.bannerMPButtonColor,i=ao.bannerMPButtonTextColor,s=ao.bannerAccordionBackgroundColor,a=ao.BSaveBtnColor,l=ao.BCategoryContainerColor,c=ao.BLineBreakColor,d=ao.BCategoryStyleColor,p=ao.bannerLinksTextColor,u=ao.BFocusBorderColor,h="\n "+(so.bannerName===mt?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 }":"");if((t||n)&&(h+="#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&&(h+="\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)&&(h+="\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&&!ao.BannerSettingsButtonDisplayLink?r:e)+";\n }"),so.bannerName===Pt){var g=void 0,C=void 0,y=void 0,f=void 0,v=void 0;a&&(g="color: "+n+";border-color: "+n+";background-color: "+a+";"),l&&(C="background-color: "+l+";"),c&&(y="border-color: "+c+";"),d&&(f="background-color: "+d+";",v="border-color: "+d+";"),u&&(h+="\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 }"),h+="#onetrust-banner-sdk .ot-bnr-save-handler {"+g+"}#onetrust-banner-sdk .ot-cat-lst {"+C+"}#onetrust-banner-sdk .ot-cat-bdr {"+y+"}#onetrust-banner-sdk .ot-tgl input:checked+.ot-switch .ot-switch-nob:before,#onetrust-banner-sdk .ot-chkbox input:checked~label::before {"+f+"}#onetrust-banner-sdk .ot-chkbox label::before,#onetrust-banner-sdk .ot-tgl input:checked+.ot-switch .ot-switch-nob {"+v+"}#onetrust-banner-sdk #onetrust-pc-btn-handler.cookie-setting-link {background: inherit}"}return ao.BCloseButtonType===he.Link&&(h+="#onetrust-banner-sdk.ot-close-btn-link .banner-close-button {color: "+ao.BContinueColor+"}"),h},this.addCustomPreferenceCenterCSS=function(){var e=ao.pcBackgroundColor,t=ao.pcTextColor,o=ao.pcLinksTextColor,n=ao.PCenterEnableAccordion,r=ao.pcAccordionBackgroundColor,i="\n "+(e?(so.pcName===It?"#onetrust-consent-sdk #onetrust-pc-sdk .group-parent-container,\n #onetrust-consent-sdk #onetrust-pc-sdk .manage-pc-container,\n #onetrust-pc-sdk "+To.P_Vendor_List:"#onetrust-consent-sdk #onetrust-pc-sdk")+",\n #onetrust-consent-sdk "+To.P_Search_Cntr+",\n "+(n&&so.pcName===It?"#onetrust-consent-sdk #onetrust-pc-sdk .ot-accordion-layout"+To.P_Category_Item:"#onetrust-consent-sdk #onetrust-pc-sdk .ot-switch.ot-toggle")+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+To.P_Tab_Grp_Hdr+" .checkbox,\n #onetrust-consent-sdk #onetrust-pc-sdk "+To.P_Title+":after\n "+(Qt.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 "+To.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 "+To.P_Vendor_Container+" "+To.P_Ven_Opts+" p,\n #onetrust-consent-sdk #onetrust-pc-sdk "+To.P_Policy_Txt+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+To.P_Title+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+To.P_Li_Title+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+To.P_Leg_Select_All+" span,\n #onetrust-consent-sdk #onetrust-pc-sdk "+To.P_Host_Cntr+" "+To.P_Host_Info+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+To.P_Fltr_Modal+" #modal-header,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-checkbox label span,\n #onetrust-consent-sdk #onetrust-pc-sdk "+To.P_Vendor_List+" "+To.P_Select_Cntr+" p,\n #onetrust-consent-sdk #onetrust-pc-sdk "+To.P_Vendor_List+" "+To.P_Vendor_Title+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+To.P_Vendor_List+" .back-btn-handler p,\n #onetrust-consent-sdk #onetrust-pc-sdk "+To.P_Vendor_List+" "+To.P_Ven_Name+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+To.P_Vendor_List+" "+To.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 "+To.P_Ven_Link+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+To.P_Host_Cntr+" "+To.P_Host_Title+" a,\n #onetrust-consent-sdk #onetrust-pc-sdk "+To.P_Host_Cntr+" "+To.P_Acc_Header+" "+To.P_Host_View_Cookies+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+To.P_Host_Cntr+" "+To.P_Host_Info+" a,\n #onetrust-consent-sdk #onetrust-pc-sdk "+To.P_Content+" "+To.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 "+To.P_Acc_Container+To.P_Acc_Txt+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+To.P_Acc_Txt+" "+To.P_Subgrp_Tgl_Cntr+" .ot-switch.ot-toggle\n {\n background-color: "+r+";\n }":"")+"\n "+(r?" #onetrust-consent-sdk #onetrust-pc-sdk "+To.P_Host_Cntr+" "+To.P_Host_Info+",\n "+(Qt.isV2Template?"#onetrust-consent-sdk #onetrust-pc-sdk "+To.P_Acc_Txt+" .ot-ven-dets":"#onetrust-consent-sdk #onetrust-pc-sdk "+To.P_Acc_Txt+" "+To.P_Ven_Opts)+"\n {\n background-color: "+r+";\n }":"")+"\n ";return i+=Hr.setButonColor(),i+=Hr.setFocusBorderColor(),i+=Hr.setCloseIconColor(),i+=Hr.setTabLayoutStyles(),i+=Hr.setTabLayoutStyles(),i+=Hr.setFocusIfTemplateUpgrade(),i+=Hr.setExtLnkUrl(),i+=Hr.setCustomCss()},this.addCustomCookieListCSS=function(){var e=ao.CookiesV2NewCookiePolicy?"-v2.ot-sdk-cookie-policy":"",t="\n "+(ao.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: "+ao.cookieListPrimaryColor+";\n }":"")+"\n "+(ao.cookieListTableHeaderColor?"#ot-sdk-cookie-policy"+e+" th {\n color: "+ao.cookieListTableHeaderColor+";\n }":"")+"\n "+(ao.cookieListGroupNameColor?"#ot-sdk-cookie-policy"+e+" .ot-sdk-cookie-policy-group {\n color: "+ao.cookieListGroupNameColor+";\n }":"")+"\n "+(ao.cookieListTitleColor?"\n #ot-sdk-cookie-policy"+e+" #cookie-policy-title {\n color: "+ao.cookieListTitleColor+";\n }\n ":"")+"\n "+(e&&ao.CookieListTableHeaderBackgroundColor?"\n #ot-sdk-cookie-policy"+e+" table th {\n background-color: "+ao.CookieListTableHeaderBackgroundColor+";\n }\n ":"")+"\n ";return ao.cookieListCustomCss&&(t+=ao.cookieListCustomCss),t}}var qr,Mr=(Ur.prototype.showBanner=function(){var e=so.bannerName,t=ho(this.El);co.skipAddingHTML&&"none"===getComputedStyle(t.el[0]).getPropertyValue("display")&&e!==kt&&e!==vt&&e!==St?t.css("display: block;"):ao.BAnimation===pe.SlideIn?this.slideInAnimation(t,e):ao.BAnimation===pe.FadeIn&&t.addClass("ot-fade-in")},Ur.prototype.insertAlertHtml=function(){function e(e){return t.querySelector(e)}var t=document.createDocumentFragment(),o=document.createElement("div");ho(o).html(an.bannerGroup.html);var n=o.querySelector("#onetrust-banner-sdk");this.setAriaModalForBanner(n),Qt.fp.CookieV2SSR?(ho(t).append(n),this._rejectBtn=e("#onetrust-reject-all-handler"),this._acceptBtn=e("#onetrust-accept-btn-handler")):this.insertHtmlForNonSSRFlow(n,t,e,function(e){return t.querySelectorAll(e)}),this.ssrAndNonSSRCommonHtml(t)},Ur.prototype.insertHtmlForNonSSRFlow=function(e,t,o,n){var r=so.bannerName;if(an.bannerGroup){ao.BannerRelativeFontSizesToggle&&ho(e).addClass("otRelFont"),(ao.BInitialFocus||ao.BInitialFocusLinkAndButton)&&(e.setAttribute("tabindex","0"),e.setAttribute("role","main")),ao.useRTL&&ho(e).attr("dir","rtl"),"IAB2"===so.iabType&&ao.BannerDPDDescription.length&&ho(e).addClass("ot-iab-2");var i=ao.BannerPosition;i&&("bottom-left"===i?ho(e).addClass("ot-bottom-left"):"bottom-right"===i?ho(e).addClass("ot-bottom-right"):ho(e).addClass(i)),ho(t).append(e),this.setBannerData(o);var s=this.setIAB2HtmlData(o);this.setAcceptAndRejectBtnHtml(o);var a=this.htmlForBannerButtons(e,o,n),l=ao.showBannerCloseButton,c=ao.BCloseButtonType===he.Link;if(this.setWidthForFlatBanner(o,s,a),l&&r===mt&&"IAB2"===so.iabType&&!c){var d=o(".banner-close-btn-container");d.parentElement.removeChild(d),ho(e).el.insertAdjacentElement("beforeEnd",d),ho(o("#onetrust-banner-sdk .ot-sdk-container")).addClass("ot-top-cntr")}this.setBannerOptions(o,s),this.setBannerLogo(e,o)}},Ur.prototype.setBannerOptions=function(e,t){var o=this,n=so.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=ho(e(this._bannerOptionsSelector)).el;r?(n===bt?this.setFloatingRoundedIconBannerCmpOptions(e,i):(this.setCmpBannerOptions(e,i),n===Pt&&t.el.insertAdjacentElement("beforeend",s)),ho(window).on("resize",function(){window.innerWidth<=896&&o.setBannerOptionContent()})):(so.bannerName===mt&&(s=ho(e(".banner-options-card")).el),to.removeChild(s))},Ur.prototype.setWidthForFlatBanner=function(e,t,o){var n=so.bannerName,r=ao.showBannerCloseButton,i=this.hasNoActionButtons();n===vt&&("IAB2"===so.iabType&&(t.removeClass("ot-sdk-eight"),ao.showBannerAcceptButton&&o.insertAdjacentElement("afterbegin",this._acceptBtn),ao.showBannerCookieSettings&&o.insertAdjacentElement("beforeend",e("#onetrust-pc-btn-handler"))),r&&!i&&"IAB2"===so.iabType?t.addClass("ot-sdk-nine"):r&&i?t.addClass("ot-sdk-eleven"):!r&&i?t.addClass("ot-sdk-twelve"):r||i||"IAB2"!==so.iabType||(t.addClass("ot-sdk-ten"),ho(e(this._btnGrpParentSelector)).addClass("ot-sdk-two"),ho(e(this._btnGrpParentSelector)).removeClass("ot-sdk-three")))},Ur.prototype.hasNoActionButtons=function(){return!ao.showBannerAcceptButton&&!ao.showBannerCookieSettings&&!ao.BannerShowRejectAllButton},Ur.prototype.htmlForBannerButtons=function(e,t,o){var n=so.bannerName;this.hasNoActionButtons()&&t(this._btnGrpParentSelector).parentElement.removeChild(t(this._btnGrpParentSelector));var r=ao.showBannerCloseButton,i=ho(o(".banner-close-button")).el,s=t("#onetrust-button-group"),a=ao.BCloseButtonType===he.Link;if(r)for(l=0;l<i.length;l++)a?(ho(i[l]).html(ao.BContinueText),ho(e).addClass("ot-close-btn-link"),ho(i[l]).addClass("ot-close-link"),ho(i[l]).removeClass("onetrust-close-btn-ui"),ho(i[l]).removeClass("ot-close-icon"),n!==mt&&n!==bt||(s.insertAdjacentElement("afterbegin",t(".onetrust-close-btn-handler").parentElement),ho(i[l]).attr("tabindex","1"))):(bo.setCloseIcon(t("#onetrust-banner-sdk .ot-close-icon")),ho(i[l]).el.setAttribute(Dt,ao.BannerCloseButtonText||"Close Cookie Banner"));else{for(var l=0;l<i.length;l++)ho(i[l].parentElement).el.removeChild(i[l]);n!==vt&&n!==bt||to.removeChild(t("#onetrust-close-btn-container-mobile"))}return s},Ur.prototype.setAcceptAndRejectBtnHtml=function(e){var t=so.bannerName;ao.showBannerAcceptButton?(this._acceptBtn=e("#onetrust-accept-btn-handler"),ho(this._acceptBtn).html(ao.AlertAllowCookiesText),t!==St||ao.showBannerCookieSettings||ao.BannerShowRejectAllButton||ho(this._acceptBtn.parentElement).addClass("accept-btn-only")):to.removeChild(e("#onetrust-accept-btn-handler")),ao.BannerShowRejectAllButton&&ao.BannerRejectAllButtonText.trim()?(this._rejectBtn=e("#onetrust-reject-all-handler"),ho(this._rejectBtn).html(ao.BannerRejectAllButtonText),e(this._btnGrpParentSelector).classList.add("has-reject-all-button")):(to.removeChild(e("#onetrust-reject-all-handler")),to.removeChild(e("#onetrust-reject-btn-container")));var o=ho(e("#onetrust-pc-btn-handler"));ao.showBannerCookieSettings?(o.html(ao.AlertMoreInfoText),ao.BannerSettingsButtonDisplayLink&&o.addClass("cookie-setting-link"),t!==St||ao.showBannerAcceptButton||o.addClass("cookie-settings-btn-only")):to.removeChild(o.el)},Ur.prototype.setIAB2HtmlData=function(e){var t=so.bannerName;"IAB2"===ao.IabType&&ao.BannerDPDDescription.length&&t!==Pt?(ho(e(".ot-dpd-container .ot-dpd-title")).html(ao.BannerDPDTitle),ho(e(".ot-dpd-container .ot-dpd-desc")).html(ao.BannerDPDDescription.join(",&nbsp;"))):to.removeChild(e(".ot-dpd-container"));var o=ho(e(this._otGrpContainerSelector));"IAB2"===so.iabType&&ao.BannerAdditionalDescription.trim()&&this.setAdditionalDesc(e);var n="IAB2"===ao.IabType&&ao.BannerDPDDescription.length?t!==Pt?ho(e(".ot-dpd-container .ot-dpd-desc")):o:ho(e("#onetrust-policy-text"));return ao.IsIabEnabled&&ao.BannerIABPartnersLink&&n.append('<button class="ot-link-btn onetrust-vendors-list-handler">\n '+ao.BannerIABPartnersLink+"\n </button>"),o},Ur.prototype.setBannerData=function(e){if(ao.BannerTitle?(ho(e("#onetrust-policy-title")).html(ao.BannerTitle),ho(e('[role="alertdialog"]')).attr(Dt,ao.BannerTitle)):(to.removeChild(e("#onetrust-policy-title")),ho(e("#onetrust-banner-sdk")).addClass("ot-wo-title"),ho(e('[role="alertdialog"]')).attr(Dt,ao.AriaPrivacy)),!ao.IsIabEnabled&&co.showGeneralVendors&&ao.BannerNonIABVendorListText){var t=document.createElement("div");t.setAttribute("id","ot-gv-link-ctnr"),ho(t).html('<button class="ot-link-btn ot-gv-list-handler">'+ao.BannerNonIABVendorListText+"</button>"),ho(e("#onetrust-policy")).el.appendChild(t)}ho(e("#onetrust-policy-text")).html(ao.AlertNoticeText),ao.BShowPolicyLink&&ao.BShowImprintLink&&ho(e(this.cookiePolicyLinkSelector)).length?(ho(e("#onetrust-policy-text a:first-child")).attr(Dt,ao.BCookiePolicyLinkScreenReader),ho(e("#onetrust-policy-text a:last-child")).attr(Dt,ao.BImprintLinkScreenReader)):ao.BShowPolicyLink&&ho(e(this.cookiePolicyLinkSelector)).length?ho(e(this.cookiePolicyLinkSelector)).attr(Dt,ao.BCookiePolicyLinkScreenReader):ao.BShowImprintLink&&ho(e(this.cookiePolicyLinkSelector)).length&&ho(e(this.cookiePolicyLinkSelector)).attr(Dt,ao.BImprintLinkScreenReader)},Ur.prototype.isCmpEnabled=function(){return ao.BannerPurposeTitle||ao.BannerPurposeDescription||ao.BannerFeatureTitle||ao.BannerFeatureDescription||ao.BannerInformationTitle||ao.BannerInformationDescription},Ur.prototype.ssrAndNonSSRCommonHtml=function(t){function e(e){return t.querySelector(e)}var o,n=this,r=this.isCmpEnabled();this.setOptOutSignalNotification(e),ao.BRegionAriaLabel&&(ho(e("#onetrust-banner-sdk")).attr("role","region"),ho(e("#onetrust-banner-sdk")).attr(Dt,ao.BRegionAriaLabel)),so.bannerName===Pt&&Qt.moduleInitializer.IsSuppressPC&&(co.dataGroupState=ao.Groups.filter(function(e){return e.Order})),so.bannerName===Pt&&(this._fourBtns=ao.BannerShowRejectAllButton&&ao.showBannerAcceptButton&&ao.showBannerCookieSettings&&ao.BShowSaveBtn,this._saveBtn=e(".ot-bnr-save-handler"),this._settingsBtn=e("#onetrust-pc-btn-handler"),this._btnsCntr=e(".banner-actions-container"),ao.BShowSaveBtn?ho(this._saveBtn).html(ao.BSaveBtnTxt):(to.removeChild(this._saveBtn),this._saveBtn=null),bo.insertFooterLogo((o=".ot-bnr-footer-logo a",t.querySelectorAll(o))),this._descriptCntr=e(".ot-cat-lst"),this.setBannerBtn(),window.addEventListener("resize",function(){n.setBannerBtn()}),this._fourBtns&&ho(e("#onetrust-banner-sdk")).addClass("has-reject-all-button"),this.insertGrps(e));var i=document.createElement("div");ho(i).append(t),so.ignoreInjectingHtmlCss||(ho("#onetrust-consent-sdk").append(i.firstChild),r&&this.setBannerOptionContent()),this.setBnrBtnGrpAlignment()},Ur.prototype.setAriaModalForBanner=function(e){ao.ForceConsent&&e.querySelector('[role="alertdialog"]').setAttribute("aria-modal","true")},Ur.prototype.setBnrBtnGrpAlignment=function(){var e=ho(this._otGrpContainerSelector).el,t=ho(this._btnGrpParentSelector).el;(e.length&&e[0].clientHeight)<(t.length&&t[0].clientHeight)?ho("#onetrust-banner-sdk").removeClass("vertical-align-content"):ho("#onetrust-banner-sdk").addClass("vertical-align-content");var o=document.querySelector("#onetrust-button-group-parent button:first-of-type"),n=document.querySelector("#onetrust-button-group-parent button:last-of-type");n&&o&&1<Math.abs(n.offsetTop-o.offsetTop)&&ho("#onetrust-banner-sdk").addClass("ot-buttons-fw")},Ur.prototype.slideInAnimation=function(e,t){t===vt?"bottom"===ao.BannerPosition?(e.css("bottom: -99px;"),e.animate({bottom:"0px"},1e3),co.bnrAnimationInProg=!0,setTimeout(function(){e.css("bottom: 0px;"),co.bnrAnimationInProg=!1},1e3)):(e.css("top: -99px; bottom: auto;"),so.pagePushedDown&&!gr.checkIsBrowserIE11OrBelow()?gr.BannerPushDownHandler():(e.animate({top:"0"},1e3),co.bnrAnimationInProg=!0,setTimeout(function(){e.css("top: 0px; bottom: auto;"),co.bnrAnimationInProg=!1},1e3))):t!==kt&&t!==St||(e.css("bottom: -300px;"),e.animate({bottom:"1em"},2e3),co.bnrAnimationInProg=!0,setTimeout(function(){e.css("bottom: 1rem;"),co.bnrAnimationInProg=!1},2e3))},Ur.prototype.setBannerBtn=function(){window.innerWidth<=600?(to.insertElement(this._btnsCntr,this._settingsBtn,"afterbegin"),to.insertElement(this._btnsCntr,this._saveBtn,"afterbegin"),to.insertElement(this._btnsCntr,this._acceptBtn,"afterbegin"),to.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)):(to.insertElement(this._btnsCntr,this._settingsBtn,"beforebegin"),to.insertElement(this._btnsCntr,this._saveBtn,this._settingsBtn?"afterbegin":"beforebegin"),to.insertElement(this._btnsCntr,this._rejectBtn,"beforeend"),to.insertElement(this._btnsCntr,this._acceptBtn,"beforeend"))},Ur.prototype.setCmpBannerOptions=function(i,e){var s=ho(i("#banner-options .banner-option")).el.cloneNode(!0);ho(i(this._bannerOptionsSelector)).html("");var a=1;e.forEach(function(e){var t=s.cloneNode(!0),o=ao[e.titleKey],n=ao[e.descriptionKey];if(o||n){t.querySelector(".banner-option-header :first-child").innerHTML=o;var r=t.querySelector(".banner-option-details");n?(r.setAttribute("id","option-details-"+a++),r.innerHTML=n):r.parentElement.removeChild(r),ho(i("#banner-options")).el.appendChild(t)}})},Ur.prototype.setFloatingRoundedIconBannerCmpOptions=function(r,e){var i=this,s=ho(r("#banner-options button")).el.cloneNode(!0),n=ho(r(".banner-option-details")).el.cloneNode(!0);ho(r(this._bannerOptionsSelector)).html(""),e.forEach(function(e){var t=s.cloneNode(!0),o=ao[e.titleKey],n=ao[e.descriptionKey];(o||n)&&(t.setAttribute("id",e.identifier),t.querySelector(".banner-option-header :first-child").innerHTML=o,ho(r(i._bannerOptionsSelector)).el.appendChild(t))}),e.forEach(function(e){var t=ao[e.descriptionKey];if(t){var o=n.cloneNode(!0);o.innerHTML=t,o.classList.add(e.identifier),ho(r(i._bannerOptionsSelector)).el.appendChild(o)}})},Ur.prototype.setBannerOptionContent=function(){var t=this;so.bannerName!==vt&&so.bannerName!==bt||setTimeout(function(){if(window.innerWidth<769){var e=ho(t._bannerOptionsSelector).el[0];ho(t._otGrpContainerSelector).el[0].appendChild(e)}else e=ho(t._bannerOptionsSelector).el[0],so.bannerName===bt?ho(".banner-content").el[0].appendChild(e):ho("#onetrust-banner-sdk .ot-sdk-container").el[0].appendChild(e)})},Ur.prototype.setAdditionalDesc=function(e){var t=ao.BannerAdditionalDescPlacement,o=document.createElement("span");o.classList.add("ot-b-addl-desc"),o.innerHTML=ao.BannerAdditionalDescription;var n=e("#onetrust-policy-text");if(t===D.AfterTitle)n.insertAdjacentElement("beforeBegin",o);else if(t===D.AfterDescription)n.insertAdjacentElement("afterEnd",o);else if(t===D.AfterDPD){var r=e(".ot-dpd-container .ot-dpd-desc");ao.ChoicesBanner&&(r=e(this._otGrpContainerSelector)),r.insertAdjacentElement("beforeEnd",o)}},Ur.prototype.insertGrps=function(e){var u=e(".ot-cat-item").cloneNode(!0);to.removeChild(e(".ot-cat-item")),ao.BCategoryStyle===ce.Checkbox?to.removeChild(u.querySelector(".ot-tgl")):(to.removeChild(u.querySelector(".ot-chkbox")),ho(u).addClass("ot-cat-bdr"));var h=e(".ot-cat-lst ul");ao.Groups.forEach(function(e){var t=u.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!==Yt.indexOf(e.Type),l=Bo.getGrpStatus(e).toLowerCase()===st||a,c=jn.isGroupActive(e)||a;ho(o.querySelector("label")).attr("for",i),ho(o.querySelector(".ot-label-txt")).html(e.GroupName);var d=o.querySelector("input");l&&(ao.BCategoryStyle===ce.Toggle?(to.removeChild(o),t.insertAdjacentElement("beforeend",ho("<div class='ot-always-active'>"+ao.AlwaysActiveText+"</div>","ce").el)):ho(d).attr("disabled",!0)),d.classList.add("category-switch-handler"),jn.setInputID(d,i,r,c,s);var p=t.querySelector("h4");ho(p).html(n),ho(p).attr("id",s),ho(h).append(t)})},Ur.prototype.setBannerLogo=function(e,t){if(Qt.fp.CookieV2BannerLogo&&ao.BnrLogo){var o=t(ir),n="afterend";so.bannerName===bt&&(o=t("#onetrust-cookie-btn"),n="beforeend");var r=bo.updateCorrectUrl(ao.BnrLogo);ho(e).addClass("ot-bnr-w-logo"),ho(o).el.innerHTML="",o.insertAdjacentHTML(n,"<img class='ot-bnr-logo' src='"+r+"'\n title='"+ao.BnrLogoAria+"'\n alt='"+ao.BnrLogoAria+"'/>")}},Ur.prototype.setOptOutSignalNotification=function(e){var t=!0===navigator.globalPrivacyControl&&so.gpcForAGrpEnabled;ao.BShowOptOutSignal&&(t||so.previewMode)&&bo.createOptOutSignalElement(e,!1)},Ur);function Ur(){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"}var jr,zr=(Kr.prototype.setHeaderConfig=function(){jr.setHeader(),jr.setSearchInput(),jr.setHeaderUIConsent();var e=jr.getGroupsForFilter();Gr.setFilterListByGroup(e,!1)},Kr.prototype.filterVendorByString=function(e){jr.searchQuery=e,jr.filterVendorByGroupOrQuery()},Kr.prototype.filterVendorByGroup=function(e){jr.filterGroups=e,jr.filterVendorByGroupOrQuery()},Kr.prototype.showVSList=function(){jr.removeListeners(),jr.showEmptyResults(!1,""),jr.clearUIElementsInMain(),jr.addVSList(co.getVendorsInDomain())},Kr.prototype.showEmptyResults=function(e,t){if(e)this.setNoResultsContent(t);else{ho("#onetrust-pc-sdk "+To.P_Vendor_Content).removeClass("no-results");var o=ho("#onetrust-pc-sdk #no-results");o.length&&o.remove()}},Kr.prototype.setNoResultsContent=function(e){var t=ho("#onetrust-pc-sdk #no-results").el[0];if(!t){var o=document.createElement("div"),n=document.createElement("p"),r=document.createTextNode(" "+ao.PCVendorNotFound+"."),i=document.createElement("span");return o.id="no-results",i.id="user-text",i.innerText=e,n.appendChild(i),n.appendChild(r),o.appendChild(n),ho("#onetrust-pc-sdk "+To.P_Vendor_Content).addClass("no-results"),ho("#vendor-search-handler").el[0].setAttribute("aria-describedby",o.id),ho("#onetrust-pc-sdk "+To.P_Vendor_Content).append(o)}t.querySelector("span").innerText=e},Kr.prototype.getGroupsFilter=function(){for(var e=[],t=0,o=ho("#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},Kr.prototype.cancelFilter=function(){for(var e=0,t=ho("#onetrust-pc-sdk .category-filter-handler").el;e<t.length;e++){var o=t[e],n=o.getAttribute("data-optanongroupid"),r=0<=co.filterByCategories.indexOf(n);to.setCheckedAttribute(null,o,r)}var i=jr.getGroupsFilter();jr.filterVendorByGroup(i)},Kr.prototype.clearFilter=function(){jr.searchQuery="",jr.filterGroups=[]},Kr.prototype.toggleVendors=function(r){co.getVendorsInDomain().forEach(function(e,t){if(!Bo.isAlwaysActiveGroup(e.groupRef)){var o=document.getElementById("ot-vendor-id-"+t),n=document.getElementById("ot-vs-lst-id-"+t);er.toggleVendorService(e.groupRef.CustomGroupId,t,r,o),er.toggleVendorService(e.groupRef.CustomGroupId,t,r,n)}})},Kr.prototype.hideVendorList=function(){jr.removeListeners(),jr.clearUIElementsInMain()},Kr.prototype.addListeners=function(){ho("#onetrust-pc-sdk "+To.P_Vendor_Content+" .ot-vs-list .category-switch-handler").on("click",jr.toggleVendorHandler),ho("#onetrust-pc-sdk").on("click",".ot-vs-list",Wr.onCategoryItemToggle.bind(this))},Kr.prototype.removeListeners=function(){document.querySelectorAll("#onetrust-pc-sdk .ot-vs-list .category-switch-handler").forEach(function(e){return e.removeEventListener("click",Wr.toggleGroupORVendorHandler)});var e=document.querySelector("#onetrust-pc-sdk .ot-vs-list");null!=e&&e.removeEventListener("click",Wr.onCategoryItemToggle)},Kr.prototype.toggleVendorHandler=function(e){Wr.toggleVendorFromListHandler(e),jr.checkAllowAllCheckedValue()},Kr.prototype.filterVendorByGroupOrQuery=function(){var o=new Map;co.getVendorsInDomain().forEach(function(e,t){jr.checkVendorConditions(e)&&o.set(t,e)}),jr.showEmptyResults(o.size<=0,jr.searchQuery),jr.removeListeners(),jr.clearUIElementsInMain(),jr.addVSList(o)},Kr.prototype.checkVendorConditions=function(e){return!(""!==jr.searchQuery&&e.ServiceName.toLowerCase().indexOf(jr.searchQuery.toLowerCase())<0||0<jr.filterGroups.length&&jr.filterGroups.indexOf(e.groupRef.CustomGroupId)<0)},Kr.prototype.addVSList=function(e){var t=ho("#onetrust-pc-sdk "+To.P_Vendor_Content+" .ot-sdk-column"),o=er.getVendorListEle(e);t.append(o),jr.addListeners()},Kr.prototype.getGroupsForFilter=function(){var t=new Map;return co.getVendorsInDomain().forEach(function(e){t.has(e.groupRef.CustomGroupId)||t.set(e.groupRef.CustomGroupId,e.groupRef)}),Array.from(t.values())},Kr.prototype.clearUIElementsInMain=function(){ho("#onetrust-pc-sdk "+To.P_Vendor_Content+" ul"+To.P_Host_Cntr).html(""),ho("#onetrust-pc-sdk "+To.P_Vendor_Content+" ul"+To.P_Host_Cntr).hide(),ho("#onetrust-pc-sdk "+To.P_Vendor_Content+" ul"+To.P_Vendor_Container).html(""),ho("#onetrust-pc-sdk "+To.P_Vendor_Content+" ul"+To.P_Vendor_Container).hide();var e=ho("#onetrust-pc-sdk "+To.P_Vendor_Content+" .ot-vs-list");e&&e.length&&e.remove()},Kr.prototype.setHeader=function(){var e=ao.VendorServiceConfig.PCVSListTitle,t=document.querySelector("#onetrust-pc-sdk "+To.P_Vendor_Title);t&&(t.innerText=e)},Kr.prototype.setSearchInput=function(){var e=ao.PCenterCookieListSearch,t=ao.PCenterCookieSearchAriaLabel,o=ho("#onetrust-pc-sdk "+To.P_Vendor_Search_Input);o.el[0].placeholder=e,o.attr("aria-label",t)},Kr.prototype.setHeaderUIConsent=function(){var e;if(ho("#onetrust-pc-sdk "+To.P_Select_Cntr).addClass("ot-vnd-list-cnt"),ho("#onetrust-pc-sdk "+To.P_Select_Cntr+" .ot-sel-all").addClass("ot-vs-selc-all"),ao.PCCategoryStyle===ce.Toggle&&(ho("#onetrust-pc-sdk "+To.P_Select_Cntr+" .ot-sel-all").addClass("ot-toggle-conf"),ao.PCAccordionStyle===J.Caret&&ho("#onetrust-pc-sdk "+To.P_Select_Cntr+" .ot-sel-all").addClass("ot-caret-conf")),ho("#onetrust-pc-sdk "+To.P_Leg_Select_All).hide(),ho("#onetrust-pc-sdk #"+To.P_Sel_All_Host_El).hide(),ho("#onetrust-pc-sdk "+To.P_Host_Cntr).hide(),ho(To.P_Vendor_List+" #select-all-text-container").hide(),ho("#onetrust-pc-sdk #"+To.P_Sel_All_Vendor_Leg_El).hide(),ho("#onetrust-pc-sdk "+To.P_Vendor_Container).show(),ho("#onetrust-pc-sdk "+To.P_Select_Cntr).show(),ho("#onetrust-pc-sdk #"+To.P_Sel_All_Vendor_Consent_El).show("inline-block"),ho("#onetrust-pc-sdk "+To.P_Vendor_List).removeClass(To.P_Host_UI),ho("#onetrust-pc-sdk "+To.P_Vendor_Content).removeClass(To.P_Host_Cnt),!document.querySelector("#onetrust-pc-sdk .ot-sel-all-chkbox .sel-all-hdr")){var t=document.createElement("h4");t.className="sel-all-hdr",t.textContent=(null===(e=ao.VendorServiceConfig)||void 0===e?void 0:e.PCVSAllowAllText)||"PCVSAllowAllText";var o=document.querySelector("#onetrust-pc-sdk .ot-sel-all-chkbox"),n=ao.PCCategoryStyle===ce.Checkbox?"beforeend":"afterbegin";o.insertAdjacentElement(n,t)}jr.checkAllowAllCheckedValue()},Kr.prototype.checkAllowAllCheckedValue=function(){var t=!0;co.vsConsent.forEach(function(e){e||(t=!1)});var e=document.getElementById("#select-all-vendor-groups-handler");to.setCheckedAttribute(null,e,t)},Kr);function Kr(){this.searchQuery="",this.filterGroups=[]}var Wr,Jr=(Yr.prototype.initCookieSettingHandlers=function(){ho(document).on("click",".optanon-show-settings, .optanon-toggle-display, .ot-sdk-show-settings, .ot-pc-handler",this.cookiesSettingsBoundListener)},Yr.prototype.initFlgtCkStgBtnEventHandlers=function(){ho(".ot-floating-button__open").on("click",Wr.floatingCookieSettingOpenBtnClicked),ho(".ot-floating-button__close").on("click",Wr.floatingCookieSettingCloseBtnClicked)},Yr.prototype.floatingCookieSettingOpenBtnClicked=function(e){ho(Wr.fltgBtnSltr).addClass("ot-pc-open"),ao.cookiePersistentLogo.includes("ot_guard_logo.svg")&&ho(Wr.fltgBtnFSltr).attr(Ht,"true"),ho(Wr.fltgBtnBSltr).attr(Ht,""),ho(Wr.fltgBtnFrontBtn).el[0].setAttribute(Ht,!0),ho(Wr.fltgBtnBackBtn).el[0].setAttribute(Dt,ao.AriaClosePreferences),ho(Wr.fltgBtnBackBtn).el[0].setAttribute(Ht,!1),nn.triggerGoogleAnalyticsEvent(cn,mn),Wr.showCookieSettingsHandler(e)},Yr.prototype.floatingCookieSettingCloseBtnClicked=function(e){ho(Wr.fltgBtnFrontBtn).el[0].setAttribute(Dt,ao.AriaOpenPreferences),ho(Wr.fltgBtnFrontBtn).el[0].setAttribute(Ht,!1),ho(Wr.fltgBtnBackBtn).el[0].setAttribute(Ht,!0),e&&(nn.triggerGoogleAnalyticsEvent(cn,bn),Wr.hideCookieSettingsHandler(e))},Yr.prototype.initialiseLegIntBtnHandlers=function(){ho(document).on("click",".ot-obj-leg-btn-handler",Wr.onLegIntButtonClick),ho(document).on("click",".ot-remove-objection-handler",Wr.onLegIntButtonClick)},Yr.prototype.initialiseAddtlVenHandler=function(){ho("#onetrust-pc-sdk #ot-addtl-venlst").on("click",Wr.selectVendorsGroupHandler),ho("#onetrust-pc-sdk #ot-selall-adtlven-handler").on("click",Wr.selAllAdtlVenHandler)},Yr.prototype.initializeGenVenHandlers=function(){ho("#onetrust-pc-sdk #ot-gn-venlst .ot-gnven-chkbox-handler").on("click",Wr.genVendorToggled),ho("#onetrust-pc-sdk #ot-gn-venlst .ot-gv-venbox").on("click",Wr.genVendorDetails),ho("#onetrust-pc-sdk #ot-selall-gnven-handler").on("click",Wr.selectAllGenVenHandler)},Yr.prototype.initialiseConsentNoticeHandlers=function(){var e=this,t=37,o=39;so.pcName===Et&&Wr.categoryMenuSwitchHandler(),ho("#onetrust-pc-sdk .onetrust-close-btn-handler").on("click",Wr.bannerCloseButtonHandler),ho("#onetrust-pc-sdk #accept-recommended-btn-handler").on("click",Xr.allowAllEventHandler.bind(this,!0)),ho("#onetrust-pc-sdk .ot-pc-refuse-all-handler").on("click",Xr.rejectAllEventHandler.bind(this,!0)),ho("#onetrust-pc-sdk #close-pc-btn-handler").on("click",Wr.hideCookieSettingsHandler),Wr.closePCWhenEscPressed(),ho("#onetrust-pc-sdk #vendor-close-pc-btn-handler").on("click",Wr.hideCookieSettingsHandler),ho("#onetrust-pc-sdk .category-switch-handler").on("click",Wr.toggleGroupORVendorHandler),ho("#onetrust-pc-sdk .cookie-subgroup-handler").on("click",Wr.toggleSubCategory),ho("#onetrust-pc-sdk .category-menu-switch-handler").on("keydown",function(e){so.pcName===Et&&(e.keyCode!==t&&e.keyCode!==o||(ao.PCTemplateUpgrade?Wr.changeSelectedTabV2(e):Wr.changeSelectedTab(e)))}),ho("#onetrust-pc-sdk").on("click",To.P_Category_Item+" > input:first-child,"+To.P_Category_Item+" > button:first-child",Wr.onCategoryItemToggle.bind(this)),(ao.showCookieList||co.showGeneralVendors)&&(ho("#onetrust-pc-sdk .category-host-list-handler").on("click",function(e){co.showGeneralVendors&&ao.showCookieList?co.cookieListType=Z.HostAndGenVen:co.showGeneralVendors?co.cookieListType=Z.GenVen:co.cookieListType=Z.Host,Wr.pcLinkSource=e.target,Wr.loadCookieList(e.target)}),bo.isOptOutEnabled()?(ho("#onetrust-pc-sdk #select-all-hosts-groups-handler").on("click",Wr.selectAllHostsGroupsHandler),ho("#onetrust-pc-sdk "+To.P_Host_Cntr).on("click",Wr.selectHostsGroupHandler)):ho("#onetrust-pc-sdk "+To.P_Host_Cntr).on("click",Wr.toggleAccordionStatus)),Wr.addListenerWhenIabEnabled(),Wr.addEventListenerWhenIsHostOrVendorsAreEnabled(),Wr.adddListenerWhenNoBanner(),ho("#onetrust-pc-sdk .ot-gv-list-handler").on("click",function(t){return u(e,void 0,void 0,function(){return g(this,function(e){return co.cookieListType=Z.GenVen,Wr.loadCookieList(t.target),[2]})})}),Wr.addListenerWhenVendorServices()},Yr.prototype.closePCWhenEscPressed=function(){ho(document).on("keydown",function(e){var t=document.getElementById(Wr.pcSDKSelector),o="none"!==window.getComputedStyle(t).display;if(27===e.keyCode&&t&&o){var n=ho("#onetrust-pc-sdk "+To.P_Fltr_Modal).el[0];"block"===n.style.display||"0px"<n.style.width?(Wr.closeFilter(),ho("#onetrust-pc-sdk #filter-btn-handler").focus()):ao.NoBanner&&!ao.ShowPreferenceCenterCloseButton||Wr.hideCookieSettingsHandler(),Wr.confirmPC()}(o&&32===e.keyCode||"Space"===e.code||13===e.keyCode||"Enter"===e.code)&&bo.findUserType(e)})},Yr.prototype.addEventListenerWhenIsHostOrVendorsAreEnabled=function(){if(ao.IsIabEnabled||ao.showCookieList||co.showGeneralVendors||co.showVendorService){ho(document).on("click",".back-btn-handler",Wr.backBtnHandler),Wr.addListenerSearchKeyEvent(),ho("#onetrust-pc-sdk #filter-btn-handler").on("click",Wr.toggleVendorFiltersHandler),ho("#onetrust-pc-sdk #filter-apply-handler").on("click",Wr.applyFilterHandler),ho("#onetrust-pc-sdk "+To.P_Fltr_Modal).on("click",Wr.tglFltrOptionHandler),!Qt.isV2Template&&so.pcName!==_t||ho("#onetrust-pc-sdk #filter-cancel-handler").on("click",Wr.cancelFilterHandler),!Qt.isV2Template&&so.pcName===_t||ho("#onetrust-pc-sdk #clear-filters-handler").on("click",Wr.clearFiltersHandler),Qt.isV2Template?ho("#onetrust-pc-sdk #filter-cancel-handler").on("keydown",function(e){9!==e.keyCode&&"tab"!==e.code||e.shiftKey||(e.preventDefault(),ho("#onetrust-pc-sdk #clear-filters-handler").el[0].focus())}):ho("#onetrust-pc-sdk #filter-apply-handler").on("keydown",function(e){9!==e.keyCode&&"tab"!==e.code||e.shiftKey||(e.preventDefault(),ho("#onetrust-pc-sdk .category-filter-handler").el[0].focus())});var e=ho("#onetrust-pc-sdk .category-filter-handler").el;ho(e[0]).on("keydown",function(e){9!==e.keyCode&&"tab"!==e.code||!e.shiftKey||(e.preventDefault(),ho("#onetrust-pc-sdk #filter-apply-handler").el[0].focus())})}},Yr.prototype.addListenerSearchKeyEvent=function(){ho(Wr.VENDOR_SEARCH_SELECTOR).on("keyup",function(e){var t=e.target.value.trim();Wr.currentSearchInput!==t&&(co.showVendorService?jr.filterVendorByString(t):Wr.isCookieList?(Xn.searchHostList(t),co.showTrackingTech&&Wr.addEventAdditionalTechnologies()):(Xn.loadVendorList(t,[]),ao.UseGoogleVendors&&Xn.searchVendors(Xn.googleSearchSelectors,co.addtlVendorsList,ie.GoogleVendor,t),co.showGeneralVendors&&ao.GeneralVendors.length&&Xn.searchVendors(Xn.genVendorSearchSelectors,ao.GeneralVendors,ie.GeneralVendor,t)),Xn.playSearchStatus(Wr.isCookieList),Wr.currentSearchInput=t)})},Yr.prototype.addListenerWhenIabEnabled=function(){ao.IsIabEnabled&&(ho("#onetrust-pc-sdk .category-vendors-list-handler").on("click",function(e){Wr.pcLinkSource=e.target,Wr.showVendorsList(e.target)}),ho("#onetrust-pc-sdk "+To.P_Vendor_Container).on("click",Wr.selectVendorsGroupHandler),ao.UseGoogleVendors||Wr.bindSelAllHandlers(),Wr.initialiseLegIntBtnHandlers())},Yr.prototype.adddListenerWhenNoBanner=function(){ao.NoBanner&&(ao.OnClickCloseBanner&&document.body.addEventListener("click",Xr.bodyClickEvent),ao.ScrollCloseBanner&&window.addEventListener("scroll",Xr.scrollCloseBanner))},Yr.prototype.addListenerWhenVendorServices=function(){co.showVendorService&&(Wr.bindSelAllHandlers(),ho("#onetrust-pc-sdk .onetrust-vendors-list-handler").on("click",function(){return Wr.showVendorsList(null,!0)}))},Yr.prototype.bindSelAllHandlers=function(){ho("#onetrust-pc-sdk #select-all-vendor-leg-handler").on("click",Wr.selectAllVendorsLegIntHandler),ho("#onetrust-pc-sdk #select-all-vendor-groups-handler").on("click",Wr.SelectAllVendorConsentHandler)},Yr.prototype.hideCookieSettingsHandler=function(e){return void 0===e&&(e=window.event),nn.triggerGoogleAnalyticsEvent(cn,gn),gr.removeAddedOTCssStyles(ur.PC),Ir.hideConsentNoticeV2(),Wr.getResizeElement().removeEventListener("resize",Wr.setCenterLayoutFooterHeight),window.removeEventListener("resize",Wr.setCenterLayoutFooterHeight),!Qt.isV2Template&&so.pcName!==_t||Wr.closeFilter(!1),so.pcName===It&&ho("#onetrust-pc-sdk "+To.P_Content).removeClass("ot-hide"),Xr.hideVendorsList(),an.csBtnGroup&&(ho(Wr.fltgBtnSltr).removeClass("ot-pc-open"),Wr.floatingCookieSettingCloseBtnClicked(null)),Wr.confirmPC(e),Xr.resetConsent(),!1},Yr.prototype.selectAllHostsGroupsHandler=function(e){var t=e.target.checked,o=ho("#onetrust-pc-sdk #"+To.P_Sel_All_Host_El).el[0],n=o.classList.contains("line-through"),r=ho("#onetrust-pc-sdk .host-checkbox-handler").el;to.setCheckedAttribute("#select-all-hosts-groups-handler",null,t);for(var i=0;i<r.length;i++)r[i].getAttribute("disabled")||to.setCheckedAttribute(null,r[i],t);co.optanonHostList.forEach(function(e){Xo.updateHostStatus(e,t)}),r.forEach(function(e){Wo.updateGenVendorStatus(e.getAttribute("hostId"),t)}),n&&o.classList.remove("line-through")},Yr.prototype.selectHostsGroupHandler=function(e){Wr.toggleAccordionStatus(e);var t=e.target.getAttribute("hostId"),o=e.target.getAttribute("ckType"),n=e.target.checked;if(null!==t){if(o===Q.GenVendor){var r=ao.GeneralVendors.find(function(e){return e.VendorCustomId===t}).Name;nn.triggerGoogleAnalyticsEvent(cn,n?Tn:An,r+": VEN_"+t),Wo.updateGenVendorStatus(t,n)}else{var i=to.findIndex(co.optanonHostList,function(e){return e.HostId===t}),s=co.optanonHostList[i];Wr.toggleHostStatus(s,n)}to.setCheckedAttribute(null,e.target,n)}},Yr.prototype.onCategoryItemToggle=function(e){e.stopPropagation();var t=e.target;"BUTTON"!==t.tagName&&"INPUT"!==t.tagName||(so.pcName===It&&this.setPcListContainerHeight(),Wr.toggleAccordionStatus(e))},Yr.prototype.toggleAccordionStatus=function(e){var t=e.target;if(t&&t.getAttribute("aria-expanded")){var o="true"===t.getAttribute("aria-expanded")?"false":"true";t.setAttribute("aria-expanded",o)}},Yr.prototype.toggleHostStatus=function(e,t){nn.triggerGoogleAnalyticsEvent(cn,t?In:Ln,e.HostName+": H_"+e.HostId),Xo.updateHostStatus(e,t)},Yr.prototype.toggleBannerOptions=function(e){ho(".banner-option-input").each(function(e){ho(e).el.setAttribute("aria-expanded",!1)}),Wr.toggleAccordionStatus(e)},Yr.prototype.bannerCloseButtonHandler=function(e){if(ho(document).off("keydown",Wr.shiftBannerFocus),e&&e.target&&e.target.className){var t=e.target.className;if(-1<t.indexOf("save-preference-btn-handler"))co.bannerCloseSource=m.ConfirmChoiceButton,nn.triggerGoogleAnalyticsEvent(cn,vn);else if(-1<t.indexOf("banner-close-button")){co.bannerCloseSource=m.BannerCloseButton;var o=pn;-1<t.indexOf("ot-close-link")&&(o=un,co.bannerCloseSource=m.ContinueWithoutAcceptingButton),nn.triggerGoogleAnalyticsEvent(cn,o)}else-1<t.indexOf("ot-bnr-save-handler")&&(co.bannerCloseSource=m.BannerSaveSettings,nn.triggerGoogleAnalyticsEvent(cn,hn))}return gr.removeAddedOTCssStyles(),Xr.hideVendorsList(),Xr.bannerCloseButtonHandler()},Yr.prototype.onLegIntButtonClick=function(e){if(e){var t=e.currentTarget,o="true"===t.parentElement.getAttribute("is-vendor"),n=t.parentElement.getAttribute("data-group-id"),r=!t.classList.contains("ot-leg-int-enabled");if(o)Wr.onVendorToggle(n,R.LI);else{var i=Bo.getGroupById(n);i.Parent?Wr.updateSubGroupToggles(i,r,!0):Wr.updateGroupToggles(i,r,!0)}jn.updateLegIntBtnElement(t.parentElement,r)}},Yr.prototype.updateGroupToggles=function(t,o,e){Xo.toggleGroupHosts(t,o),co.genVenOptOutEnabled&&Xo.toggleGroupGenVendors(t,o),t.IsLegIntToggle=e,jn.toggleGrpStatus(t,o),t.SubGroups&&t.SubGroups.length&&(so.bannerName===Pt&&Qt.moduleInitializer.IsSuppressPC&&t.SubGroups.length?t.SubGroups.forEach(function(e){e.IsLegIntToggle=t.IsLegIntToggle,jn.toggleGrpStatus(e,o),e.IsLegIntToggle=!1,Xo.toggleGroupHosts(e,o),co.genVenOptOutEnabled&&Xo.toggleGroupGenVendors(e,o),er.setVendorStateByGroup(e,o)}):jn.toogleAllSubGrpElements(t,o),t.SubGroups.forEach(function(e){return er.setVendorStateByGroup(e,o)})),er.setVendorStateByGroup(t,o),this.allowAllVisible(jn.setAllowAllButton()),t.IsLegIntToggle=!1},Yr.prototype.updateSubGroupToggles=function(e,t,o){Xo.toggleGroupHosts(e,t),co.genVenOptOutEnabled&&Xo.toggleGroupGenVendors(e,t);var n=Bo.getGroupById(e.Parent);e.IsLegIntToggle=o,n.IsLegIntToggle=e.IsLegIntToggle;var r=jn.isGroupActive(n);t?(jn.toggleGrpStatus(e,!0),jn.isAllSubgroupsEnabled(n)&&!r&&(jn.toggleGrpStatus(n,!0),Xo.toggleGroupHosts(n,t),co.genVenOptOutEnabled&&Xo.toggleGroupGenVendors(n,t),jn.toggleGroupHtmlElement(e,e.Parent+(e.IsLegIntToggle?"-leg-out":""),!0))):(jn.toggleGrpStatus(e,!1),jn.isAllSubgroupsDisabled(n)&&r?(jn.toggleGrpStatus(n,!1),Xo.toggleGroupHosts(n,t),co.genVenOptOutEnabled&&Xo.toggleGroupGenVendors(n,t),jn.toggleGroupHtmlElement(e,e.Parent+(e.IsLegIntToggle?"-leg-out":""),t)):(jn.toggleGrpStatus(n,!1),Xo.toggleGroupHosts(n,!1),co.genVenOptOutEnabled&&Xo.toggleGroupGenVendors(n,t),jn.toggleGroupHtmlElement(e,e.Parent+(e.IsLegIntToggle?"-leg-out":""),!1))),this.allowAllVisible(jn.setAllowAllButton()),e.IsLegIntToggle=!1,n.IsLegIntToggle=e.IsLegIntToggle},Yr.prototype.hideCategoryContainer=function(e){void 0===e&&(e=!1);var t=so.pcName;this.isCookieList=e,ao.PCTemplateUpgrade?ho("#onetrust-pc-sdk "+To.P_Content).addClass("ot-hide"):ho("#onetrust-pc-sdk .ot-main-content").hide(),ho("#onetrust-pc-sdk "+To.P_Vendor_List).removeClass("ot-hide"),t!==_t&&t!==It&&ho("#onetrust-pc-sdk #close-pc-btn-handler.main").hide(),t===It&&$t(ho("#onetrust-pc-sdk").el[0],'height: "";',!0),co.showVendorService?jr.setHeaderConfig():(e?Wr.setCookieListTemplate():Wr.setVendorListTemplate(),Gr.setFilterList(e))},Yr.prototype.setCookieListTemplate=function(){var e=Qt.isV2Template;ho(To.P_Vendor_List+" #select-all-text-container").show("inline-block"),ho("#onetrust-pc-sdk "+To.P_Host_Cntr).show(),bo.isOptOutEnabled()?ho("#onetrust-pc-sdk #"+To.P_Sel_All_Host_El).show("inline-block"):ho("#onetrust-pc-sdk #"+To.P_Sel_All_Host_El).hide(),ho("#onetrust-pc-sdk #"+To.P_Sel_All_Vendor_Leg_El).hide(),ho("#onetrust-pc-sdk "+To.P_Leg_Header).hide(),e||ho("#onetrust-pc-sdk "+To.P_Leg_Select_All).hide(),ho("#onetrust-pc-sdk #"+To.P_Sel_All_Vendor_Consent_El).hide(),ho("#onetrust-pc-sdk "+To.P_Vendor_Container).hide(),(ao.UseGoogleVendors||co.showGeneralVendors)&&ho("#onetrust-pc-sdk .ot-acc-cntr").hide(),ho("#onetrust-pc-sdk "+To.P_Vendor_List).addClass(To.P_Host_UI),ho("#onetrust-pc-sdk "+To.P_Vendor_Content).addClass(To.P_Host_Cnt)},Yr.prototype.setVendorListTemplate=function(){ho("#onetrust-pc-sdk "+To.P_Vendor_Container).show(),ho("#onetrust-pc-sdk #"+To.P_Sel_All_Vendor_Consent_El).show("inline-block"),ao.UseGoogleVendors&&ho("#onetrust-pc-sdk .ot-acc-cntr").show(),so.legIntSettings.PAllowLI&&"IAB2"===so.iabType?(ho("#onetrust-pc-sdk "+To.P_Select_Cntr).show(Qt.isV2Template?void 0:"inline-block"),ho("#onetrust-pc-sdk "+To.P_Leg_Select_All).show("inline-block"),ho("#onetrust-pc-sdk #"+To.P_Sel_All_Vendor_Leg_El).show("inline-block"),ho(To.P_Vendor_List+" #select-all-text-container").hide(),so.legIntSettings.PShowLegIntBtn?(ho("#onetrust-pc-sdk "+To.P_Leg_Header).hide(),ho("#onetrust-pc-sdk #"+To.P_Sel_All_Vendor_Leg_El).hide()):ho("#onetrust-pc-sdk "+To.P_Leg_Header).show()):(ho("#onetrust-pc-sdk "+To.P_Select_Cntr).show(),ho(To.P_Vendor_List+" #select-all-text-container").show("inline-block"),ho("#onetrust-pc-sdk "+To.P_Leg_Select_All).hide(),ho("#onetrust-pc-sdk #"+To.P_Sel_All_Vendor_Leg_El).hide()),ho("#onetrust-pc-sdk #"+To.P_Sel_All_Host_El).hide(),ho("#onetrust-pc-sdk "+To.P_Host_Cntr).hide(),ho("#onetrust-pc-sdk "+To.P_Vendor_List).removeClass(To.P_Host_UI),ho("#onetrust-pc-sdk "+To.P_Vendor_Content).removeClass(To.P_Host_Cnt)},Yr.prototype.showAllVendors=function(t){return u(this,void 0,void 0,function(){return g(this,function(e){switch(e.label){case 0:return[4,Wr.fetchAndSetupPC()];case 1:return e.sent(),Wr.showVendorsList(null,!0),co.isPCVisible?[3,3]:[4,Wr.showCookieSettingsHandler(t)];case 2:e.sent(),e.label=3;case 3:return[2]}})})},Yr.prototype.fetchAndSetupPC=function(){return u(this,void 0,void 0,function(){var t,o,n;return g(this,function(e){switch(e.label){case 0:return Qt.moduleInitializer.IsSuppressPC&&0===ho("#onetrust-pc-sdk").length?[4,vo.getPcContent()]:[3,2];case 1:t=e.sent(),an.preferenceCenterGroup={name:t.name,html:atob(t.html),css:t.css},Qt.isV2Template=ao.PCTemplateUpgrade&&/otPcPanel|otPcCenter|otPcTab/.test(t.name),(o=document.getElementById("onetrust-style")).innerHTML+=an.preferenceCenterGroup.css,o.innerHTML+=Hr.addCustomPreferenceCenterCSS(),nr.insertPcHtml(),Wr.initialiseConsentNoticeHandlers(),ao.IsIabEnabled&&Xn.InitializeVendorList(),e.label=2;case 2:return 0!==ho("#onetrust-pc-sdk").length&&ao.PCTemplateUpgrade&&(n=document.querySelector("#onetrust-pc-sdk .ot-optout-signal"),nr.setOptOutSignalVisibility(n)),[2]}})})},Yr.prototype.setVendorContent=function(){ho("#onetrust-pc-sdk #filter-count").text(co.filterByIABCategories.length.toString()),Xn.loadVendorList("",co.filterByIABCategories),ao.UseGoogleVendors&&(co.vendorDomInit?Xn.resetAddtlVendors():(Xn.initGoogleVendors(),ho("#onetrust-pc-sdk").on("click",".ot-acc-cntr > button",Wr.toggleAccordionStatus.bind(this)))),co.vendorDomInit||(co.vendorDomInit=!0,Wr.initialiseLegIntBtnHandlers(),ao.UseGoogleVendors&&(Wr.initialiseAddtlVenHandler(),Wr.bindSelAllHandlers())),co.showGeneralVendors&&!co.genVendorDomInit&&(co.genVendorDomInit=!0,Xn.initGenVendors(),Wr.initializeGenVenHandlers(),ao.UseGoogleVendors||(Wr.bindSelAllHandlers(),ho("#onetrust-pc-sdk").on("click",".ot-acc-cntr > button",Wr.toggleAccordionStatus.bind(this))))},Yr.prototype.addEventAdditionalTechnologies=function(){var e=document.querySelectorAll("#onetrust-pc-sdk .ot-acc-cntr.ot-add-tech > button");0<e.length&&(ho(e).off("click",Wr.toggleAccordionStatus),ho(e).on("click",Wr.toggleAccordionStatus))},Yr.prototype.showVendorsList=function(e,t){if(void 0===t&&(t=!1),co.cookieListType=null,Wr.hideCategoryContainer(!1),gr.addOTCssPropertiesToBody(ur.PC,{}),co.showVendorService)jr.showVSList();else{if(!t){var o=e.getAttribute("data-parent-id");if(o){var n=Bo.getGroupById(o);if(n){var r=b(n.SubGroups,[n]).reduce(function(e,t){return-1<Kt.indexOf(t.Type)&&e.push(t.CustomGroupId),e},[]);co.filterByIABCategories=b(co.filterByIABCategories,r)}}}Wr.setVendorContent(),Wn.updateFilterSelection(!1)}return co.pcLayer=O.VendorList,e&&qn.setPCFocus(qn.getPCElements()),this.setSearchInputFocus(),!1},Yr.prototype.loadCookieList=function(e){co.filterByCategories=[],Wr.hideCategoryContainer(!0);var t=e&&e.getAttribute("data-parent-id");if(t){var o=Bo.getGroupById(t);co.filterByCategories.push(t),o.SubGroups.length&&o.SubGroups.forEach(function(e){if(-1===Kt.indexOf(e.Type)){var t=e.CustomGroupId;co.filterByCategories.indexOf(t)<0&&co.filterByCategories.push(t)}})}return Xn.loadHostList("",co.filterByCategories),co.showTrackingTech&&Wr.addEventAdditionalTechnologies(),ho("#onetrust-pc-sdk #filter-count").text(co.filterByCategories.length.toString()),Wn.updateFilterSelection(!0),co.pcLayer=O.CookieList,qn.setPCFocus(qn.getPCElements()),this.setSearchInputFocus(),!1},Yr.prototype.selectAllVendorsLegIntHandler=function(e){var t=ho("#onetrust-pc-sdk #"+To.P_Sel_All_Vendor_Leg_El).el[0],o=t.classList.contains("line-through"),n=ho(To.P_Vendor_Container+' li:not([style="display: none;"]) .vendor-leg-checkbox-handler').el,r=e.target.checked,i={};co.vendors.selectedLegIntVendors.map(function(e,t){i[e.split(":")[0]]=t});for(var s=0;s<n.length;s++){to.setCheckedAttribute(null,n[s],r),ao.PCShowConsentLabels&&(n[s].parentElement.querySelector(".ot-label-status").innerHTML=r?ao.PCActiveText:ao.PCInactiveText);var a=n[s].getAttribute("leg-vendorid"),l=i[a];void 0===l&&(l=a),co.vendors.selectedLegIntVendors[l]=a+":"+r}o&&t.classList.remove("line-through"),to.setCheckedAttribute(null,e.target,r)},Yr.prototype.selAllAdtlVenHandler=function(e){for(var t=ho("#onetrust-pc-sdk #ot-selall-adtlvencntr").el[0],o=t.classList.contains("line-through"),n=ho("#onetrust-pc-sdk .ot-addtlven-chkbox-handler").el,r=e.target.checked,i=0;i<n.length;i++)to.setCheckedAttribute(null,n[i],r),ao.PCShowConsentLabels&&(n[i].parentElement.querySelector(".ot-label-status").innerHTML=r?ao.PCActiveText:ao.PCInactiveText);r?ao.UseGoogleVendors&&Object.keys(co.addtlVendorsList).forEach(function(e){co.addtlVendors.vendorSelected[e]=!0}):co.addtlVendors.vendorSelected={},o&&t.classList.remove("line-through")},Yr.prototype.selectAllGenVenHandler=function(e){var t=e.target.checked;Wr.selectAllHandler({selAllEl:"#onetrust-pc-sdk #ot-selall-gnvencntr",vendorBoxes:"#onetrust-pc-sdk .ot-gnven-chkbox-handler"},"genven",t)},Yr.prototype.selectAllHandler=function(e,t,o){for(var n=ho(e.selAllEl).el[0],r=n.classList.contains("line-through"),i=ho(e.vendorBoxes).el,s=0;s<i.length;s++)"genven"===t&&!o&&co.alwaysActiveGenVendors.includes(i[s].getAttribute("gn-vid"))?(to.setDisabledAttribute(null,i[s],!0),to.setCheckedAttribute(null,i[s],!0)):to.setCheckedAttribute(null,i[s],o),ao.PCShowConsentLabels&&(i[s].parentElement.querySelector(".ot-label-status").innerHTML=o?ao.PCActiveText:ao.PCInactiveText);o?"googleven"===t&&ao.UseGoogleVendors?Object.keys(co.addtlVendorsList).forEach(function(e){co.addtlVendors.vendorSelected[e]=!0}):"genven"===t&&co.showGeneralVendors&&ao.GeneralVendors.forEach(function(e){co.genVendorsConsent[e.VendorCustomId]=!0}):"googleven"===t?co.addtlVendors.vendorSelected={}:(co.genVendorsConsent={},co.alwaysActiveGenVendors.forEach(function(e){co.genVendorsConsent[e]=!0})),r&&n.classList.remove("line-through")},Yr.prototype.SelectAllVendorConsentHandler=function(e){var t=e.target.checked;if(co.showVendorService)jr.toggleVendors(t);else{var o=ho("#onetrust-pc-sdk #"+To.P_Sel_All_Vendor_Consent_El).el[0],n=o.classList.contains("line-through"),r=ho(To.P_Vendor_Container+' li:not([style="display: none;"]) .vendor-checkbox-handler').el,i={};co.vendors.selectedVendors.map(function(e,t){i[e.split(":")[0]]=t});for(var s=0;s<r.length;s++){to.setCheckedAttribute(null,r[s],t),ao.PCShowConsentLabels&&(r[s].parentElement.querySelector(".ot-label-status").innerHTML=t?ao.PCActiveText:ao.PCInactiveText);var a=r[s].getAttribute("vendorid"),l=i[a];void 0===l&&(l=a),co.vendors.selectedVendors[l]=a+":"+t}n&&o.classList.remove("line-through")}to.setCheckedAttribute(null,e.target,t)},Yr.prototype.onVendorToggle=function(n,e){var t=co.vendors,o=co.addtlVendors,r=e===R.LI?t.selectedLegIntVendors:e===R.AddtlConsent?[]:t.selectedVendors,i=!1,s=Number(n);r.some(function(e,t){var o=e.split(":");if(o[0]===n)return s=t,i="true"===o[1],!0}),e===R.LI?(nn.triggerGoogleAnalyticsEvent(cn,i?wn:On,t.list.find(function(e){return e.vendorId===n}).vendorName+": IABV2_"+n),t.selectedLegIntVendors[s]=n+":"+!i,so.legIntSettings.PShowLegIntBtn||Xn.vendorLegIntToggleEvent()):e===R.AddtlConsent?(o.vendorSelected[n]?delete o.vendorSelected[n]:o.vendorSelected[n]=!0,Xn.venAdtlSelAllTglEvent()):(nn.triggerGoogleAnalyticsEvent(cn,i?Bn:Vn,t.list.find(function(e){return e.vendorId===n}).vendorName+": IABV2_"+n),t.selectedVendors[s]=n+":"+!i,Xn.vendorsListEvent())},Yr.prototype.onVendorDisclosure=function(n){return u(this,void 0,void 0,function(){var t,o;return g(this,function(e){switch(e.label){case 0:return(t=co.discVendors)[n].isFetched?[3,2]:(t[n].isFetched=!0,[4,vo.getStorageDisclosure(t[n].disclosureUrl)]);case 1:o=e.sent(),Xn.updateVendorDisclosure(n,o),e.label=2;case 2:return[2]}})})},Yr.prototype.tglFltrOptionHandler=function(e){e&&e.target.classList.contains("category-filter-handler")&&to.setCheckedAttribute(null,e.target,e.target.checked)},Yr.prototype.selectVendorsGroupHandler=function(e){Wr.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?Wr.onVendorToggle(t,R.LI):o?Wr.onVendorToggle(o,R.Consent):n&&Wr.onVendorToggle(n,R.AddtlConsent),r&&Wr.onVendorDisclosure(r),(t||o||n)&&(to.setCheckedAttribute(null,e.target,e.target.checked),ao.PCShowConsentLabels&&(e.target.parentElement.querySelector(".ot-label-status").innerHTML=e.target.checked?ao.PCActiveText:ao.PCInactiveText))},Yr.prototype.toggleVendorFiltersHandler=function(){var e=!1,t=ho("#onetrust-pc-sdk "+To.P_Fltr_Modal).el[0];switch(so.pcName){case Lt:case At:case It:case Et:if(e="block"===t.style.display)Wr.closeFilter();else{var o=ho("#onetrust-pc-sdk "+To.P_Triangle).el[0];ho(o).attr("style","display: block;"),ho(t).attr("style","display: block;");var n=Array.prototype.slice.call(t.querySelectorAll("[href], input, button"));qn.setPCFocus(n)}break;case _t:896<window.innerWidth||896<window.screen.height?$t(t,"width: 400px;",!0):$t(t,"height: 100%; width: 100%;"),t.querySelector(".ot-checkbox input").focus();break;default:return}Qt.isV2Template&&!e&&(ho("#onetrust-pc-sdk").addClass("ot-shw-fltr"),ho("#onetrust-pc-sdk .ot-fltr-scrlcnt").el[0].scrollTop=0)},Yr.prototype.clearFiltersHandler=function(){Wr.setAriaLabelforButtonInFilter(ao.PCenterFilterClearedAria);for(var e=ho("#onetrust-pc-sdk "+To.P_Fltr_Modal+" input").el,t=0;t<e.length;t++)to.setCheckedAttribute(null,e[t],!1);Wr.isCookieList?co.filterByCategories=[]:co.filterByIABCategories=[]},Yr.prototype.cancelFilterHandler=function(){co.showVendorService?jr.cancelFilter():Wr.isCookieList?Wn.cancelHostFilter():Xn.cancelVendorFilter(),Wr.closeFilter(),ho("#onetrust-pc-sdk #filter-btn-handler").focus()},Yr.prototype.applyFilterHandler=function(){var e;Wr.setAriaLabelforButtonInFilter(ao.PCenterFilterAppliedAria),co.showVendorService?(e=jr.getGroupsFilter(),jr.filterVendorByGroup(e)):Wr.isCookieList?(e=Wn.updateHostFilterList(),Xn.loadHostList("",e),co.showTrackingTech&&Wr.addEventAdditionalTechnologies()):(e=Xn.updateVendorFilterList(),Xn.loadVendorList("",e)),ho("#onetrust-pc-sdk #filter-count").text(String(e.length)),Wr.closeFilter(),ho("#onetrust-pc-sdk #filter-btn-handler").focus()},Yr.prototype.setAriaLabelforButtonInFilter=function(e){var t=co.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(co.isPCVisible?o=document.getElementById(Wr.pcSDKSelector):document.getElementById(Wr.bannerSelector)&&(o=document.getElementById(Wr.bannerSelector)),!o)return;o.appendChild(t)}t.setAttribute("aria-atomic","true"),t.setAttribute("aria-relevant","additions"),t.setAttribute("aria-live","assertive"),t.setAttribute(Dt,e),Wr.timeCallback&&clearTimeout(Wr.timeCallback),Wr.timeCallback=setTimeout(function(){Wr.timeCallback=null,t.setAttribute(Dt,"")},900)},Yr.prototype.setPcListContainerHeight=function(){ho("#onetrust-pc-sdk "+To.P_Content).el[0].classList.contains("ot-hide")?$t(ho("#onetrust-pc-sdk").el[0],'height: "";',!0):setTimeout(function(){var e=window.innerHeight;768<=window.innerWidth&&600<=window.innerHeight&&(e=.8*window.innerHeight),!ho("#onetrust-pc-sdk "+To.P_Content).el[0].scrollHeight||ho("#onetrust-pc-sdk "+To.P_Content).el[0].scrollHeight>=e?$t(ho("#onetrust-pc-sdk").el[0],"height: "+e+"px;",!0):$t(ho("#onetrust-pc-sdk").el[0],"height: auto;",!0)})},Yr.prototype.changeSelectedTab=function(e){var t,o=ho("#onetrust-pc-sdk .category-menu-switch-handler"),n=0,r=ho(o.el[0]);o.each(function(e,t){ho(e).el.classList.contains(To.P_Active_Menu)&&(n=t,ho(e).el.classList.remove(To.P_Active_Menu),r=ho(e))}),e.keyCode===G.RightArrow?t=n+1>=o.el.length?ho(o.el[0]):ho(o.el[n+1]):e.keyCode===G.LeftArrow&&(t=ho(n-1<0?o.el[o.el.length-1]:o.el[n-1])),this.tabMenuToggle(t,r)},Yr.prototype.changeSelectedTabV2=function(e){var t,o=e.target.parentElement;e.keyCode===G.RightArrow?t=o.nextElementSibling||o.parentElement.firstChild:e.keyCode===G.LeftArrow&&(t=o.previousElementSibling||o.parentElement.lastChild);var n=t.querySelector(".category-menu-switch-handler");n.focus(),this.groupTabClick(n)},Yr.prototype.categoryMenuSwitchHandler=function(){for(var t=this,e=ho("#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})},Yr.prototype.groupTabClick=function(e){var t=ho("#onetrust-pc-sdk "+To.P_Grp_Container).el[0],o=t.querySelector("."+To.P_Active_Menu),n=e.currentTarget||e,r=n.getAttribute("aria-controls");o.setAttribute("tabindex",-1),o.setAttribute("aria-selected",!1),o.classList.remove(To.P_Active_Menu),t.querySelector(To.P_Desc_Container+":not(.ot-hide)").classList.add("ot-hide"),t.querySelector("#"+r).classList.remove("ot-hide"),n.setAttribute("tabindex",0),n.setAttribute("aria-selected",!0),n.classList.add(To.P_Active_Menu)},Yr.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(""+To.P_Desc_Container).classList.add("ot-hide"),e.el.parentElement.parentElement.querySelector(""+To.P_Desc_Container).classList.remove("ot-hide"),e.el.classList.add(To.P_Active_Menu)},Yr.prototype.closeFilter=function(e){if(void 0===e&&(e=!0),!Ir.checkIfPcSdkContainerExist()){var t=ho("#onetrust-pc-sdk "+To.P_Fltr_Modal).el[0],o=ho("#onetrust-pc-sdk "+To.P_Triangle).el[0];so.pcName===_t?896<window.innerWidth||896<window.screen.height?$t(t,"width: 0;",!0):$t(t,"height: 0;"):$t(t,"display: none;"),o&&ho(o).attr("style","display: none;"),Qt.isV2Template&&ho("#onetrust-pc-sdk").removeClass("ot-shw-fltr"),e&&qn.setFirstAndLast(qn.getPCElements())}},Yr.prototype.setBackButtonFocus=function(){ho("#onetrust-pc-sdk .back-btn-handler").el[0].focus()},Yr.prototype.setSearchInputFocus=function(){ho(Wr.VENDOR_SEARCH_SELECTOR).el[0].focus()},Yr.prototype.setCenterLayoutFooterHeight=function(){var e=Wr.pc;if(Wr.setMainContentHeight(),so.pcName===Et&&e){var t=e.querySelectorAll(""+To.P_Desc_Container),o=e.querySelectorAll("li .category-menu-switch-handler");if(!e.querySelector(".category-menu-switch-handler + "+To.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 + "+To.P_Desc_Container)&&640<window.innerWidth&&ho(e.querySelector(".ot-tab-desc")).append(t)}},Yr.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=ao.PCLayout;if(e.classList.remove("ot-ftr-stacked"),n[0]&&r&&1<Math.abs(n[0].offsetTop-r.offsetTop)&&e.classList.add("ot-ftr-stacked"),!ao.PCTemplateUpgrade&&!i.Center){var s=e.clientHeight-t.clientHeight-o.clientHeight-3;if(ao.PCTemplateUpgrade&&!i.Tab&&ao.PCenterVendorListDescText){var a=ho("#vdr-lst-dsc").el;s=s-(a.length&&a[0].clientHeight)-10}$t(e.querySelector(""+To.P_Vendor_List),"height: "+s+"px;",!0)}var l=e.querySelector(""+To.P_Content);if(ao.PCTemplateUpgrade&&i.Center){var c=600<window.innerWidth&&475<window.innerHeight;if(!this.pcBodyHeight&&c&&(this.pcBodyHeight=l.scrollHeight),c){var d=this.pcBodyHeight+t.clientHeight+o.clientHeight+20;d>.8*window.innerHeight||0===this.pcBodyHeight?$t(e,"height: "+.8*window.innerHeight+"px;",!0):$t(e,"height: "+d+"px;",!0)}else $t(e,"height: 100%;",!0)}else $t(e.querySelector(""+To.P_Content),"height: "+(e.clientHeight-t.clientHeight-o.clientHeight-3)+"px;",!0)},Yr.prototype.allowAllVisible=function(e){e!==this.allowVisible&&ao.PCLayout.Tab&&ao.PCTemplateUpgrade&&(this.pc&&this.setMainContentHeight(),this.allowVisible=e)},Yr.prototype.restorePc=function(){co.pcLayer===O.CookieList?(Wr.hideCategoryContainer(!0),Xn.loadHostList("",co.filterByCategories),co.showTrackingTech&&Wr.addEventAdditionalTechnologies(),ho("#onetrust-pc-sdk #filter-count").text(co.filterByCategories.length.toString())):co.pcLayer===O.VendorList&&(Wr.hideCategoryContainer(!1),Wr.setVendorContent()),co.isPCVisible=!1,Wr.toggleInfoDisplay(),co.pcLayer!==O.VendorList&&co.pcLayer!==O.CookieList||(Wn.updateFilterSelection(co.pcLayer===O.CookieList),Wr.setBackButtonFocus(),qn.setPCFocus(qn.getPCElements()))},Yr.prototype.toggleInfoDisplay=function(){return u(this,void 0,void 0,function(){var t,o;return g(this,function(e){switch(e.label){case 0:return an.csBtnGroup&&(ho(Wr.fltgBtnSltr).addClass("ot-pc-open"),Wr.otGuardLogoPromise.then(function(){ao.cookiePersistentLogo.includes("ot_guard_logo.svg")&&ho(Wr.fltgBtnFSltr).attr(Ht,"true")}),ho(Wr.fltgBtnBSltr).attr(Ht,"")),[4,Wr.fetchAndSetupPC()];case 1:return e.sent(),so.pcName===It&&this.setPcListContainerHeight(),void 0!==co.pcLayer&&co.pcLayer!==O.Banner||(co.pcLayer=O.PrefCenterHome),t=ho("#onetrust-pc-sdk").el[0],ho(".onetrust-pc-dark-filter").el[0].removeAttribute("style"),t.removeAttribute("style"),co.isPCVisible||(Ir.showConsentNotice(),co.isPCVisible=!0,ao.PCTemplateUpgrade&&(this.pc=t,o=t.querySelector("#accept-recommended-btn-handler"),this.allowVisible=o&&0<o.clientHeight,this.setCenterLayoutFooterHeight(),Wr.getResizeElement().addEventListener("resize",Wr.setCenterLayoutFooterHeight),window.addEventListener("resize",Wr.setCenterLayoutFooterHeight))),window.dispatchEvent(new CustomEvent("OneTrustPCLoaded",{OneTrustPCLoaded:"yes"})),Wr.captureInitialConsent(),[2]}})})},Yr.prototype.close=function(e){ao.BCloseButtonType===he.Link?co.bannerCloseSource=m.ContinueWithoutAcceptingButton:co.bannerCloseSource=m.BannerCloseButton,Xr.bannerCloseButtonHandler(e),Wr.getResizeElement().removeEventListener("resize",Wr.setCenterLayoutFooterHeight),window.removeEventListener("resize",Wr.setCenterLayoutFooterHeight)},Yr.prototype.closePreferenceCenter=function(e){e&&e.preventDefault(),window.location.href="http://otsdk//consentChanged"},Yr.prototype.initializeAlartHtmlAndHandler=function(){co.skipAddingHTML=0<ho("#onetrust-banner-sdk").length,co.skipAddingHTML||qr.insertAlertHtml(),this.initialiseAlertHandlers()},Yr.prototype.initialiseAlertHandlers=function(){var e=this;qr.showBanner(),ao.ForceConsent&&!bo.isCookiePolicyPage(ao.AlertNoticeText)&&ho(".onetrust-pc-dark-filter").removeClass("ot-hide").css("z-index:2147483645;"),ao.OnClickCloseBanner&&document.body.addEventListener("click",Xr.bodyClickEvent),ao.ScrollCloseBanner&&(window.addEventListener("scroll",Xr.scrollCloseBanner),ho(document).on("click",".onetrust-close-btn-handler",Xr.rmScrollAndClickBodyEvents),ho(document).on("click","#onetrust-accept-btn-handler",Xr.rmScrollAndClickBodyEvents),ho(document).on("click","#accept-recommended-btn-handler",Xr.rmScrollAndClickBodyEvents)),(ao.IsIabEnabled||ao.UseGoogleVendors||co.showGeneralVendors)&&!co.showVendorService&&ho(document).on("click",".onetrust-vendors-list-handler",Wr.showAllVendors),ao.FloatingRoundedIcon&&ho("#onetrust-banner-sdk #onetrust-cookie-btn").on("click",function(e){co.pcSource=e.currentTarget,Wr.showCookieSettingsHandler(e)}),ho("#onetrust-banner-sdk .onetrust-close-btn-handler, #onetrust-banner-sdk .ot-bnr-save-handler").on("click",Wr.bannerCloseButtonHandler),ho("#onetrust-banner-sdk #onetrust-pc-btn-handler").on("click",Wr.showCookieSettingsHandler),ho("#onetrust-banner-sdk #onetrust-accept-btn-handler").on("click",Xr.allowAllEventHandler.bind(this,!1)),ho("#onetrust-banner-sdk #onetrust-reject-all-handler").on("click",Xr.rejectAllEventHandler.bind(this,!1)),ho("#onetrust-banner-sdk .banner-option-input").on("click",so.bannerName===bt?Wr.toggleBannerOptions:Wr.toggleAccordionStatus),ho("#onetrust-banner-sdk .ot-gv-list-handler").on("click",function(t){return u(e,void 0,void 0,function(){return g(this,function(e){switch(e.label){case 0:return co.cookieListType=Z.GenVen,[4,Wr.fetchAndSetupPC()];case 1:return e.sent(),Wr.loadCookieList(t.target),Wr.showCookieSettingsHandler(t),[2]}})})}),ho("#onetrust-banner-sdk .category-switch-handler").on("click",Wr.toggleBannerCategory);var t=document.getElementById("onetrust-banner-sdk");ao.ForceConsent&&t&&"none"!==window.getComputedStyle(t).display&&ho(document).on("keydown",Wr.shiftBannerFocus),ho("#onetrust-banner-sdk").on("keydown",function(e){32!==e.keyCode&&"Space"!==e.code&&13!==e.keyCode&&"Enter"!==e.code||bo.findUserType(e)})},Yr.prototype.getResizeElement=function(){var e=document.querySelector("#onetrust-pc-sdk .ot-text-resize");return e?e.contentWindow||e:document},Yr.prototype.insertCookieSettingText=function(e){var t,o;void 0===e&&(e=!1);for(var n=ao.CookieSettingButtonText,r=ho(".ot-sdk-show-settings").el,i=ho(".optanon-toggle-display").el,s=0;s<r.length;s++)ho(r[s]).text(n),ho(i[s]).text(n);e?(null!==(t=document.querySelector(".ot-sdk-show-settings"))&&void 0!==t&&t.addEventListener("click",this.cookiesSettingsBoundListener),null!==(o=document.querySelector(".optanon-toggle-display"))&&void 0!==o&&o.addEventListener("click",this.cookiesSettingsBoundListener)):Wr.initCookieSettingHandlers()},Yr.prototype.genVendorToggled=function(e){var t=e.target.getAttribute("gn-vid");Wo.updateGenVendorStatus(t,e.target.checked);var o=ao.GeneralVendors.find(function(e){return e.VendorCustomId===t}).Name;nn.triggerGoogleAnalyticsEvent(cn,e.target.checked?Tn:An,o+": VEN_"+t),Xn.genVenSelectAllTglEvent()},Yr.prototype.genVendorDetails=function(e){Wr.toggleAccordionStatus(e)},Yr.prototype.confirmPC=function(e){var t=Eo.isAlertBoxClosedAndValid();ao.NoBanner&&ao.ShowPreferenceCenterCloseButton&&!t&&Xr.bannerCloseButtonHandler();var o=bo.isBannerVisible();!Qt.moduleInitializer.MobileSDK||!t&&o||Wr.closePreferenceCenter(e)},Yr.prototype.captureInitialConsent=function(){co.initialGroupsConsent=JSON.parse(JSON.stringify(co.groupsConsent)),co.initialHostConsent=JSON.parse(JSON.stringify(co.hostsConsent)),co.showGeneralVendors&&(co.initialGenVendorsConsent=JSON.parse(JSON.stringify(co.genVendorsConsent))),ao.IsIabEnabled&&(co.initialOneTrustIABConsent=JSON.parse(JSON.stringify(co.oneTrustIABConsent)),co.initialVendors=JSON.parse(JSON.stringify(co.vendors)),co.initialVendors.vendorTemplate=co.vendors.vendorTemplate),ao.UseGoogleVendors&&(co.initialAddtlVendorsList=JSON.parse(JSON.stringify(co.addtlVendorsList)),co.initialAddtlVendors=JSON.parse(JSON.stringify(co.addtlVendors))),co.vsIsActiveAndOptOut&&(co.initialVendorsServiceConsent=new Map(co.vsConsent))},Yr);function Yr(){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.showCookieSettingsHandler=function(s){return u(t,void 0,void 0,function(){var t,o,n,r,i;return g(this,function(e){switch(e.label){case 0:return(t=document.getElementById(Wr.pcSDKSelector),t&&"none"!==window.getComputedStyle(t).getPropertyValue("display"))?[2]:(s&&s.stopPropagation(),s&&s.target&&(o=s.target.className,n="onetrust-pc-btn-handler"===s.target.id,r="ot-sdk-show-settings"===o,(n||r)&&(i=n?Cn:yn,nn.triggerGoogleAnalyticsEvent(cn,i)),co.pcSource=s.target),[4,Wr.toggleInfoDisplay()]);case 1:return e.sent(),[2,!1]}})})},this.cookiesSettingsBoundListener=this.showCookieSettingsHandler.bind(this),this.backBtnHandler=function(){return co.showVendorService&&jr.hideVendorList(),co.showTrackingTech&&(Wr.currentSearchInput=""),Xr.hideVendorsList(),so.pcName===It&&(ho("#onetrust-pc-sdk "+To.P_Content).removeClass("ot-hide"),ho("#onetrust-pc-sdk").el[0].removeAttribute("style"),t.setPcListContainerHeight()),ho("#onetrust-pc-sdk #filter-count").text("0"),ho(Wr.VENDOR_SEARCH_SELECTOR).length&&(ho(Wr.VENDOR_SEARCH_SELECTOR).el[0].value=""),co.currentGlobalFilteredList=[],co.filterByCategories=[],co.filterByIABCategories=[],co.vendors.searchParam="",Wr.closeFilter(),co.pcLayer=O.PrefCenterHome,t.pcLinkSource?(t.pcLinkSource.focus(),t.pcLinkSource=null):qn.setPCFocus(qn.getPCElements()),!1},this.bannerCloseBoundListener=this.bannerCloseButtonHandler.bind(this),this.toggleGroupORVendorHandler=function(e){var t=e.currentTarget,o=t.dataset.otVsId;o?Wr.toggleVendorServiceHandler.bind(this)(e):(o=t.dataset.optanongroupid)&&Wr.toggleV2Category.bind(this)()},this.toggleVendorFromListHandler=function(e){var t=e.currentTarget,o=t.checked,n=t.dataset.otVsId,r=t.dataset.optanongroupid,i=document.getElementById("ot-vendor-id-"+n);er.toggleVendorService(r,n,o,i)},this.toggleVendorServiceHandler=function(e){var t=e.currentTarget,o=t.checked,n=t.dataset.otVsId,r=t.dataset.optanongroupid;er.toggleVendorService(r,n,o,t);var i=Bo.getVSById(n);Wr.setAriaLabelforButtonInFilter(i.ServiceName)},this.toggleV2Category=function(e,t,o,n){if(!t){var r=this.getAttribute("data-optanongroupid"),i="function"==typeof this.getAttribute,s=to.findIndex(co.dataGroupState,function(e){return i&&e.CustomGroupId===r});t=co.dataGroupState[s]}var a;if(void 0===o&&(o=ho(this).is(":checked")),ao.ChoicesBanner&&to.setCheckedAttribute("#ot-bnr-grp-id-"+t.CustomGroupId,null,o),n)document.querySelector("#ot-group-id-"+n)&&(to.setCheckedAttribute("#ot-group-id-"+n,null,o),a=document.querySelector("#ot-group-id-"+n));else{a=this,to.setCheckedAttribute(null,this,o);var l=a.parentElement.querySelector(".ot-switch-nob");Qt.fp.CookieV2VendorServiceScript?ao.PCCategoryStyle===ce.Toggle&&l&&l.setAttribute("aria-checked",o):ao.PCTemplateUpgrade&&l&&l.setAttribute("aria-checked",o)}ao.PCShowConsentLabels&&(a.parentElement.parentElement.querySelector(".ot-label-status").innerHTML=o?ao.PCActiveText:ao.PCInactiveText);var c=this instanceof HTMLElement&&-1!==this.getAttribute("id").indexOf("-leg-out");Wr.setAriaLabelforButtonInFilter(t.GroupName),Wr.updateGroupToggles(t,o,c)},this.toggleBannerCategory=function(){var t=this,e=to.findIndex(co.dataGroupState,function(e){return"function"==typeof t.getAttribute&&e.CustomGroupId===t.getAttribute("data-optanongroupid")}),o=co.dataGroupState[e],n=ho(t).is(":checked");Wr.toggleV2Category(null,o,n,o.CustomGroupId)},this.shiftBannerFocus=function(e){var t=document.getElementById(Wr.pcSDKSelector),o="none"!==window.getComputedStyle(t).display;"Tab"!==e.code||o||qn.handleBannerFocus(e,e.shiftKey)},this.toggleSubCategory=function(e,t,o,n){t=t||this.getAttribute("data-optanongroupid");var r,i=Bo.getGroupById(t);void 0===o&&(o=ho(this).is(":checked")),n?(to.setCheckedAttribute("#ot-sub-group-id-"+n,null,o),r=document.querySelector("#ot-sub-group-id-"+n)):(r=this,to.setCheckedAttribute(null,this,o)),ao.PCShowConsentLabels&&(r.parentElement.parentElement.querySelector(".ot-label-status").innerHTML=o?ao.PCActiveText:ao.PCInactiveText);var s=this instanceof HTMLElement&&-1!==this.getAttribute("id").indexOf("-leg-out");Wr.setAriaLabelforButtonInFilter(i.GroupName),Wr.updateSubGroupToggles(i,o,s),er.setVendorStateByGroup(i,o)}}var Xr,Qr=($r.prototype.updateDataSubjectTimestamp=function(){var e=Eo.alertBoxCloseDate(),t=e&&bo.getUTCFormattedDate(e);ho(".ot-userid-timestamp").html(ao.PCenterUserIdTimestampTitleText+": "+t)},$r.prototype.closeBanner=function(e){this.closeOptanonAlertBox(),e?this.allowAll(!1):this.close(!1)},$r.prototype.allowAll=function(e,t){void 0===t&&(t=!1),Qt.moduleInitializer.MobileSDK?window.OneTrust.AllowAll():this.AllowAllV2(e,t)},$r.prototype.bannerActionsHandler=function(t,n,e){var r=this;void 0===e&&(e=!1),Zo.setLandingPathParam($e),co.groupsConsent=[],co.hostsConsent=[],co.genVendorsConsent={};var i={};ao.Groups.forEach(function(e){if(e.IsAboutGroup)return!1;b(e.SubGroups,[e]).forEach(function(e){var o=r.getGroupStatus(t,n,e);r.setGroupConsent(o,e),e.Hosts.length&&bo.isOptOutEnabled()&&e.Hosts.forEach(function(e){if(i[e.HostId])Xo.updateHostStatus(e,o);else{i[e.HostId]=!0;var t=Xo.isHostPartOfAlwaysActiveGroup(e.HostId)||o;co.hostsConsent.push(e.HostId+":"+(t?"1":"0"))}}),co.genVenOptOutEnabled&&e.GeneralVendorsIds&&e.GeneralVendorsIds.length&&e.GeneralVendorsIds.forEach(function(e){Wo.updateGenVendorStatus(e,o)})})}),ao.IsIabEnabled&&(t?this.iab.allowAllhandler():this.iab.rejectAllHandler(e)),gr.removeAddedOTCssStyles(),Ir.hideConsentNoticeV2(),Ro.writeGrpParam(et.OPTANON_CONSENT),Ro.writeHstParam(et.OPTANON_CONSENT),co.genVenOptOutEnabled&&Ro.writeGenVenCookieParam(et.OPTANON_CONSENT),co.vsIsActiveAndOptOut&&Ro.writeVSConsentCookieParam(et.OPTANON_CONSENT),Wn.substitutePlainTextScriptTags(),cr.updateGtmMacros(),this.executeOptanonWrapper()},$r.prototype.getGroupStatus=function(e,t,o){return!!e||!!t&&Bo.isAlwaysActiveGroup(o)},$r.prototype.setGroupConsent=function(e,t){-1<Wt.indexOf(t.Type)&&co.groupsConsent.push(t.CustomGroupId+":"+(e&&t.HasConsentOptOut?"1":"0"))},$r.prototype.nextPageCloseBanner=function(){Zo.isLandingPage()||Eo.isAlertBoxClosedAndValid()||this.closeBanner(ao.NextPageAcceptAllCookies)},$r.prototype.rmScrollAndClickBodyEvents=function(){ao.ScrollCloseBanner&&window.removeEventListener("scroll",this.scrollCloseBanner),ao.OnClickCloseBanner&&document.body.removeEventListener("click",this.bodyClickEvent)},$r.prototype.onClickCloseBanner=function(e){Eo.isAlertBoxClosedAndValid()||(nn.triggerGoogleAnalyticsEvent(cn,dn),this.closeBanner(ao.OnClickAcceptAllCookies),e.stopPropagation()),Xr.rmScrollAndClickBodyEvents()},$r.prototype.scrollCloseBanner=function(){var e=ho(document).height()-ho(window).height();0===e&&(e=ho(window).height());var t=100*ho(window).scrollTop()/e;t<=0&&(t=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)),25<t&&!Eo.isAlertBoxClosedAndValid()&&(!co.isPCVisible||ao.NoBanner)?(nn.triggerGoogleAnalyticsEvent(cn,dn),Xr.closeBanner(ao.ScrollAcceptAllCookies),Xr.rmScrollAndClickBodyEvents()):Eo.isAlertBoxClosedAndValid()&&Xr.rmScrollAndClickBodyEvents()},$r.prototype.AllowAllV2=function(e,t){void 0===t&&(t=!1);for(var o=this.groupsClass.getAllGroupElements(),n=0;n<o.length;n++){var r=Bo.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)}co.showVendorService&&er.consentAll(!0),this.bannerActionsHandler(!0,!1),this.consentTransactions(e,!0,t),ao.IsIabEnabled&&(this.iab.updateIabVariableReference(),this.iab.updateVendorsDOMToggleStatus(!0),this.updateVendorLegBtns(!0))},$r.prototype.rejectAll=function(e,t){void 0===t&&(t=!1);var o,n,r=t?K[5]:K[2],i=this.groupsClass.getAllGroupElements();n=Qt.fp.CookieV2RejectAll?(o=this.initializeObjectToLIRejectAll(t),this.initializeAllowLIRejectAll(t)):!(o=!0);for(var s=0;s<i.length;s++){var a=Bo.getGroupById(i[s].getAttribute("data-optanongroupid"));"always active"!==Bo.getGrpStatus(a).toLowerCase()&&(jn.toggleGrpElements(i[s],a,!1,n),this.groupsClass.toogleSubGroupElement(i[s],!1,!1,!0),(!ao.IsIabEnabled||ao.IsIabEnabled&&o)&&this.groupsClass.toogleSubGroupElement(i[s],!1,!0,!0))}co.showVendorService&&er.consentAll(!1),this.bannerActionsHandler(!1,!0,n),r!==co.consentInteractionType&&this.consentTransactions(e,!1,t),ao.IsIabEnabled&&(this.iab.updateIabVariableReference(),this.iab.updateVendorsDOMToggleStatus(!1,n),n||this.updateVendorLegBtns(!1))},$r.prototype.initializeObjectToLIRejectAll=function(e){return!e&&ao.BannerShowRejectAllButton&&ao.BRejectConsentType===Ae.OBJECT_TO_LI||e&&ao.PCenterShowRejectAllButton&&ao.BRejectConsentType===Ae.OBJECT_TO_LI},$r.prototype.initializeAllowLIRejectAll=function(e){return ao.IsIabEnabled&&(!e&&ao.BannerShowRejectAllButton&&ao.BRejectConsentType===Ae.LI_ACTIVE_IF_LEGAL_BASIS||e&&ao.PCenterShowRejectAllButton&&ao.BRejectConsentType===Ae.LI_ACTIVE_IF_LEGAL_BASIS)},$r.prototype.executeCustomScript=function(){ao.CustomJs&&new Function(ao.CustomJs)()},$r.prototype.updateConsentData=function(e){Zo.setLandingPathParam($e),ao.IsIabEnabled&&!e&&this.iab.saveVendorStatus(),Ro.writeGrpParam(et.OPTANON_CONSENT),Ro.writeHstParam(et.OPTANON_CONSENT),co.showGeneralVendors&&ao.GenVenOptOut&&Ro.writeGenVenCookieParam(et.OPTANON_CONSENT),co.vsIsActiveAndOptOut&&Ro.writeVSConsentCookieParam(et.OPTANON_CONSENT),Wn.substitutePlainTextScriptTags(),cr.updateGtmMacros()},$r.prototype.close=function(e,t){if(void 0===t&&(t=P.Banner),Ir.hideConsentNoticeV2(),this.updateConsentData(e),ao.IsConsentLoggingEnabled){var o=t===P.PC?br:t===P.Banner?vr:so.apiSource,n=t===P.PC?yr:t===P.Banner?Cr:fr;co.bannerCloseSource===m.ContinueWithoutAcceptingButton&&(o=Pr),co.bannerCloseSource===m.BannerSaveSettings&&(o=Sr),xo.createConsentTxn(!1,n+" - "+o,t===P.PC)}else Eo.dispatchConsentEvent();this.executeOptanonWrapper()},$r.prototype.executeOptanonWrapper=function(){try{if(this.executeCustomScript(),"function"==typeof window.OptanonWrapper&&"undefined"!==window.OptanonWrapper){window.OptanonWrapper();for(var e=0,t=co.srcExecGrpsTemp;e<t.length;e++){var o=t[e];-1===co.srcExecGrps.indexOf(o)&&co.srcExecGrps.push(o)}co.srcExecGrpsTemp=[];for(var n=0,r=co.htmlExecGrpsTemp;n<r.length;n++)o=r[n],-1===co.htmlExecGrps.indexOf(o)&&co.htmlExecGrps.push(o);co.htmlExecGrpsTemp=[]}}catch(e){console.warn("Error in Optanon wrapper, please review your code. "+e)}},$r.prototype.updateVendorLegBtns=function(e){if(so.legIntSettings.PAllowLI&&so.legIntSettings.PShowLegIntBtn)for(var t=ho(To.P_Vendor_Container+" .ot-leg-btn-container").el,o=0;o<t.length;o++)this.groupsClass.updateLegIntBtnElement(t[o],e)},$r.prototype.showFltgCkStgButton=function(){var e=ho("#ot-sdk-btn-floating");e.removeClass("ot-hide"),e.removeClass("ot-pc-open"),ao.cookiePersistentLogo.includes("ot_guard_logo.svg")&&ho(".ot-floating-button__front svg").attr("aria-hidden",""),ho(".ot-floating-button__back svg").attr("aria-hidden","true")},$r.prototype.consentTransactions=function(e,t,o){void 0===o&&(o=!1),xo&&!e&&ao.IsConsentLoggingEnabled?xo.createConsentTxn(!1,(o?yr:Cr)+" - "+(t?kr:mr),o):Eo.dispatchConsentEvent()},$r.prototype.hideVendorsList=function(){Ir.checkIfPcSdkContainerExist()||(ao.PCTemplateUpgrade?ho("#onetrust-pc-sdk "+To.P_Content).removeClass("ot-hide"):ho("#onetrust-pc-sdk .ot-main-content").show(),ho("#onetrust-pc-sdk #close-pc-btn-handler.main").show(),ho("#onetrust-pc-sdk "+To.P_Vendor_List).addClass("ot-hide"))},$r.prototype.resetConsent=function(){var e=this;co.groupsConsent=JSON.parse(JSON.stringify(co.initialGroupsConsent)),co.hostsConsent=JSON.parse(JSON.stringify(co.initialHostConsent)),co.showGeneralVendors&&(co.genVendorsConsent=JSON.parse(JSON.stringify(co.initialGenVendorsConsent))),co.vsIsActiveAndOptOut&&(co.vsConsent=new Map(co.initialVendorsServiceConsent)),ao.IsIabEnabled&&(co.oneTrustIABConsent=JSON.parse(JSON.stringify(co.initialOneTrustIABConsent)),co.vendors=JSON.parse(JSON.stringify(co.initialVendors)),co.vendors.vendorTemplate=co.initialVendors.vendorTemplate),ao.UseGoogleVendors&&(co.addtlVendors=JSON.parse(JSON.stringify(co.initialAddtlVendors)),co.addtlVendorsList=JSON.parse(JSON.stringify(co.initialAddtlVendorsList))),this.updateConsentData(!1),setTimeout(function(){e.resetConsentUI()},400)},$r.prototype.resetConsentUI=function(){jn.getAllGroupElements().forEach(function(e){var t=e.getAttribute("data-optanongroupid"),o=Bo.getGroupById(t),n=Xr.isGroupActive(o,t);so.pcName===Et&&ao.PCTemplateUpgrade&&(e=document.querySelector("#ot-desc-id-"+e.getAttribute("data-optanongroupid")));var r=e.querySelector(".ot-label-status");if(ao.PCShowConsentLabels&&r&&(r.innerHTML=n?ao.PCActiveText:ao.PCInactiveText),o.Type===Ft||o.Type===zt){var i=bo.isBundleOrStackActive(o,co.initialGroupsConsent),s=e.querySelector('input[class*="category-switch-handler"]');to.setCheckedAttribute(null,s,i);for(var a=e.querySelectorAll("li"+To.P_Subgrp_li),l=0;l<a.length;l++){var c=Bo.getGroupById(a[l].getAttribute("data-optanongroupid")),d=c.OptanonGroupId,p=Xr.isGroupActive(c,d),u=a[l].querySelector('input[class*="cookie-subgroup-handler"]'),h=a[l].querySelector(".ot-label-status");ao.PCShowConsentLabels&&h&&(r.innerHTML=p?ao.PCActiveText:ao.PCInactiveText),to.setCheckedAttribute(null,u,p),Xr.resetLegIntButton(c,a[l])}}else s=e.querySelector('input[class*="category-switch-handler"]'),to.setCheckedAttribute(null,s,n),Xr.resetLegIntButton(o,e)}),ao.IsIabEnabled&&wr.toggleVendorConsent();var e=ho("#onetrust-pc-sdk .ot-gnven-chkbox-handler").el;if(co.showGeneralVendors&&e&&e.length){for(var t=0,o=e;t<o.length;t++){var n=(l=o[t]).getAttribute("gn-vid"),r=Boolean(co.genVendorsConsent[n]);to.setCheckedAttribute("",l,r),Wo.updateGenVendorStatus(n,r)}Xn.genVenSelectAllTglEvent()}var i=ho("#onetrust-pc-sdk .ot-addtlven-chkbox-handler").el;if(ao.UseGoogleVendors&&i&&i.length)for(var s=0,a=i;s<a.length;s++){var l;n=(l=a[s]).getAttribute("addtl-vid"),co.addtlVendorsList[n]&&(r=Boolean(co.addtlVendors.vendorSelected[n]),to.setCheckedAttribute("",l,r))}co.vsIsActiveAndOptOut&&er.resetVendorUIState(co.vsConsent)},$r.prototype.isGroupActive=function(e,t){var o;if(e.IabGrpId){var n=void 0;n=e.Type===Ut?co.initialVendors.selectedSpecialFeatures:e.IsLegIntToggle?co.initialVendors.selectedLegInt:co.initialVendors.selectedPurpose,o=-1!==po.inArray(e.IabGrpId+":true",n)}else o=-1!==po.inArray(t+":1",co.initialGroupsConsent);return o},$r.prototype.resetLegIntButton=function(e,t){if(so.legIntSettings.PAllowLI&&e.Type===Mt&&e.HasLegIntOptOut&&so.legIntSettings.PShowLegIntBtn){var o=!0;-1<co.vendors.selectedLegInt.indexOf(e.IabGrpId+":false")&&(o=!1),jn.updateLegIntBtnElement(t,o)}},$r.prototype.handleTogglesOnSingularConsentUpdate=function(e,t){if(this.closeOptanonAlertBox(),e===Ot)for(var o=function(e,t){for(var o=Bo.getGroupById(e),n=a.groupsClass.getAllGroupElements(),r=0;r<n.length;r++){var i=Bo.getGroupById(n[r].getAttribute("data-optanongroupid"));if(i.OptanonGroupId===o.OptanonGroupId&&!i.Parent){Wr.toggleV2Category(null,i,t,i.CustomGroupId);break}var s=i.SubGroups.find(function(e){return e.OptanonGroupId===o.OptanonGroupId});s&&Wr.toggleSubCategory(null,s.CustomGroupId,t,s.CustomGroupId)}},a=this,n=0,r=t;n<r.length;n++){var i=r[n];o(d=i.id,p=i.isEnabled)}else if(e===Nt)for(var s=0,l=t;s<l.length;s++){var c=l[s],d=c.id,p=c.isEnabled,u=Bo.getGrpByVendorId(d);u&&er.toggleVendorService(u.CustomGroupId,d,p)}this.close(!1,P.API)},$r);function $r(){var o=this;this.iab=Xn,this.groupsClass=jn,this.closeOptanonAlertBox=function(){if(bo.hideBanner(),ao.NtfyConfig.ShowNtfy&&Er.hideSyncNtfy(),so.isOptInMode||!so.isOptInMode&&!Eo.isAlertBoxClosedAndValid())nn.setAlertBoxClosed(!0),ao.PCTemplateUpgrade&&ao.PCenterUserIdTitleText&&ao.IsConsentLoggingEnabled&&o.updateDataSubjectTimestamp();else if(Eo.isAlertBoxClosedAndValid()){var e=ho(".onetrust-pc-dark-filter").el[0];e&&"none"!==getComputedStyle(e).getPropertyValue("display")&&ho(".onetrust-pc-dark-filter").fadeOut(400)}an.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")||Xr.onClickCloseBanner(e)},this.bannerCloseButtonHandler=function(e){if(void 0===e&&(e=!1),Xr.closeOptanonAlertBox(),Qt.moduleInitializer.MobileSDK)window.OneTrust.Close();else{var t=co.bannerCloseSource===m.ConfirmChoiceButton?P.PC:P.Banner;Xr.close(e,t)}return!1},this.allowAllEventHandler=function(e){void 0===e&&(e=!1),ho(document).off("keydown",Wr.shiftBannerFocus);var t=e?"Preferences Allow All":"Banner Accept Cookies";nn.triggerGoogleAnalyticsEvent(cn,t),o.allowAllEvent(!1,e),o.hideVendorsList()},this.allowAllEvent=function(e,t){void 0===e&&(e=!1),void 0===t&&(t=!1),o.closeOptanonAlertBox(),Xr.allowAll(e,t)},this.rejectAllEventHandler=function(e){void 0===e&&(e=!1),ho(document).off("keydown",Wr.shiftBannerFocus);var t=e?"Preferences Reject All":"Banner Reject All";nn.triggerGoogleAnalyticsEvent(cn,t),Qt.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(),Eo.isIABCrossConsentEnabled()?so.thirdPartyiFrameLoaded?o.rejectAll(e,t):so.thirdPartyiFramePromise.then(function(){o.rejectAll(e,t)}):o.rejectAll(e,t)}}var Zr,ei=(ti.prototype.insertCookiePolicyHtml=function(){if(ho(this.ONETRUST_COOKIE_POLICY).length){var e,t=document.createDocumentFragment();if(an.cookieListGroup){var o=ao.CookiesV2NewCookiePolicy?".ot-sdk-cookie-policy":"#ot-sdk-cookie-policy-v2",n=document.createElement("div");ho(n).html(an.cookieListGroup.html),n.removeChild(n.querySelector(o)),e=n.querySelector(".ot-sdk-cookie-policy"),ao.useRTL&&ho(e).attr("dir","rtl")}e.querySelector("#cookie-policy-title").innerHTML=ao.CookieListTitle||"",e.querySelector("#cookie-policy-description").innerHTML=ao.CookieListDescription||"";var r=e.querySelector("section"),i=e.querySelector("section tbody tr"),s=null,a=null;ao.CookiesV2NewCookiePolicy||(s=e.querySelector("section.subgroup"),a=e.querySelector("section.subgroup tbody tr"),ho(e).el.removeChild(e.querySelector("section.subgroup"))),ho(e).el.removeChild(e.querySelector("section")),!ho(this.COOKIE_POLICY_SELECTOR).length&&ho(this.OPTANON_POLICY_SELECTOR).length?ho(this.OPTANON_POLICY_SELECTOR).append('<div id="ot-sdk-cookie-policy"></div>'):(ho(this.COOKIE_POLICY_SELECTOR).html(""),ho(this.OPTANON_POLICY_SELECTOR).html(""));for(var l=0,c=ao.Groups;l<c.length;l++){var d=c[l],p={json:ao,group:d,sectionTemplate:r,tableRowTemplate:i,cookieList:e,fragment:t};if(ao.CookiesV2NewCookiePolicy)this.insertGroupHTMLV2(p);else if(this.insertGroupHTML(p),d.ShowSubgroup)for(var u=0,h=d.SubGroups;u<h.length;u++){var g=h[u],C={json:ao,group:g,sectionTemplate:s,tableRowTemplate:a,cookieList:e,fragment:t};this.insertGroupHTML(C)}}}},ti.prototype.insertGroupHTMLV2=function(e){function t(e){return c.querySelector(e)}var o=this,n=e.json,r=e.group,i=e.sectionTemplate,s=e.tableRowTemplate,a=e.cookieList,l=e.fragment,c=i.cloneNode(!0),d=r.SubGroups;ho(t("tbody")).html("");var p=r.Hosts.slice(),u=r.FirstPartyCookies.slice(),h=p.length||u.length?r.GroupName:"";if(r.ShowSubgroup&&d.length){var g=c.querySelector("section.ot-sdk-subgroup ul li");d.forEach(function(e){var t=g.cloneNode(!0);p=p.concat(e.Hosts),u=u.concat(e.FirstPartyCookies),(e.Hosts.length||e.FirstPartyCookies.length)&&(h+=","+e.GroupName),ho(t.querySelector(".ot-sdk-cookie-policy-group")).html(e.GroupName),ho(t.querySelector(".ot-sdk-cookie-policy-group-desc")).html(o.groupsClass.safeFormattedGroupDescription(e)),ho(g.parentElement).append(t)}),c.querySelector("section.ot-sdk-subgroup ul").removeChild(g)}else c.removeChild(c.querySelector("section.ot-sdk-subgroup"));ao.TTLGroupByTech&&(this.setCookieListHeaderOrder(c),this.setCookieListBodyOrder(s)),n.IsLifespanEnabled?ho(t("th.ot-life-span")).el.innerHTML=n.LifespanText:ho(t("thead tr")).el.removeChild(ho(t("th.ot-life-span")).el),ho(t("th.ot-cookies")).el.innerHTML=n.CookiesText,ho(t("th.ot-host")).el.innerHTML=n.CategoriesText,ho(t("th.ot-cookies-type")).el.innerHTML=n.CookiesUsedText,ho(t("th.ot-host-description")).el.innerHTML=n.CookiesDescText;var C=this.transformFirstPartyCookies(u,p,r),y=!1;(y=ao.TTLGroupByTech?ao.TTLShowTechDesc:C.some(function(e){return e.Description}))||ho(t("thead tr")).el.removeChild(ho(t("th.ot-host-description")).el),ho(t(".ot-sdk-cookie-policy-group")).html(r.GroupName),ho(t(".ot-sdk-cookie-policy-group-desc")).html(this.groupsClass.safeFormattedGroupDescription(r)),ao.TTLGroupByTech?this.insertCookieLineByLine({json:n,hosts:C,tableRowTemplate:s,showHostDescription:y,st:t}):this.insertHostHtmlV2({json:n,hosts:C,tableRowTemplate:s,showHostDescription:y,st:t}),0===C.length?c.removeChild(c.querySelector("table")):ho(t("caption")).el.innerHTML=h,ho(a).append(c),ho(l).append(a),ho(this.COOKIE_POLICY_SELECTOR).append(l)},ti.prototype.insertHostHtmlV2=function(e){for(var c,d=e.json,t=e.hosts,p=e.tableRowTemplate,u=e.showHostDescription,h=e.st,o=function(e){function t(e){return o.querySelector(e)}var o=p.cloneNode(!0);g.clearCookieRowElement(t);for(var n=[],r=[],i=0,s=e.Cookies;i<s.length;i++){var a=s[i];(c=a).IsSession?n.push(d.LifespanTypeText):n.push(bo.getDuration(c));var l=c.Name;e.Type&&(l='\n <a href="https://cookiepedia.co.uk/cookies/'+c.Name+'" \n rel="noopener" target="_blank" aria-label="'+c.Name+" "+ao.NewWinTxt+'">\n '+c.Name+"\n </a>"),r.push(l)}g.setDataLabelAttribute(t,d),g.createCookieRowHtmlElement({host:e,subGroupCookie:c,trt:t,json:d,lifespanText:n.join(", "),hostType:r.join(", ")}),g.removeLifeSpanOrHostDescription(d,u,o,t),ho(h("tbody")).append(o)},g=this,n=0,r=t;n<r.length;n++)o(r[n])},ti.prototype.insertGroupHTML=function(e){function t(e){return c.querySelector(e)}var o,n=e.json,r=e.group,i=e.sectionTemplate,s=e.tableRowTemplate,a=e.cookieList,l=e.fragment,c=i.cloneNode(!0);ho(t("caption")).el.innerHTML=r.GroupName,ho(t("tbody")).html(""),ho(t("thead tr")),n.IsLifespanEnabled?ho(t("th.life-span")).el.innerHTML=n.LifespanText:ho(t("thead tr")).el.removeChild(ho(t("th.life-span")).el),ho(t("th.cookies")).el.innerHTML=n.CookiesText,ho(t("th.host")).el.innerHTML=n.CategoriesText;var d=!1;if(r.Hosts.some(function(e){return e.description})?d=!0:ho(t("thead tr")).el.removeChild(ho(t("th.host-description")).el),ho(t(".ot-sdk-cookie-policy-group")).html(r.GroupName),ho(t(".ot-sdk-cookie-policy-group-desc")).html(this.groupsClass.safeFormattedGroupDescription(r)),0<r.FirstPartyCookies.length){ho(t(".cookies-used-header")).html(n.CookiesUsedText),ho(t(".cookies-list")).html("");for(var p=0;p<r.FirstPartyCookies.length;p++)o=r.FirstPartyCookies[p],ho(t(".cookies-list")).append("<li> "+bo.getCookieLabel(o,n.AddLinksToCookiepedia)+" <li>")}else c.removeChild(t(".cookies-used-header")),c.removeChild(t(".cookies-list"));this.insertHostHtmlV1({json:n,hosts:r.Hosts,tableRowTemplate:s,showHostDescription:d,st:t}),ho(a).append(c),ho(l).append(a),ho(this.COOKIE_POLICY_SELECTOR).append(l)},ti.prototype.insertHostHtmlV1=function(e){for(var d=e.json,t=e.hosts,p=e.tableRowTemplate,u=e.showHostDescription,h=e.st,o=function(e){function t(e){return o.querySelector(e)}var o=p.cloneNode(!0);ho(t(".cookies-td ul")).html(""),ho(t(".life-span-td ul")).html(""),ho(t(".host-td")).html(""),ho(t(".host-description-td")).html('<span class="ot-mobile-border"></span><p>'+e.Description+"</p> ");for(var n=0,r=0,i=e.Cookies;r<i.length;r++){var s=i[r],a="";a=s.IsSession?d.LifespanTypeText:0===s.Length?"<1 "+d.LifespanDurationText||d.PCenterVendorListLifespanDays:s.Length+" "+d.LifespanDurationText||d.PCenterVendorListLifespanDays;var l=d.IsLifespanEnabled?"&nbsp;("+a+")":"";if(ho(t(".cookies-td ul")).append("<li> "+s.Name+" "+l+" </li>"),d.IsLifespanEnabled){var c=s.Length?s.Length+" days":"N/A";ho(t(".life-span-td ul")).append("<li>"+c+"</li>")}0===n&&(ho(t(".host-td")).append('<span class="ot-mobile-border"></span>'),ho(t(".host-td")).append('<a href="https://cookiepedia.co.uk/host/'+s.Host+'" rel="noopener" target="_blank"\n aria-label="'+(e.DisplayName||e.HostName)+" "+ao.NewWinTxt+'">'+(e.DisplayName||e.HostName)+"</a>")),n++}u||o.removeChild(t("td.host-description-td")),ho(h("tbody")).append(o)},n=0,r=t;n<r.length;n++)o(r[n]);0===t.length&&ho(h("table")).el.removeChild(ho(h("thead")).el)},ti.prototype.transformFirstPartyCookies=function(e,t,o){var n=this,r=t.slice();e.forEach(function(e){n.populateHostGroup(e,r,ao.firstPartyTxt)});var i=o.GeneralVendorsIds;this.populateGenVendor(i,o,r);var s=o.SubGroups||[];return s.length&&s.forEach(function(e){var t=e.GeneralVendorsIds;n.populateGenVendor(t,e,r)}),r},ti.prototype.populateGenVendor=function(e,o,n){var r=this;e.length&&e.forEach(function(t){var e=ao.GeneralVendors.find(function(e){return e.VendorCustomId===t});e.Cookies.length&&e.Cookies.forEach(function(e){if(e.category===o.GroupName){var t=e.isThirdParty?"":ao.firstPartyTxt;r.populateHostGroup(e,n,t)}})})},ti.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]})},ti.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:bo.getDuration(p),h=p.Name;l.Type&&(h='<a href="https://cookiepedia.co.uk/cookies/'+h+'" \n rel="noopener" target="_blank" aria-label="'+h+" "+ao.NewWinTxt+'">'+h+"\n </a>");var g=n.cloneNode(!0),C=this.queryToHtmlElement(g);this.clearCookieRowElement(C),this.createCookieRowHtmlElement({host:l,subGroupCookie:p,trt:C,json:t,lifespanText:u,hostType:h}),this.removeLifeSpanOrHostDescription(t,r,g,C),ho(i("tbody")).append(g)}},ti.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"))},ti.prototype.createCookieRowHtmlElement=function(e){var t=e.host,o=e.subGroupCookie,n=e.trt,r=e.json,i=e.lifespanText,s=e.hostType,a=".ot-host-td";this.setDataLabelAttribute(n,r),ho(n(".ot-host-description-td")).html('<span class="ot-mobile-border"></span><p>'+o.description+"</p> "),ho(n(a)).append('<span class="ot-mobile-border"></span>');var l=t.DisplayName||t.HostName;ho(n(a)).append(t.Type?l:'<a href="https://cookiepedia.co.uk/host/'+o.Host+'" rel="noopener" target="_blank" \n aria-label="'+l+" "+ao.NewWinTxt+'">\n '+l+"\n </a>"),n(".ot-cookies-td .ot-cookies-td-content").insertAdjacentHTML("beforeend",s),n(".ot-life-span-td .ot-life-span-td-content").innerText=i,n(".ot-cookies-type .ot-cookies-type-td-content").innerText=t.Type?ao.firstPartyTxt:ao.thirdPartyTxt},ti.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)},ti.prototype.clearCookieRowElement=function(e){ho(e(".ot-cookies-td span")).text(""),ho(e(".ot-life-span-td span")).text(""),ho(e(".ot-cookies-type span")).text(""),ho(e(".ot-cookies-td .ot-cookies-td-content")).html(""),ho(e(".ot-host-td")).html("")},ti.prototype.setCookieListHeaderOrder=function(e){var t=e.querySelector("section table thead tr"),o=t.querySelector("th.ot-host"),n=t.querySelector("th.ot-cookies"),r=t.querySelector("th.ot-life-span"),i=t.querySelector("th.ot-cookies-type"),s=t.querySelector("th.ot-host-description");t.innerHTML="",t.appendChild(n.cloneNode(!0)),t.appendChild(o.cloneNode(!0)),t.appendChild(r.cloneNode(!0)),t.appendChild(i.cloneNode(!0)),t.appendChild(s.cloneNode(!0))},ti.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))},ti.prototype.queryToHtmlElement=function(t){return function(e){return t.querySelector(e)}},ti);function ti(){this.groupsClass=jn,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"}var oi,ni=(ri.prototype.initBanner=function(){this.canImpliedConsentLandingPage(),Qt.moduleInitializer.CookieSPAEnabled?ho(window).on("otloadbanner",this.windowLoadBanner.bind(this)):ho(window).one("otloadbanner",this.windowLoadBanner.bind(this))},ri.prototype.insertCSBtnHtmlAndCss=function(e){document.getElementById("onetrust-style").innerHTML+=an.csBtnGroup.css;var t=document.createElement("div");ho(t).html(an.csBtnGroup.html);var o=t.querySelector("#ot-sdk-btn-floating");e&&o&&ho(o).removeClass("ot-hide"),ho("#onetrust-consent-sdk").append(o),ao.cookiePersistentLogo&&(ao.cookiePersistentLogo.includes("ot_guard_logo.svg")?this.applyPersistentSvgOnDOM():ho(".ot-floating-button__front, .ot-floating-button__back").addClass("custom-persistent-icon"))},ri.prototype.applyPersistentSvgOnDOM=function(){return u(this,void 0,void 0,function(){var t;return g(this,function(e){switch(e.label){case 0:return[4,vo.getPersistentCookieSvg()];case 1:return t=e.sent(),ho(this.FLOATING_COOKIE_FRONT_BTN).html(t),Wr.otGuardLogoResolve(!0),[2]}})})},ri.prototype.canImpliedConsentLandingPage=function(){this.isImpliedConsent()&&!Zo.isLandingPage()&&"true"===eo.readCookieParam(et.OPTANON_CONSENT,We)&&this.checkForRefreshCloseImplied()},ri.prototype.isImpliedConsent=function(){return ao.ConsentModel&&"implied consent"===ao.ConsentModel.Name.toLowerCase()},ri.prototype.checkForRefreshCloseImplied=function(){Xr.closeOptanonAlertBox(),Xr.close(!0)},ri.prototype.hideCustomHtml=function(){var e=document.getElementById("onetrust-banner-sdk");e&&$t(e,"display: none;")},ri.prototype.windowLoadBanner=function(){return u(this,void 0,void 0,function(){var t,o,n,r,i,s;return g(this,function(e){switch(e.label){case 0:return this.core.substitutePlainTextScriptTags(),t=Qt.moduleInitializer,ho("#onetrust-consent-sdk").length?n=document.getElementById("onetrust-consent-sdk"):(n=document.createElement("div"),ho(n).attr("id","onetrust-consent-sdk"),ho(document.body).append(n)),ho(".onetrust-pc-dark-filter").length||(o=document.createElement("div"),ho(o).attr("class","onetrust-pc-dark-filter"),ho(o).attr("class","ot-hide"),ho(o).attr("class","ot-fade-in"),n.firstChild?n.insertBefore(o,n.firstChild):ho(n).append(o)),ao.IsIabEnabled&&this.iab.updateIabVariableReference(),r=Eo.isAlertBoxClosedAndValid(),i=ao.ShowAlertNotice&&!r&&!ao.NoBanner&&!co.hideBanner,s=ao.ShowAlertNotice&&!r&&ao.NoBanner,co.ntfyRequired?(this.hideCustomHtml(),Er.init(),Er.changeState()):i?Wr.initializeAlartHtmlAndHandler():this.hideCustomHtml(),t.IsSuppressPC||(nr.insertPcHtml(),Wr.initialiseConsentNoticeHandlers(),ao.IsIabEnabled&&this.iab.InitializeVendorList()),this.initializeHbbTvScript(),this.insertCSBtn(!i),s?[4,Wr.toggleInfoDisplay()]:[3,2];case 1:e.sent(),e.label=2;case 2:return Wr.insertCookieSettingText(),this.initializeFloatingButtonOnBannerLoad(s),oi.insertTrackigTechOrCookiePolicy(),Xr.executeOptanonWrapper(),this.initializeCookieParamsOnBannerLoad(i),[2]}})})},ri.prototype.initializeFloatingButtonOnBannerLoad=function(e){var t=ho(this.FLOATING_COOKIE_BTN),o=ho(this.FLOATING_COOKIE_FRONT_BTN),n=ho(this.FLOATING_COOKIE_BACK_BTN);t.length&&(t.attr("title",ao.CookieSettingButtonText),o.el[0].setAttribute("aria-label",ao.AriaOpenPreferences),n.el[0].setAttribute("aria-label",ao.AriaClosePreferences),e?o.el[0].setAttribute("aria-hidden",!0):n.el[0].setAttribute("aria-hidden",!0))},ri.prototype.initializeCookieParamsOnBannerLoad=function(e){eo.readCookieParam(et.OPTANON_CONSENT,qo)||Ro.writeGrpParam(et.OPTANON_CONSENT),eo.readCookieParam(et.OPTANON_CONSENT,Mo)||Ro.writeHstParam(et.OPTANON_CONSENT),co.showGeneralVendors&&!eo.readCookieParam(et.OPTANON_CONSENT,Uo)&&Ro.writeGenVenCookieParam(et.OPTANON_CONSENT),co.vsIsActiveAndOptOut&&!eo.readCookieParam(et.OPTANON_CONSENT,jo)&&Ro.writeVSConsentCookieParam(et.OPTANON_CONSENT),e&&qn.setBannerFocus()},ri.prototype.initializeHbbTvScript=function(){if(Qt.moduleInitializer.RemoteActionsEnabled){var e=document.getElementById("hbbtv");e&&e.remove();var t=document.createElement("script");t.id="hbbtv",t.src=co.storageBaseURL+"/scripttemplates/"+Qt.moduleInitializer.Version+"/hbbtv.js",t.type="text/javascript",ho(document.body).append(t)}},ri.prototype.insertCSBtn=function(e){an.csBtnGroup&&(this.insertCSBtnHtmlAndCss(e),Wr.initFlgtCkStgBtnEventHandlers())},ri.prototype.insertTrackingTechnologies=function(){if(ho("#ot-sdk-cookie-policy, #optanon-cookie-policy").length)if(window.OnetrustCookiePolicy&&window.OnetrustCookiePolicy.InsertCookiePolicyHtml)window.OnetrustCookiePolicy.InsertCookiePolicyHtml(bo,ao,ho);else{var e=document.createElement("script");e.id="cookie-policy-script",e.onload=function(){return window.OnetrustCookiePolicy.InsertCookiePolicyHtml(bo,ao,ho)},e.type="text/javascript",e.src=co.storageBaseURL+"/scripttemplates/"+Qt.moduleInitializer.Version+"/trackingTechnologies.js",document.head.appendChild(e)}},ri.prototype.insertTrackigTechOrCookiePolicy=function(){Qt.fp.CookieV2TrackingTechnologies?oi.insertTrackingTechnologies():Zr.insertCookiePolicyHtml()},ri);function ri(){this.iab=Xn,this.core=Wn,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"}var ii,si=(ai.prototype.initialiseLandingPath=function(){var e=Eo.needReconsent();if(Zo.isLandingPage())Zo.setLandingPathParam(location.href);else{if(e&&!Eo.awaitingReconsent())return Zo.setLandingPathParam(location.href),void eo.writeCookieParam(et.OPTANON_CONSENT,We,!0);e||eo.writeCookieParam(et.OPTANON_CONSENT,We,!1),Zo.setLandingPathParam($e),so.isSoftOptInMode&&!Qt.moduleInitializer.MobileSDK&&nn.setAlertBoxClosed(!0),ao.NextPageCloseBanner&&ao.ShowAlertNotice&&Xr.nextPageCloseBanner()}},ai);function ai(){}var li,ci=(di.prototype.IsAlertBoxClosedAndValid=function(){return Eo.isAlertBoxClosedAndValid()},di.prototype.LoadBanner=function(){nn.loadBanner()},di.prototype.Init=function(e){void 0===e&&(e=!1),Ke.insertViewPortTag(),an.ensureHtmlGroupDataInitialised(),cr.updateGtmMacros(!1),ii.initialiseLandingPath(),e||Hr.initialiseCssReferences()},di.prototype.FetchAndDownloadPC=function(){Wr.fetchAndSetupPC()},di.prototype.ToggleInfoDisplay=function(){nn.triggerGoogleAnalyticsEvent(cn,fn),Wr.toggleInfoDisplay()},di.prototype.Close=function(e){Wr.close(e)},di.prototype.AllowAll=function(e){Xr.allowAllEvent(e)},di.prototype.RejectAll=function(e){Xr.rejectAllEvent(e)},di.prototype.setDataSubjectIdV2=function(e,t){void 0===t&&(t=!1),e&&e.trim()&&(e=e.replace(/ /g,""),eo.writeCookieParam(et.OPTANON_CONSENT,Je,e,!0),co.dsParams.isAnonymous=t)},di.prototype.getDataSubjectId=function(){return eo.readCookieParam(et.OPTANON_CONSENT,Je,!0)},di.prototype.synchroniseCookieWithPayload=function(i){var e=eo.readCookieParam(et.OPTANON_CONSENT,"groups"),t=to.strToArr(e),s=[];t.forEach(function(e){var t=e.split(":"),o=Bo.getGroupById(t[0]),n=to.findIndex(i,function(e){return e.Id===o.PurposeId}),r=i[n];r?r.TransactionType===tt?(s.push(t[0]+":1"),o.Parent?Wr.toggleSubCategory(null,o.CustomGroupId,!0,o.CustomGroupId):Wr.toggleV2Category(null,o,!0,o.CustomGroupId)):(s.push(t[0]+":0"),o.Parent?Wr.toggleSubCategory(null,o.CustomGroupId,!1,o.CustomGroupId):Wr.toggleV2Category(null,o,!1,o.CustomGroupId)):s.push(t[0]+":"+t[1])}),Ro.writeGrpParam(et.OPTANON_CONSENT,s)},di.prototype.getGeolocationData=function(){return co.userLocation},di.prototype.TriggerGoogleAnalyticsEvent=function(e,t,o,n){nn.triggerGoogleAnalyticsEvent(e,t,o,n)},di.prototype.ReconsentGroups=function(){var r=!1,e=eo.readCookieParam(et.OPTANON_CONSENT,"groups"),i=to.strToArr(e),s=to.strToArr(e.replace(/:0|:1/g,"")),a=!1,t=eo.readCookieParam(et.OPTANON_CONSENT,"hosts"),l=to.strToArr(t),c=to.strToArr(t.replace(/:0|:1/g,"")),d=["inactive","inactive landingpage","do not track"];e&&(ao.Groups.forEach(function(e){b(e.SubGroups,[e]).forEach(function(e){var t=e.CustomGroupId,o=to.indexOf(s,t);if(-1!==o){var n=Bo.getGrpStatus(e).toLowerCase();-1<d.indexOf(n)&&(r=!0,i[o]=t+("inactive landingpage"===n?":1":":0"))}})}),r&&Ro.writeGrpParam(et.OPTANON_CONSENT,i)),t&&(ao.Groups.forEach(function(e){b(e.SubGroups,[e]).forEach(function(n){n.Hosts.forEach(function(e){var t=to.indexOf(c,e.HostId);if(-1!==t){var o=Bo.getGrpStatus(n).toLowerCase();-1<d.indexOf(o)&&(a=!0,l[t]=e.HostId+("inactive landingpage"===o?":1":":0"))}})})}),a&&Ro.writeHstParam(et.OPTANON_CONSENT,l))},di.prototype.SetAlertBoxClosed=function(e){nn.setAlertBoxClosed(e)},di.prototype.GetDomainData=function(){return so.pubDomainData},di.prototype.setGeoLocation=function(e,t){void 0===t&&(t=""),co.userLocation={country:e,state:t}},di.prototype.changeLang=function(t){if(t!==co.lang){var o=Qt.moduleInitializer;vo.getLangJson(t).then(function(e){e?(so.init(e),an.fetchAssets(t).then(function(){var e=document.getElementById("onetrust-style");e&&(e.textContent=""),Hr.initialiseCssReferences(),o.IsSuppressPC&&!co.isPCVisible||(to.removeChild(ho("#onetrust-pc-sdk").el),co.vendorDomInit=!1,co.genVendorDomInit=!1,nr.insertPcHtml(),Wr.initialiseConsentNoticeHandlers(),ao.IsIabEnabled&&Xn.InitializeVendorList(),co.isPCVisible&&Wr.restorePc());var t=!0;Eo.isAlertBoxClosedAndValid()||o.IsSuppressBanner&&(!o.IsSuppressBanner||co.skipAddingHTML)||ao.NoBanner||(to.removeChild(ho("#onetrust-banner-sdk").el),Wr.initializeAlartHtmlAndHandler(),t=!1),li.initCookiePolicyAndSettings(),to.removeChild(ho("#ot-sdk-btn-floating").el),oi.insertCSBtn(t),li.processedHtml=null})):console.error("Language:"+t+" doesn't exist for the geo rule")})}},di.prototype.initCookiePolicyAndSettings=function(e){var t,o;void 0===e&&(e=!1),e&&(null!==(t=document.querySelector(".ot-sdk-show-settings"))&&void 0!==t&&t.removeEventListener("click",Wr.cookiesSettingsBoundListener),null!==(o=document.querySelector(".optanon-toggle-display"))&&void 0!==o&&o.removeEventListener("click",Wr.cookiesSettingsBoundListener)),Qt.fp.CookieV2TrackingTechnologies?oi.insertTrackingTechnologies():Zr.insertCookiePolicyHtml(),Wr.insertCookieSettingText(e)},di.prototype.showVendorsList=function(){co.pcLayer!==O.VendorList&&(Wr.showAllVendors(),nn.triggerGoogleAnalyticsEvent(cn,kn))},di.prototype.getTestLogData=function(){var e=ao.Groups,t=so.pubDomainData,o=Qt.moduleInitializer.Version;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.Domain:ao.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);var n=null!==Eo.alertBoxCloseDate();console.info("Consent has "+(n?"":"not ")+"been given "+(n?"👍":"🛑"));var r=[];e.forEach(function(e){var t="";t=e.Status&&"always active"===e.Status.toLowerCase()?"Always Active":jn.isGroupActive(e)?"Active":"Inactive",r.push({CustomGroupId:e.CustomGroupId,GroupName:e.GroupName,Status:t})}),console.groupCollapsed("Current Category Status"),console.table(r),console.groupEnd();var i=[];t.GeneralVendors.forEach(function(e){i.push({CustomGroupId:e.VendorCustomId,Name:e.Name,Status:li.isCategoryActive(e.VendorCustomId)?"active":"inactive"})}),console.groupCollapsed("General Vendor Ids"),console.table(i),console.groupEnd();var s=so.getRegionRule(),a=co.userLocation,l=Qt.moduleInitializer.GeoRuleGroupName;so.conditionalLogicEnabled?console.groupCollapsed("Geolocation, Template & Condition"):console.groupCollapsed("Geolocation and Template"),co.userLocation.country&&console.info("The Geolocation is "+a.country.toUpperCase()),console.info("The Geolocation rule is "+s.Name),console.info("The GeolocationRuleGroup is "+l),so.canUseConditionalLogic?(console.info("The Condition name is "+so.Condition.Name),console.info("The TemplateName is "+so.Condition.TemplateName)):console.info("The TemplateName is "+s.TemplateName),console.groupEnd();var c=e.filter(function(e){return jn.isGroupActive(e)&&"COOKIE"===e.Type});console.groupCollapsed("The cookies expected to be active if blocking has been implemented are"),c.forEach(function(e){console.groupCollapsed(e.GroupName);var t=li.getAllFormatCookiesForAGroup(e);console.table(t,["Name","Host","description"]),console.groupEnd()}),console.groupEnd()},di.prototype.isCategoryActive=function(e){return-1!==window.OptanonActiveGroups.indexOf(","+e+",")},di.prototype.getAllFormatCookiesForAGroup=function(e){var t,o=[];return e.FirstPartyCookies.forEach(function(e){return o.push({Name:e.Name,Host:e.Host,Description:e.description})}),(null===(t=e.Hosts)||void 0===t?void 0:t.reduce(function(e,t){return e.concat(JSON.parse(JSON.stringify(t.Cookies)))},[])).forEach(function(e){return o.push({Name:e.Name,Host:e.Host,Description:e.description})}),o},di.prototype.updateSingularConsent=function(d,p){return u(this,void 0,void 0,function(){var t,o,n,r,i,s,a,l,c;return g(this,function(e){switch(e.label){case 0:return[4,Wr.fetchAndSetupPC()];case 1:for(e.sent(),so.apiSource=A.UpdateConsent,t=p.split(","),o=[],n=0,r=t;n<r.length;n++)i=r[n],s=i.split(":"),a=s[0],l=s[1],c=Boolean(Number(l)),d===Ot?"always active"===Bo.getGrpStatus(Bo.getGroupById(a))||(li.updateConsentArray(co.groupsConsent,a,l),o.push({id:a,isEnabled:c})):d===xt?li.updateConsentArray(co.hostsConsent,a,l):d===Gt?co.genVendorsConsent[a]=c:d===Nt&&o.push({id:a,isEnabled:c});return Xr.handleTogglesOnSingularConsentUpdate(d,o),[2]}})})},di.prototype.vendorServiceEnabled=function(){return co.showVendorService},di.prototype.updateGCM=function(e){e||console.error("No callback passed to the UpdateGCM"),so.gcmUpdateCallback=e},di.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)},di);function di(){this.processedHtml="",this.useGeoLocationService=!0,this.IsAlertBoxClosed=this.IsAlertBoxClosedAndValid,this.InitializeBanner=function(){return oi.initBanner()},this.getHTML=function(){return document.getElementById("onetrust-banner-sdk")||(nr.insertPcHtml(),qr.insertAlertHtml()),li.processedHtml||(li.processedHtml=document.querySelector("#onetrust-consent-sdk").outerHTML),li.processedHtml},this.getCSS=function(){return Hr.processedCSS},this.setConsentProfile=function(e){if(e.customPayload){var t=e.customPayload;t.Interaction&&eo.writeCookieParam(et.OPTANON_CONSENT,Xe,t.Interaction)}li.setDataSubjectIdV2(e.identifier,e.isAnonymous),li.synchroniseCookieWithPayload(e.purposes),Xr.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(jn.canInsertForGroup(r,l)&&!to.contains(co.srcExecGrps,r)){co.srcExecGrpsTemp.push(r),a&&void 0!==n.deleteSelectorContent&&!0===n.deleteSelectorContent&&to.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&&to.show(t))}if(a&&void 0!==n.makeElementsVisible)for(var p=0,u=n.makeElementsVisible;p<u.length;p++){var h=u[p];to.show(h)}if(a&&void 0!==n.deleteElements)for(var g=0,C=n.deleteElements;g<C.length;g++){h=C[g];to.remove(h)}}},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(jn.canInsertForGroup(r,s)&&!to.contains(co.htmlExecGrps,r)){if(co.htmlExecGrpsTemp.push(r),i&&void 0!==n.deleteSelectorContent&&!0===n.deleteSelectorContent&&to.empty(t),to.appendTo(t,e),i&&void 0!==n.makeSelectorVisible&&!0===n.makeSelectorVisible&&to.show(t),i&&void 0!==n.makeElementsVisible)for(var a=0,l=n.makeElementsVisible;a<l.length;a++){var c=l[a];to.show(c)}if(i&&void 0!==n.deleteElements)for(var d=0,p=n.deleteElements;d<p.length;d++){c=p[d];to.remove(c)}null!=o&&void 0!==o&&o()}},this.BlockGoogleAnalytics=function(e,t){window["ga-disable-"+e]=!jn.canInsertForGroup(t)}}var pi,ui,hi=(e(gi,pi=ci),gi.prototype.Close=function(e){Xr.closeBanner(!1),window.location.href="http://otsdk//consentChanged"},gi.prototype.RejectAll=function(e){Xr.rejectAllEvent(),window.location.href="http://otsdk//consentChanged"},gi.prototype.AllowAll=function(e){Xr.AllowAllV2(e),window.location.href="http://otsdk//consentChanged"},gi.prototype.ToggleInfoDisplay=function(){Wr.toggleInfoDisplay()},gi);function gi(){var e=null!==pi&&pi.apply(this,arguments)||this;return e.mobileOnlineURL=so.mobileOnlineURL,e}var Ci,yi=(fi.prototype.syncConsentProfile=function(e,t,o){void 0===o&&(o=!1),e?(co.dsParams.id=e.trim(),li.setDataSubjectIdV2(e)):e=co.dsParams.id,o&&(co.dsParams.isAnonymous=o),t=t||co.dsParams.token,e&&t&&vo.getConsentProfile(e,t).then(function(e){return Ci.consentProfileCallback(e)})},fi.prototype.getConsentValue=function(e){var t=null;switch(e){case k[k.ACTIVE]:case k[k.ALWAYS_ACTIVE]:t=Y.Active;break;case k[k.EXPIRED]:case k[k.OPT_OUT]:case k[k.PENDING]:case k[k.WITHDRAWN]:t=Y.InActive}return t},fi.prototype.isCookieGroup=function(e){return!/IABV2|ISPV2|IFEV2|ISFV2/.test(e)},fi.prototype.syncPreferences=function(e,t){void 0===t&&(t=!1);var o=eo.getCookie(et.ALERT_BOX_CLOSED),n=o,r=!1,i=!0,s=!1,a=to.strToArr(eo.readCookieParam(et.OPTANON_CONSENT,"groups"));if(e&&e.preferences.length)for(var l=0,c=e.preferences;l<c.length;l++){var d=c[l],p=d.status===k[k.NO_CONSENT],u=so.domainGrps[d.id];if(u)if(-1<co.grpsSynced.indexOf(u)&&(co.syncedValidGrp=!0),p&&a.length){for(var h=-1,g=0;g<a.length;g++)if(a[g].split(":")[0]===u){h=g;break}-1<h&&(a.splice(h,1),co.grpsSynced.push(u))}else if(!p&&(!o||new Date(d.lastInteractionDate)>new Date(n))){var C=this.getConsentValue(d.status);if(s=!0,o=d.lastInteractionDate,!t&&this.isCookieGroup(u)){var y=u+":"+C,f=-1;for(g=0;g<a.length;g++){var v=a[g].split(":");if(v[0]===u){v[1]!==C&&(a[g]=y,r=!0),f=g;break}}-1===f&&(a.push(y),r=!0)}}}else i=!1;return{alertBoxCookieVal:o,groupsConsent:a,profileFound:i,syncRequired:r,syncOnlyDate:s=s&&!r}},fi.prototype.hideBannerAndPc=function(){var e=bo.isBannerVisible();e&&bo.hideBanner(),(e||co.isPCVisible)&&(gr.removeAddedOTCssStyles(),Ir.hideConsentNoticeV2())},fi.prototype.setOptanonConsentCookie=function(e,t){if(e.syncRequired){eo.writeCookieParam(et.OPTANON_CONSENT,"groups",e.groupsConsent.toString());var o=eo.getCookie(et.OPTANON_CONSENT);eo.setCookie(et.OPTANON_CONSENT,o,t,!1,new Date(e.alertBoxCookieVal))}},fi.prototype.setIabCookie=function(e,t,o){o.syncGroups&&o.syncGroups[co.syncGrpId]&&o.syncGroups[co.syncGrpId].tcStringV2?eo.getCookie(et.EU_PUB_CONSENT)!==o.syncGroups[co.syncGrpId].tcStringV2&&(e.syncRequired=!0,eo.setCookie(et.EU_PUB_CONSENT,o.syncGroups[co.syncGrpId].tcStringV2,t,!1,new Date(e.alertBoxCookieVal))):e.profileFound=!1},fi.prototype.setAddtlVendorsCookie=function(e,t){ao.UseGoogleVendors&&(eo.getCookie(et.ADDITIONAL_CONSENT_STRING)||eo.setCookie(et.ADDITIONAL_CONSENT_STRING,co.addtlConsentVersion,t,!1,new Date(e.alertBoxCookieVal)))},fi.prototype.createTrans=function(){var e=eo.readCookieParam(et.OPTANON_CONSENT,"iType");xo.createConsentTxn(!1,K[e],!1,!0)},fi.prototype.updateGrpsDom=function(){for(var e=function(e){var t=e.getAttribute("data-optanongroupid"),o=Bo.getGroupById(t),n=!0,r=to.findIndex(co.groupsConsent,function(e){return e.split(":")[0]===t});-1<r&&co.groupsConsent[r].split(":")[1]===Y.InActive&&(n=!1),jn.toggleGrpElements(e,o,n),jn.toogleSubGroupElement(e,n,!1,!0),jn.toogleSubGroupElement(e,n,!0,!0)},t=0,o=jn.getAllGroupElements();t<o.length;t++)e(o[t])},fi.prototype.updateVendorsDom=function(){ao.IsIabEnabled&&(Xn.updateIabVariableReference(),wr.toggleVendorConsent(),so.legIntSettings.PAllowLI&&(so.legIntSettings.PShowLegIntBtn?wr.updateVendorLegBtns():wr.toggleVendorLi()))},fi.prototype.consentProfileCallback=function(r){return u(this,void 0,void 0,function(){var t,o,n;return g(this,function(e){switch(e.label){case 0:return t=this.syncPreferences(r),o=ao.ReconsentFrequencyDays,n=Eo.isIABCrossConsentEnabled(),this.setOptanonConsentCookie(t,o),ao.IsIabEnabled&&!n&&this.setIabCookie(t,o,r),t.syncOnlyDate&&(Eo.syncAlertBoxCookie(t.alertBoxCookieVal),Eo.syncCookieExpiry()),t.syncRequired&&t.profileFound?(co.syncRequired=t.syncRequired,Eo.syncAlertBoxCookie(t.alertBoxCookieVal),this.setAddtlVendorsCookie(t,o),this.hideBannerAndPc(),an.initGrpsAndHosts(),!n&&ao.NtfyConfig.ShowNtfy&&Eo.isAlertBoxClosedAndValid()?[4,Er.getContent()]:[3,2]):[3,3];case 1:e.sent(),Er.init(),Er.changeState(),e.label=2;case 2:return ao.IsIabEnabled&&(Eo.setIABCookieData(),Do.populateVendorAndPurposeFromCookieData()),this.updateGrpsDom(),this.updateVendorsDom(),Zo.setLandingPathParam($e),Wn.substitutePlainTextScriptTags(),cr.updateGtmMacros(!0),Xr.executeOptanonWrapper(),[3,4];case 3:!t.profileFound&&t.alertBoxCookieVal&&this.createTrans(),e.label=4;case 4:return[2]}})})},fi);function fi(){}var vi,ki,mi,bi,Si,Pi,Ti,Ai,Ii,Li,_i,Ei=(Vi.prototype.removeCookies=function(){eo.removePreview(),eo.removeOptanon(),eo.removeAlertBox(),eo.removeIab2(),eo.removeAddtlStr(),eo.removeVariant(),co.isPreview&&vi.setPreviewCookie(),co.urlParams.get("otreset")&&co.urlParams.set("otreset","false");var e=window.location.pathname+"?"+co.urlParams.toString()+window.location.hash;vi.replaceHistory(e)},Vi.prototype.setPreviewCookie=function(){var e=new Date;e.setTime(e.getTime()+864e5);var t=co.geoFromUrl?"&geo="+co.geoFromUrl:"",o="expiry="+e.toISOString()+t;eo.setCookie(et.OT_PREVIEW,o,1,!1)},Vi.prototype.bindStopPreviewEvent=function(){(window.attachEvent||window.addEventListener)("message",function(e){return vi.onMessage(e)})},Vi.prototype.replaceHistory=function(e){history.pushState({},"",e),location.reload()},Vi.prototype.onMessage=function(e){"string"==typeof e.data&&e.data===vi.CLEAR_COOKIES&&(vi.removeCookies(),e.source&&e.source.postMessage&&e.source.postMessage(vi.CLEARED_COOKIES,e.origin))},Vi);function Vi(){this.CLEAR_COOKIES="CLEAR_OT_COOKIES",this.CLEARED_COOKIES="CLEARED_OT_COOKIES"}(mi=ki=ki||{}).SaleOptOut="SaleOptOutCID",mi.SharingOptOut="SharingOptOutCID",mi.PersonalDataConsents="PersonalDataCID",(Si=bi=bi||{}).SharingOptOutNotice="SharingOptOutCID",Si.SaleOptOutNotice="SaleOptOutCID",Si.SensitiveDataLimitUseNotice="SensitivePICID",(Ti=Pi=Pi||{}).SensitiveDataProcessing="SensitiveDataProcessing",Ti.KnownChildSensitiveDataConsents="KnownChildSensitiveDataConsents",(Ii=Ai=Ai||{}).KnownChildSensitiveDataConsents1="KnownChildSellPICID",Ii.KnownChildSensitiveDataConsents2="KnownChildSharePICID",(_i=Li=Li||{}).SensitiveDataProcessing1="SensitivePICID",_i.SensitiveDataProcessing2="SensitiveSICID",_i.SensitiveDataProcessing3="GeolocationCID",_i.SensitiveDataProcessing4="RREPInfoCID",_i.SensitiveDataProcessing5="CommunicationCID",_i.SensitiveDataProcessing6="GeneticCID",_i.SensitiveDataProcessing7="BiometricCID",_i.SensitiveDataProcessing8="HealthCID",_i.SensitiveDataProcessing9="SexualOrientationCID";var Bi=(wi.prototype.getSectionPurposeFieldValues=function(e){var t=this.getSectionFieldsMapping(e);return this.mapActiveGroupsWithFieldValues(t)},wi.prototype.getMSPASectionFieldValue=function(){var e={};return ao.IsMSPAEnabled?(e.MspaCoveredTransaction=1,ao.MSPAOptionMode===Oe.MspaServiceProviderMode?(e.MspaServiceProviderMode=1,e.MspaOptOutOptionMode=2):ao.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},wi.prototype.getStaticSectionFieldsValue=function(e){var n={},t=this.getSectionFieldsMapping(e);return Object.entries(t).forEach(function(e){var t=e[0],o=e[1];n[t]=o?1:0}),n},wi.prototype.getDynamicArrayFieldsValue=function(e,t){for(var o={},n=[],r=this.getSectionFieldsMapping(t),i=this.mapActiveGroupsWithFieldValues(r),s=1;s<=Object.keys(i).length;s++)n.push(i[e+s]);return o[e]=n,o},wi.prototype.mapActiveGroupsWithFieldValues=function(e){var n={};return Object.entries(e).forEach(function(e){var t=e[0],o=e[1];n[t]=o?li.isCategoryActive(o)?1:2:0}),n},wi.prototype.getSectionFieldsMapping=function(e){var n={};return Object.entries(e).forEach(function(e){var t=e[0],o=e[1];n[t]=ao.GPPPurposes[o]||""}),n},wi);function wi(){}var Oi,xi=(e(Gi,Oi=Bi),Gi.prototype.getSectionFieldsValues=function(){var e=this.getSectionPurposeFieldValues(ki),t=this.getStaticSectionFieldsValue(bi),o=this.getDynamicFields(),n=this.getMSPASectionFieldValue();return i(i(i(i({},e),t),o),n)},Gi.prototype.getDynamicFields=function(){var o=this,n={};return Object.keys(Pi).forEach(function(e){switch(e){case Pi.KnownChildSensitiveDataConsents:if(ao.IsGPPKnownChildApplicable){var t=o.getDynamicArrayFieldsValue(e,Ai);n=i(i({},n),t)}break;case Pi.SensitiveDataProcessing:ao.IsGPPDataProcessingApplicable&&(t=o.getDynamicArrayFieldsValue(e,Li),n=i(i({},n),t))}}),n},Gi);function Gi(){return null!==Oi&&Oi.apply(this,arguments)||this}var Ni,Di=(e(Hi,Ni=Bi),Hi.prototype.getSectionFieldsValues=function(){throw new Error("Method not implemented.")},Hi);function Hi(){return null!==Ni&&Ni.apply(this,arguments)||this}var Fi=(Ri.prototype.initGppConsent=function(){var e=this.readGppCookies(),t=this.getSectionName(),o=!1;e&&(this.cmpApi.setGppString(e),o=!0),t&&!this.cmpApi.hasSection(t)&&this.setOrUpdateGppSectionString(t,o),window.OneTrust.OnConsentChanged(this.updateGppConsentString)},Ri.prototype.setGppCookies=function(e,t){if(t)this.updateGppCookies(e);else{var o=this.getCookiesChunk(e),n=Object.keys(o).length;this.writeGppCookies(n,o)}},Ri.prototype.readGppCookies=function(){var e=Number(eo.readCookieParam(et.OPTANON_CONSENT,Be.ChunkCountParam)||0);if(e<=1)return 0===e?"":eo.getCookie(et.GPP_CONSENT);for(var t="",o=1;o<=e;o++){var n=eo.getCookie(""+Be.Name+o);t=t.concat(n)}return t},Ri.prototype.initGppSDK=function(){var e,t;return null===(t=null===(e=window.otIabModule)||void 0===e?void 0:e.gppSdkRef)||void 0===t?void 0:t.gppCmpApi(28,1)},Ri.prototype.setOrUpdateGppSectionString=function(n,e){var r=this,t=this.gppSection.getSectionFieldsValues();Object.entries(t).forEach(function(e){var t=e[0],o=e[1];r.cmpApi.setFieldValue(n,t,o)}),this.cmpApi.fireSectionChange(n),this.setGppCookies(this.cmpApi.getGppString(),e)},Ri.prototype.getSectionName=function(){var o=so.getRegionRule(),e="",t=Object.entries(De).find(function(e){var t=e[0];return e[1],t===o.Type});return null!=t&&t.length&&1<t.length&&(e=t[1]),e},Ri.prototype.getSectionInstance=function(){switch(so.getRegionRule().Type){case Ee.CPRA:case Ee.CCPA:return new xi;case Ee.CDPA:return new Di}},Ri.prototype.updateGppCookies=function(e){var t=this.getCookiesChunk(e),o=Object.keys(t).length,n=Number(eo.readCookieParam(et.OPTANON_CONSENT,Be.ChunkCountParam)||0);if(this.writeGppCookies(o,t),o<n)for(var r=o+1;r<=n;r++)eo.setCookie(""+Be.Name+r,"",0,!0)},Ri.prototype.getCookiesChunk=function(e){for(var t={},o=!1,n=e,r=1;n.length;){var i=void 0;if(n.length>Be.ChunkSize?i=Be.ChunkSize:(i=n.length,o=1===r),o)t[Be.Name]=n,n="";else{var s=n.slice(0,i);n=n.slice(i,n.length),t[""+Be.Name+r]=s}r++}return t},Ri.prototype.writeGppCookies=function(e,t){eo.writeCookieParam(et.OPTANON_CONSENT,Be.ChunkCountParam,e);for(var o=0,n=Object.entries(t);o<n.length;o++){var r=n[o],i=r[0],s=r[1];eo.setCookie(i,s,Be.ReconsentFrequencyDate)}},Ri);function Ri(){var t=this;this.gppSection=this.getSectionInstance(),this.cmpApi=this.initGppSDK(),this.updateGppConsentString=function(){var e=t.getSectionName();t.setOrUpdateGppSectionString(e,!0)}}function qi(e){if(e){var t=window.atob(e);return Function('"use strict"; return '+t)()}}Ke.initPolyfill(),eo=new oo,bo=new So,so=new ro,go=new yo,vi=new Ei,function(){var e,t=window.otStubData;if(t){Qt.moduleInitializer=t.domainData,Qt.fp=Qt.moduleInitializer.TenantFeatures,co.isAMP=t.isAmp,co.dataDomainId=t.domainId,co.isPreview=t.isPreview,co.urlParams=t.urlParams,co.isV2Stub=t.isV2Stub||!1,so.gtmUpdatedinStub=t.gtmUpdated,t.isReset?vi.removeCookies():t.isPreview&&vi.setPreviewCookie(),so.setBannerScriptElement(t.stubElement),so.setRegionRule(t.regionRule),Qt.fp.CookieV2TargetedTemplates&&(so.conditionalLogicEnabled=!(null===(e=so.getRegionRule().Conditions)||void 0===e||!e.length),so.conditionalLogicEnabled&&(function(){for(var e=so.getRegionRule(),t=0;t<e.Conditions.length;t++)try{if(qi(e.Conditions[t].Expression))return so.Condition=e.Conditions[t]}catch(e){console.warn(e);continue}so.allConditionsFailed=!0}(),so.canUseConditionalLogic=!so.allConditionsFailed)),co.userLocation=t.userLocation,co.crossOrigin=t.crossOrigin,so.bannerDataParentURL=t.bannerBaseDataURL,so.mobileOnlineURL=b(so.mobileOnlineURL,t.mobileOnlineURL);var o=so.getRegionRule();so.multiVariantTestingEnabled=Qt.moduleInitializer.MultiVariantTestingEnabled&&0<o.Variants.length&&bo.isDateCurrent(o.TestEndTime),so.otDataLayer=t.otDataLayer,co.grpsSynced=t.grpsSynced||[],co.isIabSynced=t.isIabSynced,co.isGacSynced=t.isGacSynced,co.syncRequired=t.isIabSynced||t.isGacSynced||t.grpsSynced&&0<t.grpsSynced.length,co.consentPreferences=t.preferences,co.syncGrpId=t.syncGrpId,co.consentApi=t.consentApi,co.tenantId=t.tenantId,co.geoFromUrl=t.geoFromUrl,co.nonce=t.nonce,co.setAttributePolyfillIsActive=t.setAttributePolyfillIsActive,co.storageBaseURL=t.storageBaseURL,so.previewMode=t.previewMode,go.populateLangSwitcherPlhdr(),window.otStubData={userLocation:co.userLocation},window.OneTrustStub=null}}(),function(){u(this,void 0,void 0,function(){var t,o,n,r,i,s;return g(this,function(e){switch(e.label){case 0:return Bo=new wo,jn=new zn,Hn=new Fn,Xn=new Qn,Wn=new Jn,Xr=new Qr,Wr=new Jr,nr=new ar,qr=new Mr,oi=new ni,Qt.fp.CookieV2TrackingTechnologies||(Zr=new ei),Hr=new Fr,Wo=new Jo,an=new Nn,cr=new dr,ii=new si,nn=new rn,_o=new Vo,Ci=new yi,wr=new Or,vo=new ko,qn=new Mn,Ir=new Lr,er=new tr,jr=new zr,Qt.moduleInitializer.MobileSDK?ui=new hi:li=new ci,Do=new Ho,so.setGCMcallback(),t=so.getRegionRule(),o=so.canUseConditionalLogic?so.Condition.UseGoogleVendors:t.UseGoogleVendors,"IAB2"!==so.getRegionRuleType()?[3,2]:[4,Promise.all([vo.getLangJson(),vo.fetchGvlObj(),o?vo.fetchGoogleVendors():Promise.resolve(null),vo.loadCMP()])];case 1:return s=e.sent(),n=s[0],r=s[1],i=s[2],co.gvlObj=r,co.addtlVendorsList=i?i.vendors:null,[3,4];case 2:return[4,vo.getLangJson()];case 3:n=e.sent(),e.label=4;case 4:return function(r){u(this,void 0,void 0,function(){var t,o,n;return g(this,function(e){switch(e.label){case 0:return window.OneTrust=window.Optanon=Object.assign({},window.OneTrust,function(e){var t,o=Qt.moduleInitializer.MobileSDK;t=o?ui:li;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:nn.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,co.isV2Stub&&(n.syncConsentProfile=Ci.syncConsentProfile));o&&(n.mobileOnlineURL=t.mobileOnlineURL,n.otCookieData=co.otCookieData);e.IsIabEnabled&&(n.updateConsentFromCookies=nn.updateConsentFromCookie,n.getPingRequest=Do.getPingRequestForTcf,n.getVendorConsentsRequestV2=Do.getVendorConsentsRequestV2,n.showVendorsList=t.showVendorsList);return n}(r.DomainData)),Eo.initializeBannerVariables(r),Ro=new zo,Xo=new Qo,xo=new Go,gr=new Tr,Zo=new tn,Gr=new Nr,Er=new Vr,function(){var o=window.OTExternalConsent;if(o&&o.consentedDate&&(o.groups||o.tcString||o.addtlString)){var n=[],e=o.groups.split(",");e.forEach(function(e){var t=e.split(":");n.push({lastInteractionDate:o.consentedDate,status:"1"===t[1]?k[k.ACTIVE]:k[k.OPT_OUT],id:t[0]}),co.grpsSynced.push(t[0])}),co.consentPreferences={preferences:n,syncGroups:null},co.syncRequired=!0,Ro.updateGroupsInCookie(et.OPTANON_CONSENT,e),eo.setCookie(et.ALERT_BOX_CLOSED,o.consentedDate,365),o.tcString&&(co.isIabSynced=!0,eo.setCookie(et.EU_PUB_CONSENT,o.tcString,365)),o.addtlString&&(co.isGacSynced=!0,eo.setCookie(et.ADDITIONAL_CONSENT_STRING,""+o.addtlString,365))}}(),co.isPreview&&(Eo.syncOtPreviewCookie(),vi.bindStopPreviewEvent()),t=Ci.syncPreferences(co.consentPreferences,!0),(co.syncRequired||t.syncRequired)&&Eo.syncAlertBoxCookie(t.alertBoxCookieVal),Eo.syncCookieExpiry(),o=window.OneTrust.dataSubjectParams||{},(co.dsParams=o).id&&li.setDataSubjectIdV2(o.id,o.isAnonymous),so.multiVariantTestingEnabled&&so.selectedVariant&&eo.setCookie(et.SELECTED_VARIANT,so.selectedVariant.Id,ao.ReconsentFrequencyDays),[4,Do.initializeIABModule()];case 1:return e.sent(),window.OneTrust.Init(!0),[4,an.fetchAssets()];case 2:return(e.sent(),oi.initBanner(),nn.assetResolve(!0),Hr.initialiseCssReferences(),n=Eo.isIABCrossConsentEnabled(),(co.syncedValidGrp||co.isIabSynced||co.isGacSynced)&&!n&&ao.NtfyConfig.ShowNtfy&&Eo.isAlertBoxClosedAndValid())?(co.ntfyRequired=!0,[4,Er.getContent()]):[3,4];case 3:e.sent(),e.label=4;case 4:return n||window.OneTrust.LoadBanner(),[2]}})})}(n),n.DomainData.IsGPPEnabled?[4,vo.loadGPP()]:[3,6];case 5:e.sent(),(new Fi).initGppConsent(),e.label=6;case 6:return Qt.moduleInitializer.WebFormIntegrationEnabled&&function(){var e=window.otStubData,t=document.createElement("script");t.type="text/javascript",t.src=Qt.moduleInitializer.WebFormSrcUrl,t.setAttribute("dataId",Qt.moduleInitializer.TenantGuid),t.setAttribute("worker",Qt.moduleInitializer.WebFormWorkerUrl),e.charset&&t.setAttribute("charset",e.charset);e.crossOrigin&&t.setAttribute("crossorigin",e.crossOrigin);document.getElementsByTagName("head")[0].appendChild(t)}(),[2]}})})}()}();