/*! For license information please see osano.js.LICENSE.txt */ (()=>{var e={5289:()=>{!function(){var e=/\[object (Boolean|Number|String|Function|Array|Date|RegExp)\]/;function t(t){return null==t?String(t):(t=e.exec(Object.prototype.toString.call(Object(t))))?t[1].toLowerCase():"object"}function n(e,t){return Object.prototype.hasOwnProperty.call(Object(e),t)}function r(e){if(!e||"object"!=t(e)||e.nodeType||e==e.window)return!1;try{if(e.constructor&&!n(e,"constructor")&&!n(e.constructor.prototype,"isPrototypeOf"))return!1}catch(o){return!1}for(var r in e);return void 0===r||n(e,r)}function o(e,t,n){this.b=e,this.f=t||function(){},this.d=!1,this.a={},this.c=[],this.e=function(e){return{set:function(t,n){c(s(t,n),e.a)},get:function(t){return e.get(t)}}}(this),i(this,e,!n);var r=e.push,o=this;e.push=function(){var t=[].slice.call(arguments,0),n=r.apply(e,t);return i(o,t),n}}function i(e,n,o){for(e.c.push.apply(e.c,n);!1===e.d&&0{"use strict";t.$y=void 0;var r=n(9592),o=function(){var e=[],t=[],n=void 0;return{enhancer:function(e){return n=e,function(e){return function(n){return r.compose.apply(void 0,t)(e)(n)}}},addMiddleware:function(){for(var r,o,i=arguments.length,s=Array(i),c=0;c{"use strict";n.r(t),n.d(t,{__DO_NOT_USE__ActionTypes:()=>l,applyMiddleware:()=>b,bindActionCreators:()=>m,combineReducers:()=>f,compose:()=>h,createStore:()=>p,legacy_createStore:()=>d});var r=n(2362);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t{"use strict";n.d(t,{SK:()=>Z,Qm:()=>te,Gf:()=>X,LB:()=>ee,R$:()=>I,fQ:()=>ne,tu:()=>B,wm:()=>F,AZ:()=>K,Qj:()=>J});var r=n(2362);const o={};function i(e,t){let n;const r=function(...t){return delete o[n],e(...t)};return t?r():n=document.hidden?`${setTimeout(r,0)}_`:`_${window.requestAnimationFrame(r)}`,n&&(o[n]=e),n}function s(e){const[t,n]=e.split("_").map((function(e){return parseInt(e,10)}));e&&delete o[e],n&&window.cancelAnimationFrame(parseInt(n,10)),t&&clearTimeout(parseInt(t,10))}document.addEventListener("visibilitychange",(function(){Object.entries(o).forEach((function([e,t]){s(e),i(t)}))}),!1);var c=n(1184),a=n.n(c);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t100){this.wait.call(this,this.createInlineWorker.bind(this,e,t));break}}}createWebWorker(e,t){var n=this;const r=p(this.doWork);this.webWorker=r,r.onmessage=function(t){n.cleanup(),r.terminate(),e(t.data)},r.onerror=function(e){n.cleanup(),r.terminate(),t(e.error)},r.postMessage(this.data)}cleanup(){s(this.requestId),this.webWorker&&this.webWorker.terminate(),delete this.webWorker,delete this.requestId}postMessage(e){this.data=u(u({},this.data),e),this.webWorker&&this.webWorker.postMessage(this.data)}terminate(){this.cleanup(),this.inlineReject&&this.inlineReject("abort")}classify(e){var t=this;return this._promise?this.postMessage(e):(this.data=e,this._promise=new(a())((function(e,n){t.inlineReject=n,"string"==typeof t.doWork?t.wait(t.createWebWorker.bind(t,e,n)):t.wait(t.createInlineWorker.bind(t,e,n))}))),this._promise}get promise(){return this._promise||a().reject()}}var f=n(8734),g=n(5036),m=n(4045);const h=/(^|@)\S+:\d+/,b=/^\s*at .*(\S+:\d+|\(native\))/m,y=/^(eval@)?(\[native code])?$/;function O(e){return e&&e.replace(/^\(/,"").replace(/\)$/,"")}const v={parse:function(e){if(void 0!==e.stacktrace||void 0!==e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(b))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error("Cannot parse given Error object")},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var t=O(e),n=/(?:\(.*)?:(\d+)?(?::(\d+))?\)?$/.exec(t),r=n&&n[1]||void 0,o=n&&n[2]||void 0,i=n&&n.index||void 0;return[t.slice(0,i),r&&parseInt(r,10),o&&parseInt(o,10)]},parseV8OrIE:function(e){return e.stack.split("\n").filter((function(e){return!!e.match(b)}),this).map((function(e){e.indexOf("(eval ")>-1&&(e=e.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var t=e.replace(/^\s+/,"").replace(/\(eval code/g,"("),n=t.match(/ (\((.+):(\d+):(\d+)\)$)/),r=(t=n?t.replace(n[0],""):t).split(/\s+/).slice(1),o=this.extractLocation(n?n[1]:r.pop());return{functionName:r.join(" ")||void 0,fileName:["eval",""].indexOf(o[0])>-1?void 0:o[0],lineNumber:o[1],columnNumber:o[2],source:e}}),this)},parseFFOrSafari:function(e){return e.stack.split("\n").filter((function(e){return!e.match(y)}),this).map((function(e){if(e.indexOf(" > eval")>-1&&(e=e.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===e.indexOf("@")&&-1===e.indexOf(":")||e.indexOf("data:text/")>=0)return{functionName:e};var t=/((.*".+"[^@]*)?[^@]*)(?:@)/,n=e.match(t),r=n&&n[1]?n[1]:void 0,o=this.extractLocation(e.replace(t,""));return{functionName:r,fileName:o[0],lineNumber:o[1],columnNumber:o[2],source:e}}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(e){for(var t=/Line (\d+).*script (?:in )?(\S+)/i,n=e.message.split("\n"),r=[],o=2,i=n.length;o/,"$2").replace(/\([^)]*\)/g,"")||void 0;return o.match(/\(([^)]*)\)/)&&(t=o.replace(/^[^(]+\(([^)]*)\)$/,"$1")),{functionName:i,args:void 0===t||"[arguments not available]"===t?void 0:t.split(","),fileName:r[0],lineNumber:r[1],columnNumber:r[2],source:e}}),this)}};var w=n(4008),$=n(8428),_=n(1344),j=n(924),A=n(5041),k=n(2078),P=n(2981);function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t")>=0?r&&C:void 0);if(o)return[o]}return[]}const M=function(e){const{node:t=e,src:n}=e||N,r=t&&n?String(n).substring(0,20).trim().substring(0,5):"";return!r&&(null==t?void 0:t.textContent)||"data:"===r},R=function(e){const{node:t=e}=e||N;return!(!t||!M(e))||!(!t||!t[f.wo]||t===t[f.wo])&&R(t[f.wo])},F=function(e){const{node:t=e}=e||N;return!(!t||!t[f.I_])||!(!t||!t[f.wo]||t===t[f.wo])&&F(t[f.wo])};function H(e,t){if(!R(e)){const n=e&&e.ownerDocument?e.ownerDocument.currentScript:f.Bl.currentScript;if(n)return[n,[]];const r=t||e&&e.ownerDocument===f.Bl&&L()||[],o=r[r.length-1];return[o&&(0,j.iF)(o)||void 0,r]}return[void 0,[]]}const B=function(e,t){const{node:n=e}=e||N;if(!R(e)){if(F(e))return!0;const[r,o]=H(n,t);return F(r)||function(e){try{return(e||L()).filter((function(e){return e===C||E.has(e)})).length>0||void 0}catch(t){return!1}}(o)}return!1},U=function(){return!0},K=function(e){if(e&&(0,m.Tv)(e)){const t=I(e),{src:n=k.oK.call(e)}=t||e;n&&!M(t||e)&&E.add(n)}try{Object.defineProperty(e,f.I_,{configurable:!1,enumerable:!1,get:U})}catch(t){}return e},W=["img","script","iframe"];function J(e){if(e&&e.tagName&&!e[f.b7]&&!e[f.gY]&&W.includes(e.tagName.toLowerCase())){try{const[t,n]=H(e);Object.defineProperty(e,f.wo,{configurable:!1,enumerable:!1,get:function(){return t}}),B(e,n)&&K(e)}catch(t){}try{Object.defineProperty(e,f.b7,{configurable:!1,enumerable:!1,get:U})}catch(t){}}}const G=function(e){const{classifications:t,value:n}=e,r=t.shift();if(void 0===r)return f.zT;const o=r[0],i=new RegExp(""+o,"gm");if(String(n).match(i)){const{classification:e=r[1]}=r[1]||{};return e}},Y=function(e,t){var n=e.data.classifications,r=n.length;function o(i){var s=e.data.category||"";if(i)for(var c=0;c{"use strict";n.d(t,{UF:()=>f,e1:()=>u,KU:()=>p});var r=n(5126),o=n(2362);var i=n(8734);const s=["hideOptOut","eu","tcf","usp"],c=["iab","cookies","iframes","scripts"];function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t{"use strict";n.d(t,{FA:()=>ie,rO:()=>q,iZ:()=>ee,KW:()=>$e,D4:()=>Se,Fr:()=>se,rG:()=>Z,qY:()=>xe,Tn:()=>Oe,jA:()=>le,SD:()=>ue,q6:()=>pe,yp:()=>ce,u4:()=>ae,ft:()=>fe,aI:()=>de,RG:()=>te,e5:()=>me,hT:()=>Ee,TG:()=>Q,gz:()=>he,PA:()=>Pe,H7:()=>re,UM:()=>U,Wm:()=>_e,wo:()=>R,EH:()=>ge,aD:()=>Ae,gY:()=>H,bW:()=>B,TW:()=>ke,b7:()=>M,I_:()=>F,$w:()=>z,Kq:()=>ve,_U:()=>V,O3:()=>X,AQ:()=>K,SP:()=>J,O8:()=>G,gy:()=>W,hB:()=>Y,Pb:()=>De,fb:()=>L,zT:()=>ne,_$:()=>we,AR:()=>be,ex:()=>ye,zM:()=>oe,Y3:()=>I,q9:()=>T,lw:()=>m,iQ:()=>Ce,Yk:()=>O,Bl:()=>C,gg:()=>N,Bh:()=>h});var r=n(4008),o=n(2362),i=n(4525);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}const c="en",a=["ar","arc","ckb","dv","fa","ha","he","khw","ks","ps","ur","uz-af","yi"],l=new WeakMap,u=new WeakMap,p=new WeakMap;var d=n(8428),f=n(1344);const g=new Map,m=!!window.document.documentMode,h=function(e){try{return e.EventTarget}catch(t){return}},b=document.createElement("iframe");document.head.appendChild(b);let y=b.contentWindow||window;const O={Document:y.Document,Element:y.Element,EventTarget:h(y),HTMLDocument:y.HTMLDocument,HTMLElement:y.HTMLElement,HTMLIFrameElement:y.HTMLIFrameElement,HTMLScriptElement:y.HTMLScriptElement,Navigator:y.Navigator,Node:y.Node,Storage:y.Storage,window:y};!m&&document.head.removeChild(b);const{Document:v,Element:w,EventTarget:$,HTMLDocument:_,HTMLElement:j,HTMLIFrameElement:A,HTMLImageElement:k,HTMLScriptElement:P,Navigator:S,Node:x,Storage:E}=O,D=Symbol("osano.cmp.domLoaded"),T=function(){return g.get(D)},C=document;g.set(D,!1),document.addEventListener("DOMContentLoaded",(function(){g.set(D,!0)}));const N=window,I=C.createElement("a"),L=parseInt("%%TATTLE_RATIO%%",10),M=Symbol("osano.cmp.stamp"),R=Symbol("osano.cmp.createdBy"),F=Symbol("osano.cmp.userscript"),H=Symbol("osano.cmp.originalNode"),B=Symbol("osano.cmp.replacementNode"),U=Symbol("osano.cmp.allowed"),K="osano_consentmanager",W=`${K}_tattles-ignore`,J=`${K}_tattles-cookie`,G=`${K}_tattles-iframe`,Y=`${K}_tattles-script`,V="osano/blocked",Q="MARKETING",q="ANALYTICS",z="PERSONALIZATION",Z="ESSENTIAL",X="STORAGE",ee="BLACKLISTED",te="HIDDEN",ne="UNCLASSIFIED",re="OPT_OUT",oe=[Q,q,z,Z],ie="ACCEPT",se="DENY",ce="config",ae="consent",le={[q]:["analytics_storage"],[Q]:["ad_storage","ad_user_data","ad_personalization"],[z]:["personalization_storage"],[Z]:["security_storage","functionality_storage"]},ue="default",pe="update",de="granted",fe={[ie]:de,[se]:"denied"},ge="dMzRlOT",me=r.IFRAME_TIMEOUT||10,he=10,be="VALIDATE_IFRAME",ye="VALIDATE_IFRAME_RESPONSE",Oe="GET_STORAGE",ve="RECEIVE_STORAGE",we="UPDATE_STORAGE",$e="CLEAR_STORAGE",_e=new RegExp(`^${K}`),je=(0,d.A)(r.OSANO_IFRAME_URI,(0,f.A)(document)),Ae=new RegExp(`^(?:https?:)?(?://)?(?:${je.host}${je.pathname}|${r.OSANO_DSAR_URI})(([#|?].*)|(?!.*))?$`),ke=new RegExp(`${r.OSANO_SCRIPT_URI}(?:/[^?#]*)?/osano(?:-[a-z]*(?:\\.legacy|\\.modern)?)?.js(?:[#|?].*)?$`),Pe=33177600,Se=Pe,xe=(new Date(864e13).getTime(),{BLOCKING:"osano-cm-blocking",INIT:"osano-cm-initialized",NEW_CONSENT:"osano-cm-consent-new",CONSENT_CHANGED:"osano-cm-consent-changed",CONSENT_SAVED:"osano-cm-consent-saved",LOCALE_UPDATED:"osano-cm-locale-updated",SCRIPT_BLOCKED:"osano-cm-script-blocked",COOKIE_BLOCKED:"osano-cm-cookie-blocked",IFRAME_BLOCKED:"osano-cm-iframe-blocked",CONSENT_ACCEPT_MARKETING:"osano-cm-marketing",CONSENT_ACCEPT_ANALYTICS:"osano-cm-analytics",CONSENT_ACCEPT_PERSONALIZATION:"osano-cm-personalization",CONSENT_ACCEPT_STORAGE:"osano-cm-storage",CCPA_OPT_OUT:"osano-cm-opt-out",UI_CHANGED_STATE:"osano-cm-ui-changed"}),Ee=new class{setup(e={},t=c){const n={};Object.entries(e).forEach((function([locale,e]){n[`${locale}`]=function(e){for(var t=1;t2?this.translate(e,locale.slice(0,2),r):r);const{interpolations:a={}}=t;return Object.entries(a).forEach((function([e,t]){const n=new RegExp(`%{${e}}`,"g");c=c.replace(n,t)})),c}isLocaleAvailable(locale){return!!r.LANGUAGES.includes(locale)}isLocaleLoaded(locale){const e=l.get(this)[`${locale}`];return"object"==typeof e&&Object.keys(e).length>0}isEmpty(){return 0===Object.keys(l.get(this)).length}},De={None:0,Dialog:1,Drawer:2},Te="fr",Ce={re:Te,gp:Te,mq:Te,gy:Te,yt:Te,mf:Te}},3505:(e,t,n)=>{"use strict";n.d(t,{M:()=>r,V:()=>o});const r={PUSH:1,POP:-1,REPLACE:0},o={CONSENT:"consent",DO_NOT_SELL:"doNotSell",DISCLOSURE:"disclosure",VENDOR_CONSENT:"vendorConsent"}},8503:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>Ki,getStyleConstant:()=>Bi});var r,o=n(2362),i=n(8734);const s=window,c=s.trustedTypes,a=c?c.createPolicy("lit-html",{createHTML:function(e){return e}}):void 0,l="$lit$",u=`lit$${(Math.random()+"").slice(9)}$`,p="?"+u,d=`<${p}>`,f=document,g=function(){return f.createComment("")},m=function(e){return null===e||"object"!=typeof e&&"function"!=typeof e},h=Array.isArray,b=function(e){return h(e)||"function"==typeof(null==e?void 0:e[Symbol.iterator])},y="[ \t\n\f\r]",O=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,w=/>/g,$=RegExp(`>|${y}(?:([^\\s"'>=/]+)(${y}*=${y}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),_=/'/g,j=/"/g,A=/^(?:script|style|textarea|title)$/i,k=function(e){return function(t,...n){return{_$litType$:e,strings:t,values:n}}},P=k(1),S=(k(2),Symbol.for("lit-noChange")),x=Symbol.for("lit-nothing"),E=new WeakMap,D=f.createTreeWalker(f,129,null,!1);function T(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==a?a.createHTML(t):t}const C=function(e,t){const n=e.length-1,r=[];let o,i=2===t?"":"",s=O;for(let c=0;c"===a[0]?(s=null!=o?o:O,p=-1):void 0===a[1]?p=-2:(p=s.lastIndex-a[2].length,n=a[1],s=void 0===a[3]?$:'"'===a[3]?j:_):s===j||s===_?s=$:s===v||s===w?s=O:(s=$,o=void 0);const g=s===$&&e[c+1].startsWith("/>")?" ":"";i+=s===O?t+d:p>=0?(r.push(n),t.slice(0,p)+l+t.slice(p)+u+g):t+u+(-2===p?(r.push(void 0),c):g)}return[T(e,i+(e[n]||"")+(2===t?"":"")),r]};class N{constructor({strings:e,_$litType$:t},n){let r;this.parts=[];let o=0,i=0;const s=e.length-1,a=this.parts,[d,f]=C(e,t);if(this.el=N.createElement(d,n),D.currentNode=this.el.content,2===t){const e=this.el.content,t=e.firstChild;t.remove(),e.append(...t.childNodes)}for(;null!==(r=D.nextNode())&&a.length0){r.textContent=c?c.emptyScript:"";for(let n=0;n2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=x}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,n,r){const o=this.strings;let i=!1;if(void 0===o)e=I(this,e,t,0),i=!m(e)||e!==this._$AH&&e!==S,i&&(this._$AH=e);else{const r=e;let s,c;for(e=o[0],s=0;s?@[\\\]^`{|}~]/g,a.space)}))},ne=function(...e){return te.apply(null,e).reduce((function(e,t){return e[`${t}`]=!0,e}),{})},re=te,oe=1,ie=2,se=function(e){return function(...t){return{_$litDirective$:e,values:t}}};class ce{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,n){this._$Ct=e,this._$AM=t,this._$Ci=n}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}const ae=se(class extends ce{constructor(e){var t;if(super(e),e.type!==oe||"class"!==e.name||(null===(t=e.strings)||void 0===t?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter((function(t){return e[t]})).join(" ")+" "}update(e,[t]){var n,r,o=this;if(void 0===this.it){this.it=new Set,void 0!==e.strings&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter((function(e){return""!==e}))));for(const e in t)t[e]&&!(null===(n=this.nt)||void 0===n?void 0:n.has(e))&&this.it.add(e);return this.render(t)}const i=e.element.classList;this.it.forEach((function(e){e in t||(i.remove(e),o.it.delete(e))}));for(const s in t){const e=!!t[s];e===this.it.has(s)||(null===(r=this.nt)||void 0===r?void 0:r.has(s))||(e?(i.add(s),this.it.add(s)):(i.remove(s),this.it.delete(s)))}return S}}),le=function(e){return null!=e?e:x},ue=["block","label","disabled","onClick","className","modifiers","ariaLabel","tabIndex"];function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function de(e){for(var t=1;t ${n} `}var me=n(5785),he=n(8437);function be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ye(e){for(var t=1;t ${$e({block:r,prefix:t,store:n})} ${Ne({block:r,prefix:t,store:n})} `}function Ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ke(e){for(var t=1;t${s}`}i.hT.template("buttons.denyAll");function Qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qe(e){for(var t=1;t${c}`}function Ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vt(e){for(var t=1;t ${n} `}function jt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function At(e){for(var t=1;t${n} ${Bt(t,xt.D_,(function(e){return P`
${o?o(Wt(Wt({},c),{},{block:a},e)):e}
`}))} `}const Gt=se(class extends ce{constructor(...e){super(...e),(0,o.A)(this,"part",null),(0,o.A)(this,"children",null),(0,o.A)(this,"mapper",null),(0,o.A)(this,"index",0)}commitChild(e){0===this.index&&Ft(this.part);const t=Ct(this.part);Nt(t,e)}draw(){var e=this;const{children:t,mapper:n}=this;window.requestAnimationFrame((function(r){e&&e.children===t&&e.mapper===n&&e.loopChildren(r)}))}loopChildren(e){for(;this.index10)return void this.draw()}}update(e,[t,n]){return t===this.children&&n===this.mapper||(this.part=e,this.children=t,this.mapper=n,this.index=0,this.loopChildren(Date.now())),S}render(){return S}});se(class extends ce{constructor(e){super(e),this.loaded=!1}update({element:e},[t,...n]){return this.loaded?S:(t.apply(void 0,[e,...n]),this.loaded=!0)}render(){return this.loaded}});const Yt=new WeakMap;class Vt extends ce{constructor(e){super(e)}static onScroll(e){e.stopPropagation();const t=Yt.get(e.target)||{};null!=t&&t.activeView&&(t.scrollPositions[`${t.activeView}`]=e.target.scrollTop)}static saveScrollState(e,t){const n=Yt.get(e)||{activeView:"",scrollPositions:{}},r=n.activeView!==t;if(r){const r=n.activeView||t;n.activeView=t,n.scrollPositions[`${r}`]=e.scrollTop||0}return Yt.set(e,n),r}update(e,[t]){const{element:n}=e;if(Vt.saveScrollState(n,t)){var r;const e=Yt.get(n),o=null!==(r=e.scrollPositions[`${t}`])&&void 0!==r?r:0;window.cancelAnimationFrame(e.nextScroll),e.nextScroll=window.requestAnimationFrame((function(){n.scrollTop=o}))}return n.addEventListener("scroll",Vt.onScroll),""}render(){return S}}const Qt=se(Vt),qt={},zt=se(class extends ce{constructor(){super(...arguments),this.st=qt}render(e,t){return t()}update(e,[t,n]){var r=this;if(Array.isArray(t)){if(Array.isArray(this.st)&&this.st.length===t.length&&t.every((function(e,t){return e===r.st[t]})))return S}else if(this.st===t)return S;return this.st=Array.isArray(t)?Array.from(t):t,this.render(t,n)}}),Zt=["block","children","itemId","itemRenderer"];function Xt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function en(e){for(var t=1;t30?zt(n,(function(){return P`${Gt(n,(function(e){return o(en(en({},i),"object"==typeof e?e:{[r]:e}))}))}`})):Bt(n,(function(e){return o(en(en({},i),{},{block:t},"object"==typeof e?e:{[r]:e}))}))}const nn=["id","element","className","itemClassName","title","ariaLive","role"];function rn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function on(e){for(var t=1;t ${t(an(an({},r),{},{block:ln}))} `}const pn=["id","element","className","itemClassName","title","ariaLive","role"];function dn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fn(e){for(var t=1;t ${tn(on(on({},a),{},{block:n,className:o,itemRenderer:Jt}))} `}(mn(mn({},e),{},{className:n,element:hn})):function(e){const{id:t,element:n,className:r="",itemClassName:o="",title:i,ariaLive:s,role:c="list"}=e,a=(0,z.A)(e,pn);return P`
    ${tn(fn(fn({},a),{},{block:n,className:o,itemRenderer:un}))}
`}(mn(mn({},e),{},{className:n,element:hn}))}const yn=function(e,t,n){const r=(0,Y.qi)(e).toLowerCase(),o=null==r?void 0:r.split("-")[0];return i.hT.translate(`${t}.${o}`,void 0,n)},On=["block"],vn=["block"],wn=["block","disabled","className"],$n=["block"],_n=["block"],jn=["id","block","disabled","className"],An=["id","block","className"];function kn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Pn(e){for(var t=1;t ${Jn(Pn(Pn({},o),{},{block:l}))} `:"":(0,Xe.lF)(a)||(0,Y.kA)(a)?P`
${Gn(Pn(Pn({},o),{},{block:l}))} ${$e(Pn(Pn({},o),{},{block:l}))} ${Yn(Pn(Pn({},o),{},{block:l}))}
`:P`
${function(e){const{prefix:t,store:n}=e;return P`${ge(je(je({},e),{},{className:`${t}accept`,label:Pe(),onClick:Ae(n),modifiers:ke}))}`}(Pn(Pn({},o),{},{block:l}))} ${function(e){const{prefix:t,store:n}=e;return P`${ge(Le(Le({},e),{},{className:`${t}deny`,label:(0,Y.Xg)(n.getState())?He():Fe(),onClick:Me(n),modifiers:Re}))}`}(Pn(Pn({},o),{},{block:l}))} ${Yn(Pn(Pn({},o),{},{block:l}))} ${(0,Y.td)(a)?Jn(Pn(Pn({},o),{},{block:l})):""}
`},Qn=function({line:e}){return e},qn="dialog";function zn(e){const{id:t=(0,mt.v4)(qn),block:n,className:r=""}=e,o=(0,z.A)(e,An),{prefix:s="osano-cm-",store:c}=o,{getState:a}=c,l=a(),u=(0,Y.rE)(l),p=(0,Xe.lF)(l),d=(0,Y.I1)(l),f=!(0,Y.R_)(l),g=p?(0,Y.PR)(l):(0,Y.U0)(l),m=(0,Y.LU)(l),h=(0,Y.Sf)(l),{dialogType:b,displayPosition:y}=h,O=`${t}__label`,v={root:ne({prefix:s,block:n,element:qn,modifiers:{element:{hidden:f,position:y,type:b,context:(0,Y.jB)(l)&&"amp",wide:"box"===b&&p}},className:r}),content:ne({prefix:s,block:qn,element:"content"})},w=u.filter((function([e]){return"subjectRightsRequest"!==e})).map((function([e,t]){return P`${ze(Pn(Pn({},o),{},{block:"content",className:"additional-link",href:t,linkText:e}))}`})),$=`${s}dialog-toggle-group`;return P` `}const Zn=function(){return function(e,t){e(he.Ay.revertConsent()),e(he.Ay.hideDrawer());const n=t();setTimeout((function(){e(he.Ay.hideDoNotSell()),(0,Y.Gs)(n)?(e(he.Ay.showWidget()),e(he.Ay.focusWidget())):e(he.Ay.showDialog())}),400)}};const Xn=se(class extends ce{constructor(e){super(e),this.tt=new WeakMap}render(e){return[e]}update(e,[t]){if(Dt(this.et)&&(!Dt(t)||this.et.strings!==t.strings)){const t=Mt(e).pop();let n=this.tt.get(this.et.strings);if(void 0===n){const e=document.createDocumentFragment();n=G(x,e),n.setConnected(!1),this.tt.set(this.et.strings,n)}Lt(n,[t]),Ct(n,void 0,t)}if(Dt(t)){if(!Dt(this.et)||this.et.strings!==t.strings){const n=this.tt.get(t.strings);if(void 0!==n){const t=Mt(n).pop();Ft(e),Ct(e,void 0,t),Lt(e,[t])}}this.et=t}else this.et=void 0;return this.render(t)}}),er=function({category:e,open:t}){return function(n){n(he.Ay.toggleDisclosure(e,t))}},tr=["block","name","title","expiry","provider","purpose","type"],nr=["category","disclosures","onToggle","className","label","tabIndex"];function rr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function or(e){for(var t=1;t ${l} `;if(!gt.C1.includes(r))return p;const d=`${o}tcf-purpose${r}-legint`,f=br(),g=P``;return P`${p}${g}`}($r({purposeId:t,consentChecked:o,liChecked:s},n)):""}`}function jr(e){const{category:t="",block:n,hasDisclosures:r=!0}=e,o=(0,z.A)(e,vr),{prefix:s,store:{dispatch:c,getState:a}}=o,l=a(),u=`${s}drawer-toggle--category_${t}--description`,p=(0,Xe.lF)(l)&>.pO[`${t}`],d=p?i.hT.translate(`iab.stacks.${p}.name`):i.hT.translate(`categories.${t}.label`)||"",f=p?`iab.stacks.${p}.description`:`categories.${t}.description`,g=(i.hT.translate(f)||"").split("\n\n").filter(Boolean),m=(gt.Ll[`${t}`]||[]).map((function(e){return{purposeId:e,type:"purposes"}})),h="description",b={description:ne({prefix:s,block:n,element:h})};return P`${yt($r($r({},o),{},{ariaLevel:"2",id:`${s}drawer-toggle--category_${t}`,descriptionId:u,category:t,block:n,label:d,checked:(0,Y.aE)(l,t),disabled:(0,Y.pU)(l,t),onChange:function(e){return c(yr(t,(0,Y.IP)(l))(e))},className:re({prefix:s,block:n,element:"drawer-toggle"}).join(" ")}))}

${g.map((function(e,t){return P`${t>0?P`

`:null}${e}`}))}

${(0,Xe.lF)(l)?bn($r($r({},o),{},{block:h,children:m,itemId:"purposeId",render:_r})):""}
${r?function(e){const{category:t,disclosures:n=[],onToggle:r=function(){},className:o="",label:i,tabIndex:s=0}=e,c=(0,z.A)(e,nr),{prefix:a,store:{dispatch:l,getState:u}}=c,p=u(),d=`${a}${t}_disclosures`,f=(0,Y.ro)(p)&&!(0,Y.DZ)(p,t),g=!(0,Y.G8)(p,t),m={root:Pt(mr,or(or({},c),{},{className:o}),{collapse:g,loading:f}),toggle:Pt("toggle",or(or({},c),{},{block:mr}))},h=function(e){if(e.preventDefault(),"keypress"===e.type){const t=e.charCode||e.keyCode;if(32!==t&&13!==t)return!1}return l(er({category:t})),r(t,!g),!1};return P`
${pr()}
${bn(or(or({},c),{},{id:d,block:"disclosure",children:n,render:gr,ariaLive:g?"none":"polite"}))}
`}($r($r({},o),{},{block:n,category:t,disclosures:(0,Y.fc)(l,t),label:d})):""}`}function Ar(e){return Math.max(e||0,0)/60/60/24}const kr=["id","block"];function Pr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Sr(e){for(var t=1;t${Ve(Sr(Sr({},h),{},{className:"osano-cm-additional-link",label:i.hT.template(`messaging.${e}`)(),href:t}))}`})),y=f.filter((function([e]){return"subjectRightsRequest"===e})).map((function([e,t]){return P`${Ve(Sr(Sr({},h),{},{className:"osano-cm-additional-link",label:i.hT.template(`messaging.${e}`)(),href:t}))}`}));return P`

${function(e){if((0,Y.IP)(e))return Dr();if((0,Xe.lF)(e))return Er({interpolations:{consentMaxAgeMonths:Math.floor(Ar((0,Y.Ym)(e))/30)}}).split(/\r?\n/g).map((function(e){return P`
${e}`}));return xr()}(a)}

${(0,Y.IP)(a)?P`

${Tr()} ${Ve(h)}${b}

`:""}

${(0,Y.IP)(a)?"":p?P`${Ve(h)}${b}`:y} ${l?ft(Sr({block:"description"},r)):""} ${l?at(Sr({block:"description"},r)):""}

${l?Be(Sr(Sr({},r),{},{block:n})):""} `}const Nr=function(e){return function(t){return function(n){const r=t.target.checked;n((0,me.c)(e,r?i.FA:i.Fr))}}},Ir=["block","description","name","specialFeatureId"];function Lr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Mr(e){for(var t=1;t${n} `}const Fr=["id","active","block","className"];function Hr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Br(e){for(var t=1;t ${Cr(Br(Br({},s),{},{prefix:c,id:t,block:m}))} ${bn(Br(Br({},s),{},{prefix:c,block:m,children:g,render:jr,itemClassName:re({prefix:c,element:"drawer-item"}).join(" ")}))} ${ge(Br(Br({},s),{},{prefix:c,block:m,className:"osano-cm-save",label:Ur(),onClick:function(){return a((function(e){e(he.Ay.saveConsent()),e(he.Ay.hideDrawer()),setTimeout((function(){e(he.Ay.hideDoNotSell()),e(he.Ay.showWidget()),e(he.Ay.focusWidget())}),400)}))}}))}
${Ve(Br(Br({},s),{},{prefix:c,block:"powered-by",label:Kr(),ariaDescribedBy:`${c}aria.external`,href:"https://www.osano.com/?utm_campaign=cmp&utm_source=cmp-dialog&utm_medium=drawer"}))}
`}const Jr=["element","type","plural","itemId"],Gr=["id","active","className"];function Yr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vr(e){for(var t=1;t${d}

${u}

${m.length?bn({type:"description",block:"illustrations",children:[{id:`osano-cm-tcf-v2_2--${n}-${o}-illustrations`,term:Zr(),children:m}],render:function({item:e}){return e}}):""}`},eo=function(e,t=`${e}s`){return Object.keys(i.hT.translate(`iab.${t}`)).map((function(n){return{element:e,term:i.hT.translate(`iab.${t}.${n}.name`),id:`osano-cm-tcf-v2-${t}--${e}_${n}`,itemId:n,children:[{type:e,plural:t,itemId:n}]}}))};function to(e){const{id:t,active:n,className:r=""}=e,o=(0,z.A)(e,Gr),i="view",s=eo("purpose"),c=eo("specialPurpose"),a=eo("feature"),l=eo("specialFeature"),u=eo("dataCategory","dataCategories"),p=Vr(Vr({},o),{},{type:"description",block:i,render:Xr}),d={root:Pt(i,Vr(Vr({},o),{},{className:r}),{active:n,type:"disclosure"}),description:Pt("description",p)};return P`

${Qr()}

${bn(Vr(Vr({},p),{},{children:s}))}${bn(Vr(Vr({},p),{},{children:c}))}${bn(Vr(Vr({},p),{},{children:a}))}${bn(Vr(Vr({},p),{},{children:l}))}${bn(Vr(Vr({},p),{},{children:u}))}
`}const no={preventScroll:!0};function ro(e){return null!==e.offsetParent}const oo=function(e){return(e||document).querySelectorAll('button, a[href]:not([rel="ignore"]), input:not([type="hidden"]):not([type="file"]), select, textarea, [tabindex]:not([tabindex="-1"]):not([data-focus="first"]):not([data-focus="last"])')},io=function(e,t){if(null===e)return;const n=document.activeElement,r=Array.from(oo(e)).filter(ro)[0];try{r.focus(no)}catch(a){t&&t.focus(no)}return n},so={first:"last",last:"first"},co=function(e=""){return function(){const t=Array.from(oo(this.parentNode)),n=so[`${e}`]||"first",r="last"===n?t.length-1:0,o="last"===n?-1:1;let i=t[parseInt(r,10)];if(i){if(i.getAttribute("data-focus")===n&&(i=t[r+o]),i.getAttribute("data-focus")===e)return;try{i.focus()}catch(a){}}}};function ao({dataFocus:e}){return P`${function({onFocus:e,dataFocus:t}){return P``}({dataFocus:e,onFocus:co(e)})}`}const lo=function(e){return function(t){return function(n){const r=t.target.checked;n((0,me.Fk)(e,r?i.FA:i.Fr))}}},uo=function(e){return function(t){return function(n){const r=t.target.checked;n((0,me.gG)(e,r?i.FA:i.Fr))}}};const po=function(e,t){return function(n){n(he.Ay.toggleExpansionPanel(e,t))}},fo=["body","header","id","tabIndex"],go=function(e,{prefix:t,element:n}){const r=`${t}${n}--expanded`;e.nextElementSibling.parentNode.classList.toggle(r)},mo="expansion-panel";const ho=["purposes","vendorId"],bo=["legIntPurposes","vendorId"],yo=["category","block","vendorId"];function Oo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vo(e){for(var t=1;t ${r} `:""}({level:2,title:a})}

${a}

${Jo(vo(vo({},o),{},{purposes:l,vendorId:r,category:t,block:n,id:`${w}drawer-toggle--vendor_${r}`,onChange:function(e){return i(lo(r)(e))},className:St("drawer-toggle",e)}))} ${Go(vo(vo({},o),{},{legIntPurposes:u,vendorId:r,category:t,block:n,id:`${w}drawer-toggle--vendor_${r}_li`,onChange:function(e){return i(uo(r)(e))},className:St("drawer-toggle",e)}))}${Wo(y,o,e)}${function(e){const{body:t="",header:n,id:r=(0,mt.v4)("expansionPanel"),tabIndex:o=0}=e,i=(0,z.A)(e,fo),{prefix:s="osano-cm-",store:c}=i,{dispatch:a,getState:l}=c,u=l(),p=(0,Y.a8)(u,r),d={prefix:s,block:mo},f={root:Pt(mo,e),body:Pt("body",d),toggle:Pt("toggle",d)},g=function(e){if(e.preventDefault(),e.stopPropagation(),"keypress"===e.type){const t=e.charCode||e.keyCode;if(32!==t&&13!==t)return!1}return a(po(r)),go(e.target,{prefix:s,element:mo}),!1};return P`
${n}
`}(vo(vo({},o),{},{block:n,id:`${w}vendor-disclosure--${r}`,header:So(),body:bn(vo(vo({},o),{},{block:"disclosures",className:St("disclosures",vo(vo({},e),{},{block:"expansion-panel"})),children:[{term:Eo(),children:[{type:"string",disclosure:`${_} ${1===_?Do():To()}`},...h?[{type:"string",disclosure:P`${xo()}`}]:[]]},...Ko(wo,u,j),...Ko($o,$,j),...Ko(_o,p,j),...Ko(jo,d,A),...Ko(Ao,f,Ho),...Ko(ko,g,Bo),...Ko(Po,v,Uo),...b?[{term:Co(),children:[{type:"link",href:b,label:b,ariaDescribedBy:`${w}aria.externalNewWindow`,title:`${a} ${So()}`,target:"_blank"}]}]:[]],type:"description",render:function(e){const{type:t,disclosure:n}=e;return"string"===t?n:"link"===t?Ve(e):at(e)}}))}))}`}const Vo=["id","active","className"];function Qo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qo(e){for(var t=1;t

${zo()}

${Be(qo(qo({},o),{},{block:c}))} ${Xn(bn(qo(qo({},o),{},{block:c,children:l,render:Yo,itemId:"vendorId",itemClassName:St({prefix:i,element:"drawer-item"})})))} `}const Xo=["activeView"],ei=["id"],ti=["className","id"];function ni(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ri(e){for(var t=1;t California Consumer Privacy Act (CCPA) Opt-Out Icon `}(),pi={[et.V.CONSENT]:ii,[et.V.DO_NOT_SELL]:si,[et.V.DISCLOSURE]:ci,[et.V.VENDOR_CONSENT]:ai},di=function(e){return e.stopPropagation()},fi=function(e){switch(e){case et.V.CONSENT:case et.V.DO_NOT_SELL:return Wr;case et.V.DISCLOSURE:return to;case et.V.VENDOR_CONSENT:return Zo}return function(){return P``}},gi=function({dispatch:e}){return function(){return e((function(e){e(he.Ay.goBack())}))}},mi=function(e){const{id:t}=e,n=(0,z.A)(e,ei),{store:r}=e,{getState:o}=r,i="info-dialog-header",s=o(),c=(0,Y.q$)(s),a=(0,Y.kR)(s),l={root:Pt(i,e),close:Pt("close",ri(ri({},e),{},{block:i})),header:Pt("header",ri(ri({},e),{},{block:i}))},u=pi[`${c[`${a}`]}`]||function(){return""},p=pi[`${c[""+(a-1)]}`]||function(){return""};return P``},hi="info";function bi(e){const{className:t="",id:n}=e,r=(0,z.A)(e,ti),{prefix:o,store:{dispatch:i,getState:s}}=r,c=s(),a=!(0,Y.MJ)(c),l=(0,Y.Sf)(c),u=(0,Y.q$)(c).map((function(e,t){return{name:e,index:t,id:`${o}${e}--view`,view:fi(e)}})),p=(0,Y.kR)(c),{infoDialogPosition:d}=l,f=`${n}__label`,g={wrapper:Pt("info-dialog",ri(ri({},e),{},{className:t}),{hidden:a}),root:Pt(hi,ri(ri({},r),{},{block:"info-dialog"}),{position:d,do_not_sell:(0,Y.IP)(c),open:!a}),view:Pt("info-views",ri(ri({},r),{},{block:hi}),{hidden:a,position:`${p}`})},m=u[parseInt(p,10)],h=ri(ri({},r),{},{tabIndex:a?-1:0,activeView:m&&m.name,block:"info-views"});return P``}const yi=function(e="",t){if(0===e.indexOf("rgb"))try{return e.replace(/[^\d,.]/g,"").split(",").map((function(e){const t=parseFloat(e);if(isNaN(t))throw new Error("Invalid color value");return t}))}catch(i){return yi(t,"rgba(0,0,0,1)")}let n=`${e||""}`.toLowerCase().replace(/[^0-9a-f]/,"");if(3===n.length||4===n.length)n=n.split("").map((function(e){return`${e}${e}`})).join("");else if(6!==n.length&&8!==n.length)return yi(t,"rgba(0,0,0,1)");const r=[];let o=0;for(;o=128?0:1},wi=function(e,t,n){return Oi(.21*e+.72*t+.07*n)},$i=function(e,t){const n=Math.abs(t)!==t?-1:1,r=Math.abs(t)<=1;let o=Math.abs(t);o=Math.floor(Math.min(255,Math.max(-255,r?Math.round(255*o):o)))*n;let[i,s,c]="string"==typeof e?yi(e):e;return i+=o,i>255?i=255:i<0&&(i=0),c+=o,c>255?c=255:c<0&&(c=0),s+=o,s>255?s=255:s<0&&(s=0),`#${function(...e){return e.slice(0,3).reduce((function(e,t){return`${e}${`00${t.toString(16)}`.slice(-2)}`}),"")}(i,s,c)}`},_i={},ji=function(e){var t,n;const r=_i[`${e}`]||[yi(e)];return r[1]=null!==(t=r[1])&&void 0!==t?t:vi.apply(null,r[0]),r[2]=null!==(n=r[2])&&void 0!==n?n:wi.apply(null,r[0]),_i[`${e}`]=r,r},Ai=function(e,t=.08){const[,n]=ji(e);return(t<0?!n:n)?(r=e,o=Math.abs(t),$i(r,o)):function(e,t){return $i(e,-t)}(e,Math.abs(t));var r,o},ki=["block","id"],Pi=i.hT.template("messaging.widgetAltText"),Si=function({store:e}){return function(){e.dispatch((function(e){e(he.Ay.hideWidget()),e(he.Ay.showDrawer())}))}},xi="widget";var Ei=n(6277),Di=n(5053),Ti=n(4008);let Ci,Ni;function Ii({dom:e,drawerId:t,dialogId:n,widgetId:r}){return function(o){return function(s){return function(c){const a=s(c),{type:l,payload:u}=c,p=o.getState(),d=(0,Y.YK)(p),f=(0,Y.QH)(p);switch(l){case he.gK.render:e.render();break;case he.gK.ready:switch(u){case"blocking":case"consent":case"dom":if((0,Y.Dp)(p)){const e=(0,Y.z6)(p)||!(0,Y.Gs)(p);requestAnimationFrame((function(){e?o.dispatch(he.Ay.showDialog()):o.dispatch(he.Ay.showWidget())}))}}break;case he.gK.saveConsent:(0,Y.Gs)(p)&&!u.shouldShowDialog&&requestAnimationFrame((function(){o.dispatch(he.Ay.hideDialog())}));break;case he.gK.toggleDisclosure:{const{category:e}=u;!(0,Y.ro)(p)&&!(0,Y.DZ)(p,e)&&(o.dispatch(he.Ay.fetchDisclosuresBegin(e)),function({customerId:e,configId:t,category:n,language="en"}){const r={language,category:n};return Di.A.get(`${Ti.DISCLOSURE_URI}/customer/${e}/config/${t}`,r)}({customerId:d,configId:f,category:e}).then((function(t){const n=t||[];return o.dispatch(he.Ay.fetchDisclosuresSuccess(n,e)),t})).catch((function(t){o.dispatch(he.Ay.fetchDisclosuresFailure(t,e))})));break}case he.gK.hideDialog:clearTimeout(Ni);break;case he.gK.showDialog:(0,Y.fJ)(p)&&(Ni&&clearTimeout(Ni),Ni=function(e){return e.dispatch(he.Ay.timeoutBegin()),setTimeout((function(){(0,Y.Gs)(e.getState())||(e.dispatch(he.Ay.acceptAllConsent()),e.dispatch(he.Ay.saveConsent())),(0,Y.z6)(e.getState())&&(e.dispatch(he.Ay.timeoutComplete()),e.dispatch(he.Ay.showWidget())),(0,Y.HC)(e.getState())||e.dispatch(he.Ay.hideDialog())}),1e3*(0,Y.jU)(e.getState()))}(o)),Ci&&Ci.focus(),Ci=io(i.Bl.getElementById(n));break;case he.gK.showWidget:io(i.Bl.getElementById(r),Ci),Ci=void 0;break;case he.gK.focusWidget:var g;null===(g=i.Bl.getElementById(r))||void 0===g||g.focus(),Ci=void 0;break;case he.gK.showVendorConsent:case he.gK.showDisclosure:case he.gK.showDrawer:Ci&&Ci.focus(),Ci=io(i.Bl.getElementById(t))}return a}}}}var Li=n(6421);var Mi=n(8251),Ri=n(5677);function Fi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Hi(e){for(var t=1;t