/**
* onetrust-banner-sdk
* v202410.1.0
* by OneTrust LLC
* Copyright 2024
*/
(()=>{var D=function(e,t){return(D=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}))(e,t)};function x(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}D(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}var H,R=function(){return(R=Object.assign||function(e){for(var t,o=1,n=arguments.length;oa[0]&&t[1]this.length)&&(t=this.length),this.substring(t-e.length,t)===e},writable:!0,configurable:!0})},$.prototype.initClosestPolyfill=function(){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||Object.defineProperty(Element.prototype,"closest",{value:function(e){var t=this;do{if(t.matches(e))return t}while(null!==(t=t.parentElement||t.parentNode)&&1===t.nodeType);return null},writable:!0,configurable:!0})},$.prototype.initIncludesPolyfill=function(){String.prototype.includes||Object.defineProperty(String.prototype,"includes",{value:function(e,t){return!((t="number"!=typeof t?0:t)+e.length>this.length)&&-1!==this.indexOf(e,t)},writable:!0,configurable:!0})},$.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>>0,n=arguments[1]>>0,r=n<0?Math.max(o+n,0):Math.min(n,o),n=arguments[2],n=void 0===n?o:n>>0,i=n<0?Math.max(o+n,0):Math.min(n,o);r{for(var e=i.split(";").concat(s.split(";")).filter(function(e){return 0!==e.length}),t="",o="",n=e.length-1;0<=n;n--){var r=e[n].substring(0,e[n].indexOf(":")+1).trim();t.indexOf(r)<0&&(t+=r,o+=e[n]+";")}return o})():s;e.setAttribute("style",t)}a.insertAfter=function(e,t){t.parentNode.insertBefore(e,t.nextSibling)},a.insertBefore=function(e,t){t.parentNode.insertBefore(e,t)},a.inArray=function(e,t){return t.indexOf(e)},a.ajax=function(e){var t=null,o=new XMLHttpRequest,n=e.type,r=e.contentType,i=e.data,s=e.success,a=e.token,t=e.error;o.open(n,e.url,!e.sync),o.setRequestHeader("Content-Type",r),a&&o.setRequestHeader("Authorization",a),o.withCredentials=!1,o.onload=function(){var e;200<=this.status&&this.status<400?(e=JSON.parse(this.responseText),s(e)):t({message:"Error Loading Data",statusCode:this.status})},o.onerror=function(e){t(e)},"post"===n.toLowerCase()||"put"===n.toLowerCase()?o.send(i):o.send()},a.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},a.browser=function(){var e,t,o;return navigator.sayswho=(o=(t=navigator.userAgent).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}},a.isNodeList=function(e){e=Object.prototype.toString.call(e);return"[object NodeList]"===e||"[object Array]"===e},a.getInnerHtmlContent=function(e){return a.isCspTrustedType()?window.OtTrustedType.TrustedTypePolicy.createHTML(e):e},a.getScriptUrl=function(e){return a.isCspTrustedType()?window.OtTrustedType.TrustedTypePolicy.createScriptURL(e):e},a.isCspTrustedType=function(){var e;return(null==(e=window.OtTrustedType)?void 0:e.isCspTrustedTypeEnabled)&&(null==(e=window.OtTrustedType)?void 0:e.TrustedTypePolicy)},a.prototype.fadeOut=function(e){var t=this;if(void 0===e&&(e=60),1<=this.el.length)for(var o=0;o"))if(Array.isArray(e)){var o=this;Array.prototype.forEach.call(e,function(e,t){document.querySelector(o.selector).appendChild(new a(e,"ce").el)})}else{if("string"==typeof e||Array.isArray(e))return this.appendHtmlElement(e);if("string"==typeof this.selector)document.querySelector(this.selector).appendChild(e);else if(1<=e.length)for(var t=0;t\n '+e.Name+' '+I.NewWinTxt+"\n \n ":n):""},Mt.prototype.getBannerSDKAssestsUrl=function(){return this.getBannerVersionUrl()+"/assets"},Mt.prototype.getBannerVersionUrl=function(){var e=A.bannerScriptElement.getAttribute("src");return""+(-1!==e.indexOf("/consent/")?e.split("consent/")[0]+"scripttemplates/":e.split("otSDKStub")[0])+S.moduleInitializer.Version},Mt.prototype.checkMobileOfflineRequest=function(e){return S.moduleInitializer.MobileSDK&&new RegExp("^file://","i").test(e)},Mt.prototype.updateCorrectIABUrl=function(e){var t,o=S.moduleInitializer.ScriptType;return o!==qe.LOCAL&&o!==qe.LOCAL_TEST||(o=T.getURL(e),(t=(t=A.bannerScriptElement)&&t.getAttribute("src")?T.getURL(t.getAttribute("src")):null)&&o&&t.hostname!==o.hostname&&(e=(e=(t=""+A.bannerDataParentURL)+o.pathname.split("/").pop().replace(/(^\/?)/,"/")).replace(o.hostname,t.hostname))),e},Mt.prototype.updateCorrectUrl=function(e,t){if((void 0===t&&(t=!1),A.previewMode)&&new RegExp("^data:image/").test(e))return e;var o=T.getURL(e),n=A.bannerScriptElement,n=n&&n.getAttribute("src")?T.getURL(n.getAttribute("src")):null;if(n&&o&&n.hostname!==o.hostname){var r=S.moduleInitializer.ScriptType;if(r===qe.LOCAL||r===qe.LOCAL_TEST){if(t)return e;e=(n=A.bannerDataParentURL+"/"+A.getRegionRule().Id)+(null==(r=null==(r=e)?void 0:r.replace(null==(t=S.moduleInitializer)?void 0:t.CDNLocation,""))?void 0:r.replace(/(^\/?)/,"/"))}else e=null==(t=e)?void 0:t.replace(o.hostname,n.hostname)}return e},Mt.prototype.isBundleOrStackActive=function(n,r){void 0===r&&(r=null);for(var i=L.oneTrustIABConsent,s=!0,a=(r=r||L.groupsConsent,0);(()=>{var e,t,o=n.SubGroups[a];o.Status!==m.ALWAYS_ACTIVE&&(o.Type===yt?(-1<(t=T.findIndex(r,function(e){return e.split(":")[0]===o.CustomGroupId}))&&"0"===r[t].split(":")[1]||!r.length)&&(s=!1):(e=o.Type===b.GroupTypes.Spl_Ft?i.specialFeatures:i.purpose,(-1<(t=T.findIndex(e,function(e){return e.split(":")[0]===o.IabGrpId}))&&"false"===e[t].split(":")[1]||!e.length)&&(s=!1))),a++})(),s&&a","ce").el,r=(k(n).html(e),n.querySelectorAll("a")),i=0;inew Date(e))||(L.isAMP&&e?this.calculateDaysFromDateToToday(e)>=I.ReconsentFrequencyDays:void 0)},o.prototype.updateCrossConsentCookie=function(e){C.writeCookieParam(g.OPTANON_CONSENT,d.IS_IAB_GLOBAL,e)},o.prototype.alertBoxCloseDate=function(){return C.getCookie(g.ALERT_BOX_CLOSED)},o.prototype.isAlertBoxClosedAndValid=function(){return null!==this.alertBoxCloseDate()&&!this.reconsentRequired()},o.prototype.generateLegIntButtonElements=function(e,t,o){return v.getInnerHtmlContent('\n
\n
\n
")},o.prototype.syncAlertBoxCookie=function(e){var t=I.ReconsentFrequencyDays;C.setCookie(g.ALERT_BOX_CLOSED,e=e||"",t,!1,new Date(e))},o.prototype.syncCookieExpiry=function(){var e,t,o;L.syncRequired&&(e=I.ReconsentFrequencyDays,t=C.getCookie(g.ALERT_BOX_CLOSED),o=C.getCookie(g.OPTANON_CONSENT),C.setCookie(g.OPTANON_CONSENT,o,e,!1,new Date(t)),p.needReconsent()&&C.removeAlertBox(),(o=C.getCookie(g.EU_PUB_CONSENT))&&(p.isIABCrossConsentEnabled()?C.removeIab2():C.setCookie(g.EU_PUB_CONSENT,o,e,!1,new Date(t))),o=C.getCookie(g.ADDITIONAL_CONSENT_STRING))&&C.setCookie(g.ADDITIONAL_CONSENT_STRING,o,e,!1,new Date(t))},o.prototype.syncOtPreviewCookie=function(){var e=C.getCookie(g.OT_PREVIEW);e&&C.setCookie(g.OT_PREVIEW,e,1,!1)},o.prototype.dispatchConsentEvent=function(){window.dispatchEvent(new CustomEvent("OTConsentApplied",{OTConsentApplied:"yes"}))};var _,p=new o,jt=function(){};Xt.prototype.isAlwaysActiveGroup=function(e){var t;return!this.getGrpStatus(e)||(t=this.getGrpStatus(e).toLowerCase(),(t=e.Parent&&t!==m.ALWAYS_ACTIVE?this.getGrpStatus(this.getParentGroup(e.Parent)).toLowerCase():t)===m.ALWAYS_ACTIVE)},Xt.prototype.getGrpStatus=function(e){return e&&e.Status?A.DNTEnabled&&e.IsDntEnabled?m.DNT:e.Status:""},Xt.prototype.getParentGroup=function(t){var e;return t&&0<(e=I.Groups.filter(function(e){return e.OptanonGroupId===t})).length?e[0]:null},Xt.prototype.checkIfGroupHasConsent=function(t){var e=L.groupsConsent,o=T.findIndex(e,function(e){return e.split(":")[0]===t.CustomGroupId});return-1 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},$t.prototype.setCloseIconColor=function(){var e="";return I.PCCloseButtonType===Te.Link&&(e+="#onetrust-pc-sdk.ot-close-btn-link .ot-close-icon {color: "+I.PCContinueColor+"}"),e},$t.prototype.setTabLayoutStyles=function(){var e="",t=I.pcMenuColor,o=I.pcMenuHighLightColor;return A.pcName===it&&(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 ."+P.P_Active_Menu+" {\n background-color: "+o+"\n }"),e},$t.prototype.setFocusIfTemplateUpgrade=function(){var e="",t=I.PCFocusBorderColor;return!I.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},$t.prototype.setExtLnkUrl=function(){var e="",t=h.updateCorrectUrl(I.OTExternalLinkLogo);return t&&(e+="#onetrust-pc-sdk .ot-vlst-cntr .ot-ext-lnk, #onetrust-pc-sdk .ot-ven-hdr .ot-ext-lnk{\n background-image: url('"+t+"');\n }\n "),e},$t.prototype.setCustomCss=function(){var e="";return I.pcCustomCSS&&(e+=I.pcCustomCSS),e};var Qt,Zt=$t;function $t(){this.processedCSS="",this.addCustomBannerCSS=function(){var e=I.backgroundColor,t=I.buttonColor,o=I.textColor,n=I.buttonTextColor,r=I.bannerMPButtonColor,i=I.bannerMPButtonTextColor,s=I.bannerAccordionBackgroundColor,a=I.BSaveBtnColor,l=I.BCategoryContainerColor,c=I.BLineBreakColor,d=I.BCategoryStyleColor,u=I.bannerLinksTextColor,p=I.BFocusBorderColor,o="\n "+(A.bannerName===Xe?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 "+(u?" #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: "+u+";\n }":"");return(t||n)&&(o+="#onetrust-consent-sdk #onetrust-accept-btn-handler,\n #onetrust-banner-sdk #onetrust-reject-all-handler {\n "+(t?"background-color: "+t+";border-color: "+t+";":"")+"\n "+(n?"color: "+n+";":"")+"\n }"),p&&(o+="\n #onetrust-consent-sdk #onetrust-banner-sdk *:focus,\n #onetrust-consent-sdk #onetrust-banner-sdk:focus {\n outline-color: "+p+";\n outline-width: 1px;\n }"),(i||r)&&(o+="\n #onetrust-consent-sdk #onetrust-pc-btn-handler,\n #onetrust-consent-sdk #onetrust-pc-btn-handler.cookie-setting-link {\n "+(i?"color: "+i+"; border-color: "+i+";":"")+"\n background-color:\n "+(r&&!I.BannerSettingsButtonDisplayLink?r:e)+";\n }"),A.bannerName===$e&&(r=i=t=u=s=void 0,d&&(i="background-color: "+d+";",r="border-color: "+d+";"),p&&(o+="\n #onetrust-consent-sdk #onetrust-banner-sdk .ot-tgl input:focus+.ot-switch .ot-switch-nob,\n #onetrust-consent-sdk #onetrust-banner-sdk .ot-chkbox input:focus + label::before {\n outline-color: "+p+";\n outline-width: 1px;\n }"),o+="#onetrust-banner-sdk .ot-bnr-save-handler {"+(s=a?"color: "+n+";border-color: "+n+";background-color: "+a+";":s)+"}#onetrust-banner-sdk .ot-cat-lst {"+(u=l?"background-color: "+l+";":u)+"}#onetrust-banner-sdk .ot-cat-bdr {"+(t=c?"border-color: "+c+";":t)+"}#onetrust-banner-sdk .ot-tgl input:checked+.ot-switch .ot-switch-nob:before,#onetrust-banner-sdk .ot-chkbox input:checked~label::before {"+i+"}#onetrust-banner-sdk .ot-chkbox label::before,#onetrust-banner-sdk .ot-tgl input:checked+.ot-switch .ot-switch-nob {"+r+"}#onetrust-banner-sdk #onetrust-pc-btn-handler.cookie-setting-link {background: inherit}"),I.BCloseButtonType===Te.Link&&(o+="#onetrust-banner-sdk.ot-close-btn-link .banner-close-button {color: "+I.BContinueColor+"}"),o},this.addCustomPreferenceCenterCSS=function(){var e=I.pcBackgroundColor,t=I.pcTextColor,o=I.pcLinksTextColor,n=I.PCenterEnableAccordion,r=I.pcAccordionBackgroundColor,e="\n "+(e?(A.pcName===ot?"#onetrust-consent-sdk #onetrust-pc-sdk .group-parent-container,\n #onetrust-consent-sdk #onetrust-pc-sdk .manage-pc-container,\n #onetrust-pc-sdk "+P.P_Vendor_List:"#onetrust-consent-sdk #onetrust-pc-sdk")+",\n #onetrust-consent-sdk "+P.P_Search_Cntr+",\n "+(n&&A.pcName===ot?"#onetrust-consent-sdk #onetrust-pc-sdk .ot-accordion-layout"+P.P_Category_Item:"#onetrust-consent-sdk #onetrust-pc-sdk .ot-switch.ot-toggle")+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Tab_Grp_Hdr+" .checkbox,\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Title+":after\n "+(S.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 "+P.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 "+P.P_Vendor_Container+" "+P.P_Ven_Opts+" p,\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Policy_Txt+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Title+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Li_Title+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Leg_Select_All+" span,\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Host_Cntr+" "+P.P_Host_Info+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Fltr_Modal+" #modal-header,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-checkbox label span,\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Vendor_List+" "+P.P_Select_Cntr+" p,\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Vendor_List+" "+P.P_Vendor_Title+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Vendor_List+" .back-btn-handler p,\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Vendor_List+" "+P.P_Ven_Name+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Vendor_List+" "+P.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 .ot-pgph-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 "+P.P_Ven_Link+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Ven_Leg_Claim+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Host_Cntr+" "+P.P_Host_Title+" a,\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Host_Cntr+" "+P.P_Acc_Header+" "+P.P_Host_View_Cookies+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Host_Cntr+" "+P.P_Host_Info+" a,\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Content+" "+P.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 "+P.P_Acc_Container+P.P_Acc_Txt+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Acc_Txt+" "+P.P_Subgrp_Tgl_Cntr+" .ot-switch.ot-toggle\n {\n background-color: "+r+";\n }":"")+"\n "+(r?" #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Host_Cntr+" "+P.P_Host_Info+",\n "+(S.isV2Template?"#onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Acc_Txt+" .ot-ven-dets":"#onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Acc_Txt+" "+P.P_Ven_Opts)+"\n {\n background-color: "+r+";\n }":"")+"\n ";return(e+=Qt.setButonColor())+Qt.setFocusBorderColor()+Qt.setCloseIconColor()+Qt.setTabLayoutStyles()+Qt.setTabLayoutStyles()+Qt.setFocusIfTemplateUpgrade()+Qt.setExtLnkUrl()+Qt.setCustomCss()},this.addCustomCookieListCSS=function(){var e=I.CookiesV2NewCookiePolicy?"-v2.ot-sdk-cookie-policy":"",e="\n "+(I.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: "+I.cookieListPrimaryColor+";\n }":"")+"\n "+(I.cookieListTableHeaderColor?"#ot-sdk-cookie-policy"+e+" th {\n color: "+I.cookieListTableHeaderColor+";\n }":"")+"\n "+(I.cookieListGroupNameColor?"#ot-sdk-cookie-policy"+e+" .ot-sdk-cookie-policy-group {\n color: "+I.cookieListGroupNameColor+";\n }":"")+"\n "+(I.cookieListTitleColor?"\n #ot-sdk-cookie-policy"+e+" #cookie-policy-title {\n color: "+I.cookieListTitleColor+";\n }\n ":"")+"\n "+(e&&I.CookieListTableHeaderBackgroundColor?"\n #ot-sdk-cookie-policy"+e+" table th {\n background-color: "+I.CookieListTableHeaderBackgroundColor+";\n }\n ":"")+"\n ";return I.cookieListCustomCss&&(e+=I.cookieListCustomCss),e}}oo.prototype.getAllowAllButton=function(){return k("#onetrust-pc-sdk #accept-recommended-btn-handler")},oo.prototype.getSelectedVendors=function(){return k("#onetrust-pc-sdk "+P.P_Tgl_Cntr+" .ot-checkbox input:checked")};var eo,to=oo;function oo(){}io.prototype.isIabCookieValid=function(){var e=null;return null!==(e=A.isIab2orv2Template?C.getCookie("eupubconsent-v2"):e)},io.prototype.iabTypeIsChanged=function(){this.isIabCookieValid()||(C.removeAlertBox(),C.removeIab1())},io.prototype.initializeIABModule=function(){return F(this,void 0,void 0,function(){return M(this,function(e){switch(e.label){case 0:return I.IsIabEnabled?(S.moduleInitializer.otIABModuleData=window.otIabModule,p.setIabData(),[4,p.populateVendorListTCF()]):[3,2];case 1:return e.sent(),p.isIABCrossConsentEnabled()||this.iabTypeIsChanged(),p.populateIABCookies(),I.UseGoogleVendors&&this.removeInActiveAddtlVendors(),[3,3];case 2:C.removeIab1(),e.label=3;case 3:return[2]}})})},io.prototype.removeInActiveAddtlVendors=function(){var e,t=I.OverridenGoogleVendors;for(e in L.addtlVendorsList)t&&t[e]&&!t[e].active&&delete L.addtlVendorsList[e]},io.prototype.getIABConsentData=function(){var e=L.oneTrustIABConsent,t=p.iabStringSDK().tcString(),o=(L.tcModel.unsetAllPurposeConsents(),L.tcModel.unsetAllVendorConsents(),L.tcModel.unsetAllVendorLegitimateInterests(),L.tcModel.unsetAllSpecialFeatureOptins(),L.tcModel.unsetAllPurposeLegitimateInterests(),L.tcModel.publisherConsents.empty(),L.tcModel.publisherLegitimateInterests.empty(),L.tcModel.purposeConsents.set(T.getActiveIdArray(e.purpose)),L.tcModel.publisherConsents.set(T.getActiveIdArray(e.purpose)),A.legIntSettings.PAllowLI?T.getActiveIdArray(e.legimateInterest):[]),o=(L.tcModel.purposeLegitimateInterests.set(o),L.tcModel.publisherLegitimateInterests.set(o),L.tcModel.vendorConsents.set(T.getActiveIdArray(T.distinctArray(e.vendors))),A.legIntSettings.PAllowLI&&this.shouldSetVendorLegitimateInterest(e)&&(e.legIntVendors=[]),L.tcModel.vendorLegitimateInterests.set(T.getActiveIdArray(T.distinctArray(e.legIntVendors))),L.tcModel.specialFeatureOptins.set(T.getActiveIdArray(e.specialFeatures)),new Date),e=new Date(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate(),0,0,0),o=(L.tcModel.lastUpdated=e,L.tcModel.created=e,t.encode(L.tcModel));return L.cmpApi.update(o,!1),o},io.prototype.shouldSetVendorLegitimateInterest=function(e){return!L.anyVendorHasOnlySplPur&&!T.getActiveIdArray(e.legimateInterest)},io.prototype.decodeTCString=function(e){return p.iabStringSDK().tcString().decode(e)},io.prototype.getVendorConsentsRequestV2=function(e){var o;return window.__tcfapi("getInAppTCData",2,function(e,t){o=[e,t]}),e.apply(this,o)},io.prototype.getPingRequestForTcf=function(e){var t;return window.__tcfapi("ping",2,function(e){t=[e]}),e.apply(this,t)},io.prototype.populateVendorAndPurposeFromCookieData=function(){var n=L.oneTrustIABConsent,e=no.decodeTCString(n.IABCookieValue),t=b.GroupTypes,r={},i={},s=(A.iabGrps.forEach(function(e){e.Type===t.Pur?r[A.iabGrpIdMap[e.CustomGroupId]]=e:e.Type===t.Spl_Ft&&(i[A.iabGrpIdMap[e.CustomGroupId]]=e)}),[]);this.syncVendorConsent(e),s=[],e.vendorLegitimateInterests.forEach(function(e,t){var o=e;L.vendorsSetting[t]&&L.vendorsSetting[t].legInt||!e||(s.push(t),o=!1),n.legIntVendors.push(t+":"+o)}),e.vendorLegitimateInterests.unset(s),s=[],e.purposeConsents.forEach(function(e,o){var t=e,e=(!(r[o]&&r[o].HasConsentOptOut)&&e&&(s.push(o),t=!1),T.findIndex(n.purpose,function(e,t){return e.split(":")[0]===o.toString()}));-1===e?n.purpose.push(o+":"+t):n.purpose[e]=o+":"+t}),e.purposeConsents.unset(s),e.publisherConsents.unset(s),s=[],e.specialFeatureOptins.forEach(function(e,o){var t=e,e=(!(i[o]&&i[o].HasConsentOptOut)&&e&&(s.push(o),t=!1),T.findIndex(n.specialFeatures,function(e,t){return e.split(":")[0]===o.toString()}));-1===e?n.specialFeatures.push(o+":"+t):n.specialFeatures[e]=o+":"+t}),e.specialFeatureOptins.unset(s),this.syncPurAndPubLegInt(e,r),this.syncBundleAndStack(),e.gvl=L.tcModel.gvl,e.isServiceSpecific=!p.isIABCrossConsentEnabled(),L.tcModel=e,p.isAlertBoxClosedAndValid()?L.cmpApi.update(n.IABCookieValue,!1):p.resetTCModel()},io.prototype.syncVendorConsent=function(e){var n=[],r=[];e.vendorConsents.forEach(function(e,t){var o=e;L.vendorsSetting[t]&&L.vendorsSetting[t].consent||!e||(n.push(t),o=!1),r.push(t+":"+o)}),L.oneTrustIABConsent.vendors=r,e.vendorConsents.unset(n)},io.prototype.syncPurAndPubLegInt=function(e,n){var r=[],i=L.oneTrustIABConsent;e.purposeLegitimateInterests.forEach(function(e,o){var t=e,e=(!(n[o]&&n[o].HasLegIntOptOut&&A.legIntSettings.PAllowLI)&&e&&(r.push(o),t=!1),T.findIndex(i.legimateInterest,function(e,t){return e.split(":")[0]===o.toString()}));-1===e?i.legimateInterest.push(o+":"+t):i.legimateInterest[e]=o+":"+t}),e.purposeLegitimateInterests.unset(r),e.publisherLegitimateInterests.unset(r)},io.prototype.syncBundleAndStack=function(){var e=C.readCookieParam(g.OPTANON_CONSENT,"groups"),n=(L.groupsConsent=T.strToArr(e),b.GroupTypes);I.Groups.forEach(function(t){var e,o;t.Type!==n.Bundle&&t.Type!==n.Stack||(o=h.isBundleOrStackActive(t),e=T.findIndex(L.groupsConsent,function(e){return e.split(":")[0]===t.CustomGroupId}),o=t.CustomGroupId+":"+Number(o),-1{var t=e[n].replace(/:0|:1/g,"");I.Groups.some(function(e){return(!o||e.Type!==b.GroupTypes.Stack)&&(e.CustomGroupId===t||e.SubGroups.some(function(e){return e.CustomGroupId===t}))})||(r=!0,e.splice(n,1))})();return r},bo.prototype.updateConsentForBundleGrps=function(e,n,r,t,i){var s=t,a=b.GroupTypes;return e.forEach(function(e){var t=e.Type===a.Bundle||e.Type===a.Stack,o=e.CustomGroupId;t&&(-1===T.indexOf(r,o)?(t=h.isBundleOrStackActive(e,n),s=!0,n.push(o+(t?":1":":0"))):(i&&"false"===p.getIABCrossConsentflagData()||A.gpcEnabled&&A.gpcValueChanged||L.syncRequired)&&(t=h.isBundleOrStackActive(e,n),-1<(e=n.indexOf(o+":"+(t?"0":"1"))))&&(s=!0,n[e]=o+(t?":1":":0")))}),s},bo.prototype.groupHasConsent=function(t){var e=T.strToArr(C.readCookieParam(g.OPTANON_CONSENT,"groups")),o=T.findIndex(e,function(e){return e.split(":")[0]===t.CustomGroupId});return-1{var t=r[o].replace(/:0|:1/g,"");I.Groups.some(function(e){return q(e.SubGroups,[e]).some(function(e){return e.Hosts.some(function(e){return e.HostId===t})})})||(s=!0,r.splice(o,1))})();s&&(L.fireOnetrustGrp=!0,lo.writeHstParam(g.OPTANON_CONSENT,r))},bo.prototype.toggleGroupHosts=function(e,t){var o=this;e.Hosts.forEach(function(e){o.updateHostStatus(e,t)})},bo.prototype.toggleGroupGenVendors=function(e,t){e.GeneralVendorsIds.forEach(function(e){yo.updateGenVendorStatus(e,t)})},bo.prototype.updateHostStatus=function(t,e){var o=T.findIndex(L.hostsConsent,function(e){return!t.isActive&&t.HostId===e.replace(/:0|:1/g,"")});-1"):""},on.prototype.canInsertForGroup=function(e,t){void 0===t&&(t=!1);var o=null!=e&&void 0!==e,n=C.readCookieParam(g.OPTANON_CONSENT,"groups"),r=L.groupsConsent.join(","),i=C.readCookieParam(g.OPTANON_CONSENT,"hosts"),s=L.hostsConsent.join(",");if(t)return!0;n===r&&i===s||N.ensureHtmlGroupDataInitialised();var a=[];if(L.showGeneralVendors)for(var l=0,c=Object.entries(L.genVendorsConsent);l{var t,e=L.oneTrustIABConsent[o];"purpose"===o||"specialFeatures"===o?e.forEach(function(e){var t="purpose"===o?"IAB2V2":"ISF2V2",e=e.split(":");"true"===e[1]&&n.push(t+"_"+e[0])}):(t=[],e.forEach(function(e){e.value&&t.push(e.groupId.toString())}),n=q(n,t))})(t[e]);return n}catch(e){return[]}},yn.prototype.dispatchEvents=function(e,t,o){!e&&A.gtmUpdatedinStub||(n=new CustomEvent("consent.onetrust",{detail:t}));var n,r,i=C.readCookieParam(g.OPTANON_CONSENT,"groups"),s=L.fireOnetrustGrp||!i||e||!A.gtmUpdatedinStub;s&&(L.fireOnetrustGrp=!1,!A.otDataLayer.ignore&&this._window[A.otDataLayer.name]&&this._window[A.otDataLayer.name].constructor===Array&&this._window[A.otDataLayer.name].push({event:"OneTrustGroupsUpdated",OnetrustActiveGroups:o}),r=new CustomEvent("OneTrustGroupsUpdated",{detail:t})),setTimeout(function(){n&&s&&window.dispatchEvent(n),r&&window.dispatchEvent(r)})},yn.prototype.categoryNotMapped=function(e){return e!==lt&&""!==e},yn.prototype.updateGCMTags=function(o){var n,r=this,i={},e=(this.canUpdateGCMCategories()&&(e=[[I.GoogleConsent.GCAdStorage,Ae.ad_storage],[I.GoogleConsent.GCAnalyticsStorage,Ae.analytics_storage],[I.GoogleConsent.GCFunctionalityStorage,Ae.functionality_storage],[I.GoogleConsent.GCPersonalizationStorage,Ae.personalization_storage],[I.GoogleConsent.GCSecurityStorage,Ae.security_storage]],S.fp.CookieV2GCMDMA&&(e.push([I.GoogleConsent.GCAdUserData,Ae.ad_user_data]),e.push([I.GoogleConsent.GCAdPersonalization,Ae.ad_personalization])),e.forEach(function(e){var t;r.categoryNotMapped(e[0])&&(t=o.includes(e[0])?Ie.granted:Ie.denied,i[e[1]]=t)})),C.getCookie(g.ALERT_BOX_CLOSED)),t=A.getRegionRule().Global;"function"!=typeof window.gtag&&(n=this._window,window.gtag=function(e,t,o){A.otDataLayer.ignore||(n[A.otDataLayer.name]?n[A.otDataLayer.name].push(arguments):n[A.otDataLayer.name]=[arguments])}),"function"==typeof window.gtag&&(A.gcmDevIdSet||(window.gtag(Pe.set,"developer_id.dYWJhMj",!0),A.gcmDevIdSet=!0),e)&&(t||(i[Ae.region]=A.gcmCountries),0!==Object.keys(i).length)&&window.gtag(Pe.consent,be.update,i)},yn.prototype.canUpdateGCMCategories=function(){return I.GoogleConsent.GCAdStorage!==lt||I.GoogleConsent.GCAnalyticsStorage!==lt||I.GoogleConsent.GCFunctionalityStorage!==lt||I.GoogleConsent.GCPersonalizationStorage!==lt||I.GoogleConsent.GCSecurityStorage!==lt||I.GoogleConsent.GCAdUserData!==lt||I.GoogleConsent.GCAdPersonalization!==lt},yn.prototype.checkAndWarnGCMConfig=function(){var e=0,t=0,o=0,n=0;if(I.GoogleConsent.GCEnable&&!A.otDataLayer.ignore){for(var r=this._window[A.otDataLayer.name],i=0,s=Object.keys(r);ig {\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 "},Vn.prototype.initHtml=function(e,t,o,n){var r="Complete"===e?".ot-sync-refresh":".ot-sync-check";t.ShowIcon?(k(o("Sync"===e?".ot-sync-refresh":".ot-sync-check")).show(),k(o(r)).hide(),k(o(".ot-sync-icon")).show("inline-block"),n.classList.remove("ot-hide-icon")):(k(o(".ot-sync-icon")).hide(),n.classList.add("ot-hide-icon")),t.Title?k(o("#ot-sync-title")).html(t.Title):k(o("#ot-sync-title")).hide(),t.Desc?k(o(".ot-sync-desc")).html(t.Desc):k(o(".ot-sync-desc")).hide(),t.ShowClose?(k(o(".ot-sync-close-handler")).show("inline-block"),k(o(".ot-close-icon")).attr("aria-label",t.CloseAria),n.classList.remove("ot-hide-close")):(k(o(".ot-sync-close-handler")).hide(),n.classList.add("ot-hide-close"))},Vn.prototype.close=function(){this.hideSyncNtfy(),h.resetFocusToBody()},Vn.prototype.hideSyncNtfy=function(){I.NtfyConfig.ShowCS&&window.removeEventListener("resize",vn.resizeEvent),k("#ot-sync-ntfy").fadeOut(400)},Vn.prototype.removeHtml=function(){var e=k(this.El).el;e&&T.removeChild(e)},Vn.prototype.alignContent=function(){k(".ot-sync-btncntr").el[0].clientHeight>k(".ot-sync-titlecntr").el[0].clientHeight&&(k(".ot-sync-titlecntr").addClass("ot-pos-abs"),k(".ot-sync-btncntr").addClass("ot-pos-rel"))},Vn.prototype.resizeEvent=function(){window.innerWidth<=896&&vn.alignContent()},Vn);function Vn(){this.El="#ot-sync-ntfy"}Nn.prototype.toggleVendorConsent=function(e,t){void 0===t&&(t=null),(e=(e=void 0===e?[]:e).length?e:L.oneTrustIABConsent.vendors).forEach(function(e){var e=e.split(":"),t=e[0],e=e[1],t=k(P.P_Vendor_Container+" ."+P.P_Ven_Ctgl+' [vendorid="'+t+'"]').el[0];t&&T.setCheckedAttribute("",t,"true"===e)});var o,n=k("#onetrust-pc-sdk #select-all-vendor-groups-handler").el[0];n&&(o=T.getActiveIdArray(T.distinctArray(e)),(t=null===t?o.length===e.length:t)||0===o.length?n.parentElement.classList.remove(Vt.P_Line_Through):n.parentElement.classList.add(Vt.P_Line_Through),T.setCheckedAttribute("",n,t))},Nn.prototype.toggleVendorLi=function(e,t){void 0===t&&(t=null),(e=(e=void 0===e?[]:e).length?e:L.oneTrustIABConsent.legIntVendors).forEach(function(e){var e=e.split(":"),t=e[0],e=e[1],t=k(P.P_Vendor_Container+" ."+P.P_Ven_Ltgl+' [leg-vendorid="'+t+'"]').el[0];t&&T.setCheckedAttribute("",t,"true"===e)});var o,n=k("#onetrust-pc-sdk #select-all-vendor-leg-handler").el[0];n&&(o=T.getActiveIdArray(T.distinctArray(e)),(t=null===t?o.length===e.length:t)||0===o.length?n.parentElement.classList.remove(Vt.P_Line_Through):n.parentElement.classList.add(Vt.P_Line_Through),T.setCheckedAttribute("",n,t))},Nn.prototype.updateVendorLegBtns=function(e){(e=(e=void 0===e?[]:e).length?e:L.oneTrustIABConsent.legIntVendors).forEach(function(e){var e=e.split(":"),t=e[0],e=e[1],t=k(P.P_Vendor_Container+' .ot-leg-btn-container[data-group-id="'+t+'"]').el[0];t&&E.updateLegIntBtnElement(t,"true"===e)})};var wn,Bn=Nn;function Nn(){}function Gn(){return(!A.isIab2orv2Template&&I.PCTemplateUpgrade&&I.PCCategoryStyle===ve.Toggle?_.toggleEl:_.chkboxEl).cloneNode(!0)}xn.prototype.setHtmlTemplate=function(e){O.setInternalData(),O.rootHtml=e,O.cloneHtmlElements()},xn.prototype.getVendorListEle=function(e){var t=document.createDocumentFragment(),o=document.createElement("div"),n=(o.classList.add("ot-vs-list"),I.VendorServiceConfig.PCVSExpandGroup);return e.forEach(function(e,t){e=O.createVendor(e.groupRef,e,n,"ot-vs-lst-id-"+t);o.appendChild(e)}),t.appendChild(o),t},xn.prototype.insertVendorServiceHtml=function(e,t){var o;O.checkIfIsInvalid(e,t)||(o=document.createDocumentFragment(),O.setVendorContainer(o,e),O.setVendorList(o,e),e.SubGroups&&0\n \n \n \n \n '+e.errorMessage+"\n \n
\n ",e=document.createElement("div");e.innerHTML=v.getInnerHtmlContent(t),e.classList.add("ot-signature-health-group"),this.setConsentIdInput(e),this.healthSignatureElement=e,this.parentElement.appendChild(e),this.addEventHandlers()},Fn.prototype.resetHealthSignatureData=function(e){void 0===e&&(e=!1),A.requireSignatureEnabled&&(A.healthSignatureData="",A.healthSignatureGroup=null,e)&&C.writeCookieParam(g.OPTANON_CONSENT,d.HEALTH_SIGNATURE_AUTHORIZATION,"")},Fn.prototype.setConsentIdInPC=function(){this.setConsentIdInput(null)},Fn.prototype.setConsentIdInput=function(e){var t;this.healthSignatureGroup&&(C.readCookieParam(g.OPTANON_CONSENT,d.HEALTH_SIGNATURE_AUTHORIZATION)?(t=(e||document).querySelector(this.HEALTH_SIGNATURE_INPUT_SELECTOR))&&(e="",E.isGroupActive(this.healthSignatureGroup)&&(e=C.readCookieParam(g.OPTANON_CONSENT,d.CONSENT_ID)),t.value=e):(t=document.querySelector(this.HEALTH_SIGNATURE_INPUT_SELECTOR))&&(t.value=""))},Fn.prototype.showHealthSignatureModal=function(t){var o=this;un.hideConsentNoticeV2(),this.langJson=I,this.parentElement=document.querySelector(this.PARENT_SELECTOR),this.setMyHealthDataModal(function(e){o.setSignHealthDataIntoCookieGroup(e),t()},function(){E.toggleGrpStatus(o.healthSignatureGroup,!1),E.toggleGroupHtmlElement(o.healthSignatureGroup,o.healthSignatureGroup.CustomGroupId,!1),t()})},Fn.prototype.setMyHealthDataModal=function(e,t){this.isModal=!0,this.rejectCallback=t,this.confirmCallback=e,this.configOptions={mainTitle:this.healthSignatureGroup.GroupName,description:this.healthSignatureGroup.GroupDescription,subtitle:this.langJson.PCRequireSignatureHeaderText,ariaLabel:this.langJson.PCRequireSignatureHeaderDesc,errorMessage:this.langJson.PCRequireSignatureHelpText,subDescription:this.langJson.PCRequireSignatureHeaderDesc,inputLabelText:this.langJson.PCRequireSignatureFieldLabel,rejectButtonText:this.langJson.PCRequireSignatureRejectBtnText,acceptButtonText:this.langJson.PCRequireSignatureConfirmBtnText};t=document.createDocumentFragment(),e=this.createModal(t);this.healthSignatureElement=this.createHealtSignatureForm(e),this.parentElement.appendChild(t),this.setFocusOnInput(),this.addEventHandlers(),this.genericModal.openModalHandler()},Fn.prototype.setSignHealthDataIntoCookieGroup=function(e){e?(ur.setDataSubjectIdV2(e),A.healthSignatureData=e,E.toggleGrpStatus(this.healthSignatureGroup,!0)):(A.healthSignatureData="",E.toggleGrpStatus(this.healthSignatureGroup,!1)),C.writeCookieParam(g.OPTANON_CONSENT,d.HEALTH_SIGNATURE_AUTHORIZATION,e?"1":"")},Fn.prototype.createModal=function(e){return this.genericModal=Hn(this.MODAL_ID,this.parentElement),e.appendChild(this.genericModal.dialogLayerHtml),this.genericModal.modalHtml},Fn.prototype.createHealtSignatureForm=function(e){var t='\n
\n '+t.subtitle+'
\n '+t.subDescription+'
\n \n
\n '+t.mainTitle+'
\n '+t.description+'
\n \n
\n
\n \n \n
\n
";return e.innerHTML=v.getInnerHtmlContent(t),this.setConsentIdInput(e),this.addStyles(),e.querySelector(".ot-signature-health")},Fn.prototype.addEventHandlers=function(){this.isModal?(this.parentElement.querySelector(this.REJECT_SELECTOR).addEventListener("click",this.rejectListener.bind(this)),this.parentElement.querySelector(this.CONFIRM_SELECTOR).addEventListener("click",this.confirmListener.bind(this))):this.parentElement.querySelector(this.HEALTH_SIGNATURE_INPUT_SELECTOR).addEventListener("keyup",this.healthSignatureInputChanged.bind(this))},Fn.prototype.removeModal=function(){this.removeEventHandlers(),this.genericModal.closeModalHandler()},Fn.prototype.removeEventHandlers=function(){this.isModal?(this.parentElement.querySelector(this.REJECT_SELECTOR).removeEventListener("click",this.rejectListener),this.parentElement.querySelector(this.CONFIRM_SELECTOR).removeEventListener("click",this.confirmListener)):this.parentElement.querySelector(this.HEALTH_SIGNATURE_INPUT_SELECTOR).removeEventListener("keyup",this.healthSignatureInputChanged)},Fn.prototype.rejectListener=function(){this.removeModal(),this.rejectCallback&&this.rejectCallback()},Fn.prototype.confirmListener=function(){var e=this.healthSignatureElement.querySelector(this.HEALTH_SIGNATURE_INPUT_SELECTOR).value;e&&(this.removeModal(),this.confirmCallback(e))},Fn.prototype.healthSignatureInputChanged=function(e){A.healthSignatureData=e.target.value},Fn.prototype.setFocusOnInput=function(){this.healthSignatureElement.querySelector(this.HEALTH_SIGNATURE_INPUT_SELECTOR).focus()},Fn.prototype.addStyles=function(){var e="",t=(e=(e=(e+=this.setParagraphStyles())+this.setAcceptButtonsStyles())+this.setRejectButtonsStyles(),document.getElementById("onetrust-style"));t.textContent=t.textContent+e},Fn.prototype.setRejectButtonsStyles=function(){return"#onetrust-consent-sdk .ot-signature-health "+this.REJECT_SELECTOR+" {\n color: "+I.bannerMPButtonTextColor+";\n border-color: "+I.bannerMPButtonTextColor+";\n background-color: "+I.bannerMPButtonColor+";\n }"},Fn.prototype.setAcceptButtonsStyles=function(){return"#onetrust-consent-sdk .ot-signature-health "+this.CONFIRM_SELECTOR+" {\n color: "+I.buttonTextColor+";\n border-color: "+I.buttonColor+";\n background-color: "+I.buttonColor+";\n }"},Fn.prototype.setParagraphStyles=function(){return this.HEALTH_SIGNATURE_PARAGRAPH_SELECTOR+" {\n color: "+I.textColor+";\n }"},Fn.prototype.getGroupToggleHtmlValue=function(){var e=this.healthSignatureGroup.CustomGroupId,e=document.querySelector("input#ot-group-id-"+e+", input#ot-bnr-hdr-id-"+e+", input#ot-bnr-grp-id-"+e);return!!e&&!0===e.checked};var Rn=Fn;function Fn(){this.MODAL_ID="healthSignatureDataModal",this.PARENT_SELECTOR="#onetrust-consent-sdk",this.REJECT_SELECTOR=".ot-signature-button.reject",this.CONFIRM_SELECTOR=".ot-signature-button.accept",this.HEALTH_SIGNATURE_INPUT_SELECTOR="#otHealthSignatureData",this.HEALTH_SIGNATURE_PARAGRAPH_SELECTOR="p.ot-signature-paragraph"}qn.prototype.updateDataSubjectTimestamp=function(){var e=p.alertBoxCloseDate(),e=e&&h.getUTCFormattedDate(e);k(".ot-userid-timestamp").html(I.PCenterUserIdTimestampTitleText+": "+e)},qn.prototype.closeBanner=function(e){this.closeOptanonAlertBox(),e?this.allowAll(!1):this.close(!1)},qn.prototype.allowAll=function(e,t){void 0===t&&(t=!1),S.moduleInitializer.MobileSDK?window.OneTrust.AllowAll():this.AllowAllV2(e,t)},qn.prototype.bannerActionsHandler=function(t,n,e){var r=this,i=(void 0===e&&(e=!1),So.setLandingPathParam(d.NOT_LANDING_PAGE),L.groupsConsent=[],L.hostsConsent=[],L.genVendorsConsent={},{});I.Groups.forEach(function(e){if(e.IsAboutGroup)return!1;q(e.SubGroups,[e]).forEach(function(e){var o=r.getGroupStatus(t,n,e);r.setGroupConsent(o,e),e.Hosts.length&&h.isOptOutEnabled()&&e.Hosts.forEach(function(e){var t;i[e.HostId]?To.updateHostStatus(e,o):(i[e.HostId]=!0,t=To.isHostPartOfAlwaysActiveGroup(e.HostId),L.hostsConsent.push(e.HostId+":"+(t||o?"1":"0")))}),L.genVenOptOutEnabled&&e.GeneralVendorsIds&&e.GeneralVendorsIds.length&&e.GeneralVendorsIds.forEach(function(e){yo.updateGenVendorStatus(e,o)})})}),I.IsIabEnabled&&(t?this.iab.allowAllhandler():this.iab.rejectAllHandler(e)),rn.removeAddedOTCssStyles(),un.hideConsentNoticeV2(),lo.writeGrpParam(g.OPTANON_CONSENT),lo.writeHstParam(g.OPTANON_CONSENT),L.genVenOptOutEnabled&&lo.writeGenVenCookieParam(g.OPTANON_CONSENT),L.vsIsActiveAndOptOut&&lo.writeVSConsentCookieParam(g.OPTANON_CONSENT),fn.substitutePlainTextScriptTags(),Cn.updateGtmMacros(),this.executeOptanonWrapper()},qn.prototype.getGroupStatus=function(e,t,o){return e?o.Status.toLowerCase()!==m.ALWAYS_INACTIVE:!!t&&y.isAlwaysActiveGroup(o)},qn.prototype.setGroupConsent=function(e,t){var o;-1{for(var o=y.getGroupById(e),n=s.groupsClass.getAllGroupElements(),r=0;r div[role="dialog"]')).css("height: 100%;"),k(n(ln+' > div[role="dialog"]')).attr(this._ariaLabel,I.MainText),I.PCRegionAriaLabel&&(k(n("#onetrust-pc-sdk")).attr(this._ariaLabel,I.PCRegionAriaLabel),k(n("#onetrust-pc-sdk")).attr("role","region")),A.pcName===it&&(k(n(P.P_Privacy_Txt)).html(I.AboutCookiesText),k(n(P.P_Privacy_Hdr)).html(I.AboutCookiesText)),e=''+A.tcf2ActiveVendors.all.toString()+"",e=h.replaceTextFromString("[VENDOR_NUMBER]",I.MainInfoText,e),k(n(P.P_Policy_Txt)).html(e),w.configureLinkFields(n),w.configureSubjectDataFields(n),w.configureButtons(n,o),w.setManagePreferenceText(n),w.initializePreferenceCenterGroups(n,t),w.removeListsWhenAppropriate(n),I.PCTemplateUpgrade)&&w.setOptOutSignalNotification(n),document.createElement("iframe")),o=(e.setAttribute("class","ot-text-resize"),e.setAttribute("sandbox","allow-same-origin"),e.setAttribute("title","onetrust-text-resize"),u(e,"position: absolute; top: -50000px; width: 100em;"),e.setAttribute(this._ariaHidden,"true"),k(t.querySelector("#onetrust-pc-sdk")).append(e),document.getElementById("onetrust-consent-sdk")),n=(k(o).append(t),A.ignoreInjectingHtmlCss||k(document.body).append(o),(I.showCookieList||L.showGeneralVendors)&&fn.InitializeHostList(),P.P_Vendor_List+" "+P.P_Host_Cntr+" li"),e=k(n).el[0];e&&T.removeChild(e)},n.prototype.addClassesPerConfig=function(e){/Chrome|Safari/i.test(navigator.userAgent)&&/Google Inc|Apple Computer/i.test(navigator.vendor)||k(e).addClass("ot-sdk-not-webkit"),I.useRTL&&k(e).attr("dir","rtl"),A.legIntSettings.PAllowLI&&A.isIab2orv2Template&&(k(e).addClass("ot-leg-opt-out"),A.legIntSettings.PShowLegIntBtn)&&k(e).addClass("ot-leg-btn"),I.BannerRelativeFontSizesToggle&&k(e).addClass("otRelFont"),I.PCShowConsentLabels&&k(e).addClass("ot-tgl-with-label"),(I.UseGoogleVendors||L.showGeneralVendors)&&k(e).addClass("ot-addtl-vendors"),"right"===I.PreferenceCenterPosition&&k(e).addClass(I.useRTL?"right-rtl":"right")},n.prototype.manageCloseButtons=function(e,t,o){var n=k(t(P.P_Close_Btn)).el;if(I.ShowPreferenceCenterCloseButton){I.CloseText||(I.CloseText="Close Preference Center");for(var r=0,i=n;r'+I.AboutText+""),I.PCenterImprintLinkText&&(I.AboutText||e(P.P_Policy_Txt).insertAdjacentHTML("beforeend",v.getInnerHtmlContent("
")),(t=document.createElement("a")).classList.add("ot-link-btn","ot-imprint-handler"),t.textContent=I.PCenterImprintLinkText,t.setAttribute(this._ariaLabel,I.PCenterImprintLinkScreenReader),t.setAttribute("href",I.PCenterImprintLinkUrl),t.setAttribute("rel","noopener"),t.setAttribute("target","_blank"),e(P.P_Policy_Txt).appendChild(t)),I.PCenterVendorListLinkText&&(t=!I.IsIabEnabled&&L.showGeneralVendors?"ot-gv-list-handler":"onetrust-vendors-list-handler",e(P.P_Policy_Txt).insertAdjacentHTML("beforeend",v.getInnerHtmlContent('")))},n.prototype.configureSubjectDataFields=function(e){var t;I.PCTemplateUpgrade&&I.PCenterUserIdTitleText&&I.IsConsentLoggingEnabled&&(t=C.readCookieParam(g.OPTANON_CONSENT,d.CONSENT_ID),e(P.P_Policy_Txt).insertAdjacentHTML("beforeend",v.getInnerHtmlContent(''+I.PCenterUserIdTitleText+": "+t+"
")),I.PCenterUserIdDescriptionText&&e(P.P_Policy_Txt).insertAdjacentHTML("beforeend",v.getInnerHtmlContent(''+I.PCenterUserIdDescriptionText+"
")),I.PCenterUserIdTimestampTitleText)&&(t=(t=C.getCookie(g.ALERT_BOX_CLOSED))&&h.getUTCFormattedDate(t)||I.PCenterUserIdNotYetConsentedText,e(P.P_Policy_Txt).insertAdjacentHTML("beforeend",v.getInnerHtmlContent(''+I.PCenterUserIdTimestampTitleText+": "+t+"
")))},n.prototype.setManagePreferenceText=function(e){var e=e(P.P_Manage_Cookies_Txt),t=k(e);e&&(t.html(I.ManagePreferenceText),I.ManagePreferenceText||t.attr(this._ariaHidden,!0))},n.prototype.configureButtons=function(e,t){I.ConfirmText.trim()?k(e("#accept-recommended-btn-handler")).html(I.ConfirmText):e("#accept-recommended-btn-handler").parentElement.removeChild(e("#accept-recommended-btn-handler"));for(var o=t(".save-preference-btn-handler"),n=0;nh3");k(r).html(t),k(r).attr("id",o),A.pcName===it&&(e.querySelector(P.P_Category_Header).innerHTML=v.getInnerHtmlContent(t),e.querySelector(""+P.P_Desc_Container).setAttribute("id",n),e.querySelector(".category-menu-switch-handler").setAttribute("aria-controls",n))},n.prototype.setLegIntButton=function(e,t,o,n){void 0===o&&(o=!1);var r=!0,r=(-1 '+P.P_Arrw_Cntr)).el.cloneNode(!0),_.subGrpEl=k(e(P.P_Sub_Grp_Cntr)).el.cloneNode(!0),_.vListEl=k(e(P.P_Ven_Lst_Cntr)).el.cloneNode(!0),_.cListEl=k(e(P.P_Host_Lst_cntr)).el.cloneNode(!0),_.chkboxEl=k(e(P.P_CBx_Cntr)).el.cloneNode(!0),_.accordionEl=k(e(".ot-acc-cntr")).el.cloneNode(!0),t.test(A.pcName)&&(_.plusMinusEl=k(e(".ot-plus-minus")).el.cloneNode(!0)),T.removeChild(e(".ot-tgl")),T.removeChild(e('#onetrust-pc-sdk [role="dialog"] > '+P.P_Arrw_Cntr)),T.removeChild(e(P.P_Sub_Grp_Cntr)),T.removeChild(e(P.P_Ven_Lst_Cntr)),T.removeChild(e(P.P_Host_Lst_cntr)),T.removeChild(e(P.P_CBx_Cntr)),T.removeChild(e(".ot-acc-cntr")),t.test(A.pcName)&&T.removeChild(e(".ot-plus-minus"))},n.prototype.insertSelectAllEls=function(e){var e=e(P.P_Select_Cntr+" .ot-sel-all-chkbox"),t=L.showVendorService?Gn():_.chkboxEl.cloneNode(!0),t=(t.id=P.P_Sel_All_Host_El,t.querySelector("input").id="select-all-hosts-groups-handler",t.querySelector("label").setAttribute("for","select-all-hosts-groups-handler"),k(e).append(t),L.showVendorService?Gn():_.chkboxEl.cloneNode(!0)),t=(t.id=P.P_Sel_All_Vendor_Consent_El,t.querySelector("input").id="select-all-vendor-groups-handler",t.querySelector("label").setAttribute("for","select-all-vendor-groups-handler"),k(e).append(t),L.showVendorService?Gn():_.chkboxEl.cloneNode(!0));t.id=P.P_Sel_All_Vendor_Leg_El,t.querySelector("input").id="select-all-vendor-leg-handler",t.querySelector("label").setAttribute("for","select-all-vendor-leg-handler"),k(e).append(t)},n.prototype.initializePreferenceCenterGroups=function(e,t){var o,n=A.pcName,r=(S.isV2Template&&(w.cloneOtHtmlEls(e),(r=_.chkboxEl.cloneNode(!0)).querySelector("input").classList.add("category-filter-handler"),k(e(P.P_Fltr_Modal+" "+P.P_Fltr_Option)).append(r),w.insertSelectAllEls(e)),k(e("#onetrust-pc-sdk "+P.P_Category_Grp))),i=(n===tt||n===nt||n===ot?I.PCenterEnableAccordion?T.removeChild(r.el.querySelector(P.P_Category_Item+":not(.ot-accordion-layout)")):T.removeChild(r.el.querySelector(P.P_Category_Item+".ot-accordion-layout")):n===it&&(I.PCenterEnableAccordion=!1),e("#onetrust-pc-sdk "+P.P_Category_Item)),s=S.isV2Template?_.subGrpEl.cloneNode(!0):k(e(P.P_Sub_Grp_Cntr)),a=S.isV2Template?null:k(e(P.P_Acc_Container+" "+P.P_Sub_Grp_Cntr));I.PCTemplateUpgrade&&/otPcTab/.test(n)&&(o=e(".ot-abt-tab").cloneNode(!0),T.removeChild(e(".ot-abt-tab"))),r.el.removeChild(i),w.setVendorListClass(e,i),w.setPCHeader(e,i),w.createHtmlForEachGroup({fm:e,fragment:t,categoryGroupTemplate:i,cookiePreferencesContainer:r,popupSubGrpContainer:a,subGrpContainer:s}),w.setPcTabLayout(e,t,o)},n.prototype.getActiveVendorCount=function(e){var t=parseInt(e.IabGrpId),o=0;return e.Type===b.GroupTypes.Pur?o=A.tcf2ActiveVendors.pur.get(t):e.Type===b.GroupTypes.Ft?o=A.tcf2ActiveVendors.ft.get(t):e.Type===b.GroupTypes.Spl_Pur?o=A.tcf2ActiveVendors.spl_pur.get(t):e.Type===b.GroupTypes.Spl_Ft&&(o=A.tcf2ActiveVendors.spl_ft.get(t)),o||0},n.prototype.getActiveVendorCountForStack=function(e){return A.tcf2ActiveVendors.stack.get(e)||0},n.prototype.getVendorCountEl=function(e,t){var o="[VENDOR_NUMBER]",n="";switch(t){case mt:n=I.PCVendorsCountFeatureText;break;case St:n=I.PCVendorsCountSpcFeatureText;break;case ft:n=I.PCVendorsCountSpcPurposeText;break;default:n=I.PCVendorsCountText}return n&&-1 '+n.replace(o,e.toString())+" ":""},n.prototype.createHtmlForEachGroup=function(e){var t=e.fm,o=e.fragment,n=e.categoryGroupTemplate,r=e.cookiePreferencesContainer,i=e.popupSubGrpContainer,s=e.subGrpContainer,e=I.Groups.filter(function(e){return e.Order}),a=0===r.el.children.length;I.PCTemplateUpgrade&&(L.showVendorService?O.setHtmlTemplate(t('#onetrust-pc-sdk div[role="dialog"]')):O.removeVSUITemplate(t('#onetrust-pc-sdk div[role="dialog"]')));for(var l=0,c=e;l")),e.insertAdjacentHTML("afterend",v.getInnerHtmlContent(" | "+o.PCVendorFullLegalText+' \n '+I.NewWinTxt+"")))},n.prototype.setHostListBtn=function(e,t,o,n){var r,i=A.pcName,s=!1,a=(I.showCookieList&&(s=-1h4, .cookie-subgroup>h5, .cookie-subgroup>h6, .ot-subgrp>h4, .ot-subgrp>h5, .ot-subgrp>h6"),C=c.querySelector(P.P_Tgl_Cntr),d=(c.setAttribute("data-optanongroupid",d),S.isV2Template?((t=w.getInputEle()).querySelector("input").setAttribute("data-optanongroupid",d),t.querySelector("input").classList.add("cookie-subgroup-handler"),t=t.cloneNode(!0),C.insertAdjacentElement("beforeend",t)):(t=c.querySelector(".ot-toggle")).querySelector("input").setAttribute("data-optanongroupid",d),k(i.querySelector(P.P_Subgp_ul)).html(""),w.addSubgroupName(n,g),w.setDataIfVendorServiceEnabled(g,c,t),t.querySelector("input").setAttribute("id",u),t.querySelector("input").setAttribute(this._ariaLabel,n.GroupName),t.querySelector("label").setAttribute("for",u),w.setSubGroupDescription({json:e,group:o,subgroup:n,subGroupClone:c}),A.isTcfV2Template&&Jn.addIllustrationsLink(c,n,o.ShowVendorList,!0),q(Tt,kt));o.ShowSubgroupToggle&&-1"+(o?I.AlwaysInactiveText:I.AlwaysActiveText)+"","ce").el):(r="ot-status-id-"+(r=null==(n=r=(t=e.querySelector(P.P_Category_Header)).id)?void 0:n.split("-")[3]),!S.isV2Template&&I.PCenterEnableAccordion&&(r="ot-status-id-"+(r=null==(n=r=(t=e.querySelector(P.P_Arrw_Cntr)).id)?void 0:n.split("-")[3])),k(t).el.insertAdjacentElement("afterend",k('"+(o?I.AlwaysInactiveText:I.AlwaysActiveText)+"
","ce").el)),I.PCenterEnableAccordion?(n=e.querySelector(P.P_Acc_Header))&&n.classList.add("ot-always-active-group"):((t=e.querySelector(""+P.P_Desc_Container))&&t.classList.add("ot-always-active-group"),e.classList.add("ot-always-active-group"))},n.prototype.setPcTabLayout=function(e,t,o){var n=e(".ot-tab-desc");"otPcTab"===A.pcName&&(o&&e("#onetrust-pc-sdk "+P.P_Category_Grp).insertAdjacentElement("afterbegin",o),n&&640\n '+I.BannerIABPartnersLink+"\n "),o},tr.prototype.setBannerData=function(e){var t;I.BannerTitle?(k(e("#onetrust-policy-title")).html(I.BannerTitle),k(e('[role="dialog"]')).attr(gt,I.BannerTitle)):(T.removeChild(e("#onetrust-policy-title")),k(e("#onetrust-banner-sdk")).addClass("ot-wo-title"),k(e('[role="dialog"]')).attr(gt,I.AriaPrivacy)),!I.IsIabEnabled&&L.showGeneralVendors&&I.BannerNonIABVendorListText&&((t=document.createElement("div")).setAttribute("id","ot-gv-link-ctnr"),k(t).html('"),k(e("#onetrust-policy")).el.appendChild(t)),k(e($n.POLICY_TEXT_SELECTOR)).html(I.AlertNoticeText),this.setBannerLinkAttributes(e)},tr.prototype.setBannerLinkAttributes=function(e){var t;k(e(this.cookiePolicyLinkSelector)).length&&(t=k(e($n.POLICY_TEXT_SELECTOR+" .ot-cookie-policy-link")),e=k(e($n.POLICY_TEXT_SELECTOR+" .ot-imprint-link")),I.BShowPolicyLink&&t&&(t.attr(gt,I.BCookiePolicyLinkScreenReader),t.attr("rel","noopener"),t.attr("target","_blank")),I.BShowImprintLink)&&e&&(e.attr(gt,I.BImprintLinkScreenReader),e.attr("rel","noopener"),e.attr("target","_blank"))},tr.prototype.isCmpEnabled=function(){return I.BannerPurposeTitle||I.BannerPurposeDescription||I.BannerFeatureTitle||I.BannerFeatureDescription||I.BannerInformationTitle||I.BannerInformationDescription},tr.prototype.ssrAndNonSSRCommonHtml=function(t){function e(e){return t.querySelector(e)}var o,n=this,r=this.isCmpEnabled(),i=(this.setOptOutSignalNotification(e),"[VENDOR_NUMBER]"),s=k(e($n.POLICY_TEXT_SELECTOR)).html(),i=(A.isIab2orv2Template&&-1'+A.tcf2ActiveVendors.all.toString()+"",s=h.replaceTextFromString(i,s,o),k(e($n.POLICY_TEXT_SELECTOR)).html(s)),k(e("#onetrust-banner-sdk")).attr("role","region"),I.BRegionAriaLabel&&k(e("#onetrust-banner-sdk")).attr(gt,I.BRegionAriaLabel),A.bannerName===$e&&S.moduleInitializer.IsSuppressPC&&(L.dataGroupState=I.Groups.filter(function(e){return e.Order})),A.bannerName===$e&&(this._fourBtns=I.BannerShowRejectAllButton&&I.showBannerAcceptButton&&I.showBannerCookieSettings&&I.BShowSaveBtn,this._saveBtn=e(".ot-bnr-save-handler"),this._settingsBtn=e("#onetrust-pc-btn-handler"),this._btnsCntr=e(".banner-actions-container"),I.BShowSaveBtn?k(this._saveBtn).html(I.BSaveBtnTxt):(T.removeChild(this._saveBtn),this._saveBtn=null),h.insertFooterLogo(t.querySelectorAll(".ot-bnr-footer-logo a")),this._descriptCntr=e(".ot-cat-lst"),this.setBannerBtn(),window.addEventListener("resize",function(){n.setBannerBtn()}),this._fourBtns&&k(e("#onetrust-banner-sdk")).addClass("has-reject-all-button"),this.insertGrps(e)),document.createElement("div"));k(i).append(t),A.ignoreInjectingHtmlCss||(k("#onetrust-consent-sdk").append(i.firstChild),r&&this.setBannerOptionContent()),this.setBnrBtnGrpAlignment()},tr.prototype.setAriaModalForBanner=function(e){I.ForceConsent&&e.querySelector('[role="dialog"]').setAttribute("aria-modal","true")},tr.prototype.setBnrBtnGrpAlignment=function(){var e=k(this._otGrpContainerSelector).el,t=k(this._btnGrpParentSelector).el,e=((e.length&&e[0].clientHeight)<(t.length&&t[0].clientHeight)?k("#onetrust-banner-sdk").removeClass("vertical-align-content"):k("#onetrust-banner-sdk").addClass("vertical-align-content"),document.querySelector("#onetrust-button-group-parent button:first-of-type")),t=document.querySelector("#onetrust-button-group-parent button:last-of-type");t&&e&&1"+(c?I.AlwaysInactiveText:I.AlwaysActiveText)+"","ce").el)):k(e).attr("disabled",!0)),e.classList.add("category-switch-handler"),E.setInputID(e,i,r,a,s),t.querySelector("h4"));k(l).html(n),k(l).attr("id",s),k(u).append(t)})},tr.prototype.setBannerLogo=function(e,t){var o,n;S.fp.CookieV2BannerLogo&&I.BnrLogo&&(o=t(an),n="afterend",A.bannerName===Qe&&(o=t("#onetrust-cookie-btn"),n="beforeend"),t=h.updateCorrectUrl(I.BnrLogo),k(e).addClass("ot-bnr-w-logo"),k(o).el.innerHTML=v.getInnerHtmlContent(""),o.insertAdjacentHTML(n,v.getInnerHtmlContent("")))},tr.prototype.setOptOutSignalNotification=function(e){var t=A.gpcEnabled&&A.gpcForAGrpEnabled;I.BShowOptOutSignal&&(t||A.previewMode)&&h.createOptOutSignalElement(e,!1)};var $n,er=tr;function tr(){this.POLICY_TEXT_SELECTOR="#onetrust-policy-text",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"}nr.prototype.setHeaderConfig=function(){c.setHeader(),c.setSearchInput(),c.setHeaderUIConsent();var e=c.getGroupsForFilter();Un.setFilterListByGroup(e,!1)},nr.prototype.filterVendorByString=function(e){c.searchQuery=e,c.filterVendorByGroupOrQuery()},nr.prototype.filterVendorByGroup=function(e){c.filterGroups=e,c.filterVendorByGroupOrQuery()},nr.prototype.showVSList=function(){c.removeListeners(),c.showEmptyResults(!1,""),c.clearUIElementsInMain(),c.addVSList(L.getVendorsInDomain())},nr.prototype.showEmptyResults=function(e,t){e?this.setNoResultsContent(t):(k("#onetrust-pc-sdk "+P.P_Vendor_Content).removeClass("no-results"),(e=k("#onetrust-pc-sdk #no-results")).length&&e.remove())},nr.prototype.setNoResultsContent=function(e){var t,o,n,r,i=k("#onetrust-pc-sdk #no-results").el[0];if(!i)return t=document.createElement("div"),o=document.createElement("p"),n=document.createTextNode(" "+I.PCVendorNotFound+"."),r=document.createElement("span"),t.id="no-results",r.id="user-text",r.innerText=e,o.appendChild(r),o.appendChild(n),t.appendChild(o),k("#onetrust-pc-sdk "+P.P_Vendor_Content).addClass("no-results"),k("#vendor-search-handler").el[0].setAttribute("aria-describedby",t.id),k("#onetrust-pc-sdk "+P.P_Vendor_Content).append(t);i.querySelector("span").innerText=e},nr.prototype.getGroupsFilter=function(){for(var e=[],t=0,o=k("#onetrust-pc-sdk .category-filter-handler").el;t input:first-child,"+P.P_Category_Item+" > button:first-child",B.onCategoryItemToggle.bind(this)),(I.showCookieList||L.showGeneralVendors)&&(k("#onetrust-pc-sdk .category-host-list-handler").on("click",function(e){setTimeout(function(){L.showGeneralVendors&&I.showCookieList?L.cookieListType=ye.HostAndGenVen:L.showGeneralVendors?L.cookieListType=ye.GenVen:L.cookieListType=ye.Host,B.pcLinkSource=e.target,B.loadCookieList(e.target)},0)}),h.isOptOutEnabled()?(k("#onetrust-pc-sdk #select-all-hosts-groups-handler").on("click",B.selectAllHostsGroupsHandler),k("#onetrust-pc-sdk "+P.P_Host_Cntr).on("click",B.selectHostsGroupHandler)):k("#onetrust-pc-sdk "+P.P_Host_Cntr).on("click",B.toggleAccordionStatus)),B.addListenerWhenIabEnabled(),B.addEventListenerWhenIsHostOrVendorsAreEnabled(),B.adddListenerWhenNoBanner(),k("#onetrust-pc-sdk .ot-gv-list-handler").on("click",function(t){return F(e,void 0,void 0,function(){return M(this,function(e){return L.cookieListType=ye.GenVen,B.loadCookieList(t.target),[2]})})}),B.addListenerWhenVendorServices()},r.prototype.addEventListenerWhenIsHostOrVendorsAreEnabled=function(){var e;(I.IsIabEnabled||I.showCookieList||L.showGeneralVendors||L.showVendorService)&&(k(document).on("click",".back-btn-handler",B.backBtnHandler),B.addListenerSearchKeyEvent(),k("#onetrust-pc-sdk #filter-btn-handler").on("click",B.toggleVendorFiltersHandler),k("#onetrust-pc-sdk #filter-apply-handler").on("click",function(){setTimeout(function(){B.applyFilterHandler()},0)}),k("#onetrust-pc-sdk "+P.P_Fltr_Modal).on("click",B.tglFltrOptionHandler),!S.isV2Template&&A.pcName!==rt||k("#onetrust-pc-sdk #filter-cancel-handler").on("click",B.cancelFilterHandler),!S.isV2Template&&A.pcName===rt||k("#onetrust-pc-sdk #clear-filters-handler").on("click",B.clearFiltersHandler),S.isV2Template?k("#onetrust-pc-sdk #filter-cancel-handler").on("keydown",function(e){9!==e.keyCode&&"tab"!==e.code||e.shiftKey||(e.preventDefault(),k("#onetrust-pc-sdk #clear-filters-handler").el[0].focus())}):k("#onetrust-pc-sdk #filter-apply-handler").on("keydown",function(e){9!==e.keyCode&&"tab"!==e.code||e.shiftKey||(e.preventDefault(),k("#onetrust-pc-sdk .category-filter-handler").el[0].focus())}),e=k("#onetrust-pc-sdk .category-filter-handler").el,k(e[0]).on("keydown",function(e){9!==e.keyCode&&"tab"!==e.code||!e.shiftKey||(e.preventDefault(),k("#onetrust-pc-sdk #filter-apply-handler").el[0].focus())}))},r.prototype.addListenerSearchKeyEvent=function(){k(B.VENDOR_SEARCH_SELECTOR).on("keyup",function(e){e=e.target.value.trim();B.currentSearchInput!==e&&(L.showVendorService?c.filterVendorByString(e):B.isCookieList?(G.searchHostList(e),L.showTrackingTech&&B.addEventAdditionalTechnologies()):(G.loadVendorList(e,[]),I.UseGoogleVendors&&G.searchVendors(G.googleSearchSelectors,L.addtlVendorsList,Se.GoogleVendor,e),L.showGeneralVendors&&I.GeneralVendors.length&&G.searchVendors(G.genVendorSearchSelectors,I.GeneralVendors,Se.GeneralVendor,e)),G.playSearchStatus(B.isCookieList),B.currentSearchInput=e)})},r.prototype.addListenerWhenIabEnabled=function(){I.IsIabEnabled&&(k("#onetrust-pc-sdk .category-vendors-list-handler").on("click",function(e){setTimeout(function(){B.pcLinkSource=e.target,B.showVendorsList(e.target)},0)}),k("#onetrust-pc-sdk .ot-pgph-link").on("click",function(e){B.pcLinkSource=e.target,B.showIllustrations(e.target)}),k("#onetrust-pc-sdk "+P.P_Vendor_Container).on("click",B.selectVendorsGroupHandler),I.UseGoogleVendors||B.bindSelAllHandlers(),B.initialiseLegIntBtnHandlers())},r.prototype.adddListenerWhenNoBanner=function(){I.NoBanner&&(I.OnClickCloseBanner&&document.body.addEventListener("click",V.bodyClickEvent),I.ScrollCloseBanner)&&window.addEventListener("scroll",V.scrollCloseBanner)},r.prototype.addListenerWhenVendorServices=function(){L.showVendorService&&(B.bindSelAllHandlers(),k("#onetrust-pc-sdk .onetrust-vendors-list-handler").on("click",function(){setTimeout(function(){B.showVendorsList(null,!0)},0)}))},r.prototype.bindSelAllHandlers=function(){k("#onetrust-pc-sdk #select-all-vendor-leg-handler").on("click",B.selectAllVendorsLegIntHandler),k("#onetrust-pc-sdk #select-all-vendor-groups-handler").on("click",B.SelectAllVendorConsentHandler)},r.prototype.hideCookieSettingsHandler=function(e){return void 0===e&&(e=window.event),Rn.getInstance().resetHealthSignatureData(),f.triggerGoogleAnalyticsEvent(Io,Vo),rn.removeAddedOTCssStyles(nn.PC),un.hideConsentNoticeV2(),k(document).off("keydown",B.closePCWhenEscPressed),B.getResizeElement().removeEventListener("resize",B.setCenterLayoutFooterHeight),window.removeEventListener("resize",B.setCenterLayoutFooterHeight),!S.isV2Template&&A.pcName!==rt||B.closeFilter(!1),A.pcName===ot&&k("#onetrust-pc-sdk "+P.P_Content).removeClass("ot-hide"),V.hideVendorsList(),N.csBtnGroup&&(k(B.fltgBtnSltr).removeClass("ot-pc-open"),B.floatingCookieSettingCloseBtnClicked(null)),B.confirmPC(e),V.resetConsent(),!1},r.prototype.selectAllHostsGroupsHandler=function(e){var t=e.target.checked,e=k("#onetrust-pc-sdk #"+P.P_Sel_All_Host_El).el[0],o=e.classList.contains("line-through"),n=k("#onetrust-pc-sdk .host-checkbox-handler").el;T.setCheckedAttribute("#select-all-hosts-groups-handler",null,t);for(var r=0;r button",B.toggleAccordionStatus.bind(this)))),L.vendorDomInit||(L.vendorDomInit=!0,B.initialiseLegIntBtnHandlers(),I.UseGoogleVendors&&(B.initialiseAddtlVenHandler(),B.bindSelAllHandlers())),L.showGeneralVendors&&!L.genVendorDomInit&&(L.genVendorDomInit=!0,G.initGenVendors(),B.initializeGenVenHandlers(),I.UseGoogleVendors||(B.bindSelAllHandlers(),k(""+B.PC_SELECTOR).on("click",".ot-acc-cntr > button",B.toggleAccordionStatus.bind(this))))},r.prototype.addEventAdditionalTechnologies=function(){var e=document.querySelectorAll("#onetrust-pc-sdk .ot-acc-cntr.ot-add-tech > button");0=e?u(k(""+B.PC_SELECTOR).el[0],"height: "+e+"px;",!0):u(k(""+B.PC_SELECTOR).el[0],"height: auto;",!0)})},r.prototype.changeSelectedTab=function(e){var t,o=k("#onetrust-pc-sdk .category-menu-switch-handler"),n=0,r=k(o.el[0]);o.each(function(e,t){k(e).el.classList.contains(P.P_Active_Menu)&&(n=t,k(e).el.classList.remove(P.P_Active_Menu),r=k(e))}),e.keyCode===ae.DownArrow?t=n+1>=o.el.length?k(o.el[0]):k(o.el[n+1]):e.keyCode===ae.UpArrow&&(t=k(n-1<0?o.el[o.el.length-1]:o.el[n-1])),this.tabMenuToggle(t,r)},r.prototype.changeSelectedTabV2=function(e){var t,o=e.target.parentElement,e=(e.keyCode===ae.DownArrow?t=o.nextElementSibling||o.parentElement.firstChild:e.keyCode===ae.UpArrow&&(t=o.previousElementSibling||o.parentElement.lastChild),t.querySelector(".category-menu-switch-handler"));e.focus(),this.groupTabClick(e)},r.prototype.categoryMenuSwitchHandler=function(){for(var o=this,e=k("#onetrust-pc-sdk .category-menu-switch-handler").el,n=this,t=0;t{e[t].addEventListener("click",n.groupTabClick),e[t].addEventListener("keydown",function(e){if(1<=t&&e.shiftKey&&9===e.keyCode&&!I.ShowPreferenceCenterCloseButton&&I.PCLayout.Tab&&(e.preventDefault(),Ao.lastItem.focus()),32===e.keyCode||"space"===e.code)return o.groupTabClick(e.currentTarget),e.preventDefault(),!1})})(t)},r.prototype.groupTabClick=function(e){var t=k("#onetrust-pc-sdk "+P.P_Grp_Container).el[0],o=t.querySelector("."+P.P_Active_Menu),e=e.currentTarget||e,n=e.getAttribute("aria-controls");o.setAttribute("tabindex",-1),o.setAttribute("aria-selected",!1),o.classList.remove(P.P_Active_Menu),t.querySelector(P.P_Desc_Container+":not(.ot-hide)").classList.add("ot-hide"),t.querySelector("#"+n).classList.remove("ot-hide"),e.setAttribute("tabindex",0),e.setAttribute("aria-selected",!0),e.classList.add(P.P_Active_Menu)},r.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(""+P.P_Desc_Container).classList.add("ot-hide"),e.el.parentElement.parentElement.querySelector(""+P.P_Desc_Container).classList.remove("ot-hide"),e.el.classList.add(P.P_Active_Menu)},r.prototype.closeFilter=function(e){var t,o;void 0===e&&(e=!0),un.checkIfPcSdkContainerExist()||(t=k("#onetrust-pc-sdk "+P.P_Fltr_Modal).el[0],o=k("#onetrust-pc-sdk "+P.P_Triangle).el[0],A.pcName===rt?896.8*window.innerHeight||0===this.pcBodyHeight?u(e,"height: "+.8*window.innerHeight+"px;",!0):u(e,"height: "+i+"px;",!0):u(e,"height: 100%;",!0)):u(e.querySelector(""+P.P_Content),"height: "+(e.clientHeight-t.clientHeight-o.clientHeight-3)+"px;",!0)},r.prototype.allowAllVisible=function(e){e!==this.allowVisible&&I.PCLayout.Tab&&I.PCTemplateUpgrade&&(this.pc&&this.setMainContentHeight(),this.allowVisible=e)},r.prototype.restorePc=function(){L.pcLayer===se.CookieList?(B.hideCategoryContainer(!0),G.loadHostList("",L.filterByCategories),L.showTrackingTech&&B.addEventAdditionalTechnologies(),k(""+B.FILTER_COUNT_SELECTOR).text(L.filterByCategories.length.toString())):L.pcLayer===se.VendorList&&(B.hideCategoryContainer(!1),B.setVendorContent()),L.isPCVisible=!1,B.toggleInfoDisplay(),L.pcLayer!==se.VendorList&&L.pcLayer!==se.CookieList||(fn.updateFilterSelection(L.pcLayer===se.CookieList),B.setBackButtonFocus(),Ao.setPCFocus(Ao.getPCElements()))},r.prototype.toggleInfoDisplay=function(){return F(this,void 0,void 0,function(){var t;return M(this,function(e){switch(e.label){case 0:return N.csBtnGroup&&(k(B.fltgBtnSltr).addClass("ot-pc-open"),B.otGuardLogoPromise.then(function(){I.cookiePersistentLogo.includes("ot_guard_logo.svg")&&k(B.fltgBtnFSltr).attr(Ct,"true")}),k(B.fltgBtnBSltr).attr(Ct,""),k(B.fltgBtnBackBtn).el[0].style.display="block"),[4,B.fetchAndSetupPC()];case 1:return e.sent(),A.pcName===ot&&this.setPcListContainerHeight(),void 0!==L.pcLayer&&L.pcLayer!==se.Banner||(L.pcLayer=se.PrefCenterHome),t=k(""+B.PC_SELECTOR).el[0],k(".onetrust-pc-dark-filter").el[0].removeAttribute("style"),t.removeAttribute("style"),L.isPCVisible||(un.showConsentNotice(),L.isPCVisible=!0,I.PCTemplateUpgrade&&(this.pc=t,t=t.querySelector("#accept-recommended-btn-handler"),this.allowVisible=t&&0'):(k(this.COOKIE_POLICY_SELECTOR).html(""),k(this.OPTANON_POLICY_SELECTOR).html(""));for(var l=0,c=I.Groups;l{for(var t=d.cloneNode(!0),o=function(e){return t.querySelector(e)},n=(g.clearCookieRowElement(o),[]),r=[],i=0,s=e.Cookies;i\n '+l.Name+"\n "),r.push(a)}g.setDataLabelAttribute(o,c),g.createCookieRowHtmlElement({host:e,subGroupCookie:l,trt:o,json:c,lifespanText:n.join(", "),hostType:r.join(", ")}),g.removeLifeSpanOrHostDescription(c,u,t,o),k(p("tbody")).append(t)})(o[t])},dr.prototype.insertGroupHTML=function(e){function t(e){return l.querySelector(e)}var o,n=e.json,r=e.group,i=e.sectionTemplate,s=e.tableRowTemplate,a=e.cookieList,e=e.fragment,l=i.cloneNode(!0),i=(k(t("caption")).el.innerHTML=v.getInnerHtmlContent(r.GroupName),k(t("tbody")).html(""),k(t("thead tr")),n.IsLifespanEnabled?k(t("th.life-span")).el.innerHTML=v.getInnerHtmlContent(n.LifespanText):k(t("thead tr")).el.removeChild(k(t("th.life-span")).el),k(t("th.cookies")).el.innerHTML=v.getInnerHtmlContent(n.CookiesText),k(t("th.host")).el.innerHTML=v.getInnerHtmlContent(n.CategoriesText),!1);if(r.Hosts.some(function(e){return e.description})?i=!0:k(t("thead tr")).el.removeChild(k(t("th.host-description")).el),k(t(".ot-sdk-cookie-policy-group")).html(r.GroupName),k(t(".ot-sdk-cookie-policy-group-desc")).html(this.groupsClass.safeFormattedGroupDescription(r)),0 "+h.getCookieLabel(o,n.AddLinksToCookiepedia)+" ")}else l.removeChild(t(".cookies-used-header")),l.removeChild(t(".cookies-list"));this.insertHostHtmlV1({json:n,hosts:r.Hosts,tableRowTemplate:s,showHostDescription:i,st:t}),k(a).append(l),k(e).append(a),k(this.COOKIE_POLICY_SELECTOR).append(e)},dr.prototype.insertHostHtmlV1=function(e){for(var l=e.json,t=e.hosts,c=e.tableRowTemplate,d=e.showHostDescription,u=e.st,o=0,n=t;o{for(var t=c.cloneNode(!0),o=function(e){return t.querySelector(e)},n=(k(o(".cookies-td ul")).html(""),k(o(".life-span-td ul")).html(""),k(o(".host-td")).html(""),k(o(".host-description-td")).html(''+e.Description+"
"),0),r=0,i=e.Cookies;r "+s.Name+" "+a+" "),l.IsLifespanEnabled&&(a=s.Length?s.Length+" days":"N/A",k(o(".life-span-td ul")).append(""+a+"")),0===n&&(k(o(".host-td")).append(''),k(o(".host-td")).append(''+(e.DisplayName||e.HostName)+"")),n++}d||t.removeChild(o("td.host-description-td")),k(u("tbody")).append(t)})(n[o]);0===t.length&&k(u("table")).el.removeChild(k(u("thead")).el)},dr.prototype.transformFirstPartyCookies=function(e,t,o){var n=this,r=t.slice(),t=(e.forEach(function(e){n.populateHostGroup(e,r,I.firstPartyTxt)}),o.GeneralVendorsIds),e=(this.populateGenVendor(t,o,r),o.SubGroups||[]);return e.length&&e.forEach(function(e){var t=e.GeneralVendorsIds;n.populateGenVendor(t,e,r)}),r},dr.prototype.populateGenVendor=function(e,o,n){var r=this;e.length&&e.forEach(function(t){var e=I.GeneralVendors.find(function(e){return e.VendorCustomId===t});e.Cookies.length&&e.Cookies.forEach(function(e){var t;e.category===o.GroupName&&(t=e.isThirdParty?"":I.firstPartyTxt,r.populateHostGroup(e,n,t))})})},dr.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]})},dr.prototype.insertCookieLineByLine=function(e){for(var t=e.json,o=e.tableRowTemplate,n=e.showHostDescription,r=e.st,i=0,s=e.hosts;i'+p+"\n "),o.cloneNode(!0)),C=this.queryToHtmlElement(g);this.clearCookieRowElement(C),this.createCookieRowHtmlElement({host:a,subGroupCookie:d,trt:C,json:t,lifespanText:u,hostType:p}),this.removeLifeSpanOrHostDescription(t,n,g,C),k(r("tbody")).append(g)}},dr.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"))},dr.prototype.createCookieRowHtmlElement=function(e){var t=e.host,o=e.subGroupCookie,n=e.trt,r=e.lifespanText,i=e.hostType,s=".ot-host-td",e=(this.setDataLabelAttribute(n,e.json),k(n(".ot-host-description-td")).html(''+o.description+"
"),k(n(s)).append(''),t.DisplayName||t.HostName);k(n(s)).append(t.Type?e:'\n '+e+"\n "),n(".ot-cookies-td .ot-cookies-td-content").insertAdjacentHTML("beforeend",v.getInnerHtmlContent(i)),k(n(".ot-life-span-td .ot-life-span-td-content")).html(r),k(n(".ot-cookies-type .ot-cookies-type-td-content")).html(t.Type?I.firstPartyTxt:I.thirdPartyTxt)},dr.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),e(".ot-host-description-td").setAttribute(o,t.CookiesDescText)},dr.prototype.clearCookieRowElement=function(e){k(e(".ot-cookies-td span")).text(""),k(e(".ot-life-span-td span")).text(""),k(e(".ot-cookies-type span")).text(""),k(e(".ot-cookies-td .ot-cookies-td-content")).html(""),k(e(".ot-host-td")).html("")},dr.prototype.setCookieListHeaderOrder=function(e){var e=e.querySelector("section table thead tr"),t=e.querySelector("th.ot-host"),o=e.querySelector("th.ot-cookies"),n=e.querySelector("th.ot-life-span"),r=e.querySelector("th.ot-cookies-type"),i=e.querySelector("th.ot-host-description");e.innerHTML=v.getInnerHtmlContent(""),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))},dr.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=v.getInnerHtmlContent(""),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))},dr.prototype.queryToHtmlElement=function(t){return function(e){return t.querySelector(e)}};var lr,cr=dr;function dr(){this.groupsClass=E,this.COOKIE_POLICY_SELECTOR="#ot-sdk-cookie-policy",this.OPTANON_POLICY_SELECTOR="#optanon-cookie-policy",this.ONETRUST_COOKIE_POLICY="#ot-sdk-cookie-policy, #optanon-cookie-policy"}gr.prototype.IsAlertBoxClosedAndValid=function(){return p.isAlertBoxClosedAndValid()},gr.prototype.LoadBanner=function(){f.loadBanner()},gr.prototype.Init=function(e){void 0===e&&(e=!1),De.insertViewPortTag(),N.ensureHtmlGroupDataInitialised(),Cn.updateGtmMacros(!1),ir.initialiseLandingPath(),e||Qt.initialiseCssReferences()},gr.prototype.FetchAndDownloadPC=function(){B.fetchAndSetupPC()},gr.prototype.ToggleInfoDisplay=function(){f.triggerGoogleAnalyticsEvent(Io,No),B.toggleInfoDisplay()},gr.prototype.Close=function(e){B.close(e)},gr.prototype.AllowAll=function(e){V.allowAllEvent(e)},gr.prototype.RejectAll=function(e){V.rejectAllEvent(e)},gr.prototype.sendReceipt=function(){var e=C.readCookieParam(g.OPTANON_CONSENT,d.INTERACTION_TYPE);oi.createConsentTxn(!1,e,!1,!0,!0)},gr.prototype.setDataSubjectIdV2=function(e,t,o){void 0===t&&(t=!1),void 0===o&&(o=""),(e||t)&&(e&&e.trim()&&(e=e.replace(/ /g,""),C.writeCookieParam(g.OPTANON_CONSENT,d.CONSENT_ID,e,!0)),null!=(e=o)&&e.trim()&&C.writeCookieParam(g.OPTANON_CONSENT,d.IDENTIFIER_TYPE,o.trim()),L.dsParams.isAnonymous=t,L.dsParams.forceUserConsentAttributes=!0,C.writeCookieParam(g.OPTANON_CONSENT,d.IS_ANONYMOUS_CONSENT,t?"1":"0"))},gr.prototype.getDataSubjectId=function(){return C.readCookieParam(g.OPTANON_CONSENT,d.CONSENT_ID,!0)},gr.prototype.getDSDefaultIdentifier=function(){var e;return null==(e=I.ConsentIntegration)?void 0:e.DefaultIdentifier},gr.prototype.synchroniseCookieWithPayload=function(n){var e=C.readCookieParam(g.OPTANON_CONSENT,"groups"),e=T.strToArr(e),r=[];e.forEach(function(e){var e=e.split(":"),t=y.getGroupById(e[0]),o=T.findIndex(n,function(e){return e.Id===t.PurposeId}),o=n[o];o?o.TransactionType===xe?(r.push(e[0]+":1"),t.Parent?B.toggleSubCategory(null,t.CustomGroupId,!0,t.CustomGroupId):B.toggleV2Category(null,t,!0,t.CustomGroupId)):(r.push(e[0]+":0"),t.Parent?B.toggleSubCategory(null,t.CustomGroupId,!1,t.CustomGroupId):B.toggleV2Category(null,t,!1,t.CustomGroupId)):r.push(e[0]+":"+e[1])}),lo.writeGrpParam(g.OPTANON_CONSENT,r)},gr.prototype.getGeolocationData=function(){return L.userLocation},gr.prototype.TriggerGoogleAnalyticsEvent=function(e,t,o,n){f.triggerGoogleAnalyticsEvent(e,t,o,n)},gr.prototype.ReconsentGroups=function(){var n=!1,e=C.readCookieParam(g.OPTANON_CONSENT,"groups"),r=T.strToArr(e),i=T.strToArr(e.replace(/:0|:1/g,"")),s=!1,t=C.readCookieParam(g.OPTANON_CONSENT,"hosts"),a=T.strToArr(t),l=T.strToArr(t.replace(/:0|:1/g,"")),c=["inactive","inactive landingpage","do not track"];e&&(I.Groups.forEach(function(e){q(e.SubGroups,[e]).forEach(function(e){var t=e.CustomGroupId,o=T.indexOf(i,t);-1!==o&&(e=y.getGrpStatus(e).toLowerCase(),-1Oe.ChunkSize?s=Oe.ChunkSize:(s=n.length,o=1===r),o?(t[Oe.Name]=n,n=""):(i=n.slice(0,s),n=n.slice(s,n.length),t[""+Oe.Name+r]=i),r++}return t},ti.prototype.writeGppCookies=function(e,t){C.writeCookieParam(g.OPTANON_CONSENT,Oe.ChunkCountParam,e);for(var o=0,n=Object.entries(t);o\n Cookie Tracking Table
\n \n \n Strictly Necessary Cookies
\n group description
\n \n \n \n caption\n \n \n \n \n \n \n
\n \n \n \n Azure\n | \n These\n cookies are used to make sure\n visitor page requests are routed to the same server in all browsing sessions. | \n \n \n \n | \n \n \n | \n
\n \n
\n \n \n Strictly Necessary Cookies
\n description
\n \n \n \n caption\n \n \n \n \n \n \n
\n \n \n \n Azure\n | \n \n \n cookies are used to make sureng sessions.\n | \n \n \n \n | \n \n \n | \n
\n \n
\n \n\n\x3c!-- New Cookies policy Link--\x3e\n\n
Cookie Tracking Table
\n
\n
\n Strictly Necessary Cookies
\n group description
\n \n \n - \n
Strictly Necessary Cookies
\n description
\n \n
\n \n \n caption\n \n \n \n \n \n \n \n
\n \n \n \n Azure\n | \n \n \n cookies are used to make sureng sessions.\n | \n \n \n ARRAffinity\n | \n \n \n 1st Party\n | \n \n \n 100 days\n | \n
\n \n
\n \n
',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}}"}}},si="opt-out",ai=(li.prototype.initializeFeaturesAndSpecialPurposes=function(){var t=this;L.oneTrustIABConsent.features=[],L.oneTrustIABConsent.specialPurposes=[],I.Groups.forEach(function(e){t.checkAndPopulateFeatAndSplPur(e)})},li.prototype.checkAndPopulateFeatAndSplPur=function(e){var t,o=this,n=b.GroupTypes;e.Type!==n.Ft&&e.Type!==n.Spl_Pur||((t={}).groupId=e.OptanonGroupId,t.purposeId=e.PurposeId,t.value=!0,(e.Type===n.Ft?L.oneTrustIABConsent.features:L.oneTrustIABConsent.specialPurposes).push(t)),e.SubGroups&&e.SubGroups.forEach(function(e){o.checkAndPopulateFeatAndSplPur(e)})},li.prototype.initGrpsAndHosts=function(){this.initializeGroupData(A.consentableGrps),I.showCookieList&&h.isOptOutEnabled()?this.initializeHostData(A.consentableGrps):(L.hostsConsent=[],lo.writeHstParam(g.OPTANON_CONSENT))},li.prototype.ensureHtmlGroupDataInitialised=function(){var e,t,o,n;this.initGrpsAndHosts(),L.showGeneralVendors&&(yo.populateGenVendorLists(),yo.initGenVendorConsent()),I.IsIabEnabled&&(this.initializeIABData(),this.initializeFeaturesAndSpecialPurposes()),L.vsIsActiveAndOptOut&&this.initializeVendorsService(),p.setOrUpdate3rdPartyIABConsentFlag(),p.setGeolocationInCookies(),I.IsConsentLoggingEnabled&&(e=window.OneTrust.dataSubjectParams||{},t=C.readCookieParam(g.OPTANON_CONSENT,"iType"),o="",n=!1,L.isV2Stub&&e.id&&e.token&&(t||A.forceCreateTrxLocalConsentIsGreater)&&(n=!0,o=ge[t]),oi.createConsentTxn(!1,o,!1,n))},li.prototype.initializeVendorsService=function(){var o=p.isAlertBoxClosedAndValid(),e=C.readCookieParam(g.OPTANON_CONSENT,go),n=T.strToMap(e);L.getVendorsInDomain().forEach(function(e,t){n.has(t)||(e=!o&&y.checkIsActiveByDefault(e.groupRef),n.set(t,e))}),L.vsConsent=n},li.prototype.initializeGroupData=function(e){var t;C.readCookieParam(g.OPTANON_CONSENT,co)?(To.synchroniseCookieGroupData(e),t=C.readCookieParam(g.OPTANON_CONSENT,co),L.groupsConsent=T.strToArr(t),L.gpcConsentTxn&&(I.IsConsentLoggingEnabled&&oi.createConsentTxn(!1,"GPC value changed",!1,!0),L.gpcConsentTxn=!1,f.setAlertBoxClosed(!0))):(L.groupsConsent=[],e.forEach(function(e){var t=y.checkIsActiveByDefault(e)&&e.HasConsentOptOut;e.Status===m.INACTIVE_LANDING_PAGE&&!p.isAlertBoxClosedAndValid()&&So.isLandingPage()&&(t=!1),L.groupsConsent.push(e.CustomGroupId+":"+(t?"1":"0"))}),I.IsConsentLoggingEnabled&&window.addEventListener("beforeunload",this.consentDefaulCall))},li.prototype.initializeHostData=function(e){var t,r;C.readCookieParam(g.OPTANON_CONSENT,"hosts")?(To.synchroniseCookieHostData(),t=C.readCookieParam(g.OPTANON_CONSENT,"hosts"),L.hostsConsent=T.strToArr(t),e.forEach(function(e){y.isAlwaysActiveGroup(e)&&e.Hosts.length&&e.Hosts.forEach(function(e){L.oneTrustAlwaysActiveHosts.push(e.HostId)})})):(L.hostsConsent=[],r={},e.forEach(function(e){var o=y.isAlwaysActiveGroup(e),n=L.syncRequired?To.groupHasConsent(e):y.checkIsActiveByDefault(e);e.Hosts.length&&e.Hosts.forEach(function(e){var t;r[e.HostId]?To.updateHostStatus(e,n):(r[e.HostId]=!0,o&&L.oneTrustAlwaysActiveHosts.push(e.HostId),t=To.isHostPartOfAlwaysActiveGroup(e.HostId),L.hostsConsent.push(e.HostId+(t||n?":1":":0")))})}))},li.prototype.consentDefaulCall=function(){var e=parseInt(C.readCookieParam(g.OPTANON_CONSENT,d.INTERACTION_COUNT),10);!isNaN(e)&&0!==e||(f.triggerGoogleAnalyticsEvent(Io,"Click","No interaction"),I.IsConsentLoggingEnabled&&oi.createConsentTxn(!0),window.removeEventListener("beforeunload",N.consentDefaulCall))},li.prototype.fetchAssets=function(s){return void 0===s&&(s=null),F(this,void 0,void 0,function(){var t,o,n,r,i;return M(this,function(e){switch(e.label){case 0:return t=S.moduleInitializer,i=p.isAlertBoxClosedAndValid(),o=!!s,i=N.isFetchBanner(t.IsSuppressBanner,i),n=N.cookieSettingBtnPresent(),n=A.isIab2orv2Template?I.PCShowPersistentCookiesHoverButton&&(!I.PCenterDynamicRenderingEnable||(I.PCenterDynamicRenderingEnable,!n)):I.PCShowPersistentCookiesHoverButton,r="true"===L.urlParams.get(st),L.hideBanner=r,[4,Promise.all([!i||I.NoBanner||r?Promise.resolve(null):xt.getBannerContent(o,s),!t.IsSuppressPC||L.isPCVisible?xt.getPcContent():Promise.resolve(null),n?xt.getCSBtnContent():Promise.resolve(null),xt.getCommonStyles()])];case 1:return i=e.sent(),r=i[0],o=i[1],t=i[2],n=i[3],N.fetchContent(r,o,t,n),N.setCookieListGroupData(),[2]}})})},li.prototype.fetchContent=function(e,t,o,n){var r;e&&(r=e.html,S.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},S.isV2Template=I.PCTemplateUpgrade&&/otPcPanel|otPcCenter|otPcTab/.test(t.name)),o&&(this.csBtnGroup={name:"CookieSettingsButton",html:atob(o.html),css:o.css}),n&&(this.commonStyles=n)},li.prototype.cookieSettingBtnPresent=function(){return k("#ot-sdk-btn").length||k(".ot-sdk-show-settings").length||k(".optanon-show-settings").length},li.prototype.isFetchBanner=function(e,t){return!e||I.ShowAlertNotice&&!t&&e&&!k("#onetrust-banner-sdk").length},li.prototype.setCookieListGroupData=function(){var e;S.fp.CookieV2TrackingTechnologies||(e=(new ii).assets(),N.cookieListGroup={name:e.name,html:e.html,css:I.useRTL?e.cssRTL:e.css})},li.prototype.initializeIabPurposeConsentOnReload=function(){var t=this;A.consentableIabGrps.forEach(function(e){t.setIABConsent(e,!1),e.IsLegIntToggle=!0,t.setIABConsent(e,!1)})},li.prototype.initializeIABData=function(o,n,r){var i=this,e=(void 0===o&&(o=!1),void 0===n&&(n=!1),void 0===r&&(r=!1),L.oneTrustIABConsent),t=(e.purpose=[],e.vendors=[],e.legIntVendors=[],e.specialFeatures=[],e.legimateInterest=[],L.addtlVendors),s=I.VendorConsentModel===si;t.vendorConsent=[],!e.IABCookieValue||o||n||p.reconsentRequired()?(A.consentableIabGrps.forEach(function(e){var t;n&&!r?i.setIABConsent(e,y.isAlwaysActiveGroup(e)):r?e.HasConsentOptOut&&i.setIABConsent(e,!1):(t=o&&e.HasConsentOptOut,i.setIABConsent(e,t),e.Type===b.GroupTypes.Pur&&(e.IsLegIntToggle=!0,i.setIABConsent(e,e.HasLegIntOptOut)))}),I.IsIabEnabled&&r&&(L.oneTrustIABConsent.legimateInterest=L.vendors.selectedLegInt.slice()),t=o||!n&&s,r&&this.iab.saveVendorStatus(r),p.setIABVendor(t,r,n),!p.reconsentRequired()||o||n||p.resetTCModel()):(this.initializeIabPurposeConsentOnReload(),no.populateGoogleConsent(),no.populateVendorAndPurposeFromCookieData())},li.prototype.canSoftOptInInsertForGroup=function(e){var e=y.getGroupById(e);if(e)return e=e&&!e.Parent?e:y.getParentGroup(e.Parent),"inactive landingpage"!==y.getGrpStatus(e).toLowerCase()||!So.isLandingPage()},li.prototype.setIABConsent=function(e,t){e.Type===b.GroupTypes.Spl_Ft?this.setIabSpeciFeatureConsent(e,t):e.IsLegIntToggle?(this.setIabLegIntConsent(e,t),e.IsLegIntToggle=!1):this.setIabPurposeConsent(e,t)},li.prototype.setIabPurposeConsent=function(o,n){var r=!1;L.oneTrustIABConsent.purpose=L.oneTrustIABConsent.purpose.map(function(e){var t=e.split(":")[0];return t===o.IabGrpId&&(e=t+":"+n,r=!0),e}),r||L.oneTrustIABConsent.purpose.push(o.IabGrpId+":"+n)},li.prototype.setIabLegIntConsent=function(o,n){var r=!1;L.oneTrustIABConsent.legimateInterest=L.oneTrustIABConsent.legimateInterest.map(function(e){var t=e.split(":")[0];return t===o.IabGrpId&&(e=t+":"+n,r=!0),e}),r||L.oneTrustIABConsent.legimateInterest.push(o.IabGrpId+":"+n)},li.prototype.setIabSpeciFeatureConsent=function(o,n){var r=!1;L.oneTrustIABConsent.specialFeatures=L.oneTrustIABConsent.specialFeatures.map(function(e){var t=e.split(":")[0];return t===o.IabGrpId&&(e=t+":"+n,r=!0),e}),r||L.oneTrustIABConsent.specialFeatures.push(o.IabGrpId+":"+n)},li);function li(){this.iab=G}s.prototype.getSearchQuery=function(e){var t=this,e=e.trim().split(/\s+/g);return new RegExp(e.map(function(e){return t.escapeRegExp(e)}).join("|")+"(.+)?","gi")},s.prototype.escapeRegExp=function(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},s.prototype.setGlobalFilteredList=function(e){return L.currentGlobalFilteredList=e},s.prototype.vendorHasPurpose=function(e,t){var o=!1,n=parseInt(A.iabGrpIdMap[t]);return-1 input[checked]")?T.setCheckedAttribute("",n,!0):T.setCheckedAttribute("",n,!1),document.querySelector(e.venListId+' li:not([style^="display: none"]) '+e.ctgl+" > input:not([checked])")?n.parentElement.classList.add("line-through"):n.parentElement.classList.remove("line-through")},s.prototype.initGoogleVendors=function(){this.populateAddtlVendors(L.addtlVendorsList),this.venAdtlSelAllTglEvent()},s.prototype.initGenVendors=function(){this.populateGeneralVendors(),I.GenVenOptOut&&I.GeneralVendors&&I.GeneralVendors.length&&this.genVenSelectAllTglEvent()},s.prototype.resetAddtlVendors=function(){G.searchVendors(G.googleSearchSelectors,L.addtlVendorsList,Se.GoogleVendor),this.showConsentHeader()},s.prototype.venAdtlSelAllTglEvent=function(){G.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"})},s.prototype.genVenSelectAllTglEvent=function(){var e={vendorsList:P.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"};G.selectAllEventHandler(e)},s.prototype.selectAllEventHandler=function(e){for(var t=k(e.vendorsList).el,o=k(e.selAllCntr).el[0],n=k(e.selAllChkbox).el[0],r=!0,i=0;i li"):document.querySelectorAll(P.P_Vendor_Container+' li:not([style$="none;"]),'+P.P_Gven_List+' li:not([style$="none;"])'),o=t.length,n=k('#onetrust-pc-sdk [role="status"]');o?n.text(t.length+" "+(e?"host":"vendor")+(1\n '+e+' '+I.NewWinTxt+"\n \n "),t.querySelector(P.P_Host_Title).innerHTML=v.getInnerHtmlContent(e),t.querySelector(P.P_Host_Desc).innerHTML=v.getInnerHtmlContent(o[n].Description),o[n].PrivacyPolicy&&I.pcShowCookieHost&&t.querySelector(P.P_Host_Desc).insertAdjacentHTML("afterend",v.getInnerHtmlContent(''+(a?I.PCGVenPolicyTxt:I.PCCookiePolicyText)+' '+I.NewWinTxt+"")),t.querySelector(P.P_Host_View_Cookies));return!L.showGeneralVendors||o[n].Cookies&&o[n].Cookies.length?I.PCViewCookiesText&&(l.innerHTML=v.getInnerHtmlContent(I.PCViewCookiesText)):(T.removeChild(l),k(t).addClass("ot-hide-acc")),o[n].Description&&I.pcShowCookieHost||(i=t.querySelector(P.P_Host_Desc)).parentElement.removeChild(i),k(t.querySelector(P.P_Host_Opt)).html(""),null!=(a=o[n].Cookies)&&a.forEach(function(e){e=s.getCookieElement(e,o[n]);k(t.querySelector(P.P_Host_Opt)).append(e)}),r.append(t),e},s.prototype.hostsListEvent=function(){for(var e=k("#onetrust-pc-sdk "+P.P_Host_Cntr+" .ot-host-tgl input").el,t=k("#onetrust-pc-sdk #"+P.P_Sel_All_Host_El).el[0],o=k("#onetrust-pc-sdk #select-all-hosts-groups-handler").el[0],n=k("#onetrust-pc-sdk "+P.P_Cnsnt_Header).el[0],r=!0,i=0;i"+I.PCenterVendorListDisclosure+":
"),r.insertAdjacentElement("beforeend",e),t.disclosures.forEach(function(e){var t,o=i.cloneNode(!0),n=""+I.PCenterVendorListStorageIdentifier+"
"+(e.name||e.identifier)+"
";e.type&&(n+=""+I.PCenterVendorListStorageType+"
"+e.type+"
"),e.maxAgeSeconds&&(t=T.calculateCookieLifespan(e.maxAgeSeconds),n+=""+I.PCenterVendorListLifespan+"
"+t+"
"),e.domain&&(n+=""+I.PCenterVendorListStorageDomain+"
"+e.domain+"
"),e.purposes&&(n+=""+I.PCenterVendorListStoragePurposes+'
',e.purposes.forEach(function(e){e=null==(e=A.iabGroups.purposes[e])?void 0:e.name;e&&(n+='
'+e+"
")}),n+="
"),o.innerHTML=v.getInnerHtmlContent(n),r.insertAdjacentElement("beforeend",o)}),this.updateDomainsUsageInDisclosures(t,i,r))},s.prototype.updateDomainsUsageInDisclosures=function(e,n,r){var t;e.domains&&e.domains.length&&((t=n.cloneNode(!0)).innerHTML=v.getInnerHtmlContent(""+I.PCVLSDomainsUsed+":
"),r.insertAdjacentElement("beforeend",t),e.domains.forEach(function(e){var t,o=n.cloneNode(!0);e.domain&&(t=""+I.PCenterVendorListStorageDomain+"
"+e.domain+"
"),e.use&&(t+=""+I.PCVLSUse+"
"+e.use+"
"),o.innerHTML=v.getInnerHtmlContent(t),r.insertAdjacentElement("beforeend",o)}))},s.prototype.addDescriptionElement=function(e,t){var o=document.createElement("p");o.innerHTML=v.getInnerHtmlContent(t||""),e.parentNode.insertBefore(o,e)},s.prototype.setVdrConsentTglOrChbox=function(e,t,o,n,r,i){var s,a,l=L.vendorsSetting[e],t=t.cloneNode(!0);l.consent&&(t.classList.add(P.P_Ven_Ctgl),l=-1!==v.inArray(e+":true",L.vendors.selectedVendors),s=t.querySelector("input"),S.isV2Template&&(s.classList.add("vendor-checkbox-handler"),a=t.querySelector(this.LABEL_STATUS),I.PCShowConsentLabels?a.innerHTML=v.getInnerHtmlContent(l?I.PCActiveText:I.PCInactiveText):T.removeChild(a)),T.setCheckedAttribute("",s,l),T.setHtmlAttributes(s,{id:P.P_Vendor_CheckBx+"-"+i,vendorid:e,"aria-label":o}),t.querySelector("label").setAttribute("for",P.P_Vendor_CheckBx+"-"+i),t.querySelector(P.P_Label_Txt).textContent=o,A.pcName===it?I.PCTemplateUpgrade?n.insertAdjacentElement("beforeend",t):k(n).append(t):n.insertBefore(t,r))},s.prototype.setVndrLegIntTglTxt=function(e,t){e=e.querySelector(this.LABEL_STATUS);I.PCShowConsentLabels?e.innerHTML=v.getInnerHtmlContent(t?I.PCActiveText:I.PCInactiveText):T.removeChild(e)},s.prototype.setVdrLegIntTglOrChbx=function(t,e,o,n,r,i,s){var a,l=L.vendorsSetting[t],o=o.cloneNode(!0),c=null==(c=L.vendors.list.find(function(e){return e.vendorId===t}).legIntPurposes)?void 0:c.length;l.legInt&&!l.specialPurposesOnly&&c&&(c=-1!==v.inArray(t+":true",L.vendors.selectedLegIntVendors),A.legIntSettings.PShowLegIntBtn?(a=p.generateLegIntButtonElements(c,t,!0),e.querySelector(P.P_Acc_Txt).insertAdjacentHTML("beforeend",a),(a=e.querySelector(".ot-remove-objection-handler"))&&u(a,a.getAttribute("data-style"))):(a=o.querySelector("input"),S.isV2Template&&(a.classList.add("vendor-checkbox-handler"),this.setVndrLegIntTglTxt(o,c)),o.classList.add(P.P_Ven_Ltgl),a.classList.remove("vendor-checkbox-handler"),a.classList.add("vendor-leg-checkbox-handler"),T.setCheckedAttribute("",a,c),T.setHtmlAttributes(a,{id:P.P_Vendor_LegCheckBx+"-"+r,"leg-vendorid":t,"aria-label":n}),o.querySelector("label").setAttribute("for",P.P_Vendor_LegCheckBx+"-"+r),o.querySelector(P.P_Label_Txt).textContent=n,e.querySelector("."+P.P_Ven_Ctgl)&&(i=e.querySelector("."+P.P_Ven_Ctgl)),A.pcName!==it||s.children.length?s.insertBefore(o,i):k(s).append(o),l.consent||A.pcName!==it||o.classList.add(P.P_Ven_Ltgl_Only)))},s.prototype.setVndrSplPurSection=function(e,t){var o=this,n=e.querySelector(".spl-purpose"),e=e.querySelector(".spl-purpose-grp"),r=e.cloneNode(!0);e.parentElement.removeChild(e),A.isIab2orv2Template&&t.specialPurposes.forEach(function(e){k(r.querySelector(o.CONSENT_CATEGORY)).text(e.purposeName),n.insertAdjacentHTML("afterend",v.getInnerHtmlContent(r.outerHTML))}),0===t.specialPurposes.length?n.parentElement.removeChild(n):k(n.querySelector("p")).text(I.SpecialPurposesText)},s.prototype.setVndrFtSection=function(e,t){var o=this,n=e.querySelector(".vendor-feature"),e=e.querySelector(".vendor-feature-group"),r=e.cloneNode(!0);e.parentElement.removeChild(e),k(n.querySelector("p")).text(I.FeaturesText),t.features.forEach(function(e){k(r.querySelector(o.CONSENT_CATEGORY)).text(e.featureName),n.insertAdjacentHTML("afterend",v.getInnerHtmlContent(r.outerHTML))}),0===t.features.length&&n.parentElement.removeChild(n)},s.prototype.setVndrSplFtSection=function(e,t){var o=this,n=e.querySelector(".vendor-spl-feature"),e=e.querySelector(".vendor-spl-feature-grp"),r=e.cloneNode(!0);n.parentElement.removeChild(e),A.isIab2orv2Template&&t.specialFeatures.forEach(function(e){k(r.querySelector(o.CONSENT_CATEGORY)).text(e.featureName),n.insertAdjacentHTML("afterend",v.getInnerHtmlContent(r.outerHTML))}),0===t.specialFeatures.length?n.parentElement.removeChild(n):k(n.querySelector("p")).text(I.SpecialFeaturesText)},s.prototype.setVndrAccTxt=function(e,t){t=t.querySelector(P.P_Acc_Txt);t&&T.setHtmlAttributes(t,{id:"IAB-ACC-TXT"+e,"aria-labelledby":"IAB-ACC-TXT"+e,role:"region"})},s.prototype.setVndrDisclosure=function(e,t,o){t.deviceStorageDisclosureUrl&&(T.setHtmlAttributes(o,{"disc-vid":e}),L.discVendors[e]={isFetched:!1,disclosureUrl:t.deviceStorageDisclosureUrl})},s.prototype.setVndrListSelectAllChkBoxs=function(){var e=k("#onetrust-pc-sdk "+P.P_Sel_All_Vendor_Consent_Handler).el[0],e=(e&&e.setAttribute(this.ARIA_LABEL_ATTRIBUTE,I.PCenterSelectAllVendorsText+" "+I.LegitInterestText),k("#onetrust-pc-sdk "+P.P_Sel_All_Vendor_Leg_Handler).el[0]);e&&e.setAttribute(this.ARIA_LABEL_ATTRIBUTE,I.PCenterSelectAllVendorsText+" "+I.ConsentText)},s.prototype.setVndrConsentPurposes=function(e,t,o){var n=this,r=e.querySelector(".vendor-consent-group"),i=e.querySelector(".vendor-option-purpose"),s=r.cloneNode(!0),a=e.querySelector(".legitimate-interest"),l=!1;return r.parentElement.removeChild(r),t.consent&&(k(i.querySelector("p")).text(I.ConsentPurposesText),o.purposes.forEach(function(e){k(s.querySelector(n.CONSENT_CATEGORY)).text(e.purposeName);e=s.querySelector(".consent-status");e&&s.removeChild(e),a.insertAdjacentHTML("beforebegin",v.getInnerHtmlContent(s.outerHTML)),l=!0})),t.consent||i.parentElement.removeChild(i),l},s.prototype.getVndrTglCntr=function(e){return S.isV2Template?_.chkboxEl.cloneNode(!0):e.querySelector(".ot-checkbox")},s.prototype.attachVendorsToDOM=function(){for(var u,p,g=this,C=L.vendors.list,h=L.vendors.vendorTemplate.cloneNode(!0),y=(L.discVendors={},S.isV2Template&&(u=h.querySelector(".ot-ven-pur").cloneNode(!0),p=h.querySelector(P.P_Ven_Disc).cloneNode(!0),k(h.querySelector(".ot-ven-dets")).html("")),document.createDocumentFragment()),f=this,e=0;e{var t,o,n=h.cloneNode(!0),r=C[e].vendorId,i=C[e].vendorName,s=n.querySelector("."+P.P_Ven_Bx),a=L.vendorsSetting[r],l=(T.setHtmlAttributes(s,{id:"IAB"+r,name:"IAB"+r,"aria-controls":"IAB-ACC-TXT"+r,"aria-label":i}),s.nextElementSibling.setAttribute("for","IAB"+r),n.querySelector(P.P_Ven_Name).innerText=i,f.updateIABLinksDOM(C[e],n),f.getVndrTglCntr(n)),c=n.querySelector(P.P_Tgl_Cntr),d=(S.isV2Template||l.parentElement.removeChild(l),n.querySelector(P.P_Arrw_Cntr));f.setVdrConsentTglOrChbox(r,l,i,c,d,e),f.setVdrLegIntTglOrChbx(r,n,l,i,e,d,c),S.isV2Template&&(c.insertAdjacentElement("beforeend",_.arrowEl.cloneNode(!0)),I.PCAccordionStyle!==ce.Caret)&&n.querySelector(".ot-ven-hdr").insertAdjacentElement("beforebegin",_.plusMinusEl.cloneNode(!0)),f.setVndrAccTxt(r,n),f.setVndrDisclosure(r,C[e],s),S.isV2Template?f.populateVendorDetailsHtml(n,u,C[e],p):(t=n.querySelector(".legitimate-interest"),l=n.querySelector(".legitimate-interest-group"),o=l.cloneNode(!0),p=n.querySelector(P.P_Ven_Disc),i=n.querySelector(P.P_Ven_Dets),d=p.cloneNode(!0),p.parentElement.removeChild(p),f.attachVendorDisclosure(d,C[e]),i.insertAdjacentElement("afterbegin",d),f.setVndrConsentPurposes(n,a,C[e]),c=o.querySelector(".vendor-opt-out-handler"),A.isIab2orv2Template&&c.parentElement.removeChild(c),l.parentElement.removeChild(l),a.legInt&&(k(t.querySelector("p")).text(I.LegitimateInterestPurposesText),A.legIntSettings.PAllowLI)&&A.isIab2orv2Template&&C[e].legIntPurposes.forEach(function(e){k(o.querySelector(g.CONSENT_CATEGORY)).text(e.purposeName),t.insertAdjacentHTML("afterend",v.getInnerHtmlContent(o.outerHTML))}),a.legInt||t.parentElement.removeChild(t),f.setVndrSplPurSection(n,C[e]),f.setVndrFtSection(n,C[e]),f.setVndrSplFtSection(n,C[e]),(r=s.parentElement.querySelector(".vendor-purposes p")).parentElement.removeChild(r)),y.appendChild(n),f.setVndrListSelectAllChkBoxs()})(e);document.querySelector("#onetrust-pc-sdk "+P.P_Vendor_Container).append(y)},s.prototype.updateIABLinksDOM=function(e,t){var o=e.vendorName,n=t.querySelector(P.P_Ven_Link),t=t.querySelector(P.P_Ven_Leg_Claim),r=A.isTcfV2Template?e.vendorPrivacyUrl:e.policyUrl;T.setHtmlAttributes(n,{href:r,rel:"noopener",target:"_blank"}),n.innerHTML=v.getInnerHtmlContent(I.PCenterViewPrivacyPolicyText+" "+o+" "+I.NewWinTxt+""),n.insertAdjacentHTML("afterend",v.getInnerHtmlContent("")),A.isTcfV2Template&&e.legIntClaim&&0"+o+" "+I.NewWinTxt+""),t.insertAdjacentHTML("afterend",v.getInnerHtmlContent(""))):t.remove()},s.prototype.populateVendorDetailsHtml=function(e,t,o,n){var r,i,s,a,l,c,d,u,e=e.querySelector(".ot-ven-dets"),p=L.vendorsSetting[o.vendorId],n=n.cloneNode(!0);this.attachVendorDisclosure(n,o),e.insertAdjacentElement("beforeEnd",n),A.isTcfV2Template&&null!=(n=o.dataDeclaration)&&n.length&&(n=t.cloneNode(!0),r=""+I.PCVListDataDeclarationText+"
",r+="",o.dataDeclaration.forEach(function(e){r+=""+e.Name+"
"}),r+="
",n.innerHTML=v.getInnerHtmlContent(r),e.insertAdjacentElement("beforeEnd",n)),A.isTcfV2Template&&null!==(null==(n=o.dataRetention)?void 0:n.stdRetention)&&void 0!==(null==(n=o.dataRetention)?void 0:n.stdRetention)&&(n=t.cloneNode(!0),c=1===o.dataRetention.stdRetention?I.PCenterVendorListLifespanDay:I.PCenterVendorListLifespanDays,s=""+I.PCVListDataRetentionText+"
",s+=""+I.PCVListStdRetentionText+" ("+o.dataRetention.stdRetention+" "+c+")
",n.innerHTML=v.getInnerHtmlContent(s),e.insertAdjacentElement("beforeEnd",n)),p.consent&&(c=t.cloneNode(!0),i=""+I.ConsentPurposesText+"
",i+="",o.purposes.forEach(function(e){var t;i+=""+e.purposeName,A.isTcfV2Template&&null!=(t=o.dataRetention)&&t.purposes&&o.dataRetention.purposes[e.purposeId]&&(e=1===(t=o.dataRetention.purposes[e.purposeId].retention)?I.PCenterVendorListLifespanDay:I.PCenterVendorListLifespanDays,i+=" ("+t+" "+e+")"),i+="
"}),i+="
",c.innerHTML=v.getInnerHtmlContent(i),e.insertAdjacentElement("beforeEnd",c)),p.legInt&&o.legIntPurposes.length&&(s=t.cloneNode(!0),a=""+I.LegitimateInterestPurposesText+"
",a+="",o.legIntPurposes.forEach(function(e){a+=""+e.purposeName+"
"}),a+="
",s.innerHTML=v.getInnerHtmlContent(a),e.insertAdjacentElement("beforeEnd",s)),A.isIab2orv2Template&&o.specialPurposes.length&&(n=t.cloneNode(!0),l=""+I.SpecialPurposesText+"
",l+="",o.specialPurposes.forEach(function(e){var t;l+=""+e.purposeName,A.isTcfV2Template&&null!=(t=o.dataRetention)&&t.specialPurposes&&o.dataRetention.specialPurposes[e.purposeId]&&(e=1===(t=o.dataRetention.specialPurposes[e.purposeId].retention)?I.PCenterVendorListLifespanDay:I.PCenterVendorListLifespanDays,l+=" ("+t+" "+e+")"),l+="
"}),l+="
",n.innerHTML=v.getInnerHtmlContent(l),e.insertAdjacentElement("beforeEnd",n)),o.features.length&&(c=t.cloneNode(!0),d=""+I.FeaturesText+"
",d+="",o.features.forEach(function(e){d+=""+e.featureName+"
"}),d+="
",c.innerHTML=v.getInnerHtmlContent(d),e.insertAdjacentElement("beforeEnd",c)),A.isIab2orv2Template&&o.specialFeatures.length&&(p=t.cloneNode(!0),u=""+I.SpecialFeaturesText+"
",u+="",o.specialFeatures.forEach(function(e){u+=""+e.featureName+"
"}),u+="
",p.innerHTML=v.getInnerHtmlContent(u),e.insertAdjacentElement("beforeEnd",p))},s.prototype.InitializeVendorList=function(){var e;L.vendors.list=L.iabData?L.iabData.vendors:null,L.vendors.vendorTemplate=k(P.P_Vendor_Container+" li").el[0].cloneNode(!0),k("#onetrust-pc-sdk "+P.P_Vendor_Container).html(""),S.isV2Template||A.pcName!==it||(e=L.vendors.vendorTemplate.querySelectorAll(P.P_Acc_Header),(e=A.legIntSettings.PAllowLI&&A.isIab2orv2Template?e[0]:e[1]).parentElement.removeChild(e))},s.prototype.cancelVendorFilter=function(){for(var e=k("#onetrust-pc-sdk .category-filter-handler").el,t=0;t "+t.cookieMaxAge+"";t.usesNonCookieAccess&&(o+=""+I.PCenterVendorListNonCookieUsage+"
"),e.innerHTML=v.getInnerHtmlContent(o)},s.prototype.updateVendorFilterList=function(){for(var e=k("#onetrust-pc-sdk .category-filter-handler").el,t=0;t"+I.PCIABVendorsText+"")),c.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",d),c.querySelector(this.ACC_TXT).insertAdjacentElement("beforeEnd",k("#ot-ven-lst").el[0]),k("#ot-lst-cnt .ot-sdk-column").append(c),c.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,I.PCIABVendorsText),this.iabAccInit=!0,d.cloneNode(!0)),u=(T.removeChild(c.querySelector("#ot-selall-licntr")),c.querySelector(".ot-chkbox").id="ot-selall-adtlvencntr",c.querySelector("input").id="ot-selall-adtlven-handler",c.querySelector("label").setAttribute("for","ot-selall-adtlven-handler"),_.accordionEl.cloneNode(!0)),p=(u.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",l.cloneNode(!0)),u.querySelector(".ot-acc-hdr").insertAdjacentHTML("beforeEnd",""+I.PCGoogleVendorsText+"
"),u.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",c),u.querySelector(this.ACC_TXT).insertAdjacentHTML("beforeEnd",v.getInnerHtmlContent("")),u.classList.add("ot-adtlv-acc"),u.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,I.PCGoogleVendorsText),L.vendors.vendorTemplate.cloneNode(!0));for(t in p.querySelector("button").classList.remove("ot-ven-box"),p.querySelector("button").classList.add("ot-addtl-venbox"),T.removeChild(p.querySelector(this.ACC_TXT)),e)e[t]&&(o=p.cloneNode(!0),n=e[t].name,o.querySelector(P.P_Ven_Name).innerText=n,r=o.querySelector("button"),T.setHtmlAttributes(r,{id:"Adtl-IAB"+t}),T.setHtmlAttributes(o.querySelector(P.P_Ven_Link),{href:e[t].policyUrl,rel:"noopener",target:"_blank"}),o.querySelector(P.P_Ven_Link).innerHTML=v.getInnerHtmlContent(I.PCenterViewPrivacyPolicyText+" "+n+" "+I.NewWinTxt+""),(r=_.chkboxEl.cloneNode(!0)).classList.remove("ot-ven-ctgl"),r.classList.add("ot-ven-adtlctgl"),i=Boolean(L.addtlVendors.vendorSelected[t]),(s=r.querySelector("input")).classList.add("ot-addtlven-chkbox-handler"),a=r.querySelector(this.LABEL_STATUS),I.PCShowConsentLabels?a.innerHTML=v.getInnerHtmlContent(i?I.PCActiveText:I.PCInactiveText):T.removeChild(a),T.setCheckedAttribute("",s,i),T.setHtmlAttributes(s,{id:"ot-addtlven-chkbox-"+t,"addtl-vid":t,"aria-label":n}),r.querySelector("label").setAttribute("for","ot-addtlven-chkbox-"+t),r.querySelector(P.P_Label_Txt).textContent=n,a=o.querySelector(P.P_Tgl_Cntr),k(a).append(r),a.insertAdjacentElement("beforeend",_.arrowEl.cloneNode(!0)),I.PCAccordionStyle!==ce.Caret&&o.querySelector(".ot-ven-hdr").insertAdjacentElement("beforebegin",_.plusMinusEl.cloneNode(!0)),this.checkIfLegLinkRemove(o),k(u.querySelector("#ot-addtl-venlst")).append(o));k("#ot-lst-cnt .ot-sdk-column").append(u),k("#onetrust-pc-sdk").on("click","#ot-pc-lst .ot-acc-cntr > input",function(e){T.setCheckedAttribute(null,e.target,e.target.checked)}),this.showConsentHeader()},s.prototype.populateGeneralVendors=function(){var e,t,o,c,d,u,p=this,n=I.GeneralVendors,r=document.querySelector(".ot-gv-acc"),g=!!r;n.length?(this.hasGenVendors=!0,r&&k(r).show(),e=(I.PCAccordionStyle===ce.Caret?_.arrowEl:_.plusMinusEl).cloneNode(!0),this.iabAccInit||this.addIabAccordion(),(t=document.createElement("div")).setAttribute("class","ot-sel-all-chkbox"),o=_.chkboxEl.cloneNode(!0),o.id="ot-selall-gnvencntr",o.querySelector("input").id="ot-selall-gnven-handler",o.querySelector("label").setAttribute("for","ot-selall-gnven-handler"),k(t).append(o),c=_.accordionEl.cloneNode(!0),c.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",e.cloneNode(!0)),c.querySelector(".ot-acc-hdr").insertAdjacentHTML("beforeEnd",""+I.PCenterGeneralVendorsText+"
"),I.GenVenOptOut&&c.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",t),c.querySelector(this.ACC_TXT).insertAdjacentHTML("beforeEnd",v.getInnerHtmlContent("")),c.classList.add("ot-gv-acc"),c.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,I.PCenterGeneralVendorsText),d=L.vendors.vendorTemplate.cloneNode(!0),d.querySelector("button").classList.remove("ot-ven-box"),d.querySelector("button").classList.add("ot-gv-venbox"),k(d.querySelector(this.ACC_TXT)).html(''),g&&k(""+P.P_Gven_List).html(""),u=!0,n.forEach(function(e){var t,o,n=p.mapGenVendorToHostFormat(e),r=d.cloneNode(!0),i=e.VendorCustomId,s=e.Name,a=r.querySelector(P.P_Ven_Link),l=(r.querySelector(P.P_Ven_Name).innerText=s,r.querySelector("button"));T.setHtmlAttributes(l,{id:"Gn-"+i}),e.PrivacyPolicyUrl?(T.setHtmlAttributes(a,{href:e.PrivacyPolicyUrl,rel:"noopener",target:"_blank"}),a.innerHTML=v.getInnerHtmlContent(I.PCGVenPolicyTxt+" "+s+" "+I.NewWinTxt+"")):a.classList.add("ot-hide"),p.addDescriptionElement(a,e.Description),I.GenVenOptOut&&((l=_.chkboxEl.cloneNode(!0)).classList.remove("ot-ven-ctgl"),l.classList.add("ot-ven-gvctgl"),a=Boolean(L.genVendorsConsent[i]),(t=l.querySelector("input")).classList.add("ot-gnven-chkbox-handler"),o=l.querySelector(p.LABEL_STATUS),I.PCShowConsentLabels?o.innerHTML=v.getInnerHtmlContent(a?I.PCActiveText:I.PCInactiveText):T.removeChild(o),T.setCheckedAttribute("",t,a),T.setHtmlAttributes(t,{id:"ot-gnven-chkbox-"+i,"gn-vid":i,"aria-label":s}),yo.isGenVenPartOfAlwaysActiveGroup(i)?T.setDisabledAttribute(null,t,!0):u=!1,l.querySelector("label").setAttribute("for","ot-gnven-chkbox-"+i),l.querySelector(P.P_Label_Txt).textContent=s,o=r.querySelector(P.P_Tgl_Cntr),k(o).append(l),o.insertAdjacentElement("beforeend",_.arrowEl.cloneNode(!0))),I.PCAccordionStyle!==ce.Caret&&r.querySelector(".ot-ven-hdr").insertAdjacentElement("beforebegin",_.plusMinusEl.cloneNode(!0)),e.Cookies.length||k(r).addClass("ot-hide-acc"),e.Cookies.forEach(function(e){e=p.getCookieElement(e,n);k(r.querySelector(".ot-host-opt")).append(e)}),p.checkIfLegLinkRemove(r),k(g?""+P.P_Gven_List:c.querySelector(""+P.P_Gven_List)).append(r)}),g||k("#ot-lst-cnt .ot-sdk-column").append(c),k("#onetrust-pc-sdk").on("click","#ot-pc-lst .ot-acc-cntr > input",function(e){T.setCheckedAttribute(null,e.target,e.target.checked)}),this.showConsentHeader(),u&&T.setDisabledAttribute("#ot-selall-gnven-handler",null,!0)):(this.hasGenVendors=!1,r&&k(r).hide())},s.prototype.addIabAccordion=function(){var e=(I.PCAccordionStyle===ce.Caret?_.arrowEl:_.plusMinusEl).cloneNode(!0),t=document.querySelector("#onetrust-pc-sdk .ot-sel-all-chkbox"),o=t.cloneNode(!0),t=(T.removeChild(o.querySelector("#ot-selall-hostcntr")),T.removeChild(t.querySelector("#ot-selall-vencntr")),T.removeChild(t.querySelector("#ot-selall-licntr")),_.accordionEl.cloneNode(!0));t.classList.add("ot-iab-acc"),t.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",e.cloneNode(!0)),t.querySelector(".ot-acc-hdr").insertAdjacentHTML("beforeEnd",v.getInnerHtmlContent(""+I.PCIABVendorsText+"
")),t.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",o),t.querySelector(this.ACC_TXT).insertAdjacentElement("beforeEnd",k("#ot-ven-lst").el[0]),k("#ot-lst-cnt .ot-sdk-column").append(t),t.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,I.PCIABVendorsText),this.iabAccInit=!0},s.prototype.showConsentHeader=function(){var e=A.legIntSettings;k("#onetrust-pc-sdk .ot-sel-all-hdr").show(),e.PAllowLI&&!e.PShowLegIntBtn||k("#onetrust-pc-sdk .ot-li-hdr").hide()},s.prototype.setBackBtnTxt=function(){(S.isV2Template?(k(P.P_Vendor_List+" .back-btn-handler").attr(this.ARIA_LABEL_ATTRIBUTE,I.PCenterBackText),k(P.P_Vendor_List+" .back-btn-handler title")):k(P.P_Vendor_List+" .back-btn-handler .pc-back-button-text")).html(I.PCenterBackText)},s.prototype.getCookieElement=function(e,t){var o=L.hosts.hostCookieTemplate.cloneNode(!0),n=o.querySelector("div").cloneNode(!0),r=(n.classList.remove("cookie-name-container"),k(o).html(""),e.Name),i=(I.AddLinksToCookiepedia&&t.isFirstParty&&(r=h.getCookieLabel(e,I.AddLinksToCookiepedia)),n.cloneNode(!0));return i.classList.add(P.P_c_Name),i.querySelector(this.NTH_CHILD_ONE_SELECTOR).innerHTML=v.getInnerHtmlContent(I.pcCListName),i.querySelector(this.NTH_CHILD_TWO_SELECTOR).innerHTML=v.getInnerHtmlContent(r),k(o).append(i),I.pcShowCookieHost&&((r=n.cloneNode(!0)).classList.add(P.P_c_Host),r.querySelector(this.NTH_CHILD_ONE_SELECTOR).innerHTML=v.getInnerHtmlContent(I.pcCListHost),r.querySelector(this.NTH_CHILD_TWO_SELECTOR).innerHTML=v.getInnerHtmlContent(e.Host),k(o).append(r)),I.pcShowCookieDuration&&((i=n.cloneNode(!0)).classList.add(P.P_c_Duration),i.querySelector(this.NTH_CHILD_ONE_SELECTOR).innerHTML=v.getInnerHtmlContent(I.pcCListDuration),i.querySelector(this.NTH_CHILD_TWO_SELECTOR).innerHTML=v.getInnerHtmlContent(e.IsSession?I.LifespanTypeText:h.getDuration(e)),k(o).append(i)),I.pcShowCookieType&&(r=t.Type===he.GenVendor?!e.isThirdParty:t.isFirstParty,(i=n.cloneNode(!0)).classList.add(P.P_c_Type),i.querySelector(this.NTH_CHILD_ONE_SELECTOR).innerHTML=v.getInnerHtmlContent(I.pcCListType),i.querySelector(this.NTH_CHILD_TWO_SELECTOR).innerHTML=v.getInnerHtmlContent(r?I.firstPartyTxt:I.thirdPartyTxt),k(o).append(i)),I.pcShowCookieCategory&&(r=void 0,r=t.Type===he.GenVendor?e.category:(t.isFirstParty?e:t).groupName)&&((i=n.cloneNode(!0)).classList.add(P.P_c_Category),i.querySelector(this.NTH_CHILD_ONE_SELECTOR).innerHTML=v.getInnerHtmlContent(I.pcCListCategory),i.querySelector(this.NTH_CHILD_TWO_SELECTOR).innerHTML=v.getInnerHtmlContent(r),k(o).append(i)),I.pcShowCookieDescription&&e.description&&((t=n.cloneNode(!0)).classList.add(P.P_c_Desc),t.querySelector(this.NTH_CHILD_ONE_SELECTOR).innerHTML=v.getInnerHtmlContent(I.pcCListDescription),t.querySelector(this.NTH_CHILD_TWO_SELECTOR).innerHTML=v.getInnerHtmlContent(e.description),k(o).append(t)),o},s.prototype.getNoResultsFound=function(e){e=L.showTrackingTech?I.PCTechNotFound:e?I.PCHostNotFound:I.PCVendorNotFound;return" "+e+"."},s.prototype.getAdditionalTechnologiesHtml=function(e){var t=document.createDocumentFragment(),o=I.AdditionalTechnologiesConfig,n=0"+e+""),r.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,t),o&&r.querySelector(this.ACC_TXT).insertAdjacentHTML("beforeend",v.getInnerHtmlContent('')),r.cloneNode(!0)},s.prototype.setSessionLocalStorageTemplate=function(e,t,o){var n=L.hosts.hostTemplate.cloneNode(!0),r=(T.removeChild(n.querySelector(".ot-a scc-txt")),e.querySelector(this.ACC_TXT+" "+P.P_Host_Cntr));r.removeAttribute("style"),r.classList.add("ot-host-opt");for(var i=0,s=t;i(o=i)&&(o=A.serverLatestDateForCookies)),this.checkIfServerConsent(t,n)&&(C.writeCookieParam(g.OPTANON_CONSENT,d.PREV_USER_CONSENT,""),r=!0,i=e.syncGroups[L.syncGrpId])&&(i.tcStringV2&&(L.isIabSynced=!0,L.syncRequired=!0,C.setCookie(g.EU_PUB_CONSENT,i.tcStringV2,I.ReconsentFrequencyDays,!1,new Date(o))),i.gacString)&&(L.isGacSynced=!0,L.syncRequired=!0,C.setCookie(g.ADDITIONAL_CONSENT_STRING,i.gacString,I.ReconsentFrequencyDays,!1,new Date(o))),this.forceConsentReceipt(t,n),{iabSyncRequired:r,latestConsentDate:o}):{iabSyncRequired:!1,latestConsentDate:new Date(0)}},Si.prototype.syncPreferences=function(e,t){void 0===t&&(t=!1);var o=C.getCookie(g.ALERT_BOX_CLOSED),n=o,r=!1,i=!0,s=!1,a=!1,l=T.strToArr(C.readCookieParam(g.OPTANON_CONSENT,"groups"));if(e&&e.preferences.length){this.checkIfConsentIsGiven(e);for(var c=void 0,d=0,u=e.preferences;dnew Date(c))&&(c=p.latestConsentDate)}o=c}else i=!1;return this.forceConsentReceipt(i,a),{alertBoxCookieVal:o,groupsConsent:l,profileFound:i,syncRequired:r,syncOnlyDate:s=s&&!r}},Si.prototype.checkIfConsentIsGiven=function(e){for(var t=0,o=e.preferences;tnew Date(o),s=!o;if(!d&&A.consentGiven||d&&o)if(a){if(t.length){for(var u=-1,p=0;p{var t,o=e.getAttribute("data-optanongroupid"),n=y.getGroupById(o),r=!0,i=T.findIndex(L.groupsConsent,function(e){return e.split(":")[0]===o});(-1{for(var e=A.getRegionRule(),t=0;t{if(e)return e=window.atob(e),Function('"use strict"; return '+e)()})(e.Conditions[t].Expression))return A.Condition=e.Conditions[t]}catch(e){console.warn(e);continue}A.allConditionsFailed=!0})(),A.canUseConditionalLogic=!A.allConditionsFailed),L.userLocation=i.userLocation,L.crossOrigin=i.crossOrigin,A.bannerDataParentURL=i.bannerBaseDataURL,A.mobileOnlineURL=q(A.mobileOnlineURL,i.mobileOnlineURL),ki=A.getRegionRule(),A.multiVariantTestingEnabled=S.moduleInitializer.MultiVariantTestingEnabled&&0{var t,o=S.moduleInitializer.MobileSDK,n={AllowAll:(t=o?Ci:ur).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:f.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};return e.IsConsentLoggingEnabled&&(n.getDataSubjectId=t.getDataSubjectId,n.setConsentProfile=t.setConsentProfile,n.setDataSubjectId=t.setDataSubjectIdV2,n.getDSDefaultIdentifier=t.getDSDefaultIdentifier,L.isV2Stub?n.syncConsentProfile=fi.syncConsentProfile:n.SendReceipt=t.sendReceipt),o&&(n.mobileOnlineURL=t.mobileOnlineURL,n.otCookieData=L.otCookieData),e.IsIabEnabled&&(n.updateConsentFromCookies=f.updateConsentFromCookie,n.getPingRequest=no.getPingRequestForTcf,n.getVendorConsentsRequestV2=no.getVendorConsentsRequestV2,n.showVendorsList=t.showVendorsList),n})(c.DomainData)),p.initializeBannerVariables(c),lo=new Co,To=new Po,oi=new ni,rn=new cn,So=new vo,Un=new jn,vn=new On;var t,o,n,r=window.OTExternalConsent,i=(r&&r.consentedDate&&(r.groups||r.tcString||r.addtlString)&&(t=[],(a=r.groups.split(",")).forEach(function(e){e=e.split(":");t.push({lastInteractionDate:r.consentedDate,status:"1"===e[1]?H[H.ACTIVE]:H[H.OPT_OUT],id:e[0]}),L.grpsSynced.push(e[0])}),L.consentPreferences={preferences:t,syncGroups:null},L.syncRequired=!0,lo.updateGroupsInCookie(g.OPTANON_CONSENT,a),C.setCookie(g.ALERT_BOX_CLOSED,r.consentedDate,365),r.tcString&&(L.isIabSynced=!0,C.setCookie(g.EU_PUB_CONSENT,r.tcString,365)),r.addtlString)&&(L.isGacSynced=!0,C.setCookie(g.ADDITIONAL_CONSENT_STRING,""+r.addtlString,365)),L.isPreview&&(p.syncOtPreviewCookie(),vi.bindStopPreviewEvent()),L.isV2Stub&&(a=fi.syncPreferences(L.consentPreferences,!0),i=fi.checkCarryOverAnonConsentForIAB(),s=i.iabSyncRequired,i=i.latestConsentDate,s&&(a.alertBoxCookieVal=i.toISOString()),a.syncRequired=a.syncRequired||s,L.syncRequired||a.syncRequired)&&p.syncAlertBoxCookie(a.alertBoxCookieVal),p.syncCookieExpiry(),c),s=window.OneTrust.dataSubjectParams||{},s=((L.dsParams=s).id&&(o=s.identifierType||(null==(o=i.CommonData.ConsentIntegration)?void 0:o.DefaultIdentifier),ur.setDataSubjectIdV2(s.id,s.isAnonymous,o)),null==(o=s.identifierType)?void 0:o.trim());return L.isV2Stub&&(o=void 0,n=null==(n=L.identifierType)?void 0:n.trim(),o=n||s||(null==(n=i.CommonData.ConsentIntegration)?void 0:n.DefaultIdentifier),C.writeCookieParam(g.OPTANON_CONSENT,d.IDENTIFIER_TYPE,o)),A.multiVariantTestingEnabled&&A.selectedVariant&&C.setCookie(g.SELECTED_VARIANT,A.selectedVariant.Id,I.ReconsentFrequencyDays),[4,no.initializeIABModule()];case 1:return e.sent(),window.OneTrust.Init(!0),c.DomainData.IsGPPEnabled&&$r.initGppConsent(),[4,N.fetchAssets()];case 2:return(e.sent(),di.initBanner(),f.assetResolve(!0),Qt.initialiseCssReferences(),l=p.isIABCrossConsentEnabled(),(L.syncedValidGrp||L.isIabSynced||L.isGacSynced)&&!l&&I.NtfyConfig.ShowNtfy&&p.isAlertBoxClosedAndValid())?(L.ntfyRequired=!0,[4,vn.getContent()]):[3,4];case 3:e.sent(),e.label=4;case 4:return l||window.OneTrust.LoadBanner(),[2]}var a,s,i})})}(i),S.moduleInitializer.WebFormIntegrationEnabled&&S.moduleInitializer.WebFormSrcUrl&&(n=window.otStubData,r=document.createElement("script"),t=S.moduleInitializer.WebFormSrcUrl,r.type="text/javascript",r.src=t,o=S.moduleInitializer.TenantGuid,S.moduleInitializer.ScriptType===qe.TEST&&(o+="-test"),r.setAttribute("dataId",o),r.setAttribute("worker",S.moduleInitializer.WebFormWorkerUrl),n.charset&&r.setAttribute("charset",n.charset),n.crossOrigin&&r.setAttribute("crossorigin",n.crossOrigin),document.querySelector('script[src="'+t+'"]')||document.getElementsByTagName("head")[0].appendChild(r)),[2]}var n,r})})}()})();