/*! For license information please see ketch-sdk.js.LICENSE.txt */
(()=>{var e={7551(e,t,n){var r;self,r=e=>(()=>{"use strict";var t={8148(e,t,n){var r=["class","className"];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;t0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(r)for(var l=0;l0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},3051(e){e.exports=function(e){return e[1]}},4775(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},3764(e){function t(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1?n-1:0),o=1;o2&&void 0!==arguments[2]?arguments[2]:y;l&&l(e,null);for(var r=t.length;r--;){var o=t[r];if("string"==typeof o){var i=n(o);i!==o&&(a(t)||(t[r]=i),o=i)}e[o]=!0}return e}function L(e){for(var t=0;t/gm),Q=p(/\$\{[\w\W]*/gm),$=p(/^data-[\-\w.\u00B7-\uFFFF]+$/),J=p(/^aria-[\-\w]+$/),Z=p(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ee=p(/^(?:\w+script|data):/i),te=p(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ne=p(/^html$/i),re=p(/^[a-z][.\w]*(-[.\w]+)+$/i),oe=Object.freeze({__proto__:null,ARIA_ATTR:J,ATTR_WHITESPACE:te,CUSTOM_ELEMENT:re,DATA_ATTR:$,DOCTYPE_NAME:ne,ERB_EXPR:X,IS_ALLOWED_URI:Z,IS_SCRIPT_OR_DATA:ee,MUSTACHE_EXPR:z,TMPLIT_EXPR:Q}),ie=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,n=function(t){return e(t)};if(n.version="3.2.4",n.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return n.isSupported=!1,n;var r,o=t.document,i=o,l=i.currentScript,a=t.DocumentFragment,c=t.HTMLTemplateElement,u=t.Node,p=t.Element,f=t.NodeFilter,_=t.NamedNodeMap,E=void 0===_?t.NamedNodeMap||t.MozNamedAttrMap:_,g=t.HTMLFormElement,x=t.DOMParser,L=t.trustedTypes,z=p.prototype,X=D(z,"cloneNode"),Q=D(z,"remove"),$=D(z,"nextSibling"),J=D(z,"childNodes"),ee=D(z,"parentNode");if("function"==typeof c){var te=o.createElement("template");te.content&&te.content.ownerDocument&&(o=te.content.ownerDocument)}var re="",ie=o,se=ie.implementation,le=ie.createNodeIterator,ae=ie.createDocumentFragment,ce=ie.getElementsByTagName,ue=i.importNode,de={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof s&&"function"==typeof ee&&se&&void 0!==se.createHTMLDocument;var pe=oe.MUSTACHE_EXPR,he=oe.ERB_EXPR,fe=oe.TMPLIT_EXPR,_e=oe.DATA_ATTR,Ee=oe.ARIA_ATTR,ge=oe.IS_SCRIPT_OR_DATA,me=oe.ATTR_WHITESPACE,be=oe.CUSTOM_ELEMENT,Te=oe.IS_ALLOWED_URI,ve=null,Se=w({},[].concat(M,U,F,V,H)),ye=null,Ce=w({},[].concat(K,q,W,Y)),Oe=Object.seal(h(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ne=null,ke=null,Pe=!0,Re=!0,Ie=!1,Ae=!0,xe=!1,we=!0,Le=!1,Be=!1,De=!1,Me=!1,Ue=!1,Fe=!1,je=!0,Ve=!1,Ge=!0,He=!1,Ke={},qe=null,We=w({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ye=null,ze=w({},["audio","video","img","source","image","track"]),Xe=null,Qe=w({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),$e="http://www.w3.org/1998/Math/MathML",Je="http://www.w3.org/2000/svg",Ze="http://www.w3.org/1999/xhtml",et=Ze,tt=!1,nt=null,rt=w({},[$e,Je,Ze],C),ot=w({},["mi","mo","mn","ms","mtext"]),it=w({},["annotation-xml"]),st=w({},["title","style","font","a","script"]),lt=null,at=["application/xhtml+xml","text/html"],ct=null,ut=null,dt=o.createElement("form"),pt=function(e){return e instanceof RegExp||e instanceof Function},ht=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ut||ut!==e){if(e&&"object"==typeof e||(e={}),e=B(e),lt=-1===at.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ct="application/xhtml+xml"===lt?C:y,ve=R(e,"ALLOWED_TAGS")?w({},e.ALLOWED_TAGS,ct):Se,ye=R(e,"ALLOWED_ATTR")?w({},e.ALLOWED_ATTR,ct):Ce,nt=R(e,"ALLOWED_NAMESPACES")?w({},e.ALLOWED_NAMESPACES,C):rt,Xe=R(e,"ADD_URI_SAFE_ATTR")?w(B(Qe),e.ADD_URI_SAFE_ATTR,ct):Qe,Ye=R(e,"ADD_DATA_URI_TAGS")?w(B(ze),e.ADD_DATA_URI_TAGS,ct):ze,qe=R(e,"FORBID_CONTENTS")?w({},e.FORBID_CONTENTS,ct):We,Ne=R(e,"FORBID_TAGS")?w({},e.FORBID_TAGS,ct):{},ke=R(e,"FORBID_ATTR")?w({},e.FORBID_ATTR,ct):{},Ke=!!R(e,"USE_PROFILES")&&e.USE_PROFILES,Pe=!1!==e.ALLOW_ARIA_ATTR,Re=!1!==e.ALLOW_DATA_ATTR,Ie=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ae=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,xe=e.SAFE_FOR_TEMPLATES||!1,we=!1!==e.SAFE_FOR_XML,Le=e.WHOLE_DOCUMENT||!1,Me=e.RETURN_DOM||!1,Ue=e.RETURN_DOM_FRAGMENT||!1,Fe=e.RETURN_TRUSTED_TYPE||!1,De=e.FORCE_BODY||!1,je=!1!==e.SANITIZE_DOM,Ve=e.SANITIZE_NAMED_PROPS||!1,Ge=!1!==e.KEEP_CONTENT,He=e.IN_PLACE||!1,Te=e.ALLOWED_URI_REGEXP||Z,et=e.NAMESPACE||Ze,ot=e.MATHML_TEXT_INTEGRATION_POINTS||ot,it=e.HTML_INTEGRATION_POINTS||it,Oe=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&pt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Oe.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&pt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Oe.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Oe.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),xe&&(Re=!1),Ue&&(Me=!0),Ke&&(ve=w({},H),ye=[],!0===Ke.html&&(w(ve,M),w(ye,K)),!0===Ke.svg&&(w(ve,U),w(ye,q),w(ye,Y)),!0===Ke.svgFilters&&(w(ve,F),w(ye,q),w(ye,Y)),!0===Ke.mathMl&&(w(ve,V),w(ye,W),w(ye,Y))),e.ADD_TAGS&&(ve===Se&&(ve=B(ve)),w(ve,e.ADD_TAGS,ct)),e.ADD_ATTR&&(ye===Ce&&(ye=B(ye)),w(ye,e.ADD_ATTR,ct)),e.ADD_URI_SAFE_ATTR&&w(Xe,e.ADD_URI_SAFE_ATTR,ct),e.FORBID_CONTENTS&&(qe===We&&(qe=B(qe)),w(qe,e.FORBID_CONTENTS,ct)),Ge&&(ve["#text"]=!0),Le&&w(ve,["html","head","body"]),ve.table&&(w(ve,["tbody"]),delete Ne.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');r=e.TRUSTED_TYPES_POLICY,re=r.createHTML("")}else void 0===r&&(r=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;var n=null,r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));var o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(L,l)),null!==r&&"string"==typeof re&&(re=r.createHTML(""));d&&d(e),ut=e}},ft=w({},[].concat(U,F,j)),_t=w({},[].concat(V,G)),Et=function(e){v(n.removed,{element:e});try{ee(e).removeChild(e)}catch(t){Q(e)}},gt=function(e,t){try{v(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){v(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(Me||Ue)try{Et(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},mt=function(e){var t=null,n=null;if(De)e=""+e;else{var i=O(e,/^[\r\n\t ]+/);n=i&&i[0]}"application/xhtml+xml"===lt&&et===Ze&&(e=''+e+"");var s=r?r.createHTML(e):e;if(et===Ze)try{t=(new x).parseFromString(s,lt)}catch(e){}if(!t||!t.documentElement){t=se.createDocument(et,"template",null);try{t.documentElement.innerHTML=tt?re:s}catch(e){}}var l=t.body||t.documentElement;return e&&n&&l.insertBefore(o.createTextNode(n),l.childNodes[0]||null),et===Ze?ce.call(t,Le?"html":"body")[0]:Le?t.documentElement:l},bt=function(e){return le.call(e.ownerDocument||e,e,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT|f.SHOW_PROCESSING_INSTRUCTION|f.SHOW_CDATA_SECTION,null)},Tt=function(e){return e instanceof g&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof E)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},vt=function(e){return"function"==typeof u&&e instanceof u};function St(e,t,r){m(e,function(e){e.call(n,t,r,ut)})}var yt=function(e){var t=null;if(St(de.beforeSanitizeElements,e,null),Tt(e))return Et(e),!0;var r=ct(e.nodeName);if(St(de.uponSanitizeElement,e,{tagName:r,allowedTags:ve}),e.hasChildNodes()&&!vt(e.firstElementChild)&&I(/<[/\w]/g,e.innerHTML)&&I(/<[/\w]/g,e.textContent))return Et(e),!0;if(7===e.nodeType)return Et(e),!0;if(we&&8===e.nodeType&&I(/<[/\w]/g,e.data))return Et(e),!0;if(!ve[r]||Ne[r]){if(!Ne[r]&&Ot(r)){if(Oe.tagNameCheck instanceof RegExp&&I(Oe.tagNameCheck,r))return!1;if(Oe.tagNameCheck instanceof Function&&Oe.tagNameCheck(r))return!1}if(Ge&&!qe[r]){var o=ee(e)||e.parentNode,i=J(e)||e.childNodes;if(i&&o)for(var s=i.length-1;s>=0;--s){var l=X(i[s],!0);l.__removalCount=(e.__removalCount||0)+1,o.insertBefore(l,$(e))}}return Et(e),!0}return e instanceof p&&!function(e){var t=ee(e);t&&t.tagName||(t={namespaceURI:et,tagName:"template"});var n=y(e.tagName),r=y(t.tagName);return!!nt[e.namespaceURI]&&(e.namespaceURI===Je?t.namespaceURI===Ze?"svg"===n:t.namespaceURI===$e?"svg"===n&&("annotation-xml"===r||ot[r]):Boolean(ft[n]):e.namespaceURI===$e?t.namespaceURI===Ze?"math"===n:t.namespaceURI===Je?"math"===n&&it[r]:Boolean(_t[n]):e.namespaceURI===Ze?!(t.namespaceURI===Je&&!it[r])&&!(t.namespaceURI===$e&&!ot[r])&&!_t[n]&&(st[n]||!ft[n]):!("application/xhtml+xml"!==lt||!nt[e.namespaceURI]))}(e)?(Et(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!I(/<\/no(script|embed|frames)/i,e.innerHTML)?(xe&&3===e.nodeType&&(t=e.textContent,m([pe,he,fe],function(e){t=N(t,e," ")}),e.textContent!==t&&(v(n.removed,{element:e.cloneNode()}),e.textContent=t)),St(de.afterSanitizeElements,e,null),!1):(Et(e),!0)},Ct=function(e,t,n){if(je&&("id"===t||"name"===t)&&(n in o||n in dt))return!1;if(Re&&!ke[t]&&I(_e,t));else if(Pe&&I(Ee,t));else if(!ye[t]||ke[t]){if(!(Ot(e)&&(Oe.tagNameCheck instanceof RegExp&&I(Oe.tagNameCheck,e)||Oe.tagNameCheck instanceof Function&&Oe.tagNameCheck(e))&&(Oe.attributeNameCheck instanceof RegExp&&I(Oe.attributeNameCheck,t)||Oe.attributeNameCheck instanceof Function&&Oe.attributeNameCheck(t))||"is"===t&&Oe.allowCustomizedBuiltInElements&&(Oe.tagNameCheck instanceof RegExp&&I(Oe.tagNameCheck,n)||Oe.tagNameCheck instanceof Function&&Oe.tagNameCheck(n))))return!1}else if(Xe[t]);else if(I(Te,N(n,me,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==k(n,"data:")||!Ye[e])if(Ie&&!I(ge,N(n,me,"")));else if(n)return!1;return!0},Ot=function(e){return"annotation-xml"!==e&&O(e,be)},Nt=function(e){St(de.beforeSanitizeAttributes,e,null);var t=e.attributes;if(t&&!Tt(e)){for(var o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ye,forceKeepAttr:void 0},i=t.length,s=function(){var s=t[i],l=s.name,a=s.namespaceURI,c=s.value,u=ct(l),d="value"===l?c:P(c);if(o.attrName=u,o.attrValue=d,o.keepAttr=!0,o.forceKeepAttr=void 0,St(de.uponSanitizeAttribute,e,o),d=o.attrValue,!Ve||"id"!==u&&"name"!==u||(gt(l,e),d="user-content-"+d),we&&I(/((--!?|])>)|<\/(style|title)/i,d))return gt(l,e),"continue";if(o.forceKeepAttr)return"continue";if(gt(l,e),!o.keepAttr)return"continue";if(!Ae&&I(/\/>/i,d))return gt(l,e),"continue";xe&&m([pe,he,fe],function(e){d=N(d,e," ")});var p=ct(e.nodeName);if(!Ct(p,u,d))return"continue";if(r&&"object"==typeof L&&"function"==typeof L.getAttributeType)if(a);else switch(L.getAttributeType(p,u)){case"TrustedHTML":d=r.createHTML(d);break;case"TrustedScriptURL":d=r.createScriptURL(d)}try{a?e.setAttributeNS(a,l,d):e.setAttribute(l,d),Tt(e)?Et(e):T(n.removed)}catch(e){}};i--;)s();St(de.afterSanitizeAttributes,e,null)}},kt=function e(t){var n=null,r=bt(t);for(St(de.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)St(de.uponSanitizeShadowNode,n,null),yt(n),Nt(n),n.content instanceof a&&e(n.content);St(de.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=null,s=null,l=null,c=null;if((tt=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!vt(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Be||ht(t),n.removed=[],"string"==typeof e&&(He=!1),He){if(e.nodeName){var d=ct(e.nodeName);if(!ve[d]||Ne[d])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof u)1===(s=(o=mt("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?o=s:o.appendChild(s);else{if(!Me&&!xe&&!Le&&-1===e.indexOf("<"))return r&&Fe?r.createHTML(e):e;if(!(o=mt(e)))return Me?null:Fe?re:""}o&&De&&Et(o.firstChild);for(var p=bt(He?e:o);l=p.nextNode();)yt(l),Nt(l),l.content instanceof a&&kt(l.content);if(He)return e;if(Me){if(Ue)for(c=ae.call(o.ownerDocument);o.firstChild;)c.appendChild(o.firstChild);else c=o;return(ye.shadowroot||ye.shadowrootmode)&&(c=ue.call(i,c,!0)),c}var h=Le?o.outerHTML:o.innerHTML;return Le&&ve["!doctype"]&&o.ownerDocument&&o.ownerDocument.doctype&&o.ownerDocument.doctype.name&&I(ne,o.ownerDocument.doctype.name)&&(h="\n"+h),xe&&m([pe,he,fe],function(e){h=N(h,e," ")}),r&&Fe?r.createHTML(h):h},n.setConfig=function(){ht(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Be=!0},n.clearConfig=function(){ut=null,Be=!1},n.isValidAttribute=function(e,t,n){ut||ht({});var r=ct(e),o=ct(t);return Ct(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&v(de[e],t)},n.removeHook=function(e,t){if(void 0!==t){var n=b(de[e],t);return-1===n?void 0:S(de[e],n,1)[0]}return T(de[e])},n.removeHooks=function(e){de[e]=[]},n.removeAllHooks=function(){de={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();e.exports=ie},6503(e,t,n){t.__esModule=!0,t.createFocusTrap=void 0;var r=n(968);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;t1?t-1:0),r=1;r1?n-1:0),i=1;i=0)e=o.activeElement;else{var t=E.tabbableGroups[0];e=t&&t.firstTabbableNode||b("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},v=function(){if(E.containerGroups=E.containers.map(function(e){var t=(0,r.tabbable)(e,_.tabbableOptions),n=(0,r.focusable)(e,_.tabbableOptions),o=t.length>0?t[0]:void 0,i=t.length>0?t[t.length-1]:void 0,s=n.find(function(e){return(0,r.isTabbable)(e)}),l=n.slice().reverse().find(function(e){return(0,r.isTabbable)(e)}),a=!!t.find(function(e){return(0,r.getTabIndex)(e)>0});return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:a,firstTabbableNode:o,lastTabbableNode:i,firstDomTabbableNode:s,lastDomTabbableNode:l,nextTabbableNode:function(e){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=t.indexOf(e);return i<0?o?n.slice(n.indexOf(e)+1).find(function(e){return(0,r.isTabbable)(e)}):n.slice(0,n.indexOf(e)).reverse().find(function(e){return(0,r.isTabbable)(e)}):t[i+(o?1:-1)]}}}),E.tabbableGroups=E.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),E.tabbableGroups.length<=0&&!b("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(E.containerGroups.find(function(e){return e.posTabIndexesFound})&&E.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},S=function e(t){var n=t.activeElement;if(n)return n.shadowRoot&&null!==n.shadowRoot.activeElement?e(n.shadowRoot):n},y=function e(t){!1!==t&&t!==S(document)&&(t&&t.focus?(t.focus({preventScroll:!!_.preventScroll}),E.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(T()))},C=function(e){var t=b("setReturnFocus",e);return t||!1!==t&&e},O=function(e){var t=e.target,n=e.event,o=e.isBackward,i=void 0!==o&&o;t=t||h(n),v();var s=null;if(E.tabbableGroups.length>0){var a=m(t,n),c=a>=0?E.containerGroups[a]:void 0;if(a<0)s=i?E.tabbableGroups[E.tabbableGroups.length-1].lastTabbableNode:E.tabbableGroups[0].firstTabbableNode;else if(i){var u=d(E.tabbableGroups,function(e){var n=e.firstTabbableNode;return t===n});if(u<0&&(c.container===t||(0,r.isFocusable)(t,_.tabbableOptions)&&!(0,r.isTabbable)(t,_.tabbableOptions)&&!c.nextTabbableNode(t,!1))&&(u=a),u>=0){var p=0===u?E.tabbableGroups.length-1:u-1,f=E.tabbableGroups[p];s=(0,r.getTabIndex)(t)>=0?f.lastTabbableNode:f.lastDomTabbableNode}else l(n)||(s=c.nextTabbableNode(t,!1))}else{var g=d(E.tabbableGroups,function(e){var n=e.lastTabbableNode;return t===n});if(g<0&&(c.container===t||(0,r.isFocusable)(t,_.tabbableOptions)&&!(0,r.isTabbable)(t,_.tabbableOptions)&&!c.nextTabbableNode(t))&&(g=a),g>=0){var T=g===E.tabbableGroups.length-1?0:g+1,S=E.tabbableGroups[T];s=(0,r.getTabIndex)(t)>=0?S.firstTabbableNode:S.firstDomTabbableNode}else l(n)||(s=c.nextTabbableNode(t))}}else s=b("fallbackFocus");return s},N=function(e){var t=h(e);m(t,e)>=0||(p(_.clickOutsideDeactivates,e)?n.deactivate({returnFocus:_.returnFocusOnDeactivate}):p(_.allowOutsideClick,e)||e.preventDefault())},k=function(e){var t=h(e),n=m(t,e)>=0;if(n||t instanceof Document)n&&(E.mostRecentlyFocusedNode=t);else{var o;e.stopImmediatePropagation();var i=!0;if(E.mostRecentlyFocusedNode)if((0,r.getTabIndex)(E.mostRecentlyFocusedNode)>0){var s=m(E.mostRecentlyFocusedNode),l=E.containerGroups[s].tabbableNodes;if(l.length>0){var a=l.findIndex(function(e){return e===E.mostRecentlyFocusedNode});a>=0&&(_.isKeyForward(E.recentNavEvent)?a+1=0&&(o=l[a-1],i=!1))}}else E.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return(0,r.getTabIndex)(e)>0})})||(i=!1);else i=!1;i&&(o=O({target:E.mostRecentlyFocusedNode,isBackward:_.isKeyBackward(E.recentNavEvent)})),y(o||E.mostRecentlyFocusedNode||T())}E.recentNavEvent=void 0},P=function(e){if(("Escape"===(null===(t=e)||void 0===t?void 0:t.key)||"Esc"===(null==t?void 0:t.key)||27===(null==t?void 0:t.keyCode))&&!1!==p(_.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();var t;(_.isKeyForward(e)||_.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];E.recentNavEvent=e;var n=O({event:e,isBackward:t});n&&(l(e)&&e.preventDefault(),y(n))}(e,_.isKeyBackward(e))},R=function(e){var t=h(e);m(t,e)>=0||p(_.clickOutsideDeactivates,e)||p(_.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},I=function(){if(E.active)return function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var r=e.indexOf(t);-1===r||e.splice(r,1),e.push(t)}(s,n),E.delayInitialFocusTimer=_.delayInitialFocus?u(function(){y(T())}):y(T()),o.addEventListener("focusin",k,!0),o.addEventListener("mousedown",N,{capture:!0,passive:!1}),o.addEventListener("touchstart",N,{capture:!0,passive:!1}),o.addEventListener("click",R,{capture:!0,passive:!1}),o.addEventListener("keydown",P,{capture:!0,passive:!1}),n},A=function(){if(E.active)return o.removeEventListener("focusin",k,!0),o.removeEventListener("mousedown",N,!0),o.removeEventListener("touchstart",N,!0),o.removeEventListener("click",R,!0),o.removeEventListener("keydown",P,!0),n},x="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===E.mostRecentlyFocusedNode})})&&y(T())}):void 0,w=function(){x&&(x.disconnect(),E.active&&!E.paused&&E.containers.map(function(e){x.observe(e,{subtree:!0,childList:!0})}))};return(n={get active(){return E.active},get paused(){return E.paused},activate:function(e){if(E.active)return this;var t=g(e,"onActivate"),n=g(e,"onPostActivate"),r=g(e,"checkCanFocusTrap");r||v(),E.active=!0,E.paused=!1,E.nodeFocusedBeforeActivation=o.activeElement,null==t||t();var i=function(){r&&v(),I(),w(),null==n||n()};return r?(r(E.containers.concat()).then(i,i),this):(i(),this)},deactivate:function(e){if(!E.active)return this;var t=i({onDeactivate:_.onDeactivate,onPostDeactivate:_.onPostDeactivate,checkCanReturnFocus:_.checkCanReturnFocus},e);clearTimeout(E.delayInitialFocusTimer),E.delayInitialFocusTimer=void 0,A(),E.active=!1,E.paused=!1,w(),function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()}(s,n);var r=g(t,"onDeactivate"),o=g(t,"onPostDeactivate"),l=g(t,"checkCanReturnFocus"),a=g(t,"returnFocus","returnFocusOnDeactivate");null==r||r();var c=function(){u(function(){a&&y(C(E.nodeFocusedBeforeActivation)),null==o||o()})};return a&&l?(l(C(E.nodeFocusedBeforeActivation)).then(c,c),this):(c(),this)},pause:function(e){if(E.paused||!E.active)return this;var t=g(e,"onPause"),n=g(e,"onPostPause");return E.paused=!0,null==t||t(),A(),w(),null==n||n(),this},unpause:function(e){if(!E.paused||!E.active)return this;var t=g(e,"onUnpause"),n=g(e,"onPostUnpause");return E.paused=!1,null==t||t(),v(),I(),w(),null==n||n(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return E.containers=t.map(function(e){return"string"==typeof e?o.querySelector(e):e}),E.active&&v(),w(),this}}).updateContainerElements(e),n}},2056(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES=void 0,t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES.reduce(function(e,t){return e[t.toLowerCase()]=t,e},{})},7642(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n="html",r="head",o="body",i=/<([a-zA-Z]+[0-9]?)/,s=//i,l=//i,a=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},c=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},u="object"==typeof window&&window.DOMParser;if("function"==typeof u){var d=new u;a=c=function(e,t){return t&&(e="<".concat(t,">").concat(e,"").concat(t,">")),d.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var p=document.implementation.createHTMLDocument();a=function(e,t){if(t){var n=p.documentElement.querySelector(t);return n&&(n.innerHTML=e),p}return p.documentElement.innerHTML=e,p}}var h,f="object"==typeof document&&document.createElement("template");f&&f.content&&(h=function(e){return f.innerHTML=e,f.content.childNodes}),t.default=function(e){var t,u,d=e.match(i),p=d&&d[1]?d[1].toLowerCase():"";switch(p){case n:var f=c(e);return s.test(e)||null===(t=null===(E=f.querySelector(r))||void 0===E?void 0:E.parentNode)||void 0===t||t.removeChild(E),l.test(e)||null===(u=null===(E=f.querySelector(o))||void 0===E?void 0:E.parentNode)||void 0===u||u.removeChild(E),f.querySelectorAll(n);case r:case o:var _=a(e).querySelectorAll(p);return l.test(e)&&s.test(e)?_[0].parentNode.childNodes:_;default:return h?h(e):(E=a(e,o).querySelector(o)).childNodes;var E}}},4737(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(7642)),o=n(9753),i=/<(![a-zA-Z\s]+)>/;t.default=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];var t=e.match(i),n=t?t[1]:void 0;return(0,o.formatDOM)((0,r.default)(e),null,n)}},9753(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.formatDOM=t.formatAttributes=void 0;var r=n(5441),o=n(2056);function i(e){for(var t={},n=0,r=e.length;n0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=d;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.CDATA,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(d);t.CDATA=p;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Root,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(d);t.Document=h;var f=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?i.ElementType.Script:"style"===t?i.ElementType.Style:i.ElementType.Tag);var s=e.call(this,r)||this;return s.name=t,s.attribs=n,s.type=o,s}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}})},enumerable:!1,configurable:!0}),t}(d);function _(e){return(0,i.isTag)(e)}function E(e){return e.type===i.ElementType.CDATA}function g(e){return e.type===i.ElementType.Text}function m(e){return e.type===i.ElementType.Comment}function b(e){return e.type===i.ElementType.Directive}function T(e){return e.type===i.ElementType.Root}function v(e,t){var n;if(void 0===t&&(t=!1),g(e))n=new a(e.data);else if(m(e))n=new c(e.data);else if(_(e)){var r=t?S(e.children):[],i=new f(e.name,o({},e.attribs),r);r.forEach(function(e){return e.parent=i}),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=i}else if(E(e)){r=t?S(e.children):[];var s=new p(r);r.forEach(function(e){return e.parent=s}),n=s}else if(T(e)){r=t?S(e.children):[];var l=new h(r);r.forEach(function(e){return e.parent=l}),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),n=l}else{if(!b(e))throw new Error("Not implemented yet: ".concat(e.type));var d=new u(e.name,e.data);null!=e["x-name"]&&(d["x-name"]=e["x-name"],d["x-publicId"]=e["x-publicId"],d["x-systemId"]=e["x-systemId"]),n=d}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function S(e){for(var t=e.map(function(e){return v(e,!0)}),n=1;n1&&(g=d(g,{key:g.key||_})),r.push(c(g,E,_));continue}}if("text"!==E.type){var m=E,b={};l(m)?((0,i.setStyleProp)(m.attribs.style,m.attribs),b=m.attribs):m.attribs&&(b=(0,o.default)(m.attribs,m.name));var T=void 0;switch(E.type){case"script":case"style":E.children[0]&&(b.dangerouslySetInnerHTML={__html:E.children[0].data});break;case"tag":"textarea"===E.name&&E.children[0]?b.defaultValue=E.children[0].data:E.children&&E.children.length&&(T=e(E.children,n));break;default:continue}f>1&&(b.key=_),r.push(c(p(E.name,b,T),E,_))}else{var v=!E.data.trim().length;if(v&&E.parent&&!(0,i.canTextBeChildOfNode)(E.parent))continue;if((null==n?void 0:n.trim)&&v)continue;r.push(c(E.data,E,_))}}return 1===r.length?r[0]:r}},3316(e,t,n){var r=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToDOM=t.domToReact=t.attributesToProps=t.Text=t.ProcessingInstruction=t.Element=t.Comment=void 0;var o=r(n(4737));t.htmlToDOM=o.default;var i=r(n(9298));t.attributesToProps=i.default;var s=r(n(8094));t.domToReact=s.default;var l=n(3072);Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return l.Comment}}),Object.defineProperty(t,"Element",{enumerable:!0,get:function(){return l.Element}}),Object.defineProperty(t,"ProcessingInstruction",{enumerable:!0,get:function(){return l.ProcessingInstruction}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return l.Text}});var a={lowerCaseAttributeNames:!1};t.default=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return e?(0,s.default)((0,o.default)(e,(null==t?void 0:t.htmlparser2)||a),t):[]}},3912(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.returnFirstArg=t.canTextBeChildOfNode=t.ELEMENTS_WITH_NO_TEXT_CHILDREN=t.PRESERVE_CUSTOM_ATTRIBUTES=t.setStyleProp=t.isCustomComponent=void 0;var r=n(5852),o=function(e){return e&&e.__esModule?e:{default:e}}(n(3555)),i=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);t.isCustomComponent=function(e,t){return e.includes("-")?!i.has(e):Boolean(t&&"string"==typeof t.is)};var s={reactCompat:!0};t.setStyleProp=function(e,t){if("string"==typeof e)if(e.trim())try{t.style=(0,o.default)(e,s)}catch(e){t.style={}}else t.style={}},t.PRESERVE_CUSTOM_ATTRIBUTES=Number(r.version.split(".")[0])>=16,t.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]),t.canTextBeChildOfNode=function(e){return!t.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)},t.returnFirstArg=function(e){return e}},3072(e,t,n){var r=Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var o=n(4775),i=n(2158);!function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)}(n(2158),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?o.ElementType.Tag:void 0,r=new i.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===o.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new i.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment)this.lastNode.data+=e;else{var t=new i.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new i.Text(""),t=new i.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new i.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},2158(e,t,n){var r=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=d;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.CDATA,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(d);t.CDATA=p;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Root,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(d);t.Document=h;var f=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?i.ElementType.Script:"style"===t?i.ElementType.Style:i.ElementType.Tag);var s=e.call(this,r)||this;return s.name=t,s.attribs=n,s.type=o,s}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}})},enumerable:!1,configurable:!0}),t}(d);function _(e){return(0,i.isTag)(e)}function E(e){return e.type===i.ElementType.CDATA}function g(e){return e.type===i.ElementType.Text}function m(e){return e.type===i.ElementType.Comment}function b(e){return e.type===i.ElementType.Directive}function T(e){return e.type===i.ElementType.Root}function v(e,t){var n;if(void 0===t&&(t=!1),g(e))n=new a(e.data);else if(m(e))n=new c(e.data);else if(_(e)){var r=t?S(e.children):[],i=new f(e.name,o({},e.attribs),r);r.forEach(function(e){return e.parent=i}),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=i}else if(E(e)){r=t?S(e.children):[];var s=new p(r);r.forEach(function(e){return e.parent=s}),n=s}else if(T(e)){r=t?S(e.children):[];var l=new h(r);r.forEach(function(e){return e.parent=l}),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),n=l}else{if(!b(e))throw new Error("Not implemented yet: ".concat(e.type));var d=new u(e.name,e.data);null!=e["x-name"]&&(d["x-name"]=e["x-name"],d["x-publicId"]=e["x-publicId"],d["x-systemId"]=e["x-systemId"]),n=d}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function S(e){for(var t=e.map(function(e){return v(e,!0)}),n=1;n3;)n.pop()();if(n[1]>>1,1),t.i.removeChild(e)}}),(0,o.render)((0,o.createElement)(O,{context:t.context},e.__v),t.l)}function k(e,t){var n=(0,o.createElement)(N,{__v:e,i:t});return n.containerInfo=t,n}(y.prototype=new o.Component).__a=function(e){var t=this,n=v(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),C(t,e,r)):o()};n?n(i):i()}},y.prototype.render=function(e){this.u=null,this.o=new Map;var t=(0,o.toChildArray)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},y.prototype.componentDidUpdate=y.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){C(e,n,t)})};var P="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,R=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,I=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,A=/[A-Z0-9]/g,x="undefined"!=typeof document,w=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function L(e,t,n){return null==t.__k&&(t.textContent=""),(0,o.render)(e,t),"function"==typeof n&&n(),e?e.__c:null}function B(e,t,n){return(0,o.hydrate)(e,t),"function"==typeof n&&n(),e?e.__c:null}o.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(o.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var D=o.options.event;function M(){}function U(){return this.cancelBubble}function F(){return this.defaultPrevented}o.options.event=function(e){return D&&(e=D(e)),e.persist=M,e.isPropagationStopped=U,e.isDefaultPrevented=F,e.nativeEvent=e};var j,V={enumerable:!1,configurable:!0,get:function(){return this.class}},G=o.options.vnode;o.options.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var i in t){var s=t[i];if(!("value"===i&&"defaultValue"in t&&null==s||x&&"children"===i&&"noscript"===n||"class"===i||"className"===i)){var l=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===s?s="":"ondoubleclick"===l?i="ondblclick":"onchange"!==l||"input"!==n&&"textarea"!==n||w(t.type)?"onfocus"===l?i="onfocusin":"onblur"===l?i="onfocusout":I.test(i)?i=l:-1===n.indexOf("-")&&R.test(i)?i=i.replace(A,"-$&").toLowerCase():null===s&&(s=void 0):l=i="oninput","oninput"===l&&r[i=l]&&(i="oninputCapture"),r[i]=s}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=(0,o.toChildArray)(t.children).forEach(function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)})),"select"==n&&null!=r.defaultValue&&(r.value=(0,o.toChildArray)(t.children).forEach(function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value})),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",V)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=P,G&&G(e)};var H=o.options.__r;o.options.__r=function(e){H&&H(e),j=e.__c};var K=o.options.diffed;o.options.diffed=function(e){K&&K(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),j=null};var q={ReactCurrentDispatcher:{current:{readContext:function(e){return j.__n[e.__c].props.value}}}};function W(e){return o.createElement.bind(null,e)}function Y(e){return!!e&&e.$$typeof===P}function z(e){return Y(e)&&e.type===o.Fragment}function X(e){return Y(e)?o.cloneElement.apply(null,arguments):e}function Q(e){return!!e.__k&&((0,o.render)(null,e),!0)}function $(e){return e&&(e.base||1===e.nodeType&&e)||null}t.version="17.0.2",t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=q;var J=function(e,t){return e(t)},Z=function(e,t){return e(t)},ee=o.Fragment;function te(e){e()}function ne(e){return e}function re(){return[!1,te]}t.StrictMode=ee,t.flushSync=Z,t.unstable_batchedUpdates=J;var oe=i.useLayoutEffect,ie=Y;function se(e,t){var n=t(),r=(0,i.useState)({h:{__:n,v:t}}),o=r[0].h,s=r[1];return(0,i.useLayoutEffect)(function(){o.__=n,o.v=t,a(o.__,t())||s({h:o})},[e,n,t]),(0,i.useEffect)(function(){return a(o.__,o.v())||s({h:o}),e(function(){a(o.__,o.v())||s({h:o})})},[e]),n}t.isElement=ie,t.useInsertionEffect=oe;var le={useState:i.useState,useId:i.useId,useReducer:i.useReducer,useEffect:i.useEffect,useLayoutEffect:i.useLayoutEffect,useInsertionEffect:oe,useTransition:re,useDeferredValue:ne,useSyncExternalStore:se,startTransition:te,useRef:i.useRef,useImperativeHandle:i.useImperativeHandle,useMemo:i.useMemo,useCallback:i.useCallback,useContext:i.useContext,useDebugValue:i.useDebugValue,version:"17.0.2",Children:_,render:L,hydrate:B,unmountComponentAtNode:Q,createPortal:k,createElement:o.createElement,createContext:o.createContext,createFactory:W,cloneElement:X,createRef:o.createRef,Fragment:o.Fragment,isValidElement:Y,isElement:ie,isFragment:z,findDOMNode:$,Component:o.Component,PureComponent:c,memo:u,forwardRef:h,flushSync:Z,unstable_batchedUpdates:J,StrictMode:ee,Suspense:T,SuspenseList:y,lazy:S,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:q};t.default=le},5212(e,t,n){t.__esModule=!0,t.useCallback=function(e,t){return a=8,T(function(){return e},t)},t.useContext=function(e){var t=o.context[e.__c],n=E(r++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(o)),t.props.value):e.__},t.useDebugValue=function(e,t){l.options.useDebugValue&&l.options.useDebugValue(t?t(e):e)},t.useEffect=function(e,t){var n=E(r++,3);!l.options.__s&&N(n.__H,t)&&(n.__=e,n.i=t,o.__H.__h.push(n))},t.useErrorBoundary=function(e){var t=E(r++,10),n=g();return t.__=e,o.componentDidCatch||(o.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]},t.useId=function(){var e=E(r++,11);if(!e.__){for(var t=o.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__},t.useImperativeHandle=function(e,t,n){a=6,b(function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},null==n?n:n.concat(e))},t.useLayoutEffect=b,t.useMemo=T,t.useReducer=m,t.useRef=function(e){return a=5,T(function(){return{current:e}},[])},t.useState=g;var r,o,i,s,l=n(8935),a=0,c=[],u=[],d=l.options.__b,p=l.options.__r,h=l.options.diffed,f=l.options.__c,_=l.options.unmount;function E(e,t){l.options.__h&&l.options.__h(o,e,a||t),a=0;var n=o.__H||(o.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:u}),n.__[e]}function g(e){return a=1,m(k,e)}function m(e,t,n){var i=E(r++,2);if(i.t=e,!i.__c&&(i.__=[n?n(t):k(void 0,t),function(e){var t=i.__N?i.__N[0]:i.__[0],n=i.t(t,e);t!==n&&(i.__N=[n,i.__[1]],i.__c.setState({}))}],i.__c=o,!o.u)){var s=function(e,t,n){if(!i.__c.__H)return!0;var r=i.__c.__H.__.filter(function(e){return e.__c});if(r.every(function(e){return!e.__N}))return!l||l.call(this,e,t,n);var o=!1;return r.forEach(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(o=!0)}}),!(!o&&i.__c.props===e)&&(!l||l.call(this,e,t,n))};o.u=!0;var l=o.shouldComponentUpdate,a=o.componentWillUpdate;o.componentWillUpdate=function(e,t,n){if(this.__e){var r=l;l=void 0,s(e,t,n),l=r}a&&a.call(this,e,t,n)},o.shouldComponentUpdate=s}return i.__N||i.__}function b(e,t){var n=E(r++,4);!l.options.__s&&N(n.__H,t)&&(n.__=e,n.i=t,o.__h.push(n))}function T(e,t){var n=E(r++,7);return N(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function v(){for(var e;e=c.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(C),e.__H.__h.forEach(O),e.__H.__h=[]}catch(t){e.__H.__h=[],l.options.__e(t,e.__v)}}l.options.__b=function(e){o=null,d&&d(e)},l.options.__r=function(e){p&&p(e),r=0;var t=(o=e.__c).__H;t&&(i===o?(t.__h=[],o.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.__V=u,e.__N=e.i=void 0})):(t.__h.forEach(C),t.__h.forEach(O),t.__h=[],r=0)),i=o},l.options.diffed=function(e){h&&h(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==c.push(t)&&s===l.options.requestAnimationFrame||((s=l.options.requestAnimationFrame)||y)(v)),t.__H.__.forEach(function(e){e.i&&(e.__H=e.i),e.__V!==u&&(e.__=e.__V),e.i=void 0,e.__V=u})),i=o=null},l.options.__c=function(e,t){t.some(function(e){try{e.__h.forEach(C),e.__h=e.__h.filter(function(e){return!e.__||O(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],l.options.__e(n,e.__v)}}),f&&f(e,t)},l.options.unmount=function(e){_&&_(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{C(e)}catch(e){t=e}}),n.__H=void 0,t&&l.options.__e(t,n.__v))};var S="function"==typeof requestAnimationFrame;function y(e){var t,n=function(){clearTimeout(r),S&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);S&&(t=requestAnimationFrame(n))}function C(e){var t=o,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),o=t}function O(e){var t=o;e.__c=e.__(),o=t}function N(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function k(e,t){return"function"==typeof t?t(e):t}},2223(e,t,n){t.__esModule=!0,t.Fragment=void 0,t.jsxs=t.jsxDEV=t.jsx=function(e,t,n,i,s,l){var a,c,u={};for(c in t)"ref"==c?a=t[c]:u[c]=t[c];var d={type:e,props:u,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--o,__source:s,__self:l};if("function"==typeof e&&(a=e.defaultProps))for(c in a)void 0===u[c]&&(u[c]=a[c]);return r.options.vnode&&r.options.vnode(d),d};var r=n(8935);t.Fragment=r.Fragment;var o=0},1928(e,t,n){function r(e,t,n,r,o,i,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var o={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(function(e){o[e]=new r(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];o[t]=new r(t,1,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){o[e]=new r(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){o[e]=new r(e,2,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){o[e]=new r(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){o[e]=new r(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){o[e]=new r(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){o[e]=new r(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){o[e]=new r(e,5,!1,e.toLowerCase(),null,!1,!1)});var i=/[\-\:]([a-z])/g,s=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(i,s);o[t]=new r(t,1,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(i,s);o[t]=new r(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(i,s);o[t]=new r(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){o[e]=new r(e,1,!1,e.toLowerCase(),null,!1,!1)}),o.xlinkHref=new r("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){o[e]=new r(e,1,!1,e.toLowerCase(),null,!0,!0)});var l=n(805),a=l.CAMELCASE,c=l.SAME,u=l.possibleStandardNames,d=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),p=Object.keys(u).reduce(function(e,t){var n=u[t];return n===c?e[t]=t:n===a?e[t.toLowerCase()]=t:e[t]=n,e},{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return o.hasOwnProperty(e)?o[e]:null},t.isCustomAttribute=d,t.possibleStandardNames=p},805(e,t){t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},3555(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(9219)),o=n(5171);t.default=function(e,t){var n={};return e&&"string"==typeof e?((0,r.default)(e,function(e,r){e&&r&&(n[(0,o.camelCase)(e,t)]=r)}),n):n}},5171(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9-]+$/,r=/-([a-z])/g,o=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,l=function(e,t){return t.toUpperCase()},a=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||o.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(s,a):e.replace(i,a)).replace(r,l))}},9219(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(9042));t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var o=(0,r.default)(e),i="function"==typeof t;return o.forEach(function(e){if("declaration"===e.type){var r=e.property,o=e.value;i?t(r,o,e):o&&((n=n||{})[r]=o)}}),n}},968(e,t){t.__esModule=!0,t.tabbable=t.isTabbable=t.isFocusable=t.getTabIndex=t.focusable=void 0;var n=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],r=n.join(","),o="undefined"==typeof Element,i=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,s=!o&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},l=function e(t,n){var r;void 0===n&&(n=!0);var o=null==t||null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");return""===o||"true"===o||n&&t&&e(t.parentNode)},a=function(e,t,n){if(l(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(r));return t&&i.call(e,r)&&o.unshift(e),o.filter(n)},c=function e(t,n,o){for(var s=[],a=Array.from(t);a.length;){var c=a.shift();if(!l(c,!1))if("SLOT"===c.tagName){var u=c.assignedElements(),d=e(u.length?u:c.children,!0,o);o.flatten?s.push.apply(s,d):s.push({scopeParent:c,candidates:d})}else{i.call(c,r)&&o.filter(c)&&(n||!t.includes(c))&&s.push(c);var p=c.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(c),h=!l(p,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(c));if(p&&h){var f=e(!0===p?c.children:p.children,!0,o);o.flatten?s.push.apply(s,f):s.push({scopeParent:c,candidates:f})}else a.unshift.apply(a,c.children)}}return s},u=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},d=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!u(e)?0:e.tabIndex};t.getTabIndex=d;var p=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},h=function(e){return"INPUT"===e.tagName},f=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},_=function(e,t){return!(t.disabled||l(t)||function(e){return h(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=i.call(e,"details>summary:first-of-type")?e.parentElement:e;if(i.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return f(e)}else{if("function"==typeof r){for(var l=e;e;){var a=e.parentElement,c=s(e);if(a&&!a.shadowRoot&&!0===r(a))return f(e);e=e.assignedSlot?e.assignedSlot:a||c===e.ownerDocument?a:c.host}e=l}if(function(e){var t,n,r,o,i=e&&s(e),l=null===(t=i)||void 0===t?void 0:t.host,a=!1;if(i&&i!==e)for(a=!!(null!==(n=l)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(l)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!a&&l;){var c,u,d;a=!(null===(u=l=null===(c=i=s(l))||void 0===c?void 0:c.host)||void 0===u||null===(d=u.ownerDocument)||void 0===d||!d.contains(l))}return a}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some(function(e){return"SUMMARY"===e.tagName})}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n=0)},m=function e(t){var n=[],r=[];return t.forEach(function(t,o){var i=!!t.scopeParent,s=i?t.scopeParent:t,l=function(e,t){var n=d(e);return n<0&&t&&!u(e)?0:n}(s,i),a=i?e(t.candidates):s;0===l?i?n.push.apply(n,a):n.push(s):r.push({documentOrder:o,tabIndex:l,item:t,isScope:i,content:a})}),r.sort(p).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(n)};t.tabbable=function(e,t){var n;return n=(t=t||{}).getShadowRoot?c([e],t.includeContainer,{filter:E.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:g}):a(e,t.includeContainer,E.bind(null,t)),m(n)},t.focusable=function(e,t){return(t=t||{}).getShadowRoot?c([e],t.includeContainer,{filter:_.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):a(e,t.includeContainer,_.bind(null,t))},t.isTabbable=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==i.call(e,r)&&E(t,e)};var b=n.concat("iframe").join(",");t.isFocusable=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==i.call(e,b)&&_(t,e)}},5312(e,t){function n(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 r(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){var t=function(e){var t=e.theme,n=e.prefix,r={nextPart:new Map,validators:[]},o=function(e,t){return t?e.map(function(e){return[e[0],e[1].map(function(e){return"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(function(e){var n=e[0],r=e[1];return[t+n,r]})):e})]}):e}(Object.entries(e.classGroups),n);return o.forEach(function(e){var n=e[0];l(e[1],r,n,t)}),r}(e),n=e.conflictingClassGroups,r=e.conflictingClassGroupModifiers;return{getClassGroupId:function(e){var n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),i(n,t)||function(e){if(s.test(e)){var t=s.exec(e)[1],n=null==t?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}(e)},getConflictingClassGroupIds:function(e,t){var o=n[e]||[];return t&&r[e]?[].concat(o,r[e]):o}}}function i(e,t){var n;if(0===e.length)return t.classGroupId;var r=e[0],o=t.nextPart.get(r),s=o?i(e.slice(1),o):void 0;if(s)return s;if(0!==t.validators.length){var l=e.join("-");return null==(n=t.validators.find(function(e){return(0,e.validator)(l)}))?void 0:n.classGroupId}}Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});var s=/^\[(.+)\]$/;function l(e,t,n,r){e.forEach(function(e){if("string"!=typeof e){if("function"==typeof e)return e.isThemeGetter?void l(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(function(e){var o=e[0];l(e[1],a(t,o),n,r)})}else(""===e?t:a(t,e)).classGroupId=n})}function a(e,t){var n=e;return t.split("-").forEach(function(e){n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n}function c(e){if(e<1)return{get:function(){},set:function(){}};var t=0,n=new Map,r=new Map;function o(o,i){n.set(o,i),++t>e&&(t=0,r=n,n=new Map)}return{get:function(e){var t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},set:function(e,t){n.has(e)?n.set(e,t):o(e,t)}}}function u(e){var t=e.separator,n=1===t.length,r=t[0],o=t.length;return function(e){for(var i,s=[],l=0,a=0,c=0;ca?i-a:void 0}}}function d(e){return function(e){for(var t=1;t1?t-1:0),r=1;r1?t-1:0),r=1;r0,U=!!Object.keys((null==b||null==(L=b.experiences)||null==(B=L.content)?void 0:B.modal)||{}).length,!D&&!M&&!U)return _.info("not showing the fab button as there is no modal experience config"),n();T=D?function(){return window.ketch("showExperience",{displayHint:r.ConsentExperienceType.Modal})}:function(){return window.ketch("showConsent",{displayHint:r.ConsentExperienceType.Modal})}}return _.info("initially rendering the fab button",b.accessibilityButton),(0,u.showFabButton)(b.accessibilityButton,T),Promise.resolve(e.on("hideExperience",function(){_.info("re-rendering the fab button in hideExperience listener"),b.accessibilityButton?(0,u.showFabButton)(b.accessibilityButton,T):_.info("not showing the fab button as there is no accessibilityButton config")})).then(function(e){try{return n()}catch(e){return s(e)}},s)}catch(e){return s(e)}},s)}}}catch(H){return s(H)}}.bind(this),s)})},t.log=void 0;var r=n(927),o=n(4971),i=n(3502),s=n(4267);n(6171);var l,a,c=n(2861),u=n(5330),d=n(2524),p=n(4990),h=n(5889),f=n(5742);t.host=l,t.config=a;var _=(0,s.getLogger)("lanyard");t.log=_},4990(e,t,n){t.__esModule=!0,t.renderExperience=void 0;var r=n(927),o=n(7184),i=n(4971),s=n(3502),l=n(5742);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 c(e){for(var t=1;t0?(j.stacks=null==j||null==($=j.stacks)?void 0:$.filter(function(e){var t,r,o;return e.id&&(null==(t=n)||null==(r=t.purposes)||null==(o=r.stackIDs)?void 0:o.includes(e.id))}),ee=(null==(J=j.stacks)?void 0:J.flatMap(function(e){return e.purposeCodes}))||[],j.purposes=null==j||null==(Z=j.purposes)?void 0:Z.filter(function(e){var t,r,o;return e.code&&ee.includes(e.code)||e.id&&(null==(t=n)||null==(r=t.purposes)||null==(o=r.purposeIDs)?void 0:o.includes(e.id))})):j.purposes=null==j||null==(te=j.purposes)?void 0:te.filter(function(e){var t,r,o;return e.id&&(null==(t=n)||null==(r=t.purposes)||null==(o=r.purposeIDs)?void 0:o.includes(e.id))})),0===((null==j||null==(A=j.purposes)?void 0:A.length)||0)?(l.log.info("No Purposes"),m(new Error("Cannot show a consent experience without purposes to consent to"))):(l.log.debug("Found Purposes:"),l.log.debug(j.purposes),Promise.resolve((0,d.getPurposeTCFInfo)(j)).then(function(d){try{switch(ne=d,(0,a.insertLanyardRoot)(),re=o.ExperienceViewMode.MODAL,null==(x=n)||null==(w=x.content)?void 0:w.display){case"banner":re=o.ExperienceViewMode.BANNER;break;case"modal":re=o.ExperienceViewMode.MODAL}if((null==t?void 0:t.displayHint)===i.ConsentExperienceType.Modal||(null==t?void 0:t.displayHint)===i.DisplayExperienceType.Modal?re=o.ExperienceViewMode.MODAL:(null==t?void 0:t.displayHint)!==i.ConsentExperienceType.Banner&&(null==t?void 0:t.displayHint)!==i.DisplayExperienceType.Banner||(re=o.ExperienceViewMode.BANNER),h=h||{},null!=(L=l.config.options)&&L.dismissOverride&&void 0===h.dismissAfterSeconds)for(oe=l.config.options.dismissOverride.split("&"),ie=E(oe);!(se=ie()).done;)(ae=se.value).includes("=")?(ce=ae.split("="),ue=ce[0],de=ce[1],ue===(null==(le=l.config.jurisdiction)?void 0:le.code)&&de&&(pe=Number(de),!isNaN(pe)&&pe>0?h.dismissAfterSeconds=pe.toString():l.log.warn("Invalid duration value in dismissOverride: "+de))):l.log.warn("Malformed dismissOverride pair: "+ae);if(null!=(B=l.config.options)&&B.setConsentOnDismiss&&void 0===h.setConsentOnDismiss)for(he=l.config.options.setConsentOnDismiss.split("&"),fe=E(he);!(_e=fe()).done;)(ge=_e.value)&&ge===(null==(Ee=l.config.jurisdiction)?void 0:Ee.code)&&(h.setConsentOnDismiss=i.BannerAutoDismissOverride.TRUE);return me=j.theme,null!=(D=h)&&D.themeID&&(null==(M=h)||null==(U=M.themeID)?void 0:U.length)>0&&(me=(null==(be=j.theme)||null==(Te=be.ids)?void 0:Te[h.themeID])||j.theme),ve=(null==(F=j.purposes)?void 0:F.map(function(e){return e.code}))||[],Se=Object.entries((null==e?void 0:e.purposes)||{}).reduce(function(e,t){var n=t[0],r=t[1];return ve.includes(n)&&(e[n]=r),e},{}),ye=f(f({},e),{},{purposes:Se}),Ce={config:j,consents:ye,experience:re,experiences:n,showConsentOptions:t,purposeTCFInfo:ne,options:h,theme:me},(0,u.logObjectDetails)({fullConfig:j,payload:Ce,consents:e,showConsentOptions:t,purposeTCFInfo:ne,options:h,theme:me},"showConsentExperience.tsx","cornsilk"),(0,r.render)((0,p.jsx)(c.App,f(f({},Ce),{},{host:l.host,onClose:function(){return(0,r.render)(null,(0,s.getRoot)())}})),(0,s.getRoot)()),g()}catch(e){return m(e)}},m))):(l.log.info("No experience"),g()))})};var r=n(8935),o=n(4998),i=n(927),s=n(1306),l=n(7184),a=n(6110),c=n(5419),u=n(7178),d=n(7473),p=n(2223);function h(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 f(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&(G=(null==(H=U.theme)||null==(K=H.ids)?void 0:K[n.themeID])||U.theme),_&&""!=_&&(F=null==(q=U.experiences)||null==(W=q.ids)?void 0:W[_]),"modal"===(null==(v=F)||null==(S=v.content)?void 0:S.display)&&!j)return(0,h.showConsentExperience)(e,{displayHint:o.ConsentExperienceType.Modal},F,n,_),g();if(Y={},z=Boolean(null==(y=U.subscription)||null==(C=y.topics)?void 0:C.length),l.log.info("hasSubscriptionConfiguration",z),z){var ge=function(){try{return be.call(this)}catch(e){return m(e)}}.bind(this),me=function(e){try{throw l.log.error("Subscriptions fetch failed"),new Error("Subscriptions fetch failed")}catch(e){return m(e)}};try{return Promise.resolve(l.host.getSubscriptions()).then(function(e){try{return Y=e,l.log.info("getSubscriptions",Y),ge()}catch(e){return me()}},me)}catch(e){me()}}function be(){if(X=[],Boolean(null==U||null==(O=U.profile)||null==(N=O.attributes)?void 0:N.length)){var n=function(){try{return _.call(this)}catch(e){return m(e)}}.bind(this),h=function(e){try{return l.log.error("Profile preferences fetch failed"),n()}catch(e){return m(e)}};try{return Promise.resolve(l.host.getProfilePreferences()).then(function(e){try{return X=e,n()}catch(e){return h()}},h)}catch(e){h()}}function _(){return null!=(k=F)&&null!=(P=k.content)&&P.preference&&null!=(R=F)&&null!=(I=R.layout)&&I.preference?Promise.resolve((0,d.getPurposeTCFInfo)(U)).then(function(n){try{return Q=n,$=(0,p.getPreferenceOptionsWithEntitlements)(F,t),l.log.trace("showPreferenceOptions before entitlements",t),l.log.trace("showPreferenceOptions after entitlements",$),(null==(A=F)||null==(x=A.purposes)?void 0:x.mode)!==o.ExperiencePurposeMode.CUSTOM&&(null==(w=F)||null==(L=w.purposes)?void 0:L.mode)!==o.ExperiencePurposeMode.INHERIT||(null!=(J=F)&&null!=(Z=J.purposes)&&null!=(ee=Z.stackIDs)&&ee.length&&(null==(te=F)||null==(ne=te.purposes)||null==(re=ne.stackIDs)?void 0:re.length)>0?(U.stacks=null==U||null==(oe=U.stacks)?void 0:oe.filter(function(e){var t,n,r;return e.id&&(null==(t=F)||null==(n=t.purposes)||null==(r=n.stackIDs)?void 0:r.includes(e.id))}),le=(null==(ie=U.stacks)?void 0:ie.flatMap(function(e){return e.purposeCodes}))||[],U.purposes=null==U||null==(se=U.purposes)?void 0:se.filter(function(e){var t,n,r;return e.code&&le.includes(e.code)||e.id&&(null==(t=F)||null==(n=t.purposes)||null==(r=n.purposeIDs)?void 0:r.includes(e.id))})):U.purposes=null==U||null==(ae=U.purposes)?void 0:ae.filter(function(e){var t,n,r;return e.id&&(null==(t=F)||null==(n=t.purposes)||null==(r=n.purposeIDs)?void 0:r.includes(e.id))})),ce=(null==(B=U.purposes)?void 0:B.map(function(e){return e.code}))||[],ue=Object.entries((null==e?void 0:e.purposes)||{}).reduce(function(e,t){var n=t[0],r=t[1];return ce.includes(n)&&(e[n]=r),e},{}),de=E(E({},e),{},{purposes:ue}),pe=(null==(D=U.purposes)?void 0:D.some(function(e){return!0===e.requiresDisplay}))||!1,he=((null==(M=U.stacks)?void 0:M.length)||0)>0,fe=pe||he,_e=E(E({},$),{},{showConsentsTab:!1!==(null==$?void 0:$.showConsentsTab)&&fe}),(0,a.insertLanyardRoot)(),Ee={config:U,consents:de,experiences:F,defaultPreferenceViewTab:null==t?void 0:t.tab,experience:s.ExperienceViewMode.PREFERENCE,showPreferenceOptions:_e,subscriptions:Y,profilePreferences:X,purposeTCFInfo:Q,theme:G},(0,u.logObjectDetails)({fullConfig:U,payload:Ee,consents:e,showPreferenceOptions:t},"showPreferenceExperience.tsx"),(0,r.render)((0,f.jsx)(c.App,E(E({},Ee),{},{host:l.host,onClose:function(){return(0,r.render)(null,(0,i.getRoot)())}})),(0,i.getRoot)()),g()}catch(e){return m(e)}},m):(console.error("No experience"),g())}return _.call(this)}return be.call(this)})};var r=n(8935),o=n(927),i=n(1306),s=n(4998),l=n(7184),a=n(6110),c=n(5419),u=n(7178),d=n(7473),p=n(9921),h=n(4971),f=n(2223);function _(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 E(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0?"TIZEN":void 0;var i=document.getElementById(e);if(i)if(t===o.Replace)i.replaceWith(n);else if(t===o.Append){var s;null==(s=i.parentNode)||s.insertBefore(n,i.nextSibling)}}};var r=n(8241),o=function(e){return e.Replace="replace",e.Append="append",e}({});t.ProgressiveRootMode=o},6110(e,t,n){t.__esModule=!0,t.insertLanyardRoot=function(){var e=document.getElementById(r.LANYARD_ROOT);if(!e){(e=document.createElement("div")).id=r.LANYARD_ROOT,e.dataset.screen=navigator.userAgent.toUpperCase().search("TIZEN")>=0?"TIZEN":void 0;var t=window.document.body;t.insertBefore(e,t.firstChild)}};var r=n(8241)},5278(e,t){t.__esModule=!0,t.isBoolean=void 0,t.isBoolean=function(e){return"boolean"==typeof e}},2210(e,t,n){t.__esModule=!0,t.isSelectedTabHidden=void 0;var r=n(1931);t.isSelectedTabHidden=function(e,t){return e===r.PreferenceTab.Purposes?!1===t.showConsentsTab:e===r.PreferenceTab.Welcome?!1===t.showOverviewTab:e===r.PreferenceTab.Requests?!1===t.showRightsTab:e===r.PreferenceTab.Subscriptions&&!1===t.showSubscriptionsTab}},6417(e,t){t.__esModule=!0,t.isString=void 0,t.isString=function(e){return"string"==typeof e}},7821(e,t){t.__esModule=!0,t.logObjectDetails=function(e,t,n,r){var o="localhost"===window.location.hostname,i="debug"===new URLSearchParams(window.location.search).get("ketch_log");(o||i)&&(r||void 0===r||i)&&(console.group("%c"+t,"color: "+(n||function(e){for(var t=0,n=0;n>8*o&255).toString(16)).substr(-2);return r}(t||""))+"; font-size: 13px; font-weight: bold;"),Object.entries(e).forEach(function(e){var t=e[0],n=e[1];console.info("\n",t+" = ",n,"\n")}),console.groupEnd())}},1636(e,t,n){t.__esModule=!0,t.mapKetchPreferenceTabToActivePreferenceTab=void 0;var r=n(927),o=n(1931);t.mapKetchPreferenceTabToActivePreferenceTab=function(e){switch(e){case r.Tab.Overview:return o.PreferenceTab.Welcome;case r.Tab.Rights:return o.PreferenceTab.Requests;case r.Tab.Consents:return o.PreferenceTab.Purposes;case r.Tab.Subscriptions:return o.PreferenceTab.Subscriptions;case r.Tab.Profile:return o.PreferenceTab.ProfilePreferences;default:return o.PreferenceTab.Welcome}}},6581(e,t,n){t.__esModule=!0,t.overridePreferencesTab=void 0;var r=n(1636),o=n(2210),i=n(1931);t.overridePreferencesTab=function(e,t){var n=e;return t.tab&&(n=(0,r.mapKetchPreferenceTabToActivePreferenceTab)(t.tab)),(0,o.isSelectedTabHidden)(n,t)?!1!==t.showOverviewTab?i.PreferenceTab.Welcome:!1!==t.showConsentsTab?i.PreferenceTab.Purposes:!1!==t.showSubscriptionsTab?i.PreferenceTab.Subscriptions:!1!==t.showRightsTab?i.PreferenceTab.Requests:i.PreferenceTab.Welcome:n}},5419(e,t,n){t.__esModule=!0,t.App=void 0;var r,o=n(5212),i=n(4998),s=n(2973),l=n(5759),a=n(1393),c=(r=n(8274))&&r.__esModule?r:{default:r},u=n(9945),d=n(4011),p=n(1931),h=n(8110),f=n(8325),_=n(9152),E=n(625),g=n(8997),m=n(4636),b=n(2417),T=n(6357),v=n(7473),S=n(927),y=n(7178),C=n(965),O=n(6581),N=n(2489),k=n(5953),P=n(9179),R=n(2223);function I(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 A(e){for(var t=1;t0&&(ge=A(A({},ge),{},{purposes:null==(me=(0,b.ensureArray)(null==(be=ge)?void 0:be.purposes))?void 0:me.filter(function(e){var t;return null==oe||null==(t=oe.purposes)?void 0:t.includes(e.code)})}));var Ae=(0,d.useStore)({initialState:{count:0,experiences:Z,viewMode:ee,activePreferenceTab:Pe,activePreferenceSubTab:Pe?p.PreferenceSubTab.RequestHome:null,activeRightRequestCode:Pe===p.PreferenceTab.ProfilePreferences?"profile_preferences_form":null,purposesViewMode:s.PurposeViewMode.PURPOSES,purposeConsents:ve,currentPurposeCode:null,topics:Oe,controls:Ne||{},config:ge,progressiveExperience:de||null,consentGateExperience:pe||null,vendorConsents:Se,preferenceOptions:re||{},consentGateOptions:ie||null}}),xe=(0,o.useCallback)(function(e){void 0===e&&(e=!0);var t=(0,N.getFabButtonRoot)();t&&(t.style.display=e?"block":"none")},[]),we=(0,h.useCustomCssVariablesAlt)(fe||J.theme),Le=we.themeMap,Be=we.isMounted,De="true"===new URLSearchParams(window.location.search).get("is_preview");(0,o.useEffect)(function(){if(De){var e=function(e){"showPreferences"===e.data.type&&Ae.dispatch((0,E.setViewModeAction)(i.ExperienceViewMode.PREFERENCE)),"showBanner"===e.data.type&&Ae.dispatch((0,E.setViewModeAction)(i.ExperienceViewMode.BANNER)),"showModal"===e.data.type&&Ae.dispatch((0,E.setViewModeAction)(i.ExperienceViewMode.MODAL)),"showConsentGate"===e.data.type&&Ae.dispatch((0,E.setViewModeAction)(i.ExperienceViewMode.CONSENT_GATE))};return window.addEventListener("message",e),function(){window.removeEventListener("message",e)}}},[Ae]),(0,o.useEffect)(function(){ee===i.ExperienceViewMode.PREFERENCE&&(Ae.dispatch((0,E.setViewModeAction)(ee)),Ae.dispatch((0,E.updatePreferenceLocationAction)({activePreferenceTab:Pe||p.PreferenceTab.Welcome,activePreferenceSubTab:Pe?p.PreferenceSubTab.RequestHome:null,activeRightRequestCode:Pe===p.PreferenceTab.ProfilePreferences?"profile_preferences_form":null})))},[ee]),(0,o.useEffect)(function(){ee===i.ExperienceViewMode.MODAL&&Ae.dispatch((0,E.setViewModeAction)(ee))},[ee]),(0,o.useEffect)(function(){xe(!Ae.state.viewMode)},[Ae.state.viewMode,xe]),(0,o.useEffect)(function(){var e,t,n,r,o,i,s=(0,T.getInitialSubscriptionTopicsState)({topics:null==J||null==(e=J.subscription)?void 0:e.topics,topicsConfig:null==le?void 0:le.topics,subscriptionItemsConfig:null==Z||null==(t=Z.layout)||null==(n=t.preference)||null==(r=n.tabs)||null==(o=r.subscriptions)||null==(i=o.list)?void 0:i.items})||{};Ae.dispatch((0,E.updateSubscriptionTopicsAction)(s))},[le,null==Z||null==(F=Z.layout)||null==(j=F.preference)||null==(V=j.tabs)||null==(G=V.subscriptions)||null==(H=G.list)?void 0:H.items,null==J||null==(K=J.subscription)?void 0:K.topics]);var Me={config:ge,consents:te,experiences:Z,store:Ae,themeMap:Le,showPreferenceOptions:re||Ae.state.preferenceOptions,subscriptions:le,subscriptionConfiguration:ae,profilePreferences:ce,defaultPreferenceViewTab:se,onCloseExperience:function(e,t){return ne(),xe(!0),$.experienceClosed(null!=e?e:S.ExperienceClosedReason.CLOSE,t,ye.current)},onResetExperience:function(){return xe(!0),ne()},purposeTCFInfo:ue,isPreviewMode:De,displayableRights:(0,C.filterRights)(J,Z),progressiveExperience:de,consentGateExperience:pe,consentSource:ye,subscriptionSource:Ce,options:he};return(0,y.logObjectDetails)({appStateProviderPayload:Me,showPreferenceOptions:re,mutableConfig:ge},"App.tsx","yellow"),(0,g.useFireExperienceEvents)({experience:ee,store:Ae,host:$}),(0,y.logObjectDetails)({error:Ee,isThemeMapMounted:Be},"App.tsx"),!Ee&&J&&Be&&(de||pe||Z&&Z.content&&Z.layout)?(0,R.jsx)(u.AppStateProviderV2,A(A({},Me),{},{host:$,handleInvokeRights:$.invokeRight.bind($),children:(0,R.jsxs)("div",{class:c.default.root,children:[Ae.state.viewMode===i.ExperienceViewMode.BANNER&&(null==(q=Z.content)?void 0:q.banner)&&(null==(W=Z.layout)?void 0:W.banner)&&(0,R.jsx)(l.BannerView,{}),Ae.state.viewMode===i.ExperienceViewMode.MODAL&&(null==(Y=Z.content)?void 0:Y.modal)&&(null==(z=Z.layout)?void 0:z.modal)&&(0,R.jsx)(f.ModalView,{}),Ae.state.viewMode===i.ExperienceViewMode.PREFERENCE&&(null==(X=Z.content)?void 0:X.preference)&&(null==(Q=Z.layout)?void 0:Q.preference)&&(0,R.jsx)(a.PreferenceView,{}),Ae.state.viewMode===i.ExperienceViewMode.PROGRESSIVE&&(0,R.jsx)(k.ProgressiveView,{}),Ae.state.viewMode===i.ExperienceViewMode.CONSENT_GATE&&(0,R.jsx)(P.ConsentGateView,{})]})})):null}},7761(e,t,n){t.__esModule=!0,t.Button=void 0;var r=n(5852),o=n(8148),i=n(7178),s=n(2223),l=["variant","size","className","children","startIcon","iconClassName","label","shouldApplyDisabledStyles"];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 c(e){for(var t=1;t4e6){var l;s[o].errorMessage=null!=(l=null==q?void 0:q.cloudinary_supported_file_size)?l:"Maximum file size: 4 MB"}else s[o].errorMessage=null;B(s)}},onClick:function(e){e.preventDefault(),e.stopPropagation(),K.current&&K.current.click()},onKeyDown:function(e){"Enter"===e.key&&(e.preventDefault(),e.stopPropagation(),K.current&&K.current.click())},children:null!=(S=null==q?void 0:q.choose_file)?S:"Choose File"}),(0,a.jsx)("input",d({tabIndex:-1,ref:K,type:"file",id:Q,accept:"image/jpeg,.pdf","data-role":"form-input",name:W,className:"ketch-sr-only",disabled:w,onChange:function(){var e=K.current;if(e){var t,n,r=e.name.trim(),o=(null==(t=e.files)||null==(n=t[0])?void 0:n.size)||0,i=d({},L);if(i[r]=d(d({},i[r]),{},{touched:!0}),X&&!o)i[r].errorMessage=H;else if(o&&o>4e6){var s;i[r].errorMessage=null!=(s=null==q?void 0:q.cloudinary_supported_file_size)?s:"Maximum file size: 4 MB"}else i[r].errorMessage=null;B(i),F(o?e.files:null)}}},D)),(0,a.jsx)("div",{children:U?null==U||null==(y=U[0])?void 0:y.name:null!=(C=null==q?void 0:q.no_file_chosen)?C:"No file chosen"})]}),(0,a.jsx)(i.Text,{className:(0,r.cn)("ketch-mt-1",R),variant:i.TextVariants.S_BOLD,children:(null!=(O=null==q?void 0:q.cloudinary_supported_file_types)?O:"Supported file types: JPG and PDF")+". "+(null!=(N=null==q?void 0:q.cloudinary_supported_file_size)?N:"Maximum file size: 4 MB")+"."}),z&&!($&&J)&&(0,a.jsx)(i.Text,{className:(0,r.cn)("ketch-mt-1",R),variant:i.TextVariants.S_BOLD,children:z}),J&&$&&(0,a.jsx)(i.Text,{className:(0,r.cn)(h,x),variant:i.TextVariants.S_BOLD,children:$})]})]}):null}},8828(e,t,n){t.__esModule=!0,t.InterpolatedText=void 0;var r=n(5212),o=n(9945),i=n(4998),s=n(625),l=h(n(3316)),a=n(7178),c=n(7184),u=h(n(3764)),d=n(2973),p=n(2223);function h(e){return e&&e.__esModule?e:{default:e}}var f="ketch-text-inherit ketch-m-0 ketch-text-left ketch-text-ketch-m ketch-tracking-[-0.13px]";t.InterpolatedText=function(e){var t,n,h=e.id,_=e.htmlString,E=e.linkClassName,g=e.textClassName,m=e.tabIndex,b=e.forwardRef,T=(0,r.useContext)(o.AppStateContextV2),v=T.config,S=T.store,y=(0,r.useMemo)(function(){var e,t;return{privacyPolicy:null==v||null==(e=v.privacyPolicy)?void 0:e.url,termsOfService:null==v||null==(t=v.termsOfService)?void 0:t.url}},[null==v||null==(t=v.privacyPolicy)?void 0:t.url,null==v||null==(n=v.termsOfService)?void 0:n.url]),C=(0,r.useMemo)(function(){return{a:(0,a.cn)(f,"ketch-cursor-pointer hover:ketch-text-inherit ketch-no-underline focus-visible:ketch-outline focus-visible:ketch-outline-2 focus-visible:ketch-outline-default-outline focus-visible:ketch-outline-offset-0",g,E),b:(0,a.cn)(f,"ketch-font-semibold",g),strong:(0,a.cn)(f,"ketch-font-semibold",g),i:(0,a.cn)(f,"ketch-font-weight-inherit ketch-italic",g),em:(0,a.cn)(f,"ketch-font-weight-inherit ketch-italic",g),u:(0,a.cn)(f,"ketch-font-weight-inherit ketch-underline",g),ul:(0,a.cn)(f,"ketch-list-disc ketch-pl-5 ketch-font-weight-inherit",g),li:(0,a.cn)(f,g),p:(0,a.cn)(f,g),span:(0,a.cn)(f,g)}},[E,g]),O=(0,r.useMemo)(function(){return(0,l.default)(u.default.sanitize(_),{transform:function(e){if(C[e.type]&&(e.props.className=C[e.type],e.props.class&&delete e.props.class,e.props.style&&(e.props.style="")),"a"===e.type&&e.props.href){var t=e.props.href;e.props.target="_blank",e.props.rel="noopener noreferrer";var n=function(e){for(var t=[e],n="",r=0;r0?_.filter(function(e){return A.includes(e.value)}).map(function(e){return e.label}).join(", "):d||"Select options";return(0,a.jsxs)("div",{ref:w,className:(0,r.cn)(S,{"ketch-opacity-[.24]":f},"ketch-relative ketch-text-ketch-l"),children:[n&&(0,a.jsx)("span",{className:(0,r.cn)(c,T),children:"* "}),u&&(0,a.jsx)("label",{className:"ketch-mb-1 ketch-inline-block",htmlFor:B,children:(0,a.jsx)(o.Text,{className:(0,r.cn)(v),variant:o.TextVariants.L_BOLD,children:u})}),A.map(function(e){return(0,a.jsx)("input",{type:"hidden",name:t,value:e},e)}),(0,a.jsxs)("div",{className:"ketch-relative ketch-text-ketch-m",children:[(0,a.jsx)("button",{id:B,type:"button",disabled:f,className:(0,r.cn)("ketch-border-solid ketch-border-gray-300 ketch-bg-white ketch-pl-3 ketch-pr-8 ketch-py-2 ketch-text-black hover:ketch-border-ketch-black-black-56 hover:ketch-cursor-pointer focus-visible:ketch-outline-none focus-visible:ketch-border-blue-600 ketch-text-ketch-l disabled:ketch-cursor-not-allowed disabled:ketch-pointer-events-none disabled:ketch-select-none ketch-w-full ketch-h-10 ketch-relative ketch-border","ketch-truncate ketch-text-left",b,{"ketch-text-ketch-black-black-48":0===A.length}),onClick:function(){return R(!P)},children:D}),(0,a.jsx)("div",{className:"ketch-pointer-events-none ketch-absolute ketch-inset-y-0 ketch-right-0 ketch-flex ketch-items-center ketch-px-2 ketch-text-gray-700",children:(0,a.jsx)(s.ArrowDownIcon,{className:(0,r.cn)("h-4 w-4 ketch-fill-black",y)})})]}),P&&(0,a.jsx)("div",{className:"ketch-absolute ketch-z-10 ketch-mt-1 ketch-max-h-60 ketch-w-full ketch-overflow-y-auto ketch-border ketch-border-solid ketch-border-gray-300 ketch-bg-white ketch-shadow-md",children:(0,a.jsx)("div",{className:"ketch-flex ketch-flex-col ketch-gap-1 ketch-p-2",children:_.map(function(e){var t=A.includes(e.value);return(0,a.jsx)(i.Checkbox,{checked:t,labelText:e.label,disabled:f,className:C,selectedLabelClassName:O,unselectedLabelClassName:N,onChange:function(){return function(e){var t=A.includes(e)?A.filter(function(t){return t!==e}):[].concat(A,[e]);x(t),null==g||g(t)}(e.value)}},e.value)})})}),h&&p&&(0,a.jsx)(o.Text,{className:(0,r.cn)(c,T),variant:o.TextVariants.S_BOLD,children:p})]})}},4784(e,t,n){t.__esModule=!0,t.Radio=void 0;var r=n(7178),o=n(1992),i=n(2223),s=["id","className","checked","labelText","labelClassName","labelTextVariant"];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 a(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0){var e=setTimeout(function(){G()},1e3*D);return function(){return clearTimeout(e)}}},[D,G]);var H=w&&L||j,K=!!A&&M,q=A&&M===s.BannerDismissAnimation.FADE;return H?(0,p.jsx)(r.Backdrop,{className:(0,u.cn)(j?null==v||null==(m=v.get(c.ThemeMapKeys.BANNER_CONTAINER_BACKDROP_BACKGROUND))?void 0:m.className:"ketch-bg-transparent"),forceInteraction:L,blockScroll:B,isFading:q,children:(0,p.jsx)(g,{position:F,dismissAnimation:K})}):(0,p.jsx)(g,{position:F,dismissAnimation:K})}},3955(e,t,n){t.__esModule=!0,t.BannerExperience=void 0;var r=n(3628),o=n(5212),i=n(7178),s=n(9555),l=n(2482),a=n(6184),c=n(815),u=n(6274),d=n(9945),p=n(1563),h=n(7275),f=n(9227),_=n(2223),E=["className"];function g(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 m(e){for(var t=1;t0,De=(null==me||null==(E=me.profile)||null==(g=E.attributes)?void 0:g.length)||0,Me=null==me||null==(m=me.formTemplates)?void 0:m.find(function(e){return"profile_preferences_form"===e.code}),Ue=!1!==we&&De>0||"true"==(null==me||null==(b=me.options)?void 0:b.profile_preferences)&&Me,Fe=[{id:"ketch-preferences-navigation-welcome-tab",label:String(null==be||null==(T=be.content)||null==(v=T.preference)||null==(S=v.navigation)?void 0:S.welcomeTitle),iconUrl:null==me||null==(y=me.theme)||null==(C=y.preference)||null==(O=C.navigation)||null==(N=O.icons)||null==(k=N.welcome)?void 0:k.url,preferenceTabId:o.PreferenceTab.Welcome,configKey:"welcome",showTab:!1!==Ie},{id:"ketch-preferences-navigation-purposes-tab",label:String(null==be||null==(P=be.content)||null==(R=P.preference)||null==(I=R.navigation)?void 0:I.purposesTitle),preferenceTabId:o.PreferenceTab.Purposes,iconUrl:null==me||null==(A=me.theme)||null==(x=A.preference)||null==(w=x.navigation)||null==(L=w.icons)||null==(B=L.purposes)?void 0:B.url,configKey:"purposes",showTab:!1!==Re},{id:"ketch-preferences-navigation-subscriptions-tab",label:String(null==be||null==(D=be.content)||null==(M=D.preference)||null==(U=M.navigation)?void 0:U.subscriptionsTitle),preferenceTabId:o.PreferenceTab.Subscriptions,iconUrl:null==me||null==(F=me.theme)||null==(j=F.preference)||null==(V=j.navigation)||null==(G=V.icons)||null==(H=G.subscriptions)?void 0:H.url,configKey:"subscriptions",showTab:Be},{id:"ketch-preferences-navigation-requests-tab",label:String(null==be||null==(K=be.content)||null==(q=K.preference)||null==(W=q.navigation)?void 0:W.requestsTitle),preferenceTabId:o.PreferenceTab.Requests,iconUrl:null==me||null==(Y=me.theme)||null==(z=Y.preference)||null==(X=z.navigation)||null==(Q=X.icons)||null==($=Q.requests)?void 0:$.url,configKey:"requests",showTab:!1!==Ae&&(Oe||[]).length>0},{id:"ketch-preferences-navigation-profile-preferences-tab",label:"Preferences",preferenceTabId:o.PreferenceTab.ProfilePreferences,iconUrl:null==me||null==(J=me.theme)||null==(Z=J.preference)||null==(ee=Z.navigation)||null==(te=ee.icons)||null==(ne=te.requests)?void 0:ne.url,configKey:"requests",showTab:Ue}],je=Fe.filter(function(e){return!!e.showTab}).map(function(e){var t,n,r,o,i,s=e.label,l=e.preferenceTabId,a=e.configKey;return{label:s,value:l,iconUrl:null==me||null==(t=me.theme)||null==(n=t.preference)||null==(r=n.navigation)||null==(o=r.icons)||null==(i=o[a])?void 0:i.url,iconName:s}}),Ve=je.find(function(e){return e.value===ye}),Ge=!(null==me||null==(re=me.theme)||null==(oe=re.preference)||null==(ie=oe.navigation)||!ie.iconsVisible),He=(0,h.jsx)("div",{role:"tablist","aria-label":"Main navigation",className:(0,i.cn)("ketch-bg-white",null==Te||null==(se=Te.get(c.ThemeMapKeys.PREFERENCE_NAVIGATION_LAYOUT))?void 0:se.className),children:Fe.map(function(e){var t=e.id,n=e.label,r=e.preferenceTabId,o=e.iconUrl;return e.showTab?(0,h.jsx)(u.DesktopNavigationItem,{id:t,label:n,icon:Ge&&o?(0,h.jsx)("img",{src:o,className:"ketch-h-auto ketch-max-h-full ketch-w-auto ketch-max-w-full ketch-object-contain",alt:n}):void 0,preferenceTabId:r},n):null})}),Ke=Te.get(c.ThemeMapKeys.PREFERENCE_NAVIGATION_LAYOUT_ITEM_MOBILE),qe=(0,h.jsx)("nav",{"aria-label":"Main navigation",className:"ketch-block",children:(0,h.jsxs)("div",{className:"ketch-flex ketch-flex-col",children:[je.length>1?(0,h.jsx)(a.Dropdown,{options:je,value:Ve,arrowDownIconClassName:(0,i.cn)(null==Ke||null==(le=Ke.arrowIcon)?void 0:le.className),buttonItemClassName:(0,i.cn)(null==Ke||null==(ae=Ke.selectedBackground)?void 0:ae.className,null==Ke||null==(ce=Ke.selectedText)?void 0:ce.className,null==Ke||null==(ue=Ke.cornerRadius)?void 0:ue.className,Ne),buttonItemOpenClassName:(0,i.cn)(null==Ke||null==(de=Ke.selectedBackground)?void 0:de.className,null==Ke||null==(pe=Ke.selectedText)?void 0:pe.className,null==Ke||null==(he=Ke.activeMobileCornerRadius)?void 0:he.className),optionItemClassName:(0,i.cn)(null==Ke||null==(fe=Ke.unselectedBackground)?void 0:fe.className,null==Ke||null==(_e=Ke.unselectedText)?void 0:_e.className,null==Te||null==(Ee=Te.get(c.ThemeMapKeys.PREFERENCE_NAVIGATION_LAYOUT))?void 0:Ee.className,"!ketch-rounded-none"),onChange:function(e){var t=null;(null==e?void 0:e.value)===o.PreferenceTab.Requests&&(t=o.PreferenceSubTab.RequestHome),Ce((0,l.updatePreferenceLocationAction)({activePreferenceTab:(null==e?void 0:e.value)||o.PreferenceTab.Welcome,activePreferenceSubTab:t,activeRightRequestCode:(null==e?void 0:e.value)===o.PreferenceTab.ProfilePreferences?"profile_preferences_form":null}))}}):null,(0,h.jsx)(u.MobileSubNavigation,{})]})});return ke?(0,h.jsx)(h.Fragment,{children:qe}):(0,h.jsx)(h.Fragment,{children:He})}},5426(e,t,n){t.__esModule=!0,t.PreferenceViewHeader=void 0;var r=n(1992),o=n(7380),i=n(927),s=n(5212),l=n(9945),a=n(7178),c=n(573),u=n(3519),d=n(6274),p=n(7275),h=n(3628),f=n(2223),_=h.defaultThemeConfig.preference;t.PreferenceViewHeader=function(){var e,t,n,h,E,g,m,b,T,v,S,y,C,O,N,k,P,R,I,A,x,w,L,B,D,M,U,F,j,V,G,H,K,q,W,Y,z,X,Q,$,J,Z,ee,te=(0,u.useIsImageLoaded)(),ne=te.isImageLoaded,re=te.handleImageLoaded,oe=(0,s.useContext)(l.AppStateContextV2),ie=oe.config,se=oe.themeMap,le=oe.experiences,ae=ie.theme,ce=(0,c.useMobileQuery)(),ue=null==ae||null==(e=ae.preference)||null==(t=e.header)||null==(n=t.logo)?void 0:n.url,de=(null==ae||null==(h=ae.preference)||null==(E=h.header)||null==(g=E.logo)?void 0:g.name)||(null==ae||null==(m=ae.preference)||null==(b=m.header)||null==(T=b.logo)?void 0:T.url),pe=(null==ae||null==(v=ae.preference)||null==(S=v.container)?void 0:S.exitPosition)!==i.ExitButtonPosition.topRight,he=!ue,fe=!(null==le||null==(y=le.content)||null==(C=y.preference)||null==(O=C.header)||null==(N=O.title)||!N.trim()),_e=(null==(k=ie.theme)||null==(P=k.preference)||null==(R=P.header)||null==(I=R.background)?void 0:I.color)||(null==_||null==(A=_.header)||null==(x=A.background)?void 0:x.color),Ee=(null==(w=ie.theme)||null==(L=w.preference)||null==(B=L.header)||null==(D=B.background)?void 0:D.opacity)||(null==_||null==(M=_.header)||null==(U=M.background)?void 0:U.opacity),ge=(0,p.getOutlineColorByBackgroundColor)(_e,Ee);return(0,f.jsxs)("div",{className:(0,a.cn)("ketch-flex ketch-items-start ketch-gap-8 ketch-pb-4 ketch-pt-[max(16px,var(--safe-area-inset-top))] ketch-text-ketch-m md:ketch-items-center md:ketch-px-8",ce?"ketch-pl-[max(16px,var(--safe-area-inset-left))] ketch-pr-[max(16px,var(--safe-area-inset-right))]":"md:ketch-px-8",null==(F=se.get(d.ThemeMapKeys.PREFERENCE_HEADER_BACKGROUND))?void 0:F.className),children:[he?(0,f.jsx)("div",{children:fe?(0,f.jsx)(r.Text,{component:"h1",variant:r.TextVariants.H1,className:(0,a.cn)(null==(j=se.get(d.ThemeMapKeys.PREFERENCE_HEADER_TITLE))?void 0:j.className,{"ketch-underline":null==(V=se.get(d.ThemeMapKeys.PREFERENCE_HEADER_TITLE))?void 0:V.underline}),children:null==le||null==(G=le.content)||null==(H=G.preference)||null==(K=H.header)?void 0:K.title}):null}):(0,f.jsxs)("div",{className:(0,a.cn)("ketch-w-full",{"ketch-flex ketch-flex-wrap ketch-items-center ketch-gap-4":ce,"md:ketch-flex-2 ketch-max-h-[64px] ketch-max-w-[268px] md:ketch-h-16":!ce}),children:[(0,f.jsx)("img",{src:ue,alt:de,className:(0,a.cn)("ketch-h-auto ketch-max-h-[64px] ketch-max-w-[268px] ketch-object-contain",ce&&"ketch-h-10",ne?"ketch-min-w-10 ketch-opacity-100":"ketch-animate-pulseOpacity ketch-bg-slate-200 ketch-opacity-50"),onLoad:re}),ce&&(0,f.jsx)("div",{className:"ketch-flex",children:fe?(0,f.jsx)(r.Text,{className:(0,a.cn)(null==(q=se.get(d.ThemeMapKeys.PREFERENCE_HEADER_TITLE))?void 0:q.className,"ketch-inline-block",{"ketch-underline":null==(W=se.get(d.ThemeMapKeys.PREFERENCE_HEADER_TITLE))?void 0:W.underline}),variant:r.TextVariants.H1,component:"h1",children:null==le||null==(Y=le.content)||null==(z=Y.preference)||null==(X=z.header)?void 0:X.title}):null})]}),!ce&&!he&&(0,f.jsx)("div",{className:(0,a.cn)("ketch-flex ketch-flex-1 ketch-items-start",ce?"ketch-justify-end":"md:ketch-justify-between"),children:fe?(0,f.jsx)(r.Text,{className:(0,a.cn)(null==(Q=se.get(d.ThemeMapKeys.PREFERENCE_HEADER_TITLE))?void 0:Q.className,"md:ketch-block",{"ketch-underline":null==($=se.get(d.ThemeMapKeys.PREFERENCE_HEADER_TITLE))?void 0:$.underline}),variant:r.TextVariants.H1,component:"h1",children:null==le||null==(J=le.content)||null==(Z=J.preference)||null==(ee=Z.header)?void 0:ee.title}):null}),pe&&!ce?null:(0,f.jsx)("div",{className:(0,a.cn)("ketch-flex ketch-h-10 ketch-flex-1 ketch-flex-grow ketch-items-start ketch-justify-end ",he&&"ketch-flex-grow ketch-items-center"),children:(0,f.jsx)(o.ExitButton,{size:ce?"sm":"md",className:(0,a.cn)({"ketch-inline-flex":!pe},ge)})})]})}},9494(e,t,n){t.__esModule=!0,t.PrivacyPolicy=void 0;var r=n(5212),o=n(7178),i=n(8828),s=n(1992),l=n(4649),a=n(9945),c=n(6274),u=n(2223);t.PrivacyPolicy=function(){var e,t,n,d,p=(0,r.useContext)(a.AppStateContextV2).themeMap;return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(s.Text,{variant:s.TextVariants.H1,children:"hello privacy-policy.tsx"}),(0,u.jsx)(l.DummySpacer,{}),(0,u.jsx)(i.InterpolatedText,{htmlString:"temporary placeholder text",linkClassName:(0,o.cn)(null==p||null==(e=p.get(c.ThemeMapKeys.BANNER_DESCRIPTION_LINK))?void 0:e.className,{"!ketch-underline":null==p||null==(t=p.get(c.ThemeMapKeys.BANNER_DESCRIPTION_LINK))?void 0:t.underline}),textClassName:(0,o.cn)({"!ketch-underline":null==p||null==(n=p.get(c.ThemeMapKeys.BANNER_DESCRIPTION_TEXT))?void 0:n.underline},null==p||null==(d=p.get(c.ThemeMapKeys.BANNER_DESCRIPTION_TEXT))?void 0:d.className)})]})}},4757(e,t,n){t.__esModule=!0,t.ProfilePreferencesForm=void 0;var r=n(1992),o=n(8828),i=n(7178),s=n(1387),l=(n(7761),n(8634)),a=n(4784),c=n(6142),u=n(6746),d=n(2417),p=n(927),h=n(4690),f=n(353),_=n(9698),E=n(9837),g=n(9501),m=n(5212),b=n(6589),T=n(9945),v=n(2223);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 y(e){for(var t=1;t0&&(W=Y),(0,m.useEffect)(function(){var e,t,n=null==(e=W)?void 0:e.typeCode;n&&!Array.isArray(n)&&null!=O&&null!=(t=O.dataSubjectTypes)&&t.some(function(e){return e.code===n})&&K(n)},[W,null==O?void 0:O.dataSubjectTypes,K]);var z=(0,m.useState)({}),X=z[0],Q=z[1],$=(0,m.useMemo)(function(){var e,t,n,r;return null!=(e=null==O||null==(t=O.profile)||null==(n=t.attributes)||null==(r=n.filter(function(e){return"checkbox"===e.renderType}))?void 0:r.map(function(e){return e.code}))?e:[]},[null==O||null==(n=O.profile)?void 0:n.attributes]);(0,m.useEffect)(function(){if($.length){var e={};$.forEach(function(t){var n=W[t];Array.isArray(n)?e[t]=n:e[t]=n?[String(n)]:[]}),Q(function(t){return y(y({},t),e)})}},[W,$]);var J=(0,_.usePreferenceOutlineColor)(),Z=(0,g.useInsertTypeRelationDetailsAfterTypeCode)();return(0,i.logObjectDetails)({fieldsWithErrors:Object.keys(k).filter(function(e){return null!==k[e].errorMessage})},"requests-form.tsx","lightgreen",!1),(0,v.jsx)("form",{className:(0,i.cn)("ketch-flex ketch-max-h-full ketch-flex-1 ketch-flex-col"),ref:R,id:"profile-preferences-form",onSubmit:L,noValidate:!0,children:(0,v.jsx)("div",{className:"max-sm:ketch-overflow-y-scroll md:ketch-pr-3",children:(0,v.jsxs)("div",{className:"ketch-grid ketch-flex-1 ketch-grid-cols-2 ketch-gap-6",children:[null==(S=(0,d.ensureArray)(null==x?void 0:x.sections))?void 0:S.map(function(e){var t,n,f,_=(null==e||null==(t=e.conditions)||null==(n=t[0])?void 0:n.values)||[],g=_.includes(H);return null!=_&&_.length&&!g?null:(0,v.jsxs)("div",{className:"ketch-col-span-2 ketch-grid ketch-auto-rows-min ketch-grid-cols-2 ketch-gap-4",children:[e.title||e.description?(0,v.jsxs)("div",{className:"ketch-col-span-2 ketch-flex ketch-flex-col",children:[e.title&&(0,v.jsx)(r.Text,{component:"h3",variant:r.TextVariants.H3,id:"section-title",className:(0,i.cn)("ketch-col-span-2",null==A?void 0:A.className,"ketch-mb-1"),children:e.title}),e.description&&(0,v.jsx)("div",{className:(0,i.cn)("ketch-col-span-2",{"ketch-mb-4":!(null==(f=e.formFields)||!f.length)}),children:(0,v.jsx)(o.InterpolatedText,{htmlString:e.description,textClassName:(0,i.cn)(r.textVariantStyles[r.TextVariants.L],null==I?void 0:I.className),linkClassName:(0,i.cn)(r.textVariantStyles[r.TextVariants.L],null==I?void 0:I.className,J)})})]}):null,Z((0,d.ensureArray)(e.formFields)).map(function(e){switch(e.type){case p.FormFieldType.TEXT:var t,n,o,f,_,g,m,T,S,C,O,I,A,L,H,q,Y,z,$,Z,ee,te,ne=e.variant===p.FormFieldVariant.TEXTAREA?p.FormFieldVariant.TEXTAREA:p.FormFieldVariant.INPUT,re="typeRelationshipDetails"===e.name,oe=e,ie="number"===oe.dataType?{htmlInputType:"number",min:null==(t=oe.constraints)||null==(n=t.number)?void 0:n.min,max:null==(o=oe.constraints)||null==(f=o.number)?void 0:f.max,step:!1===(null==(_=oe.constraints)||null==(g=_.number)?void 0:g.allow_decimal)?"1":"any"}:{},se=!(null==k||null==(m=k[String(e.name)])||!m.errorMessage);return(0,v.jsx)(s.TextField,y(y({disabled:D,variant:ne,defaultValue:e.name&&"string"==typeof W[e.name]?W[e.name]:"",name:e.name,label:e.label,required:e.required},ie),{},{labelClassName:(0,i.cn)(null==G||null==(T=G.fieldLabel)?void 0:T.className),placeholder:e.hint,inputStyle:null==G?void 0:G.inputStyle,errorClassName:(0,i.cn)(null==G||null==(S=G.errorText)?void 0:S.className),className:(0,i.cn)(null==G||null==(C=G.activeBackground)?void 0:C.className,null==G||null==(O=G.inactiveBackground)?void 0:O.className,null==G||null==(I=G.hintText)?void 0:I.className,(L={},L[String(null==G||null==(A=G.cornerRadius)?void 0:A.className)]=(null==G?void 0:G.inputStyle)===p.FormFieldStyle.Box,L),null==G||null==(H=G.activeOutline)?void 0:H.className,null==G||null==(q=G.inactiveOutline)?void 0:q.className,null==G||null==(Y=G.inactiveOutline)?void 0:Y.className,null==G||null==(z=G.inputText)?void 0:z.className,(ee={},ee[String(null==G||null==($=G.errorOutline)?void 0:$.className)]=se,ee[String(null==G||null==(Z=G.errorBackground)?void 0:Z.className)]=se,ee)),containerClassName:(0,i.cn)("ketch-col-span-2",{"lm:ketch-col-span-1":e.width===p.FormFieldWidth.HALF,"ketch-col-span-2":e.width===p.FormFieldWidth.FULL,"ketch-hidden":!V&&re}),errorMessage:(null==k||null==(te=k[String(e.name)])?void 0:te.errorMessage)||void 0,isError:se,onBlur:function(t){var n=t.currentTarget.name,r=R.current;if(r&&x){var o=new FormData(r),i=w(String(o.get("typeCode"))),s="typeRelationshipDetails"===n?i:null==e?void 0:e.required,l=y({},k);l[n]=y(y({},l[n]),{},{touched:!0});var a=R.current?R.current[n].value.trim():"";if(s&&!a)l[n].errorMessage=M;else if(s&&a&&("email"===n||"authorizedAgentEmail"===n)){var c=E.EMAIL_REGEX.test(a);l[n].errorMessage=c?null:U}else l[n].errorMessage=null;F(l)}},onChange:function(t){var n=t.currentTarget.name,r=y({},k);r[n]=y(y({},r[n]),{},{touched:!0});var o=R.current?R.current[n].value.trim():"";null!=e&&e.required&&!o?r[n].errorMessage=M:r[n].errorMessage=null,F(r)}}),e.name);case p.FormFieldType.CHECKBOX:var le,ae,ce,ue,de=!(null==k||null==(le=k[String(e.name)])||!le.errorMessage),pe="single_value"===e.attributeType,he=e.name||"",fe=(0,d.ensureArray)(e.options).map(function(t){var n,r,o,s,a,c,u,d,p,h,f,_,E,g=null!=(n=null==(r=X[he])?void 0:r.includes(String(t.value)))&&n;return(0,v.jsx)(l.Checkbox,{disabled:D,name:t.value,checked:g,labelText:t.label,required:e.required,errorClassName:(0,i.cn)(null==N||null==(o=N.unselectedCheckboxErrorLabel)?void 0:o.className),className:(0,i.cn)((u={},u[String(null==N||null==(s=N.selectedCheckboxBackground)?void 0:s.className)]=!de,u[String(null==N||null==(a=N.unselectedCheckboxBackground)?void 0:a.className)]=!de,u[String(null==N||null==(c=N.unselectedCheckboxErrorBackground)?void 0:c.className)]=de,u),J),unselectedLabelClassName:(0,i.cn)((h={},h[String(null==N||null==(d=N.unselectedCheckboxLabel)?void 0:d.className)]=!de,h[String(null==N||null==(p=N.unselectedCheckboxErrorLabel)?void 0:p.className)]=de,h)),selectedLabelClassName:(0,i.cn)((E={},E[String(null==N||null==(f=N.selectedCheckboxLabel)?void 0:f.className)]=!de&&g,E[String(null==N||null==(_=N.unselectedCheckboxErrorLabel)?void 0:_.className)]=de,E)),onChange:function(){return function(t){var n,r=null!=(n=X[he])?n:[],o=pe?[t]:r.includes(t)?r.filter(function(e){return e!==t}):[].concat(r,[t]);Q(function(e){var t;return y(y({},e),{},((t={})[he]=o,t))});var i=y({},k);i[he]=y(y({},i[he]),{},{touched:!0,errorMessage:e.required&&0===o.length?M:null}),F(i)}(String(t.value))},onBlur:function(){return B(e)}},t.value)});return(0,v.jsxs)("fieldset",{disabled:D,id:e.name,required:e.required,name:e.name,className:(0,i.cn)("ketch-col-span-2 ketch-flex ketch-flex-col ketch-gap-2 ketch-border-0 ketch-p-0 ketch-pl-1"),children:[e.label&&(0,v.jsx)(r.Text,{variant:r.TextVariants.L_BOLD,className:(0,i.cn)(null==G||null==(ae=G.fieldLabel)?void 0:ae.className),children:e.label}),fe,de&&(0,v.jsx)(r.Text,{className:(0,i.cn)(null==N||null==(ce=N.unselectedCheckboxErrorLabel)?void 0:ce.className),variant:r.TextVariants.S_BOLD,children:null==k||null==(ue=k[String(e.name)])?void 0:ue.errorMessage})]},e.name);case p.FormFieldType.RADIO:var _e,Ee,ge,me,be=!(null==k||null==(_e=k[String(e.name)])||!_e.errorMessage),Te=(0,d.ensureArray)(e.options).map(function(t){var n,r,o,s,l,c;return(0,v.jsx)(a.Radio,{disabled:D,name:e.name,value:t.value,labelText:t.label,defaultChecked:"string"==typeof W[e.name||""]&&W[e.name||""]===t.value,className:(0,i.cn)((o={},o[String(null==N||null==(n=N.selectedCheckboxBackground)?void 0:n.className)]=!be,o[String(null==N||null==(r=N.unselectedCheckboxBackground)?void 0:r.className)]=!be,o),J),labelClassName:(0,i.cn)((c={},c[String(null==N||null==(s=N.unselectedCheckboxLabel)?void 0:s.className)]=!be,c[String(null==N||null==(l=N.unselectedCheckboxErrorLabel)?void 0:l.className)]=be,c)),onChange:function(){var t=String(e.name),n=y({},k);n[t]=y(y({},n[t]),{},{touched:!0,errorMessage:null}),F(n)}},t.value)});return(0,v.jsxs)("fieldset",{disabled:D,id:e.name,required:e.required,name:e.name,className:(0,i.cn)("ketch-col-span-2 ketch-flex ketch-flex-col ketch-gap-2 ketch-border-0 ketch-p-0 ketch-pl-1"),children:[e.label&&(0,v.jsx)(r.Text,{variant:r.TextVariants.L_BOLD,className:(0,i.cn)(null==G||null==(Ee=G.fieldLabel)?void 0:Ee.className),children:e.label}),Te,be&&(0,v.jsx)(r.Text,{className:(0,i.cn)(null==N||null==(ge=N.unselectedCheckboxErrorLabel)?void 0:ge.className),variant:r.TextVariants.S_BOLD,children:null==k||null==(me=k[String(e.name)])?void 0:me.errorMessage})]},e.name);case p.FormFieldType.DROPDOWN:var ve,Se,ye,Ce,Oe,Ne,ke,Pe,Re,Ie,Ae,xe,we,Le,Be,De,Me,Ue,Fe,je,Ve,Ge,He="multi_value"===e.attributeType,Ke="country"===e.name?P:(0,d.ensureArray)(e.options),qe=!(null==k||null==(ve=k[String(e.name)])||!ve.errorMessage);if("typeCode"===e.name&&1===(null==Ke?void 0:Ke.length))return(0,v.jsx)("input",{type:"hidden",name:"typeCode",value:Ke[0].value,className:"ketch-hidden","aria-hidden":"true"},e.name);if(He){var We,Ye,ze,Xe,Qe,$e,Je,Ze,et,tt,nt,rt,ot,it,st,lt,at,ct,ut,dt,pt,ht=W[e.name||""];return(0,v.jsx)(u.MultiSelectField,{disabled:D,hint:e.hint,label:e.label,value:Array.isArray(ht)?ht:void 0,containerClassName:(0,i.cn)("ketch-col-span-2 lm:ketch-col-span-1"),labelClassName:(0,i.cn)(null==G||null==(We=G.fieldLabel)?void 0:We.className),arrowIconClassName:(0,i.cn)((Xe={},Xe[String(null==G||null==(Ye=G.dropdownArrowIcon)?void 0:Ye.className)]=!qe,Xe[String(null==G||null==(ze=G.errorDropdownArrowIcon)?void 0:ze.className)]=qe,Xe)),errorClassName:(0,i.cn)(null==G||null==(Qe=G.errorText)?void 0:Qe.className),className:(0,i.cn)(null==G||null==($e=G.inputText)?void 0:$e.className,null==G||null==(Je=G.activeBackground)?void 0:Je.className,null==G||null==(Ze=G.inactiveBackground)?void 0:Ze.className,(tt={},tt[String(null==G||null==(et=G.cornerRadius)?void 0:et.className)]=(null==G?void 0:G.inputStyle)===p.FormFieldStyle.Box,tt),null==G||null==(nt=G.activeOutline)?void 0:nt.className,null==G||null==(rt=G.inactiveOutline)?void 0:rt.className,(st={},st[String(null==G||null==(ot=G.errorOutline)?void 0:ot.className)]=qe,st[String(null==G||null==(it=G.errorBackground)?void 0:it.className)]=qe,st)),checkboxClassName:(0,i.cn)((ct={},ct[String(null==N||null==(lt=N.selectedCheckboxBackground)?void 0:lt.className)]=!qe,ct[String(null==N||null==(at=N.unselectedCheckboxBackground)?void 0:at.className)]=!qe,ct),J),checkboxSelectedLabelClassName:(0,i.cn)(null==N||null==(ut=N.selectedCheckboxLabel)?void 0:ut.className),checkboxUnselectedLabelClassName:(0,i.cn)(null==N||null==(dt=N.unselectedCheckboxLabel)?void 0:dt.className),name:e.name,required:e.required,errorMessage:(null==k||null==(pt=k[String(e.name)])?void 0:pt.errorMessage)||void 0,isError:qe,options:(Ke||[]).map(function(e){return{label:String(e.label),value:String(e.value)}}),onChange:function(t){var n=String(e.name),r=y({},k);r[n]=y(y({},r[n]),{},{touched:!0}),null!=e&&e.required&&0===t.length?r[n].errorMessage=M:r[n].errorMessage=null,F(r)},onBlur:function(t){var n=String(e.name),r=y({},k);r[n]=y(y({},r[n]),{},{touched:!0,errorMessage:e.required&&0===t.length?M:null}),F(r)}},e.name)}return(0,v.jsx)(h.SelectField,{disabled:D,hint:e.hint,label:e.label,selectStyle:null==G?void 0:G.inputStyle,containerClassName:(0,i.cn)("ketch-col-span-2 lm:ketch-col-span-1"),labelClassName:(0,i.cn)(null==G||null==(Se=G.fieldLabel)?void 0:Se.className),hintClassName:(0,i.cn)((Oe={},Oe[String(null==G||null==(ye=G.dropdownHintText)?void 0:ye.className)]=!qe,Oe[String(null==G||null==(Ce=G.errorText)?void 0:Ce.className)]=qe,Oe)),defaultValue:e.name&&"string"==typeof W[e.name]?W[e.name]:"",arrowIconClassName:(0,i.cn)((Pe={},Pe[String(null==G||null==(Ne=G.dropdownArrowIcon)?void 0:Ne.className)]=!qe,Pe[String(null==G||null==(ke=G.errorDropdownArrowIcon)?void 0:ke.className)]=qe,Pe)),errorClassName:(0,i.cn)(null==G||null==(Re=G.errorText)?void 0:Re.className),className:(0,i.cn)(null==G||null==(Ie=G.inputText)?void 0:Ie.className,null==G||null==(Ae=G.activeBackground)?void 0:Ae.className,null==G||null==(xe=G.inactiveBackground)?void 0:xe.className,(Le={},Le[String(null==G||null==(we=G.cornerRadius)?void 0:we.className)]=(null==G?void 0:G.inputStyle)===p.FormFieldStyle.Box,Le),null==G||null==(Be=G.activeOutline)?void 0:Be.className,null==G||null==(De=G.inactiveOutline)?void 0:De.className,null==G||null==(Me=G.inactiveOutline)?void 0:Me.className,(je={},je[String(null==G||null==(Ue=G.errorOutline)?void 0:Ue.className)]=qe,je[String(null==G||null==(Fe=G.errorBackground)?void 0:Fe.className)]=qe,je)),name:e.name,required:e.required,errorMessage:(null==k||null==(Ve=k[String(e.name)])?void 0:Ve.errorMessage)||void 0,isError:!(null==k||null==(Ge=k[String(e.name)])||!Ge.errorMessage),options:(Ke||[]).map(function(e){return{label:String(e.label),value:String(e.value)}}),onBlur:function(t){var n=t.currentTarget.name,r=y({},k);r[n]=y(y({},r[n]),{},{touched:!0});var o=R.current?R.current[n].value:"";null!=e&&e.required&&!o?r[n].errorMessage=M:r[n].errorMessage=null,F(r)},onChange:function(t){var n=t.currentTarget.name;if("typeCode"===n){var r,o=w(t.currentTarget.value);(0,i.logObjectDetails)({doesDataSubjectTypeRequireRelationshipDetails:o},"requests-form.tsx"),o&&j(!0),K((null==t||null==(r=t.currentTarget)?void 0:r.value)||"")}var s=y({},k);s[n]=y(y({},s[n]),{},{touched:!0});var l=R.current?R.current[n].value:"";null!=e&&e.required&&!l?s[n].errorMessage=M:s[n].errorMessage=null,F(s)}},e.name);case p.FormFieldType.DATE:var ft,_t,Et,gt,mt,bt,Tt,vt,St,yt,Ct,Ot,Nt,kt,Pt,Rt,It,At,xt=e,wt=!(null==k||null==(ft=k[String(e.name)])||!ft.errorMessage);return(0,v.jsx)(c.DateField,{disabled:D,name:e.name,label:e.label,required:e.required,defaultValue:e.name&&"string"==typeof W[e.name]?W[e.name]:void 0,min:null!=(null==(_t=xt.constraints)||null==(Et=_t.date)?void 0:Et.min)?String(xt.constraints.date.min):void 0,max:null!=(null==(gt=xt.constraints)||null==(mt=gt.date)?void 0:mt.max)?String(xt.constraints.date.max):void 0,inputStyle:null==G?void 0:G.inputStyle,labelClassName:(0,i.cn)(null==G||null==(bt=G.fieldLabel)?void 0:bt.className),errorClassName:(0,i.cn)(null==G||null==(Tt=G.errorText)?void 0:Tt.className),className:(0,i.cn)(null==G||null==(vt=G.inputText)?void 0:vt.className,null==G||null==(St=G.activeBackground)?void 0:St.className,null==G||null==(yt=G.inactiveBackground)?void 0:yt.className,(Ot={},Ot[String(null==G||null==(Ct=G.cornerRadius)?void 0:Ct.className)]=(null==G?void 0:G.inputStyle)===p.FormFieldStyle.Box,Ot),null==G||null==(Nt=G.activeOutline)?void 0:Nt.className,null==G||null==(kt=G.inactiveOutline)?void 0:kt.className,(It={},It[String(null==G||null==(Pt=G.errorOutline)?void 0:Pt.className)]=wt,It[String(null==G||null==(Rt=G.errorBackground)?void 0:Rt.className)]=wt,It)),containerClassName:(0,i.cn)("ketch-col-span-2",{"lm:ketch-col-span-1":e.width===p.FormFieldWidth.HALF}),errorMessage:(null==k||null==(At=k[String(e.name)])?void 0:At.errorMessage)||void 0,isError:wt,onBlur:function(t){var n=t.target.name,r=y({},k);r[n]=y(y({},r[n]),{},{touched:!0});var o=t.target.value;null!=e&&e.required&&!o?r[n].errorMessage=M:r[n].errorMessage=null,F(r)},onChange:function(t){var n=t.target.name,r=y({},k);r[n]=y(y({},r[n]),{},{touched:!0});var o=t.target.value;null!=e&&e.required&&!o?r[n].errorMessage=M:r[n].errorMessage=null,F(r)}},e.name);case p.FormFieldType.FILE:var Lt,Bt;return(0,v.jsx)(b.FileUpload,{field:e,labelClassName:(0,i.cn)(null==G||null==(Lt=G.fieldLabel)?void 0:Lt.className),errorClassName:(0,i.cn)(null==G||null==(Bt=G.errorText)?void 0:Bt.className),containerClassName:(0,i.cn)("ketch-col-span-2"),disabled:D,fieldState:k,setFieldState:F},e.name);default:return console.warn("\n","field.type not found",e.type,"\n"),null}})]},e.title)}),!1]})})})}},4481(e,t,n){t.__esModule=!0,t.ProfilePreferences=void 0;var r=n(1992),o=n(4757),i=n(2223);t.ProfilePreferences=function(){return(0,i.jsxs)("div",{id:"ketch-preferences-profile-preferences-tab",className:"ketch-flex ketch-h-full ketch-flex-col",children:[(0,i.jsxs)("div",{className:"ketch-mb-8 ketch-flex ketch-flex-col ketch-gap-4",children:[(0,i.jsx)(r.Text,{variant:r.TextVariants.H1,children:"Your Personal Preferences"}),(0,i.jsx)(r.Text,{variant:r.TextVariants.L,children:"Manage your account details and tailor your experience. Here, you can update your information and control how we interact with your data to ensure your journey is perfectly customized."})]}),(0,i.jsx)(o.ProfilePreferencesForm,{})]})}},7191(e,t,n){t.__esModule=!0,t.PurposesCategoriesTitle=void 0;var r=n(1992),o=n(5212),i=n(7178),s=n(9945),l=n(6274),a=n(2223);t.PurposesCategoriesTitle=function(e){var t,n,c=e.children,u=(0,o.useContext)(s.AppStateContextV2).themeMap;return(0,a.jsx)("div",{className:"ketch-mb-2 ketch-py-4",children:(0,a.jsx)(r.Text,{variant:r.TextVariants.H3,component:"h3",className:(0,i.cn)(null==u||null==(t=u.get(l.ThemeMapKeys.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_TITLE))?void 0:t.className,{"!ketch-underline":null==u||null==(n=u.get(l.ThemeMapKeys.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_TITLE))?void 0:n.underline}),children:c})})}},1860(e,t,n){t.__esModule=!0,t.PurposesViewDetails=void 0;var r=n(5212),o=n(7178),i=n(1992),s=n(8828),l=n(9945),a=n(6274),c=n(7761),u=n(6404),d=n(625),p=n(2973),h=n(9698),f=n(2223);t.PurposesViewDetails=function(){var e,t,n,_,E,g,m,b,T,v,S,y,C,O,N,k,P,R,I,A,x,w,L,B,D,M,U,F,j,V,G,H,K,q,W,Y,z,X=(0,r.useContext)(l.AppStateContextV2),Q=X.themeMap,$=X.store,J=$.dispatch,Z=$.state,ee=X.config,te=X.experiences,ne=(0,h.usePreferenceOutlineColor)(),re=null==te||null==(e=te.content)||null==(t=e.preference)||null==(n=t.tabs)||null==(_=n.purposes)||null==(E=_.header)?void 0:E.title,oe=null==te||null==(g=te.content)||null==(m=g.preference)||null==(b=m.tabs)||null==(T=b.purposes)||null==(v=T.header)?void 0:v.description,ie=null==Q?void 0:Q.get(a.ThemeMapKeys.PREFERENCE_TABS_PURPOSES_PURPOSELIST_PURPOSELISTITEMS_ARROWICON),se=null==Q||null==(S=Q.get(a.ThemeMapKeys.PREFERENCE_CONTAINER))?void 0:S.className,le=null==ie?void 0:ie.className,ae=(0,r.useMemo)(function(){var e,t,n,r,o,i,s,l=null==te||null==(e=te.layout)||null==(t=e.preference)||null==(n=t.tabs)||null==(r=n.purposes)||null==(o=r.header)||null==(i=o.title)?void 0:i.visible;if(Z.purposesViewMode===p.PurposeViewMode.PURPOSES)return l?re:null;var a=null==ee||null==(s=ee.purposes)?void 0:s.find(function(e){return e.code===Z.currentPurposeCode});if(a)return a.name+(a.tcfID||a.tcfType?" (TCF)":"");if(Z.purposesViewMode===p.PurposeViewMode.VENDORS){var c,u,d,h,f,_,E,g,m,b,T,v,S,y,C,O,N,k,P,R,I,A=null==te||null==(c=te.layout)||null==(u=c.preference)||null==(d=u.tabs)||null==(h=d.purposes)||null==(f=h.purposeList)||null==(_=f.vendors)||null==(E=_.link)?void 0:E.useDefaultText;return null!=te&&null!=(g=te.content)&&null!=(m=g.preference)&&null!=(b=m.tabs)&&null!=(T=b.purposes)&&null!=(v=T.purposeListHeader)&&null!=(S=v.links)&&S.length&&!A?null==te||null==(y=te.content)||null==(C=y.preference)||null==(O=C.tabs)||null==(N=O.purposes)||null==(k=N.purposeListHeader)||null==(P=k.links[0])?void 0:P.text:null==te||null==(R=te.content)||null==(I=R.static)?void 0:I.vendors}},[null==te||null==(y=te.layout)||null==(C=y.preference)||null==(O=C.tabs)||null==(N=O.purposes)||null==(k=N.header)||null==(P=k.title)?void 0:P.visible,null==ee?void 0:ee.purposes,null==te||null==(R=te.content)||null==(I=R.static)?void 0:I.vendors,re,Z.currentPurposeCode,Z.purposesViewMode,null==te||null==(A=te.content)||null==(x=A.preference)||null==(w=x.tabs)||null==(L=w.purposes)||null==(B=L.purposeListHeader)?void 0:B.links,null==te||null==(D=te.layout)||null==(M=D.preference)||null==(U=M.tabs)||null==(F=U.purposes)||null==(j=F.purposeList)||null==(V=j.vendors)||null==(G=V.link)?void 0:G.useDefaultText]);return(0,f.jsxs)("div",{className:"ketch-mb-8 ketch-flex ketch-flex-col ketch-gap-4",children:[Z.purposesViewMode!==p.PurposeViewMode.PURPOSES||ae?(0,f.jsxs)("div",{className:"ketch-flex ketch-items-center ketch-gap-4",children:[Z.purposesViewMode!==p.PurposeViewMode.PURPOSES&&(0,f.jsx)(c.Button,{className:(0,o.cn)("ketch-flex-shrink-0 ketch-flex-grow-0",se,ne),variant:"iconMd",size:"icon","aria-label":"back navigation",name:"back",onClick:function(){J((0,d.updateExperiencePurposesViewModeAction)(p.PurposeViewMode.PURPOSES))},children:(0,f.jsx)(u.BackIcon,{className:(0,o.cn)("ketch-fill-inherit",le)})}),ae&&(0,f.jsx)(i.Text,{variant:i.TextVariants.H1,className:(0,o.cn)(null==Q||null==(H=Q.get(a.ThemeMapKeys.PREFERENCE_TABS_PURPOSES_HEADER_TITLE))?void 0:H.className,{"!ketch-underline":null==Q||null==(K=Q.get(a.ThemeMapKeys.PREFERENCE_TABS_PURPOSES_HEADER_TITLE))?void 0:K.underline}),children:ae})]}):null,Z.purposesViewMode===p.PurposeViewMode.PURPOSES&&oe&&(0,f.jsx)(s.InterpolatedText,{htmlString:oe,textClassName:(0,o.cn)("!ketch-text-ketch-l",null==Q||null==(q=Q.get(a.ThemeMapKeys.PREFERENCE_TABS_PURPOSES_HEADER_DESCRIPTION))?void 0:q.className,{"!ketch-underline":null==Q||null==(W=Q.get(a.ThemeMapKeys.PREFERENCE_TABS_PURPOSES_HEADER_DESCRIPTION))?void 0:W.underline}),linkClassName:(0,o.cn)(null==Q||null==(Y=Q.get(a.ThemeMapKeys.PREFERENCE_TABS_PURPOSES_HEADER_LINK))?void 0:Y.className,{"!ketch-underline":null==Q||null==(z=Q.get(a.ThemeMapKeys.PREFERENCE_TABS_PURPOSES_HEADER_LINK))?void 0:z.underline},ne)})]})}},1051(e,t,n){t.__esModule=!0,t.Purposes=void 0;var r=n(8548);t.Purposes=r.Purposes},8548(e,t,n){t.__esModule=!0,t.Purposes=void 0;var r=n(5212),o=n(9945),i=n(1860),s=n(2973),l=n(181),a=n(1926),c=n(3212),u=n(2680),d=n(7191),p=n(4573),h=n(9533),f=n(2223);t.Purposes=function(){var e,t,n,_,E,g,m,b=(0,r.useContext)(o.AppStateContextV2),T=b.experiences,v=b.store.state;return(0,f.jsxs)("div",{id:"ketch-preferences-purposes-tab",className:"ketch-flex ketch-h-full ketch-min-w-0 ketch-max-w-full ketch-flex-col",children:[(0,f.jsx)(i.PurposesViewDetails,{}),(0,f.jsxs)("div",{className:"ketch-min-w-0 ketch-max-w-full ketch-flex-1 ketch-pb-1",children:[v.purposesViewMode===s.PurposeViewMode.PURPOSES&&(0,f.jsx)(l.PurposesList,{purposeLayoutVariant:a.PurposeLayoutVariant.Preference}),v.purposesViewMode===s.PurposeViewMode.COOKIES&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(d.PurposesCategoriesTitle,{children:null==T||null==(e=T.content)||null==(t=e.static)?void 0:t.cookies}),(0,f.jsx)(c.PurposeCookies,{experienceLayoutVariant:a.PurposeLayoutVariant.Preference})]}),v.purposesViewMode===s.PurposeViewMode.DATA_CATEGORIES&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(d.PurposesCategoriesTitle,{children:null==T||null==(n=T.content)||null==(_=n.static)?void 0:_.data_categories}),(0,f.jsx)(u.PurposeDataCategories,{experienceLayoutVariant:a.PurposeLayoutVariant.Preference})]}),v.purposesViewMode===s.PurposeViewMode.VENDORS&&(0,f.jsx)(p.Vendors,{}),v.purposesViewMode===s.PurposeViewMode.VENDOR_ILLUSTRATIONS&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(d.PurposesCategoriesTitle,{children:null!=(E=null==T||null==(g=T.content)||null==(m=g.static)?void 0:m.illustrations)?E:"Illustrations"}),(0,f.jsx)(h.PurposeVendorIllustrations,{})]})]})]})}},399(e,t,n){t.__esModule=!0,t.RequestsSuccess=t.RequestsHome=t.RequestsForm=t.RequestsError=void 0;var r=n(1939);t.RequestsHome=r.RequestsHome;var o=n(7663);t.RequestsForm=o.RequestsForm;var i=n(5717);t.RequestsSuccess=i.RequestsSuccess;var s=n(6102);t.RequestsError=s.RequestsError},6102(e,t,n){t.__esModule=!0,t.RequestsError=void 0;var r=n(7178),o=n(5212),i=n(8828),s=n(6274),l=n(9945),a=n(2223);t.RequestsError=function(){var e,t,n,c,u,d,p,h,f,_,E,g,m,b=(0,o.useContext)(l.AppStateContextV2),T=b.themeMap,v=b.config,S=b.experiences,y=null==S||null==(e=S.content)||null==(t=e.preference)||null==(n=t.tabs)||null==(c=n.requests)||null==(u=c.rightForm)?void 0:u.recaptchaFailureText,C=null==T?void 0:T.get(s.ThemeMapKeys.PREFERENCE_TABS_REQUESTS_SUBMITTED),O=null==v||null==(d=v.theme)||null==(p=d.preference)||null==(h=p.tabs)||null==(f=h.requests)||null==(_=f.submitted)||null==(E=_.text)||null==(g=E.description)?void 0:g.underline;return(0,a.jsx)("div",{className:(0,r.cn)("ketch-flex ketch-max-h-full ketch-flex-1 ketch-flex-col"),children:(0,a.jsx)("div",{className:"ketch-flex ketch-flex-1 ketch-flex-col ketch-gap-6",children:(0,a.jsx)(i.InterpolatedText,{htmlString:String(y),textClassName:(0,r.cn)(null==C||null==(m=C.description)?void 0:m.className,{"ketch-underline":O})})})})}},8293(e,t,n){t.__esModule=!0,t.RecaptchaDisclosure=void 0;var r=n(5212),o=n(7178),i=n(8828),s=n(9945),l=n(2223);t.RecaptchaDisclosure=function(){var e,t,n,a,c,u,d=(0,r.useContext)(s.AppStateContextV2).experiences,p=null==d||null==(e=d.content)?void 0:e.static,h=!(null==d||null==(t=d.layout)||null==(n=t.preference)||null==(a=n.tabs)||null==(c=a.requests)||null==(u=c.rightForm)||!u.enableRecaptcha),f=""+(null==p?void 0:p.this_site_is_protected_by)+" reCAPTCHA "+(null==p?void 0:p.and_the)+' Google '+(null==p?void 0:p.privacy_policy)+" "+(null==p?void 0:p.and)+' '+(null==p?void 0:p.terms_of_service)+" "+(null==p?void 0:p.apply)+".
";return h?(0,l.jsx)("div",{children:(0,l.jsx)(i.InterpolatedText,{htmlString:f,textClassName:(0,o.cn)("ketch-text-ketch-l")})}):null}},353(e,t,n){t.__esModule=!0,t.useRequestsFormUtils=void 0;var r,o=n(5212),i=n(9501),s=n(9945),l=n(2417),a=n(8435),c=n(6274),u=n(927),d=n(7178),p=n(9837),h=n(1459),f=n(625),_=n(1931),E=n(4457),g=(r=n(3764))&&r.__esModule?r:{default:r};function m(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return b(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n4e6){var u;P[r].errorMessage=null!=(u=null==ne?void 0:ne.cloudinary_supported_file_size)?u:"Maximum file size: 4 MB"}else P[r].errorMessage=null}return e()})},U=0,V=N,(xe=function(e){for(;e;){if(e.then)return void e.then(xe,n);try{if(e.pop){if(e.length)return e.pop()?Be.call(this):e;e=we}else e=e.call(this)}catch(e){return n(e)}}}.bind(this))(Le);function Be(){if(R.forEach(function(e){if(e.required){var t=String(e.name),n=(0,l.ensureArray)(e.options).map(function(e){return e.value});null!=n&&n.some(function(e){return k.includes(String(e))})?P[t].errorMessage=null:(P[t]=P[t]||{},P[t].touched=!0,P[t].errorMessage=ee)}}),G=N.filter(function(e){var t=e[0];return!I.includes(t)&&!D.dropdownFieldsLabelNames.includes(t)}).reduce(function(e,t){var n=t[0],r=t[1];r instanceof File||(r=g.default.sanitize(String(r))),"usPhone"===n&&(r=String(r).replace(/\D/g,""));var o=D.fieldNamesByFormDataKey[n];return o?e[o]=r:e[n]=r,e},{}),R.forEach(function(e){var t=C.querySelector("#"+e.name),n=null==t?void 0:t.elements,r=String(e.name);if(n){for(var o=[],i=0;i0,!se||!ae)return"profile_preferences_form"===ie.code?(Y.emit("profile_preferences_form_submitted",G),localStorage.setItem("ketch_profile_preferences",JSON.stringify(G)),W((0,f.updatePreferenceLocationAction)({activePreferenceTab:_.PreferenceTab.Welcome,activePreferenceSubTab:null,activeRightRequestCode:null})),t()):i.call(this);var e=function(e){return function(t){try{return j(!1),e&&e.call(this,t)}catch(e){return n(e)}}.bind(this)}.bind(this);if(pe=ie.sections.flatMap(function(e){return e.formFields||[]}),he=(null==K||null==(ce=K.profile)?void 0:ce.attributes)||[],fe=pe.map(function(e){var t=e.name;if(!t)return null;var n=he.find(function(e){return e.code===t}),r="multi_value"===(null==n?void 0:n.attributeType),o=G[t],i=Array.isArray(o);if(r||i){var s=i?o:O.getAll(t).map(function(e){return g.default.sanitize(String(e))});return 0===s.length?null:{attributeCode:t,attributeValueJSON:{values:s},source:"preference_center"}}var l=String(null!=o?o:"").trim();return l?{attributeCode:t,attributeValue:l,source:"preference_center"}:null}).filter(function(e){return null!==e}),0===fe.length)return t();var r=function(){try{return t()}catch(e){return n(e)}},o=function(t){try{return console.error("Profile preferences save failed",t),e(r)()}catch(t){return e(n)(t)}};try{return j(!0),Promise.resolve(Y.setProfilePreferences(fe)).then(function(t){try{var n=function(){try{return document.dispatchEvent(new CustomEvent("ketch:profilePreferencesSaved")),e(r)()}catch(e){return o(e)}},i=function(e){try{return console.error("Profile preferences re-fetch failed",e),n()}catch(e){return o(e)}};try{return Promise.resolve(Y.getProfilePreferences()).then(function(e){try{return _e=e,null==X||X(_e),n()}catch(e){return i(e)}},i)}catch(e){i(e)}}catch(e){return o(e)}},o)}catch(e){o(e)}function i(){if(null!=z&&null!=(E=z.layout)&&null!=(b=E.preference)&&null!=(T=b.tabs)&&null!=(S=T.requests)&&null!=(y=S.rightForm)&&y.enableRecaptcha){Ee=new URLSearchParams(window.location.search),me="true"===Ee.get("ketch_force_fail_recaptcha");var e=function(){try{(0,d.logObjectDetails)({isForceFailRecaptchaMode:me,recaptchaToken:Te},"handleOnSubmitRightsRequestRecaptchaEnabled","white");var e=function(){try{return s.call(this)}catch(e){return n(e)}}.bind(this),t=function(t){try{return console.error("error: ",t),j(!1),oe(),e()}catch(e){return n(e)}};try{for(j(!0),ve={},Se=[],ye=new FormData,Ce=O.get("email")||"",Oe=m(N);!(Ne=Oe()).done;)ke=Ne.value,Pe=ke[0],(Re=ke[1])&&Re instanceof File&&Re.size&&(ye.append("file",Re),ye.append("upload_preset","dsr_upload_preset"),ye.append("folder","requests/"+(null==(Ie=K.environment)?void 0:Ie.code)+"/"+K.organization.code+"/"+Ce),Se.push(ge(ye,ve,Pe)));if(Se.length)return Promise.resolve(Promise.all(Se)).then(function(e){try{return r.call(this)}catch(e){return t(e)}}.bind(this),t);function r(){return Promise.resolve(null==q?void 0:q({right:(null==Z?void 0:Z.code)||"",recaptchaToken:Te,subject:(0,p.extractSubjectFromValues)(G,ve)})).then(function(n){try{return be=n,(0,d.logObjectDetails)({resp:be},"handleOnSubmitRightsRequestRecaptchaEnabled","white"),j(!1),re(),e()}catch(e){return t(e)}},t)}return r.call(this)}catch(o){t(o)}}catch(i){return n(i)}}.bind(this),r=function(t){try{return console.error("error: ",t),oe(),e()}catch(e){return n(e)}};try{return me?(Te="invalid_recaptcha_token",l.call(this)):Promise.resolve((0,p.getRecaptchaToken)(K)).then(function(e){try{return Te=e,l.call(this)}catch(e){return r(e)}}.bind(this),r);function l(){return e()}}catch(a){r(a)}}else{var o=function(){try{return s.call(this)}catch(e){return n(e)}}.bind(this),i=function(e){try{return console.error("error: ",e),j(!1),o()}catch(e){return n(e)}};try{return j(!0),Promise.resolve(null==q?void 0:q({right:(null==Z?void 0:Z.code)||"",recaptchaToken:void 0,subject:(0,p.extractSubjectFromValues)(G,{})})).then(function(e){try{return Ae=e,(0,d.logObjectDetails)({resp:Ae},"handleOnSubmitRightsRequestRecaptchaEnabled","white"),j(!1),re(),o()}catch(e){return i(e)}},i)}catch(c){i(c)}}function s(){return t()}}return i.call(this)}})},handleSuccess:re,handleValidateCheckbox:function(e){var t=(null==e?void 0:e.name)||"",n=v({},ue);n[t]=v(v({},n[t]),{},{touched:!0});var r=ae.current,o=null==r?void 0:r.querySelector("#"+e.name),i=null==o?void 0:o.elements,s=[];if(i)for(var l=0;l0,a=document.createElement("script");a.src="https://www.google.com/recaptcha/api.js?render="+(null==c||null==(s=c.recaptcha)?void 0:s.siteKey),a.async=!0,document.head.appendChild(a);var d=document.createElement("style");return d.innerHTML=l?"div.grecaptcha-badge[data-style='none'] { visibility: hidden; }":".grecaptcha-badge { visibility: hidden; }",document.head.appendChild(d),a.onload=function(){var e;null==(e=window)||e.grecaptcha.ready(function(){(0,o.logObjectDetails)({"recaptcha ready":!0},"useRecaptchaInit.ts","white",!1)})},function(){var e,t,n,r=l?"div.grecaptcha-badge[data-style='none']":"div.grecaptcha-badge",o=document.querySelector(r);o&&(null==o||null==(e=o.parentElement)||e.remove()),a&&(null==(t=document)||null==(n=t.head)||null==n.removeChild||n.removeChild(a))}}},[null==c||null==(t=c.recaptcha)?void 0:t.siteKey,null==u||null==(n=u.layout)||null==(i=n.preference)||null==(s=i.tabs)||null==(l=s.requests)||null==(a=l.rightForm)?void 0:a.enableRecaptcha])}},1939(e,t,n){t.__esModule=!0,t.RequestsHome=void 0;var r=n(1992),o=n(5212),i=n(6274),s=n(8828),l=n(9945),a=n(7178),c=n(6404),u=n(7761),d=n(625),p=n(1931),h=n(1893),f=n(9698),_=n(2223);t.RequestsHome=function(){var e,t,n,E,g,m,b,T,v,S,y,C,O,N,k,P,R,I,A,x,w,L,B,D,M,U,F,j,V,G,H,K,q,W,Y,z,X,Q,$,J,Z,ee,te,ne,re,oe=(0,o.useContext)(l.AppStateContextV2),ie=oe.themeMap,se=oe.config,le=oe.experiences,ae=oe.store.dispatch,ce=oe.isPreviewMode,ue=oe.displayableRights||[],de=(0,f.usePreferenceOutlineColor)(),pe=null==se||null==(e=se.services)?void 0:e.portholeHost,he=(null==se||null==(t=se.organization)?void 0:t.code)||"",fe=null==le||null==(n=le.content)||null==(E=n.preference)||null==(g=E.tabs)||null==(m=g.requests)||null==(b=m.home)||null==(T=b.header)?void 0:T.title,_e=null==le||null==(v=le.layout)||null==(S=v.preference)||null==(y=S.tabs)||null==(C=y.requests)||null==(O=C.home)||null==(N=O.header)||null==(k=N.title)?void 0:k.visible,Ee=null==le||null==(P=le.content)||null==(R=P.preference)||null==(I=R.tabs)||null==(A=I.requests)||null==(x=A.home)||null==(w=x.header)?void 0:w.description,ge=null==le||null==(L=le.content)||null==(B=L.static)?void 0:B.select_a_request_type,me=null==le||null==(D=le.content)||null==(M=D.static)?void 0:M.no_rights_available,be=ie.get(i.ThemeMapKeys.PREFERENCE_TABS_REQUESTS_HOME_HEADER_TITLE),Te=ie.get(i.ThemeMapKeys.PREFERENCE_TABS_REQUESTS_HOME_HEADER_DESCRIPTION),ve=ie.get(i.ThemeMapKeys.PREFERENCE_TABS_REQUESTS_HOME_DSRPORTALLINK),Se=ie.get(i.ThemeMapKeys.PREFERENCE_TABS_REQUESTS_HOME_HEADER_LINK),ye=ie.get(i.ThemeMapKeys.PREFERENCE_TABS_REQUESTS_HOME_RIGHTSLIST_ITEM),Ce=ie.get(i.ThemeMapKeys.PREFERENCE_TABS_REQUESTS_HOME_RIGHTSLIST_TITLE),Oe=null==le||null==(U=le.content)||null==(F=U.preference)||null==(j=F.tabs)||null==(V=j.requests)||null==(G=V.home)||null==(H=G.dsrPortalLink)?void 0:H.title,Ne=null==le||null==(K=le.content)||null==(q=K.preference)||null==(W=q.tabs)||null==(Y=W.requests)||null==(z=Y.home)||null==(X=z.dsrPortalLink)?void 0:X.description,ke="https://cdn.uat.ketchjs.com"===(null==se||null==(Q=se.services)?void 0:Q.scriptHost)?"https://"+he+".dev.privacyportal.co":"https://"+he+".privacyportal.co";return(0,_.jsxs)("div",{className:"ketch-mb-8 ketch-flex ketch-flex-col ketch-gap-4 ketch-pl-1",children:[_e&&fe&&(0,_.jsx)(r.Text,{variant:r.TextVariants.H1,className:(0,a.cn)(null==be?void 0:be.className,{"ketch-underline":null==be?void 0:be.underline}),children:fe}),Ee&&(0,_.jsx)(s.InterpolatedText,{htmlString:String(Ee),textClassName:(0,a.cn)(null==Te?void 0:Te.className,"!ketch-text-ketch-l",{"!ketch-underline":null==Te?void 0:Te.underline}),linkClassName:(0,a.cn)(null==Se?void 0:Se.className,{"!ketch-underline":null==Se?void 0:Se.underline},de)}),(0,_.jsx)("a",{className:(0,a.cn)(null==ve||null==($=ve.backgroundColor)?void 0:$.className,null==ve||null==(J=ve.cornerRadius)?void 0:J.className,"ketch-mb-6 ketch-p-4 ketch-no-underline focus-visible:ketch-outline focus-visible:ketch-outline-2 focus-visible:ketch-outline-offset-2",de),href:null!=pe?pe:ke,target:"_blank",rel:"noreferrer",onClick:function(e){ce&&(e.preventDefault(),e.stopPropagation())},"aria-label":Oe?Oe+" (opens in a new tab)":"",children:(0,_.jsxs)("div",{className:"ketch-flex ketch-items-center ketch-gap-1",children:[(0,_.jsxs)("div",{className:"ketch-flex ketch-flex-1 ketch-flex-col ketch-items-start",children:[(0,_.jsx)(r.Text,{component:"h3",variant:r.TextVariants.H4,className:(0,a.cn)(null==ve||null==(Z=ve.titleColor)?void 0:Z.className,{"ketch-underline":null==ve||null==(ee=ve.titleColor)?void 0:ee.underline}),children:Oe}),(0,_.jsx)(r.Text,{variant:r.TextVariants.L,className:(0,a.cn)(null==ve||null==(te=ve.descriptionColor)?void 0:te.className,{"ketch-underline":null==ve||null==(ne=ve.descriptionColor)?void 0:ne.underline}),children:Ne})]}),(0,_.jsx)(c.BackIcon,{style:{transform:"rotate(180deg)"},className:(0,a.cn)(null==ve||null==(re=ve.iconColor)?void 0:re.className)})]})}),(0,_.jsxs)("div",{className:"ketch-flex ketch-flex-col ketch-gap-4",children:[(0,_.jsx)("div",{className:"ketch-flex ketch-flex-col ketch-gap-4",children:ue.length<1?(0,_.jsxs)(r.Text,{className:(0,a.cn)(null==Ce?void 0:Ce.className),variant:r.TextVariants.H4_BOLD,children:[me,"."]}):(0,_.jsx)(r.Text,{className:(0,a.cn)(null==Ce?void 0:Ce.className),variant:r.TextVariants.H2,children:ge})}),(0,_.jsx)("div",{className:"ketch-flex ketch-flex-col ketch-gap-4",children:ue.map(function(e){var t,n,o,i,s=e.code,l=e.name;return(0,_.jsxs)(u.Button,{className:(0,a.cn)(null==ye||null==(t=ye.cornerRadius)?void 0:t.className,null==ye||null==(n=ye.backgroundColor)?void 0:n.className,"!ketch-justify-between !ketch-p-4 focus-visible:!ketch-outline-offset-2",{"ketch-underline":!(null==ye||!ye.underline)},de),variant:"text",type:"button",size:"text",onClick:function(){ae((0,d.updatePreferenceLocationAction)({activePreferenceSubTab:p.PreferenceSubTab.RequestForm,activeRightRequestCode:s,activePreferenceTab:p.PreferenceTab.Requests}))},children:[(0,_.jsx)(r.Text,{variant:r.TextVariants.H4,className:(0,a.cn)(null==ye||null==(o=ye.titleColor)?void 0:o.className),children:l}),(0,_.jsx)(h.ArrowDownIcon,{style:{transform:"rotate(-90deg)"},className:(0,a.cn)(null==ye||null==(i=ye.iconColor)?void 0:i.className)})]},s)})})]})]})}},5717(e,t,n){t.__esModule=!0,t.RequestsSuccess=void 0;var r=n(7178),o=n(7761),i=n(5212),s=n(8828),l=n(1992),a=n(6274),c=n(9945),u=n(625),d=n(1931),p=n(3519),h=n(9698),f=n(85),_=n(573),E=n(2223);t.RequestsSuccess=function(){var e,t,n,g,m,b,T,v,S,y,C,O,N,k,P,R,I,A,x,w,L,B,D,M,U,F,j,V,G,H,K,q,W,Y,z,X,Q,$,J,Z,ee,te,ne,re,oe,ie,se,le,ae,ce,ue,de,pe,he,fe,_e,Ee,ge,me,be,Te,ve,Se,ye,Ce,Oe,Ne,ke,Pe,Re,Ie,Ae,xe,we,Le,Be,De,Me=(0,p.useIsImageLoaded)(),Ue=Me.isImageLoaded,Fe=Me.handleImageLoaded,je=(0,i.useContext)(c.AppStateContextV2),Ve=je.themeMap,Ge=je.config,He=je.experiences,Ke=je.store.dispatch,qe=(0,h.usePreferenceOutlineColor)(),We=(0,_.useMobileQuery)(),Ye=null==He||null==(e=He.content)||null==(t=e.preference)||null==(n=t.tabs)||null==(g=n.requests)||null==(m=g.submitted)?void 0:m.subtitle,ze=null==He||null==(b=He.content)||null==(T=b.preference)||null==(v=T.tabs)||null==(S=v.requests)||null==(y=S.submitted)?void 0:y.description,Xe=null==He||null==(C=He.content)||null==(O=C.preference)||null==(N=O.tabs)||null==(k=N.requests)||null==(P=k.submitted)?void 0:P.actionButtonText,Qe=null==Ge||null==(R=Ge.theme)||null==(I=R.preference)||null==(A=I.tabs)||null==(x=A.requests)||null==(w=x.submitted)||null==(L=w.banner)||null==(B=L.image)?void 0:B.url,$e=!(null==Ge||null==(D=Ge.theme)||null==(M=D.preference)||null==(U=M.tabs)||null==(F=U.requests)||null==(j=F.submitted)||null==(V=j.banner)||!V.visible||!Qe),Je=(null==Ge||null==(G=Ge.theme)||null==(H=G.preference)||null==(K=H.tabs)||null==(q=K.requests)||null==(W=q.submitted)||null==(Y=W.banner)||null==(z=Y.image)?void 0:z.name)||(null==Ge||null==(X=Ge.theme)||null==(Q=X.preference)||null==($=Q.tabs)||null==(J=$.requests)||null==(Z=J.submitted)||null==(ee=Z.banner)||null==(te=ee.image)?void 0:te.url),Ze=null==He||null==(ne=He.layout)||null==(re=ne.preference)||null==(oe=re.tabs)||null==(ie=oe.requests)||null==(se=ie.submitted)||null==(le=se.actionButton)?void 0:le.useDefaultText,et=null==He||null==(ae=He.layout)||null==(ce=ae.preference)||null==(ue=ce.tabs)||null==(de=ue.requests)||null==(pe=de.submitted)||null==(he=pe.actionButton)?void 0:he.visible,tt=null==Ve?void 0:Ve.get(a.ThemeMapKeys.PREFERENCE_TABS_REQUESTS_SUBMITTED),nt=null==Ve?void 0:Ve.get(a.ThemeMapKeys.PREFERENCE_TABS_REQUESTS_SUBMITTED_FOOTER_ACTIONBUTTON),rt=(0,f.getNestedProperty)(Ge.theme,a.ThemeMapKeys.PREFERENCE_TABS_REQUESTS_SUBMITTED_FOOTER_ACTIONBUTTON_STYLE),ot=null==Ge||null==(fe=Ge.theme)||null==(_e=fe.preference)||null==(Ee=_e.tabs)||null==(ge=Ee.requests)||null==(me=ge.submitted)||null==(be=me.text)||null==(Te=be.title)?void 0:Te.underline,it=null==Ge||null==(ve=Ge.theme)||null==(Se=ve.preference)||null==(ye=Se.tabs)||null==(Ce=ye.requests)||null==(Oe=Ce.submitted)||null==(Ne=Oe.text)||null==(ke=Ne.description)?void 0:ke.underline;return(0,E.jsxs)("div",{className:(0,r.cn)("ketch-flex ketch-max-h-full ketch-flex-1 ketch-flex-col"),children:[(0,E.jsxs)("div",{className:"ketch-flex ketch-flex-1 ketch-flex-col ketch-gap-6",children:[$e&&(0,E.jsx)("div",{className:"ketch-flex ketch-w-full",children:(0,E.jsx)("img",{src:Qe,alt:Je,className:(0,r.cn)("ketch-mb-4 ketch-aspect-[1024/480] ketch-h-auto ketch-max-h-44 ketch-w-auto ketch-max-w-full ketch-object-contain md:ketch-max-h-80 lg:ketch-max-h-[480px]",Ue?"ketch-opacity-100":"ketch-animate-pulseOpacity ketch-bg-slate-200 ketch-opacity-50"),onLoad:Fe})}),(0,E.jsxs)("div",{className:"ketch-flex ketch-flex-col ketch-gap-3",children:[(0,E.jsx)(l.Text,{component:"h3",variant:l.TextVariants.H3,className:(0,r.cn)(null==tt||null==(Pe=tt.subtitle)?void 0:Pe.className,{"ketch-underline":ot}),children:Ye}),(0,E.jsx)(s.InterpolatedText,{htmlString:String(ze),textClassName:(0,r.cn)(null==tt||null==(Re=tt.description)?void 0:Re.className,{"ketch-underline":it})})]})]}),(0,E.jsx)("div",{className:(0,r.cn)(" ketch-flex ketch-gap-4",{"ketch-absolute ketch-bottom-0 ketch-py-3":!We,"ketch-mb-3":We}),children:(0,E.jsx)(o.Button,{size:"md",variant:rt,type:"button",iconClassName:(0,r.cn)(null==nt||null==(Ie=nt.iconColor)?void 0:Ie.className),className:(0,r.cn)(null==nt||null==(Ae=nt.textColor)?void 0:Ae.className,null==nt||null==(xe=nt.cornerRadius)?void 0:xe.className,"filled"===rt&&(null==nt||null==(we=nt.backgroundColor)?void 0:we.className),"outlined"===rt&&(null==nt||null==(Le=nt.outline)?void 0:Le.className),{"ketch-hidden":!et,"ketch-w-full":We},"ketch-min-h-10",qe),onClick:function(){Ke((0,u.updatePreferenceLocationAction)({activePreferenceSubTab:d.PreferenceSubTab.RequestHome,activePreferenceTab:d.PreferenceTab.Requests,activeRightRequestCode:null}))},children:Ze?String(null==He||null==(Be=He.content)||null==(De=Be.static)?void 0:De.preference_rights_submit_new_request):Xe})})]})}},4457(e,t,n){t.__esModule=!0,t.useGetDoesDataSubjectTypeRequireRelationshipDetails=t.useDataSubjectOptions=void 0;var r=n(2245);t.useDataSubjectOptions=r.useDataSubjectOptions;var o=n(1850);t.useGetDoesDataSubjectTypeRequireRelationshipDetails=o.useGetDoesDataSubjectTypeRequireRelationshipDetails},2245(e,t,n){t.__esModule=!0,t.useDataSubjectOptions=void 0;var r=n(5212),o=n(9945),i=n(2417);t.useDataSubjectOptions=function(){var e,t,n=(0,r.useContext)(o.AppStateContextV2),s=n.showPreferenceOptions,l=n.config,a=((null==s||null==(e=s.dataSubjectTypeCodes)?void 0:e.length)||0)>0?null==s||null==(t=s.dataSubjectTypeCodes)?void 0:t.map(function(e){var t,n;return{value:e,label:(null==(t=l.dataSubjectTypes)||null==(n=t.find(function(t){return t.code===e}))?void 0:n.name)||""}}):(0,i.ensureArray)(null==l?void 0:l.dataSubjectTypes).map(function(e){return{value:e.code,label:e.name}});return null==a?void 0:a.filter(function(e){return Boolean(e.value)&&Boolean(e.label)})}},1850(e,t,n){t.__esModule=!0,t.useGetDoesDataSubjectTypeRequireRelationshipDetails=void 0;var r=n(5212),o=n(9945);t.useGetDoesDataSubjectTypeRequireRelationshipDetails=function(){var e=(0,r.useContext)(o.AppStateContextV2).config;return function(t){var n,r=null==(n=e.dataSubjectTypes)?void 0:n.find(function(e){return e.code===t});return(null==r?void 0:r.requiresUserInput)||!1}}},3634(e,t,n){t.__esModule=!0,t.Requests=void 0;var r=n(1318);t.Requests=r.Requests},1318(e,t,n){t.__esModule=!0,t.tabsThatDoNotNeedBackButton=t.Requests=void 0;var r,o=n(5212),i=n(9945),s=n(1931),l=n(399),a=n(2223),c=((r={})[s.PreferenceSubTab.RequestHome]=(0,a.jsx)(l.RequestsHome,{}),r[s.PreferenceSubTab.RequestForm]=(0,a.jsx)(l.RequestsForm,{}),r[s.PreferenceSubTab.RequestSuccess]=(0,a.jsx)(l.RequestsSuccess,{}),r[s.PreferenceSubTab.RequestError]=(0,a.jsx)(l.RequestsError,{}),r),u=[s.PreferenceSubTab.RequestSuccess];t.tabsThatDoNotNeedBackButton=u,t.Requests=function(){var e=(0,o.useContext)(i.AppStateContextV2).store.state.activePreferenceSubTab;return e?(0,a.jsx)("div",{id:"ketch-preferences-requests-tab",style:{display:"contents"},children:c[e]}):null}},9501(e,t,n){t.__esModule=!0,t.useGetFormTemplate=t.dummyDescription=void 0,t.useInsertTypeRelationDetailsAfterTypeCode=function(){var e=(0,o.useContext)(i.AppStateContextV2).experiences;return(0,o.useCallback)(function(t){var n,r,o,i,s={name:"typeRelationshipDetails",hint:String(null==e||null==(n=e.content)||null==(r=n.static)?void 0:r.tell_us_about_your_relationship_to_us),label:String(null==e||null==(o=e.content)||null==(i=o.static)?void 0:i.tell_us_about_your_relationship_to_us),category:"default",id:"2op8XXXtrcVEREQM5k0pf7ASDFdJjtX4K",type:"text",variant:"input",width:"half"},l=t.findIndex(function(e){return"typeCode"===e.name});return-1===l?t:[].concat(t.slice(0,l+1),[s],t.slice(l+1))},[e])};var r=n(927),o=n(5212),i=n(9945);t.useGetFormTemplate=function(){var e=(0,o.useContext)(i.AppStateContextV2),t=e.config,n=e.experiences,s=e.store.state;return(0,o.useCallback)(function(){var e,o,i,l,a,c,u,d,p,h=s.activeRightRequestCode,f=t.rights,_=null==n||null==(e=n.layout)||null==(o=e.preference)||null==(i=o.tabs)||null==(l=i.requests)||null==(a=l.home)||null==(c=a.rights)||null==(u=c.forms)?void 0:u.mode;if("profile_preferences_form"===h){var E,g=null==t||null==(E=t.formTemplates)?void 0:E.find(function(e){return"profile_preferences_form"===e.code});return g||function(e){var t,n=null==e||null==(t=e.profile)?void 0:t.attributes;if(null!=n&&n.length){var o={checkbox:r.FormFieldType.CHECKBOX,dropdown:r.FormFieldType.DROPDOWN,text:r.FormFieldType.TEXT,string:r.FormFieldType.TEXT,radio_button:r.FormFieldType.RADIO,date_picker:r.FormFieldType.DATE};return{code:"profile_preferences_form_override",id:"profile-preferences-001",name:"Profile Preferences",title:"Profile Preferences",sections:[{title:"",description:"",formFields:n.map(function(e){var t=o[e.renderType]||r.FormFieldType.DROPDOWN,n=t===r.FormFieldType.CHECKBOX||t===r.FormFieldType.RADIO;return{label:e.name,name:e.code,type:t,width:n?r.FormFieldWidth.FULL:r.FormFieldWidth.HALF,required:!1,attributeType:e.attributeType,dataType:e.dataType,constraints:e.constraints,options:(e.values||[]).map(function(e){var t;return{label:e.label||e.value,value:e.value,sortOrder:null!=(t=e.sortOrder)?t:0}}).sort(function(e,t){return e.sortOrder-t.sortOrder}).map(function(e){return{label:e.label,value:e.value}})}})}]}}}(t)}if(_===r.RightsFormMode.Single){var m,b,T,v,S,y,C,O=null==n||null==(m=n.layout)||null==(b=m.preference)||null==(T=b.tabs)||null==(v=T.requests)||null==(S=v.home)||null==(y=S.rights)||null==(C=y.forms)?void 0:C.singleFormID;return t.formTemplates.find(function(e){return e.id===O})}if(_===r.RightsFormMode.Custom){var N,k,P,R,I,A,x,w,L=null==f?void 0:f.find(function(e){return e.code===h}),B=null==L?void 0:L.canonicalRightCode,D=null==n||null==(N=n.layout)||null==(k=N.preference)||null==(P=k.tabs)||null==(R=P.requests)||null==(I=R.home)||null==(A=I.rights)||null==(x=A.forms)||null==(w=x.details)?void 0:w.find(function(e){return e.canonicalRight===B}),M=null==D?void 0:D.rightFormMappings;if(M){var U,F=null==M||null==(U=M.find(function(e){return e.rightCode===h}))?void 0:U.formID;if(F){var j=t.formTemplates.find(function(e){return e.id===F});if(j)return j;var V=null==D?void 0:D.defaultFormID;return t.formTemplates.find(function(e){return e.id===V})}var G=null==D?void 0:D.defaultFormID;return t.formTemplates.find(function(e){return e.id===G})}throw console.warn("falling back to single form template in custom mode"),new Error("No form template found for rightCode: "+h+" and canonicalRightCode: "+B)}var H,K,q=null==f?void 0:f.find(function(e){return e.code===h}),W=null==q?void 0:q.canonicalRightCode,Y=null==(d=t.customRightFormTemplates)||null==(p=d.find(function(e){return e.rightCode===(null==q?void 0:q.code)}))?void 0:p.formTemplateID;return Y||(Y=null==(H=t.canonicalRightFormTemplates)||null==(K=H.find(function(e){return e.canonicalRightCode===W}))?void 0:K.formTemplateID),t.formTemplates.find(function(e){return e.id===Y})},[t,s,n])},t.dummyDescription='We and our partners are using technologies like Cookies or Targeting to process personal data such as IP addresses or browser information in order to personalize the advertisements you see. You can read our Privacy Policy.
Here is some bold text.
Now some underlined italic text.
Let\'s have a list now
- item one
- item two
- item three
Another paragraph with a link You can read our Privacy Policy.
'},2166(e,t,n){t.__esModule=!0,t.SubscriptionControl=void 0;var r=n(5212),o=n(7178),i=n(1992),s=n(9945),l=n(6274),a=n(3201),c=n(927),u=n(342),d=n(2399),p=n(5714),h=n(7275),f=n(3628),_=n(2223),E=f.defaultThemeConfig.preference;t.SubscriptionControl=function(){var e,t,n,f,g,m,b,T,v,S,y,C,O,N,k,P,R,I,A,x,w,L,B,D,M,U,F,j,V,G,H,K,q,W,Y,z,X,Q,$,J,Z,ee=(0,r.useContext)(s.AppStateContextV2),te=ee.themeMap,ne=ee.experiences,re=ee.config.theme,oe=ee.store.state,ie=(0,r.useState)((null==(e=oe.controls[d.UNSUBSCRIBE_ALL])?void 0:e.status)===c.SubscriptionStatus.Denied),se=ie[0],le=ie[1],ae=(0,u.useSubscription)(),ce=ae.setUnsubscribeAll,ue=ae.setControlByCode,de=ae.isSubscriptionDisabled,pe=String(null==ne||null==(t=ne.content)||null==(n=t.static)?void 0:n.unsubscribe_from_all),he=(0,p.toTitleCase)(String(null==ne||null==(f=ne.content)||null==(g=f.static)?void 0:g.on)),fe=(0,p.toTitleCase)(String(null==ne||null==(m=ne.content)||null==(b=m.static)?void 0:b.off)),_e="subscription-bulk-control",Ee=(null==ne||null==(T=ne.layout)||null==(v=T.preference)||null==(S=v.tabs)||null==(y=S.subscriptions)?void 0:y.unsubscribeAll)||{},ge=Ee.title,me=Ee.visible,be=Ee.description,Te=Ee.switchButton,ve=(null==ne||null==(C=ne.content)||null==(O=C.preference)||null==(N=O.tabs)||null==(k=N.subscriptions)?void 0:k.unsubscribeAll)||{},Se=ve.title,ye=ve.description,Ce=ve.switchLabels,Oe=null!=Te&&Te.useDefaultText?he:null==Ce?void 0:Ce.onText,Ne=null!=Te&&Te.useDefaultText?fe:null==Ce?void 0:Ce.offText,ke=(null==re||null==(P=re.preference)||null==(R=P.tabs)||null==(I=R.subscriptions)||null==(A=I.list)||null==(x=A.layout)||null==(w=x.background)?void 0:w.color)||(null==E||null==(L=E.tabs)||null==(B=L.subscriptions)||null==(D=B.list)||null==(M=D.layout)||null==(U=M.background)?void 0:U.color),Pe=(null==re||null==(F=re.preference)||null==(j=F.tabs)||null==(V=j.subscriptions)||null==(G=V.list)||null==(H=G.layout)||null==(K=H.background)?void 0:K.opacity)||(null==E||null==(q=E.tabs)||null==(W=q.subscriptions)||null==(Y=W.list)||null==(z=Y.layout)||null==(X=z.background)?void 0:X.opacity),Re=(0,h.getOutlineColorByBackgroundColor)(ke,Pe),Ie=(0,r.useCallback)(function(){le(function(e){return e||ce(),ue(d.UNSUBSCRIBE_ALL,!e),!e})},[ue,ce]);if((0,r.useEffect)(function(){var e=Object.entries(oe.topics).every(function(e){var t=e[0],n=e[1];return!!de(t)||Object.values(n).every(function(e){return e.status===c.SubscriptionStatus.Denied})});se&&!e&&(le(!1),ue(d.UNSUBSCRIBE_ALL,!1))},[se,de,ue,oe.topics]),!me)return null;var Ae=null!=ge&&ge.useDefaultText?pe:Se;return(0,_.jsxs)("div",{className:(0,o.cn)("ketch-flex ketch-items-center ketch-justify-between ketch-gap-6 ketch-p-4",null==te||null==(Q=te.get(l.ThemeMapKeys.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL))?void 0:Q.className),children:[(0,_.jsxs)("div",{className:"ketch-inline-flex ketch-flex-col ketch-gap-1",children:[(0,_.jsx)(i.Text,{component:"h3",variant:i.TextVariants.H3,className:"ketch-text-bold ketch-text-inherit",children:Ae}),(null==be?void 0:be.visible)&&(0,_.jsx)(i.Text,{variant:i.TextVariants.L,className:"ketch-text-inherit",children:ye})]}),(0,_.jsxs)("label",{className:"ketch-inline-flex ketch-w-[134px] ketch-shrink-0 ketch-items-center ketch-justify-end ketch-gap-2 ketch-text-inherit",htmlFor:_e,"aria-label":Ae+" switch is "+(se?"checked":"unchecked"),children:[(0,_.jsx)("div",{className:"ketch-inline-flex ketch-flex-col ketch-items-end ketch-gap-[-2px] ketch-text-inherit",children:(null==Te?void 0:Te.visible)&&(0,_.jsx)(i.Text,{className:(0,o.cn)("ketch-text-inherit",se?null==te||null==($=te.get(l.ThemeMapKeys.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL_SWITCHBUTTON_ON_TEXT))?void 0:$.className:null==te||null==(J=te.get(l.ThemeMapKeys.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL_SWITCHBUTTON_OFF_TEXT))?void 0:J.className),variant:i.TextVariants.S_BOLD,component:"span","aria-hidden":!0,children:se?Oe:Ne})}),(0,_.jsx)(a.Switch,{id:_e,checked:se,onChange:Ie,className:(0,o.cn)(null==te||null==(Z=te.get(l.ThemeMapKeys.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL_SWITCHBUTTON))?void 0:Z.className,Re),"aria-hidden":!0})]})]})}},1348(e,t,n){t.__esModule=!0,t.SubscriptionItem=void 0;var r=n(5212),o=n(7178),i=n(1992),s=n(9945),l=n(6274),a=n(3201),c=n(927),u=n(8634),d=n(2399),p=n(342),h=n(5714),f=n(7275),_=n(3628),E=n(2223),g=_.defaultThemeConfig.preference;t.SubscriptionItem=function(e){var t,n,_,m,b,T,v,S,y,C,O,N,k,P,R,I,A,x,w,L,B,D,M,U,F,j,V,G,H,K,q,W,Y,z,X,Q,$,J,Z,ee,te,ne,re,oe,ie,se,le,ae,ce=e.code,ue=e.title,de=e.description,pe=e.legalBasis,he=e.contactMethods,fe=void 0===he?[]:he,_e=e.contractMethodsList,Ee=void 0===_e?{}:_e,ge=(0,r.useContext)(s.AppStateContextV2),me=ge.themeMap,be=ge.config.theme,Te=ge.experiences,ve=(null==be||null==(t=be.preference)||null==(n=t.tabs)||null==(_=n.subscriptions)||null==(m=_.list)||null==(b=m.layout)||null==(T=b.background)?void 0:T.color)||(null==g||null==(v=g.tabs)||null==(S=v.subscriptions)||null==(y=S.list)||null==(C=y.layout)||null==(O=C.background)?void 0:O.color),Se=(null==be||null==(N=be.preference)||null==(k=N.tabs)||null==(P=k.subscriptions)||null==(R=P.list)||null==(I=R.layout)||null==(A=I.background)?void 0:A.opacity)||(null==g||null==(x=g.tabs)||null==(w=x.subscriptions)||null==(L=w.list)||null==(B=L.layout)||null==(D=B.background)?void 0:D.opacity),ye=(0,f.getOutlineColorByBackgroundColor)(ve,Se),Ce=(0,r.useState)(!1),Oe=Ce[0],Ne=Ce[1],ke=(0,p.useSubscription)(),Pe=ke.getStatusOfContractMethod,Re=ke.isTopicOn,Ie=ke.setContractMethodsStatus,Ae=ke.setOneStatusOfContractMethods,xe=null==be||null==(M=be.preference)||null==(U=M.tabs)||null==(F=U.subscriptions)||null==(j=F.list)||null==(V=j.layout)?void 0:V.style,we=(null==be||null==(G=be.preference)||null==(H=G.tabs)||null==(K=H.subscriptions)||null==(q=K.list)||null==(W=q.layout)?void 0:W.channelArrangement)||c.SubscriptionChannelArrangementStyle.Horizontal,Le=(0,h.toTitleCase)(String(null==Te||null==(Y=Te.content)||null==(z=Y.static)?void 0:z.on)),Be=(0,h.toTitleCase)(String(null==Te||null==(X=Te.content)||null==(Q=X.static)?void 0:Q.off)),De=((null==Te||null==($=Te.layout)||null==(J=$.preference)||null==(Z=J.tabs)||null==(ee=Z.subscriptions)?void 0:ee.list)||{}).switchButtons,Me=null==Te||null==(te=Te.content)||null==(ne=te.preference)||null==(re=ne.tabs)||null==(oe=re.subscriptions)?void 0:oe.listSwitchLabels,Ue=null!=De&&De.useDefaultText?Le:null==Me?void 0:Me.onText,Fe=null!=De&&De.useDefaultText?Be:null==Me?void 0:Me.offText,je=(0,r.useMemo)(function(){return(null==fe?void 0:fe.filter(function(e){return e!==d.CHANNEL_AGNOSTIC}).sort())||[]},[fe]),Ve=pe===d.LEGAL_BASIS.DISCLOSURE,Ge=(0,r.useCallback)(function(){Ne(function(e){return Ae(ce,fe,!e),!e})},[ce,Ae,fe]);(0,r.useEffect)(function(){var e=Re(ce,fe);Ne(e)},[ce,Ve,Re,Ie,fe]);var He=null==je?void 0:je.some(function(e){var t;return null==Ee||null==(t=Ee[e])?void 0:t.description});return(0,E.jsxs)("div",{className:(0,o.cn)("ketch-flex ketch-flex-col ketch-gap-5 ketch-px-4 ketch-pb-4 ketch-pt-3 md:ketch-gap-6",null==me||null==(ie=me.get(l.ThemeMapKeys.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_LAYOUT))?void 0:ie.className,{"ketch-bottom-1 ketch-border-0 ketch-border-b ketch-border-solid":xe===c.SubscriptionListStyle.Underlined}),children:[(0,E.jsxs)("div",{className:"ketch-flex ketch-items-center ketch-justify-between ketch-gap-5",children:[(0,E.jsxs)("div",{className:"ketch-inline-flex ketch-flex-col ketch-gap-1",children:[ue&&(0,E.jsx)(i.Text,{component:"p",variant:i.TextVariants.H3,className:"ketch-text-bold ketch-text-inherit",children:ue}),de&&(0,E.jsx)(i.Text,{variant:i.TextVariants.L,className:"ketch-text-inherit",children:de})]}),(0,E.jsxs)("label",{className:"ketch-inline-flex ketch-w-[134px] ketch-shrink-0 ketch-items-center ketch-justify-end ketch-gap-2 ketch-text-inherit",htmlFor:ce,"aria-label":ue+" switch is "+(Oe?"checked":"unchecked"),children:[(0,E.jsx)("div",{className:"ketch-inline-flex ketch-flex-col ketch-items-end ketch-gap-[-2px] ketch-text-inherit",children:(null==De?void 0:De.visible)&&(0,E.jsx)(i.Text,{className:(0,o.cn)("ketch-text-inherit",Oe?null==me||null==(se=me.get(l.ThemeMapKeys.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_SWITCHBUTTON_ON_TEXT))?void 0:se.className:null==me||null==(le=me.get(l.ThemeMapKeys.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_SWITCHBUTTON_OFF_TEXT))?void 0:le.className,{"ketch-opacity-[.24]":Ve}),variant:i.TextVariants.S_BOLD,component:"span","aria-hidden":!0,children:Oe?Ue:Fe})}),(0,E.jsx)(a.Switch,{id:ce,checked:Oe,onChange:Ge,disabled:Ve,className:(0,o.cn)(null==me||null==(ae=me.get(l.ThemeMapKeys.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_SWITCHBUTTON))?void 0:ae.className,ye)})]})]}),(0,E.jsx)("div",{className:(0,o.cn)("ketch-flex ketch-gap-6 md:ketch-gap-8",{"ketch-flex-col":we===c.SubscriptionChannelArrangementStyle.Vertical,"ketch-flex-wrap":we===c.SubscriptionChannelArrangementStyle.Horizontal}),children:je.map(function(e){var t,n,r,i,s,a,c,d,p=Pe(ce,e);return(0,E.jsx)(u.Checkbox,{disabled:Ve,checked:p,ariaLabel:"Subscribe to "+ue+" via "+Ee[e].name,onChange:function(){var t=Pe(ce,e);Ie(ce,e,!t)},labelText:Ee[e].name,labelDescription:Ee[e].description,unselectedLabelClassName:(0,o.cn)(null==me||null==(t=me.get(l.ThemeMapKeys.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_CHECKBOX))||null==(n=t.unselectedCheckboxLabel)?void 0:n.className),selectedLabelClassName:(0,o.cn)(null==me||null==(r=me.get(l.ThemeMapKeys.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_CHECKBOX))||null==(i=r.selectedCheckboxLabel)?void 0:i.className),className:(0,o.cn)(null==me||null==(s=me.get(l.ThemeMapKeys.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_CHECKBOX))||null==(a=s.selectedCheckboxBackground)?void 0:a.className,null==me||null==(c=me.get(l.ThemeMapKeys.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_CHECKBOX))||null==(d=c.unselectedCheckboxBackground)?void 0:d.className,ye),hasContactMethodDescription:He,channelArrangement:we},e)})})]})}},2367(e,t,n){t.__esModule=!0,t.SubscriptionViewDetails=void 0;var r=n(5212),o=n(7178),i=n(1992),s=n(8828),l=n(9945),a=n(6274),c=n(9698),u=n(2223);t.SubscriptionViewDetails=function(){var e,t,n,d,p,h,f,_,E,g,m,b,T,v,S,y,C,O,N,k,P,R,I=(0,r.useContext)(l.AppStateContextV2),A=I.themeMap,x=I.experiences,w=(0,c.usePreferenceOutlineColor)(),L=null==x||null==(e=x.content)||null==(t=e.preference)||null==(n=t.tabs)||null==(d=n.subscriptions)||null==(p=d.header)?void 0:p.title,B=null==x||null==(h=x.layout)||null==(f=h.preference)||null==(_=f.tabs)||null==(E=_.subscriptions)||null==(g=E.header)||null==(m=g.title)?void 0:m.visible,D=null==x||null==(b=x.content)||null==(T=b.preference)||null==(v=T.tabs)||null==(S=v.subscriptions)||null==(y=S.header)?void 0:y.description;return(0,u.jsxs)("div",{className:"ketch-mb-8 ketch-flex ketch-flex-col ketch-gap-4",children:[B&&L?(0,u.jsx)("div",{className:"ketch-flex ketch-items-center ketch-gap-4",children:(0,u.jsx)(i.Text,{variant:i.TextVariants.H1,className:(0,o.cn)(null==A||null==(C=A.get(a.ThemeMapKeys.PREFERENCE_TABS_SUBSCRIPTIONS_HEADER_TITLE))?void 0:C.className,{"!ketch-underline":null==A||null==(O=A.get(a.ThemeMapKeys.PREFERENCE_TABS_SUBSCRIPTIONS_HEADER_TITLE))?void 0:O.underline}),children:L})}):null,D?(0,u.jsx)(s.InterpolatedText,{htmlString:D,textClassName:(0,o.cn)("!ketch-text-ketch-l",null==A||null==(N=A.get(a.ThemeMapKeys.PREFERENCE_TABS_SUBSCRIPTIONS_HEADER_DESCRIPTION))?void 0:N.className,{"!ketch-underline":null==A||null==(k=A.get(a.ThemeMapKeys.PREFERENCE_TABS_SUBSCRIPTIONS_HEADER_DESCRIPTION))?void 0:k.underline}),linkClassName:(0,o.cn)(null==A||null==(P=A.get(a.ThemeMapKeys.PREFERENCE_TABS_SUBSCRIPTIONS_HEADER_LINK))?void 0:P.className,{"!ketch-underline":null==A||null==(R=A.get(a.ThemeMapKeys.PREFERENCE_TABS_SUBSCRIPTIONS_HEADER_LINK))?void 0:R.underline},w)}):null]})}},2399(e,t){t.__esModule=!0,t.UNSUBSCRIBE_ALL=t.LEGAL_BASIS=t.CHANNEL_AGNOSTIC=t.ACTIONS=void 0,t.ACTIONS={UPDATE_TOPIC:"UPDATE_TOPIC",UPDATE_TOPIC_CONTROL_METHOD:"UPDATE_TOPIC_CONTROL_METHOD",UNSUBSCRIBE_ALL_TOPICS:"UNSUBSCRIBE_ALL_TOPICS",UPDATE_CONTROL:"UPDATE_CONTROL"},t.LEGAL_BASIS={OPT_IN:"consent_optin",OPT_OUT:"consent_optout",DISCLOSURE:"disclosure"},t.UNSUBSCRIBE_ALL="global_control",t.CHANNEL_AGNOSTIC="na"},342(e,t,n){t.__esModule=!0,t.useSubscription=void 0;var r=n(5212),o=n(9945),i=n(625),s=n(927),l=n(4267),a=n(2399),c=n(6357);function u(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 d(e){for(var t=1;t0,!1!==h&&(a||[]).length>0].filter(function(e){return!!e}).length<=1}},9117(e,t,n){t.__esModule=!0,t.ProgressiveActionButtons=void 0;var r=n(5212),o=n(7178),i=n(7761),s=n(6274),l=n(9945),a=n(3628),c=n(7275),u=n(8575),d=n(927),p=n(2223);t.ProgressiveActionButtons=function(e){var t,n,h,f,_,E,g,m,b,T,v,S,y,C,O,N,k,P,R,I,A,x=e.onSubscriptionSubmit,w=(0,r.useContext)(l.AppStateContextV2),L=w.progressiveExperience,B=w.config.theme,D=w.themeMap,M=w.isPreviewMode,U=(0,u.useProgressiveActionButton)().handleActionButtonClick,F=(0,r.useRef)(null),j=null==L?void 0:L.layout.actionButtons,V=(0,r.useMemo)(function(){var e,t,n,r,o,i,l,a,c,u,d,p;return[{id:"primary",action:null==j?void 0:j.primary.action,purposeCodes:null==j?void 0:j.primary.purposeCodes,isVisible:!0,text:null==L?void 0:L.content.actionButtons.primaryText,twClasses:null==(e=D.get(s.ThemeMapKeys.BANNER_BUTTONS_PRIMARY))?void 0:e.className,variant:null==B||null==(t=B.banner)||null==(n=t.buttons)||null==(r=n.primary)?void 0:r.style},{id:"secondary",action:null==j?void 0:j.secondary.action,purposeCodes:null==j?void 0:j.secondary.purposeCodes,isVisible:!0,text:null==L?void 0:L.content.actionButtons.secondaryText,twClasses:null==(o=D.get(s.ThemeMapKeys.BANNER_BUTTONS_SECONDARY))?void 0:o.className,variant:null==B||null==(i=B.banner)||null==(l=i.buttons)||null==(a=l.secondary)?void 0:a.style},{id:"tertiary",action:null==j?void 0:j.tertiary.action,purposeCodes:null==j?void 0:j.tertiary.purposeCodes,isVisible:null==j?void 0:j.tertiary.visible,text:null==L?void 0:L.content.actionButtons.tertiaryText,twClasses:null==(c=D.get(s.ThemeMapKeys.BANNER_BUTTONS_TERTIARY))?void 0:c.className,variant:null==B||null==(u=B.banner)||null==(d=u.buttons)||null==(p=d.tertiary)?void 0:p.style}]},[null==B||null==(t=B.banner)||null==(n=t.buttons)||null==(h=n.primary)?void 0:h.style,null==B||null==(f=B.banner)||null==(_=f.buttons)||null==(E=_.secondary)?void 0:E.style,null==B||null==(g=B.banner)||null==(m=g.buttons)||null==(b=m.tertiary)?void 0:b.style,null==j?void 0:j.primary.action,null==j?void 0:j.secondary.action,null==j?void 0:j.tertiary.action,null==j?void 0:j.tertiary.visible,null==j?void 0:j.primary.purposeCodes,null==j?void 0:j.secondary.purposeCodes,null==j?void 0:j.tertiary.purposeCodes,null==L?void 0:L.content.actionButtons.primaryText,null==L?void 0:L.content.actionButtons.secondaryText,null==L?void 0:L.content.actionButtons.tertiaryText,D]),G=(null==B||null==(T=B.banner)||null==(v=T.container)||null==(S=v.background)?void 0:S.color)||(null==(y=a.defaultThemeConfig.banner)||null==(C=y.container)||null==(O=C.background)?void 0:O.color),H=(null==B||null==(N=B.banner)||null==(k=N.container)||null==(P=k.background)?void 0:P.opacity)||(null==(R=a.defaultThemeConfig.banner)||null==(I=R.container)||null==(A=I.background)?void 0:A.opacity),K=(0,c.getOutlineColorByBackgroundColor)(G,H);return(0,p.jsx)("div",{className:(0,o.cn)("ketch-flex ketch-gap-3 ketch-pt-2"),children:V.map(function(e){if(e.isVisible)return(0,p.jsx)(i.Button,{className:(0,o.cn)("ketch-w-full sm:ketch-w-auto",null==e?void 0:e.twClasses,K,"lm:ketch-text-ketch-lm"),size:"lm",disabled:M,onClick:function(){return new Promise(function(t,n){if(e.action)return Promise.resolve(U(e.action,e.purposeCodes)).then(function(e){try{return(null==L?void 0:L.layout.type)===d.ProgressiveExperienceType.Subscription&&x(),r.call(this)}catch(e){return n(e)}}.bind(this),n);function r(){return t()}return r.call(this)})},ref:"primary"===e.id?F:null,shouldApplyDisabledStyles:!M,variant:e.variant,children:e.text},e.id)})})}},1337(e,t,n){t.__esModule=!0,t.ProgressiveDescription=void 0;var r=n(3628),o=n(927),i=n(5212),s=n(7178),l=n(8828),a=n(6274),c=n(9945),u=n(7275),d=n(2223);t.ProgressiveDescription=function(){var e,t,n,p,h,f,_,E,g,m,b,T,v,S,y=(0,i.useContext)(c.AppStateContextV2),C=y.progressiveExperience,O=y.themeMap,N=y.config.theme;if(!C)return null;var k=C.layout,P=k.type,R=k.consentLayout,I=C.content.description,A=P===o.ProgressiveExperienceType.Consent&&R===o.ProgressiveExperienceConsentLayout.ToggleSwitch,x=r.defaultThemeConfig.banner,w=(null==N||null==(e=N.banner)||null==(t=e.container)||null==(n=t.background)?void 0:n.color)||(null==x||null==(p=x.container)||null==(h=p.background)?void 0:h.color),L=(null==N||null==(f=N.banner)||null==(_=f.container)||null==(E=_.background)?void 0:E.opacity)||(null==x||null==(g=x.container)||null==(m=g.background)?void 0:m.opacity),B=(0,u.getOutlineColorByBackgroundColor)(w,L);return(0,d.jsx)("div",{className:(0,s.cn)({"ketch-py-1":A}),children:(0,d.jsx)(l.InterpolatedText,{htmlString:I,linkClassName:(0,s.cn)(null==O||null==(b=O.get(a.ThemeMapKeys.BANNER_DESCRIPTION_LINK))?void 0:b.className,{"!ketch-underline":null==O||null==(T=O.get(a.ThemeMapKeys.BANNER_DESCRIPTION_LINK))?void 0:T.underline},B),textClassName:(0,s.cn)({"!ketch-underline":null==O||null==(v=O.get(a.ThemeMapKeys.BANNER_DESCRIPTION_TEXT))?void 0:v.underline},"lm:ketch-text-ketch-lm",null==O||null==(S=O.get(a.ThemeMapKeys.BANNER_DESCRIPTION_TEXT))?void 0:S.className)})})}},7812(e,t,n){t.__esModule=!0,t.ProgressiveHeader=void 0;var r=n(5212),o=n(1992),i=n(6274),s=n(9945),l=n(2223);t.ProgressiveHeader=function(){var e,t=(0,r.useContext)(s.AppStateContextV2),n=t.progressiveExperience,a=t.themeMap;if(!n)return null;var c=n.content.header;return(0,l.jsx)("div",{children:(0,l.jsx)(o.Text,{variant:o.TextVariants.H4,className:null==(e=a.get(i.ThemeMapKeys.BANNER_HEADER_TITLE))?void 0:e.className,children:c})})}},613(e,t,n){t.__esModule=!0,t.ProgressiveSubscriptions=void 0;var r=n(3628),o=n(5212),i=n(7178),s=n(8634),l=n(342),a=n(1322),c=n(6274),u=n(9945),d=n(7275),p=n(2223);t.ProgressiveSubscriptions=function(){var e,t,n,h,f,_,E,g,m,b,T,v,S,y,C,O,N,k,P,R,I,A,x,w,L,B,D,M=(0,o.useContext)(u.AppStateContextV2),U=M.themeMap,F=M.config,j=M.progressiveExperience,V=(0,l.useSubscription)(),G=V.enrichedSubscriptionItems,H=V.getStatusOfContractMethod,K=V.setOneStatusOfContractMethods,q=j.layout.subscriptionTopicCodes[0],W=G.find(function(e){return e.code===q}),Y=(0,o.useMemo)(function(){var e;return(null==W||null==(e=W.contactMethods)?void 0:e.filter(function(e){return e!==a.CHANNEL_AGNOSTIC}).sort())||[]},[null==W?void 0:W.contactMethods]);if(!W)return console.error("Subscription topic with code "+q+" not found in config"),null;var z=(null==(e=F.subscription)?void 0:e.contactMethods)||{},X=(null==W?void 0:W.legalBasis)===a.LEGAL_BASIS.DISCLOSURE,Q=(null==(t=F.theme)||null==(n=t.preference)||null==(h=n.tabs)||null==(f=h.subscriptions)||null==(_=f.list)||null==(E=_.layout)||null==(g=E.background)?void 0:g.color)||(null==r.defaultThemeConfig||null==(m=r.defaultThemeConfig.preference)||null==(b=m.tabs)||null==(T=b.subscriptions)||null==(v=T.list)||null==(S=v.layout)||null==(y=S.background)?void 0:y.color),$=(null==(C=F.theme)||null==(O=C.preference)||null==(N=O.tabs)||null==(k=N.subscriptions)||null==(P=k.list)||null==(R=P.layout)||null==(I=R.background)?void 0:I.opacity)||(null==r.defaultThemeConfig||null==(A=r.defaultThemeConfig.preference)||null==(x=A.tabs)||null==(w=x.subscriptions)||null==(L=w.list)||null==(B=L.layout)||null==(D=B.background)?void 0:D.opacity),J=(0,d.getOutlineColorByBackgroundColor)(Q,$);return(0,p.jsx)("div",{className:"ketch-flex ketch-flex-wrap ketch-gap-x-6 ketch-gap-y-4 ketch-py-2",children:Y.map(function(e){var t,n,r,o,l,a,u,d,h=H(W.code,e);return(0,p.jsx)(s.Checkbox,{disabled:X,checked:h,ariaLabel:"Subscribe to "+W.name+" via "+(null==(t=z[e])?void 0:t.name),onChange:function(){return new Promise(function(t,n){var r=H(W.code,e);return K(W.code,[e],!r),t()})},labelText:null==(n=z[e])?void 0:n.name,unselectedLabelClassName:(0,i.cn)(null==(r=U.get(c.ThemeMapKeys.BANNER_HEADER_TITLE))?void 0:r.className),selectedLabelClassName:(0,i.cn)(null==(o=U.get(c.ThemeMapKeys.BANNER_HEADER_TITLE))?void 0:o.className),className:(0,i.cn)(null==U||null==(l=U.get(c.ThemeMapKeys.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_CHECKBOX))||null==(a=l.selectedCheckboxBackground)?void 0:a.className,null==U||null==(u=U.get(c.ThemeMapKeys.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_CHECKBOX))||null==(d=u.unselectedCheckboxBackground)?void 0:d.className,J)},e)})})}},4118(e,t,n){t.__esModule=!0,t.ProgressiveSwitchButton=void 0;var r=n(5212),o=n(4621),i=n(3201),s=n(9945),l=n(1992),a=n(8821),c=n(1926),u=n(7943),d=n(2223),p="progressive-consent-switch";t.ProgressiveSwitchButton=function(){var e,t,n,h,f=(0,r.useContext)(s.AppStateContextV2),_=f.progressiveExperience,E=f.experiences,g=f.store,m=g.state.purposeConsents,b=g.dispatch,T=f.host,v=(0,r.useState)(!1),S=v[0],y=v[1],C=(0,u.usePurposeVendorConsents)().setConsentsPurposeByCode,O=null==_?void 0:_.layout.switchButtons.purposeCodes,N=_.content.switchButtons,k=N.onText,P=N.offText,R=_.layout.switchButtons,I=R.labelVisible,A=R.useDefaultText,x=(0,r.useMemo)(function(){return!(null==O||!O.length)&&m[O[0]]},[O,m]),w=(0,r.useCallback)(function(e){e.preventDefault(),null!=O&&O.length&&(C(O,!x),y(!0))},[O,x,C]);(0,r.useEffect)(function(){S&&(T.setConsent({purposes:m}),y(!1))},[S,y,m,T,b]);var L=(0,r.useMemo)(function(){var e,t,n,r;return I?A?x?null==E||null==(e=E.content)||null==(t=e.static)?void 0:t.opted_in:null==E||null==(n=E.content)||null==(r=n.static)?void 0:r.opted_out:x?k:P:""},[x,k,P,A,null==E||null==(e=E.content)||null==(t=e.static)?void 0:t.opted_in,null==E||null==(n=E.content)||null==(h=n.static)?void 0:h.opted_out,I]),B=(0,a.useConfigsByPurposeLayoutVariant)(c.PurposeLayoutVariant.Modal),D=B.purposeListItemsSwitchTheme,M=B.purposeListItemsSwitchTextTheme,U=x?M.on:M.off,F="switch is "+(x?"checked":"unchecked");return(0,d.jsx)("label",{className:"ketch-inline-flex ketch-shrink-0 ketch-pl-4",htmlFor:p,"aria-label":F,children:(0,d.jsxs)("div",{className:"ketch-inline-flex ketch-items-center ketch-gap-2 ketch-text-inherit",onClick:function(e){e.stopPropagation()},onKeyPress:function(e){e.stopPropagation()},onMouseDown:function(e){e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()},role:"presentation",children:[(0,d.jsx)("div",{className:"ketch-inline-flex ketch-flex-col ketch-items-end ketch-gap-[-2px] ketch-text-inherit",children:L&&(0,d.jsx)(l.Text,{className:(0,o.cn)("ketch-text-inherit",U),variant:l.TextVariants.S_BOLD,component:"span",children:L})}),(0,d.jsx)(i.Switch,{id:p,checked:x,onChange:w,className:D})]})})}},5953(e,t,n){t.__esModule=!0,t.ProgressiveView=void 0;var r=n(927),o=n(5212),i=n(9945),s=n(7812),l=n(1337),a=n(4118),c=n(613),u=n(9117),d=n(7178),p=n(6274),h=n(1992),f=n(2223);t.ProgressiveView=function(){var e,t,n=(0,o.useContext)(i.AppStateContextV2),_=n.progressiveExperience,E=n.themeMap,g=(0,o.useState)(!1),m=g[0],b=g[1];if(!_)return null;var T=_.layout,v=T.type,S=T.consentLayout;return v===r.ProgressiveExperienceType.Consent&&S===r.ProgressiveExperienceConsentLayout.ToggleSwitch?(0,f.jsxs)("div",{className:(0,d.cn)("ketch-flex ketch-min-w-[484px] ketch-flex-row ketch-justify-center ketch-px-4 ketch-py-2",null==E||null==(e=E.get(p.ThemeMapKeys.BANNER_CONTAINER))?void 0:e.className),children:[(0,f.jsxs)("div",{className:"ketch-flex ketch-flex-col",children:[(0,f.jsx)(s.ProgressiveHeader,{}),(0,f.jsx)(l.ProgressiveDescription,{})]}),(0,f.jsx)(a.ProgressiveSwitchButton,{})]}):(0,f.jsx)("div",{className:"ketch-flex ketch-min-w-[484px] ketch-flex-col ketch-px-4 ketch-pb-4 ketch-pt-3",children:m?(0,f.jsx)("div",{className:"ketch-flex ketch-min-h-[125px] ketch-animate-fadeIn ketch-items-center ketch-justify-center",children:(0,f.jsx)(h.Text,{variant:h.TextVariants.H4,className:null==(t=E.get(p.ThemeMapKeys.BANNER_HEADER_TITLE))?void 0:t.className,children:"Thank you."})}):(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(s.ProgressiveHeader,{}),(0,f.jsx)(l.ProgressiveDescription,{}),v===r.ProgressiveExperienceType.Subscription&&(0,f.jsx)(c.ProgressiveSubscriptions,{}),(0,f.jsx)(u.ProgressiveActionButtons,{onSubscriptionSubmit:function(){return b(!0)}})]})})}},7793(e,t,n){t.__esModule=!0,t.useCookiesNameFields=void 0;var r=n(5212),o=n(9945),i=n(927);t.useCookiesNameFields=function(){var e,t,n,s=(0,r.useContext)(o.AppStateContextV2).experiences,l=null==s||null==(e=s.content)?void 0:e.static;return{categoryName:((t={})[i.CookieCategory.STRICTLY_NECESSARY]=(null==l?void 0:l.strictly_necessary)||"",t[i.CookieCategory.FUNCTIONAL]=(null==l?void 0:l.functional)||"",t[i.CookieCategory.PERFORMANCE]=(null==l?void 0:l.performance)||"",t[i.CookieCategory.MARKETING]=(null==l?void 0:l.marketing)||"",t),provenanceName:((n={})[i.CookieProvenance.FIRST_PARTY]=(null==l?void 0:l.first_party)||"",n[i.CookieProvenance.THIRD_PARTY]=(null==l?void 0:l.third_party)||"",n)}}},2229(e,t,n){t.__esModule=!0,t.useSwitchText=void 0;var r=n(5212),o=n(8821),i=n(9945),s=n(1926);t.useSwitchText=function(e){var t,n;void 0===e&&(e=s.PurposeLayoutVariant.Modal);var l=(0,r.useContext)(i.AppStateContextV2).experiences,a=null==l||null==(t=l.content)?void 0:t.static,c=(0,o.useConfigsByPurposeLayoutVariant)(e),u=c.switchLabel,d=c.switchLabelConfig;return{switchOnText:null!=d&&d.useDefaultText?null==a?void 0:a.opted_in:null==u?void 0:u.onText,switchOffText:null!=d&&d.useDefaultText?null==a?void 0:a.opted_out:null==u?void 0:u.offText,switchAlwaysOnText:null!=d&&d.useDefaultText?null!=(n=null==a?void 0:a.always_active)?n:"Always Active":null==u?void 0:u.alwaysOnText}}},309(e,t,n){t.__esModule=!0,t.PurposeCategory=void 0;var r=n(4188),o=n(8821),i=n(1992),s=n(1926),l=n(2223),a=["experienceLayoutVariant","contentData","navCtx"];function c(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;t0&&(C=null!=(o=null==h||null==(i=h.content)||null==(s=i.static)?void 0:s.less_than_a_day)?o:"Less than a day"),O&&O>0&&(C=O+" "+(null!=(E=null==h||null==(b=h.content)||null==(T=b.static)?void 0:T.day)?E:"day"),O>1&&(C=O+" "+(null!=(v=null==h||null==(S=h.content)||null==(y=S.static)?void 0:y.days)?v:"days"))),{code:e.code,title:e.name,subTitle:e.serviceProvider,contentData:[e.description&&{name:null==h||null==(l=h.content)||null==(a=l.static)?void 0:a.description,value:e.description},e.duration&&{name:null==h||null==(c=h.content)||null==(u=c.static)?void 0:u.duration,value:C},e.category&&{name:null==h||null==(d=h.content)||null==(p=d.static)?void 0:p.category,value:g[e.category]||""},e.provenance&&{name:null==h||null==(f=h.content)||null==(_=f.static)?void 0:_.provenance,value:m[e.provenance]||""}].filter(function(e){return e})}});return(0,c.jsx)("div",{className:"ketch-flex ketch-flex-col ketch-gap-2","data-nav1":a.dataNavItems.modal.stack,children:b.map(function(e,t){return(0,c.jsx)(r.PurposeCategory,{contentData:e.contentData,experienceLayoutVariant:u,navCtx:a.dataNavItems.modal.cookieListItem(t),subTitle:e.subTitle,title:e.title},e.code)})})}},2680(e,t,n){t.__esModule=!0,t.PurposeDataCategories=void 0;var r=n(309),o=n(5212),i=n(9945),s=n(1926),l=n(815),a=n(1992),c=n(2223);t.PurposeDataCategories=function(e){var t,n=e.experienceLayoutVariant,u=void 0===n?s.PurposeLayoutVariant.Modal:n,d=(0,o.useContext)(i.AppStateContextV2),p=d.config,h=d.experiences,f=d.store.state,_=p.purposes,E=((null==_||null==(t=_.find(function(e){return e.code===f.currentPurposeCode}))?void 0:t.categories)||[]).map(function(e){var t,n;return{code:e.name,title:e.name,contentData:[{name:null==h||null==(t=h.content)||null==(n=t.static)?void 0:n.description,value:e.description}]}});return(0,c.jsxs)("div",{className:"ketch-flex ketch-flex-col ketch-gap-2","data-nav1":l.dataNavItems.modal.stack,children:[(0,c.jsx)(a.Text,{variant:a.TextVariants.L,children:"The following data categories will be used in processing for this purpose."}),E.map(function(e,t){return(0,c.jsx)(r.PurposeCategory,{contentData:e.contentData,experienceLayoutVariant:u,navCtx:l.dataNavItems.modal.dataCategoryItem(t),title:e.title},e.code)})]})}},9533(e,t,n){t.__esModule=!0,t.PurposeVendorIllustrations=void 0;var r=n(5212),o=n(9945),i=n(815),s=n(1992),l=n(2223);t.PurposeVendorIllustrations=function(){var e,t,n=(0,r.useContext)(o.AppStateContextV2),a=n.config.purposes,c=n.store.state,u=(null==a||null==(e=a.filter(function(e){return e.code===c.currentPurposeCode}))||null==(t=e[0])?void 0:t.illustrations)||[];return(0,l.jsx)("div",{className:"ketch-flex ketch-flex-col ketch-gap-2","data-nav1":i.dataNavItems.modal.stack,children:(0,l.jsxs)("ul",{className:"ketch-list-dash ketch-m-0 ketch-list-none ketch-p-0 ketch-text-ketch-m",children:[null==u?void 0:u.map(function(e,t){return(0,l.jsx)("li",{className:"ketch-my-2 ketch-text-ketch-m lm:ketch-text-ketch-h4",children:(0,l.jsxs)(s.Text,{variant:s.TextVariants.S,className:"ketch-text-inherit lm:ketch-text-ketch-lm",component:"span",children:["- ",e]})},t)})," "]})})}},9227(e,t,n){t.__esModule=!0,t.PurposesGPCBanner=void 0;var r=n(5852),o=n(9945),i=n(7178),s=n(1992),l=n(8828),a=n(6421),c=n(4998),u=n(927),d=n(2223);t.PurposesGPCBanner=function(e){var t,n,p,h,f,_,E,g=(0,r.useContext)(o.AppStateContextV2),m=g.experiences,b=g.isPreviewMode,T=g.store,v=g.config,S=v.theme,y=v.jurisdiction,C=v.plugins,O=e.showGpcBanner,N=e.useDefaultGpcBannerTitle,k=e.customGpcBannerTitle,P=e.showGpcBannerDescription,R=e.useDefaultGpcBannerDescription,I=e.customGpcBannerDescription,A=e.gpcBannerTheme,x=e.gpcBannerTitleTheme,w=e.gpcBannerDescriptionTheme,L=Boolean(y&&y.code&&(null==C||null==(t=C.gpc)||null==(n=t.jurisdictions)?void 0:n.includes(y.code))),B=!0===(null==(p=window)||null==(h=p.navigator)?void 0:h.globalPrivacyControl)&&"true"===(0,a.getCookie)(window,"gpcsignal")&&L;if(!O||!B&&!b)return null;var D=null==m||null==(f=m.content)?void 0:f.static,M=N?null==D?void 0:D.gpc_banner_title:k,U=P?R?null==D?void 0:D.gpc_banner_description:I:void 0,F=(null==S||null==(_=S.banner)||null==(E=_.container)?void 0:E.size)||u.BannerContainerSize.Standard,j=T.state.viewMode===c.ExperienceViewMode.BANNER,V=(0,d.jsx)("div",{className:(0,i.cn)(null==A?void 0:A.className),children:(0,d.jsxs)("div",{className:"ketch-flex ketch-flex-col ketch-gap-1 ketch-p-4",children:[(0,d.jsx)(s.Text,{className:(0,i.cn)(null==x?void 0:x.className),variant:s.TextVariants.L_BOLD,children:M}),U&&(0,d.jsx)(l.InterpolatedText,{textClassName:(0,i.cn)(null==w?void 0:w.className,"!ketch-text-ketch-l"),htmlString:U})]})});return j?(0,d.jsx)("div",{className:(0,i.cn)("ketch-px-5",F===u.BannerContainerSize.Compact?"ketch-pt-2":"ketch-pt-4"),children:V}):V}},5395(e,t,n){t.__esModule=!0,t.LinkButton=void 0;var r=n(7761),o=n(6404),i=n(1992),s=n(7178),l=n(2223),a=["ariaLabel","children","className","iconClassNames"];function c(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;t0&&!(0,p.getShouldHideVendors)(Ne.code),ut=(null==ge?void 0:ge.length)||0,dt=1===ut?null!=(re=null==Pe?void 0:Pe.illustration)?re:"Illustration":null!=(oe=null==Pe?void 0:Pe.illustrations)?oe:"Illustrations",pt=dt&&ut&&!(0,p.getShouldHideVendors)(Ne.code),ht="IOS"===(null==ke?void 0:ke.platform)?"SDKs":null==Pe?void 0:Pe.cookies,ft=null==Pe?void 0:Pe.legal_basis,_t=(0,E.getIsControlledByGpc)(ue,Te)&&!Qe,Et=(Me&&_t?Ue?null==Pe?void 0:Pe.gpc_signal_label:Fe:void 0)||(Be?ft+": "+he:void 0),gt=!!Be&&!!fe||!!pe||!(null==_e||!_e.length)||!(null==Ee||!Ee.length)||tt>0;return le.requiresDisplay?(0,b.jsx)(l.Collapse,S(S({className:Ve,hasContent:gt,iconClassName:Ke,isChecked:Qe,isDisabledSwitch:Je,label:Je&&Qe||we(ue,se)?Ze:void 0,navCtx:ae,onChange:$e,subTitle:Et,subTitleClassName:"ketch-opacity-[0.65]",switchClassName:Ge,switchId:ue,switchLabelClassName:Qe?He.on:He.off,title:""+de,variant:je},ce),{},{children:(0,b.jsxs)("div",{className:"ketch-flex ketch-flex-col ketch-gap-4",children:[pe&&(0,b.jsx)(i.Text,{className:"ketch-whitespace-break-spaces ketch-text-inherit lm:ketch-text-ketch-lm",variant:i.TextVariants.L,children:pe}),Be&&fe&&(0,b.jsxs)("div",{children:[(0,b.jsx)(i.Text,{className:"ketch-text-inherit",variant:i.TextVariants.H4_BOLD,children:ft}),(0,b.jsx)(i.Text,{className:"ketch-text-inherit",variant:i.TextVariants.L,children:fe})]}),(!(null==_e||!_e.length)||!(null==Ee||!Ee.length)||tt>0)&&(0,b.jsxs)("div",{className:"ketch-inline-flex ketch-flex-col ketch-items-start ketch-gap-2 lm:ketch-text-ketch-lm",children:[!(null==_e||!_e.length)&&(0,b.jsx)(u.LinkButton,{className:(0,o.cn)(qe,"lm:ketch-text-ketch-l"),"data-nav":g.dataNavItems.modal.subItem(ae,3,!0),onClick:function(){Ce((0,h.updateExperiencePurposesViewModeAction)(p.PurposeViewMode.COOKIES)),Ce((0,h.updateCurrentPurposeCodeAction)(le.code))},children:ht}),!(null==Ee||!Ee.length)&&(0,b.jsx)(u.LinkButton,{className:(0,o.cn)(qe,"lm:ketch-text-ketch-l"),"data-nav":g.dataNavItems.modal.subItem(ae,4,!0),onClick:function(){Ce((0,h.updateExperiencePurposesViewModeAction)(p.PurposeViewMode.DATA_CATEGORIES)),Ce((0,h.updateCurrentPurposeCodeAction)(le.code))},children:null==Pe?void 0:Pe.data_categories}),ct&&(0,b.jsxs)(u.LinkButton,{"aria-label":tt+" "+at,className:(0,o.cn)(qe,"lm:ketch-text-ketch-l"),"data-nav":g.dataNavItems.modal.subItem(ae,5,!0),onClick:function(){Ce((0,h.updateCurrentPurposeCodeAction)(le.code)),Ce((0,h.updateExperiencePurposesViewModeAction)(p.PurposeViewMode.VENDORS))},children:[at," (",tt,")"]}),pt?(0,b.jsxs)(u.LinkButton,{"aria-label":ut+" "+dt,className:(0,o.cn)(qe,"lm:ketch-text-ketch-l"),"data-nav":g.dataNavItems.modal.subItem(ae,6,!0),onClick:function(){Ce((0,h.updateCurrentPurposeCodeAction)(le.code)),Ce((0,h.updateExperiencePurposesViewModeAction)(p.PurposeViewMode.VENDOR_ILLUSTRATIONS))},children:[dt," (",ut,")"]}):null]})]})})):null}},4943(e,t,n){t.__esModule=!0,t.PurposeStack=void 0;var r=n(5212),o=n(9945),i=n(4188),s=n(7943),l=n(8821),a=n(927),c=n(2654),u=n(2229),d=n(1926),p=n(9152),h=n(7178),f=n(9058),_=n(4998),E=n(2223),g=["purposeLayoutVariant","stack","navCtx"];function m(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 b(e){for(var t=1;t0&&!ee?oe+" "+(null==L||null==(m=L.content)||null==(T=m.static)?void 0:T.of)+" "+(null==te?void 0:te.length):void 0;return(0,r.useEffect)(function(){A(oe>0)},[oe]),te&&0!==te.length?(0,E.jsx)(i.Collapse,b(b({navCtx:k,label:re,subLabel:ie,isChecked:I,switchId:O,onChange:function(){D.current=Z?a.ConsentSource.ModalManual:a.ConsentSource.PreferenceManual,U(N,!I)},title:O,variant:V,className:(0,h.cn)("ketch-min-h-[57px]",K),switchClassName:q,iconClassName:Y,switchLabelClassName:I?W.on:W.off,subTitleClassName:"ketch-opacity-[0.65]",isDisabledSwitch:!ne,isContentStyled:!1,defaultOpen:!0,hasContent:!ee},P),{},{children:(0,E.jsx)("div",{className:"ketch-flex ketch-flex-col ketch-gap-2",children:null==(v=F(N))?void 0:v.map(function(e){return(0,E.jsx)(c.PurposeCollapse,{navCtx:k,purpose:e,purposeLayoutVariant:y},e.code)})})})):null}},3516(e,t,n){t.__esModule=!0,t.PurposesListHeader=void 0;var r=n(5212),o=n(1992),i=n(7761),s=n(9945),l=n(8821),a=n(7178),c=n(7943),u=n(1926),d=n(5395),p=n(2973),h=n(625),f=n(815),_=n(4998),E=n(6274),g=n(927),m=n(6119),b=n(2223);t.PurposesListHeader=function(e){var t,n,T,v,S,y,C,O,N,k,P,R,I,A,x,w,L,B,D,M,U,F,j,V,G,H,K,q,W,Y,z,X,Q,$,J,Z,ee,te,ne,re,oe,ie,se,le,ae,ce,ue,de,pe,he,fe,_e,Ee,ge,me,be,Te,ve,Se,ye,Ce=e.purposeLayoutVariant,Oe=void 0===Ce?u.PurposeLayoutVariant.Modal:Ce,Ne=(0,r.useContext)(s.AppStateContextV2),ke=Ne.config,Pe=Ne.experiences,Re=Ne.consentGateExperience,Ie=Ne.themeMap,Ae=Ne.store,xe=Ae.dispatch,we=Ae.state,Le=Ne.consentSource,Be=Ne.isPreviewMode,De=we.viewMode,Me=(0,m.useActionButtonByActionType)(Oe),Ue=Me.acceptAllPurposes,Fe=Me.rejectAllPurposes,je=(0,c.usePurposeVendorConsents)(Oe).setAllConsents,Ve=ke.organization,Ge=ke.systems,He=De===_.ExperienceViewMode.MODAL,Ke=De===_.ExperienceViewMode.PREFERENCE,qe=De===_.ExperienceViewMode.CONSENT_GATE,We=null==Pe||null==(t=Pe.content)?void 0:t.static,Ye=(null==Ge||null==(n=Ge.tcf)?void 0:n.length)||0,ze=(null==Ge||null==(T=Ge.google)?void 0:T.length)||0,Xe=((He?null==Pe||null==(v=Pe.layout)||null==(S=v.modal)||null==(y=S.purposeList)||null==(C=y.vendors)?void 0:C.otherVendorIds:null==Pe||null==(O=Pe.layout)||null==(N=O.preference)||null==(k=N.tabs)||null==(P=k.purposes)||null==(R=P.purposeList)||null==(I=R.vendors)?void 0:I.otherVendorIds)||[]).length,Qe=Ye+ze+Xe,$e=(0,l.useConfigsByPurposeLayoutVariant)(Oe),Je=$e.showListHeader,Ze=$e.useDefaultListHeaderTitle,et=$e.customListHeaderTitle,tt=$e.listHeaderTitleTheme,nt=$e.listHeaderAcceptAllTheme,rt=$e.listHeaderRejectAllTheme,ot=Boolean(null==Pe||null==(A=Pe.layout)||null==(x=A.modal)||null==(w=x.purposeListHeader)||null==(L=w.bulkActionButtons)?void 0:L.saveAndClose)&&He,it=Boolean(null==Pe||null==(B=Pe.layout)||null==(D=B.preference)||null==(M=D.tabs)||null==(U=M.purposes)||null==(F=U.purposeListHeader)||null==(j=F.bulkActionButtons)?void 0:j.saveAndClose)&&Ke,st=!Be&&(ot||it),lt=null==Pe||null==(V=Pe.layout)||null==(G=V.modal)||null==(H=G.purposeListHeader)||null==(K=H.links)||null==(q=K[0])?void 0:q.useDefaultText,at=null==Pe||null==(W=Pe.layout)||null==(Y=W.preference)||null==(z=Y.tabs)||null==(X=z.purposes)||null==(Q=X.purposeListHeader)||null==($=Q.links)||null==(J=$[0])?void 0:J.useDefaultText,ct=1===Ye?null==We?void 0:We.vendor:null==We?void 0:We.vendors,ut=null!=Pe&&null!=(Z=Pe.content)&&null!=(ee=Z.modal)&&null!=(te=ee.purposeListHeader)&&null!=(ne=te.links)&&ne.length&&!lt?null==Pe||null==(re=Pe.content)||null==(oe=re.modal)||null==(ie=oe.purposeListHeader)||null==(se=ie.links[0])?void 0:se.text:ct,dt=null!=Pe&&null!=(le=Pe.content)&&null!=(ae=le.preference)&&null!=(ce=ae.tabs)&&null!=(ue=ce.purposes)&&null!=(de=ue.purposeListHeader)&&null!=(pe=de.links)&&pe.length&&!at?null==Pe||null==(he=Pe.content)||null==(fe=he.preference)||null==(_e=fe.tabs)||null==(Ee=_e.purposes)||null==(ge=Ee.purposeListHeader)||null==(me=ge.links[0])?void 0:me.text:ct,pt=null!=(be=null==We?void 0:We.vendors)?be:"Vendors",ht=He?ut:qe?pt:dt,ft=!(!Ye&&!ze&&!Xe||(0,p.getShouldHideVendors)(Ve.code)),_t=He?null==Ie||null==(Te=Ie.get(E.ThemeMapKeys.MODAL_CONTAINER))||null==(ve=Te.backgroundColor)?void 0:ve.value:null==Ie||null==(Se=Ie.get(E.ThemeMapKeys.PREFERENCE_CONTAINER))||null==(ye=Se.backgroundColor)?void 0:ye.value,Et=(0,a.getContrastColor)(_t||"","rgba(7, 26, 36, 0.48)","rgba(255, 255, 255, 0.48)"),gt=!(0,p.useGetShouldHideAcceptAndRejectAllButtons)()(Ve.code),mt=(0,r.useMemo)(function(){var e,t,n,r,o,i,s,l,a,c,u,d,p,h,f,E,g,m,b,T,v,S,y,C,O,N,k,P,R,I,A,x,w,L,B,D,M,U,F,j,V=(null==We?void 0:We.accept_all)||"Accept All";return De===_.ExperienceViewMode.MODAL?null!=Pe&&null!=(e=Pe.layout)&&null!=(t=e.modal)&&null!=(n=t.purposeListHeader)&&null!=(r=n.bulkActionButtons)&&r.useDefaultText||null==Pe||null==(o=Pe.content)||null==(i=o.modal)||null==(s=i.purposeListHeader)||null==(l=s.bulkActionButtons)||!l.acceptAllText?V:null==Pe||null==(a=Pe.content)||null==(c=a.modal)||null==(u=c.purposeListHeader)||null==(d=u.bulkActionButtons)?void 0:d.acceptAllText:De===_.ExperienceViewMode.PREFERENCE?null!=Pe&&null!=(p=Pe.layout)&&null!=(h=p.preference)&&null!=(f=h.tabs)&&null!=(E=f.purposes)&&null!=(g=E.purposeListHeader)&&null!=(m=g.bulkActionButtons)&&m.useDefaultText||null==Pe||null==(b=Pe.content)||null==(T=b.preference)||null==(v=T.tabs)||null==(S=v.purposes)||null==(y=S.purposeListHeader)||null==(C=y.bulkActionButtons)||!C.acceptAllText?V:null==Pe||null==(O=Pe.content)||null==(N=O.preference)||null==(k=N.tabs)||null==(P=k.purposes)||null==(R=P.purposeListHeader)||null==(I=R.bulkActionButtons)?void 0:I.acceptAllText:De===_.ExperienceViewMode.CONSENT_GATE&&null!=Re&&null!=(A=Re.content)&&null!=(x=A.consentBlock)&&null!=(w=x.purposesList)&&null!=(L=w.purposes)&&null!=(B=L.bulkActionButtons)&&B.acceptAllText?null==Re||null==(D=Re.content)||null==(M=D.consentBlock)||null==(U=M.purposesList)||null==(F=U.purposes)||null==(j=F.bulkActionButtons)?void 0:j.acceptAllText:V},[De,null==We?void 0:We.accept_all,Pe,Re]),bt=(0,r.useMemo)(function(){var e,t,n,r,o,i,s,l,a,c,u,d,p,h,f,E,g,m,b,T,v,S,y,C,O,N,k,P,R,I,A=(null==We?void 0:We.reject_all)||"Reject All";return De===_.ExperienceViewMode.MODAL?null!=Pe&&null!=(e=Pe.layout)&&null!=(t=e.modal)&&null!=(n=t.purposeListHeader)&&null!=(r=n.bulkActionButtons)&&r.useDefaultText||null==Pe||null==(o=Pe.content)||null==(i=o.modal)||null==(s=i.purposeListHeader)||null==(l=s.bulkActionButtons)||!l.rejectAllText?A:Pe.content.modal.purposeListHeader.bulkActionButtons.rejectAllText:De===_.ExperienceViewMode.PREFERENCE?null!=Pe&&null!=(a=Pe.layout)&&null!=(c=a.preference)&&null!=(u=c.tabs)&&null!=(d=u.purposes)&&null!=(p=d.purposeListHeader)&&null!=(h=p.bulkActionButtons)&&h.useDefaultText||null==Pe||null==(f=Pe.content)||null==(E=f.preference)||null==(g=E.tabs)||null==(m=g.purposes)||null==(b=m.purposeListHeader)||null==(T=b.bulkActionButtons)||!T.rejectAllText?A:Pe.content.preference.tabs.purposes.purposeListHeader.bulkActionButtons.rejectAllText:De===_.ExperienceViewMode.CONSENT_GATE&&null!=Re&&null!=(v=Re.content)&&null!=(S=v.consentBlock)&&null!=(y=S.purposesList)&&null!=(C=y.purposes)&&null!=(O=C.bulkActionButtons)&&O.rejectAllText?null==Re||null==(N=Re.content)||null==(k=N.consentBlock)||null==(P=k.purposesList)||null==(R=P.purposes)||null==(I=R.bulkActionButtons)?void 0:I.rejectAllText:A},[De,null==We?void 0:We.reject_all,Pe,Re]);return(0,b.jsxs)("div",{className:(0,a.cn)("ketch-flex ketch-flex-col ketch-gap-4 ketch-py-4",{"ketch-mb-4":Oe===u.PurposeLayoutVariant.Preference}),children:[(0,b.jsxs)("div",{className:"ketch-flex ketch-items-center ketch-justify-between ketch-gap-4",children:[Je&&(0,b.jsx)(o.Text,{variant:o.TextVariants.H3,component:"h3",className:(0,a.cn)("ketch-max-h-[69px] ketch-overflow-hidden",null==tt?void 0:tt.className,{"!ketch-underline":null==tt?void 0:tt.underline}),children:Ze?null==We?void 0:We.purposes:et}),gt&&(0,b.jsxs)("div",{className:"ketch-ml-auto ketch-flex ketch-shrink-0 ketch-gap-2",children:[(0,b.jsx)(i.Button,{className:(0,a.cn)("ketch-shrink-0",null==rt?void 0:rt.className,"lm:ketch-text-ketch-lm"),"data-nav":f.dataNavItems.modal.acceptAll,onClick:function(){Le.current=He?g.ConsentSource.ModalRejectAll:g.ConsentSource.PreferenceConsentsTabRejectAll,je(!1),st&&setTimeout(Fe,1e3)},size:"sm",variant:null==rt?void 0:rt.variant,children:bt}),(0,b.jsx)(i.Button,{className:(0,a.cn)("ketch-shrink-0",null==nt?void 0:nt.className,"lm:ketch-text-ketch-lm"),"data-nav":f.dataNavItems.modal.rejectAll,onClick:function(){Le.current=He?g.ConsentSource.ModalAcceptAll:g.ConsentSource.PreferenceConsentsTabAcceptAll,je(!0),st&&setTimeout(Ue,1e3)},size:"sm",variant:null==nt?void 0:nt.variant,children:mt})]})]}),ft&&(0,b.jsx)("div",{className:"ketch-text-ketch-m lm:ketch-text-ketch-l",children:(0,b.jsxs)(d.LinkButton,{"aria-label":Qe+" "+ht,className:(0,a.cn)(null==tt?void 0:tt.className,"lm:ketch-text-ketch-l"),"data-nav":f.dataNavItems.modal.allVendors,onClick:function(){xe((0,h.updateExperiencePurposesViewModeAction)(p.PurposeViewMode.VENDORS)),xe((0,h.updateCurrentPurposeCodeAction)(null))},children:[ht," ",(0,b.jsx)("span",{className:(0,a.cn)("ketch-font-semibold ketch-opacity-[0.48]",Et),children:Qe})]})})]})}},181(e,t,n){t.__esModule=!0,t.PurposesList=void 0;var r=n(9227),o=n(3516),i=n(2654),s=n(4943),l=n(7943),a=n(927),c=n(1926),u=n(815),d=n(8821),p=n(5212),h=n(9945),f=n(2223);function _(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 E(e){for(var t=1;t=0?(0,s.jsx)(r.Text,{variant:r.TextVariants.S,component:"span",className:"ketch-ml-1 ketch-text-inherit ketch-opacity-50 lm:ketch-text-ketch-lm",children:"("+(null!=(n=null==c?void 0:c.data_retention)?n:"Data Retention")+" - "+e.retention+" "+(1===e.retention?null!=(o=null==c?void 0:c.day)?o:"day":null!=(i=null==c?void 0:c.days)?i:"days")+")"}):null]},e.name+"-"+e.legalBasis+"-"+t)})})]})}},1941(e,t,n){t.__esModule=!0,t.TCFVendorCollapse=void 0;var r=n(927),o=n(4188),i=n(1926),s=n(8821),l=n(6827),a=n(5212),c=n(9945),u=n(8634),d=n(2229),p=n(625),h=n(815),f=n(5395),_=n(6771),E=n(1992),g=n(7473),m=n(2223),b=["experienceLayoutVariant","navCtx","vendor"];function T(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 v(e){for(var t=1;t=0?(0,m.jsxs)("div",{children:[(0,m.jsx)(E.Text,{variant:E.TextVariants.S_BOLD,className:"ketch-text-inherit",children:null!=(I=null==Ee?void 0:Ee.data_retention)?I:"Data Retention"}),(0,m.jsx)("ul",{className:"ketch-list-dash ketch-m-0 ketch-list-none ketch-p-0 ketch-text-ketch-m",children:(0,m.jsx)("li",{className:"ketch-text-ketch-m lm:ketch-text-ketch-h4",children:(0,m.jsx)(E.Text,{variant:E.TextVariants.S,className:"ketch-text-inherit lm:ketch-text-ketch-lm",component:"span",children:"- "+(null==ae||null==(A=ae.tcfMetadata)?void 0:A.dataRetention)+" "+(1===(null==ae||null==(x=ae.tcfMetadata)?void 0:x.dataRetention)?null!=(w=null==Ee?void 0:Ee.day)?w:"day":null!=(L=null==Ee?void 0:Ee.days)?L:"days")})})})]}):null,null!=ae&&null!=(B=ae.tcfMetadata)&&B.usesCookies||null!=ae&&null!=(D=ae.tcfMetadata)&&D.usesNonCookieAccess?(0,m.jsxs)("div",{children:[(0,m.jsx)(E.Text,{variant:E.TextVariants.S_BOLD,className:"ketch-text-inherit",children:null!=(M=null==Ee?void 0:Ee.device_storage)?M:"Device Storage"}),(0,m.jsxs)("ul",{className:"ketch-list-dash ketch-m-0 ketch-list-none ketch-p-0 ketch-text-ketch-m",children:[null!=ae&&null!=(U=ae.tcfMetadata)&&U.usesCookies?(0,m.jsxs)(m.Fragment,{children:[null!=ae&&null!=(F=ae.tcfMetadata)&&F.cookieMaxAgeSeconds&&(null==ae||null==(j=ae.tcfMetadata)?void 0:j.cookieMaxAgeSeconds)>=0?(0,m.jsx)("li",{className:"ketch-text-ketch-m lm:ketch-text-ketch-h4",children:(0,m.jsx)(E.Text,{variant:E.TextVariants.S,className:"ketch-text-inherit lm:ketch-text-ketch-lm",component:"span",children:"- "+(null!=(V=null==Ee?void 0:Ee.uses_cookies)?V:"Vendor uses cookies with a maximum storage duration of")+" "+(null==ae||null==(G=ae.tcfMetadata)?void 0:G.cookieMaxAgeSeconds)+" "+(1===(null==ae||null==(H=ae.tcfMetadata)?void 0:H.cookieMaxAgeSeconds)?null!=(K=null==Ee?void 0:Ee.second)?K:"second":null!=(q=null==Ee?void 0:Ee.seconds)?q:"seconds")})}):null,null!=ae&&null!=(W=ae.tcfMetadata)&&W.cookieRefresh?(0,m.jsx)("li",{className:"ketch-text-ketch-m lm:ketch-text-ketch-h4",children:(0,m.jsxs)(E.Text,{variant:E.TextVariants.S,className:"ketch-text-inherit lm:ketch-text-ketch-lm",component:"span",children:["- ",null!=(Y=null==Ee?void 0:Ee.cookie_refresh)?Y:"Vendor may refresh cookies"]})}):null]}):null,null!=ae&&null!=(z=ae.tcfMetadata)&&z.usesNonCookieAccess?(0,m.jsx)("li",{className:"ketch-text-ketch-m lm:ketch-text-ketch-h4",children:(0,m.jsxs)(E.Text,{variant:E.TextVariants.S,className:"ketch-text-inherit lm:ketch-text-ketch-lm",component:"span",children:["-"," ",null!=(X=null==Ee?void 0:Ee.uses_non_cookie_access)?X:"Vendor uses non-cookie storage and accesses information already stored on a users device"]})}):null]})]}):null,(0,m.jsx)(u.Checkbox,{checked:!_e,className:Ne,"data-nav":le?h.dataNavItems.modal.subItem(le,3):void 0,labelText:ke,onChange:function(){return fe((0,p.setTCFVendorAction)(ae.id,!_e))},selectedLabelClassName:"ketch-text-inherit",unselectedLabelClassName:"ketch-text-inherit"}),null!=ae&&ae.privacyPolicy?(0,m.jsx)(f.LinkButton,{onClick:function(){return window.open(ae.privacyPolicy,"_blank","noopener,noreferrer")},ariaLabel:((null==de||null==(Q=de.content)||null==($=Q.static)?void 0:$.view_privacy_policy)||"View Privacy Policy")+" (opens in new tab)",className:"ketch-w-fit",children:(null==de||null==(J=de.content)||null==(Z=J.static)?void 0:Z.view_privacy_policy)||"View Privacy Policy"}):null,null!=ae&&null!=(ee=ae.tcfMetadata)&&ee.legIntClaim?(0,m.jsx)(f.LinkButton,{onClick:function(){var e;return window.open(null==(e=ae.tcfMetadata)?void 0:e.legIntClaim,"_blank","noopener,noreferrer")},ariaLabel:((null==de||null==(te=de.content)||null==(ne=te.static)?void 0:ne.view_legitimate_interest_claim)||"View Legitimate Interest Claim")+" (opens in new tab)",className:"ketch-w-fit",children:(null==de||null==(re=de.content)||null==(oe=re.static)?void 0:oe.view_legitimate_interest_claim)||"View Legitimate Interest Claim"}):null]})}))}},6385(e,t,n){t.__esModule=!0,t.VendorsTypeCollapse=void 0;var r,o=n(927),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b(void 0);if(t&&t.has(e))return t.get(e);var n={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&{}.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(5852)),s=n(7178),l=n(4998),a=n(4188),c=n(2229),u=n(7227),d=n(9628),p=n(1941),h=n(9945),f=n(8821),_=n(1926),E=n(625),g=n(7473),m=n(2223);function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(b=function(e){return e?n:t})(e)}var T=((r={})[g.VendorType.TCF]="tcf-vendors",r[g.VendorType.Google]="google-vendors",r[g.VendorType.Other]="other-vendors",r);t.VendorsTypeCollapse=function(e){var t,n,r,b,v,S,y,C,O,N,k,P=e.vendorType,R=(0,i.useContext)(h.AppStateContextV2),I=R.experiences,A=R.config,x=R.store,w=x.state,L=x.dispatch,B=w.viewMode===l.ExperienceViewMode.MODAL,D=w.viewMode===l.ExperienceViewMode.MODAL?_.PurposeLayoutVariant.Modal:_.PurposeLayoutVariant.Preference,M=(0,f.useConfigsByPurposeLayoutVariant)(D),U=M.listThemeStyle,F=M.switchLabelConfig,j=M.purposeListItemsTheme,V=M.purposeListItemsSwitchTheme,G=M.purposeListItemsSwitchTextTheme,H=M.purposeListItemsArrowIconTheme,K=(0,c.useSwitchText)(D),q=K.switchOnText,W=K.switchOffText,Y=(0,i.useMemo)(function(){var e,t;switch(P){case g.VendorType.TCF:return(null==A||null==(e=A.systems)?void 0:e.tcf)||[];case g.VendorType.Google:return(null==A||null==(t=A.systems)?void 0:t.google)||[];case g.VendorType.Other:var n,r,o,i,s,l,a,c,u,d,p,h,f=B?(null==I||null==(n=I.layout)||null==(r=n.modal)||null==(o=r.purposeList)||null==(i=o.vendors)?void 0:i.otherVendorIds)||[]:(null==I||null==(s=I.layout)||null==(l=s.preference)||null==(a=l.tabs)||null==(c=a.purposes)||null==(u=c.purposeList)||null==(d=u.vendors)?void 0:d.otherVendorIds)||[];return(null==A||null==(p=A.systems)||null==(h=p.other)?void 0:h.filter(function(e){return f.includes(e.id)}))||[]}},[P,null==A?void 0:A.systems,B,null==I?void 0:I.layout]),z=(null==Y?void 0:Y.length)||0,X=(0,i.useMemo)(function(){switch(P){case g.VendorType.TCF:return(0,g.getVendorsWithTypeAndStatus)(w,g.VendorType.TCF,o.VendorStatus.Granted).length;case g.VendorType.Google:return(0,g.getVendorsWithTypeAndStatus)(w,g.VendorType.Google,o.VendorStatus.Granted).length;default:return 0}},[w,P]),Q=X>0,$=(0,i.useMemo)(function(){var e,t,n,r,o,i;switch(P){case g.VendorType.TCF:return(null==I||null==(e=I.content)||null==(t=e.static)?void 0:t.tcf_vendors)||"TCF Vendors";case g.VendorType.Google:return(null==I||null==(n=I.content)||null==(r=n.static)?void 0:r.google_vendors)||"Google Vendors";default:return(null==I||null==(o=I.content)||null==(i=o.static)?void 0:i.other_vendors)||"Other Vendors"}},[P,null==I||null==(t=I.content)?void 0:t.static]),J=z+" "+(1===z?null==I||null==(n=I.content)||null==(r=n.static)?void 0:r.vendor:null==I||null==(b=I.content)||null==(v=b.static)?void 0:v.vendors),Z=!(null==F||!F.visible),ee=Z?Q?q:W:"",te=Z?X+" "+(null==I||null==(S=I.content)||null==(y=S.static)?void 0:y.of)+" "+z+" "+(1===z?null==I||null==(C=I.content)||null==(O=C.static)?void 0:O.vendor:null==I||null==(N=I.content)||null==(k=N.static)?void 0:k.vendors):"",ne=(0,i.useMemo)(function(){switch(P){case g.VendorType.TCF:return null==Y?void 0:Y.map(function(e){return(0,m.jsx)(p.TCFVendorCollapse,{experienceLayoutVariant:D,vendor:e},e.id)});case g.VendorType.Google:return null==Y?void 0:Y.map(function(e){return(0,m.jsx)(u.GoogleVendorCollapse,{vendor:e},e.id)});case g.VendorType.Other:return null==Y?void 0:Y.map(function(e){return(0,m.jsx)(d.OtherVendorCollapse,{vendor:e},e.id)})}},[Y,P,D]),re=(0,i.useCallback)(function(e){var t,n=null==(t=e.target)?void 0:t.checked;P===g.VendorType.TCF?L((0,E.setAllTCFVendorAction)(n)):P===g.VendorType.Google&&L((0,E.setAllGoogleVendorAction)(n))},[L,P]);return(0,m.jsx)(a.Collapse,{title:$,subTitle:J,label:ee,subLabel:te,isChecked:Q,switchId:T[P],onChange:re,variant:U,className:(0,s.cn)("ketch-min-h-[57px] ketch-text-ketch-h4 ketch-font-bold",j),switchClassName:V,iconClassName:H,switchLabelClassName:Q?G.on:G.off,subTitleClassName:"ketch-opacity-[0.65]",isContentStyled:!1,hideSwitch:P===g.VendorType.Other,children:(0,m.jsx)("div",{className:"ketch-flex ketch-flex-col ketch-gap-2",children:ne})})}},4573(e,t,n){t.__esModule=!0,t.Vendors=void 0;var r=n(1941),o=n(5212),i=n(9945),s=n(1926),l=n(815),a=n(8828),c=n(7178),u=n(6274),d=n(3628),p=n(7275),h=n(8821),f=n(6385),_=n(4998),E=n(7473),g=n(2223);t.Vendors=function(){var e,t,n,m,b,T,v,S,y,C,O,N,k,P,R,I,A,x,w,L,B,D,M,U,F,j,V,G,H,K,q,W,Y,z,X,Q,$,J,Z,ee,te,ne,re,oe,ie,se,le,ae,ce,ue,de,pe,he,fe,_e,Ee,ge,me,be,Te,ve,Se,ye,Ce,Oe,Ne,ke,Pe,Re,Ie,Ae,xe,we,Le,Be,De,Me=(0,o.useContext)(i.AppStateContextV2),Ue=Me.config,Fe=Me.store.state,je=Me.experiences,Ve=Me.themeMap,Ge=Fe.viewMode===_.ExperienceViewMode.MODAL,He=Fe.viewMode===_.ExperienceViewMode.MODAL?s.PurposeLayoutVariant.Modal:s.PurposeLayoutVariant.Preference,Ke=!(null==Fe||!Fe.currentPurposeCode),qe=(0,o.useMemo)(function(){var e,t,n,r;return(null==Ue||null==(e=Ue.purposes)||null==(t=e.filter(function(e){return(null==e?void 0:e.code)===(null==Fe?void 0:Fe.currentPurposeCode)}))||null==(n=t[0])||null==(r=n.systems)?void 0:r.tcf)||[]},[Ue,null==Fe?void 0:Fe.currentPurposeCode]),We=(0,o.useMemo)(function(){var e,t;return(null==Ue||null==(e=Ue.systems)||null==(t=e.tcf)?void 0:t.filter(function(e){return null==qe?void 0:qe.includes(String(null==e?void 0:e.id))}))||[]},[Ue,qe]);Fe.currentPurposeCode||(We=(null==Ue||null==(e=Ue.systems)?void 0:e.tcf)||[]);var Ye=We.length,ze=Ye>0,Xe=((null==Ue||null==(t=Ue.systems)||null==(n=t.google)?void 0:n.length)||0)>0,Qe=((Ge?null==je||null==(m=je.layout)||null==(b=m.modal)||null==(T=b.purposeList)||null==(v=T.vendors)?void 0:v.otherVendorIds:null==je||null==(S=je.layout)||null==(y=S.preference)||null==(C=y.tabs)||null==(O=C.purposes)||null==(N=O.purposeList)||null==(k=N.vendors)?void 0:k.otherVendorIds)||[]).length>0,$e=1===Ye?null==je||null==(P=je.content)||null==(R=P.static)?void 0:R.vendor:null==je||null==(I=je.content)||null==(A=I.static)?void 0:A.vendors,Je=null==je||null==(x=je.layout)||null==(w=x.modal)||null==(L=w.purposeList)||null==(B=L.vendors)||null==(D=B.link)?void 0:D.useDefaultText,Ze=null!=je&&null!=(M=je.content)&&null!=(U=M.modal)&&null!=(F=U.purposeList)&&null!=(j=F.vendors)&&j.linkText&&!Je?null==je||null==(V=je.content)||null==(G=V.modal)||null==(H=G.purposeList)||null==(K=H.vendors)?void 0:K.linkText:$e,et=null==je||null==(q=je.layout)||null==(W=q.preference)||null==(Y=W.tabs)||null==(z=Y.purposes)||null==(X=z.purposeListHeader)||null==(Q=X.links)||null==($=Q[0])?void 0:$.useDefaultText,tt=null!=je&&null!=(J=je.content)&&null!=(Z=J.preference)&&null!=(ee=Z.tabs)&&null!=(te=ee.purposes)&&null!=(ne=te.purposeList)&&null!=(re=ne.vendors)&&re.linkText&&!et?null==je||null==(oe=je.content)||null==(ie=oe.preference)||null==(se=ie.tabs)||null==(le=se.purposes)||null==(ae=le.purposeList)||null==(ce=ae.vendors)?void 0:ce.linkText:$e,nt=Ge?Ze:tt,rt=Ge?null==je||null==(ue=je.content)||null==(de=ue.modal)||null==(pe=de.purposeList)||null==(he=pe.vendors)?void 0:he.description:null==je||null==(fe=je.content)||null==(_e=fe.preference)||null==(Ee=_e.tabs)||null==(ge=Ee.purposes)||null==(me=ge.purposeList)||null==(be=me.vendors)?void 0:be.description,ot=(null==(Te=Ue.theme)||null==(ve=Te.modal)||null==(Se=ve.container)||null==(ye=Se.background)?void 0:ye.color)||(null==(Ce=d.defaultThemeConfig.modal)||null==(Oe=Ce.container)||null==(Ne=Oe.background)?void 0:Ne.color),it=(null==(ke=Ue.theme)||null==(Pe=ke.modal)||null==(Re=Pe.container)||null==(Ie=Re.background)?void 0:Ie.opacity)||(null==(Ae=d.defaultThemeConfig.modal)||null==(xe=Ae.container)||null==(we=xe.background)?void 0:we.opacity),st=(0,p.getOutlineColorByBackgroundColor)(ot,it),lt=(0,h.useConfigsByPurposeLayoutVariant)(He||s.PurposeLayoutVariant.Preference).listHeaderTitleTheme;return(0,g.jsxs)("div",{className:"ketch-flex ketch-flex-col ketch-gap-2 ketch-pt-4","data-nav1":l.dataNavItems.modal.stack,children:[rt&&!Ke?(0,g.jsx)(a.InterpolatedText,{htmlString:rt,textClassName:"ketch-text-inherit ketch-text-ketch-l lm:ketch-text-ketch-lm ketch-pb-2",linkClassName:(0,c.cn)(null==Ve||null==(Le=Ve.get(u.ThemeMapKeys.MODAL_DESCRIPTION_LINK))?void 0:Le.className,{"!ketch-underline":null==Ve||null==(Be=Ve.get(u.ThemeMapKeys.MODAL_DESCRIPTION_LINK))?void 0:Be.underline},st)}):null,Ke?(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{className:(0,c.cn)(null==lt?void 0:lt.className,"ketch-py-2 ketch-text-ketch-h3 ketch-font-semibold"),children:[nt," ",(0,g.jsxs)("span",{className:"ketch-font-normal ketch-text-ketch-black-black-56",children:["(",Ye,")"]})]}),null==(De=We)?void 0:De.map(function(e,t){return(0,g.jsx)(r.TCFVendorCollapse,{experienceLayoutVariant:He,navCtx:l.dataNavItems.modal.vendorListItem(t),vendor:e},e.id)})]}):(0,g.jsxs)(g.Fragment,{children:[ze&&(0,g.jsx)(f.VendorsTypeCollapse,{vendorType:E.VendorType.TCF}),Xe&&(0,g.jsx)(f.VendorsTypeCollapse,{vendorType:E.VendorType.Google}),Qe&&(0,g.jsx)(f.VendorsTypeCollapse,{vendorType:E.VendorType.Other})]})]})}},2973(e,t,n){t.__esModule=!0,t.useGetShouldHideAcceptAndRejectAllButtons=t.getShouldHideVendors=t.PurposeViewMode=void 0;var r=n(5212),o=n(4998),i=n(9945),s=n(7943),l=n(8802);t.PurposeViewMode=l.PurposeViewMode;var a=["the_globe_and_mail"];t.useGetShouldHideAcceptAndRejectAllButtons=function(){var e=(0,r.useContext)(i.AppStateContextV2),t=e.config,n=e.experiences,l=e.consentGateExperience,c=e.store.state.viewMode,u=(0,s.usePurposeVendorConsents)().listPurposesWithoutStacks;return function(e){var r,i,s,d,p,h,f,_,E,g,m,b,T,v,S;if(!e)return!1;var y=t.stacks;if(a.includes(e))return!0;if(y&&0!==(null==y?void 0:y.length)){if(1===(null==y?void 0:y.length)&&y[0].purposeCodes.length<=1&&(!u||(null==u?void 0:u.length)<=1))return!0}else if(u&&(null==u?void 0:u.length)<=1)return!0;return c===o.ExperienceViewMode.MODAL&&!1===(null==n||null==(r=n.layout)||null==(i=r.modal)||null==(s=i.purposeListHeader)||null==(d=s.bulkActionButtons)?void 0:d.visible)||c===o.ExperienceViewMode.PREFERENCE&&!1===(null==n||null==(p=n.layout)||null==(h=p.preference)||null==(f=h.tabs)||null==(_=f.purposes)||null==(E=_.purposeListHeader)||null==(g=E.bulkActionButtons)?void 0:g.visible)||c===o.ExperienceViewMode.CONSENT_GATE&&!1===(null==l||null==(m=l.layout)||null==(b=m.consentBlock)||null==(T=b.purposesList)||null==(v=T.purposes)||null==(S=v.bulkActionButtons)?void 0:S.visible)}};var c=["the_globe_and_mail"];t.getShouldHideVendors=function(e){return!!e&&c.includes(e)}},815(e,t,n){t.__esModule=!0,t.dataNavItems=void 0;var r=n(1322),o=function(e){return e.back="back",e.close="close",e.confirm="confirm",e.expand="expand",e.switch="switch",e}(o||{}),i={banner:{id:"ketch-consent-banner",close:s({experience:"ketch-consent-banner",action:o.close,"nav-index":1}),primary:s({experience:"ketch-consent-banner","nav-index":2}),secondary:s({experience:"ketch-consent-banner","nav-index":3}),tertiary:s({experience:"ketch-consent-banner","nav-index":4})},modal:{id:"ketch-purposes-modal",confirm:s({experience:"ketch-purpose-modal","nav-index":1,action:o.confirm}),back:s({experience:"ketch-purpose-modal","nav-index":2,action:o.back}),close:s({experience:"ketch-purpose-modal",action:o.close,"nav-index":3}),acceptAll:s({experience:"ketch-purpose-modal","nav-index":4}),rejectAll:s({experience:"ketch-purpose-modal","nav-index":5}),allVendors:s({experience:"ketch-purpose-modal","nav-index":6,clearCache:!0}),stack:s({experience:"ketch-purpose-modal","nav-index":7}),expandableItem:function(e){return s({experience:"ketch-purpose-modal",subExperience:e,"nav-index":2,action:o.expand})},switchItem:function(e,t){return s({experience:"ketch-purpose-modal",subExperience:e,"nav-index":1,action:o.switch,disabled:t})},subItem:function(e,t,n){return void 0===n&&(n=!1),s({experience:"ketch-purpose-modal",subExperience:e,"nav-index":t,clearCache:n})},cookieListItem:function(e){return"cookie-list-"+e},dataCategoryItem:function(e){return"data-category-list-"+e},purposeListItem:function(e){return"purpose-list-"+e},vendorListItem:function(e){return"vendor-list-"+e}},preference:{id:r.ELEMENT_ID.PREFERENCES}};function s(e){return btoa(JSON.stringify(e))}t.dataNavItems=i},2988(e,t){t.__esModule=!0,t.Colors=void 0;var n=function(e){return e.DEFAULT_WHITE="#ffffff",e.DEFAULT_LIGHT="#f6f6f6",e.DEFAULT_GREY="#daddde",e.DEFAULT_BLACK="#000000",e.DEFAULT_DISABLED="#ecedee",e.DEFAULT_PINK="#ff00ff",e}({});t.Colors=n},1322(e,t){t.__esModule=!0,t.UNSUBSCRIBE_ALL=t.LEGAL_BASIS=t.ELEMENT_ID=t.CHANNEL_AGNOSTIC=t.ACTIONS=void 0,t.ELEMENT_ID={BANNER:"ketch-banner",MODAL:"ketch-modal",PREFERENCES:"ketch-preferences",PREFERENCES_CUSTOM_IMAGE_1:"ketch-preferences-custom-image-1",PREFERENCES_CUSTOM_IMAGE_2:"ketch-preferences-custom-image-2"},t.ACTIONS={UPDATE_TOPIC:"UPDATE_TOPIC",UPDATE_TOPIC_CONTROL_METHOD:"UPDATE_TOPIC_CONTROL_METHOD",UNSUBSCRIBE_ALL_TOPICS:"UNSUBSCRIBE_ALL_TOPICS",UPDATE_CONTROL:"UPDATE_CONTROL"},t.LEGAL_BASIS={OPT_IN:"consent_optin",OPT_OUT:"consent_optout",DISCLOSURE:"disclosure"},t.UNSUBSCRIBE_ALL="global_control",t.CHANNEL_AGNOSTIC="na"},8802(e,t){t.__esModule=!0,t.PurposeViewMode=void 0;var n=function(e){return e.PURPOSES="purposes",e.COOKIES="cookies",e.DATA_CATEGORIES="data-categories",e.VENDORS="vendors",e.VENDOR_ILLUSTRATIONS="vendor_illustrations",e}({});t.PurposeViewMode=n},6274(e,t){t.__esModule=!0,t.ThemeMapKeys=void 0;var n=function(e){return e.BANNER_BUTTONS_PRIMARY="banner.buttons.primary",e.BANNER_BUTTONS_PRIMARY_BACKGROUND_COLOR="banner.buttons.primary.background.color",e.BANNER_BUTTONS_PRIMARY_BACKGROUND_OPACITY="banner.buttons.primary.background.opacity",e.BANNER_BUTTONS_PRIMARY_CORNERRADIUS="banner.buttons.primary.cornerRadius",e.BANNER_BUTTONS_PRIMARY_STYLE="banner.buttons.primary.style",e.BANNER_BUTTONS_PRIMARY_TEXT_COLOR="banner.buttons.primary.text.color",e.BANNER_BUTTONS_PRIMARY_TEXT_OPACITY="banner.buttons.primary.text.opacity",e.BANNER_BUTTONS_PRIMARY_TEXT_UNDERLINE="banner.buttons.primary.text.underline",e.BANNER_BUTTONS_SECONDARY="banner.buttons.secondary",e.BANNER_BUTTONS_SECONDARY_BACKGROUND_COLOR="banner.buttons.secondary.background.color",e.BANNER_BUTTONS_SECONDARY_BACKGROUND_OPACITY="banner.buttons.secondary.background.opacity",e.BANNER_BUTTONS_SECONDARY_CORNERRADIUS="banner.buttons.secondary.cornerRadius",e.BANNER_BUTTONS_SECONDARY_STYLE="banner.buttons.secondary.style",e.BANNER_BUTTONS_SECONDARY_TEXT_COLOR="banner.buttons.secondary.text.color",e.BANNER_BUTTONS_SECONDARY_TEXT_OPACITY="banner.buttons.secondary.text.opacity",e.BANNER_BUTTONS_SECONDARY_TEXT_UNDERLINE="banner.buttons.secondary.text.underline",e.BANNER_BUTTONS_TERTIARY="banner.buttons.tertiary",e.BANNER_BUTTONS_TERTIARY_BACKGROUND_COLOR="banner.buttons.tertiary.background.color",e.BANNER_BUTTONS_TERTIARY_BACKGROUND_OPACITY="banner.buttons.tertiary.background.opacity",e.BANNER_BUTTONS_TERTIARY_CORNERRADIUS="banner.buttons.tertiary.cornerRadius",e.BANNER_BUTTONS_TERTIARY_STYLE="banner.buttons.tertiary.style",e.BANNER_BUTTONS_TERTIARY_TEXT_COLOR="banner.buttons.tertiary.text.color",e.BANNER_BUTTONS_TERTIARY_TEXT_OPACITY="banner.buttons.tertiary.text.opacity",e.BANNER_BUTTONS_TERTIARY_TEXT_UNDERLINE="banner.buttons.tertiary.text.underline",e.BANNER_CONTAINER_BACKDROP_BACKGROUND="banner.container.backdrop.background",e.BANNER_CONTAINER_BACKDROP_BACKGROUND_COLOR="banner.container.backdrop.background.color",e.BANNER_CONTAINER_BACKDROP_BACKGROUND_OPACITY="banner.container.backdrop.background.opacity",e.BANNER_CONTAINER_BACKDROP_DISABLECONTENTINTERACTIONS="banner.container.backdrop.disableContentInteractions",e.BANNER_CONTAINER_BACKDROP_VISIBLE="banner.container.backdrop.visible",e.BANNER_CONTAINER="banner.container",e.BANNER_CONTAINER_BACKGROUND="banner.container.background",e.BANNER_CONTAINER_BACKGROUND_COLOR="banner.container.background.color",e.BANNER_CONTAINER_BACKGROUND_OPACITY="banner.container.background.opacity",e.BANNER_CONTAINER_CORNERRADIUS="banner.container.cornerRadius",e.BANNER_CONTAINER_FONT="banner.container.font",e.BANNER_CONTAINER_LAYOUT="banner.container.layout",e.BANNER_CONTAINER_POSITION="banner.container.position",e.BANNER_CONTAINER_SIZE="banner.container.size",e.BANNER_DESCRIPTION_LINK="banner.description.link",e.BANNER_DESCRIPTION_LINK_COLOR="banner.description.link.color",e.BANNER_DESCRIPTION_LINK_OPACITY="banner.description.link.opacity",e.BANNER_DESCRIPTION_LINK_UNDERLINE="banner.description.link.underline",e.BANNER_DESCRIPTION_TEXT="banner.description.text",e.BANNER_DESCRIPTION_TEXT_COLOR="banner.description.text.color",e.BANNER_DESCRIPTION_TEXT_OPACITY="banner.description.text.opacity",e.BANNER_DESCRIPTION_TEXT_UNDERLINE="banner.description.text.underline",e.BANNER_FOOTER_KETCHBADGEVISIBLE="banner.footer.ketchBadgeVisible",e.BANNER_HEADER_RETURNBUTTON="banner.header.returnButton",e.BANNER_HEADER_RETURNBUTTON_BACKGROUND="banner.header.returnButton.background",e.BANNER_HEADER_RETURNBUTTON_BACKGROUND_COLOR="banner.header.returnButton.background.color",e.BANNER_HEADER_RETURNBUTTON_BACKGROUND_OPACITY="banner.header.returnButton.background.opacity",e.BANNER_HEADER_RETURNBUTTON_CORNERRADIUS="banner.header.returnButton.cornerRadius",e.BANNER_HEADER_RETURNBUTTON_ICON="banner.header.returnButton.icon",e.BANNER_HEADER_RETURNBUTTON_ICON_COLOR="banner.header.returnButton.icon.color",e.BANNER_HEADER_RETURNBUTTON_ICON_OPACITY="banner.header.returnButton.icon.opacity",e.BANNER_HEADER_TITLE="banner.header.title",e.BANNER_HEADER_TITLE_COLOR="banner.header.title.color",e.BANNER_HEADER_TITLE_OPACITY="banner.header.title.opacity",e.BANNER_HEADER_TITLE_UNDERLINE="banner.header.title.underline",e.BANNER_GPCBANNER="banner.gpcBanner",e.BANNER_GPCBANNER_FILL="banner.gpcBanner.fill",e.BANNER_GPCBANNER_FILL_COLOR="banner.gpcBanner.fill.color",e.BANNER_GPCBANNER_OUTLINE="banner.gpcBanner.outline",e.BANNER_GPCBANNER_OUTLINE_COLOR="banner.gpcBanner.outline.color",e.BANNER_GPCBANNER_TITLE="banner.gpcBanner.title.text",e.BANNER_GPCBANNER_TITLE_COLOR="banner.gpcBanner.title.text.color",e.BANNER_GPCBANNER_DESCRIPTION="banner.gpcBanner.description.text",e.BANNER_GPCBANNER_DESCRIPTION_COLOR="banner.gpcBanner.description.text.color",e.BANNER_GPCBANNER_CORNERRADIUS="banner.gpcBanner.cornerRadius",e.BANNER_HEADER_BACKGROUND="banner.header.background",e.BANNER_HEADER_BACKGROUND_COLOR="banner.header.background.color",e.BANNER_HEADER_BACKGROUND_OPACITY="banner.header.background.opacity",e.MODAL_CONTAINER_BACKDROP_BACKGROUND="modal.container.backdrop.background",e.MODAL_CONTAINER_BACKDROP_BACKGROUND_COLOR="modal.container.backdrop.background.color",e.MODAL_CONTAINER_BACKDROP_BACKGROUND_OPACITY="modal.container.backdrop.background.opacity",e.MODAL_CONTAINER_BACKDROP_DISABLECONTENTINTERACTIONS="modal.container.backdrop.disableContentInteractions",e.MODAL_CONTAINER_BACKDROP_VISIBLE="modal.container.backdrop.visible",e.MODAL_CONTAINER="modal.container",e.MODAL_CONTAINER_BACKGROUND="modal.container.background",e.MODAL_CONTAINER_BACKGROUND_COLOR="modal.container.background.color",e.MODAL_CONTAINER_BACKGROUND_OPACITY="modal.container.background.opacity",e.MODAL_CONTAINER_CORNERRADIUS="modal.container.cornerRadius",e.MODAL_CONTAINER_FONT="modal.container.font",e.MODAL_CONTAINER_POSITION="modal.container.position",e.MODAL_DESCRIPTION_LINK="modal.description.link",e.MODAL_DESCRIPTION_LINK_COLOR="modal.description.link.color",e.MODAL_DESCRIPTION_LINK_OPACITY="modal.description.link.opacity",e.MODAL_DESCRIPTION_LINK_UNDERLINE="modal.description.link.underline",e.MODAL_DESCRIPTION_TEXT="modal.description.text",e.MODAL_DESCRIPTION_TEXT_COLOR="modal.description.text.color",e.MODAL_DESCRIPTION_TEXT_OPACITY="modal.description.text.opacity",e.MODAL_DESCRIPTION_TEXT_UNDERLINE="modal.description.text.underline",e.MODAL_DESCRIPTION_TITLE="modal.description.title",e.MODAL_DESCRIPTION_TITLE_COLOR="modal.description.title.color",e.MODAL_DESCRIPTION_TITLE_OPACITY="modal.description.title.opacity",e.MODAL_DESCRIPTION_TITLE_UNDERLINE="modal.description.title.underline",e.MODAL_FOOTER_ACTIONBUTTON="modal.footer.actionButton",e.MODAL_FOOTER_ACTIONBUTTON_BACKGROUND_COLOR="modal.footer.actionButton.background.color",e.MODAL_FOOTER_ACTIONBUTTON_BACKGROUND_OPACITY="modal.footer.actionButton.background.opacity",e.MODAL_FOOTER_ACTIONBUTTON_CORNERRADIUS="modal.footer.actionButton.cornerRadius",e.MODAL_FOOTER_ACTIONBUTTON_ICON_COLOR="modal.footer.actionButton.icon.color",e.MODAL_FOOTER_ACTIONBUTTON_ICON_OPACITY="modal.footer.actionButton.icon.opacity",e.MODAL_FOOTER_ACTIONBUTTON_STYLE="modal.footer.actionButton.style",e.MODAL_FOOTER_ACTIONBUTTON_TEXT_COLOR="modal.footer.actionButton.text.color",e.MODAL_FOOTER_ACTIONBUTTON_TEXT_OPACITY="modal.footer.actionButton.text.opacity",e.MODAL_FOOTER_ACTIONBUTTON_TEXT_UNDERLINE="modal.footer.actionButton.text.underline",e.MODAL_FOOTER_BACKGROUND="modal.footer.background",e.MODAL_FOOTER_BACKGROUND_COLOR="modal.footer.background.color",e.MODAL_FOOTER_BACKGROUND_OPACITY="modal.footer.background.opacity",e.MODAL_FOOTER_KETCHBADGEVISIBLE="modal.footer.ketchBadgeVisible",e.MODAL_HEADER_BACKGROUND="modal.header.background",e.MODAL_HEADER_BACKGROUND_COLOR="modal.header.background.color",e.MODAL_HEADER_BACKGROUND_OPACITY="modal.header.background.opacity",e.MODAL_HEADER_RETURNBUTTON="modal.header.returnButton",e.MODAL_HEADER_RETURNBUTTON_BACKGROUND_COLOR="modal.header.returnButton.background.color",e.MODAL_HEADER_RETURNBUTTON_BACKGROUND_OPACITY="modal.header.returnButton.background.opacity",e.MODAL_HEADER_RETURNBUTTON_CORNERRADIUS="modal.header.returnButton.cornerRadius",e.MODAL_HEADER_RETURNBUTTON_ICON_COLOR="modal.header.returnButton.icon.color",e.MODAL_HEADER_RETURNBUTTON_ICON_OPACITY="modal.header.returnButton.icon.opacity",e.MODAL_HEADER_TITLE="modal.header.title",e.MODAL_HEADER_TITLE_COLOR="modal.header.title.color",e.MODAL_HEADER_TITLE_OPACITY="modal.header.title.opacity",e.MODAL_HEADER_TITLE_UNDERLINE="modal.header.title.underline",e.MODAL_GPCBANNER="modal.gpcBanner",e.MODAL_GPCBANNER_FILL="modal.gpcBanner.fill",e.MODAL_GPCBANNER_FILL_COLOR="modal.gpcBanner.fill.color",e.MODAL_GPCBANNER_OUTLINE="modal.gpcBanner.outline",e.MODAL_GPCBANNER_OUTLINE_COLOR="modal.gpcBanner.outline.color",e.MODAL_GPCBANNER_TITLE="modal.gpcBanner.title.text",e.MODAL_GPCBANNER_TITLE_COLOR="modal.gpcBanner.title.text.color",e.MODAL_GPCBANNER_DESCRIPTION="modal.gpcBanner.description.text",e.MODAL_GPCBANNER_DESCRIPTION_COLOR="modal.gpcBanner.description.text.color",e.MODAL_GPCBANNER_CORNERRADIUS="modal.gpcBanner.cornerRadius",e.MODAL_PURPOSELIST_PURPOSELISTITEMS="modal.purposeList.purposeListItems",e.MODAL_PURPOSELIST_PURPOSELISTITEMS_ARROWICON="modal.purposeList.purposeListItems.arrowIcon",e.MODAL_PURPOSELIST_PURPOSELISTITEMS_ARROWICON_COLOR="modal.purposeList.purposeListItems.arrowIcon.color",e.MODAL_PURPOSELIST_PURPOSELISTITEMS_ARROWICON_OPACITY="modal.purposeList.purposeListItems.arrowIcon.opacity",e.MODAL_PURPOSELIST_PURPOSELISTITEMS_LAYOUT="modal.purposeList.purposeListItems.layout",e.MODAL_PURPOSELIST_PURPOSELISTITEMS_PURPOSECONTENT="modal.purposeList.purposeListItems.purposeContent",e.MODAL_PURPOSELIST_PURPOSELISTITEMS_PURPOSECONTENT_COLOR="modal.purposeList.purposeListItems.purposeContent.color",e.MODAL_PURPOSELIST_PURPOSELISTITEMS_PURPOSECONTENT_OPACITY="modal.purposeList.purposeListItems.purposeContent.opacity",e.MODAL_PURPOSELIST_PURPOSELISTITEMS_PURPOSECORNERRADIUS="modal.purposeList.purposeListItems.purposeCornerRadius",e.MODAL_PURPOSELIST_PURPOSELISTITEMS_PURPOSEFILL="modal.purposeList.purposeListItems.purposeFill",e.MODAL_PURPOSELIST_PURPOSELISTITEMS_PURPOSEFILL_COLOR="modal.purposeList.purposeListItems.purposeFill.color",e.MODAL_PURPOSELIST_PURPOSELISTITEMS_PURPOSEFILL_OPACITY="modal.purposeList.purposeListItems.purposeFill.opacity",e.MODAL_PURPOSELIST_PURPOSELISTITEMS_PURPOSEOUTLINE="modal.purposeList.purposeListItems.purposeOutline",e.MODAL_PURPOSELIST_PURPOSELISTITEMS_PURPOSEOUTLINE_COLOR="modal.purposeList.purposeListItems.purposeOutline.color",e.MODAL_PURPOSELIST_PURPOSELISTITEMS_PURPOSEOUTLINE_OPACITY="modal.purposeList.purposeListItems.purposeOutline.opacity",e.MODAL_PURPOSELIST_PURPOSELISTITEMS_PURPOSELINKS="modal.purposeList.purposeListItems.purposeLinks",e.MODAL_PURPOSELIST_PURPOSELISTITEMS_PURPOSELINKS_COLOR="modal.purposeList.purposeListItems.purposeLinks.color",e.MODAL_PURPOSELIST_PURPOSELISTITEMS_PURPOSELINKS_OPACITY="modal.purposeList.purposeListItems.purposeLinks.opacity",e.MODAL_PURPOSELIST_PURPOSELISTITEMS_STYLE="modal.purposeList.purposeListItems.style",e.MODAL_PURPOSELIST_SWITCHBUTTONS="modal.purposeList.switchButtons",e.MODAL_PURPOSELIST_SWITCHBUTTONS_OFF_BACKGROUND="modal.purposeList.switchButtons.off.background",e.MODAL_PURPOSELIST_SWITCHBUTTONS_OFF_BACKGROUND_COLOR="modal.purposeList.switchButtons.off.background.color",e.MODAL_PURPOSELIST_SWITCHBUTTONS_OFF_BACKGROUND_OPACITY="modal.purposeList.switchButtons.off.background.opacity",e.MODAL_PURPOSELIST_SWITCHBUTTONS_OFF_TEXT="modal.purposeList.switchButtons.off.text",e.MODAL_PURPOSELIST_SWITCHBUTTONS_OFF_TEXT_COLOR="modal.purposeList.switchButtons.off.text.color",e.MODAL_PURPOSELIST_SWITCHBUTTONS_OFF_TEXT_OPACITY="modal.purposeList.switchButtons.off.text.opacity",e.MODAL_PURPOSELIST_SWITCHBUTTONS_OFF_TEXT_UNDERLINE="modal.purposeList.switchButtons.off.text.underline",e.MODAL_PURPOSELIST_SWITCHBUTTONS_ON_BACKGROUND="modal.purposeList.switchButtons.on.background",e.MODAL_PURPOSELIST_SWITCHBUTTONS_ON_BACKGROUND_COLOR="modal.purposeList.switchButtons.on.background.color",e.MODAL_PURPOSELIST_SWITCHBUTTONS_ON_BACKGROUND_OPACITY="modal.purposeList.switchButtons.on.background.opacity",e.MODAL_PURPOSELIST_CHECKBOX="modal.purposeList.checkbox",e.MODAL_PURPOSELIST_SWITCHBUTTONS_ON_TEXT="modal.purposeList.switchButtons.on.text",e.MODAL_PURPOSELIST_SWITCHBUTTONS_ON_TEXT_COLOR="modal.purposeList.switchButtons.on.text.color",e.MODAL_PURPOSELIST_SWITCHBUTTONS_ON_TEXT_OPACITY="modal.purposeList.switchButtons.on.text.opacity",e.MODAL_PURPOSELIST_SWITCHBUTTONS_ON_TEXT_UNDERLINE="modal.purposeList.switchButtons.on.text.underline",e.MODAL_PURPOSELISTHEADER_ACCEPTALLBUTTON="modal.purposeListHeader.acceptAllButton",e.MODAL_PURPOSELISTHEADER_ACCEPTALLBUTTON_BACKGROUND_COLOR="modal.purposeListHeader.acceptAllButton.background.color",e.MODAL_PURPOSELISTHEADER_ACCEPTALLBUTTON_BACKGROUND_OPACITY="modal.purposeListHeader.acceptAllButton.background.opacity",e.MODAL_PURPOSELISTHEADER_ACCEPTALLBUTTON_CORNERRADIUS="modal.purposeListHeader.acceptAllButton.cornerRadius",e.MODAL_PURPOSELISTHEADER_ACCEPTALLBUTTON_ICON_COLOR="modal.purposeListHeader.acceptAllButton.icon.color",e.MODAL_PURPOSELISTHEADER_ACCEPTALLBUTTON_ICON_OPACITY="modal.purposeListHeader.acceptAllButton.icon.opacity",e.MODAL_PURPOSELISTHEADER_ACCEPTALLBUTTON_STYLE="modal.purposeListHeader.acceptAllButton.style",e.MODAL_PURPOSELISTHEADER_ACCEPTALLBUTTON_TEXT_COLOR="modal.purposeListHeader.acceptAllButton.text.color",e.MODAL_PURPOSELISTHEADER_ACCEPTALLBUTTON_TEXT_OPACITY="modal.purposeListHeader.acceptAllButton.text.opacity",e.MODAL_PURPOSELISTHEADER_ACCEPTALLBUTTON_TEXT_UNDERLINE="modal.purposeListHeader.acceptAllButton.text.underline",e.MODAL_PURPOSELISTHEADER_REJECTALLBUTTON="modal.purposeListHeader.rejectAllButton",e.MODAL_PURPOSELISTHEADER_REJECTALLBUTTON_BACKGROUND_COLOR="modal.purposeListHeader.rejectAllButton.background.color",e.MODAL_PURPOSELISTHEADER_REJECTALLBUTTON_BACKGROUND_OPACITY="modal.purposeListHeader.rejectAllButton.background.opacity",e.MODAL_PURPOSELISTHEADER_REJECTALLBUTTON_CORNERRADIUS="modal.purposeListHeader.rejectAllButton.cornerRadius",e.MODAL_PURPOSELISTHEADER_REJECTALLBUTTON_ICON_COLOR="modal.purposeListHeader.rejectAllButton.icon.color",e.MODAL_PURPOSELISTHEADER_REJECTALLBUTTON_ICON_OPACITY="modal.purposeListHeader.rejectAllButton.icon.opacity",e.MODAL_PURPOSELISTHEADER_REJECTALLBUTTON_STYLE="modal.purposeListHeader.rejectAllButton.style",e.MODAL_PURPOSELISTHEADER_REJECTALLBUTTON_TEXT_COLOR="modal.purposeListHeader.rejectAllButton.text.color",e.MODAL_PURPOSELISTHEADER_REJECTALLBUTTON_TEXT_OPACITY="modal.purposeListHeader.rejectAllButton.text.opacity",e.MODAL_PURPOSELISTHEADER_REJECTALLBUTTON_TEXT_UNDERLINE="modal.purposeListHeader.rejectAllButton.text.underline",e.MODAL_PURPOSELISTHEADER_TITLE="modal.purposeListHeader.title",e.MODAL_PURPOSELISTHEADER_TITLE_COLOR="modal.purposeListHeader.title.color",e.MODAL_PURPOSELISTHEADER_TITLE_OPACITY="modal.purposeListHeader.title.opacity",e.MODAL_PURPOSELISTHEADER_TITLE_UNDERLINE="modal.purposeListHeader.title.underline",e.PREFERENCE_CONTAINER="preference.container",e.PREFERENCE_CONTAINER_BACKGROUND="preference.container.background",e.PREFERENCE_CONTAINER_BACKGROUND_COLOR="preference.container.background.color",e.PREFERENCE_CONTAINER_BACKGROUND_OPACITY="preference.container.background.opacity",e.PREFERENCE_CONTAINER_EXITPOSITION="preference.container.exitPosition",e.PREFERENCE_CONTAINER_FONT="preference.container.font",e.PREFERENCE_EXITBUTTON="preference.exitButton",e.PREFERENCE_EXITBUTTON_CORNER_RADIUS="preference.exitButton.cornerRadius",e.PREFERENCE_EXITBUTTON_BACKGROUND="preference.exitButton.background",e.PREFERENCE_EXITBUTTON_BACKGROUND_COLOR="preference.exitButton.background.color",e.PREFERENCE_EXITBUTTON_BACKGROUND_OPACITY="preference.exitButton.background.opacity",e.PREFERENCE_EXITBUTTON_ICON="preference.exitButton.icon",e.PREFERENCE_EXITBUTTON_ICON_NAME="preference.exitButton.icon.name",e.PREFERENCE_EXITBUTTON_ICON_URL="preference.exitButton.icon.url",e.PREFERENCE_EXITBUTTON_ICONCOLOR="preference.exitButton.iconColor",e.PREFERENCE_EXITBUTTON_ICONCOLOR_COLOR="preference.exitButton.iconColor.color",e.PREFERENCE_EXITBUTTON_ICONCOLOR_OPACITY="preference.exitButton.iconColor.opacity",e.PREFERENCE_EXITBUTTON_ICONVISIBLE="preference.exitButton.iconVisible",e.PREFERENCE_EXITBUTTON_TEXT="preference.exitButton.text",e.PREFERENCE_EXITBUTTON_TEXT_COLOR="preference.exitButton.text.color",e.PREFERENCE_EXITBUTTON_TEXT_OPACITY="preference.exitButton.text.opacity",e.PREFERENCE_EXITBUTTON_TEXT_UNDERLINE="preference.exitButton.text.underline",e.PREFERENCE_EXITBUTTON_USEDEFAULTICON="preference.exitButton.useDefaultIcon",e.PREFERENCE_HEADER_BACKGROUND="preference.header.background",e.PREFERENCE_HEADER_BACKGROUND_COLOR="preference.header.background.color",e.PREFERENCE_HEADER_BACKGROUND_OPACITY="preference.header.background.opacity",e.PREFERENCE_HEADER_LOGO_NAME="preference.header.logo.name",e.PREFERENCE_HEADER_LOGO_URL="preference.header.logo.url",e.PREFERENCE_HEADER_TITLE="preference.header.title",e.PREFERENCE_HEADER_TITLE_COLOR="preference.header.title.color",e.PREFERENCE_HEADER_TITLE_OPACITY="preference.header.title.opacity",e.PREFERENCE_HEADER_TITLE_UNDERLINE="preference.header.title.underline",e.PREFERENCE_KETCHBADGEVISIBLE="preference.ketchBadgeVisible",e.PREFERENCE_NAVIGATION_ICONS_PRIVACYPOLICY_NAME="preference.navigation.icons.privacyPolicy.name",e.PREFERENCE_NAVIGATION_ICONS_PRIVACYPOLICY_URL="preference.navigation.icons.privacyPolicy.url",e.PREFERENCE_NAVIGATION_ICONS_PURPOSES_NAME="preference.navigation.icons.purposes.name",e.PREFERENCE_NAVIGATION_ICONS_PURPOSES_URL="preference.navigation.icons.purposes.url",e.PREFERENCE_NAVIGATION_ICONS_REQUESTS_NAME="preference.navigation.icons.requests.name",e.PREFERENCE_NAVIGATION_ICONS_REQUESTS_URL="preference.navigation.icons.requests.url",e.PREFERENCE_NAVIGATION_ICONS_SUBSCRIPTIONS_NAME="preference.navigation.icons.subscriptions.name",e.PREFERENCE_NAVIGATION_ICONS_SUBSCRIPTIONS_URL="preference.navigation.icons.subscriptions.url",e.PREFERENCE_NAVIGATION_ICONS_WELCOME_NAME="preference.navigation.icons.welcome.name",e.PREFERENCE_NAVIGATION_ICONS_WELCOME_URL="preference.navigation.icons.welcome.url",e.PREFERENCE_NAVIGATION_ICONSVISIBLE="preference.navigation.iconsVisible",e.PREFERENCE_NAVIGATION_LAYOUT="preference.navigation.layout",e.PREFERENCE_NAVIGATION_LAYOUT_BACKGROUND="preference.navigation.layout.background",e.PREFERENCE_NAVIGATION_LAYOUT_BACKGROUND_COLOR="preference.navigation.layout.background.color",e.PREFERENCE_NAVIGATION_LAYOUT_BACKGROUND_OPACITY="preference.navigation.layout.background.opacity",e.PREFERENCE_NAVIGATION_LAYOUT_CORNERRADIUS="preference.navigation.layout.cornerRadius",e.PREFERENCE_NAVIGATION_LAYOUT_ITEM="preference.navigation.layout.item",e.PREFERENCE_NAVIGATION_LAYOUT_ITEM_MOBILE="preference.navigation.layout.item.mobile",e.PREFERENCE_NAVIGATION_LAYOUT_ITEM_CORNERRADIUS="preference.navigation.layout.item.cornerRadius",e.PREFERENCE_NAVIGATION_LAYOUT_ITEM_SELECTEDBACKGROUND="preference.navigation.layout.item.selectedBackground",e.PREFERENCE_NAVIGATION_LAYOUT_ITEM_SELECTEDBACKGROUND_COLOR="preference.navigation.layout.item.selectedBackground.color",e.PREFERENCE_NAVIGATION_LAYOUT_ITEM_SELECTEDBACKGROUND_OPACITY="preference.navigation.layout.item.selectedBackground.opacity",e.PREFERENCE_NAVIGATION_LAYOUT_ITEM_SELECTEDTEXT="preference.navigation.layout.item.selectedText",e.PREFERENCE_NAVIGATION_LAYOUT_ITEM_SELECTEDTEXT_COLOR="preference.navigation.layout.item.selectedText.color",e.PREFERENCE_NAVIGATION_LAYOUT_ITEM_SELECTEDTEXT_OPACITY="preference.navigation.layout.item.selectedText.opacity",e.PREFERENCE_NAVIGATION_LAYOUT_ITEM_SELECTEDTEXT_UNDERLINE="preference.navigation.layout.item.selectedText.underline",e.PREFERENCE_NAVIGATION_LAYOUT_ITEM_UNSELECTEDBACKGROUND="preference.navigation.layout.item.unselectedBackground",e.PREFERENCE_NAVIGATION_LAYOUT_ITEM_UNSELECTEDBACKGROUND_COLOR="preference.navigation.layout.item.unselectedBackground.color",e.PREFERENCE_NAVIGATION_LAYOUT_ITEM_UNSELECTEDBACKGROUND_OPACITY="preference.navigation.layout.item.unselectedBackground.opacity",e.PREFERENCE_NAVIGATION_LAYOUT_ITEM_UNSELECTEDTEXT="preference.navigation.layout.item.unselectedText",e.PREFERENCE_NAVIGATION_LAYOUT_ITEM_UNSELECTEDTEXT_COLOR="preference.navigation.layout.item.unselectedText.color",e.PREFERENCE_NAVIGATION_LAYOUT_ITEM_UNSELECTEDTEXT_OPACITY="preference.navigation.layout.item.unselectedText.opacity",e.PREFERENCE_NAVIGATION_LAYOUT_ITEM_UNSELECTEDTEXT_UNDERLINE="preference.navigation.layout.item.unselectedText.underline",e.PREFERENCE_TABS_PRIVACYPOLICY_LINK_COLOR="preference.tabs.privacyPolicy.link.color",e.PREFERENCE_TABS_PRIVACYPOLICY_LINK_OPACITY="preference.tabs.privacyPolicy.link.opacity",e.PREFERENCE_TABS_PRIVACYPOLICY_LINK_UNDERLINE="preference.tabs.privacyPolicy.link.underline",e.PREFERENCE_TABS_PRIVACYPOLICY_TEXT_COLOR="preference.tabs.privacyPolicy.text.color",e.PREFERENCE_TABS_PRIVACYPOLICY_TEXT_OPACITY="preference.tabs.privacyPolicy.text.opacity",e.PREFERENCE_TABS_PRIVACYPOLICY_TEXT_UNDERLINE="preference.tabs.privacyPolicy.text.underline",e.PREFERENCE_TABS_PURPOSES_FOOTER_ACTIONBUTTON_BACKGROUND="preference.tabs.purposes.footer.actionButton.background",e.PREFERENCE_TABS_PURPOSES_FOOTER_ACTIONBUTTON_BACKGROUND_COLOR="preference.tabs.purposes.footer.actionButton.background.color",e.PREFERENCE_TABS_PURPOSES_FOOTER_ACTIONBUTTON_BACKGROUND_OPACITY="preference.tabs.purposes.footer.actionButton.background.opacity",e.PREFERENCE_TABS_PURPOSES_FOOTER_ACTIONBUTTON="preference.tabs.purposes.footer.actionButton",e.PREFERENCE_TABS_PURPOSES_FOOTER_ACTIONBUTTON_CORNERRADIUS="preference.tabs.purposes.footer.actionButton.cornerRadius",e.PREFERENCE_TABS_PURPOSES_FOOTER_ACTIONBUTTON_ICON_COLOR="preference.tabs.purposes.footer.actionButton.icon.color",e.PREFERENCE_TABS_PURPOSES_FOOTER_ACTIONBUTTON_ICON_OPACITY="preference.tabs.purposes.footer.actionButton.icon.opacity",e.PREFERENCE_TABS_PURPOSES_FOOTER_ACTIONBUTTON_STYLE="preference.tabs.purposes.footer.actionButton.style",e.PREFERENCE_TABS_PURPOSES_FOOTER_ACTIONBUTTON_TEXT_COLOR="preference.tabs.purposes.footer.actionButton.text.color",e.PREFERENCE_TABS_PURPOSES_FOOTER_ACTIONBUTTON_TEXT_OPACITY="preference.tabs.purposes.footer.actionButton.text.opacity",e.PREFERENCE_TABS_PURPOSES_FOOTER_ACTIONBUTTON_TEXT_UNDERLINE="preference.tabs.purposes.footer.actionButton.text.underline",e.PREFERENCE_TABS_PURPOSES_FOOTER_BACKGROUND="preference.tabs.purposes.footer.background",e.PREFERENCE_TABS_PURPOSES_FOOTER_BACKGROUND_COLOR="preference.tabs.purposes.footer.background.color",e.PREFERENCE_TABS_PURPOSES_FOOTER_BACKGROUND_OPACITY="preference.tabs.purposes.footer.background.opacity",e.PREFERENCE_TABS_PURPOSES_HEADER_DESCRIPTION="preference.tabs.purposes.header.description",e.PREFERENCE_TABS_PURPOSES_HEADER_DESCRIPTION_COLOR="preference.tabs.purposes.header.description.color",e.PREFERENCE_TABS_PURPOSES_HEADER_DESCRIPTION_OPACITY="preference.tabs.purposes.header.description.opacity",e.PREFERENCE_TABS_PURPOSES_HEADER_DESCRIPTION_UNDERLINE="preference.tabs.purposes.header.description.underline",e.PREFERENCE_TABS_PURPOSES_HEADER_LINK="preference.tabs.purposes.header.link",e.PREFERENCE_TABS_PURPOSES_HEADER_LINK_COLOR="preference.tabs.purposes.header.link.color",e.PREFERENCE_TABS_PURPOSES_HEADER_LINK_OPACITY="preference.tabs.purposes.header.link.opacity",e.PREFERENCE_TABS_PURPOSES_HEADER_LINK_UNDERLINE="preference.tabs.purposes.header.link.underline",e.PREFERENCE_TABS_PURPOSES_HEADER_TITLE="preference.tabs.purposes.header.title",e.PREFERENCE_TABS_PURPOSES_HEADER_TITLE_COLOR="preference.tabs.purposes.header.title.color",e.PREFERENCE_TABS_PURPOSES_HEADER_TITLE_OPACITY="preference.tabs.purposes.header.title.opacity",e.PREFERENCE_TABS_PURPOSES_HEADER_TITLE_UNDERLINE="preference.tabs.purposes.header.title.underline",e.PREFERENCE_TABS_PURPOSES_GPCBANNER="preference.tabs.purposes.gpcBanner",e.PREFERENCE_TABS_PURPOSES_GPCBANNER_FILL="preference.tabs.purposes.gpcBanner.fill",e.PREFERENCE_TABS_PURPOSES_GPCBANNER_FILL_COLOR="preference.tabs.purposes.gpcBanner.fill.color",e.PREFERENCE_TABS_PURPOSES_GPCBANNER_OUTLINE="preference.tabs.purposes.gpcBanner.outline",e.PREFERENCE_TABS_PURPOSES_GPCBANNER_OUTLINE_COLOR="preference.tabs.purposes.gpcBanner.outline.color",e.PREFERENCE_TABS_PURPOSES_GPCBANNER_TITLE="preference.tabs.purposes.gpcBanner.title.text",e.PREFERENCE_TABS_PURPOSES_GPCBANNER_TITLE_COLOR="preference.tabs.purposes.gpcBanner.title.text.color",e.PREFERENCE_TABS_PURPOSES_GPCBANNER_DESCRIPTION="preference.tabs.purposes.gpcBanner.description.text",e.PREFERENCE_TABS_PURPOSES_GPCBANNER_DESCRIPTION_COLOR="preference.tabs.purposes.gpcBanner.description.text.color",e.PREFERENCE_TABS_PURPOSES_GPCBANNER_CORNERRADIUS="preference.tabs.purposes.gpcBanner.cornerRadius",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_PURPOSELISTITEMS="preference.tabs.purposes.purposeList.purposeListItems",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_PURPOSELISTITEMS_ARROWICON="preference.tabs.purposes.purposeList.purposeListItems.arrowIcon",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_PURPOSELISTITEMS_ARROWICON_COLOR="preference.tabs.purposes.purposeList.purposeListItems.arrowIcon.color",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_PURPOSELISTITEMS_ARROWICON_OPACITY="preference.tabs.purposes.purposeList.purposeListItems.arrowIcon.opacity",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_PURPOSELISTITEMS_LAYOUT="preference.tabs.purposes.purposeList.purposeListItems.layout",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_PURPOSELISTITEMS_PURPOSECONTENT="preference.tabs.purposes.purposeList.purposeListItems.purposeContent",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_PURPOSELISTITEMS_PURPOSECONTENT_COLOR="preference.tabs.purposes.purposeList.purposeListItems.purposeContent.color",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_PURPOSELISTITEMS_PURPOSECONTENT_OPACITY="preference.tabs.purposes.purposeList.purposeListItems.purposeContent.opacity",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_PURPOSELISTITEMS_PURPOSECORNERRADIUS="preference.tabs.purposes.purposeList.purposeListItems.purposeCornerRadius",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_PURPOSELISTITEMS_PURPOSEFILL="preference.tabs.purposes.purposeList.purposeListItems.purposeFill",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_PURPOSELISTITEMS_PURPOSEFILL_COLOR="preference.tabs.purposes.purposeList.purposeListItems.purposeFill.color",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_PURPOSELISTITEMS_PURPOSEFILL_OPACITY="preference.tabs.purposes.purposeList.purposeListItems.purposeFill.opacity",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_PURPOSELISTITEMS_PURPOSEOUTLINE="preference.tabs.purposes.purposeList.purposeListItems.purposeOutline",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_PURPOSELISTITEMS_PURPOSEOUTLINE_COLOR="preference.tabs.purposes.purposeList.purposeListItems.purposeOutline.color",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_PURPOSELISTITEMS_PURPOSEOUTLINE_OPACITY="preference.tabs.purposes.purposeList.purposeListItems.purposeOutline.opacity",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_PURPOSELISTITEMS_PURPOSELINKS="preference.tabs.purposes.purposeList.purposeListItems.purposeLinks",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_PURPOSELISTITEMS_PURPOSELINKS_COLOR="preference.tabs.purposes.purposeList.purposeListItems.purposeLinks.color",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_PURPOSELISTITEMS_PURPOSELINKS_OPACITY="preference.tabs.purposes.purposeList.purposeListItems.purposeLinks.opacity",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_PURPOSELISTITEMS_STYLE="preference.tabs.purposes.purposeList.purposeListItems.style",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_CHECKBOX="preference.tabs.purposes.purposeList.checkbox",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_SWITCHBUTTONS="preference.tabs.purposes.purposeList.switchButtons",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_SWITCHBUTTONS_OFF_BACKGROUND="preference.tabs.purposes.purposeList.switchButtons.off.background",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_SWITCHBUTTONS_OFF_BACKGROUND_COLOR="preference.tabs.purposes.purposeList.switchButtons.off.background.color",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_SWITCHBUTTONS_OFF_BACKGROUND_OPACITY="preference.tabs.purposes.purposeList.switchButtons.off.background.opacity",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_SWITCHBUTTONS_OFF_TEXT="preference.tabs.purposes.purposeList.switchButtons.off.text",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_SWITCHBUTTONS_OFF_TEXT_COLOR="preference.tabs.purposes.purposeList.switchButtons.off.text.color",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_SWITCHBUTTONS_OFF_TEXT_OPACITY="preference.tabs.purposes.purposeList.switchButtons.off.text.opacity",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_SWITCHBUTTONS_OFF_TEXT_UNDERLINE="preference.tabs.purposes.purposeList.switchButtons.off.text.underline",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_SWITCHBUTTONS_ON_BACKGROUND="preference.tabs.purposes.purposeList.switchButtons.on.background",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_SWITCHBUTTONS_ON_BACKGROUND_COLOR="preference.tabs.purposes.purposeList.switchButtons.on.background.color",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_SWITCHBUTTONS_ON_BACKGROUND_OPACITY="preference.tabs.purposes.purposeList.switchButtons.on.background.opacity",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_SWITCHBUTTONS_ON_TEXT="preference.tabs.purposes.purposeList.switchButtons.on.text",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_SWITCHBUTTONS_ON_TEXT_COLOR="preference.tabs.purposes.purposeList.switchButtons.on.text.color",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_SWITCHBUTTONS_ON_TEXT_OPACITY="preference.tabs.purposes.purposeList.switchButtons.on.text.opacity",e.PREFERENCE_TABS_PURPOSES_PURPOSELIST_SWITCHBUTTONS_ON_TEXT_UNDERLINE="preference.tabs.purposes.purposeList.switchButtons.on.text.underline",e.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_ACCEPTALLBUTTON="preference.tabs.purposes.purposeListHeader.acceptAllButton",e.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_ACCEPTALLBUTTON_BACKGROUND_COLOR="preference.tabs.purposes.purposeListHeader.acceptAllButton.background.color",e.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_ACCEPTALLBUTTON_BACKGROUND_OPACITY="preference.tabs.purposes.purposeListHeader.acceptAllButton.background.opacity",e.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_ACCEPTALLBUTTON_CORNERRADIUS="preference.tabs.purposes.purposeListHeader.acceptAllButton.cornerRadius",e.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_ACCEPTALLBUTTON_ICON_COLOR="preference.tabs.purposes.purposeListHeader.acceptAllButton.icon.color",e.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_ACCEPTALLBUTTON_ICON_OPACITY="preference.tabs.purposes.purposeListHeader.acceptAllButton.icon.opacity",e.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_ACCEPTALLBUTTON_STYLE="preference.tabs.purposes.purposeListHeader.acceptAllButton.style",e.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_ACCEPTALLBUTTON_TEXT_COLOR="preference.tabs.purposes.purposeListHeader.acceptAllButton.text.color",e.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_ACCEPTALLBUTTON_TEXT_OPACITY="preference.tabs.purposes.purposeListHeader.acceptAllButton.text.opacity",e.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_ACCEPTALLBUTTON_TEXT_UNDERLINE="preference.tabs.purposes.purposeListHeader.acceptAllButton.text.underline",e.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_REJECTALLBUTTON="preference.tabs.purposes.purposeListHeader.rejectAllButton",e.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_REJECTALLBUTTON_BACKGROUND_COLOR="preference.tabs.purposes.purposeListHeader.rejectAllButton.background.color",e.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_REJECTALLBUTTON_BACKGROUND_OPACITY="preference.tabs.purposes.purposeListHeader.rejectAllButton.background.opacity",e.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_REJECTALLBUTTON_CORNERRADIUS="preference.tabs.purposes.purposeListHeader.rejectAllButton.cornerRadius",e.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_REJECTALLBUTTON_ICON_COLOR="preference.tabs.purposes.purposeListHeader.rejectAllButton.icon.color",e.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_REJECTALLBUTTON_ICON_OPACITY="preference.tabs.purposes.purposeListHeader.rejectAllButton.icon.opacity",e.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_REJECTALLBUTTON_STYLE="preference.tabs.purposes.purposeListHeader.rejectAllButton.style",e.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_REJECTALLBUTTON_TEXT_COLOR="preference.tabs.purposes.purposeListHeader.rejectAllButton.text.color",e.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_REJECTALLBUTTON_TEXT_OPACITY="preference.tabs.purposes.purposeListHeader.rejectAllButton.text.opacity",e.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_REJECTALLBUTTON_TEXT_UNDERLINE="preference.tabs.purposes.purposeListHeader.rejectAllButton.text.underline",e.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_TITLE="preference.tabs.purposes.purposeListHeader.title",e.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_TITLE_COLOR="preference.tabs.purposes.purposeListHeader.title.color",e.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_TITLE_OPACITY="preference.tabs.purposes.purposeListHeader.title.opacity",e.PREFERENCE_TABS_PURPOSES_PURPOSELISTHEADER_TITLE_UNDERLINE="preference.tabs.purposes.purposeListHeader.title.underline",e.PREFERENCE_TABS_REQUESTS_HOME_DSRPORTALLINK="preference.tabs.requests.home.dsrPortalLink",e.PREFERENCE_TABS_REQUESTS_HOME_DSRPORTALLINK_ARROWICON_COLOR="preference.tabs.requests.home.dsrPortalLink.arrowIcon.color",e.PREFERENCE_TABS_REQUESTS_HOME_DSRPORTALLINK_ARROWICON_OPACITY="preference.tabs.requests.home.dsrPortalLink.arrowIcon.opacity",e.PREFERENCE_TABS_REQUESTS_HOME_DSRPORTALLINK_BACKGROUND_COLOR="preference.tabs.requests.home.dsrPortalLink.background.color",e.PREFERENCE_TABS_REQUESTS_HOME_DSRPORTALLINK_BACKGROUND_OPACITY="preference.tabs.requests.home.dsrPortalLink.background.opacity",e.PREFERENCE_TABS_REQUESTS_HOME_DSRPORTALLINK_CORNERRADIUS="preference.tabs.requests.home.dsrPortalLink.cornerRadius",e.PREFERENCE_TABS_REQUESTS_HOME_DSRPORTALLINK_DESCRIPTION_COLOR="preference.tabs.requests.home.dsrPortalLink.description.color",e.PREFERENCE_TABS_REQUESTS_HOME_DSRPORTALLINK_DESCRIPTION_OPACITY="preference.tabs.requests.home.dsrPortalLink.description.opacity",e.PREFERENCE_TABS_REQUESTS_HOME_DSRPORTALLINK_DESCRIPTION_UNDERLINE="preference.tabs.requests.home.dsrPortalLink.description.underline",e.PREFERENCE_TABS_REQUESTS_HOME_DSRPORTALLINK_TITLE_COLOR="preference.tabs.requests.home.dsrPortalLink.title.color",e.PREFERENCE_TABS_REQUESTS_HOME_DSRPORTALLINK_TITLE_OPACITY="preference.tabs.requests.home.dsrPortalLink.title.opacity",e.PREFERENCE_TABS_REQUESTS_HOME_DSRPORTALLINK_TITLE_UNDERLINE="preference.tabs.requests.home.dsrPortalLink.title.underline",e.PREFERENCE_TABS_REQUESTS_HOME_HEADER_DESCRIPTION="preference.tabs.requests.home.header.description",e.PREFERENCE_TABS_REQUESTS_HOME_HEADER_DESCRIPTION_COLOR="preference.tabs.requests.home.header.description.color",e.PREFERENCE_TABS_REQUESTS_HOME_HEADER_DESCRIPTION_OPACITY="preference.tabs.requests.home.header.description.opacity",e.PREFERENCE_TABS_REQUESTS_HOME_HEADER_DESCRIPTION_UNDERLINE="preference.tabs.requests.home.header.description.underline",e.PREFERENCE_TABS_REQUESTS_HOME_HEADER_LINK="preference.tabs.requests.home.header.link",e.PREFERENCE_TABS_REQUESTS_HOME_HEADER_LINK_COLOR="preference.tabs.requests.home.header.link.color",e.PREFERENCE_TABS_REQUESTS_HOME_HEADER_LINK_OPACITY="preference.tabs.requests.home.header.link.opacity",e.PREFERENCE_TABS_REQUESTS_HOME_HEADER_LINK_UNDERLINE="preference.tabs.requests.home.header.link.underline",e.PREFERENCE_TABS_REQUESTS_HOME_HEADER_TITLE="preference.tabs.requests.home.header.title",e.PREFERENCE_TABS_REQUESTS_HOME_HEADER_TITLE_COLOR="preference.tabs.requests.home.header.title.color",e.PREFERENCE_TABS_REQUESTS_HOME_HEADER_TITLE_OPACITY="preference.tabs.requests.home.header.title.opacity",e.PREFERENCE_TABS_REQUESTS_HOME_HEADER_TITLE_UNDERLINE="preference.tabs.requests.home.header.title.underline",e.PREFERENCE_TABS_REQUESTS_HOME_RIGHTSLIST_ITEM="preference.tabs.requests.home.rightsList.item",e.PREFERENCE_TABS_REQUESTS_HOME_RIGHTSLIST_ITEM_ARROWICON_COLOR="preference.tabs.requests.home.rightsList.item.arrowIcon.color",e.PREFERENCE_TABS_REQUESTS_HOME_RIGHTSLIST_ITEM_ARROWICON_OPACITY="preference.tabs.requests.home.rightsList.item.arrowIcon.opacity",e.PREFERENCE_TABS_REQUESTS_HOME_RIGHTSLIST_ITEM_BACKGROUND_COLOR="preference.tabs.requests.home.rightsList.item.background.color",e.PREFERENCE_TABS_REQUESTS_HOME_RIGHTSLIST_ITEM_BACKGROUND_OPACITY="preference.tabs.requests.home.rightsList.item.background.opacity",e.PREFERENCE_TABS_REQUESTS_HOME_RIGHTSLIST_ITEM_CORNERRADIUS="preference.tabs.requests.home.rightsList.item.cornerRadius",e.PREFERENCE_TABS_REQUESTS_HOME_RIGHTSLIST_ITEM_TITLE="preference.tabs.requests.home.rightsList.item.title",e.PREFERENCE_TABS_REQUESTS_HOME_RIGHTSLIST_ITEM_TITLE_COLOR="preference.tabs.requests.home.rightsList.item.title.color",e.PREFERENCE_TABS_REQUESTS_HOME_RIGHTSLIST_ITEM_TITLE_OPACITY="preference.tabs.requests.home.rightsList.item.title.opacity",e.PREFERENCE_TABS_REQUESTS_HOME_RIGHTSLIST_ITEM_TITLE_UNDERLINE="preference.tabs.requests.home.rightsList.item.title.underline",e.PREFERENCE_TABS_REQUESTS_HOME_RIGHTSLIST_TITLE="preference.tabs.requests.home.rightsList.title",e.PREFERENCE_TABS_REQUESTS_HOME_RIGHTSLIST_TITLE_COLOR="preference.tabs.requests.home.rightsList.title.color",e.PREFERENCE_TABS_REQUESTS_HOME_RIGHTSLIST_TITLE_OPACITY="preference.tabs.requests.home.rightsList.title.opacity",e.PREFERENCE_TABS_REQUESTS_HOME_RIGHTSLIST_TITLE_UNDERLINE="preference.tabs.requests.home.rightsList.title.underline",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM="preference.tabs.requests.rightForm",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_ACTIONBUTTON="preference.tabs.requests.rightForm.actionButton",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_ACTIONBUTTON_BACKGROUND_COLOR="preference.tabs.requests.rightForm.actionButton.background.color",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_ACTIONBUTTON_BACKGROUND_OPACITY="preference.tabs.requests.rightForm.actionButton.background.opacity",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_ACTIONBUTTON_CORNERRADIUS="preference.tabs.requests.rightForm.actionButton.cornerRadius",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_ACTIONBUTTON_ICON_COLOR="preference.tabs.requests.rightForm.actionButton.icon.color",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_ACTIONBUTTON_ICON_OPACITY="preference.tabs.requests.rightForm.actionButton.icon.opacity",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_ACTIONBUTTON_STYLE="preference.tabs.requests.rightForm.actionButton.style",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_ACTIONBUTTON_TEXT_COLOR="preference.tabs.requests.rightForm.actionButton.text.color",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_ACTIONBUTTON_TEXT_OPACITY="preference.tabs.requests.rightForm.actionButton.text.opacity",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_ACTIONBUTTON_TEXT_UNDERLINE="preference.tabs.requests.rightForm.actionButton.text.underline",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_CHECKBOXES="preference.tabs.requests.rightForm.form.checkboxes",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_CHECKBOXES_ERROR_BACKGROUND_COLOR="preference.tabs.requests.rightForm.form.checkboxes.error.background.color",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_CHECKBOXES_ERROR_BACKGROUND_OPACITY="preference.tabs.requests.rightForm.form.checkboxes.error.background.opacity",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_CHECKBOXES_ERROR_LABEL_COLOR="preference.tabs.requests.rightForm.form.checkboxes.error.label.color",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_CHECKBOXES_ERROR_LABEL_OPACITY="preference.tabs.requests.rightForm.form.checkboxes.error.label.opacity",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_CHECKBOXES_SELECTED_BACKGROUND_COLOR="preference.tabs.requests.rightForm.form.checkboxes.selected.background.color",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_CHECKBOXES_SELECTED_BACKGROUND_OPACITY="preference.tabs.requests.rightForm.form.checkboxes.selected.background.opacity",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_CHECKBOXES_SELECTED_LABEL_COLOR="preference.tabs.requests.rightForm.form.checkboxes.selected.label.color",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_CHECKBOXES_SELECTED_LABEL_OPACITY="preference.tabs.requests.rightForm.form.checkboxes.selected.label.opacity",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_CHECKBOXES_UNSELECTED_BACKGROUND_COLOR="preference.tabs.requests.rightForm.form.checkboxes.unselected.background.color",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_CHECKBOXES_UNSELECTED_BACKGROUND_OPACITY="preference.tabs.requests.rightForm.form.checkboxes.unselected.background.opacity",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_CHECKBOXES_UNSELECTED_LABEL_COLOR="preference.tabs.requests.rightForm.form.checkboxes.unselected.label.color",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_CHECKBOXES_UNSELECTED_LABEL_OPACITY="preference.tabs.requests.rightForm.form.checkboxes.unselected.label.opacity",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_DIVIDERS_SUBTITLE="preference.tabs.requests.rightForm.form.dividers.subtitle",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_DIVIDERS_SUBTITLE_COLOR="preference.tabs.requests.rightForm.form.dividers.subtitle.color",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_DIVIDERS_SUBTITLE_OPACITY="preference.tabs.requests.rightForm.form.dividers.subtitle.opacity",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_DIVIDERS_SUBTITLE_UNDERLINE="preference.tabs.requests.rightForm.form.dividers.subtitle.underline",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_DIVIDERS_TITLE="preference.tabs.requests.rightForm.form.dividers.title",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_DIVIDERS_TITLE_COLOR="preference.tabs.requests.rightForm.form.dividers.title.color",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_DIVIDERS_TITLE_OPACITY="preference.tabs.requests.rightForm.form.dividers.title.opacity",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_DIVIDERS_TITLE_UNDERLINE="preference.tabs.requests.rightForm.form.dividers.title.underline",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_FIELDS="preference.tabs.requests.rightForm.form.fields",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_FIELDS_ACTIVE_BACKGROUND_COLOR="preference.tabs.requests.rightForm.form.fields.active.background.color",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_FIELDS_ACTIVE_BACKGROUND_OPACITY="preference.tabs.requests.rightForm.form.fields.active.background.opacity",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_FIELDS_ACTIVE_OUTLINE_COLOR="preference.tabs.requests.rightForm.form.fields.active.outline.color",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_FIELDS_ACTIVE_OUTLINE_OPACITY="preference.tabs.requests.rightForm.form.fields.active.outline.opacity",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_FIELDS_CORNERRADIUS="preference.tabs.requests.rightForm.form.fields.cornerRadius",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_FIELDS_ERROR_BACKGROUND_COLOR="preference.tabs.requests.rightForm.form.fields.error.background.color",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_FIELDS_ERROR_BACKGROUND_OPACITY="preference.tabs.requests.rightForm.form.fields.error.background.opacity",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_FIELDS_ERROR_OUTLINE_COLOR="preference.tabs.requests.rightForm.form.fields.error.outline.color",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_FIELDS_ERROR_OUTLINE_OPACITY="preference.tabs.requests.rightForm.form.fields.error.outline.opacity",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_FIELDS_FIELDLABEL_COLOR="preference.tabs.requests.rightForm.form.fields.fieldLabel.color",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_FIELDS_FIELDLABEL_OPACITY="preference.tabs.requests.rightForm.form.fields.fieldLabel.opacity",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_FIELDS_FIELDLABEL_UNDERLINE="preference.tabs.requests.rightForm.form.fields.fieldLabel.underline",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_FIELDS_HINTTEXT_COLOR="preference.tabs.requests.rightForm.form.fields.hintText.color",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_FIELDS_HINTTEXT_OPACITY="preference.tabs.requests.rightForm.form.fields.hintText.opacity",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_FIELDS_HINTTEXT_UNDERLINE="preference.tabs.requests.rightForm.form.fields.hintText.underline",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_FIELDS_INACTIVE_BACKGROUND_COLOR="preference.tabs.requests.rightForm.form.fields.inactive.background.color",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_FIELDS_INACTIVE_BACKGROUND_OPACITY="preference.tabs.requests.rightForm.form.fields.inactive.background.opacity",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_FIELDS_INACTIVE_OUTLINE_COLOR="preference.tabs.requests.rightForm.form.fields.inactive.outline.color",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_FIELDS_INACTIVE_OUTLINE_OPACITY="preference.tabs.requests.rightForm.form.fields.inactive.outline.opacity",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_FIELDS_INPUTTEXT_COLOR="preference.tabs.requests.rightForm.form.fields.inputText.color",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_FIELDS_INPUTTEXT_OPACITY="preference.tabs.requests.rightForm.form.fields.inputText.opacity",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_FIELDS_INPUTTEXT_UNDERLINE="preference.tabs.requests.rightForm.form.fields.inputText.underline",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_FORM_FIELDS_STYLE="preference.tabs.requests.rightForm.form.fields.style",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_HEADER_RETURNBUTTON="preference.tabs.requests.rightForm.header.returnButton",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_HEADER_RETURNBUTTON_BACKGROUND_COLOR="preference.tabs.requests.rightForm.header.returnButton.background.color",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_HEADER_RETURNBUTTON_BACKGROUND_OPACITY="preference.tabs.requests.rightForm.header.returnButton.background.opacity",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_HEADER_RETURNBUTTON_CORNERRADIUS="preference.tabs.requests.rightForm.header.returnButton.cornerRadius",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_HEADER_RETURNBUTTON_ICON_COLOR="preference.tabs.requests.rightForm.header.returnButton.icon.color",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_HEADER_RETURNBUTTON_ICON_OPACITY="preference.tabs.requests.rightForm.header.returnButton.icon.opacity",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_HEADER_TITLE="preference.tabs.requests.rightForm.header.title",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_HEADER_TITLE_COLOR="preference.tabs.requests.rightForm.header.title.color",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_HEADER_TITLE_OPACITY="preference.tabs.requests.rightForm.header.title.opacity",e.PREFERENCE_TABS_REQUESTS_RIGHTFORM_HEADER_TITLE_UNDERLINE="preference.tabs.requests.rightForm.header.title.underline",e.PREFERENCE_TABS_REQUESTS_SUBMITTED="preference.tabs.requests.submitted",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_BANNER_IMAGE_NAME="preference.tabs.requests.submitted.banner.image.name",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_BANNER_IMAGE_URL="preference.tabs.requests.submitted.banner.image.url",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_BANNER_VISIBLE="preference.tabs.requests.submitted.banner.visible",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_FOOTER="preference.tabs.requests.submitted.footer",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_FOOTER_ACTIONBUTTON="preference.tabs.requests.submitted.footer.actionButton",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_FOOTER_ACTIONBUTTON_BACKGROUND_COLOR="preference.tabs.requests.submitted.footer.actionButton.background.color",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_FOOTER_ACTIONBUTTON_BACKGROUND_OPACITY="preference.tabs.requests.submitted.footer.actionButton.background.opacity",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_FOOTER_ACTIONBUTTON_STYLE="preference.tabs.requests.submitted.footer.actionButton.style",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_FOOTER_ACTIONBUTTON_TEXT_COLOR="preference.tabs.requests.submitted.footer.actionButton.text.color",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_FOOTER_ACTIONBUTTON_TEXT_OPACITY="preference.tabs.requests.submitted.footer.actionButton.text.opacity",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_FOOTER_BACKGROUND_COLOR="preference.tabs.requests.submitted.footer.background.color",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_FOOTER_BACKGROUND_OPACITY="preference.tabs.requests.submitted.footer.background.opacity",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_HEADER_RETURNBUTTON="preference.tabs.requests.submitted.header.returnButton",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_HEADER_RETURNBUTTON_BACKGROUND_COLOR="preference.tabs.requests.submitted.header.returnButton.background.color",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_HEADER_RETURNBUTTON_BACKGROUND_OPACITY="preference.tabs.requests.submitted.header.returnButton.background.opacity",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_HEADER_RETURNBUTTON_CORNERRADIUS="preference.tabs.requests.submitted.header.returnButton.cornerRadius",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_HEADER_RETURNBUTTON_ICON_COLOR="preference.tabs.requests.submitted.header.returnButton.icon.color",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_HEADER_RETURNBUTTON_ICON_OPACITY="preference.tabs.requests.submitted.header.returnButton.icon.opacity",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_HEADER="preference.tabs.requests.submitted.header",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_HEADER_TITLE_COLOR="preference.tabs.requests.submitted.header.title.color",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_HEADER_TITLE_OPACITY="preference.tabs.requests.submitted.header.title.opacity",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_HEADER_TITLE_UNDERLINE="preference.tabs.requests.submitted.header.title.underline",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_TEXT_DESCRIPTION_COLOR="preference.tabs.requests.submitted.text.description.color",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_TEXT_DESCRIPTION_OPACITY="preference.tabs.requests.submitted.text.description.opacity",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_TEXT_DESCRIPTION_UNDERLINE="preference.tabs.requests.submitted.text.description.underline",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_TEXT_TITLE_COLOR="preference.tabs.requests.submitted.text.title.color",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_TEXT_TITLE_OPACITY="preference.tabs.requests.submitted.text.title.opacity",e.PREFERENCE_TABS_REQUESTS_SUBMITTED_TEXT_TITLE_UNDERLINE="preference.tabs.requests.submitted.text.title.underline",e.PREFERENCE_TABS_SUBSCRIPTIONS_FOOTER_ACTIONBUTTON="preference.tabs.subscriptions.footer.actionButton",e.PREFERENCE_TABS_SUBSCRIPTIONS_FOOTER_ACTIONBUTTON_BACKGROUND_COLOR="preference.tabs.subscriptions.footer.actionButton.background.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_FOOTER_ACTIONBUTTON_BACKGROUND_OPACITY="preference.tabs.subscriptions.footer.actionButton.background.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_FOOTER_ACTIONBUTTON_CORNERRADIUS="preference.tabs.subscriptions.footer.actionButton.cornerRadius",e.PREFERENCE_TABS_SUBSCRIPTIONS_FOOTER_ACTIONBUTTON_ICON_COLOR="preference.tabs.subscriptions.footer.actionButton.icon.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_FOOTER_ACTIONBUTTON_ICON_OPACITY="preference.tabs.subscriptions.footer.actionButton.icon.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_FOOTER_ACTIONBUTTON_STYLE="preference.tabs.subscriptions.footer.actionButton.style",e.PREFERENCE_TABS_SUBSCRIPTIONS_FOOTER_ACTIONBUTTON_TEXT_COLOR="preference.tabs.subscriptions.footer.actionButton.text.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_FOOTER_ACTIONBUTTON_TEXT_OPACITY="preference.tabs.subscriptions.footer.actionButton.text.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_FOOTER_ACTIONBUTTON_TEXT_UNDERLINE="preference.tabs.subscriptions.footer.actionButton.text.underline",e.PREFERENCE_TABS_SUBSCRIPTIONS_FOOTER_BACKGROUND="preference.tabs.subscriptions.footer.background",e.PREFERENCE_TABS_SUBSCRIPTIONS_FOOTER_BACKGROUND_COLOR="preference.tabs.subscriptions.footer.background.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_FOOTER_BACKGROUND_OPACITY="preference.tabs.subscriptions.footer.background.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_HEADER_DESCRIPTION="preference.tabs.subscriptions.header.description",e.PREFERENCE_TABS_SUBSCRIPTIONS_HEADER_DESCRIPTION_COLOR="preference.tabs.subscriptions.header.description.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_HEADER_DESCRIPTION_OPACITY="preference.tabs.subscriptions.header.description.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_HEADER_DESCRIPTION_UNDERLINE="preference.tabs.subscriptions.header.description.underline",e.PREFERENCE_TABS_SUBSCRIPTIONS_HEADER_LINK="preference.tabs.subscriptions.header.link",e.PREFERENCE_TABS_SUBSCRIPTIONS_HEADER_LINK_COLOR="preference.tabs.subscriptions.header.link.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_HEADER_LINK_OPACITY="preference.tabs.subscriptions.header.link.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_HEADER_LINK_UNDERLINE="preference.tabs.subscriptions.header.link.underline",e.PREFERENCE_TABS_SUBSCRIPTIONS_HEADER_TITLE="preference.tabs.subscriptions.header.title",e.PREFERENCE_TABS_SUBSCRIPTIONS_HEADER_TITLE_COLOR="preference.tabs.subscriptions.header.title.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_HEADER_TITLE_OPACITY="preference.tabs.subscriptions.header.title.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_HEADER_TITLE_UNDERLINE="preference.tabs.subscriptions.header.title.underline",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_CHECKBOX="preference.tabs.subscriptions.list.checkbox",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_CHECKBOX_SELECTED_BACKGROUND_COLOR="preference.tabs.subscriptions.list.checkbox.selected.background.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_CHECKBOX_SELECTED_BACKGROUND_OPACITY="preference.tabs.subscriptions.list.checkbox.selected.background.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_CHECKBOX_SELECTED_LABEL_COLOR="preference.tabs.subscriptions.list.checkbox.selected.label.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_CHECKBOX_SELECTED_LABEL_OPACITY="preference.tabs.subscriptions.list.checkbox.selected.label.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_CHECKBOX_UNSELECTED_BACKGROUND_COLOR="preference.tabs.subscriptions.list.checkbox.unselected.background.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_CHECKBOX_UNSELECTED_BACKGROUND_OPACITY="preference.tabs.subscriptions.list.checkbox.unselected.background.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_CHECKBOX_UNSELECTED_LABEL_COLOR="preference.tabs.subscriptions.list.checkbox.unselected.label.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_CHECKBOX_UNSELECTED_LABEL_OPACITY="preference.tabs.subscriptions.list.checkbox.unselected.label.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_CHECKBOX_ERROR_BACKGROUND_COLOR="preference.tabs.subscriptions.list.error.unselected.background.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_CHECKBOX_ERROR_BACKGROUND_OPACITY="preference.tabs.subscriptions.list.error.unselected.background.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_CHECKBOX_ERROR_LABEL_COLOR="preference.tabs.subscriptions.list.checkbox.error.label.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_CHECKBOX_ERROR_LABEL_OPACITY="preference.tabs.subscriptions.list.checkbox.error.label.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_LAYOUT="preference.tabs.subscriptions.list.layout",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_LAYOUT_BACKGROUND="preference.tabs.subscriptions.list.layout.background",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_LAYOUT_BACKGROUND_COLOR="preference.tabs.subscriptions.list.layout.background.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_LAYOUT_BACKGROUND_OPACITY="preference.tabs.subscriptions.list.layout.background.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_LAYOUT_CORNERRADIUS="preference.tabs.subscriptions.list.layout.cornerRadius",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_LAYOUT_LINK="preference.tabs.subscriptions.list.layout.link",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_LAYOUT_LINK_COLOR="preference.tabs.subscriptions.list.layout.link.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_LAYOUT_LINK_OPACITY="preference.tabs.subscriptions.list.layout.link.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_LAYOUT_LINK_UNDERLINE="preference.tabs.subscriptions.list.layout.link.underline",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_LAYOUT_STYLE="preference.tabs.subscriptions.list.layout.style",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_LAYOUT_TEXT="preference.tabs.subscriptions.list.layout.text",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_LAYOUT_TEXT_COLOR="preference.tabs.subscriptions.list.layout.text.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_LAYOUT_TEXT_OPACITY="preference.tabs.subscriptions.list.layout.text.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_LAYOUT_TEXT_UNDERLINE="preference.tabs.subscriptions.list.layout.text.underline",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_LAYOUT_CHANNEL_ARRANGEMENT="preference.tabs.subscriptions.list.layout.text.channelArrangement",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_SWITCHBUTTON="preference.tabs.subscriptions.list.switchButton",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_SWITCHBUTTON_OFF_BACKGROUND_COLOR="preference.tabs.subscriptions.list.switchButton.off.background.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_SWITCHBUTTON_OFF_BACKGROUND_OPACITY="preference.tabs.subscriptions.list.switchButton.off.background.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_SWITCHBUTTON_ON_BACKGROUND_COLOR="preference.tabs.subscriptions.list.switchButton.on.background.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_SWITCHBUTTON_ON_BACKGROUND_OPACITY="preference.tabs.subscriptions.list.switchButton.on.background.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_SWITCHBUTTON_OFF_TEXT="preference.tabs.subscriptions.list.switchButton.off.text",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_SWITCHBUTTON_OFF_TEXT_COLOR="preference.tabs.subscriptions.list.switchButton.off.text.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_SWITCHBUTTON_OFF_TEXT_OPACITY="preference.tabs.subscriptions.list.switchButton.off.text.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_SWITCHBUTTON_OFF_TEXT_UNDERLINE="preference.tabs.subscriptions.list.switchButton.off.text.underline",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_SWITCHBUTTON_ON_TEXT="preference.tabs.subscriptions.list.switchButton.on.text",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_SWITCHBUTTON_ON_TEXT_COLOR="preference.tabs.subscriptions.list.switchButton.on.text.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_SWITCHBUTTON_ON_TEXT_OPACITY="preference.tabs.subscriptions.list.switchButton.on.text.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_LIST_SWITCHBUTTON_ON_TEXT_UNDERLINE="preference.tabs.subscriptions.list.switchButton.on.text.underline",e.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL="preference.tabs.subscriptions.unsubscribeAll",e.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL_BACKGROUND="preference.tabs.subscriptions.unsubscribeAll.background",e.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL_BACKGROUND_COLOR="preference.tabs.subscriptions.unsubscribeAll.background.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL_BACKGROUND_OPACITY="preference.tabs.subscriptions.unsubscribeAll.background.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL_TEXT="preference.tabs.subscriptions.unsubscribeAll.text",e.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL_TEXT_COLOR="preference.tabs.subscriptions.unsubscribeAll.text.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL_TEXT_OPACITY="preference.tabs.subscriptions.unsubscribeAll.text.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL_CORNERRADIUS="preference.tabs.subscriptions.unsubscribeAll.cornerRadius",e.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL_POSITION="preference.tabs.subscriptions.unsubscribeAll.position",e.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL_SWITCHBUTTON="preference.tabs.subscriptions.unsubscribeAll.switchButton",e.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL_SWITCHBUTTON_OFF_BACKGROUND_COLOR="preference.tabs.subscriptions.unsubscribeAll.switchButton.off.background.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL_SWITCHBUTTON_OFF_BACKGROUND_OPACITY="preference.tabs.subscriptions.unsubscribeAll.switchButton.off.background.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL_SWITCHBUTTON_ON_BACKGROUND_COLOR="preference.tabs.subscriptions.unsubscribeAll.switchButton.on.background.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL_SWITCHBUTTON_ON_BACKGROUND_OPACITY="preference.tabs.subscriptions.unsubscribeAll.switchButton.on.background.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL_SWITCHBUTTON_OFF_TEXT="preference.tabs.subscriptions.unsubscribeAll.switchButton.off.text",e.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL_SWITCHBUTTON_OFF_TEXT_COLOR="preference.tabs.subscriptions.unsubscribeAll.switchButton.off.text.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL_SWITCHBUTTON_OFF_TEXT_OPACITY="preference.tabs.subscriptions.unsubscribeAll.switchButton.off.text.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL_SWITCHBUTTON_OFF_TEXT_UNDERLINE="preference.tabs.subscriptions.unsubscribeAll.switchButton.off.text.underline",e.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL_SWITCHBUTTON_ON_TEXT="preference.tabs.subscriptions.unsubscribeAll.switchButton.on.text",e.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL_SWITCHBUTTON_ON_TEXT_COLOR="preference.tabs.subscriptions.unsubscribeAll.switchButton.on.text.color",e.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL_SWITCHBUTTON_ON_TEXT_OPACITY="preference.tabs.subscriptions.unsubscribeAll.switchButton.on.text.opacity",e.PREFERENCE_TABS_SUBSCRIPTIONS_UNSUBSCRIBEALL_SWITCHBUTTON_ON_TEXT_UNDERLINE="preference.tabs.subscriptions.unsubscribeAll.switchButton.on.text.underline",e.PREFERENCE_TABS_WELCOME_ABOUT_LINK="preference.tabs.welcome.about.link",e.PREFERENCE_TABS_WELCOME_ABOUT_LINK_COLOR="preference.tabs.welcome.about.link.color",e.PREFERENCE_TABS_WELCOME_ABOUT_LINK_OPACITY="preference.tabs.welcome.about.link.opacity",e.PREFERENCE_TABS_WELCOME_ABOUT_LINK_UNDERLINE="preference.tabs.welcome.about.link.underline",e.PREFERENCE_TABS_WELCOME_ABOUT_TEXT="preference.tabs.welcome.about.text",e.PREFERENCE_TABS_WELCOME_ABOUT_TEXT_COLOR="preference.tabs.welcome.about.text.color",e.PREFERENCE_TABS_WELCOME_ABOUT_TEXT_OPACITY="preference.tabs.welcome.about.text.opacity",e.PREFERENCE_TABS_WELCOME_ABOUT_TEXT_UNDERLINE="preference.tabs.welcome.about.text.underline",e.PREFERENCE_TABS_WELCOME_ABOUT_TITLE="preference.tabs.welcome.about.title",e.PREFERENCE_TABS_WELCOME_ABOUT_TITLE_COLOR="preference.tabs.welcome.about.title.color",e.PREFERENCE_TABS_WELCOME_ABOUT_TITLE_OPACITY="preference.tabs.welcome.about.title.opacity",e.PREFERENCE_TABS_WELCOME_ABOUT_TITLE_UNDERLINE="preference.tabs.welcome.about.title.underline",e.PREFERENCE_TABS_WELCOME_HEROBANNER_IMAGE_NAME="preference.tabs.welcome.heroBanner.image.name",e.PREFERENCE_TABS_WELCOME_HEROBANNER_IMAGE_URL="preference.tabs.welcome.heroBanner.image.url",e.PREFERENCE_TABS_WELCOME_HEROBANNER_VISIBLE="preference.tabs.welcome.heroBanner.visible",e.PREFERENCE_TABS_WELCOME_QUICKLINKS_LINK="preference.tabs.welcome.quickLinks.link",e.PREFERENCE_TABS_WELCOME_QUICKLINKS_LINK_COLOR="preference.tabs.welcome.quickLinks.link.color",e.PREFERENCE_TABS_WELCOME_QUICKLINKS_LINK_OPACITY="preference.tabs.welcome.quickLinks.link.opacity",e.PREFERENCE_TABS_WELCOME_QUICKLINKS_LINK_UNDERLINE="preference.tabs.welcome.quickLinks.link.underline",e.PREFERENCE_TABS_WELCOME_QUICKLINKS_SHOWARROWS="preference.tabs.welcome.quickLinks.showArrows",e.PREFERENCE_TABS_WELCOME_QUICKLINKS_TITLE="preference.tabs.welcome.quickLinks.title",e.PREFERENCE_TABS_WELCOME_QUICKLINKS_TITLE_COLOR="preference.tabs.welcome.quickLinks.title.color",e.PREFERENCE_TABS_WELCOME_QUICKLINKS_TITLE_OPACITY="preference.tabs.welcome.quickLinks.title.opacity",e.PREFERENCE_TABS_WELCOME_QUICKLINKS_TITLE_UNDERLINE="preference.tabs.welcome.quickLinks.title.underline",e.PREFERENCE_TABS_WELCOME_WELCOMEMSG_LINK="preference.tabs.welcome.welcomeMsg.link",e.PREFERENCE_TABS_WELCOME_WELCOMEMSG_LINK_COLOR="preference.tabs.welcome.welcomeMsg.link.color",e.PREFERENCE_TABS_WELCOME_WELCOMEMSG_LINK_OPACITY="preference.tabs.welcome.welcomeMsg.link.opacity",e.PREFERENCE_TABS_WELCOME_WELCOMEMSG_LINK_UNDERLINE="preference.tabs.welcome.welcomeMsg.link.underline",e.PREFERENCE_TABS_WELCOME_WELCOMEMSG_SUBTITLE="preference.tabs.welcome.welcomeMsg.subtitle",e.PREFERENCE_TABS_WELCOME_WELCOMEMSG_SUBTITLE_COLOR="preference.tabs.welcome.welcomeMsg.subtitle.color",e.PREFERENCE_TABS_WELCOME_WELCOMEMSG_SUBTITLE_OPACITY="preference.tabs.welcome.welcomeMsg.subtitle.opacity",e.PREFERENCE_TABS_WELCOME_WELCOMEMSG_SUBTITLE_UNDERLINE="preference.tabs.welcome.welcomeMsg.subtitle.underline",e.PREFERENCE_TABS_WELCOME_WELCOMEMSG_TITLE="preference.tabs.welcome.welcomeMsg.title",e.PREFERENCE_TABS_WELCOME_WELCOMEMSG_TITLE_COLOR="preference.tabs.welcome.welcomeMsg.title.color",e.PREFERENCE_TABS_WELCOME_WELCOMEMSG_TITLE_OPACITY="preference.tabs.welcome.welcomeMsg.title.opacity",e.PREFERENCE_TABS_WELCOME_WELCOMEMSG_TITLE_UNDERLINE="preference.tabs.welcome.welcomeMsg.title.underline",e.CONSENTGATE_CONTAINER="consentGate.container",e.CONSENTGATE_CONTAINER_BACKGROUND_COLOR="consentGate.container.background.color",e.CONSENTGATE_CONTAINER_CORNERRADIUS="consentGate.container.cornerRadius",e.CONSENTGATE_HEADER_BACKGROUND="consentGate.header.background",e.CONSENTGATE_HEADER_TITLE="consentGate.header.title",e.CONSENTGATE_HEADER_CLOSEBUTTON="consentGate.header.closeButton",e.CONSENTGATE_HEADER_CLOSEBUTTON_BACKGROUND="consentGate.header.closeButton.background",e.CONSENTGATE_HEADER_CLOSEBUTTON_BACKGROUND_COLOR="consentGate.header.closeButton.background.color",e.CONSENTGATE_HEADER_CLOSEBUTTON_TEXT="consentGate.header.closeButton.text",e.CONSENTGATE_HEADER_CLOSEBUTTON_TEXT_COLOR="consentGate.header.closeButton.text.color",e.CONSENTGATE_HEADER_CLOSEBUTTON_ICON="consentGate.header.closeButton.icon",e.CONSENTGATE_HEADER_CLOSEBUTTON_ICON_COLOR="consentGate.header.closeButton.icon.color",e.CONSENTGATE_HEADER_CLOSEBUTTON_CORNER_RADIUS="consentGate.header.closeButton.cornerRadius",e.CONSENTGATE_CONSENTBLOCK_TITLE="consentGate.consentBlock.header.title",e.CONSENTGATE_CONSENTBLOCK_DESCRIPTION="consentGate.consentBlock.header.description",e.CONSENTGATE_CONSENTBLOCK_DESCRIPTION_LINK="consentGate.consentBlock.header.description.link",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_TITLE="consentGate.consentBlock.purposes.list.header.title",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_ACCEPTALLBUTTON="consentGate.consentBlock.purposes.list.bulkActionButtons.acceptAllButton",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_ACCEPTALLBUTTON_STYLE="consentGate.consentBlock.purposes.list.bulkActionButtons.acceptAllButton.style",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_REJECTALLBUTTON="consentGate.consentBlock.purposes.list.bulkActionButtons.rejectAllButton",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_REJECTALLBUTTON_STYLE="consentGate.consentBlock.purposes.list.bulkActionButtons.rejectAllButton.style",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_ARROWICON="consentGate.consentBlock.purposes.list.items.arrowIcon",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_ARROWICON_COLOR="consentGate.consentBlock.purposes.list.items.arrowIcon.color",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_ITEMS="consentGate.consentBlock.purposes.list.items",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_ITEMS_STYLE="consentGate.consentBlock.purposes.list.items.style",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_ITEMS_PURPOSECONTENT="consentGate.consentBlock.purposes.list.items.purposeContent",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_ITEMS_PURPOSECONTENT_COLOR="consentGate.consentBlock.purposes.list.items.purposeContent.color",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_ITEMS_PURPOSEFILL="consentGate.consentBlock.purposes.list.items.purposeFill",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_ITEMS_PURPOSEFILL_COLOR="consentGate.consentBlock.purposes.list.items.purposeFill.color",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_ITEMS_PURPOSEOUTLINE="consentGate.consentBlock.purposes.list.items.purposeOutline",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_ITEMS_PURPOSEOUTLINE_COLOR="consentGate.consentBlock.purposes.list.items.purposeOutline.color",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_ITEMS_CORNERRADIUS="consentGate.consentBlock.purposes.list.items.cornerRadius",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_SWITCHBUTTONS="consentGate.consentBlock.purposes.list.switchButtons",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_SWITCHBUTTONS_ON_BACKGROUND="consentGate.consentBlock.purposes.list.switchButtons.on.background",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_SWITCHBUTTONS_ON_BACKGROUND_COLOR="consentGate.consentBlock.purposes.list.switchButtons.on.background.color",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_SWITCHBUTTONS_OFF_BACKGROUND="consentGate.consentBlock.purposes.list.switchButtons.off.background",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_SWITCHBUTTONS_OFF_BACKGROUND_COLOR="consentGate.consentBlock.purposes.list.switchButtons.off.background.color",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_SWITCHBUTTONS_ON_TEXT="consentGate.consentBlock.purposes.list.switchButtons.on.text",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_SWITCHBUTTONS_OFF_TEXT="consentGate.consentBlock.purposes.list.switchButtons.off.text",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_ITEMS_PURPOSELINKS="consentGate.consentBlock.purposes.list.items.purposeLinks",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_ITEMS_PURPOSELINKS_COLOR="consentGate.consentBlock.purposes.list.items.purposeLinks.color",e.CONSENTGATE_CONSENTBLOCK_PURPOSESLIST_CHECKBOX="consentGate.consentBlock.purposes.list.items.checkbox",e.CONSENTGATE_CONSENTBLOCK_BUTTON="consentGate.consentBlock.button",e.CONSENTGATE_CONSENTBLOCK_BUTTON_STYLE="consentGate.consentBlock.button.style",e.CONSENTGATE_CONSENTBLOCK_FOOTER_LINK="consentGate.consentBlock.footer.links",e.CONSENTGATE_ACTIONBLOCK_TITLE="consentGate.actionBlock.header.title",e.CONSENTGATE_ACTIONBLOCK_DESCRIPTION="consentGate.actionBlock.header.description",e.CONSENTGATE_ACTIONBLOCK_DESCRIPTION_LINK="consentGate.actionBlock.header.link",e.CONSENTGATE_ACTIONBLOCK_BUTTON="consentGate.actionBlock.button",e.CONSENTGATE_ACTIONBLOCK_TEASER_TEXT="consentGate.actionBlock.footer.teaser.text",e.CONSENTGATE_ACTIONBLOCK_FOOTER_LINK_TEXT="consentGate.actionBlock.footer.link.text",e}({});t.ThemeMapKeys=n},9945(e,t,n){t.__esModule=!0,t.AppStateProviderV2=t.AppStateContextV2=void 0;var r=n(8935);n(4489),n(2725);var o=n(5212),i=n(2223),s=(0,r.createContext)({});t.AppStateContextV2=s,t.AppStateProviderV2=function(e){var t=e.children,n=e.config,r=e.experiences,l=e.host,a=e.consents,c=e.store,u=e.themeMap,d=e.showPreferenceOptions,p=e.onCloseExperience,h=e.onResetExperience,f=e.defaultPreferenceViewTab,_=e.subscriptions,E=e.subscriptionConfiguration,g=e.profilePreferences,m=e.handleInvokeRights,b=e.purposeTCFInfo,T=e.gvl,v=e.isPreviewMode,S=e.displayableRights,y=e.progressiveExperience,C=e.consentGateExperience,O=e.consentSource,N=e.subscriptionSource,k=e.options,P=(0,o.useState)(g),R=P[0],I=P[1];return(0,i.jsx)(s.Provider,{value:{config:n,experiences:r,host:l,consents:a,store:c,themeMap:u,showPreferenceOptions:d,defaultPreferenceViewTab:f,subscriptions:_,subscriptionConfiguration:E,profilePreferences:R,updateProfilePreferences:I,onCloseExperience:p,onResetExperience:h,handleInvokeRights:m,purposeTCFInfo:b,gvl:T,isPreviewMode:v,displayableRights:S,progressiveExperience:y,consentGateExperience:C,consentSource:O,subscriptionSource:N,options:k},children:t})}},6119(e,t,n){t.__esModule=!0,t.useActionButtonByActionType=void 0;var r=n(927),o=n(4998),i=n(5212),s=n(9945),l=n(625),a=n(9152),c=n(7473),u=n(1926),d=n(8821);function p(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 h(e){for(var t=1;t1?r/100:r)+")"}function s(e){var t=e.config,n=e.defaultHex;return i((null==t?void 0:t.color)||n,0===(null==t?void 0:t.opacity)?0:Number(null==t?void 0:t.opacity)>0?null==t?void 0:t.opacity:1)}function l(e){var t=e.config,n=e.defaultHex;return i((null==t?void 0:t.color)||n,0===Number(null==t?void 0:t.opacity)?0:Number(null==t?void 0:t.opacity)>0?null==t?void 0:t.opacity:1)}var a=function(e){var t=e.themeConfig,n=e.accessPath,o=e.defaultHex;return l({config:(0,r.getNestedProperty)(t,n),defaultHex:o})};t.getColorThemeRGBA=a;var c=function(e){var t=e.themeConfig,n=e.accessPath,o=e.defaultHex;return s({config:(0,r.getNestedProperty)(t,n),defaultHex:o})};function u(e,t,n){var o=(0,r.getNestedProperty)(e,t,0);return o?(o||0)+"px":n}t.getTextThemeRGBA=c},8435(e,t,n){t.__esModule=!0,t.useFilterCountries=void 0;var r=n(4487),o=n(5212);t.useFilterCountries=function(){var e=(0,r.useCountries)();return(0,o.useCallback)(function(t){return(null!=t&&t.supportedCountries?e.filter(function(e){var n;return null==t||null==(n=t.supportedCountries)?void 0:n.includes(e.value)}):e).filter(function(e){return null!=e.label})},[e])}},3519(e,t,n){t.__esModule=!0,t.useIsImageLoaded=void 0;var r=n(5212);t.useIsImageLoaded=function(){var e=(0,r.useState)(!1),t=e[0],n=e[1];return{isImageLoaded:t,handleImageLoaded:(0,r.useCallback)(function(){n(!0)},[])}}},4818(e,t){t.__esModule=!0,t.useMobileViewParams=t.MobileDevice=void 0;var n=function(e){return e.TABLET="tablet",e.PHONE="phone",e}({});t.MobileDevice=n,t.useMobileViewParams=function(){var e=new URLSearchParams(window.location.search).get("mobile_device");return{mobileDevice:e,isMobileDevice:!!e}}},6445(e,t,n){t.__esModule=!0,t.useMediaQuery=function(e){var t=function(e){return"undefined"!=typeof window&&window.matchMedia(e).matches},n=(0,r.useState)(t(e)),o=n[0],i=n[1];function s(){i(t(e))}return(0,r.useEffect)(function(){var t=window.matchMedia(e);return s(),t.addEventListener("change",s),function(){t.removeEventListener("change",s)}},[e]),o};var r=n(5212)},1563(e,t,n){t.__esModule=!0,t.useMobileOrientation=void 0;var r=n(6445);t.useMobileOrientation=function(){var e=(0,r.useMediaQuery)("(max-width: 768px)"),t=(0,r.useMediaQuery)("(max-height: 550px)"),n=(0,r.useMediaQuery)("(orientation: landscape)");return{isMobilePortrait:(0,r.useMediaQuery)("(orientation: portrait)")&&e,isMobileLandscape:n&&t}}},573(e,t,n){t.__esModule=!0,t.useMobileQuery=void 0;var r=n(6445);t.useMobileQuery=function(){var e=(0,r.useMediaQuery)("(max-width: 768px)"),t=(0,r.useMediaQuery)("(max-height: 550px)"),n=(0,r.useMediaQuery)("(orientation: landscape)"),o=(0,r.useMediaQuery)("(orientation: portrait)");return!(!n||t||!e)||n&&t||o&&e}},9698(e,t,n){t.__esModule=!0,t.usePreferenceOutlineColor=void 0;var r=n(7275),o=n(3628),i=n(9945),s=n(5212),l=o.defaultThemeConfig.preference;t.usePreferenceOutlineColor=function(){var e,t,n,o,a,c,u,d,p,h,f,_,E=(0,s.useContext)(i.AppStateContextV2).config,g=(null==(e=E.theme)||null==(t=e.preference)||null==(n=t.container)||null==(o=n.background)?void 0:o.color)||(null==l||null==(a=l.container)||null==(c=a.background)?void 0:c.color),m=(null==(u=E.theme)||null==(d=u.preference)||null==(p=d.container)||null==(h=p.background)?void 0:h.opacity)||(null==l||null==(f=l.container)||null==(_=f.background)?void 0:_.opacity);return(0,r.getOutlineColorByBackgroundColor)(g,m)}},1459(e,t,n){t.__esModule=!0,t.useGetActiveRight=void 0,t.useGetDisplayText=u,t.usePreferenceSubNavUtils=function(){var e=(0,r.useContext)(s.AppStateContextV2),t=e.themeMap,n=e.store,d=n.state,p=n.dispatch,h=u(),f=d.activePreferenceTab,_=d.activePreferenceSubTab,E=h(),g="",m="",b="",T="",v="",S="",y="",C=!1;if(_===a.PreferenceSubTab.RequestForm){var O,N,k,P,R,I,A,x=null==t?void 0:t.get(i.ThemeMapKeys.PREFERENCE_TABS_REQUESTS_RIGHTFORM);g=(0,o.cn)(null==x||null==(O=x.title)?void 0:O.className),m=(0,o.cn)(null==x||null==(N=x.subtitle)?void 0:N.className),b=(0,o.cn)(null==x||null==(k=x.description)?void 0:k.className),T=(0,o.cn)(null==x||null==(P=x.returnButtonBackground)?void 0:P.className),v=(0,o.cn)(null==x||null==(R=x.returnButtonCornerRadius)?void 0:R.className),S=(0,o.cn)(null==x||null==(I=x.returnButtonIconColor)?void 0:I.className),y=(0,o.cn)(null==x||null==(A=x.footerBackground)?void 0:A.className)}if(_===a.PreferenceSubTab.RequestSuccess){var w,L,B,D,M,U,F,j=null==t?void 0:t.get(i.ThemeMapKeys.PREFERENCE_TABS_REQUESTS_SUBMITTED);g=(0,o.cn)(null==j||null==(w=j.title)?void 0:w.className),m=(0,o.cn)(null==j||null==(L=j.subtitle)?void 0:L.className),b=(0,o.cn)(null==j||null==(B=j.description)?void 0:B.className),T=(0,o.cn)(null==j||null==(D=j.returnButtonBackground)?void 0:D.className),v=(0,o.cn)(null==j||null==(M=j.returnButtonCornerRadius)?void 0:M.className),S=(0,o.cn)(null==j||null==(U=j.returnButtonIconColor)?void 0:U.className),y=(0,o.cn)(null==j||null==(F=j.footerBackground)?void 0:F.className)}if(_===a.PreferenceSubTab.RequestError){var V,G,H,K,q,W,Y;C=!0;var z=null==t?void 0:t.get(i.ThemeMapKeys.PREFERENCE_TABS_REQUESTS_SUBMITTED);g=(0,o.cn)(null==z||null==(V=z.title)?void 0:V.className),m=(0,o.cn)(null==z||null==(G=z.subtitle)?void 0:G.className),b=(0,o.cn)(null==z||null==(H=z.description)?void 0:H.className),T=(0,o.cn)(null==z||null==(K=z.returnButtonBackground)?void 0:K.className),v=(0,o.cn)(null==z||null==(q=z.returnButtonCornerRadius)?void 0:q.className),S=(0,o.cn)(null==z||null==(W=z.returnButtonIconColor)?void 0:W.className),y=(0,o.cn)(null==z||null==(Y=z.footerBackground)?void 0:Y.className)}return{displayText:E,handleNavigateBackwards:function(){p((0,l.updatePreferenceLocationAction)({activePreferenceTab:f,activePreferenceSubTab:a.PreferenceSubTab.RequestHome,activeRightRequestCode:null}))},shouldShowReturnButtonWithoutDisplayText:C,shouldShowReturnButton:!c.tabsThatDoNotNeedBackButton.includes(_),titleClassName:g,subtitleClassName:m,descriptionClassName:b,returnButtonBackgroundClassName:T,returnButtonCornerRadiusClassName:v,returnButtonIconColorClassName:S,footerBackgroundClassName:y}};var r=n(5212),o=n(7178),i=n(6274),s=n(9945),l=n(625),a=n(1931),c=n(1318);function u(){var e=(0,r.useContext)(s.AppStateContextV2),t=e.config,n=e.experiences,o=e.store.state,i=o.activePreferenceSubTab,l=o.activeRightRequestCode;return function(){if(i===a.PreferenceSubTab.RequestForm&&l){var e,r=null==t||null==(e=t.rights)?void 0:e.find(function(e){return e.code===l});return(null==r?void 0:r.name)||""}var o,s,c,u,d;return i===a.PreferenceSubTab.RequestSuccess?null==n||null==(o=n.content)||null==(s=o.preference)||null==(c=s.tabs)||null==(u=c.requests)||null==(d=u.submitted)?void 0:d.title:""}}t.useGetActiveRight=function(){var e=(0,r.useContext)(s.AppStateContextV2),t=e.config,n=e.store.state.activeRightRequestCode;return function(){var e;return null==t||null==(e=t.rights)?void 0:e.find(function(e){return e.code===n})}}},8575(e,t,n){t.__esModule=!0,t.useProgressiveActionButton=void 0;var r=n(927),o=n(5212),i=n(9945),s=n(7943),l=n(625),a=n(342);t.useProgressiveActionButton=function(){var e=(0,o.useContext)(i.AppStateContextV2),t=e.progressiveExperience,n=e.store,c=n.state.purposeConsents,u=n.dispatch,d=e.host,p=(0,o.useState)(!1),h=p[0],f=p[1],_=(0,s.usePurposeVendorConsents)().setConsentsPurposeByCode,E=(0,a.useSubscription)(),g=E.submitSubscription,m=E.setOneStatusOfContractMethods,b=E.getTopicByCode,T=(0,o.useMemo)(function(){return(null==t?void 0:t.layout.subscriptionTopicCodes)||[]},[t]),v=(null==t?void 0:t.layout.type)||r.ProgressiveExperienceType.Consent;(0,o.useEffect)(function(){h&&(d.setConsent({purposes:c}),u((0,l.setViewModeAction)(null)))},[h,c,d,u]);var S=(0,o.useCallback)(function(e){return new Promise(function(t,n){return _(e,!0),f(!0),t()})},[_,f]),y=(0,o.useCallback)(function(e){return new Promise(function(t,n){return _(e,!1),f(!0),t()})},[_,f]),C=(0,o.useCallback)(function(){return new Promise(function(e,t){return Promise.resolve(g(!1,r.SubscriptionSource.ProgressiveSubscription)).then(function(n){try{return e()}catch(e){return t(e)}},t)})},[g]),O=(0,o.useCallback)(function(){return new Promise(function(e,t){return T.forEach(function(e){var t=b(e);m(e,Object.keys(t),!1)}),Promise.resolve(g(!1,r.SubscriptionSource.ProgressiveSubscription)).then(function(n){try{return e()}catch(e){return t(e)}},t)})},[b,m,T,g]),N=(0,o.useCallback)(function(){u((0,l.setViewModeAction)(null))},[u]);return{handleActionButtonClick:(0,o.useCallback)(function(e,n){return new Promise(function(o,i){function s(){return o()}if(!t)return console.error("progressive experience button handler called without progressive experience"),o();switch(v){case r.ProgressiveExperienceType.Consent:function l(){return s.call(this)}switch(e){case r.ProgressiveExperienceButtonAction.Accept:return n?Promise.resolve(S(n)).then(function(e){try{return c.call(this)}catch(e){return i(e)}}.bind(this),i):(console.error("accept consent called without purpose codes"),c.call(this));function c(){return l.call(this)}case r.ProgressiveExperienceButtonAction.Reject:return n?Promise.resolve(y(n)).then(function(e){try{return u.call(this)}catch(e){return i(e)}}.bind(this),i):(console.error("reject consent called without purpose codes"),u.call(this));function u(){return l.call(this)}case r.ProgressiveExperienceButtonAction.Dismiss:N()}return l.call(this);case r.ProgressiveExperienceType.Subscription:function a(){return s.call(this)}switch(e){case r.ProgressiveExperienceButtonAction.Accept:return Promise.resolve(C()).then(function(e){try{return a.call(this)}catch(e){return i(e)}}.bind(this),i);case r.ProgressiveExperienceButtonAction.Reject:return Promise.resolve(O()).then(function(e){try{return a.call(this)}catch(e){return i(e)}}.bind(this),i);case r.ProgressiveExperienceButtonAction.Dismiss:N()}return a.call(this)}return s.call(this)})},[t,v,S,y,C,O,N])}}},7943(e,t,n){t.__esModule=!0,t.usePurposeVendorConsents=void 0;var r=n(5212),o=n(9945),i=n(625),s=n(927),l=n(9152),a=n(1926),c=n(8821);function u(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 d(e){for(var t=1;t1?t-1:0),r=1;rBrowse this website with personalized advertising, tracking, and cookies for free.
To do so, we and our technology providers, including {{vendors-number}} partners, need your consent to process personal data (e.g., unique identifiers, browsing data) for the following purposes:
",button:{text:"Accept All and Continue"},purposesList:{title:"Purposes of processing",purposes:{switchButtonLabels:{onText:"Opted In",offText:"Opted Out",alwaysOnText:"Opted blah In"},bulkActionButtons:{acceptAllText:"Accept meh All",rejectAllText:"Reject All"}},links:[{text:"Google"}]},links:[{text:"Terms of Service"},{text:"Your Privacy"},{text:"FAQ"}]},actionBlock:{title:"Or sign up",description:"Browse this website without ads or tracking for a flat fee per month.
As an alternative to paying with your attention and data, sign up lets you access all content without ad banners, advertising cookies, or personalized tracking.
",button:{text:"Sign Up"},link:{text:"Sign In"},teaserText:"Have an account?",alert:{text:"Unfortunately, we cannot offer our ad-funded service without your consent for {{purpose-name}}. You can either accept the use of your personal data, or subscribe to browse our site and many other publications without ads or tracking."}}},static:{accept:"Accept",accept_all:"Accept All",and:"and",and_the:"and the",apply:"apply",at_this_time_due_to_suspected_bot_like_behavior_as_indicated_by_our:"at this time due to suspected bot-like behavior as indicated by our",category:"Category",click_here:"click here",cookie:"Cookie",cookies:"Cookies",country_afghanistan:"Afghanistan",country_albania:"Albania",country_algeria:"Algeria",country_andorra:"Andorra",country_angola:"Angola",country_antigua_and_barbuda:"Antigua and Barbuda",country_argentina:"Argentina",country_armenia:"Armenia",country_australia:"Australia",country_austria:"Austria",country_azerbaijan:"Azerbaijan",country_bahamas:"Bahamas",country_bahrain:"Bahrain",country_bangladesh:"Bangladesh",country_barbados:"Barbados",country_belarus:"Belarus",country_belgium:"Belgium",country_belize:"Belize",country_benin:"Benin",country_bhutan:"Bhutan",country_bolivia:"Bolivia",country_bosnia_and_herzegovina:"Bosnia and Herzegovina",country_botswana:"Botswana",country_brazil:"Brazil",country_brunei_darussalam:"Brunei Darussalam",country_bulgaria:"Bulgaria",country_burkina_faso:"Burkina Faso",country_burundi:"Burundi",country_cambodia:"Cambodia",country_cameroon:"Cameroon",country_canada:"Canada",country_cape_verde:"Cape Verde",country_central_african_republic:"Central African Republic",country_chad:"Chad",country_chile:"Chile",country_china:"China",country_colombia:"Colombia",country_comoros:"Comoros",country_congo:"Congo",country_congo_the_democratic_republic:"Democratic Republic of the Congo",country_costa_rica:"Costa Rica",country_cote_divoire:"Cote D'Ivoire",country_croatia:"Croatia",country_cuba:"Cuba",country_cyprus:"Cyprus",country_czech_republic:"Czech Republic",country_denmark:"Denmark",country_djibouti:"Djibouti",country_dominica:"Dominica",country_dominican_republic:"Dominican Republic",country_ecuador:"Ecuador",country_egypt:"Egypt",country_el_salvador:"El Salvador",country_equatorial_guinea:"Equatorial Guinea",country_eritrea:"Eritrea",country_estonia:"Estonia",country_eswatini:"Swaziland",country_ethiopia:"Ethiopia",country_fiji:"Fiji",country_finland:"Finland",country_france:"France",country_gabon:"Gabon",country_gambia:"Gambia",country_georgia:"Georgia",country_germany:"Germany",country_ghana:"Ghana",country_greece:"Greece",country_grenada:"Grenada",country_guatemala:"Guatemala",country_guinea:"Guinea",country_guinea_bissau:"Guinea-Bissau",country_guyana:"Guyana",country_haiti:"Haiti",country_honduras:"Honduras",country_hungary:"Hungary",country_iceland:"Iceland",country_india:"India",country_indonesia:"Indonesia",country_iraq:"Iraq",country_ireland:"Ireland",country_israel:"Israel",country_italy:"Italy",country_jamaica:"Jamaica",country_japan:"Japan",country_jordan:"Jordan",country_kazakhstan:"Kazakhstan",country_kenya:"Kenya",country_kiribati:"Kiribati",country_kosovo:"Kosovo",country_kuwait:"Kuwait",country_kyrgyzstan:"Kyrgyzstan",country_laos:"Laos",country_latvia:"Latvia",country_lebanon:"Lebanon",country_lesotho:"Lesotho",country_liberia:"Liberia",country_libya:"Libyan Arab Jamahiriya",country_liechtenstein:"Liechtenstein",country_lithuania:"Lithuania",country_luxembourg:"Luxembourg",country_madagascar:"Madagascar",country_malawi:"Malawi",country_malaysia:"Malaysia",country_maldives:"Maldives",country_mali:"Mali",country_malta:"Malta",country_marshall_islands:"Marshall Islands",country_mauritania:"Mauritania",country_mauritius:"Mauritius",country_mexico:"Mexico",country_micronesia:"Micronesia",country_moldova:"Moldova",country_monaco:"Monaco",country_mongolia:"Mongolia",country_montenegro:"Montenegro",country_morocco:"Morocco",country_mozambique:"Mozambique",country_myanmar:"Myanmar",country_namibia:"Namibia",country_nauru:"Nauru",country_nepal:"Nepal",country_netherlands:"Netherlands",country_new_zealand:"New Zealand",country_nicaragua:"Nicaragua",country_niger:"Niger",country_nigeria:"Nigeria",country_north_korea:"Korea, Democratic People'S Republic of",country_north_macedonia:"North Macedonia",country_norway:"Norway",country_oman:"Oman",country_pakistan:"Pakistan",country_palau:"Palau",country_panama:"Panama",country_papua_new_guinea:"Papua New Guinea",country_paraguay:"Paraguay",country_peru:"Peru",country_philippines:"Philippines",country_poland:"Poland",country_portugal:"Portugal",country_qatar:"Qatar",country_romania:"Romania",country_russian_federation:"Russian Federation",country_rwanda:"Rwanda",country_saint_kitts_and_nevis:"Saint Kitts and Nevis",country_saint_lucia:"Saint Lucia",country_saint_vincent_and_the_grenadines:"Saint Vincent and the Grenadines",country_samoa:"Samoa",country_san_marino:"San Marino",country_sao_tome_and_principe:"Sao Tome and Principe",country_saudi_arabia:"Saudi Arabia",country_senegal:"Senegal",country_serbia:"Serbia and Montenegro",country_seychelles:"Seychelles",country_sierra_leone:"Sierra Leone",country_singapore:"Singapore",country_slovakia:"Slovakia",country_slovenia:"Slovenia",country_solomon_islands:"Solomon Islands",country_somalia:"Somalia",country_south_africa:"South Africa",country_south_korea:"South Korea",country_south_sudan:"South Sudan",country_spain:"Spain",country_sri_lanka:"Sri Lanka",country_sudan:"Sudan",country_suriname:"Suriname",country_sweden:"Sweden",country_switzerland:"Switzerland",country_syria:"Syrian Arab Republic",country_taiwan:"Taiwan",country_tajikistan:"Tajikistan",country_tanzania:"Tanzania",country_thailand:"Thailand",country_timor_leste:"Timor-Leste",country_togo:"Togo",country_tonga:"Tonga",country_trinidad_and_tobago:"Trinidad and Tobago",country_tunisia:"Tunisia",country_turkey:"Turkey",country_turkmenistan:"Turkmenistan",country_tuvalu:"Tuvalu",country_uganda:"Uganda",country_ukraine:"Ukraine",country_united_arab_emirates:"United Arab Emirates",country_united_kingdom:"United Kingdom",country_united_states:"United States",country_uruguay:"Uruguay",country_uzbekistan:"Uzbekistan",country_vanuatu:"Vanuatu",country_vatican_city:"Vatican City",country_venezuela:"Venezuela",country_vietnam:"Vietnam",country_yemen:"Yemen",country_zambia:"Zambia",country_zimbabwe:"Zimbabwe",data_categories:"Data Categories",data_category:"Data Category",description:"Description",duration:"Duration",enter_valid_email:"Please enter a valid email address",enter_valid_phone_number:"Please enter a valid phone number.",ex_i_worked_in_the_it_department_in_2015:"EX: I worked in the IT department in 2015",external_transfer:"External Transfer",features:"Features",first_party:"1st Party",functional:"Functional",gpc:"GPC",greeting:"Hi",here:"here",i_am_a_an:"I am a (an)",legal_basis:"Legal Basis",legal_text:"Legal Text",marketing:"Marketing",maximum_storage:"Maximum Storage Duration",no_rights_available:"There are no rights available in the location you are currently in",object_to_legitimate_interest:"Object to Legitimate Interest",of:"of",off:"off",on:"On",opted_in:"Opted In",opted_out:"Opted Out",performance:"Performance",persistent:"Persistent",please_select_a_request_type:"Please select a request type",powered_by:"Powered by",preference_consents_exit_button_text:"Exit",preference_overview_button_text:"Exit",preference_rights_address_line_one:"Address Line 1",preference_rights_address_line_two:"Address Line 2",preference_rights_cancel_button_text:"Cancel",preference_rights_country:"Country",preference_rights_email:"Email",preference_rights_exit_button_text:"Exit",preference_rights_first_name:"First name",preference_rights_last_name:"Last name",preference_rights_personal_details:"Personal details",preference_rights_phone_number:"Phone Number",preference_rights_postal_code:"Postal Code",preference_rights_request:"Request",preference_rights_request_details:"Request details",preference_rights_select_country:"Select Country",preference_rights_select_state_province:"State / Province",preference_rights_state:"State",preference_rights_submit_new_request:"Submit New Request",preference_rights_thank_you:"Thank You!",preference_rights_we_have_received:"Certain requests require identity verification. For those requests, you will receive a second email with verification instructions. Please be sure to check your email. Where required, we will not be able to proceed without your timely verification.",privacy_policy:"Privacy Policy",provenance:"Provenance",purpose:"Purpose",purposes:"Purposes",quick_links:"Quick Links",reject_all:"Reject All",required:"Required",retention_period:"Retention Period",rights_tab_porthole_redirect_footer:"If you have already made a request and would like to check on the status, please click",rights_tab_porthole_redirect_footer_alt:"If you have already made a request and would like to return to the privacy rights portal, ",save:"save",select_a_relationship:"Select a relationship",select_a_request_type:"Select a Request Type",service_provider:"Service Provider",session:"Session",special_features:"Special Features",special_purposes:"Special Purposes",strictly_necessary:"Strictly Necessary",submit:"Submit",submitting:"Submitting",tcf:"TCF",tell_us_about_your_relationship_to_us:"Tell us about your relationship to us",terms_of_service:"Terms of Service",third_party:"3rd Party",this_site_is_protected_by:"This site is protected by",unfortunately:"Unfortunately",unsubscribe_from_all:"Unsubscribe From All",vendor:"Vendor",vendors:"Vendors",verification:"verification",we_are_unable_to_fulfill_your_request:"we are unable to fulfill your request"}},layout:{entitlementInfo:{hasPurposesEntitlement:!0,hasRightsEntitlement:!0,hasSubscriptionsEntitlement:!0},consentGate:{header:{title:{visible:!0},closeButton:{visible:!0,icon:{visible:!0,useDefault:!0,image:{url:"https://static.thenounproject.com/png/1117823-200.png"}}}},consentBlock:{header:{visible:!0},purposesList:{header:{visible:!0},purposes:{requiredPurposes:["1","2","3","4","5","6","7"],requirementsNotMatchedState:"alert",legalBasisVisible:!0,purposesStacksDefaultExpanded:!1,switchButtonLabels:{visible:!0,display:"always",useDefaultText:!1},bulkActionButtons:{visible:!0,useDefaultText:!1}},vendors:{visible:!0,includeOtherVendors:!1,link:{useDefaultText:!0}}},button:{action:"acceptChoices",url:""},footer:{gpcBadgeVisible:!0,links:[{action:"openUrl",url:"",visible:!0},{action:"openUrl",url:"",visible:!0},{action:"openUrl",url:"",visible:!0}]}},actionBlock:{header:{visible:!0},button:{action:"signUp",url:""},teaser:{visible:!0},link:{action:"openUrl",url:"",visible:!0}}}},theme:{consentGate:{container:{background:{color:"#FFFFFF",opacity:1},cornerRadius:0},header:{background:{color:"#FFFFFF",opacity:1},title:{color:"#000000",opacity:1,underline:!1},cornerRadius:0,logo:{position:"",visible:!0,image:{url:"https://cdn.prod.website-files.com/611a337a2fd33f1abb7d18d3/6644b89f975ccad87be46f40_Ketch_logo.svg"}},closeButton:{background:{color:"#EBEDED",opacity:1},text:{color:"#000000",opacity:1},cornerRadius:0,icon:{color:"#000000",opacity:1}}},consentBlock:{background:{color:"#FFFFFF",opacity:1},header:{title:{color:"#000000",opacity:1,underline:!1},description:{color:"#000000",opacity:1,underline:!1},link:{color:"#000000",opacity:1,underline:!0}},purposes:{list:{header:{title:{color:"#000000",opacity:1,underline:!1}},bulkActionButtons:{acceptAllButton:{style:"filled",background:{color:"#000000",opacity:1},text:{color:"#FFFFFF",opacity:1},cornerRadius:0},rejectAllButton:{style:"filled",background:{color:"#000000",opacity:1},text:{color:"#FFFFFF",opacity:1},cornerRadius:0}},items:{style:"filled",layout:"expandable",purposeFill:{color:"#EBEDED",opacity:1},purposeOutline:{color:"#C1C6C8",opacity:1},purposeTitle:{color:"#000000",opacity:1},purposeContent:{color:"#000000",opacity:1},purposeLinks:{color:"#000000",opacity:1},arrowIcon:{color:"#000000",opacity:1},cornerRadius:0},switchButtons:{on:{background:{color:"#000000",opacity:1},text:{color:"#000000",underline:!1}},off:{background:{color:"#C1C6C8",opacity:1},text:{color:"#000000",underline:!1}}}}},button:{style:"filled",background:{color:"#000000",opacity:1},text:{color:"#FFFFFF",opacity:1},cornerRadius:0,outline:{color:"#000000",opacity:1}},footer:{links:{color:"#000000",opacity:1,underline:!0},showLinkArrows:!0,showKetchBadge:!0}},actionBlock:{header:{title:{color:"#000000",opacity:1,underline:!1},description:{color:"#000000",opacity:1,underline:!1},link:{color:"#000000",opacity:1,underline:!0}},button:{style:"filled",background:{color:"#000000",opacity:1},text:{color:"#FFFFFF",opacity:1},cornerRadius:0,outline:{color:"#000000",opacity:1}},footer:{teaser:{text:{color:"#000000",opacity:1,underline:!1}},link:{showArrow:!0,text:{color:"#000000",opacity:1,underline:!0}}}}}}}},625(e,t){t.__esModule=!0,t.updateSubscriptionTopicsAction=t.updateSubscriptionControlsAction=t.updatePreferenceLocationAction=t.updateExperiencePurposesViewModeAction=t.updateCurrentPurposeCodeAction=t.updateConsentPurposesAction=t.setViewModeAction=t.setTCFVendorAction=t.setGoogleVendorAction=t.setAllTCFVendorAction=t.setAllGoogleVendorAction=t.resetInitialStateAction=t.ActionTypes=void 0;var n=function(e){return e.INCREMENT="INCREMENT",e.DECREMENT="DECREMENT",e.UPDATE_VIEW_MODE="UPDATE_VIEW_MODE",e.UPDATE_PREFERENCE_LOCATION="UPDATE_PREFERENCE_LOCATION",e.UPDATE_EXPERIENCE_PURPOSES_VIEW_MODE="UPDATE_EXPERIENCE_PURPOSES_VIEW_MODE",e.UPDATE_CONSENTS_PURPOSES="SET_CONSENTS_PURPOSES",e.UPDATE_CURRENT_PURPOSE_CODE="UPDATE_CURRENT_PURPOSE_CODE",e.SET_ALL_TCF_VENDOR="SET_ALL_TCF_VENDOR",e.SET_ALL_GOOGLE_VENDOR="SET_ALL_GOOGLE_VENDOR",e.SET_TCF_VENDOR="SET_TCF_VENDOR",e.SET_GOOGLE_VENDOR="SET_GOOGLE_VENDOR",e.UPDATE_SUBSCRIPTION_TOPICS="UPDATE_SUBSCRIPTION_TOPICS",e.UPDATE_SUBSCRIPTION_CONTROLS="UPDATE_SUBSCRIPTION_CONTROLS",e.RESET_INITIAL_STATE="RESET_INITIAL_STATE",e}({});t.ActionTypes=n,t.setViewModeAction=function(e){return{type:n.UPDATE_VIEW_MODE,payload:e}},t.updatePreferenceLocationAction=function(e){return{type:n.UPDATE_PREFERENCE_LOCATION,payload:e}},t.updateExperiencePurposesViewModeAction=function(e){return{type:n.UPDATE_EXPERIENCE_PURPOSES_VIEW_MODE,payload:e}},t.updateConsentPurposesAction=function(e){return{type:n.UPDATE_CONSENTS_PURPOSES,payload:e}},t.updateCurrentPurposeCodeAction=function(e){return{type:n.UPDATE_CURRENT_PURPOSE_CODE,payload:e}},t.updateSubscriptionTopicsAction=function(e){return{type:n.UPDATE_SUBSCRIPTION_TOPICS,payload:e}},t.updateSubscriptionControlsAction=function(e){return{type:n.UPDATE_SUBSCRIPTION_CONTROLS,payload:e}},t.resetInitialStateAction=function(e){return{type:n.RESET_INITIAL_STATE,payload:e}},t.setAllTCFVendorAction=function(e){return{type:n.SET_ALL_TCF_VENDOR,payload:e}},t.setAllGoogleVendorAction=function(e){return{type:n.SET_ALL_GOOGLE_VENDOR,payload:e}},t.setTCFVendorAction=function(e,t){return{type:n.SET_TCF_VENDOR,payload:{vendorId:e,allowed:t}}},t.setGoogleVendorAction=function(e,t){return{type:n.SET_GOOGLE_VENDOR,payload:{vendorId:e,allowed:t}}}},1931(e,t,n){t.__esModule=!0,t.reducer=t.PreferenceTab=t.PreferenceSubTab=void 0;var r=n(4998),o=n(8802),i=n(625),s=n(927),l=n(7473);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 c(e){for(var t=1;t1?t/100:t;return i?"rgba("+i.map(function(e){return parseInt(e,16)}).join(", ")+", "+s+")":""},t.isDark=l;var r=n(7657),o=n(7178);function i(e){if((0,o.isString)(e)){if("#"===e.charAt(0))return i(function(e){var t=e.substring(1),n=new RegExp(".{1,"+t.length/3+"}","g"),r=t.match(n),o=[];return r&&(o=1===r[0].length?r.map(function(e){return e+e}):r.map(function(e){return e})),o?"rgb("+o.map(function(e){return parseInt(e,16)}).join(", ")+")":""}(e));var t=e.indexOf("(");return{type:e.substring(0,t),values:e.substring(t+1,e.length-1).split(",").map(function(e){return parseFloat(e)})}}return e}function s(e){var t=i(e),n=t.type,r=t.values,o=("hsl"===n||"hsla"===n?i(function(e){var t=i(e),n=t.type,r=t.values,o=r[0],s=r[1]/100,l=r[2]/100,a=s*Math.min(l,1-l),c=function(e,t){return void 0===t&&(t=(e+o/30)%12),l-a*Math.max(Math.min(t-3,9-t,1),-1)},u=[Math.round(255*c(0)),Math.round(255*c(8)),Math.round(255*c(4))];return function(e){var t=e.type,n=[].concat(e.values);return-1!==t.indexOf("rgb")?n=n.map(function(e,t){return t<3?parseInt(String(e),10):e}):-1!==t.indexOf("hsl")&&(n[1]=n[1]+"%",n[2]=n[2]+"%"),t+"("+n.join(", ")+")"}("hsla"===n?{type:"rgba",values:[].concat(u,[r[3]])}:{type:"rgb",values:u})}(e)).values:r).map(function(e){var t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}),s=o[0],l=o[1],a=o[2];return Number((.2126*s+.7152*l+.0722*a).toFixed(3))}function l(e){return s(e)<.85}function a(e,t,n){void 0===t&&(t=r.Colors.DEFAULT_DARK),void 0===n&&(n=r.Colors.DEFAULT_WHITE);var o=l(e),i=o?n:t,a=function(e,t){var n=s(e),r=s(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,i);return a<7&&(i=o?t:n),i}},3151(e,t,n){t.__esModule=!0,t.mapPreferenceCenterPageToPreferenceTab=function(e){switch(e){case r.PreferenceCenterPage.Welcome:return o.PreferenceTab.Welcome;case r.PreferenceCenterPage.Purpose:return o.PreferenceTab.Purposes;case r.PreferenceCenterPage.Subscriptions:return o.PreferenceTab.Subscriptions;case r.PreferenceCenterPage.RequestsHome:return o.PreferenceTab.Requests;default:return o.PreferenceTab.Welcome}};var r=n(927),o=n(1931)},9152(e,t,n){t.__esModule=!0,t.usePurposeConfig=t.useGetShouldShowPurposeOptInOutText=t.useGetPurposeConsentValue=t.useGetIsPurposeSwitchEnabled=t.getIsControlledByGpc=t.getInitialPurposeState=t.getDefaultPurposeConsentValue=void 0;var r=n(927),o=n(5212),i=n(9945),s=n(1926),l=n(6421);function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return c(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0?(l=new URL(e.services.shoreline)).protocol+"//"+l.host+"/gvl/eu/vendor-list.json":(null==(a=e.services)?void 0:a.scriptHost)+"/plugins/static/tcf/vendor-list.json":e.services.gvlHost+"/vendor-list.json",Promise.resolve(fetch(i)).then(function(e){try{return(c=e).ok?Promise.resolve(c.json()).then(t,n):t(Promise.reject("failed to get gvl"))}catch(e){return n(e)}},n)):t(Promise.reject("invalid configuration"))})}(e)).then(function(n){try{return(o=n)?(i=function(e,t){var n={};return Object.values(t.purposes).forEach(function(r){n["purpose_"+r.id]=function(e,t,n){var r,o=[];return null==(r=e.vendors)||r.forEach(function(e){if(t[e.id]){var r=t[e.id];(r.purposes.includes(n)||r.legIntPurposes.includes(n)||r.specialPurposes.includes(n))&&o.push(e)}}),o}(e,t.vendors,r.id)}),Object.values(t.specialFeatures).forEach(function(r){n["specialFeature_"+r.id]=function(e,t,n){var r,o=[];return null==(r=e.vendors)||r.forEach(function(e){t[e.id]&&t[e.id].specialFeatures.includes(n)&&o.push(e)}),o}(e,t.vendors,r.id)}),n}(e,o),s=function(e){var t={};return e.purposes&&e.plugins?(Object.entries(e.plugins).forEach(function(e){var n,r=e[0],o=e[1];"tcf"!==r&&"tcfeuv2"!==r&&"tcfcav1"!==r||!o.purposeMappings||null==(n=o.purposeMappings)||n.forEach(function(e){var n;null==(n=e.purposes)||n.forEach(function(n){t[n]||(t[n]=[]),t[n].push(e.pluginPurposeID)})})}),t):t}(e),Object.entries(s).forEach(function(e){var t=e[0],n=e[1],o=new Map;n.forEach(function(e){i[e]&&i[e].forEach(function(e){o.has(e.id)||o.set(e.id,e)})}),Array.from(o.values()),r[t]={tcfPurposes:n,illustrations:[],vendors:Array.from(o.values())}}),t(r)):t(r)}catch(e){return l()}},l)}catch(e){l()}})},t.getVendorsWithTypeAndStatus=t.getVendorStatus=t.getUpdateAllVendorConsentsValue=t.getUpdateAllTCFVendorConsentsValue=t.getUpdateAllGoogleVendorConsentsValue=t.getTCFVendorStatus=void 0;var r=n(927),o=function(e){return e.TCF="tcf",e.Google="google",e.Other="other",e}({});t.VendorType=o,t.getInitialVendorConsentsState=function(e,t){var n,o,i,s;return{tcf:(null==e||null==(n=e.systems)||null==(o=n.tcf)?void 0:o.reduce(function(e,n){var o,i;return e[n.id]=(null==(o=t.vendorConsents)||null==(i=o.tcf)?void 0:i[n.id])||r.VendorStatus.Denied,e},{}))||{},google:(null==e||null==(i=e.systems)||null==(s=i.google)?void 0:s.reduce(function(e,n){var o,i;return e[n.id]=(null==(o=t.vendorConsents)||null==(i=o.google)?void 0:i[n.id])||r.VendorStatus.Denied,e},{}))||{}}};var i=function(e,t){var n,r;return(null==(n=e.config.systems)||null==(r=n.tcf)?void 0:r.reduce(function(e,n){return e[n.id]=t,e},{}))||{}};t.getUpdateAllTCFVendorConsentsValue=i;var s=function(e,t){var n,r;return(null==(n=e.config.systems)||null==(r=n.google)?void 0:r.reduce(function(e,n){return e[n.id]=t,e},{}))||{}};t.getUpdateAllGoogleVendorConsentsValue=s,t.getUpdateAllVendorConsentsValue=function(e,t){return{tcf:i(e,t),google:s(e,t)}},t.getVendorsWithTypeAndStatus=function(e,t,n){switch(t){case o.TCF:return Object.entries(e.vendorConsents.tcf||{}).reduce(function(e,t){var r=t[0];return t[1]===n&&e.push(r),e},[]);case o.Google:return Object.entries(e.vendorConsents.google||{}).reduce(function(e,t){var r=t[0];return t[1]===n&&e.push(r),e},[]);case o.Other:return[]}};var l=function(e,t,n){var r,i;switch(t){case o.TCF:return null==(r=e.vendorConsents.tcf)?void 0:r[n];case o.Google:return null==(i=e.vendorConsents.google)?void 0:i[n];case o.Other:return}};t.getVendorStatus=l,t.getTCFVendorStatus=function(e,t){return l(e,o.TCF,t)},t.getGoogleVendorStatus=function(e,t){return l(e,o.Google,t)}},1408(e,t,n){n.d(t,{A:()=>l});var r=n(3051),o=n.n(r),i=n(7028),s=n.n(i)()(o());s.push([e.id,"#lanyard_root {\n *, ::before, ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n }\n ::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n }\n}\n#lanyard_root * .ketch-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n#lanyard_root * .ketch-pointer-events-none {\n pointer-events: none;\n}\n#lanyard_root * .ketch-pointer-events-auto {\n pointer-events: auto;\n}\n#lanyard_root * .ketch-fixed {\n position: fixed;\n}\n#lanyard_root * .ketch-absolute {\n position: absolute;\n}\n#lanyard_root * .ketch-relative {\n position: relative;\n}\n#lanyard_root * .ketch-inset-0 {\n inset: 0;\n}\n#lanyard_root * .ketch-inset-y-0 {\n top: 0;\n bottom: 0;\n}\n#lanyard_root * .\\!ketch-left-0 {\n left: 0 !important;\n}\n#lanyard_root * .\\!ketch-right-0 {\n right: 0 !important;\n}\n#lanyard_root * .ketch-bottom-0 {\n bottom: 0;\n}\n#lanyard_root * .ketch-bottom-1 {\n bottom: 4px;\n}\n#lanyard_root * .ketch-bottom-2\\/4 {\n bottom: 50%;\n}\n#lanyard_root * .ketch-bottom-\\[50\\%\\] {\n bottom: 50%;\n}\n#lanyard_root * .ketch-bottom-auto {\n bottom: auto;\n}\n#lanyard_root * .ketch-end-\\[2px\\] {\n inset-inline-end: 2px;\n}\n#lanyard_root * .ketch-left-0 {\n left: 0;\n}\n#lanyard_root * .ketch-left-1 {\n left: 4px;\n}\n#lanyard_root * .ketch-left-auto {\n left: auto;\n}\n#lanyard_root * .ketch-right-0 {\n right: 0;\n}\n#lanyard_root * .ketch-right-1 {\n right: 4px;\n}\n#lanyard_root * .ketch-start-\\[2px\\] {\n inset-inline-start: 2px;\n}\n#lanyard_root * .ketch-top-0 {\n top: 0;\n}\n#lanyard_root * .ketch-top-1 {\n top: 4px;\n}\n#lanyard_root * .ketch-top-\\[2px\\] {\n top: 2px;\n}\n#lanyard_root * .ketch-top-\\[4px\\] {\n top: 4px;\n}\n#lanyard_root * .-ketch-z-10 {\n z-index: -10;\n}\n#lanyard_root * .ketch-z-0 {\n z-index: 0;\n}\n#lanyard_root * .ketch-z-10 {\n z-index: 10;\n}\n#lanyard_root * .ketch-z-ketch-max-z-index {\n z-index: 2147483647;\n}\n#lanyard_root * .ketch-col-span-1 {\n grid-column: span 1 / span 1;\n}\n#lanyard_root * .ketch-col-span-12 {\n grid-column: span 12 / span 12;\n}\n#lanyard_root * .ketch-col-span-2 {\n grid-column: span 2 / span 2;\n}\n#lanyard_root * .ketch-row-span-1 {\n grid-row: span 1 / span 1;\n}\n#lanyard_root * .\\!ketch-m-0 {\n margin: 0 !important;\n}\n#lanyard_root * .ketch-m-0 {\n margin: 0;\n}\n#lanyard_root * .ketch-mx-16 {\n margin-left: 64px;\n margin-right: 64px;\n}\n#lanyard_root * .ketch-mx-auto {\n margin-left: auto;\n margin-right: auto;\n}\n#lanyard_root * .ketch-my-0 {\n margin-top: 0;\n margin-bottom: 0;\n}\n#lanyard_root * .ketch-my-2 {\n margin-top: 8px;\n margin-bottom: 8px;\n}\n#lanyard_root * .ketch-my-4 {\n margin-top: 16px;\n margin-bottom: 16px;\n}\n#lanyard_root * .ketch-mb-1 {\n margin-bottom: 4px;\n}\n#lanyard_root * .ketch-mb-2 {\n margin-bottom: 8px;\n}\n#lanyard_root * .ketch-mb-3 {\n margin-bottom: 12px;\n}\n#lanyard_root * .ketch-mb-4 {\n margin-bottom: 16px;\n}\n#lanyard_root * .ketch-mb-6 {\n margin-bottom: 24px;\n}\n#lanyard_root * .ketch-mb-8 {\n margin-bottom: 32px;\n}\n#lanyard_root * .ketch-ml-0 {\n margin-left: 0;\n}\n#lanyard_root * .ketch-ml-1 {\n margin-left: 4px;\n}\n#lanyard_root * .ketch-ml-2\\.5 {\n margin-left: 10px;\n}\n#lanyard_root * .ketch-ml-4 {\n margin-left: 16px;\n}\n#lanyard_root * .ketch-ml-\\[18px\\] {\n margin-left: 18px;\n}\n#lanyard_root * .ketch-ml-\\[24px\\] {\n margin-left: 24px;\n}\n#lanyard_root * .ketch-ml-auto {\n margin-left: auto;\n}\n#lanyard_root * .ketch-mr-4 {\n margin-right: 16px;\n}\n#lanyard_root * .ketch-mr-auto {\n margin-right: auto;\n}\n#lanyard_root * .ketch-mt-1 {\n margin-top: 4px;\n}\n#lanyard_root * .ketch-mt-3 {\n margin-top: 12px;\n}\n#lanyard_root * .ketch-mt-4 {\n margin-top: 16px;\n}\n#lanyard_root * .ketch-mt-5 {\n margin-top: 20px;\n}\n#lanyard_root * .ketch-mt-8 {\n margin-top: 32px;\n}\n#lanyard_root * .ketch-box-border {\n box-sizing: border-box;\n}\n#lanyard_root * .\\!ketch-block {\n display: block !important;\n}\n#lanyard_root * .ketch-block {\n display: block;\n}\n#lanyard_root * .ketch-inline-block {\n display: inline-block;\n}\n#lanyard_root * .ketch-inline {\n display: inline;\n}\n#lanyard_root * .\\!ketch-flex {\n display: flex !important;\n}\n#lanyard_root * .ketch-flex {\n display: flex;\n}\n#lanyard_root * .ketch-inline-flex {\n display: inline-flex;\n}\n#lanyard_root * .ketch-grid {\n display: grid;\n}\n#lanyard_root * .ketch-hidden {\n display: none;\n}\n#lanyard_root * .ketch-aspect-\\[1024\\/480\\] {\n aspect-ratio: 1024/480;\n}\n#lanyard_root * .ketch-h-0 {\n height: 0;\n}\n#lanyard_root * .ketch-h-10 {\n height: 40px;\n}\n#lanyard_root * .ketch-h-11 {\n height: 44px;\n}\n#lanyard_root * .ketch-h-12 {\n height: 48px;\n}\n#lanyard_root * .ketch-h-16 {\n height: 64px;\n}\n#lanyard_root * .ketch-h-24 {\n height: 96px;\n}\n#lanyard_root * .ketch-h-4 {\n height: 16px;\n}\n#lanyard_root * .ketch-h-5 {\n height: 20px;\n}\n#lanyard_root * .ketch-h-6 {\n height: 24px;\n}\n#lanyard_root * .ketch-h-9 {\n height: 36px;\n}\n#lanyard_root * .ketch-h-\\[17px\\] {\n height: 17px;\n}\n#lanyard_root * .ketch-h-\\[20px\\] {\n height: 20px;\n}\n#lanyard_root * .ketch-h-\\[22px\\] {\n height: 22px;\n}\n#lanyard_root * .ketch-h-\\[30px\\] {\n height: 30px;\n}\n#lanyard_root * .ketch-h-\\[50\\%\\] {\n height: 50%;\n}\n#lanyard_root * .ketch-h-auto {\n height: auto;\n}\n#lanyard_root * .ketch-h-dvh {\n height: 100dvh;\n}\n#lanyard_root * .ketch-h-full {\n height: 100%;\n}\n#lanyard_root * .ketch-h-px {\n height: 1px;\n}\n#lanyard_root * .ketch-max-h-10 {\n max-height: 40px;\n}\n#lanyard_root * .ketch-max-h-44 {\n max-height: 176px;\n}\n#lanyard_root * .ketch-max-h-6 {\n max-height: 24px;\n}\n#lanyard_root * .ketch-max-h-60 {\n max-height: 240px;\n}\n#lanyard_root * .ketch-max-h-9 {\n max-height: 36px;\n}\n#lanyard_root * .ketch-max-h-\\[30px\\] {\n max-height: 30px;\n}\n#lanyard_root * .ketch-max-h-\\[48px\\] {\n max-height: 48px;\n}\n#lanyard_root * .ketch-max-h-\\[64px\\] {\n max-height: 64px;\n}\n#lanyard_root * .ketch-max-h-\\[69px\\] {\n max-height: 69px;\n}\n#lanyard_root * .ketch-max-h-\\[75\\%\\] {\n max-height: 75%;\n}\n#lanyard_root * .ketch-max-h-\\[90\\%\\] {\n max-height: 90%;\n}\n#lanyard_root * .ketch-max-h-dvh {\n max-height: 100dvh;\n}\n#lanyard_root * .ketch-max-h-full {\n max-height: 100%;\n}\n#lanyard_root * .ketch-min-h-0 {\n min-height: 0;\n}\n#lanyard_root * .ketch-min-h-10 {\n min-height: 40px;\n}\n#lanyard_root * .ketch-min-h-11 {\n min-height: 44px;\n}\n#lanyard_root * .ketch-min-h-12 {\n min-height: 48px;\n}\n#lanyard_root * .ketch-min-h-7 {\n min-height: 28px;\n}\n#lanyard_root * .ketch-min-h-8 {\n min-height: 32px;\n}\n#lanyard_root * .ketch-min-h-\\[125px\\] {\n min-height: 125px;\n}\n#lanyard_root * .ketch-min-h-\\[57px\\] {\n min-height: 57px;\n}\n#lanyard_root * .ketch-min-h-\\[75px\\] {\n min-height: 75px;\n}\n#lanyard_root * .ketch-min-h-full {\n min-height: 100%;\n}\n#lanyard_root * .ketch-min-h-lvh {\n min-height: 100lvh;\n}\n#lanyard_root * .\\!ketch-w-full {\n width: 100% !important;\n}\n#lanyard_root * .ketch-w-10 {\n width: 40px;\n}\n#lanyard_root * .ketch-w-11 {\n width: 44px;\n}\n#lanyard_root * .ketch-w-16 {\n width: 64px;\n}\n#lanyard_root * .ketch-w-24 {\n width: 96px;\n}\n#lanyard_root * .ketch-w-4 {\n width: 16px;\n}\n#lanyard_root * .ketch-w-48 {\n width: 192px;\n}\n#lanyard_root * .ketch-w-5 {\n width: 20px;\n}\n#lanyard_root * .ketch-w-6 {\n width: 24px;\n}\n#lanyard_root * .ketch-w-9 {\n width: 36px;\n}\n#lanyard_root * .ketch-w-\\[115px\\] {\n width: 115px;\n}\n#lanyard_root * .ketch-w-\\[134px\\] {\n width: 134px;\n}\n#lanyard_root * .ketch-w-\\[224px\\] {\n width: 224px;\n}\n#lanyard_root * .ketch-w-\\[30px\\] {\n width: 30px;\n}\n#lanyard_root * .ketch-w-\\[328px\\] {\n width: 328px;\n}\n#lanyard_root * .ketch-w-\\[calc\\(100\\%-8px\\)\\] {\n width: calc(100% - 8px);\n}\n#lanyard_root * .ketch-w-auto {\n width: auto;\n}\n#lanyard_root * .ketch-w-fit {\n width: -moz-fit-content;\n width: fit-content;\n}\n#lanyard_root * .ketch-w-full {\n width: 100%;\n}\n#lanyard_root * .ketch-w-px {\n width: 1px;\n}\n#lanyard_root * .ketch-min-w-0 {\n min-width: 0;\n}\n#lanyard_root * .ketch-min-w-10 {\n min-width: 40px;\n}\n#lanyard_root * .ketch-min-w-5 {\n min-width: 20px;\n}\n#lanyard_root * .ketch-min-w-\\[484px\\] {\n min-width: 484px;\n}\n#lanyard_root * .ketch-min-w-full {\n min-width: 100%;\n}\n#lanyard_root * .ketch-max-w-5xl {\n max-width: 64rem;\n}\n#lanyard_root * .ketch-max-w-6 {\n max-width: 24px;\n}\n#lanyard_root * .ketch-max-w-9 {\n max-width: 36px;\n}\n#lanyard_root * .ketch-max-w-\\[140px\\] {\n max-width: 140px;\n}\n#lanyard_root * .ketch-max-w-\\[200px\\] {\n max-width: 200px;\n}\n#lanyard_root * .ketch-max-w-\\[268px\\] {\n max-width: 268px;\n}\n#lanyard_root * .ketch-max-w-\\[30px\\] {\n max-width: 30px;\n}\n#lanyard_root * .ketch-max-w-\\[400px\\] {\n max-width: 400px;\n}\n#lanyard_root * .ketch-max-w-\\[560px\\] {\n max-width: 560px;\n}\n#lanyard_root * .ketch-max-w-full {\n max-width: 100%;\n}\n#lanyard_root * .ketch-max-w-md {\n max-width: 28rem;\n}\n#lanyard_root * .ketch-max-w-none {\n max-width: none;\n}\n#lanyard_root * .ketch-flex-1 {\n flex: 1 1 0%;\n}\n#lanyard_root * .ketch-flex-shrink-0 {\n flex-shrink: 0;\n}\n#lanyard_root * .ketch-shrink {\n flex-shrink: 1;\n}\n#lanyard_root * .ketch-shrink-0 {\n flex-shrink: 0;\n}\n#lanyard_root * .ketch-flex-grow {\n flex-grow: 1;\n}\n#lanyard_root * .ketch-flex-grow-0 {\n flex-grow: 0;\n}\n#lanyard_root * .ketch-grow {\n flex-grow: 1;\n}\n#lanyard_root * .ketch-grow-0 {\n flex-grow: 0;\n}\n#lanyard_root * .ketch-border-collapse {\n border-collapse: collapse;\n}\n#lanyard_root * .ketch-translate-y-2\\/4 {\n --tw-translate-y: 50%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n#lanyard_root * .ketch-translate-y-\\[50\\%\\] {\n --tw-translate-y: 50%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n@keyframes ketch-backdropFadeOut {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n}\n#lanyard_root * .ketch-animate-backdropFadeOut {\n animation: ketch-backdropFadeOut 0.4s forwards;\n}\n@keyframes ketch-bannerAnimateCenter {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n#lanyard_root * .ketch-animate-bannerAnimateCenter {\n animation: ketch-bannerAnimateCenter 0.4s forwards;\n}\n@keyframes ketch-bannerAnimateTop {\n from {\n transform: translateY(-900px);\n }\n to {\n transform: translateY(0);\n }\n}\n#lanyard_root * .ketch-animate-bannerAnimateTop {\n animation: ketch-bannerAnimateTop 0.4s forwards;\n}\n@keyframes ketch-bannerDesktopAnimate {\n from {\n transform: translateY(900px);\n }\n to {\n transform: translateY(0);\n }\n}\n#lanyard_root * .ketch-animate-bannerDesktopAnimate {\n animation: ketch-bannerDesktopAnimate 0.4s forwards;\n}\n@keyframes ketch-bannerDismissBottom {\n from {\n transform: translateY(0);\n }\n to {\n transform: translateY(900px);\n }\n}\n#lanyard_root * .ketch-animate-bannerDismissBottom {\n animation: ketch-bannerDismissBottom 0.4s forwards;\n}\n@keyframes ketch-bannerDismissCenter {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n#lanyard_root * .ketch-animate-bannerDismissCenter {\n animation: ketch-bannerDismissCenter 0.4s forwards;\n}\n@keyframes ketch-bannerMobileBottomAnimate {\n from {\n transform: translateY(900px);\n }\n to {\n transform: translateY(0);\n }\n}\n#lanyard_root * .ketch-animate-bannerMobileBottomAnimate {\n animation: ketch-bannerMobileBottomAnimate 0.4s forwards;\n}\n@keyframes ketch-bannerMobileDismissBottom {\n from {\n transform: translateY(0);\n }\n to {\n transform: translateY(900px);\n }\n}\n#lanyard_root * .ketch-animate-bannerMobileDismissBottom {\n animation: ketch-bannerMobileDismissBottom 0.4s forwards;\n}\n@keyframes ketch-fadeIn {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n#lanyard_root * .ketch-animate-fadeIn {\n animation: ketch-fadeIn 0.5s ease-in-out;\n}\n@keyframes ketch-modalAnimatedLeft {\n from {\n left: -900px;\n }\n to {\n left: 4px;\n }\n}\n#lanyard_root * .ketch-animate-modalAnimatedLeft {\n animation: ketch-modalAnimatedLeft 0.4s forwards;\n}\n@keyframes ketch-modalAnimatedRight {\n from {\n right: -900px;\n }\n to {\n right: 4px;\n }\n}\n#lanyard_root * .ketch-animate-modalAnimatedRight {\n animation: ketch-modalAnimatedRight 0.4s forwards;\n}\n#lanyard_root * .ketch-animate-none {\n animation: none;\n}\n@keyframes ketch-pulseOpacity {\n 0%, 100% {\n opacity: 0.3;\n }\n 50% {\n opacity: 1;\n }\n}\n#lanyard_root * .ketch-animate-pulseOpacity {\n animation: ketch-pulseOpacity 2s ease-in-out infinite;\n}\n#lanyard_root * .ketch-cursor-default {\n cursor: default;\n}\n#lanyard_root * .ketch-cursor-pointer {\n cursor: pointer;\n}\n#lanyard_root * .ketch-resize-none {\n resize: none;\n}\n#lanyard_root * .ketch-list-disc {\n list-style-type: disc;\n}\n#lanyard_root * .ketch-list-none {\n list-style-type: none;\n}\n#lanyard_root * .ketch-appearance-none {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n#lanyard_root * .ketch-auto-rows-min {\n grid-auto-rows: min-content;\n}\n#lanyard_root * .ketch-grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n}\n#lanyard_root * .ketch-grid-cols-12 {\n grid-template-columns: repeat(12, minmax(0, 1fr));\n}\n#lanyard_root * .ketch-grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n}\n#lanyard_root * .ketch-grid-rows-1 {\n grid-template-rows: repeat(1, minmax(0, 1fr));\n}\n#lanyard_root * .ketch-grid-rows-\\[auto_auto_1fr\\] {\n grid-template-rows: auto auto 1fr;\n}\n#lanyard_root * .ketch-flex-row {\n flex-direction: row;\n}\n#lanyard_root * .ketch-flex-col {\n flex-direction: column;\n}\n#lanyard_root * .ketch-flex-col-reverse {\n flex-direction: column-reverse;\n}\n#lanyard_root * .ketch-flex-wrap {\n flex-wrap: wrap;\n}\n#lanyard_root * .ketch-items-start {\n align-items: flex-start;\n}\n#lanyard_root * .ketch-items-end {\n align-items: flex-end;\n}\n#lanyard_root * .\\!ketch-items-center {\n align-items: center !important;\n}\n#lanyard_root * .ketch-items-center {\n align-items: center;\n}\n#lanyard_root * .ketch-items-stretch {\n align-items: stretch;\n}\n#lanyard_root * .\\!ketch-justify-start {\n justify-content: flex-start !important;\n}\n#lanyard_root * .ketch-justify-end {\n justify-content: flex-end;\n}\n#lanyard_root * .ketch-justify-center {\n justify-content: center;\n}\n#lanyard_root * .\\!ketch-justify-between {\n justify-content: space-between !important;\n}\n#lanyard_root * .ketch-justify-between {\n justify-content: space-between;\n}\n#lanyard_root * .ketch-justify-stretch {\n justify-content: stretch;\n}\n#lanyard_root * .ketch-justify-items-center {\n justify-items: center;\n}\n#lanyard_root * .ketch-gap-0 {\n gap: 0;\n}\n#lanyard_root * .ketch-gap-1 {\n gap: 4px;\n}\n#lanyard_root * .ketch-gap-1\\.5 {\n gap: 6px;\n}\n#lanyard_root * .ketch-gap-12 {\n gap: 48px;\n}\n#lanyard_root * .ketch-gap-16 {\n gap: 64px;\n}\n#lanyard_root * .ketch-gap-2 {\n gap: 8px;\n}\n#lanyard_root * .ketch-gap-3 {\n gap: 12px;\n}\n#lanyard_root * .ketch-gap-4 {\n gap: 16px;\n}\n#lanyard_root * .ketch-gap-5 {\n gap: 20px;\n}\n#lanyard_root * .ketch-gap-6 {\n gap: 24px;\n}\n#lanyard_root * .ketch-gap-8 {\n gap: 32px;\n}\n#lanyard_root * .ketch-gap-\\[-2px\\] {\n gap: -2px;\n}\n#lanyard_root * .ketch-gap-x-6 {\n -moz-column-gap: 24px;\n column-gap: 24px;\n}\n#lanyard_root * .ketch-gap-y-4 {\n row-gap: 16px;\n}\n#lanyard_root * :is(.ketch-space-x-1 > :not([hidden]) ~ :not([hidden])) {\n --tw-space-x-reverse: 0;\n margin-right: calc(4px * var(--tw-space-x-reverse));\n margin-left: calc(4px * calc(1 - var(--tw-space-x-reverse)));\n}\n#lanyard_root * .ketch-self-start {\n align-self: flex-start;\n}\n#lanyard_root * .ketch-overflow-auto {\n overflow: auto;\n}\n#lanyard_root * .ketch-overflow-hidden {\n overflow: hidden;\n}\n#lanyard_root * .ketch-overflow-y-auto {\n overflow-y: auto;\n}\n#lanyard_root * .ketch-overflow-y-scroll {\n overflow-y: scroll;\n}\n#lanyard_root * .ketch-truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n#lanyard_root * .ketch-whitespace-nowrap {\n white-space: nowrap;\n}\n#lanyard_root * .ketch-whitespace-break-spaces {\n white-space: break-spaces;\n}\n#lanyard_root * .ketch-break-words {\n overflow-wrap: break-word;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-banner-buttons-primary-cornerRadius\\] {\n border-radius: var(--k-banner-buttons-primary-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-banner-buttons-secondary-cornerRadius\\] {\n border-radius: var(--k-banner-buttons-secondary-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-banner-buttons-tertiary-cornerRadius\\] {\n border-radius: var(--k-banner-buttons-tertiary-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-banner-container-cornerRadius\\] {\n border-radius: var(--k-banner-container-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-banner-gpcBanner-cornerRadius\\] {\n border-radius: var(--k-banner-gpcBanner-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-banner-header-returnButton-cornerRadius\\] {\n border-radius: var(--k-banner-header-returnButton-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-consentGate-actionBlock-button-cornerRadius\\] {\n border-radius: var(--k-consentGate-actionBlock-button-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-consentGate-consentBlock-button-cornerRadius\\] {\n border-radius: var(--k-consentGate-consentBlock-button-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-consentGate-consentBlock-purposes-list-bulkActionButtons-acceptAllButton-cornerRadius\\] {\n border-radius: var(--k-consentGate-consentBlock-purposes-list-bulkActionButtons-acceptAllButton-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-consentGate-consentBlock-purposes-list-bulkActionButtons-rejectAllButton-cornerRadius\\] {\n border-radius: var(--k-consentGate-consentBlock-purposes-list-bulkActionButtons-rejectAllButton-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-consentGate-consentBlock-purposes-list-items-cornerRadius\\] {\n border-radius: var(--k-consentGate-consentBlock-purposes-list-items-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-consentGate-container-cornerRadius\\] {\n border-radius: var(--k-consentGate-container-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-consentGate-header-closeButton-cornerRadius\\] {\n border-radius: var(--k-consentGate-header-closeButton-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-modal-container-cornerRadius\\] {\n border-radius: var(--k-modal-container-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-modal-footer-actionButton-cornerRadius\\] {\n border-radius: var(--k-modal-footer-actionButton-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-modal-gpcBanner-cornerRadius\\] {\n border-radius: var(--k-modal-gpcBanner-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-modal-header-returnButton-cornerRadius\\] {\n border-radius: var(--k-modal-header-returnButton-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-modal-purposeList-purposeListItems-purposeCornerRadius\\] {\n border-radius: var(--k-modal-purposeList-purposeListItems-purposeCornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-modal-purposeListHeader-acceptAllButton-cornerRadius\\] {\n border-radius: var(--k-modal-purposeListHeader-acceptAllButton-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-modal-purposeListHeader-rejectAllButton-cornerRadius\\] {\n border-radius: var(--k-modal-purposeListHeader-rejectAllButton-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-preference-exitButton-cornerRadius\\] {\n border-radius: var(--k-preference-exitButton-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-preference-navigation-layout-cornerRadius\\] {\n border-radius: var(--k-preference-navigation-layout-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-preference-navigation-layout-item-cornerRadius\\] {\n border-radius: var(--k-preference-navigation-layout-item-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-preference-tabs-purposes-footer-actionButton-cornerRadius\\] {\n border-radius: var(--k-preference-tabs-purposes-footer-actionButton-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-preference-tabs-purposes-gpcBanner-cornerRadius\\] {\n border-radius: var(--k-preference-tabs-purposes-gpcBanner-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-preference-tabs-purposes-purposeList-purposeListItems-purposeCornerRadius\\] {\n border-radius: var(--k-preference-tabs-purposes-purposeList-purposeListItems-purposeCornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-preference-tabs-purposes-purposeListHeader-acceptAllButton-cornerRadius\\] {\n border-radius: var(--k-preference-tabs-purposes-purposeListHeader-acceptAllButton-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-preference-tabs-purposes-purposeListHeader-rejectAllButton-cornerRadius\\] {\n border-radius: var(--k-preference-tabs-purposes-purposeListHeader-rejectAllButton-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-preference-tabs-requests-home-dsrPortalLink-cornerRadius\\] {\n border-radius: var(--k-preference-tabs-requests-home-dsrPortalLink-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-preference-tabs-requests-home-rightsList-item-cornerRadius\\] {\n border-radius: var(--k-preference-tabs-requests-home-rightsList-item-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-preference-tabs-requests-rightForm-actionButton-cornerRadius\\] {\n border-radius: var(--k-preference-tabs-requests-rightForm-actionButton-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-preference-tabs-requests-rightForm-form-fields-cornerRadius\\] {\n border-radius: var(--k-preference-tabs-requests-rightForm-form-fields-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-preference-tabs-requests-rightForm-header-returnButton-cornerRadius\\] {\n border-radius: var(--k-preference-tabs-requests-rightForm-header-returnButton-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-preference-tabs-requests-submitted-footer-actionButton-cornerRadius\\] {\n border-radius: var(--k-preference-tabs-requests-submitted-footer-actionButton-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-preference-tabs-requests-submitted-header-returnButton-cornerRadius\\] {\n border-radius: var(--k-preference-tabs-requests-submitted-header-returnButton-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-preference-tabs-subscriptions-footer-actionButton-cornerRadius\\] {\n border-radius: var(--k-preference-tabs-subscriptions-footer-actionButton-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-preference-tabs-subscriptions-list-layout-cornerRadius\\] {\n border-radius: var(--k-preference-tabs-subscriptions-list-layout-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-\\[--k-preference-tabs-subscriptions-unsubscribeAll-cornerRadius\\] {\n border-radius: var(--k-preference-tabs-subscriptions-unsubscribeAll-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-none {\n border-radius: 0px !important;\n}\n#lanyard_root * .ketch-rounded-3xl {\n border-radius: 1.5rem;\n}\n#lanyard_root * .ketch-rounded-\\[3px\\] {\n border-radius: 3px;\n}\n#lanyard_root * .ketch-rounded-full {\n border-radius: 9999px;\n}\n#lanyard_root * .ketch-rounded-inherit {\n border-radius: inherit;\n}\n#lanyard_root * .ketch-rounded-none {\n border-radius: 0px;\n}\n#lanyard_root * .\\!ketch-rounded-tl-\\[--k-preference-navigation-layout-item-cornerRadius\\] {\n border-top-left-radius: var(--k-preference-navigation-layout-item-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-rounded-tr-\\[--k-preference-navigation-layout-item-cornerRadius\\] {\n border-top-right-radius: var(--k-preference-navigation-layout-item-cornerRadius) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[1px\\] {\n border-width: 1px !important;\n}\n#lanyard_root * .ketch-border {\n border-width: 1px;\n}\n#lanyard_root * .ketch-border-0 {\n border-width: 0px;\n}\n#lanyard_root * .ketch-border-2 {\n border-width: 2px;\n}\n#lanyard_root * .ketch-border-\\[1\\.5px\\] {\n border-width: 1.5px;\n}\n#lanyard_root * .ketch-border-x-0 {\n border-left-width: 0px;\n border-right-width: 0px;\n}\n#lanyard_root * .ketch-border-b {\n border-bottom-width: 1px;\n}\n#lanyard_root * .ketch-border-l-0 {\n border-left-width: 0px;\n}\n#lanyard_root * .ketch-border-r-0 {\n border-right-width: 0px;\n}\n#lanyard_root * .ketch-border-t-0 {\n border-top-width: 0px;\n}\n#lanyard_root * .\\!ketch-border-solid {\n border-style: solid !important;\n}\n#lanyard_root * .ketch-border-solid {\n border-style: solid;\n}\n#lanyard_root * .ketch-border-none {\n border-style: none;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-banner-buttons-primary-background-color\\] {\n border-color: var(--k-banner-buttons-primary-background-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-banner-buttons-secondary-background-color\\] {\n border-color: var(--k-banner-buttons-secondary-background-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-banner-buttons-tertiary-background-color\\] {\n border-color: var(--k-banner-buttons-tertiary-background-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-banner-gpcBanner-outline-color\\] {\n border-color: var(--k-banner-gpcBanner-outline-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-consentGate-actionBlock-button-outline-color\\] {\n border-color: var(--k-consentGate-actionBlock-button-outline-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-consentGate-consentBlock-button-background-color\\] {\n border-color: var(--k-consentGate-consentBlock-button-background-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-consentGate-consentBlock-purposes-list-bulkActionButtons-acceptAllButton-background-color\\] {\n border-color: var(--k-consentGate-consentBlock-purposes-list-bulkActionButtons-acceptAllButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-consentGate-consentBlock-purposes-list-bulkActionButtons-rejectAllButton-background-color\\] {\n border-color: var(--k-consentGate-consentBlock-purposes-list-bulkActionButtons-rejectAllButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-consentGate-consentBlock-purposes-list-items-purposeOutline-color\\] {\n border-color: var(--k-consentGate-consentBlock-purposes-list-items-purposeOutline-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-consentGate-consentBlock-purposes-list-switchButtons-off-background-color\\] {\n border-color: var(--k-consentGate-consentBlock-purposes-list-switchButtons-off-background-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-consentGate-header-closeButton-icon-color\\] {\n border-color: var(--k-consentGate-header-closeButton-icon-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-modal-footer-actionButton-background-color\\] {\n border-color: var(--k-modal-footer-actionButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-modal-gpcBanner-outline-color\\] {\n border-color: var(--k-modal-gpcBanner-outline-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-modal-purposeList-purposeListItems-purposeOutline-color\\] {\n border-color: var(--k-modal-purposeList-purposeListItems-purposeOutline-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-modal-purposeList-switchButtons-off-background-color\\] {\n border-color: var(--k-modal-purposeList-switchButtons-off-background-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-modal-purposeListHeader-acceptAllButton-background-color\\] {\n border-color: var(--k-modal-purposeListHeader-acceptAllButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-modal-purposeListHeader-rejectAllButton-background-color\\] {\n border-color: var(--k-modal-purposeListHeader-rejectAllButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-preference-tabs-purposes-footer-actionButton-background-color\\] {\n border-color: var(--k-preference-tabs-purposes-footer-actionButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-preference-tabs-purposes-gpcBanner-outline-color\\] {\n border-color: var(--k-preference-tabs-purposes-gpcBanner-outline-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-preference-tabs-purposes-purposeList-purposeListItems-purposeOutline-color\\] {\n border-color: var(--k-preference-tabs-purposes-purposeList-purposeListItems-purposeOutline-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-preference-tabs-purposes-purposeList-switchButtons-off-background-color\\] {\n border-color: var(--k-preference-tabs-purposes-purposeList-switchButtons-off-background-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-preference-tabs-purposes-purposeListHeader-acceptAllButton-background-color\\] {\n border-color: var(--k-preference-tabs-purposes-purposeListHeader-acceptAllButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-preference-tabs-purposes-purposeListHeader-rejectAllButton-background-color\\] {\n border-color: var(--k-preference-tabs-purposes-purposeListHeader-rejectAllButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-preference-tabs-requests-rightForm-actionButton-background-color\\] {\n border-color: var(--k-preference-tabs-requests-rightForm-actionButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-preference-tabs-requests-rightForm-form-checkboxes-error-background-color\\] {\n border-color: var(--k-preference-tabs-requests-rightForm-form-checkboxes-error-background-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-preference-tabs-requests-rightForm-form-checkboxes-unselected-background-color\\] {\n border-color: var(--k-preference-tabs-requests-rightForm-form-checkboxes-unselected-background-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-preference-tabs-requests-rightForm-form-fields-error-outline-color\\] {\n border-color: var(--k-preference-tabs-requests-rightForm-form-fields-error-outline-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-preference-tabs-requests-rightForm-form-fields-inactive-outline-color\\] {\n border-color: var(--k-preference-tabs-requests-rightForm-form-fields-inactive-outline-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-preference-tabs-requests-submitted-footer-actionButton-outline-color\\] {\n border-color: var(--k-preference-tabs-requests-submitted-footer-actionButton-outline-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-preference-tabs-subscriptions-footer-actionButton-background-color\\] {\n border-color: var(--k-preference-tabs-subscriptions-footer-actionButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-preference-tabs-subscriptions-list-checkbox-unselected-background-color\\] {\n border-color: var(--k-preference-tabs-subscriptions-list-checkbox-unselected-background-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-preference-tabs-subscriptions-list-layout-background-color\\] {\n border-color: var(--k-preference-tabs-subscriptions-list-layout-background-color) !important;\n}\n#lanyard_root * .\\!ketch-border-\\[--k-tabs-subscriptions-list-checkbox-error-text-color\\] {\n border-color: var(--k-tabs-subscriptions-list-checkbox-error-text-color) !important;\n}\n#lanyard_root * .ketch-border-black {\n --tw-border-opacity: 1;\n border-color: rgb(0 0 0 / var(--tw-border-opacity));\n}\n#lanyard_root * .ketch-border-gray-300 {\n --tw-border-opacity: 1;\n border-color: rgb(209 213 219 / var(--tw-border-opacity));\n}\n#lanyard_root * .ketch-border-gray-400 {\n --tw-border-opacity: 1;\n border-color: rgb(156 163 175 / var(--tw-border-opacity));\n}\n#lanyard_root * .ketch-border-ketch-error {\n border-color: rgba(252, 60, 96, 1);\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-banner-buttons-primary-background-color\\] {\n background-color: var(--k-banner-buttons-primary-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-banner-buttons-secondary-background-color\\] {\n background-color: var(--k-banner-buttons-secondary-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-banner-buttons-tertiary-background-color\\] {\n background-color: var(--k-banner-buttons-tertiary-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-banner-container-backdrop-background-color\\] {\n background-color: var(--k-banner-container-backdrop-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-banner-container-background-color\\] {\n background-color: var(--k-banner-container-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-banner-gpcBanner-fill-color\\] {\n background-color: var(--k-banner-gpcBanner-fill-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-banner-header-returnButton-background-color\\] {\n background-color: var(--k-banner-header-returnButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-consentGate-actionBlock-button-background-color\\] {\n background-color: var(--k-consentGate-actionBlock-button-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-consentGate-consentBlock-button-background-color\\] {\n background-color: var(--k-consentGate-consentBlock-button-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-consentGate-consentBlock-purposes-list-bulkActionButtons-acceptAllButton-background-color\\] {\n background-color: var(--k-consentGate-consentBlock-purposes-list-bulkActionButtons-acceptAllButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-consentGate-consentBlock-purposes-list-bulkActionButtons-rejectAllButton-background-color\\] {\n background-color: var(--k-consentGate-consentBlock-purposes-list-bulkActionButtons-rejectAllButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-consentGate-consentBlock-purposes-list-items-purposeFill-color\\] {\n background-color: var(--k-consentGate-consentBlock-purposes-list-items-purposeFill-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-consentGate-consentBlock-purposes-list-switchButtons-off-background-color\\] {\n background-color: var(--k-consentGate-consentBlock-purposes-list-switchButtons-off-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-consentGate-container-background-color\\] {\n background-color: var(--k-consentGate-container-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-consentGate-header-background\\] {\n background-color: var(--k-consentGate-header-background) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-consentGate-header-closeButton-background-color\\] {\n background-color: var(--k-consentGate-header-closeButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-modal-container-backdrop-background-color\\] {\n background-color: var(--k-modal-container-backdrop-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-modal-container-background-color\\] {\n background-color: var(--k-modal-container-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-modal-footer-actionButton-background-color\\] {\n background-color: var(--k-modal-footer-actionButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-modal-footer-background-color\\] {\n background-color: var(--k-modal-footer-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-modal-gpcBanner-fill-color\\] {\n background-color: var(--k-modal-gpcBanner-fill-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-modal-header-background-color\\] {\n background-color: var(--k-modal-header-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-modal-header-returnButton-background-color\\] {\n background-color: var(--k-modal-header-returnButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-modal-purposeList-purposeListItems-purposeFill-color\\] {\n background-color: var(--k-modal-purposeList-purposeListItems-purposeFill-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-modal-purposeList-switchButtons-off-background-color\\] {\n background-color: var(--k-modal-purposeList-switchButtons-off-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-modal-purposeListHeader-acceptAllButton-background-color\\] {\n background-color: var(--k-modal-purposeListHeader-acceptAllButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-modal-purposeListHeader-rejectAllButton-background-color\\] {\n background-color: var(--k-modal-purposeListHeader-rejectAllButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-container-background-color\\] {\n background-color: var(--k-preference-container-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-exitButton-background-color\\] {\n background-color: var(--k-preference-exitButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-header-background-color\\] {\n background-color: var(--k-preference-header-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-navigation-layout-background-color\\] {\n background-color: var(--k-preference-navigation-layout-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-navigation-layout-item-selectedBackground-color\\] {\n background-color: var(--k-preference-navigation-layout-item-selectedBackground-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-navigation-layout-item-unselectedBackground-color\\] {\n background-color: var(--k-preference-navigation-layout-item-unselectedBackground-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-tabs-purposes-footer-actionButton-background-color\\] {\n background-color: var(--k-preference-tabs-purposes-footer-actionButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-tabs-purposes-footer-background-color\\] {\n background-color: var(--k-preference-tabs-purposes-footer-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-tabs-purposes-gpcBanner-fill-color\\] {\n background-color: var(--k-preference-tabs-purposes-gpcBanner-fill-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-tabs-purposes-purposeList-purposeListItems-purposeFill-color\\] {\n background-color: var(--k-preference-tabs-purposes-purposeList-purposeListItems-purposeFill-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-tabs-purposes-purposeList-switchButtons-off-background-color\\] {\n background-color: var(--k-preference-tabs-purposes-purposeList-switchButtons-off-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-tabs-purposes-purposeListHeader-acceptAllButton-background-color\\] {\n background-color: var(--k-preference-tabs-purposes-purposeListHeader-acceptAllButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-tabs-purposes-purposeListHeader-rejectAllButton-background-color\\] {\n background-color: var(--k-preference-tabs-purposes-purposeListHeader-rejectAllButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-tabs-requests-home-dsrPortalLink-background-color\\] {\n background-color: var(--k-preference-tabs-requests-home-dsrPortalLink-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-tabs-requests-home-rightsList-item-background-color\\] {\n background-color: var(--k-preference-tabs-requests-home-rightsList-item-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-tabs-requests-rightForm-actionButton-background-color\\] {\n background-color: var(--k-preference-tabs-requests-rightForm-actionButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-tabs-requests-rightForm-form-checkboxes-unselected-background-color\\] {\n background-color: var(--k-preference-tabs-requests-rightForm-form-checkboxes-unselected-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-tabs-requests-rightForm-form-fields-error-background-color\\] {\n background-color: var(--k-preference-tabs-requests-rightForm-form-fields-error-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-tabs-requests-rightForm-form-fields-inactive-background-color\\] {\n background-color: var(--k-preference-tabs-requests-rightForm-form-fields-inactive-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-tabs-requests-rightForm-header-returnButton-background-color\\] {\n background-color: var(--k-preference-tabs-requests-rightForm-header-returnButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-tabs-requests-submitted-footer-actionButton-background-color\\] {\n background-color: var(--k-preference-tabs-requests-submitted-footer-actionButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-tabs-requests-submitted-footer-background-color\\] {\n background-color: var(--k-preference-tabs-requests-submitted-footer-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-tabs-requests-submitted-header-returnButton-background-color\\] {\n background-color: var(--k-preference-tabs-requests-submitted-header-returnButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-tabs-subscriptions-footer-actionButton-background-color\\] {\n background-color: var(--k-preference-tabs-subscriptions-footer-actionButton-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-tabs-subscriptions-footer-background-color\\] {\n background-color: var(--k-preference-tabs-subscriptions-footer-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-tabs-subscriptions-list-checkbox-unselected-background-color\\] {\n background-color: var(--k-preference-tabs-subscriptions-list-checkbox-unselected-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-tabs-subscriptions-list-layout-background-color\\] {\n background-color: var(--k-preference-tabs-subscriptions-list-layout-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-tabs-subscriptions-list-switchButton-off-background-color\\] {\n background-color: var(--k-preference-tabs-subscriptions-list-switchButton-off-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-tabs-subscriptions-unsubscribeAll-background-color\\] {\n background-color: var(--k-preference-tabs-subscriptions-unsubscribeAll-background-color) !important;\n}\n#lanyard_root * .\\!ketch-bg-\\[--k-preference-tabs-subscriptions-unsubscribeAll-switchButton-off-background-color\\] {\n background-color: var(--k-preference-tabs-subscriptions-unsubscribeAll-switchButton-off-background-color) !important;\n}\n#lanyard_root * .ketch-bg-gray-200 {\n --tw-bg-opacity: 1;\n background-color: rgb(229 231 235 / var(--tw-bg-opacity));\n}\n#lanyard_root * .ketch-bg-gray-300 {\n --tw-bg-opacity: 1;\n background-color: rgb(209 213 219 / var(--tw-bg-opacity));\n}\n#lanyard_root * .ketch-bg-gray-500 {\n --tw-bg-opacity: 1;\n background-color: rgb(107 114 128 / var(--tw-bg-opacity));\n}\n#lanyard_root * .ketch-bg-inherit {\n background-color: inherit;\n}\n#lanyard_root * .ketch-bg-ketch-black-black-10 {\n background-color: rgba(7, 26, 36, 0.1);\n}\n#lanyard_root * .ketch-bg-ketch-black-black-100 {\n background-color: rgba(7, 26, 36, 1);\n}\n#lanyard_root * .ketch-bg-ketch-white-24 {\n background-color: rgba(255, 255, 255, 0.24);\n}\n#lanyard_root * .ketch-bg-orange-200 {\n --tw-bg-opacity: 1;\n background-color: rgb(254 215 170 / var(--tw-bg-opacity));\n}\n#lanyard_root * .ketch-bg-orange-400 {\n --tw-bg-opacity: 1;\n background-color: rgb(251 146 60 / var(--tw-bg-opacity));\n}\n#lanyard_root * .ketch-bg-orange-600 {\n --tw-bg-opacity: 1;\n background-color: rgb(234 88 12 / var(--tw-bg-opacity));\n}\n#lanyard_root * .ketch-bg-slate-200 {\n --tw-bg-opacity: 1;\n background-color: rgb(226 232 240 / var(--tw-bg-opacity));\n}\n#lanyard_root * .ketch-bg-transparent {\n background-color: transparent;\n}\n#lanyard_root * .ketch-bg-white {\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity));\n}\n#lanyard_root * .\\!ketch-fill-\\[--k-banner-header-returnButton-icon-color\\] {\n fill: var(--k-banner-header-returnButton-icon-color) !important;\n}\n#lanyard_root * .\\!ketch-fill-\\[--k-consentGate-actionBlock-button-icon-color\\] {\n fill: var(--k-consentGate-actionBlock-button-icon-color) !important;\n}\n#lanyard_root * .\\!ketch-fill-\\[--k-consentGate-consentBlock-purposes-list-items-arrowIcon-color\\] {\n fill: var(--k-consentGate-consentBlock-purposes-list-items-arrowIcon-color) !important;\n}\n#lanyard_root * .\\!ketch-fill-\\[--k-consentGate-consentBlock-purposes-list-items-purposeLinks-color\\] {\n fill: var(--k-consentGate-consentBlock-purposes-list-items-purposeLinks-color) !important;\n}\n#lanyard_root * .\\!ketch-fill-\\[--k-consentGate-header-closeButton-icon-color\\] {\n fill: var(--k-consentGate-header-closeButton-icon-color) !important;\n}\n#lanyard_root * .\\!ketch-fill-\\[--k-modal-header-returnButton-icon-color\\] {\n fill: var(--k-modal-header-returnButton-icon-color) !important;\n}\n#lanyard_root * .\\!ketch-fill-\\[--k-modal-purposeList-purposeListItems-arrowIcon-color\\] {\n fill: var(--k-modal-purposeList-purposeListItems-arrowIcon-color) !important;\n}\n#lanyard_root * .\\!ketch-fill-\\[--k-modal-purposeList-purposeListItems-purposeLinks-color\\] {\n fill: var(--k-modal-purposeList-purposeListItems-purposeLinks-color) !important;\n}\n#lanyard_root * .\\!ketch-fill-\\[--k-modal-purposeListHeader-title-color\\] {\n fill: var(--k-modal-purposeListHeader-title-color) !important;\n}\n#lanyard_root * .\\!ketch-fill-\\[--k-preference-exitButton-iconColor-color\\] {\n fill: var(--k-preference-exitButton-iconColor-color) !important;\n}\n#lanyard_root * .\\!ketch-fill-\\[--k-preference-navigation-layout-item-arrowIcon-color\\] {\n fill: var(--k-preference-navigation-layout-item-arrowIcon-color) !important;\n}\n#lanyard_root * .\\!ketch-fill-\\[--k-preference-tabs-purposes-purposeList-purposeListItems-arrowIcon-color\\] {\n fill: var(--k-preference-tabs-purposes-purposeList-purposeListItems-arrowIcon-color) !important;\n}\n#lanyard_root * .\\!ketch-fill-\\[--k-preference-tabs-purposes-purposeList-purposeListItems-purposeLinks-color\\] {\n fill: var(--k-preference-tabs-purposes-purposeList-purposeListItems-purposeLinks-color) !important;\n}\n#lanyard_root * .\\!ketch-fill-\\[--k-preference-tabs-purposes-purposeListHeader-title-color\\] {\n fill: var(--k-preference-tabs-purposes-purposeListHeader-title-color) !important;\n}\n#lanyard_root * .\\!ketch-fill-\\[--k-preference-tabs-requests-form-dropdown-arrow-icon-color\\] {\n fill: var(--k-preference-tabs-requests-form-dropdown-arrow-icon-color) !important;\n}\n#lanyard_root * .\\!ketch-fill-\\[--k-preference-tabs-requests-home-dsrPortalLink-arrowIcon-color\\] {\n fill: var(--k-preference-tabs-requests-home-dsrPortalLink-arrowIcon-color) !important;\n}\n#lanyard_root * .\\!ketch-fill-\\[--k-preference-tabs-requests-home-rightsList-item-arrowIcon-color\\] {\n fill: var(--k-preference-tabs-requests-home-rightsList-item-arrowIcon-color) !important;\n}\n#lanyard_root * .\\!ketch-fill-\\[--k-preference-tabs-requests-rightForm-header-returnButton-icon-color\\] {\n fill: var(--k-preference-tabs-requests-rightForm-header-returnButton-icon-color) !important;\n}\n#lanyard_root * .\\!ketch-fill-\\[--k-preference-tabs-requests-submitted-footer-actionButton-icon-color\\] {\n fill: var(--k-preference-tabs-requests-submitted-footer-actionButton-icon-color) !important;\n}\n#lanyard_root * .\\!ketch-fill-\\[--k-preference-tabs-requests-submitted-header-returnButton-icon-color\\] {\n fill: var(--k-preference-tabs-requests-submitted-header-returnButton-icon-color) !important;\n}\n#lanyard_root * .\\!ketch-fill-\\[--k-preference-tabs-welcome-quickLinks-link-color\\] {\n fill: var(--k-preference-tabs-welcome-quickLinks-link-color) !important;\n}\n#lanyard_root * .ketch-fill-\\[--k-consentGate-actionBlock-footer-link-text-color\\] {\n fill: var(--k-consentGate-actionBlock-footer-link-text-color);\n}\n#lanyard_root * .ketch-fill-\\[--k-preference-tabs-requests-form-error-text-color\\] {\n fill: var(--k-preference-tabs-requests-form-error-text-color);\n}\n#lanyard_root * .ketch-fill-\\[--k-preference-welcome-quickLinks-link-color\\] {\n fill: var(--k-preference-welcome-quickLinks-link-color);\n}\n#lanyard_root * .ketch-fill-black {\n fill: #000;\n}\n#lanyard_root * .ketch-fill-inherit {\n fill: inherit;\n}\n#lanyard_root * .ketch-fill-ketch-black-black-100 {\n fill: rgba(7, 26, 36, 1);\n}\n#lanyard_root * .ketch-fill-white {\n fill: #fff;\n}\n#lanyard_root * .\\!ketch-stroke-\\[--k-preference-tabs-requests-form-dropdown-arrow-icon-color\\] {\n stroke: var(--k-preference-tabs-requests-form-dropdown-arrow-icon-color) !important;\n}\n#lanyard_root * .ketch-stroke-\\[--k-preference-tabs-requests-form-error-text-color\\] {\n stroke: var(--k-preference-tabs-requests-form-error-text-color);\n}\n#lanyard_root * .ketch-stroke-black {\n stroke: #000;\n}\n#lanyard_root * .ketch-stroke-current {\n stroke: currentColor;\n}\n#lanyard_root * .ketch-stroke-white {\n stroke: #fff;\n}\n#lanyard_root * .ketch-object-contain {\n -o-object-fit: contain;\n object-fit: contain;\n}\n#lanyard_root * .\\!ketch-p-0 {\n padding: 0 !important;\n}\n#lanyard_root * .\\!ketch-p-4 {\n padding: 16px !important;\n}\n#lanyard_root * .ketch-p-0 {\n padding: 0;\n}\n#lanyard_root * .ketch-p-2 {\n padding: 8px;\n}\n#lanyard_root * .ketch-p-3 {\n padding: 12px;\n}\n#lanyard_root * .ketch-p-4 {\n padding: 16px;\n}\n#lanyard_root * .ketch-px-0 {\n padding-left: 0;\n padding-right: 0;\n}\n#lanyard_root * .ketch-px-1 {\n padding-left: 4px;\n padding-right: 4px;\n}\n#lanyard_root * .ketch-px-1\\.5 {\n padding-left: 6px;\n padding-right: 6px;\n}\n#lanyard_root * .ketch-px-2 {\n padding-left: 8px;\n padding-right: 8px;\n}\n#lanyard_root * .ketch-px-3 {\n padding-left: 12px;\n padding-right: 12px;\n}\n#lanyard_root * .ketch-px-4 {\n padding-left: 16px;\n padding-right: 16px;\n}\n#lanyard_root * .ketch-px-5 {\n padding-left: 20px;\n padding-right: 20px;\n}\n#lanyard_root * .ketch-px-6 {\n padding-left: 24px;\n padding-right: 24px;\n}\n#lanyard_root * .ketch-px-8 {\n padding-left: 32px;\n padding-right: 32px;\n}\n#lanyard_root * .ketch-px-\\[1px\\] {\n padding-left: 1px;\n padding-right: 1px;\n}\n#lanyard_root * .ketch-py-0 {\n padding-top: 0;\n padding-bottom: 0;\n}\n#lanyard_root * .ketch-py-0\\.5 {\n padding-top: 2px;\n padding-bottom: 2px;\n}\n#lanyard_root * .ketch-py-1 {\n padding-top: 4px;\n padding-bottom: 4px;\n}\n#lanyard_root * .ketch-py-2 {\n padding-top: 8px;\n padding-bottom: 8px;\n}\n#lanyard_root * .ketch-py-20 {\n padding-top: 80px;\n padding-bottom: 80px;\n}\n#lanyard_root * .ketch-py-3 {\n padding-top: 12px;\n padding-bottom: 12px;\n}\n#lanyard_root * .ketch-py-4 {\n padding-top: 16px;\n padding-bottom: 16px;\n}\n#lanyard_root * .ketch-py-5 {\n padding-top: 20px;\n padding-bottom: 20px;\n}\n#lanyard_root * .ketch-py-6 {\n padding-top: 24px;\n padding-bottom: 24px;\n}\n#lanyard_root * .ketch-py-\\[1px\\] {\n padding-top: 1px;\n padding-bottom: 1px;\n}\n#lanyard_root * .ketch-pb-0 {\n padding-bottom: 0;\n}\n#lanyard_root * .ketch-pb-1 {\n padding-bottom: 4px;\n}\n#lanyard_root * .ketch-pb-2 {\n padding-bottom: 8px;\n}\n#lanyard_root * .ketch-pb-3 {\n padding-bottom: 12px;\n}\n#lanyard_root * .ketch-pb-4 {\n padding-bottom: 16px;\n}\n#lanyard_root * .ketch-pb-6 {\n padding-bottom: 24px;\n}\n#lanyard_root * .ketch-pb-8 {\n padding-bottom: 32px;\n}\n#lanyard_root * .ketch-pb-\\[--safe-area-inset-bottom\\] {\n padding-bottom: var(--safe-area-inset-bottom);\n}\n#lanyard_root * .ketch-pb-\\[max\\(16px\\,var\\(--safe-area-inset-bottom\\)\\)\\] {\n padding-bottom: max(16px,var(--safe-area-inset-bottom));\n}\n#lanyard_root * .ketch-pl-0 {\n padding-left: 0;\n}\n#lanyard_root * .ketch-pl-1 {\n padding-left: 4px;\n}\n#lanyard_root * .ketch-pl-10 {\n padding-left: 40px;\n}\n#lanyard_root * .ketch-pl-2 {\n padding-left: 8px;\n}\n#lanyard_root * .ketch-pl-3 {\n padding-left: 12px;\n}\n#lanyard_root * .ketch-pl-4 {\n padding-left: 16px;\n}\n#lanyard_root * .ketch-pl-5 {\n padding-left: 20px;\n}\n#lanyard_root * .ketch-pl-6 {\n padding-left: 24px;\n}\n#lanyard_root * .ketch-pl-\\[--safe-area-inset-left\\] {\n padding-left: var(--safe-area-inset-left);\n}\n#lanyard_root * .ketch-pl-\\[calc\\(16px\\+var\\(--safe-area-inset-left\\)\\)\\] {\n padding-left: calc(16px + var(--safe-area-inset-left));\n}\n#lanyard_root * .ketch-pl-\\[calc\\(var\\(--safe-area-inset-left\\)\\+4px\\)\\] {\n padding-left: calc(var(--safe-area-inset-left) + 4px);\n}\n#lanyard_root * .ketch-pl-\\[max\\(16px\\,var\\(--safe-area-inset-left\\)\\)\\] {\n padding-left: max(16px,var(--safe-area-inset-left));\n}\n#lanyard_root * .ketch-pr-0 {\n padding-right: 0;\n}\n#lanyard_root * .ketch-pr-14 {\n padding-right: 56px;\n}\n#lanyard_root * .ketch-pr-3 {\n padding-right: 12px;\n}\n#lanyard_root * .ketch-pr-6 {\n padding-right: 24px;\n}\n#lanyard_root * .ketch-pr-8 {\n padding-right: 32px;\n}\n#lanyard_root * .ketch-pr-\\[--safe-area-inset-right\\] {\n padding-right: var(--safe-area-inset-right);\n}\n#lanyard_root * .ketch-pr-\\[calc\\(16px\\+var\\(--safe-area-inset-right\\)\\)\\] {\n padding-right: calc(16px + var(--safe-area-inset-right));\n}\n#lanyard_root * .ketch-pr-\\[calc\\(var\\(--safe-area-inset-right\\)\\+4px\\)\\] {\n padding-right: calc(var(--safe-area-inset-right) + 4px);\n}\n#lanyard_root * .ketch-pr-\\[max\\(16px\\,var\\(--safe-area-inset-right\\)\\)\\] {\n padding-right: max(16px,var(--safe-area-inset-right));\n}\n#lanyard_root * .ketch-pt-0\\.5 {\n padding-top: 2px;\n}\n#lanyard_root * .ketch-pt-1 {\n padding-top: 4px;\n}\n#lanyard_root * .ketch-pt-2 {\n padding-top: 8px;\n}\n#lanyard_root * .ketch-pt-3 {\n padding-top: 12px;\n}\n#lanyard_root * .ketch-pt-4 {\n padding-top: 16px;\n}\n#lanyard_root * .ketch-pt-5 {\n padding-top: 20px;\n}\n#lanyard_root * .ketch-pt-8 {\n padding-top: 32px;\n}\n#lanyard_root * .ketch-pt-\\[--safe-area-inset-top\\] {\n padding-top: var(--safe-area-inset-top);\n}\n#lanyard_root * .ketch-pt-\\[max\\(16px\\,var\\(--safe-area-inset-top\\)\\)\\] {\n padding-top: max(16px,var(--safe-area-inset-top));\n}\n#lanyard_root * .ketch-text-left {\n text-align: left;\n}\n#lanyard_root * .ketch-text-center {\n text-align: center;\n}\n#lanyard_root * .\\!ketch-text-ketch-h2 {\n font-size: 20px !important;\n line-height: 30px !important;\n}\n#lanyard_root * .\\!ketch-text-ketch-l {\n font-size: 14px !important;\n line-height: 21px !important;\n}\n#lanyard_root * .ketch-text-ketch-h0 {\n font-size: 32px;\n line-height: 48px;\n}\n#lanyard_root * .ketch-text-ketch-h1 {\n font-size: 28px;\n line-height: 39px;\n}\n#lanyard_root * .ketch-text-ketch-h1-small {\n font-size: 26px;\n line-height: 36.4px;\n}\n#lanyard_root * .ketch-text-ketch-h2 {\n font-size: 20px;\n line-height: 30px;\n}\n#lanyard_root * .ketch-text-ketch-h3 {\n font-size: 18px;\n line-height: 22.5px;\n}\n#lanyard_root * .ketch-text-ketch-h4 {\n font-size: 16px;\n line-height: 24px;\n}\n#lanyard_root * .ketch-text-ketch-l {\n font-size: 14px;\n line-height: 21px;\n}\n#lanyard_root * .ketch-text-ketch-lm {\n font-size: 14px;\n line-height: 21px;\n}\n#lanyard_root * .ketch-text-ketch-m {\n font-size: 13px;\n line-height: 16px;\n}\n#lanyard_root * .ketch-text-ketch-s {\n font-size: 12px;\n line-height: 15px;\n}\n#lanyard_root * .ketch-text-ketch-xs {\n font-size: 10px;\n line-height: 14.5px;\n font-weight: 500;\n}\n#lanyard_root * .\\!ketch-font-\\[--k-banner-container-font\\] {\n font-weight: var(--k-banner-container-font) !important;\n}\n#lanyard_root * .\\!ketch-font-\\[--k-modal-container-font\\] {\n font-weight: var(--k-modal-container-font) !important;\n}\n#lanyard_root * .ketch-font-bold {\n font-weight: 700;\n}\n#lanyard_root * .ketch-font-medium {\n font-weight: 500;\n}\n#lanyard_root * .ketch-font-normal {\n font-weight: 400;\n}\n#lanyard_root * .ketch-font-semibold {\n font-weight: 600;\n}\n#lanyard_root * .ketch-font-weight-inherit {\n font-weight: inherit;\n}\n#lanyard_root * .ketch-uppercase {\n text-transform: uppercase;\n}\n#lanyard_root * .ketch-italic {\n font-style: italic;\n}\n#lanyard_root * .ketch-leading-3 {\n line-height: .75rem;\n}\n#lanyard_root * .ketch-leading-4 {\n line-height: 1rem;\n}\n#lanyard_root * .ketch-tracking-\\[-0\\.12px\\] {\n letter-spacing: -0.12px;\n}\n#lanyard_root * .ketch-tracking-\\[-0\\.13px\\] {\n letter-spacing: -0.13px;\n}\n#lanyard_root * .ketch-tracking-\\[-0\\.14px\\] {\n letter-spacing: -0.14px;\n}\n#lanyard_root * .ketch-tracking-\\[-0\\.16px\\] {\n letter-spacing: -0.16px;\n}\n#lanyard_root * .ketch-tracking-\\[-0\\.18px\\] {\n letter-spacing: -0.18px;\n}\n#lanyard_root * .ketch-tracking-\\[-0\\.1px\\] {\n letter-spacing: -0.1px;\n}\n#lanyard_root * .ketch-tracking-\\[-0\\.26px\\] {\n letter-spacing: -0.26px;\n}\n#lanyard_root * .ketch-tracking-\\[-0\\.28px\\] {\n letter-spacing: -0.28px;\n}\n#lanyard_root * .ketch-tracking-\\[-0\\.2px\\] {\n letter-spacing: -0.2px;\n}\n#lanyard_root * .ketch-tracking-\\[-0\\.64px\\] {\n letter-spacing: -0.64px;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-banner-buttons-primary-text-color\\] {\n color: var(--k-banner-buttons-primary-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-banner-buttons-secondary-text-color\\] {\n color: var(--k-banner-buttons-secondary-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-banner-buttons-tertiary-text-color\\] {\n color: var(--k-banner-buttons-tertiary-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-banner-description-link-color\\] {\n color: var(--k-banner-description-link-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-banner-description-text-color\\] {\n color: var(--k-banner-description-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-banner-gpcBanner-description-text-color\\] {\n color: var(--k-banner-gpcBanner-description-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-banner-gpcBanner-title-text-color\\] {\n color: var(--k-banner-gpcBanner-title-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-banner-header-returnButton-text-color\\] {\n color: var(--k-banner-header-returnButton-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-banner-header-title-color\\] {\n color: var(--k-banner-header-title-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-consentGate-actionBlock-button-text-color\\] {\n color: var(--k-consentGate-actionBlock-button-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-consentGate-actionBlock-footer-link-text-color\\] {\n color: var(--k-consentGate-actionBlock-footer-link-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-consentGate-actionBlock-footer-teaser-text-color\\] {\n color: var(--k-consentGate-actionBlock-footer-teaser-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-consentGate-actionBlock-header-description-color\\] {\n color: var(--k-consentGate-actionBlock-header-description-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-consentGate-actionBlock-header-description-link-color\\] {\n color: var(--k-consentGate-actionBlock-header-description-link-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-consentGate-actionBlock-header-title-color\\] {\n color: var(--k-consentGate-actionBlock-header-title-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-consentGate-consentBlock-button-text-color\\] {\n color: var(--k-consentGate-consentBlock-button-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-consentGate-consentBlock-footer-links-color\\] {\n color: var(--k-consentGate-consentBlock-footer-links-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-consentGate-consentBlock-header-description-color\\] {\n color: var(--k-consentGate-consentBlock-header-description-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-consentGate-consentBlock-header-description-link-color\\] {\n color: var(--k-consentGate-consentBlock-header-description-link-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-consentGate-consentBlock-header-title-color\\] {\n color: var(--k-consentGate-consentBlock-header-title-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-consentGate-consentBlock-purposes-list-bulkActionButtons-acceptAllButton-text-color\\] {\n color: var(--k-consentGate-consentBlock-purposes-list-bulkActionButtons-acceptAllButton-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-consentGate-consentBlock-purposes-list-bulkActionButtons-rejectAllButton-text-color\\] {\n color: var(--k-consentGate-consentBlock-purposes-list-bulkActionButtons-rejectAllButton-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-consentGate-consentBlock-purposes-list-header-title-color\\] {\n color: var(--k-consentGate-consentBlock-purposes-list-header-title-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-consentGate-consentBlock-purposes-list-items-arrowIcon-color\\] {\n color: var(--k-consentGate-consentBlock-purposes-list-items-arrowIcon-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-consentGate-consentBlock-purposes-list-items-purposeContent-color\\] {\n color: var(--k-consentGate-consentBlock-purposes-list-items-purposeContent-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-consentGate-consentBlock-purposes-list-items-purposeLinks-color\\] {\n color: var(--k-consentGate-consentBlock-purposes-list-items-purposeLinks-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-consentGate-consentBlock-purposes-list-switchButtons-off-text-color\\] {\n color: var(--k-consentGate-consentBlock-purposes-list-switchButtons-off-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-consentGate-consentBlock-purposes-list-switchButtons-on-text-color\\] {\n color: var(--k-consentGate-consentBlock-purposes-list-switchButtons-on-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-consentGate-header-closeButton-text-color\\] {\n color: var(--k-consentGate-header-closeButton-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-consentGate-header-title-color\\] {\n color: var(--k-consentGate-header-title-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-modal-description-link-color\\] {\n color: var(--k-modal-description-link-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-modal-description-text-color\\] {\n color: var(--k-modal-description-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-modal-description-title-color\\] {\n color: var(--k-modal-description-title-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-modal-footer-actionButton-text-color\\] {\n color: var(--k-modal-footer-actionButton-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-modal-gpcBanner-description-text-color\\] {\n color: var(--k-modal-gpcBanner-description-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-modal-gpcBanner-title-text-color\\] {\n color: var(--k-modal-gpcBanner-title-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-modal-header-returnButton-text-color\\] {\n color: var(--k-modal-header-returnButton-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-modal-header-title-color\\] {\n color: var(--k-modal-header-title-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-modal-purposeList-purposeListItems-arrowIcon-color\\] {\n color: var(--k-modal-purposeList-purposeListItems-arrowIcon-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-modal-purposeList-purposeListItems-purposeContent-color\\] {\n color: var(--k-modal-purposeList-purposeListItems-purposeContent-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-modal-purposeList-purposeListItems-purposeLinks-color\\] {\n color: var(--k-modal-purposeList-purposeListItems-purposeLinks-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-modal-purposeList-switchButtons-off-text-color\\] {\n color: var(--k-modal-purposeList-switchButtons-off-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-modal-purposeList-switchButtons-on-text-color\\] {\n color: var(--k-modal-purposeList-switchButtons-on-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-modal-purposeListHeader-acceptAllButton-text-color\\] {\n color: var(--k-modal-purposeListHeader-acceptAllButton-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-modal-purposeListHeader-rejectAllButton-text-color\\] {\n color: var(--k-modal-purposeListHeader-rejectAllButton-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-modal-purposeListHeader-title-color\\] {\n color: var(--k-modal-purposeListHeader-title-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-exitButton-text-color\\] {\n color: var(--k-preference-exitButton-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-header-title-color\\] {\n color: var(--k-preference-header-title-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-navigation-layout-item-selectedText-color\\] {\n color: var(--k-preference-navigation-layout-item-selectedText-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-navigation-layout-item-unselectedText-color\\] {\n color: var(--k-preference-navigation-layout-item-unselectedText-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-purposes-footer-actionButton-text-color\\] {\n color: var(--k-preference-tabs-purposes-footer-actionButton-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-purposes-gpcBanner-description-text-color\\] {\n color: var(--k-preference-tabs-purposes-gpcBanner-description-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-purposes-gpcBanner-title-text-color\\] {\n color: var(--k-preference-tabs-purposes-gpcBanner-title-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-purposes-header-description-color\\] {\n color: var(--k-preference-tabs-purposes-header-description-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-purposes-header-link-color\\] {\n color: var(--k-preference-tabs-purposes-header-link-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-purposes-header-title-color\\] {\n color: var(--k-preference-tabs-purposes-header-title-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-purposes-purposeList-purposeListItems-arrowIcon-color\\] {\n color: var(--k-preference-tabs-purposes-purposeList-purposeListItems-arrowIcon-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-purposes-purposeList-purposeListItems-purposeContent-color\\] {\n color: var(--k-preference-tabs-purposes-purposeList-purposeListItems-purposeContent-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-purposes-purposeList-purposeListItems-purposeLinks-color\\] {\n color: var(--k-preference-tabs-purposes-purposeList-purposeListItems-purposeLinks-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-purposes-purposeList-switchButtons-off-text-color\\] {\n color: var(--k-preference-tabs-purposes-purposeList-switchButtons-off-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-purposes-purposeList-switchButtons-on-text-color\\] {\n color: var(--k-preference-tabs-purposes-purposeList-switchButtons-on-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-purposes-purposeListHeader-acceptAllButton-text-color\\] {\n color: var(--k-preference-tabs-purposes-purposeListHeader-acceptAllButton-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-purposes-purposeListHeader-rejectAllButton-text-color\\] {\n color: var(--k-preference-tabs-purposes-purposeListHeader-rejectAllButton-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-purposes-purposeListHeader-title-color\\] {\n color: var(--k-preference-tabs-purposes-purposeListHeader-title-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-requests-form-error-text-color\\] {\n color: var(--k-preference-tabs-requests-form-error-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-requests-home-dsrPortalLink-description-color\\] {\n color: var(--k-preference-tabs-requests-home-dsrPortalLink-description-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-requests-home-dsrPortalLink-title-color\\] {\n color: var(--k-preference-tabs-requests-home-dsrPortalLink-title-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-requests-home-header-description-color\\] {\n color: var(--k-preference-tabs-requests-home-header-description-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-requests-home-header-link-color\\] {\n color: var(--k-preference-tabs-requests-home-header-link-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-requests-home-header-title-color\\] {\n color: var(--k-preference-tabs-requests-home-header-title-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-requests-home-rightsList-item-title-color\\] {\n color: var(--k-preference-tabs-requests-home-rightsList-item-title-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-requests-home-rightsList-title-color\\] {\n color: var(--k-preference-tabs-requests-home-rightsList-title-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-requests-rightForm-actionButton-text-color\\] {\n color: var(--k-preference-tabs-requests-rightForm-actionButton-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-requests-rightForm-form-checkboxes-error-label-color\\] {\n color: var(--k-preference-tabs-requests-rightForm-form-checkboxes-error-label-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-requests-rightForm-form-checkboxes-selected-label-color\\] {\n color: var(--k-preference-tabs-requests-rightForm-form-checkboxes-selected-label-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-requests-rightForm-form-checkboxes-unselected-label-color\\] {\n color: var(--k-preference-tabs-requests-rightForm-form-checkboxes-unselected-label-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-requests-rightForm-form-dividers-subtitle-color\\] {\n color: var(--k-preference-tabs-requests-rightForm-form-dividers-subtitle-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-requests-rightForm-form-dividers-title-color\\] {\n color: var(--k-preference-tabs-requests-rightForm-form-dividers-title-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-requests-rightForm-form-fields-fieldLabel-color\\] {\n color: var(--k-preference-tabs-requests-rightForm-form-fields-fieldLabel-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-requests-rightForm-form-fields-hintText-color\\] {\n color: var(--k-preference-tabs-requests-rightForm-form-fields-hintText-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-requests-rightForm-form-fields-inputText-color\\] {\n color: var(--k-preference-tabs-requests-rightForm-form-fields-inputText-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-requests-rightForm-header-title-color\\] {\n color: var(--k-preference-tabs-requests-rightForm-header-title-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-requests-submitted-footer-actionButton-text-color\\] {\n color: var(--k-preference-tabs-requests-submitted-footer-actionButton-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-requests-submitted-header-title-color\\] {\n color: var(--k-preference-tabs-requests-submitted-header-title-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-requests-submitted-text-description-color\\] {\n color: var(--k-preference-tabs-requests-submitted-text-description-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-requests-submitted-text-title-color\\] {\n color: var(--k-preference-tabs-requests-submitted-text-title-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-subscriptions-footer-actionButton-text-color\\] {\n color: var(--k-preference-tabs-subscriptions-footer-actionButton-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-subscriptions-header-description-color\\] {\n color: var(--k-preference-tabs-subscriptions-header-description-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-subscriptions-header-link-color\\] {\n color: var(--k-preference-tabs-subscriptions-header-link-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-subscriptions-header-title-color\\] {\n color: var(--k-preference-tabs-subscriptions-header-title-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-subscriptions-list-checkbox-selected-label-color\\] {\n color: var(--k-preference-tabs-subscriptions-list-checkbox-selected-label-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-subscriptions-list-checkbox-text-color\\] {\n color: var(--k-preference-tabs-subscriptions-list-checkbox-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-subscriptions-list-checkbox-unselected-label-color\\] {\n color: var(--k-preference-tabs-subscriptions-list-checkbox-unselected-label-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-subscriptions-list-layout-link-color\\] {\n color: var(--k-preference-tabs-subscriptions-list-layout-link-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-subscriptions-list-layout-text-color\\] {\n color: var(--k-preference-tabs-subscriptions-list-layout-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-subscriptions-list-switchButton-off-text-color\\] {\n color: var(--k-preference-tabs-subscriptions-list-switchButton-off-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-subscriptions-list-switchButton-on-text-color\\] {\n color: var(--k-preference-tabs-subscriptions-list-switchButton-on-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-subscriptions-unsubscribeAll-switchButton-off-text-color\\] {\n color: var(--k-preference-tabs-subscriptions-unsubscribeAll-switchButton-off-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-subscriptions-unsubscribeAll-switchButton-on-text-color\\] {\n color: var(--k-preference-tabs-subscriptions-unsubscribeAll-switchButton-on-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-subscriptions-unsubscribeAll-text-color\\] {\n color: var(--k-preference-tabs-subscriptions-unsubscribeAll-text-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-welcome-about-link-color\\] {\n color: var(--k-preference-tabs-welcome-about-link-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-welcome-about-title-color\\] {\n color: var(--k-preference-tabs-welcome-about-title-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-welcome-quickLinks-link-color\\] {\n color: var(--k-preference-tabs-welcome-quickLinks-link-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-welcome-quickLinks-title-color\\] {\n color: var(--k-preference-tabs-welcome-quickLinks-title-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-welcome-welcomeMsg-link-color\\] {\n color: var(--k-preference-tabs-welcome-welcomeMsg-link-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-welcome-welcomeMsg-subtitle-color\\] {\n color: var(--k-preference-tabs-welcome-welcomeMsg-subtitle-color) !important;\n}\n#lanyard_root * .\\!ketch-text-\\[--k-preference-tabs-welcome-welcomeMsg-title-color\\] {\n color: var(--k-preference-tabs-welcome-welcomeMsg-title-color) !important;\n}\n#lanyard_root * .ketch-text-\\[--k-preference-tabs-welcome-about-text-color\\] {\n color: var(--k-preference-tabs-welcome-about-text-color);\n}\n#lanyard_root * .ketch-text-black {\n --tw-text-opacity: 1;\n color: rgb(0 0 0 / var(--tw-text-opacity));\n}\n#lanyard_root * .ketch-text-gray-700 {\n --tw-text-opacity: 1;\n color: rgb(55 65 81 / var(--tw-text-opacity));\n}\n#lanyard_root * .ketch-text-gray-900 {\n --tw-text-opacity: 1;\n color: rgb(17 24 39 / var(--tw-text-opacity));\n}\n#lanyard_root * .ketch-text-inherit {\n color: inherit;\n}\n#lanyard_root * .ketch-text-ketch-black-black-100 {\n color: rgba(7, 26, 36, 1);\n}\n#lanyard_root * .ketch-text-ketch-black-black-48 {\n color: rgba(7, 26, 36, 0.48);\n}\n#lanyard_root * .ketch-text-ketch-black-black-56 {\n color: rgba(7, 26, 36, 0.56);\n}\n#lanyard_root * .ketch-text-ketch-error {\n color: rgba(252, 60, 96, 1);\n}\n#lanyard_root * .ketch-text-white {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n}\n#lanyard_root * .\\!ketch-underline {\n text-decoration-line: underline !important;\n}\n#lanyard_root * .ketch-underline {\n text-decoration-line: underline;\n}\n#lanyard_root * .ketch-no-underline {\n text-decoration-line: none;\n}\n#lanyard_root * .ketch-placeholder-ketch-black-black-48::-moz-placeholder {\n color: rgba(7, 26, 36, 0.48);\n}\n#lanyard_root * .ketch-placeholder-ketch-black-black-48::placeholder {\n color: rgba(7, 26, 36, 0.48);\n}\n#lanyard_root * .ketch-opacity-0 {\n opacity: 0;\n}\n#lanyard_root * .ketch-opacity-100 {\n opacity: 1;\n}\n#lanyard_root * .ketch-opacity-50 {\n opacity: 0.5;\n}\n#lanyard_root * .ketch-opacity-\\[\\.24\\] {\n opacity: .24;\n}\n#lanyard_root * .ketch-opacity-\\[0\\.48\\] {\n opacity: 0.48;\n}\n#lanyard_root * .ketch-opacity-\\[0\\.65\\] {\n opacity: 0.65;\n}\n#lanyard_root * .ketch-shadow-\\[0px_3px_10px_1px_rgba\\(7\\,26\\,36\\,0\\.24\\)\\] {\n --tw-shadow: 0px 3px 10px 1px rgba(7,26,36,0.24);\n --tw-shadow-colored: 0px 3px 10px 1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n#lanyard_root * .ketch-shadow-md {\n --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n#lanyard_root * .ketch-shadow-none {\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n#lanyard_root * .ketch-outline-none {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n#lanyard_root * .\\!ketch-outline-2 {\n outline-width: 2px !important;\n}\n#lanyard_root * .\\!ketch-outline-offset-2 {\n outline-offset: 2px !important;\n}\n#lanyard_root * .\\!ketch-outline-ketch-black-black-100 {\n outline-color: rgba(7, 26, 36, 1) !important;\n}\n#lanyard_root * .\\!ketch-outline-white {\n outline-color: #fff !important;\n}\n#lanyard_root * .ketch-outline-default-outline {\n outline-color: rgba(7, 26, 36, 0.48);\n}\n#lanyard_root * .ketch-transition {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n#lanyard_root * .ketch-transition-opacity {\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n#lanyard_root * .ketch-transition-transform {\n transition-property: transform;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n#lanyard_root * .ketch-duration-1000 {\n transition-duration: 1000ms;\n}\n#lanyard_root * .ketch-duration-300 {\n transition-duration: 300ms;\n}\n#lanyard_root * .ketch-ease-in-out {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n@supports (padding: max(0px)) {\n .banner-mobile-bottom {\n bottom: 0px !important;\n }\n\n /* CSS Collision where text is uppercase */\n #lanyard_root * {\n text-transform: none;\n }\n}\n#lanyard_root * .placeholder\\:ketch-text-ketch-l::-moz-placeholder {\n font-size: 14px;\n line-height: 21px;\n}\n#lanyard_root * .placeholder\\:ketch-text-ketch-l::placeholder {\n font-size: 14px;\n line-height: 21px;\n}\n#lanyard_root * .placeholder\\:\\!ketch-text-\\[--k-preference-tabs-requests-rightForm-form-fields-hintText-color\\]::-moz-placeholder {\n color: var(--k-preference-tabs-requests-rightForm-form-fields-hintText-color) !important;\n}\n#lanyard_root * .placeholder\\:\\!ketch-text-\\[--k-preference-tabs-requests-rightForm-form-fields-hintText-color\\]::placeholder {\n color: var(--k-preference-tabs-requests-rightForm-form-fields-hintText-color) !important;\n}\n#lanyard_root * .before\\:ketch-absolute::before {\n content: var(--tw-content);\n position: absolute;\n}\n#lanyard_root * .before\\:ketch-left-1::before {\n content: var(--tw-content);\n left: 4px;\n}\n#lanyard_root * .before\\:ketch-top-1::before {\n content: var(--tw-content);\n top: 4px;\n}\n#lanyard_root * .before\\:ketch-h-2::before {\n content: var(--tw-content);\n height: 8px;\n}\n#lanyard_root * .before\\:ketch-w-2::before {\n content: var(--tw-content);\n width: 8px;\n}\n#lanyard_root * .before\\:ketch-rounded-full::before {\n content: var(--tw-content);\n border-radius: 9999px;\n}\n#lanyard_root * .before\\:ketch-bg-white::before {\n content: var(--tw-content);\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity));\n}\n#lanyard_root * .before\\:ketch-opacity-0::before {\n content: var(--tw-content);\n opacity: 0;\n}\n#lanyard_root * .before\\:ketch-content-\\[\\'\\'\\]::before {\n --tw-content: '';\n content: var(--tw-content);\n}\n#lanyard_root * .after\\:ketch-absolute::after {\n content: var(--tw-content);\n position: absolute;\n}\n#lanyard_root * .after\\:-ketch-left-0\\.5::after {\n content: var(--tw-content);\n left: -2px;\n}\n#lanyard_root * .after\\:-ketch-top-0\\.5::after {\n content: var(--tw-content);\n top: -2px;\n}\n#lanyard_root * .after\\:ketch-left-0::after {\n content: var(--tw-content);\n left: 0;\n}\n#lanyard_root * .after\\:ketch-top-0::after {\n content: var(--tw-content);\n top: 0;\n}\n#lanyard_root * .after\\:ketch-h-5::after {\n content: var(--tw-content);\n height: 20px;\n}\n#lanyard_root * .after\\:ketch-w-5::after {\n content: var(--tw-content);\n width: 20px;\n}\n#lanyard_root * .after\\:ketch-cursor-pointer::after {\n content: var(--tw-content);\n cursor: pointer;\n}\n#lanyard_root * .after\\:ketch-rounded-\\[3px\\]::after {\n content: var(--tw-content);\n border-radius: 3px;\n}\n#lanyard_root * .after\\:ketch-rounded-full::after {\n content: var(--tw-content);\n border-radius: 9999px;\n}\n#lanyard_root * .after\\:ketch-content-\\[\\'\\'\\]::after {\n --tw-content: '';\n content: var(--tw-content);\n}\n#lanyard_root * .odd\\:ketch-bg-white:nth-child(odd) {\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity));\n}\n#lanyard_root * .even\\:ketch-bg-gray-100:nth-child(even) {\n --tw-bg-opacity: 1;\n background-color: rgb(243 244 246 / var(--tw-bg-opacity));\n}\n#lanyard_root * .autofill\\:\\!ketch-shadow-\\[inset_0_0_0px_1000px_var\\(--k-preference-tabs-requests-rightForm-form-fields-inactive-background-color\\)\\]:-webkit-autofill {\n --tw-shadow: inset 0 0 0px 1000px var(--k-preference-tabs-requests-rightForm-form-fields-inactive-background-color) !important;\n --tw-shadow-colored: inset 0 0 0px 1000px var(--tw-shadow-color) !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n}\n#lanyard_root * .autofill\\:\\!ketch-shadow-\\[inset_0_0_0px_1000px_var\\(--k-preference-tabs-requests-rightForm-form-fields-inactive-background-color\\)\\]:autofill {\n --tw-shadow: inset 0 0 0px 1000px var(--k-preference-tabs-requests-rightForm-form-fields-inactive-background-color) !important;\n --tw-shadow-colored: inset 0 0 0px 1000px var(--tw-shadow-color) !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n}\n#lanyard_root * .hover\\:ketch-cursor-pointer:hover {\n cursor: pointer;\n}\n#lanyard_root * .hover\\:ketch-border-ketch-black-black-56:hover {\n border-color: rgba(7, 26, 36, 0.56);\n}\n#lanyard_root * .hover\\:ketch-bg-gradient-to-r:hover {\n background-image: linear-gradient(to right, var(--tw-gradient-stops));\n}\n#lanyard_root * .hover\\:ketch-from-states-hover-darken:hover {\n --tw-gradient-from: rgba(7, 26, 36, 0.10) var(--tw-gradient-from-position);\n --tw-gradient-to: rgba(7, 26, 36, 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n#lanyard_root * .hover\\:ketch-to-states-hover-darken:hover {\n --tw-gradient-to: rgba(7, 26, 36, 0.10) var(--tw-gradient-to-position);\n}\n#lanyard_root * .hover\\:ketch-text-inherit:hover {\n color: inherit;\n}\n#lanyard_root * .focus\\:ketch-border-none:focus {\n border-style: none;\n}\n#lanyard_root * .focus\\:ketch-outline-none:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n#lanyard_root * .focus-visible\\:ketch-mb-1:focus-visible {\n margin-bottom: 4px;\n}\n#lanyard_root * .focus-visible\\:\\!ketch-border-\\[--k-preference-tabs-requests-rightForm-form-fields-active-outline-color\\]:focus-visible {\n border-color: var(--k-preference-tabs-requests-rightForm-form-fields-active-outline-color) !important;\n}\n#lanyard_root * .focus-visible\\:ketch-border-blue-600:focus-visible {\n --tw-border-opacity: 1;\n border-color: rgb(37 99 235 / var(--tw-border-opacity));\n}\n#lanyard_root * .focus-visible\\:\\!ketch-bg-\\[--k-preference-tabs-requests-rightForm-form-fields-active-background-color\\]:focus-visible {\n background-color: var(--k-preference-tabs-requests-rightForm-form-fields-active-background-color) !important;\n}\n#lanyard_root * .focus-visible\\:ketch-bg-gradient-to-r:focus-visible {\n background-image: linear-gradient(to right, var(--tw-gradient-stops));\n}\n#lanyard_root * .focus-visible\\:ketch-from-states-focus-darken:focus-visible {\n --tw-gradient-from: rgba(7, 26, 36, 0.08) var(--tw-gradient-from-position);\n --tw-gradient-to: rgba(7, 26, 36, 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n#lanyard_root * .focus-visible\\:ketch-to-states-focus-darken:focus-visible {\n --tw-gradient-to: rgba(7, 26, 36, 0.08) var(--tw-gradient-to-position);\n}\n#lanyard_root * .focus-visible\\:ketch-outline-none:focus-visible {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n#lanyard_root * .focus-visible\\:\\!ketch-outline:focus-visible {\n outline-style: solid !important;\n}\n#lanyard_root * .focus-visible\\:ketch-outline:focus-visible {\n outline-style: solid;\n}\n#lanyard_root * .focus-visible\\:ketch-outline-2:focus-visible {\n outline-width: 2px;\n}\n#lanyard_root * .focus-visible\\:\\!ketch-outline-offset-2:focus-visible {\n outline-offset: 2px !important;\n}\n#lanyard_root * .focus-visible\\:ketch-outline-offset-0:focus-visible {\n outline-offset: 0px;\n}\n#lanyard_root * .focus-visible\\:ketch-outline-offset-2:focus-visible {\n outline-offset: 2px;\n}\n#lanyard_root * .focus-visible\\:\\!ketch-outline-\\[--k-banner-header-returnButton-background-color\\]:focus-visible {\n outline-color: var(--k-banner-header-returnButton-background-color) !important;\n}\n#lanyard_root * .focus-visible\\:\\!ketch-outline-\\[--k-preference-tabs-requests-submitted-footer-actionButton-outline-color\\]:focus-visible {\n outline-color: var(--k-preference-tabs-requests-submitted-footer-actionButton-outline-color) !important;\n}\n#lanyard_root * .focus-visible\\:ketch-outline-default-outline:focus-visible {\n outline-color: rgba(7, 26, 36, 0.48);\n}\n#lanyard_root * .focus-visible\\:ketch-outline-inherit:focus-visible {\n outline-color: inherit;\n}\n#lanyard_root * .focus-visible\\:ketch-outline-ketch-black-black-100:focus-visible {\n outline-color: rgba(7, 26, 36, 1);\n}\n#lanyard_root * .focus-visible\\:ketch-outline-white:focus-visible {\n outline-color: #fff;\n}\n#lanyard_root * .focus-visible\\:-webkit-autofill\\:\\!ketch-shadow-\\[inset_0_0_0px_1000px_var\\(--k-preference-tabs-requests-rightForm-form-fields-active-background-color\\)\\]:-webkit-autofill:focus-visible {\n --tw-shadow: inset 0 0 0px 1000px var(--k-preference-tabs-requests-rightForm-form-fields-active-background-color) !important;\n --tw-shadow-colored: inset 0 0 0px 1000px var(--tw-shadow-color) !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n}\n#lanyard_root * .focus-visible\\:autofill\\:\\!ketch-shadow-\\[inset_0_0_0px_1000px_var\\(--k-preference-tabs-requests-rightForm-form-fields-active-background-color\\)\\]:autofill:focus-visible {\n --tw-shadow: inset 0 0 0px 1000px var(--k-preference-tabs-requests-rightForm-form-fields-active-background-color) !important;\n --tw-shadow-colored: inset 0 0 0px 1000px var(--tw-shadow-color) !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n}\n#lanyard_root * .focus-visible\\:-webkit-autofill\\:\\!ketch-shadow-\\[inset_0_0_0px_1000px_var\\(--k-preference-tabs-requests-rightForm-form-fields-error-background-color\\)\\]:-webkit-autofill:focus-visible {\n --tw-shadow: inset 0 0 0px 1000px var(--k-preference-tabs-requests-rightForm-form-fields-error-background-color) !important;\n --tw-shadow-colored: inset 0 0 0px 1000px var(--tw-shadow-color) !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n}\n#lanyard_root * .focus-visible\\:autofill\\:\\!ketch-shadow-\\[inset_0_0_0px_1000px_var\\(--k-preference-tabs-requests-rightForm-form-fields-error-background-color\\)\\]:autofill:focus-visible {\n --tw-shadow: inset 0 0 0px 1000px var(--k-preference-tabs-requests-rightForm-form-fields-error-background-color) !important;\n --tw-shadow-colored: inset 0 0 0px 1000px var(--tw-shadow-color) !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n}\n#lanyard_root * .active\\:ketch-bg-gradient-to-r:active {\n background-image: linear-gradient(to right, var(--tw-gradient-stops));\n}\n#lanyard_root * .active\\:ketch-from-states-pressed-darken:active {\n --tw-gradient-from: rgba(7, 26, 36, 0.24) var(--tw-gradient-from-position);\n --tw-gradient-to: rgba(7, 26, 36, 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n#lanyard_root * .active\\:ketch-to-states-pressed-darken:active {\n --tw-gradient-to: rgba(7, 26, 36, 0.24) var(--tw-gradient-to-position);\n}\n#lanyard_root * .disabled\\:ketch-pointer-events-none:disabled {\n pointer-events: none;\n}\n#lanyard_root * .disabled\\:ketch-cursor-not-allowed:disabled {\n cursor: not-allowed;\n}\n#lanyard_root * .disabled\\:ketch-select-none:disabled {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n#lanyard_root * .disabled\\:ketch-opacity-\\[\\.24\\]:disabled {\n opacity: .24;\n}\n#lanyard_root * :is(.ketch-peer:checked ~ .peer-checked\\:ketch-flex) {\n display: flex;\n}\n#lanyard_root * :is(.ketch-peer:checked ~ .peer-checked\\:ketch-inline-flex) {\n display: inline-flex;\n}\n#lanyard_root * :is(.ketch-peer:checked ~ .peer-checked\\:ketch-hidden) {\n display: none;\n}\n#lanyard_root * :is(.ketch-peer:checked ~ .peer-checked\\:ketch-rounded-\\[3px\\]) {\n border-radius: 3px;\n}\n#lanyard_root * :is(.ketch-peer:checked ~ .peer-checked\\:ketch-rounded-full) {\n border-radius: 9999px;\n}\n#lanyard_root * :is(.ketch-peer:checked ~ .peer-checked\\:\\!ketch-border-\\[--k-consentGate-consentBlock-purposes-list-switchButtons-on-background-color\\]) {\n border-color: var(--k-consentGate-consentBlock-purposes-list-switchButtons-on-background-color) !important;\n}\n#lanyard_root * :is(.ketch-peer:checked ~ .peer-checked\\:\\!ketch-border-\\[--k-modal-purposeList-switchButtons-on-background-color\\]) {\n border-color: var(--k-modal-purposeList-switchButtons-on-background-color) !important;\n}\n#lanyard_root * :is(.ketch-peer:checked ~ .peer-checked\\:\\!ketch-border-\\[--k-preference-tabs-purposes-purposeList-switchButtons-on-background-color\\]) {\n border-color: var(--k-preference-tabs-purposes-purposeList-switchButtons-on-background-color) !important;\n}\n#lanyard_root * :is(.ketch-peer:checked ~ .peer-checked\\:\\!ketch-border-\\[--k-preference-tabs-requests-rightForm-form-checkboxes-selected-background-color\\]) {\n border-color: var(--k-preference-tabs-requests-rightForm-form-checkboxes-selected-background-color) !important;\n}\n#lanyard_root * :is(.ketch-peer:checked ~ .peer-checked\\:\\!ketch-border-\\[--k-preference-tabs-subscriptions-list-checkbox-selected-background-color\\]) {\n border-color: var(--k-preference-tabs-subscriptions-list-checkbox-selected-background-color) !important;\n}\n#lanyard_root * :is(.ketch-peer:checked ~ .peer-checked\\:ketch-border-black) {\n --tw-border-opacity: 1;\n border-color: rgb(0 0 0 / var(--tw-border-opacity));\n}\n#lanyard_root * :is(.ketch-peer:checked ~ .peer-checked\\:\\!ketch-bg-\\[--k-consentGate-consentBlock-purposes-list-switchButtons-on-background-color\\]) {\n background-color: var(--k-consentGate-consentBlock-purposes-list-switchButtons-on-background-color) !important;\n}\n#lanyard_root * :is(.ketch-peer:checked ~ .peer-checked\\:\\!ketch-bg-\\[--k-modal-purposeList-switchButtons-on-background-color\\]) {\n background-color: var(--k-modal-purposeList-switchButtons-on-background-color) !important;\n}\n#lanyard_root * :is(.ketch-peer:checked ~ .peer-checked\\:\\!ketch-bg-\\[--k-preference-tabs-purposes-purposeList-switchButtons-on-background-color\\]) {\n background-color: var(--k-preference-tabs-purposes-purposeList-switchButtons-on-background-color) !important;\n}\n#lanyard_root * :is(.ketch-peer:checked ~ .peer-checked\\:\\!ketch-bg-\\[--k-preference-tabs-requests-rightForm-form-checkboxes-selected-background-color\\]) {\n background-color: var(--k-preference-tabs-requests-rightForm-form-checkboxes-selected-background-color) !important;\n}\n#lanyard_root * :is(.ketch-peer:checked ~ .peer-checked\\:\\!ketch-bg-\\[--k-preference-tabs-subscriptions-list-checkbox-selected-background-color\\]) {\n background-color: var(--k-preference-tabs-subscriptions-list-checkbox-selected-background-color) !important;\n}\n#lanyard_root * :is(.ketch-peer:checked ~ .peer-checked\\:\\!ketch-bg-\\[--k-preference-tabs-subscriptions-list-switchButton-on-background-color\\]) {\n background-color: var(--k-preference-tabs-subscriptions-list-switchButton-on-background-color) !important;\n}\n#lanyard_root * :is(.ketch-peer:checked ~ .peer-checked\\:\\!ketch-bg-\\[--k-preference-tabs-subscriptions-unsubscribeAll-switchButton-on-background-color\\]) {\n background-color: var(--k-preference-tabs-subscriptions-unsubscribeAll-switchButton-on-background-color) !important;\n}\n#lanyard_root * :is(.ketch-peer:checked ~ .peer-checked\\:ketch-bg-black) {\n --tw-bg-opacity: 1;\n background-color: rgb(0 0 0 / var(--tw-bg-opacity));\n}\n#lanyard_root * :is(.ketch-peer:checked ~ .peer-checked\\:ketch-font-semibold) {\n font-weight: 600;\n}\n#lanyard_root * :is(.ketch-peer:checked ~ .peer-checked\\:before\\:ketch-opacity-100)::before {\n content: var(--tw-content);\n opacity: 1;\n}\n#lanyard_root * :is(.ketch-peer:hover ~ .peer-hover\\:ketch-bg-gradient-to-r) {\n background-image: linear-gradient(to right, var(--tw-gradient-stops));\n}\n#lanyard_root * :is(.ketch-peer:hover ~ .peer-hover\\:ketch-from-states-hover-darken) {\n --tw-gradient-from: rgba(7, 26, 36, 0.10) var(--tw-gradient-from-position);\n --tw-gradient-to: rgba(7, 26, 36, 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n#lanyard_root * :is(.ketch-peer:hover ~ .peer-hover\\:ketch-to-states-hover-darken) {\n --tw-gradient-to: rgba(7, 26, 36, 0.10) var(--tw-gradient-to-position);\n}\n#lanyard_root * :is(.ketch-peer:hover ~ .peer-hover\\:after\\:ketch-bg-gradient-to-r)::after {\n content: var(--tw-content);\n background-image: linear-gradient(to right, var(--tw-gradient-stops));\n}\n#lanyard_root * :is(.ketch-peer:hover ~ .peer-hover\\:after\\:ketch-from-states-hover-darken)::after {\n content: var(--tw-content);\n --tw-gradient-from: rgba(7, 26, 36, 0.10) var(--tw-gradient-from-position);\n --tw-gradient-to: rgba(7, 26, 36, 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n#lanyard_root * :is(.ketch-peer:hover ~ .peer-hover\\:after\\:ketch-to-states-hover-darken)::after {\n content: var(--tw-content);\n --tw-gradient-to: rgba(7, 26, 36, 0.10) var(--tw-gradient-to-position);\n}\n#lanyard_root * :is(.ketch-peer:focus-visible ~ .peer-focus-visible\\:ketch-bg-gradient-to-r) {\n background-image: linear-gradient(to right, var(--tw-gradient-stops));\n}\n#lanyard_root * :is(.ketch-peer:focus-visible ~ .peer-focus-visible\\:ketch-from-states-focus-darken) {\n --tw-gradient-from: rgba(7, 26, 36, 0.08) var(--tw-gradient-from-position);\n --tw-gradient-to: rgba(7, 26, 36, 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n#lanyard_root * :is(.ketch-peer:focus-visible ~ .peer-focus-visible\\:ketch-to-states-focus-darken) {\n --tw-gradient-to: rgba(7, 26, 36, 0.08) var(--tw-gradient-to-position);\n}\n#lanyard_root * :is(.ketch-peer:focus-visible ~ .peer-focus-visible\\:ketch-outline) {\n outline-style: solid;\n}\n#lanyard_root * :is(.ketch-peer:focus-visible ~ .peer-focus-visible\\:ketch-outline-2) {\n outline-width: 2px;\n}\n#lanyard_root * :is(.ketch-peer:focus-visible ~ .peer-focus-visible\\:ketch-outline-offset-2) {\n outline-offset: 2px;\n}\n#lanyard_root * :is(.ketch-peer:focus-visible ~ .peer-focus-visible\\:ketch-outline-default-outline) {\n outline-color: rgba(7, 26, 36, 0.48);\n}\n#lanyard_root * :is(.ketch-peer:focus-visible:checked ~ .peer-focus-visible\\:peer-checked\\:ketch-outline-black) {\n outline-color: #000;\n}\n#lanyard_root * :is(.ketch-peer:focus-visible:checked ~ .peer-focus-visible\\:peer-checked\\:ketch-outline-default-outline) {\n outline-color: rgba(7, 26, 36, 0.48);\n}\n#lanyard_root * :is(.ketch-peer:checked:focus-visible ~ .peer-checked\\:peer-focus-visible\\:after\\:ketch-bg-gradient-to-r)::after {\n content: var(--tw-content);\n background-image: linear-gradient(to right, var(--tw-gradient-stops));\n}\n#lanyard_root * :is(.ketch-peer:checked:focus-visible ~ .peer-checked\\:peer-focus-visible\\:after\\:ketch-from-states-focus-darken)::after {\n content: var(--tw-content);\n --tw-gradient-from: rgba(7, 26, 36, 0.08) var(--tw-gradient-from-position);\n --tw-gradient-to: rgba(7, 26, 36, 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n#lanyard_root * :is(.ketch-peer:checked:focus-visible ~ .peer-checked\\:peer-focus-visible\\:after\\:ketch-to-states-focus-darken)::after {\n content: var(--tw-content);\n --tw-gradient-to: rgba(7, 26, 36, 0.08) var(--tw-gradient-to-position);\n}\n#lanyard_root * :is(.ketch-peer:active ~ .peer-active\\:ketch-bg-gradient-to-r) {\n background-image: linear-gradient(to right, var(--tw-gradient-stops));\n}\n#lanyard_root * :is(.ketch-peer:active ~ .peer-active\\:ketch-from-states-pressed-darken) {\n --tw-gradient-from: rgba(7, 26, 36, 0.24) var(--tw-gradient-from-position);\n --tw-gradient-to: rgba(7, 26, 36, 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n#lanyard_root * :is(.ketch-peer:active ~ .peer-active\\:ketch-to-states-pressed-darken) {\n --tw-gradient-to: rgba(7, 26, 36, 0.24) var(--tw-gradient-to-position);\n}\n#lanyard_root * :is(.ketch-peer:checked:active ~ .peer-checked\\:peer-active\\:after\\:ketch-bg-gradient-to-r)::after {\n content: var(--tw-content);\n background-image: linear-gradient(to right, var(--tw-gradient-stops));\n}\n#lanyard_root * :is(.ketch-peer:checked:active ~ .peer-checked\\:peer-active\\:after\\:ketch-from-states-pressed-darken)::after {\n content: var(--tw-content);\n --tw-gradient-from: rgba(7, 26, 36, 0.24) var(--tw-gradient-from-position);\n --tw-gradient-to: rgba(7, 26, 36, 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n#lanyard_root * :is(.ketch-peer:checked:active ~ .peer-checked\\:peer-active\\:after\\:ketch-to-states-pressed-darken)::after {\n content: var(--tw-content);\n --tw-gradient-to: rgba(7, 26, 36, 0.24) var(--tw-gradient-to-position);\n}\n#lanyard_root * :is(.ketch-peer:disabled ~ .peer-disabled\\:ketch-pointer-events-none) {\n pointer-events: none;\n}\n#lanyard_root * :is(.ketch-peer:disabled ~ .peer-disabled\\:ketch-cursor-not-allowed) {\n cursor: not-allowed;\n}\n#lanyard_root * :is(.ketch-peer:disabled ~ .peer-disabled\\:ketch-select-none) {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n#lanyard_root * :is(.ketch-peer:disabled ~ .peer-disabled\\:ketch-opacity-\\[\\.24\\]) {\n opacity: .24;\n}\n#lanyard_root * :is(.ketch-peer:disabled:hover ~ .peer-disabled\\:peer-hover\\:ketch-bg-none) {\n background-image: none;\n}\n#lanyard_root * :is(.ketch-peer:disabled:hover ~ .peer-disabled\\:peer-hover\\:after\\:ketch-bg-none)::after {\n content: var(--tw-content);\n background-image: none;\n}\n#lanyard_root * :is(.ketch-peer:disabled:focus-visible ~ .peer-disabled\\:peer-focus-visible\\:ketch-bg-none) {\n background-image: none;\n}\n#lanyard_root * :is(.ketch-peer:disabled:focus-visible ~ .peer-disabled\\:peer-focus-visible\\:after\\:ketch-bg-none)::after {\n content: var(--tw-content);\n background-image: none;\n}\n#lanyard_root * :is(.ketch-peer:disabled:active ~ .peer-disabled\\:peer-active\\:ketch-bg-none) {\n background-image: none;\n}\n#lanyard_root * :is(.ketch-peer:disabled:active ~ .peer-disabled\\:peer-active\\:after\\:ketch-bg-none)::after {\n content: var(--tw-content);\n background-image: none;\n}\n#lanyard_root * .aria-selected\\:\\!ketch-bg-\\[--k-preference-navigation-layout-item-selectedBackground-color\\][aria-selected=\"true\"] {\n background-color: var(--k-preference-navigation-layout-item-selectedBackground-color) !important;\n}\n#lanyard_root * .aria-selected\\:\\!ketch-text-\\[--k-preference-navigation-layout-item-selectedText-color\\][aria-selected=\"true\"] {\n color: var(--k-preference-navigation-layout-item-selectedText-color) !important;\n}\n#lanyard_root * .aria-selected\\:ketch-underline[aria-selected=\"true\"] {\n text-decoration-line: underline;\n}\n@media not all and (min-width: 480px) {\n #lanyard_root * .max-sm\\:ketch-overflow-y-scroll {\n overflow-y: scroll;\n }\n}\n@media (min-width: 420px) {\n #lanyard_root * .xs\\:ketch-bottom-1 {\n bottom: 4px;\n }\n #lanyard_root * .xs\\:ketch-right-1 {\n right: 4px;\n }\n #lanyard_root * .xs\\:ketch-right-auto {\n right: auto;\n }\n #lanyard_root * .xs\\:ketch-top-1 {\n top: 4px;\n }\n #lanyard_root * .xs\\:ketch-flex {\n display: flex;\n }\n #lanyard_root * .xs\\:ketch-hidden {\n display: none;\n }\n #lanyard_root * .xs\\:ketch-max-h-\\[calc\\(100dvh-8px\\)\\] {\n max-height: calc(100dvh - 8px);\n }\n #lanyard_root * .xs\\:ketch-min-h-\\[calc\\(100dvh-8px\\)\\] {\n min-height: calc(100dvh - 8px);\n }\n #lanyard_root * .xs\\:ketch-w-\\[420px\\] {\n width: 420px;\n }\n #lanyard_root * .xs\\:ketch-w-\\[calc\\(100\\%-8px\\)\\] {\n width: calc(100% - 8px);\n }\n #lanyard_root * .xs\\:ketch-w-auto {\n width: auto;\n }\n #lanyard_root * .xs\\:ketch-w-fit {\n width: -moz-fit-content;\n width: fit-content;\n }\n #lanyard_root * .xs\\:ketch-w-full {\n width: 100%;\n }\n #lanyard_root * .xs\\:ketch-max-w-\\[184px\\] {\n max-width: 184px;\n }\n #lanyard_root * .xs\\:ketch-translate-y-0 {\n --tw-translate-y: 0;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n }\n #lanyard_root * .xs\\:ketch-flex-row {\n flex-direction: row;\n }\n #lanyard_root * .xs\\:ketch-items-center {\n align-items: center;\n }\n #lanyard_root * .xs\\:ketch-gap-0 {\n gap: 0;\n }\n #lanyard_root * .xs\\:ketch-px-6 {\n padding-left: 24px;\n padding-right: 24px;\n }\n #lanyard_root * .xs\\:ketch-py-5 {\n padding-top: 20px;\n padding-bottom: 20px;\n }\n #lanyard_root * .xs\\:ketch-text-ketch-h1-small {\n font-size: 26px;\n line-height: 36.4px;\n }\n}\n@media (min-width: 480px) {\n #lanyard_root * .sm\\:ketch-left-2\\/4 {\n left: 50%;\n }\n #lanyard_root * .sm\\:ketch-flex {\n display: flex;\n }\n #lanyard_root * .sm\\:ketch-hidden {\n display: none;\n }\n #lanyard_root * .sm\\:ketch-max-h-\\[calc\\(100dvh-8px\\)\\] {\n max-height: calc(100dvh - 8px);\n }\n #lanyard_root * .sm\\:ketch-max-h-dvh {\n max-height: 100dvh;\n }\n #lanyard_root * .sm\\:ketch-w-\\[730px\\] {\n width: 730px;\n }\n #lanyard_root * .sm\\:ketch-w-auto {\n width: auto;\n }\n #lanyard_root * .sm\\:ketch-w-fit {\n width: -moz-fit-content;\n width: fit-content;\n }\n #lanyard_root * .sm\\:ketch-w-full {\n width: 100%;\n }\n #lanyard_root * .sm\\:\\!ketch-max-w-\\[calc\\(75\\%\\+var\\(--safe-area-inset-left\\)\\+var\\(--safe-area-inset-right\\)\\)\\] {\n max-width: calc(75% + var(--safe-area-inset-left) + var(--safe-area-inset-right)) !important;\n }\n #lanyard_root * .sm\\:ketch-max-w-\\[184px\\] {\n max-width: 184px;\n }\n #lanyard_root * .sm\\:ketch-max-w-\\[328px\\] {\n max-width: 328px;\n }\n #lanyard_root * .sm\\:ketch-max-w-\\[40\\%\\] {\n max-width: 40%;\n }\n #lanyard_root * .sm\\:ketch-max-w-\\[calc\\(100\\%-8px\\)\\] {\n max-width: calc(100% - 8px);\n }\n #lanyard_root * .sm\\:ketch-max-w-\\[calc\\(80\\%\\+var\\(--safe-area-inset-left\\)\\+var\\(--safe-area-inset-right\\)\\)\\] {\n max-width: calc(80% + var(--safe-area-inset-left) + var(--safe-area-inset-right));\n }\n #lanyard_root * .sm\\:-ketch-translate-x-2\\/4 {\n --tw-translate-x: -50%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n }\n #lanyard_root * .sm\\:ketch-flex-row {\n flex-direction: row;\n }\n #lanyard_root * .sm\\:ketch-flex-col {\n flex-direction: column;\n }\n #lanyard_root * .sm\\:ketch-items-end {\n align-items: flex-end;\n }\n #lanyard_root * .sm\\:ketch-items-center {\n align-items: center;\n }\n #lanyard_root * .sm\\:ketch-items-stretch {\n align-items: stretch;\n }\n #lanyard_root * .sm\\:ketch-gap-0 {\n gap: 0;\n }\n #lanyard_root * .sm\\:ketch-gap-6 {\n gap: 24px;\n }\n #lanyard_root * .sm\\:ketch-gap-8 {\n gap: 32px;\n }\n #lanyard_root * .sm\\:ketch-overflow-visible {\n overflow: visible;\n }\n #lanyard_root * .sm\\:ketch-overflow-y-scroll {\n overflow-y: scroll;\n }\n #lanyard_root * .sm\\:ketch-px-6 {\n padding-left: 24px;\n padding-right: 24px;\n }\n #lanyard_root * .sm\\:ketch-py-5 {\n padding-top: 20px;\n padding-bottom: 20px;\n }\n #lanyard_root * .sm\\:ketch-text-center {\n text-align: center;\n }\n #lanyard_root * .sm\\:ketch-text-ketch-h1-small {\n font-size: 26px;\n line-height: 36.4px;\n }\n}\n@media (min-width: 769px) {\n #lanyard_root * .md\\:ketch-mx-auto {\n margin-left: auto;\n margin-right: auto;\n }\n #lanyard_root * .md\\:ketch-block {\n display: block;\n }\n #lanyard_root * .md\\:ketch-inline-block {\n display: inline-block;\n }\n #lanyard_root * .md\\:ketch-flex {\n display: flex;\n }\n #lanyard_root * .md\\:ketch-inline-flex {\n display: inline-flex;\n }\n #lanyard_root * .md\\:ketch-hidden {\n display: none;\n }\n #lanyard_root * .md\\:ketch-h-16 {\n height: 64px;\n }\n #lanyard_root * .md\\:ketch-max-h-80 {\n max-height: 320px;\n }\n #lanyard_root * .md\\:ketch-max-w-\\[50\\%\\] {\n max-width: 50%;\n }\n #lanyard_root * .md\\:ketch-grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n }\n #lanyard_root * .md\\:ketch-grid-cols-\\[160px_1fr\\] {\n grid-template-columns: 160px 1fr;\n }\n #lanyard_root * .md\\:ketch-grid-cols-\\[328px_1fr\\] {\n grid-template-columns: 328px 1fr;\n }\n #lanyard_root * .md\\:ketch-flex-row {\n flex-direction: row;\n }\n #lanyard_root * .md\\:ketch-flex-col {\n flex-direction: column;\n }\n #lanyard_root * .md\\:ketch-items-start {\n align-items: flex-start;\n }\n #lanyard_root * .md\\:ketch-items-center {\n align-items: center;\n }\n #lanyard_root * .md\\:ketch-justify-between {\n justify-content: space-between;\n }\n #lanyard_root * .md\\:ketch-gap-4 {\n gap: 16px;\n }\n #lanyard_root * .md\\:ketch-gap-6 {\n gap: 24px;\n }\n #lanyard_root * .md\\:ketch-gap-8 {\n gap: 32px;\n }\n #lanyard_root * .md\\:ketch-px-0 {\n padding-left: 0;\n padding-right: 0;\n }\n #lanyard_root * .md\\:ketch-px-4 {\n padding-left: 16px;\n padding-right: 16px;\n }\n #lanyard_root * .md\\:ketch-px-8 {\n padding-left: 32px;\n padding-right: 32px;\n }\n #lanyard_root * .md\\:ketch-pb-0 {\n padding-bottom: 0;\n }\n #lanyard_root * .md\\:ketch-pb-6 {\n padding-bottom: 24px;\n }\n #lanyard_root * .md\\:ketch-pl-8 {\n padding-left: 32px;\n }\n #lanyard_root * .md\\:ketch-pr-0 {\n padding-right: 0;\n }\n #lanyard_root * .md\\:ketch-pr-3 {\n padding-right: 12px;\n }\n #lanyard_root * .md\\:ketch-pr-4 {\n padding-right: 16px;\n }\n #lanyard_root * .md\\:ketch-pt-8 {\n padding-top: 32px;\n }\n #lanyard_root * .md\\:ketch-text-center {\n text-align: center;\n }\n #lanyard_root * .md\\:ketch-text-ketch-m {\n font-size: 13px;\n line-height: 16px;\n }\n}\n@media (min-width: 1024px) {\n #lanyard_root * .lm\\:ketch-col-span-1 {\n grid-column: span 1 / span 1;\n }\n #lanyard_root * .lm\\:ketch-max-h-\\[90\\%\\] {\n max-height: 90%;\n }\n #lanyard_root * .lm\\:ketch-min-h-0 {\n min-height: 0;\n }\n #lanyard_root * .lm\\:ketch-min-h-10 {\n min-height: 40px;\n }\n #lanyard_root * .lm\\:ketch-min-h-12 {\n min-height: 48px;\n }\n #lanyard_root * .lm\\:ketch-px-4 {\n padding-left: 16px;\n padding-right: 16px;\n }\n #lanyard_root * .lm\\:ketch-text-ketch-h4 {\n font-size: 16px;\n line-height: 24px;\n }\n #lanyard_root * .lm\\:ketch-text-ketch-l {\n font-size: 14px;\n line-height: 21px;\n }\n #lanyard_root * .lm\\:ketch-text-ketch-lm {\n font-size: 14px;\n line-height: 21px;\n }\n}\n@media (min-width: 1440px) {\n #lanyard_root * .lg\\:ketch-mx-auto {\n margin-left: auto;\n margin-right: auto;\n }\n #lanyard_root * .lg\\:ketch-max-h-\\[480px\\] {\n max-height: 480px;\n }\n #lanyard_root * .lg\\:ketch-px-0 {\n padding-left: 0;\n padding-right: 0;\n }\n #lanyard_root * .lg\\:ketch-pr-0 {\n padding-right: 0;\n }\n #lanyard_root * .lg\\:ketch-pr-14 {\n padding-right: 56px;\n }\n #lanyard_root * .lg\\:ketch-pr-\\[72px\\] {\n padding-right: 72px;\n }\n}\n",""]);const l=s},1020(e,t,n){n.d(t,{A:()=>l});var r=n(3051),o=n.n(r),i=n(7028),s=n.n(i)()(o());s.push([e.id,'@media (min-width: 1920px) {\n #lanyard_root[data-screen*="TIZEN"] {\n /* Zoom in fonts for high res TV screens */\n zoom: 110%;\n }\n\n /* TIZEN has partial support for outline-color & focus-visible */\n @supports not (outline-color: #9c63ff) {\n #lanyard_root[data-screen*="TIZEN"] {\n /* Remove :focus styles when running on modern browsers with support for :focus-visible */\n }\n #lanyard_root[data-screen*="TIZEN"] *:focus { border: 3px solid #9c63ff; }\n #lanyard_root[data-screen*="TIZEN"] *:focus:not(:focus-visible) { border: none; }\n #lanyard_root[data-screen*="TIZEN"] *:focus-visible { border: 3px solid #9c63ff; }\n }\n @supports (outline-color: #9c63ff) {\n #lanyard_root[data-screen*="TIZEN"] {\n /* Remove :focus styles when running on modern browsers with support for :focus-visible */\n }\n #lanyard_root[data-screen*="TIZEN"] *:focus { outline: 3px solid #9c63ff; }\n #lanyard_root[data-screen*="TIZEN"] *:focus:not(:focus-visible) { outline: none; }\n #lanyard_root[data-screen*="TIZEN"] *:focus-visible { outline: 3px solid #9c63ff; }\n }\n}\n',""]);const l=s},9745(e,t,n){n.d(t,{A:()=>l});var r=n(3051),o=n.n(r),i=n(7028),s=n.n(i)()(o());s.push([e.id,".root__A7aXF{text-align:left}.root__A7aXF *{-webkit-box-sizing:border-box;box-sizing:border-box;font-family:Arial,Helvetica,sans-serif;font-weight:normal}",""]),s.locals={root:"root__A7aXF"};const l=s},6552(e,t,n){n.d(t,{A:()=>l});var r=n(3051),o=n.n(r),i=n(7028),s=n.n(i)()(o());s.push([e.id,".root__H_E27{margin:0;position:fixed;width:48px;height:48px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border:none;border-radius:50%;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;overflow:hidden;-webkit-transition:opacity .25s linear;transition:opacity .25s linear;z-index:2147483647}.root__H_E27:hover{opacity:.9}.icon__HrAtF{max-width:32px;max-height:32px}.bottomRight__ILequ{right:16px;bottom:16px}.bottomLeft__iB1Ik{left:16px;bottom:16px}",""]),s.locals={root:"root__H_E27",icon:"icon__HrAtF",bottomRight:"bottomRight__ILequ",bottomLeft:"bottomLeft__iB1Ik"};const l=s},4489(e,t,n){n.r(t),n.d(t,{default:()=>g});var r=n(5072),o=n.n(r),i=n(7825),s=n.n(i),l=n(7659),a=n.n(l),c=n(5056),u=n.n(c),d=n(540),p=n.n(d),h=n(1113),f=n.n(h),_=n(1408),E={};E.styleTagTransform=f(),E.setAttributes=u(),E.insert=a().bind(null,"head"),E.domAPI=s(),E.insertStyleElement=p(),o()(_.A,E);const g=_.A&&_.A.locals?_.A.locals:void 0},2725(e,t,n){n.r(t),n.d(t,{default:()=>g});var r=n(5072),o=n.n(r),i=n(7825),s=n.n(i),l=n(7659),a=n.n(l),c=n(5056),u=n.n(c),d=n(540),p=n.n(d),h=n(1113),f=n.n(h),_=n(1020),E={};E.styleTagTransform=f(),E.setAttributes=u(),E.insert=a().bind(null,"head"),E.domAPI=s(),E.insertStyleElement=p(),o()(_.A,E);const g=_.A&&_.A.locals?_.A.locals:void 0},8274(e,t,n){n.r(t),n.d(t,{default:()=>g});var r=n(5072),o=n.n(r),i=n(7825),s=n.n(i),l=n(7659),a=n.n(l),c=n(5056),u=n.n(c),d=n(540),p=n.n(d),h=n(1113),f=n.n(h),_=n(9745),E={};E.styleTagTransform=f(),E.setAttributes=u(),E.insert=a().bind(null,"head"),E.domAPI=s(),E.insertStyleElement=p(),o()(_.A,E);const g=_.A&&_.A.locals?_.A.locals:void 0},6625(e,t,n){n.r(t),n.d(t,{default:()=>g});var r=n(5072),o=n.n(r),i=n(7825),s=n.n(i),l=n(7659),a=n.n(l),c=n(5056),u=n.n(c),d=n(540),p=n.n(d),h=n(1113),f=n.n(h),_=n(6552),E={};E.styleTagTransform=f(),E.setAttributes=u(),E.insert=a().bind(null,"head"),E.domAPI=s(),E.insertStyleElement=p(),o()(_.A,E);const g=_.A&&_.A.locals?_.A.locals:void 0},5072(e){var t=[];function n(e){for(var n=-1,r=0;r0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},1113(e){e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},8935(t){t.exports=e},6421(e,t){function n(e,t){return e.document.cookie.split("; ").reduce(function(e,n){var r=n.split("=");return r[0]===t?decodeURIComponent(r[1]):e},"")}Object.defineProperty(t,"__esModule",{value:!0}),t.setCookie=t.getCookie=void 0,t.getCookie=n,t.setCookie=function(e,t,r,o){var i=e.document.location.hostname.split("."),s=[t+"="+encodeURIComponent(r),"path=/","SameSite=None","Secure"];if(o){var l=new Date(Date.now()+1e3*o).toUTCString();s.push("expires="+l)}for(var a=s.join("; "),c=2;c<=i.length;c++)if(e.document.cookie=a+"; domain="+i.slice(-1*c).join("."),n(e,t)===r)return!0;return e.document.cookie=a,!!n(e,t)}},3628(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.defaultExperienceTranslationsConfig=t.defaultConfiguration=t.defaultExperienceConfig=t.defaultThemeConfig=t.defaultExperienceContentEnglishConfig=t.defaultStaticEnglishConfig=t.defaultExperienceLayoutConfig=t.Colors=void 0;var r,o=n(927);!function(e){e.DEFAULT_BLACK="#000000",e.DEFAULT_WHITE="#FFFFFF",e.DEFAULT_GREY="#EBEDED",e.DEFAULT_GREY_TWO="#C1C6C8",e.DEFAULT_GREY_THREE="#69757B",e.DEFAULT_GREY_FOUR="#707070",e.DEFAULT_GREY_FIVE="#C2C2C2",e.DEFAULT_GREY_SIX="#E6E8E9",e.DEFAULT_RED="#F00000"}(r=t.Colors||(t.Colors={}));var i={container:{backdrop:{visible:!0,background:{color:r.DEFAULT_BLACK,opacity:24},disableContentInteractions:!0},background:{color:r.DEFAULT_WHITE,opacity:1},cornerRadius:0,position:o.BannerContainerPosition.Bottom,layout:o.BannerContainerLayout.Horizontal,size:o.BannerContainerSize.Standard,font:""},header:{title:{color:r.DEFAULT_BLACK,opacity:1},returnButton:{background:{color:r.DEFAULT_GREY,opacity:1},icon:{color:r.DEFAULT_BLACK,opacity:1},cornerRadius:0}},description:{link:{color:r.DEFAULT_BLACK,opacity:1,underline:!0},text:{color:r.DEFAULT_BLACK,opacity:1}},buttons:{primary:{style:o.ItemStyle.Filled,background:{color:r.DEFAULT_BLACK,opacity:1},text:{color:r.DEFAULT_WHITE,opacity:1},cornerRadius:0,outline:{color:r.DEFAULT_BLACK,opacity:1}},secondary:{style:o.ItemStyle.Outlined,background:{color:r.DEFAULT_BLACK,opacity:1},text:{color:r.DEFAULT_BLACK,opacity:1},cornerRadius:0,outline:{color:r.DEFAULT_BLACK,opacity:1}},tertiary:{style:o.ItemStyle.Outlined,background:{color:r.DEFAULT_BLACK,opacity:1},text:{color:r.DEFAULT_BLACK,opacity:1},cornerRadius:0,outline:{color:r.DEFAULT_BLACK,opacity:1}}},footer:{ketchBadgeVisible:!0}},s={container:{position:o.ModalContainerPosition.Center,font:"",background:{color:r.DEFAULT_WHITE,opacity:1},cornerRadius:0,backdrop:{visible:!0,background:{color:r.DEFAULT_BLACK,opacity:24},disableContentInteractions:!0}},header:{background:{color:r.DEFAULT_WHITE,opacity:1},title:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},returnButton:{background:{color:r.DEFAULT_GREY,opacity:1},icon:{color:r.DEFAULT_BLACK,opacity:1},cornerRadius:0}},description:{title:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},text:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},link:{color:r.DEFAULT_BLACK,opacity:1,underline:!0}},purposeListHeader:{title:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},acceptAllButton:{style:o.ItemStyle.Filled,background:{color:r.DEFAULT_BLACK,opacity:1},text:{color:r.DEFAULT_WHITE,opacity:1,underline:!1},outline:{color:r.DEFAULT_BLACK,opacity:1},icon:{color:"",opacity:1},cornerRadius:0},rejectAllButton:{style:o.ItemStyle.Filled,background:{color:r.DEFAULT_BLACK,opacity:1},text:{color:r.DEFAULT_WHITE,opacity:1,underline:!1},outline:{color:r.DEFAULT_BLACK,opacity:1},icon:{color:"",opacity:1},cornerRadius:0}},purposeList:{purposeListItems:{layout:o.ListLayout.Expandable,style:o.ItemStyle.Filled,purposeFill:{color:r.DEFAULT_GREY,opacity:1},purposeContent:{color:r.DEFAULT_BLACK,opacity:1},purposeLinks:{color:r.DEFAULT_BLACK,opacity:1},arrowIcon:{color:r.DEFAULT_BLACK,opacity:1},purposeOutline:{color:r.DEFAULT_GREY,opacity:1},purposeCornerRadius:0},switchButtons:{on:{background:{color:r.DEFAULT_BLACK,opacity:1},text:{color:r.DEFAULT_BLACK,opacity:1,underline:!1}},off:{background:{color:r.DEFAULT_GREY_TWO,opacity:1},text:{color:r.DEFAULT_BLACK,opacity:1,underline:!1}}}},footer:{background:{color:r.DEFAULT_WHITE,opacity:1},actionButton:{style:o.ItemStyle.Filled,background:{color:r.DEFAULT_BLACK,opacity:1},text:{color:r.DEFAULT_WHITE,opacity:1,underline:!1},icon:{color:"",opacity:1},outline:{color:r.DEFAULT_BLACK,opacity:1},cornerRadius:0},ketchBadgeVisible:!0}},l={container:{font:"",background:{color:r.DEFAULT_WHITE,opacity:1},exitPosition:o.ExitButtonPosition.bottomLeft},header:{background:{color:r.DEFAULT_WHITE,opacity:1},title:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},logo:{name:"",url:""}},navigation:{layout:{background:{color:r.DEFAULT_GREY_SIX,opacity:1},cornerRadius:0,item:{unselectedBackground:{color:r.DEFAULT_GREY_SIX,opacity:1},unselectedText:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},selectedBackground:{color:r.DEFAULT_BLACK,opacity:1},selectedText:{color:r.DEFAULT_WHITE,opacity:1,underline:!1},cornerRadius:0}},iconsVisible:!0,icons:{welcome:{name:"",url:""},privacyPolicy:{name:"",url:""},purposes:{name:"",url:""},subscriptions:{name:"",url:""},requests:{name:"",url:""}}},exitButton:{background:{color:r.DEFAULT_GREY_SIX,opacity:1},text:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},iconVisible:!0,useDefaultIcon:!0,iconColor:{color:r.DEFAULT_BLACK,opacity:1},icon:{name:"",url:""}},ketchBadgeVisible:!0,tabs:{welcome:{heroBanner:{visible:!0,image:{name:"",url:""}},welcomeMsg:{title:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},subtitle:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},link:{color:r.DEFAULT_BLACK,opacity:1,underline:!0}},quickLinks:{title:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},link:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},showArrows:!0},about:{title:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},text:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},link:{color:r.DEFAULT_BLACK,opacity:1,underline:!0}}},privacyPolicy:{text:{color:"",opacity:1,underline:!1},link:{color:"",opacity:1,underline:!1}},purposes:{header:{title:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},description:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},link:{color:r.DEFAULT_BLACK,opacity:1,underline:!0}},purposeListHeader:{title:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},acceptAllButton:{style:o.ItemStyle.Filled,background:{color:r.DEFAULT_BLACK,opacity:1},text:{color:r.DEFAULT_WHITE,opacity:1,underline:!1},icon:{color:"",opacity:1},outline:{color:r.DEFAULT_BLACK,opacity:1},cornerRadius:0},rejectAllButton:{style:o.ItemStyle.Filled,background:{color:r.DEFAULT_BLACK,opacity:1},text:{color:r.DEFAULT_WHITE,opacity:1,underline:!1},icon:{color:"",opacity:1},outline:{color:r.DEFAULT_BLACK,opacity:1},cornerRadius:0}},purposeList:{purposeListItems:{layout:o.ListLayout.Expandable,style:o.ItemStyle.Filled,purposeFill:{color:r.DEFAULT_GREY,opacity:1},purposeContent:{color:r.DEFAULT_BLACK,opacity:1},purposeLinks:{color:r.DEFAULT_BLACK,opacity:1},purposeOutline:{color:r.DEFAULT_GREY,opacity:1},arrowIcon:{color:r.DEFAULT_BLACK,opacity:1},purposeCornerRadius:0},switchButtons:{on:{background:{color:r.DEFAULT_BLACK,opacity:1},text:{color:r.DEFAULT_BLACK,opacity:1,underline:!1}},off:{background:{color:r.DEFAULT_GREY_TWO,opacity:1},text:{color:r.DEFAULT_BLACK,opacity:1,underline:!1}}}},footer:{background:{color:r.DEFAULT_WHITE,opacity:1},actionButton:{style:o.ItemStyle.Filled,background:{color:r.DEFAULT_BLACK,opacity:1},text:{color:r.DEFAULT_WHITE,opacity:1,underline:!1},icon:{color:"",opacity:1},outline:{color:r.DEFAULT_BLACK,opacity:1},cornerRadius:0}}},subscriptions:{header:{title:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},description:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},link:{color:r.DEFAULT_BLACK,opacity:1,underline:!0}},unsubscribeAll:{background:{color:r.DEFAULT_GREY,opacity:1},text:{color:r.DEFAULT_BLACK,opacity:1},cornerRadius:0,switchButton:{on:{background:{color:r.DEFAULT_BLACK,opacity:1},text:{color:r.DEFAULT_BLACK,opacity:1,underline:!1}},off:{background:{color:r.DEFAULT_GREY_THREE,opacity:1},text:{color:r.DEFAULT_BLACK,opacity:1,underline:!1}}}},list:{layout:{style:o.SubscriptionListStyle.Filled,background:{color:r.DEFAULT_GREY,opacity:1},text:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},link:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},cornerRadius:0},switchButton:{on:{background:{color:r.DEFAULT_BLACK,opacity:1},text:{color:r.DEFAULT_BLACK,opacity:1,underline:!1}},off:{background:{color:r.DEFAULT_GREY_TWO,opacity:1},text:{color:r.DEFAULT_BLACK,opacity:1,underline:!1}}},checkbox:{selected:{background:{color:r.DEFAULT_BLACK,opacity:1},label:{color:r.DEFAULT_BLACK,opacity:1}},unselected:{background:{color:r.DEFAULT_GREY_TWO,opacity:1},label:{color:r.DEFAULT_BLACK,opacity:1}}}},footer:{background:{color:r.DEFAULT_WHITE,opacity:1},actionButton:{style:o.ItemStyle.Filled,background:{color:r.DEFAULT_BLACK,opacity:1},text:{color:r.DEFAULT_WHITE,opacity:1,underline:!1},icon:{color:"",opacity:1},outline:{color:r.DEFAULT_BLACK,opacity:1},cornerRadius:0}}},requests:{home:{header:{title:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},description:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},link:{color:r.DEFAULT_BLACK,opacity:1,underline:!0}},dsrPortalLink:{title:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},description:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},arrowIcon:{color:r.DEFAULT_BLACK,opacity:1},background:{color:r.DEFAULT_GREY,opacity:1},cornerRadius:0},rightsList:{title:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},item:{title:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},arrowIcon:{color:r.DEFAULT_BLACK,opacity:1},background:{color:r.DEFAULT_GREY,opacity:1},cornerRadius:0}}},rightForm:{header:{title:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},returnButton:{background:{color:r.DEFAULT_GREY,opacity:1},icon:{color:r.DEFAULT_BLACK,opacity:1},cornerRadius:0}},form:{dividers:{title:{color:r.DEFAULT_GREY_FOUR,opacity:1,underline:!1},subtitle:{color:r.DEFAULT_GREY_FOUR,opacity:1,underline:!1}},fields:{style:o.FormFieldStyle.Box,active:{background:{color:r.DEFAULT_WHITE,opacity:1},outline:{color:r.DEFAULT_BLACK,opacity:1}},inactive:{background:{color:r.DEFAULT_WHITE,opacity:1},outline:{color:r.DEFAULT_GREY_FIVE,opacity:1}},error:{background:{color:r.DEFAULT_WHITE,opacity:1},outline:{color:r.DEFAULT_RED,opacity:1}},cornerRadius:0,fieldLabel:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},hintText:{color:r.DEFAULT_GREY_FIVE,opacity:1,underline:!1},inputText:{color:r.DEFAULT_BLACK,opacity:1,underline:!1}},checkboxes:{selected:{background:{color:r.DEFAULT_BLACK,opacity:1},label:{color:r.DEFAULT_BLACK,opacity:1}},unselected:{background:{color:r.DEFAULT_GREY_TWO,opacity:1},label:{color:r.DEFAULT_BLACK,opacity:1}},error:{background:{color:r.DEFAULT_RED,opacity:1},label:{color:r.DEFAULT_RED,opacity:1}}}},actionButton:{style:o.ItemStyle.Filled,background:{color:r.DEFAULT_BLACK,opacity:1},text:{color:r.DEFAULT_WHITE,opacity:1,underline:!1},icon:{color:"",opacity:1},outline:{color:r.DEFAULT_BLACK,opacity:1},cornerRadius:0}},submitted:{header:{title:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},returnButton:{background:{color:r.DEFAULT_GREY,opacity:1},icon:{color:r.DEFAULT_BLACK,opacity:1},cornerRadius:0}},banner:{visible:!0,image:{name:"",url:""}},text:{title:{color:r.DEFAULT_BLACK,opacity:1,underline:!1},description:{color:r.DEFAULT_BLACK,opacity:1,underline:!1}},footer:{background:{color:r.DEFAULT_WHITE,opacity:1},actionButton:{style:o.ItemStyle.Filled,background:{color:r.DEFAULT_BLACK,opacity:1},outline:{color:r.DEFAULT_BLACK,opacity:1},text:{color:r.DEFAULT_WHITE,opacity:1}}}}}}},a={header:{visible:!0,closeButtonVisible:!1},buttons:{primary:{action:o.BannerButtonAction.RejectAll},secondary:{visible:!0,action:o.BannerButtonAction.OpenModal},tertiary:{visible:!0,action:o.BannerButtonAction.AcceptAll}},footer:{gpcBadgeVisible:!1}},c={header:{visible:!0,closeButtonVisible:!1},description:{title:{visible:!0}},purposeListHeader:{visible:!0,useDefaultText:!0},purposeList:{legalBasisVisible:!1,purposeStacksDefaultExpanded:!0,switchButtonLabels:{visible:!0,display:o.SwitchButtonDisplay.Always,useDefaultText:!0}},footer:{gpcBadgeVisible:!1}},u={gpcBadgeVisible:!1,tabs:{welcome:{welcomeMsg:{visible:!0},quickLinks:{visible:!1,links:[{action:o.QuickLinkAction.OpenUrl,page:o.PreferenceCenterPage.Subscriptions,url:"",visible:!1},{action:o.QuickLinkAction.OpenUrl,page:o.PreferenceCenterPage.RequestsHome,url:"",visible:!1},{action:o.QuickLinkAction.OpenUrl,page:o.PreferenceCenterPage.RequestsHome,url:"",visible:!1}]},about:{visible:!0}},privacyPolicy:{visible:!1,policyDocumentId:""},purposes:{header:{title:{visible:!0}},purposeListHeader:{titleVisible:!0,useDefaultText:!0},purposeList:{legalBasisVisible:!1,purposeStacksDefaultExpanded:!0,switchButtonLabels:{visible:!0,display:o.SwitchButtonDisplay.Always,useDefaultText:!0}},actionButtonUseDefaultText:!0},subscriptions:{header:{title:{visible:!0}},unsubscribeAll:{visible:!0,title:{useDefaultText:!0},description:{visible:!0},switchButton:{visible:!0,useDefaultText:!0},impact:o.UnsubscribeAllImpact.Universal,position:o.UnsubscribeFromAllPosition.Top},list:{items:[],switchButtons:{visible:!0,useDefaultText:!0}},actionButtonUseDefaultText:!0},requests:{home:{header:{title:{visible:!0}},rights:{title:{useDefaultText:!0},forms:{mode:o.RightsFormMode.Single,singleFormID:"",details:[{canonicalRight:o.CanonicalRightCode.Get,defaultFormID:"",rightFormMappings:[]},{canonicalRight:o.CanonicalRightCode.Delete,defaultFormID:"",rightFormMappings:[]},{canonicalRight:o.CanonicalRightCode.Restrict,defaultFormID:"",rightFormMappings:[]},{canonicalRight:o.CanonicalRightCode.Update,defaultFormID:"",rightFormMappings:[]}]}}},rightForm:{enableRecaptcha:!0,actionButton:{useDefaultText:!0}},submitted:{actionButton:{visible:!0,useDefaultText:!0}}}}};t.defaultExperienceLayoutConfig={banner:a,modal:c,preference:u,entitlementInfo:{hasPurposesEntitlement:!0,hasRightsEntitlement:!0,hasSubscriptionsEntitlement:!0}},t.defaultStaticEnglishConfig={accept:"Accept",accept_all:"Accept All",and:"and",and_the:"and the",apply:"apply",at_this_time_due_to_suspected_bot_like_behavior_as_indicated_by_our:"at this time due to suspected bot-like behavior as indicated by our",category:"Category",click_here:"click here",cookie:"Cookie",cookies:"Cookies",country_afghanistan:"Afghanistan",country_albania:"Albania",country_algeria:"Algeria",country_andorra:"Andorra",country_angola:"Angola",country_antigua_and_barbuda:"Antigua and Barbuda",country_argentina:"Argentina",country_armenia:"Armenia",country_australia:"Australia",country_austria:"Austria",country_azerbaijan:"Azerbaijan",country_bahamas:"Bahamas",country_bahrain:"Bahrain",country_bangladesh:"Bangladesh",country_barbados:"Barbados",country_belarus:"Belarus",country_belgium:"Belgium",country_belize:"Belize",country_benin:"Benin",country_bhutan:"Bhutan",country_bolivia:"Bolivia",country_bosnia_and_herzegovina:"Bosnia and Herzegovina",country_botswana:"Botswana",country_brazil:"Brazil",country_brunei_darussalam:"Brunei Darussalam",country_bulgaria:"Bulgaria",country_burkina_faso:"Burkina Faso",country_burundi:"Burundi",country_cambodia:"Cambodia",country_cameroon:"Cameroon",country_canada:"Canada",country_cape_verde:"Cape Verde",country_central_african_republic:"Central African Republic",country_chad:"Chad",country_chile:"Chile",country_china:"China",country_colombia:"Colombia",country_comoros:"Comoros",country_congo:"Congo",country_congo_the_democratic_republic:"Democratic Republic of the Congo",country_costa_rica:"Costa Rica",country_cote_divoire:"Cote D'Ivoire",country_croatia:"Croatia",country_cuba:"Cuba",country_cyprus:"Cyprus",country_czech_republic:"Czech Republic",country_denmark:"Denmark",country_djibouti:"Djibouti",country_dominica:"Dominica",country_dominican_republic:"Dominican Republic",country_ecuador:"Ecuador",country_egypt:"Egypt",country_el_salvador:"El Salvador",country_equatorial_guinea:"Equatorial Guinea",country_eritrea:"Eritrea",country_estonia:"Estonia",country_eswatini:"Swaziland",country_ethiopia:"Ethiopia",country_fiji:"Fiji",country_finland:"Finland",country_france:"France",country_gabon:"Gabon",country_gambia:"Gambia",country_georgia:"Georgia",country_germany:"Germany",country_ghana:"Ghana",country_greece:"Greece",country_grenada:"Grenada",country_guatemala:"Guatemala",country_guinea:"Guinea",country_guinea_bissau:"Guinea-Bissau",country_guyana:"Guyana",country_haiti:"Haiti",country_honduras:"Honduras",country_hungary:"Hungary",country_iceland:"Iceland",country_india:"India",country_indonesia:"Indonesia",country_iraq:"Iraq",country_ireland:"Ireland",country_israel:"Israel",country_italy:"Italy",country_jamaica:"Jamaica",country_japan:"Japan",country_jordan:"Jordan",country_kazakhstan:"Kazakhstan",country_kenya:"Kenya",country_kiribati:"Kiribati",country_kosovo:"Kosovo",country_kuwait:"Kuwait",country_kyrgyzstan:"Kyrgyzstan",country_laos:"Laos",country_latvia:"Latvia",country_lebanon:"Lebanon",country_lesotho:"Lesotho",country_liberia:"Liberia",country_libya:"Libyan Arab Jamahiriya",country_liechtenstein:"Liechtenstein",country_lithuania:"Lithuania",country_luxembourg:"Luxembourg",country_madagascar:"Madagascar",country_malawi:"Malawi",country_malaysia:"Malaysia",country_maldives:"Maldives",country_mali:"Mali",country_malta:"Malta",country_marshall_islands:"Marshall Islands",country_mauritania:"Mauritania",country_mauritius:"Mauritius",country_mexico:"Mexico",country_micronesia:"Micronesia",country_moldova:"Moldova",country_monaco:"Monaco",country_mongolia:"Mongolia",country_montenegro:"Montenegro",country_morocco:"Morocco",country_mozambique:"Mozambique",country_myanmar:"Myanmar",country_namibia:"Namibia",country_nauru:"Nauru",country_nepal:"Nepal",country_netherlands:"Netherlands",country_new_zealand:"New Zealand",country_nicaragua:"Nicaragua",country_niger:"Niger",country_nigeria:"Nigeria",country_north_korea:"Korea, Democratic People'S Republic of",country_north_macedonia:"North Macedonia",country_norway:"Norway",country_oman:"Oman",country_pakistan:"Pakistan",country_palau:"Palau",country_panama:"Panama",country_papua_new_guinea:"Papua New Guinea",country_paraguay:"Paraguay",country_peru:"Peru",country_philippines:"Philippines",country_poland:"Poland",country_portugal:"Portugal",country_qatar:"Qatar",country_romania:"Romania",country_russian_federation:"Russian Federation",country_rwanda:"Rwanda",country_saint_kitts_and_nevis:"Saint Kitts and Nevis",country_saint_lucia:"Saint Lucia",country_saint_vincent_and_the_grenadines:"Saint Vincent and the Grenadines",country_samoa:"Samoa",country_san_marino:"San Marino",country_sao_tome_and_principe:"Sao Tome and Principe",country_saudi_arabia:"Saudi Arabia",country_senegal:"Senegal",country_serbia:"Serbia and Montenegro",country_seychelles:"Seychelles",country_sierra_leone:"Sierra Leone",country_singapore:"Singapore",country_slovakia:"Slovakia",country_slovenia:"Slovenia",country_solomon_islands:"Solomon Islands",country_somalia:"Somalia",country_south_africa:"South Africa",country_south_korea:"South Korea",country_south_sudan:"South Sudan",country_spain:"Spain",country_sri_lanka:"Sri Lanka",country_sudan:"Sudan",country_suriname:"Suriname",country_sweden:"Sweden",country_switzerland:"Switzerland",country_syria:"Syrian Arab Republic",country_taiwan:"Taiwan",country_tajikistan:"Tajikistan",country_tanzania:"Tanzania",country_thailand:"Thailand",country_timor_leste:"Timor-Leste",country_togo:"Togo",country_tonga:"Tonga",country_trinidad_and_tobago:"Trinidad and Tobago",country_tunisia:"Tunisia",country_turkey:"Turkey",country_turkmenistan:"Turkmenistan",country_tuvalu:"Tuvalu",country_uganda:"Uganda",country_ukraine:"Ukraine",country_united_arab_emirates:"United Arab Emirates",country_united_kingdom:"United Kingdom",country_united_states:"United States",country_uruguay:"Uruguay",country_uzbekistan:"Uzbekistan",country_vanuatu:"Vanuatu",country_vatican_city:"Vatican City",country_venezuela:"Venezuela",country_vietnam:"Vietnam",country_yemen:"Yemen",country_zambia:"Zambia",country_zimbabwe:"Zimbabwe",data_categories:"Data Categories",data_category:"Data Category",description:"Description",duration:"Duration",enter_valid_email:"Please enter a valid email address",enter_valid_phone_number:"Please enter a valid phone number.",ex_i_worked_in_the_it_department_in_2015:"EX: I worked in the IT department in 2015",external_transfer:"External Transfer",features:"Features",first_party:"1st Party",functional:"Functional",greeting:"Hi",here:"here",i_am_a_an:"I am a (an)",legal_basis:"Legal Basis",legal_text:"Legal Text",marketing:"Marketing",maximum_storage:"Maximum Storage Duration",no_rights_available:"There are no rights available in the jurisdiction you are currently in",object_to_legitimate_interest:"Object to Legitimate Interest",of:"of",off:"off",on:"On",opted_in:"Opted In",opted_out:"Opted Out",performance:"Performance",persistent:"Persistent",please_select_a_request_type:"Please select a request type",powered_by:"Powered by",preference_consents_exit_button_text:"Exit",preference_overview_button_text:"Exit",preference_rights_address_line_one:"Address Line 1",preference_rights_address_line_two:"Address Line 2",preference_rights_cancel_button_text:"Cancel",preference_rights_country:"Country",preference_rights_email:"Email",preference_rights_exit_button_text:"Exit",preference_rights_first_name:"First name",preference_rights_last_name:"Last name",preference_rights_personal_details:"Personal details",preference_rights_phone_number:"Phone Number",preference_rights_postal_code:"Postal Code",preference_rights_request:"Request",preference_rights_request_details:"Request details",preference_rights_select_country:"Select Country",preference_rights_select_state_province:"State / Province",preference_rights_state:"State",preference_rights_submit_new_request:"Submit New Request",preference_rights_thank_you:"Thank You!",preference_rights_we_have_received:"Certain requests require identity verification. For those requests, you will receive a second email with verification instructions. Please be sure to check your email. Where required, we will not be able to proceed without your timely verification.",privacy_policy:"Privacy Policy",provenance:"Provenance",purpose:"Purpose",purposes:"Purposes",quick_links:"Quick Links",reject_all:"Reject All",required:"Required",retention_period:"Retention Period",rights_tab_porthole_redirect_footer:"If you have already made a request and would like to check on the status, please click",rights_tab_porthole_redirect_footer_alt:"If you have already made a request and would like to return to the privacy rights portal, ",save:"Save",select_a_relationship:"Select a relationship",select_a_request_type:"Select a Request Type",service_provider:"Service Provider",session:"Session",special_features:"Special Features",special_purposes:"Special Purposes",strictly_necessary:"Strictly Necessary",submit:"Submit",submitting:"Submitting",tell_us_about_your_relationship_to_us:"Tell us about your relationship to us",terms_of_service:"Terms of Service",third_party:"3rd Party",this_site_is_protected_by:"This site is protected by",unfortunately:"Unfortunately",unsubscribe_from_all:"Unsubscribe From All",vendor:"Vendor",vendors:"Vendors",verification:"verification",we_are_unable_to_fulfill_your_request:"we are unable to fulfill your request"},t.defaultExperienceContentEnglishConfig={banner:{header:{title:"Your Privacy Choices"},description:'We use online tracking and other technologies to provide a personalized experience, improve our offerings, monitor and record your engagement with us, and share limited personal information with third-party advertisers. To learn more about your privacy practices review our Privacy Policy. Please confirm your choices.
',buttons:{primary:{text:"Opt Out"},secondary:{text:"Customize Settings"},tertiary:{text:"Opt In"}}},modal:{header:{title:"This Website Processes Personal Data"},description:{title:"Your Privacy Choices",body:'We use online tracking and other technologies to provide a personalized experience, improve our offerings, monitor and record your engagement with us, and share limited personal information with third-party advertisers. To learn more about your privacy practices review our Privacy Policy. Please confirm your choices.
'},purposeListHeader:{text:"Purposes"},purposeList:{switchButtonLabels:{onText:"Opted In",offText:"Opted Out"}},footer:{actionButtonText:"Confirm"}},preference:{footer:{actionButtonText:"Exit"},header:{title:"Privacy Center"},navigation:{privacyPolicyTitle:"Privacy Policy",purposesTitle:"Purposes",requestsTitle:"Requests",subscriptionsTitle:"Subscriptions",welcomeTitle:"Welcome"},tabs:{welcome:{about:{description:"We prioritize and respect your privacy. We are committed to transparently managing your data, using it only for necessary purposes with your explicit consent. Rigorous security measures are in place to protect your information, and we never sell or share it for marketing without your permission. Your control over your data is important to us, and we continually update our practices to align with the latest standards.
",title:"About Your Privacy"},quickLinks:{links:[{text:"Manage Preferences"},{text:"Submit Request"},{text:"Manage Your Subscriptions"}]},welcomeMsg:{subtitle:'We use online tracking and other technologies to provide a personalized experience, improve our offerings, monitor and record your engagement with us, and share limited personal information with third-party advertisers. To learn more about your privacy practices review our Privacy Policy.
',title:"Your Privacy Choices"}},purposes:{actionButtonText:"Save",header:{description:'We use online tracking and other technologies to provide a personalized experience, improve our offerings, monitor and record your engagement with us, and share limited personal information with third-party advertisers. To learn more about your privacy practices review our Privacy Policy. Please confirm your choices.
',title:"Your Privacy Choices"},purposeList:{switchButtonLabels:{onText:"Opted In",offText:"Opted Out"}},purposeListHeader:{title:"Purposes"}},subscriptions:{actionButtonText:"Save",header:{description:"Let us know what you are most interested in and how you'd like us to keep in touch. Unsubscribe any time by coming back here or by clicking on the manage subscriptions link in our emails.
",title:"Your Subscriptions"},listSwitchLabels:{offText:"Off",onText:"On"},unsubscribeAll:{description:"You’ll always receive reservation details, account security updates, and changes to program terms and conditions.",switchLabels:{onText:"On",offText:"Off"},title:"Unsubscribe From All"}},requests:{home:{dsrPortalLink:{description:"Already submitted a request? Click here to view its status.",title:"View My Requests"},header:{description:'Applicable privacy laws give you certain rights to our collection, use, sharing, and storage of your information. We welcome your exercise of those rights. For more details, please read our Privacy Policy.
',title:"Exercise your rights"},rights:{title:"Select a Request Type"}},rightForm:{actionButtonText:"Submit",recaptchaFailureText:"Unfortunately, we are unable to fulfill your request at this time due to suspected bot-like behavior, as indicated by our reCAPTCHA verification. If you believe this is incorrect, please try re-submitting your request.
"},submitted:{actionButtonText:"Submit New Request",description:"We've received your request. Certain requests require identity verification. For those requests, you will receive a second email with verification instructions. Please be sure to check your email. Where required, we will not be able to proceed without your timely verification.
",subtitle:"Thank you!",title:"Request was submitted"}}}},static:t.defaultStaticEnglishConfig},t.defaultThemeConfig={banner:i,modal:s,preference:l},t.defaultExperienceConfig={layout:t.defaultExperienceLayoutConfig,content:t.defaultExperienceContentEnglishConfig},t.defaultConfiguration={organization:{code:"vara_labs"},property:{},language:"en",environments:[],environment:{code:""},jurisdiction:{},identities:{},deployment:{code:"",version:0},regulations:[],rights:[],purposes:[],canonicalPurposes:{},privacyPolicy:{code:"",url:"",version:0},termsOfService:{code:"",url:"",version:0},theme:t.defaultThemeConfig,experiences:t.defaultExperienceConfig,vendors:[],dataSubjectTypes:[],stacks:[],services:{},options:{},scripts:[],plugins:{},recaptcha:{},canonicalRightFormTemplates:[],customRightFormTemplates:[],formTemplates:[],translations:{}},t.defaultExperienceTranslationsConfig={en:t.defaultExperienceContentEnglishConfig}},4267(e,t,n){var r;Object.defineProperty(t,"__esModule",{value:!0}),t.getLogLevel=t.getLogger=t.wrapLogger=t.getParams=t.DEFAULT_LOG_LEVEL=void 0;var o=function(e){return e&&e.__esModule?e:{default:e}}(n(2545));t.DEFAULT_LOG_LEVEL="warn";var i=((r={}).trace=1,r.debug=2,r.info=3,r.warn=4,r.error=5,r.log=6,r),s=function(){};function l(e,t){return void 0===e&&(e=window.location.search),void 0===t&&(t=["ketch_","swb_"]),new o.default(e,t)}function a(e,t){var n="["+t+"]";return{trace:function(){for(var t=arguments.length,r=new Array(t),o=0;o=i[t]?"error"===d?r.error:r.log:s}return a(r,e)},t.getLogLevel=c},2545(e,t){function n(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0;var o={};return(()=>{var e=o;e.__esModule=!0,e.init=e.getContrastColor=e.LanyardBannerExperience=void 0;var t=r(3955);e.LanyardBannerExperience=t.BannerExperience;var n=r(2364);e.getContrastColor=n.getContrastColor;var i=r(7184);e.init=i.init})(),o})(),e.exports=r(n(2533))},2533(e,t,n){"use strict";n.r(t),n.d(t,{Component:()=>S,Fragment:()=>v,cloneElement:()=>K,createContext:()=>q,createElement:()=>m,createRef:()=>T,h:()=>m,hydrate:()=>H,isValidElement:()=>s,options:()=>o,render:()=>G,toChildArray:()=>R});var r,o,i,s,l,a,c,u,d,p={},h=[],f=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,_=Array.isArray;function E(e,t){for(var n in t)e[n]=t[n];return e}function g(e){var t=e.parentNode;t&&t.removeChild(e)}function m(e,t,n){var o,i,s,l={};for(s in t)"key"==s?o=t[s]:"ref"==s?i=t[s]:l[s]=t[s];if(arguments.length>2&&(l.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(s in e.defaultProps)void 0===l[s]&&(l[s]=e.defaultProps[s]);return b(e,l,o,i,null)}function b(e,t,n,r,s){var l={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==s?++i:s};return null==s&&null!=o.vnode&&o.vnode(l),l}function T(){return{current:null}}function v(e){return e.children}function S(e,t){this.props=e,this.context=t}function y(e,t){if(null==t)return e.__?y(e.__,e.__.__k.indexOf(e)+1):null;for(var n;tt&&l.sort(u));N.__r=0}function k(e,t,n,r,o,i,s,l,a,c,u){var d,f,E,g,m,T,S,C,O,N=0,k=r&&r.__k||h,R=k.length,x=R,w=t.length;for(n.__k=[],d=0;d0?b(g.type,g.props,g.key,g.ref?g.ref:null,g.__v):g)?(g.__=n,g.__b=n.__b+1,-1===(C=A(g,k,S=d+N,x))?E=p:(E=k[C]||p,k[C]=void 0,x--),D(e,g,E,o,i,s,l,a,c,u),m=g.__e,(f=g.ref)&&E.ref!=f&&(E.ref&&F(E.ref,null,g),u.push(f,g.__c||m,g)),null!=m&&(null==T&&(T=m),(O=E===p||null===E.__v)?-1==C&&N--:C!==S&&(C===S+1?N++:C>S?x>w-S?N+=C-S:N--:N=C(null!=a?1:0))for(;s>=0||l=0){if((a=t[s])&&o==a.key&&i===a.type)return s;s--}if(l2&&(a.children=arguments.length>3?r.call(arguments,2):n),b(e.type,a,o||e.key,i||e.ref,null)}function q(e,t){var n={__c:t="__cC"+d++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(function(e){e.__e=!0,O(e)})},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}r=h.slice,o={__e:function(e,t,n,r){for(var o,i,s;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),s=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),s=o.__d),s)return o.__E=o}catch(t){e=t}throw e}},i=0,s=function(e){return null!=e&&void 0===e.constructor},S.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=E({},this.state),"function"==typeof e&&(e=e(E({},n),this.props)),e&&E(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),O(this))},S.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),O(this))},S.prototype.render=v,l=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,u=function(e,t){return e.__v.__b-t.__v.__b},N.__r=0,d=0},7007(e){"use strict";var t,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function i(){i.init.call(this)}e.exports=i,e.exports.once=function(e,t){return new Promise(function(n,r){function o(n){e.removeListener(t,i),r(n)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}_(e,t,i,{once:!0}),"error"!==t&&function(e,t){"function"==typeof e.on&&_(e,"error",t,{once:!0})}(e,o)})},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var s=10;function l(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function a(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var o,i,s,c;if(l(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),s=i[t]),void 0===s)s=i[t]=n,++e._eventsCount;else if("function"==typeof s?s=i[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(o=a(e))>0&&s.length>o&&!s.warned){s.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=s.length,c=u,console&&console.warn&&console.warn(c)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=u.bind(r);return o.listener=n,r.wrapFn=o,o}function p(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(s=t[0]),s instanceof Error)throw s;var l=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw l.context=s,l}var a=i[e];if(void 0===a)return!1;if("function"==typeof a)r(a,this,t);else{var c=a.length,u=f(a,c);for(n=0;n=0;i--)if(n[i]===t||n[i].listener===t){s=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},i.prototype.listeners=function(e){return p(this,e,!0)},i.prototype.rawListeners=function(e){return p(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},i.prototype.listenerCount=h,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},9207(e){function t(e){var t=typeof e;return"object"===t?null===e?"null":function(e){if(Array.isArray(e))return!0;var t=e.length;return"number"==typeof t&&t>-1&&(!t||0 in e&&t-1 in e)}(e)?"array":e.constructor===Object?"pure-object":"object":t}e.exports=function e(n,r){if(n===r)return!0;if(n!=n&&r!=r)return!0;var o=t(n);if(o!==t(r))return!1;if("pure-object"===o){if(n===r)return!0;var i=Object.keys(n),s=Object.keys(r).length;if(i.length!==s)return!1;for(var l=0,a=i.length;l{o.debug("willShowExperience");for(const e of t){const t=document.getElementById(e);t&&(o.debug("obscuring",e),s.push({id:e,zIndex:t.style.zIndex}),t.style.zIndex="-1")}}),e.on("hideExperience",()=>{o.debug("hideExperience");for(const e of s){const t=document.getElementById(e.id);t&&(o.debug("restoring",t.id),t.style.zIndex=e.zIndex)}s=[]})}})}},6865(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=(0,n(5305).getLogger)("dataLayer");function i(){return window.dataLayer=window.dataLayer||[]}t.default=function(e){return r.__awaiter(this,void 0,void 0,function*(){e.on("geoip",e=>{o.info("pushGeoIP",e);const t={event:"ketchGeoip",ip:e.ip,countryCode:e.countryCode,regionCode:e.regionCode};i().push(t)}),e.on("jurisdiction",e=>{o.info("pushJurisdiction",e);const t={event:"ketchJurisdiction",jurisdictionCode:e};i().push(t)})})}},5307(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=r.__importDefault(n(7458)),i=r.__importDefault(n(6865)),s=n(5305),l=n(8163),a=(0,s.getLogger)("ketch");t.default=function(e){return r.__awaiter(this,void 0,void 0,function*(){return a.info(`version ${l.version}`),Promise.all([(0,o.default)(e),(0,i.default)(e)]).then(()=>{})})}},2831(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NIL",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"v1",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"v3",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"version",{enumerable:!0,get:function(){return a.default}});var r=p(n(3518)),o=p(n(4948)),i=p(n(5073)),s=p(n(7186)),l=p(n(4808)),a=p(n(7775)),c=p(n(7037)),u=p(n(9910)),d=p(n(6792));function p(e){return e&&e.__esModule?e:{default:e}}},2311(e,t){"use strict";function n(e){return 14+(e+64>>>9<<4)+1}function r(e,t){const n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function o(e,t,n,o,i,s){return r((l=r(r(t,e),r(o,s)))<<(a=i)|l>>>32-a,n);var l,a}function i(e,t,n,r,i,s,l){return o(t&n|~t&r,e,t,i,s,l)}function s(e,t,n,r,i,s,l){return o(t&r|n&~r,e,t,i,s,l)}function l(e,t,n,r,i,s,l){return o(t^n^r,e,t,i,s,l)}function a(e,t,n,r,i,s,l){return o(n^(t|~r),e,t,i,s,l)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let n=0;n>5]>>>o%32&255,i=parseInt(r.charAt(n>>>4&15)+r.charAt(15&n),16);t.push(i)}return t}(function(e,t){e[t>>5]|=128<>5]|=(255&e[n/8])<>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n}},7656(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},2858(e,t){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!n&&(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(r)};const r=new Uint8Array(16)},9042(e,t){"use strict";function n(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}function r(e,t){return e<>>32-t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){const t=[1518500249,1859775393,2400959708,3395469782],o=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=[];for(let n=0;n>>0;d=u,u=c,c=r(a,30)>>>0,a=s,s=l}o[0]=o[0]+s>>>0,o[1]=o[1]+a>>>0,o[2]=o[2]+c>>>0,o[3]=o[3]+u>>>0,o[4]=o[4]+d>>>0}return[o[0]>>24&255,o[0]>>16&255,o[0]>>8&255,255&o[0],o[1]>>24&255,o[1]>>16&255,o[1]>>8&255,255&o[1],o[2]>>24&255,o[2]>>16&255,o[2]>>8&255,255&o[2],o[3]>>24&255,o[3]>>16&255,o[3]>>8&255,255&o[3],o[4]>>24&255,o[4]>>16&255,o[4]>>8&255,255&o[4]]}},9910(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.unsafeStringify=s;var r,o=(r=n(7037))&&r.__esModule?r:{default:r};const i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));function s(e,t=0){return i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]}t.default=function(e,t=0){const n=s(e,t);if(!(0,o.default)(n))throw TypeError("Stringified UUID is invalid");return n}},3518(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(2858))&&r.__esModule?r:{default:r},i=n(9910);let s,l,a=0,c=0;t.default=function(e,t,n){let r=t&&n||0;const u=t||new Array(16);let d=(e=e||{}).node||s,p=void 0!==e.clockseq?e.clockseq:l;if(null==d||null==p){const t=e.random||(e.rng||o.default)();null==d&&(d=s=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==p&&(p=l=16383&(t[6]<<8|t[7]))}let h=void 0!==e.msecs?e.msecs:Date.now(),f=void 0!==e.nsecs?e.nsecs:c+1;const _=h-a+(f-c)/1e4;if(_<0&&void 0===e.clockseq&&(p=p+1&16383),(_<0||h>a)&&void 0===e.nsecs&&(f=0),f>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=h,c=f,l=p,h+=122192928e5;const E=(1e4*(268435455&h)+f)%4294967296;u[r++]=E>>>24&255,u[r++]=E>>>16&255,u[r++]=E>>>8&255,u[r++]=255&E;const g=h/4294967296*1e4&268435455;u[r++]=g>>>8&255,u[r++]=255&g,u[r++]=g>>>24&15|16,u[r++]=g>>>16&255,u[r++]=p>>>8|128,u[r++]=255&p;for(let e=0;e<6;++e)u[r+e]=d[e];return t||(0,i.unsafeStringify)(u)}},4948(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(9025)),o=i(n(2311));function i(e){return e&&e.__esModule?e:{default:e}}var s=(0,r.default)("v3",48,o.default);t.default=s},9025(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0,t.default=function(e,t,n){function r(e,r,s,l){var a;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=[];for(let n=0;n0&&"/"!==t[t.length-1]&&(t+="/");let n=new l;if(n.baseUrl=t,e.languageFilename?n.languageFilename=e.languageFilename:n.languageFilename="purposes-[LANG].json",e.version>0){let r=e.versionedFilename;r||(r="archives/vendor-list-v[VERSION].json");let i=t+r.replace("[VERSION]",String(e.version));n.populate(yield o.JsonHttpClient.fetch(i))}else{let r=e.latestFilename;r||(r="vendor-list.json");let i=t+r;n.populate(yield o.JsonHttpClient.fetch(i))}return n})}changeLanguage(e){return r(this,void 0,void 0,function*(){const t=e.toUpperCase();if(!this.consentLanguages.has(t))throw new i.GVLError(`unsupported language ${e}`);if(t!==this.language){this.language=t;const n=this.baseUrl+this.languageFilename.replace("[LANG]",e);try{this.populate(yield o.JsonHttpClient.fetch(n))}catch(e){throw new i.GVLError("unable to load language: "+e.message)}}})}getJson(){return JSON.parse(JSON.stringify({gvlSpecificationVersion:this.gvlSpecificationVersion,vendorListVersion:this.vendorListVersion,tcfPolicyVersion:this.tcfPolicyVersion,lastUpdated:this.lastUpdated,purposes:this.purposes,specialPurposes:this.specialPurposes,features:this.features,specialFeatures:this.specialFeatures,stacks:this.stacks,dataCategories:this.dataCategories,vendors:this.fullVendorList}))}isVendorList(e){return void 0!==e&&void 0!==e.vendors}populate(e){this.purposes=e.purposes,this.specialPurposes=e.specialPurposes,this.features=e.features,this.specialFeatures=e.specialFeatures,this.stacks=e.stacks,this.dataCategories=e.dataCategories,this.isVendorList(e)&&(this.gvlSpecificationVersion=e.gvlSpecificationVersion,this.tcfPolicyVersion=e.tcfPolicyVersion,this.vendorListVersion=e.vendorListVersion,this.lastUpdated=e.lastUpdated,"string"==typeof this.lastUpdated&&(this.lastUpdated=new Date(this.lastUpdated)),this.vendors=e.vendors,this.fullVendorList=e.vendors,this.mapVendors(),this.ready=!0)}mapVendors(e){this.byPurposeVendorMap={},this.bySpecialPurposeVendorMap={},this.byFeatureVendorMap={},this.bySpecialFeatureVendorMap={},Object.keys(this.purposes).forEach(e=>{this.byPurposeVendorMap[e]={legInt:new Set,impCons:new Set,consent:new Set,flexible:new Set}}),Object.keys(this.specialPurposes).forEach(e=>{this.bySpecialPurposeVendorMap[e]=new Set}),Object.keys(this.features).forEach(e=>{this.byFeatureVendorMap[e]=new Set}),Object.keys(this.specialFeatures).forEach(e=>{this.bySpecialFeatureVendorMap[e]=new Set}),Array.isArray(e)||(e=Object.keys(this.fullVendorList).map(e=>+e)),this.vendorIds=new Set(e),this.vendors=e.reduce((e,t)=>{const n=this.vendors[String(t)];return n&&void 0===n.deletedDate&&(n.purposes.forEach(e=>{this.byPurposeVendorMap[String(e)].consent.add(t)}),n.specialPurposes.forEach(e=>{this.bySpecialPurposeVendorMap[String(e)].add(t)}),n.legIntPurposes&&n.legIntPurposes.forEach(e=>{this.byPurposeVendorMap[String(e)].legInt.add(t)}),n.impConsPurposes&&n.impConsPurposes.forEach(e=>{this.byPurposeVendorMap[String(e)].impCons.add(t)}),n.flexiblePurposes&&n.flexiblePurposes.forEach(e=>{this.byPurposeVendorMap[String(e)].flexible.add(t)}),n.features.forEach(e=>{this.byFeatureVendorMap[String(e)].add(t)}),n.specialFeatures.forEach(e=>{this.bySpecialFeatureVendorMap[String(e)].add(t)}),e[t]=n),e},{})}getFilteredVendors(e,t,n,r){const o=e.charAt(0).toUpperCase()+e.slice(1);let i;const s={};return i="purpose"===e&&n?this["by"+o+"VendorMap"][String(t)][n]:this["by"+(r?"Special":"")+o+"VendorMap"][String(t)],i.forEach(e=>{s[String(e)]=this.vendors[String(e)]}),s}getVendorsWithConsentPurpose(e){return this.getFilteredVendors("purpose",e,"consent")}getVendorsWithLegIntPurpose(e){return this.getFilteredVendors("purpose",e,"legInt")}getVendorsWithFlexiblePurpose(e){return this.getFilteredVendors("purpose",e,"flexible")}getVendorsWithSpecialPurpose(e){return this.getFilteredVendors("purpose",e,void 0,!0)}getVendorsWithFeature(e){return this.getFilteredVendors("feature",e)}getVendorsWithSpecialFeature(e){return this.getFilteredVendors("feature",e,void 0,!0)}narrowVendorsTo(e){this.mapVendors(e)}get isReady(){return this.ready}static isInstanceOf(e){return"object"==typeof e&&"function"==typeof e.narrowVendorsTo}}t.GVL=l,l.DEFAULT_LANGUAGE="EN"},8444(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CallResponder=void 0;const r=n(2580),o=n(5827);t.CallResponder=class{constructor(e,t){if(this.cmpApiContext=e,t){let e=r.GppCommand.ADD_EVENT_LISTENER;if(null==t?void 0:t[e])throw new Error(`Built-In Custom Commmand for ${e} not allowed`);if(e=r.GppCommand.REMOVE_EVENT_LISTENER,null==t?void 0:t[e])throw new Error(`Built-In Custom Commmand for ${e} not allowed`);this.customCommands=t}try{this.callQueue=window.__gpp()||[]}catch(e){this.callQueue=[]}finally{window.__gpp=this.apiCall.bind(this),this.purgeQueuedCalls()}}apiCall(e,t,n,r){if("string"!=typeof e)t(null,!1);else{if(t&&"function"!=typeof t)throw new Error("invalid callback function");this.isCustomCommand(e)?this.customCommands[e](t,n):this.isBuiltInCommand(e)?new o.CommandMap[e](this.cmpApiContext,t,n).execute():t&&t(null,!1)}}purgeQueuedCalls(){const e=this.callQueue;this.callQueue=[],e.forEach(e=>{window.__gpp(...e)})}isCustomCommand(e){return this.customCommands&&"function"==typeof this.customCommands[e]}isBuiltInCommand(e){return void 0!==o.CommandMap[e]}}},5993(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CmpApiContext=void 0;const r=n(8947),o=n(1237),i=n(4175),s=n(4694),l=n(119);t.CmpApiContext=class{constructor(){this.gppVersion="1.1",this.supportedAPIs=[],this.eventQueue=new i.EventListenerQueue(this),this.cmpStatus=r.CmpStatus.LOADING,this.cmpDisplayStatus=o.CmpDisplayStatus.HIDDEN,this.signalStatus=l.SignalStatus.NOT_READY,this.applicableSections=[],this.gppModel=new s.GppModel}reset(){this.eventQueue.clear(),this.cmpStatus=r.CmpStatus.LOADING,this.cmpDisplayStatus=o.CmpDisplayStatus.HIDDEN,this.signalStatus=l.SignalStatus.NOT_READY,this.applicableSections=[],this.supportedAPIs=[],this.gppModel=new s.GppModel,delete this.cmpId,delete this.cmpVersion,delete this.eventStatus}}},73(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4175(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventListenerQueue=void 0;const r=n(100),o=n(3202);t.EventListenerQueue=class{constructor(e){this.eventQueue=new Map,this.queueNumber=1e3,this.cmpApiContext=e;try{let e=window.__gpp("events")||[];for(var t=0;t{let s=new r.EventData(e,i,t,new o.PingData(this.cmpApiContext));n.callback(s,!0)})}clear(){this.queueNumber=1e3,this.eventQueue.clear()}get size(){return this.eventQueue.size}}},7526(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AddEventListenerCommand=void 0;const r=n(100),o=n(3202),i=n(3717);class s extends i.Command{respond(){let e=this.cmpApiContext.eventQueue.add({callback:this.callback,parameter:this.parameter}),t=new r.EventData("listenerRegistered",e,!0,new o.PingData(this.cmpApiContext));this.invokeCallback(t)}}t.AddEventListenerCommand=s},3717(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Command=void 0,t.Command=class{constructor(e,t,n){this.success=!0,this.cmpApiContext=e,Object.assign(this,{callback:t,parameter:n})}execute(){try{return this.respond()}catch(e){return this.invokeCallback(null),null}}invokeCallback(e){const t=null!==e;this.callback&&this.callback(e,t)}}},4134(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},5827(e,t,n){"use strict";var r,o,i,s,l,a;Object.defineProperty(t,"__esModule",{value:!0}),t.CommandMap=void 0;const c=n(4257),u=n(937),d=n(48),p=n(9524),h=n(2580),f=n(7526),_=n(6587);class E{}t.CommandMap=E,r=h.GppCommand.ADD_EVENT_LISTENER,o=h.GppCommand.GET_FIELD,i=h.GppCommand.GET_SECTION,s=h.GppCommand.HAS_SECTION,l=h.GppCommand.PING,a=h.GppCommand.REMOVE_EVENT_LISTENER,E[r]=f.AddEventListenerCommand,E[o]=u.GetFieldCommand,E[i]=d.GetSectionCommand,E[s]=p.HasSectionCommand,E[l]=c.PingCommand,E[a]=_.RemoveEventListenerCommand},937(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetFieldCommand=void 0;const r=n(3717);class o extends r.Command{respond(){if(!this.parameter||0===this.parameter.length)throw new Error(". parameter required");let e=this.parameter.split(".");if(2!=e.length)throw new Error("Field name must be in the format .");let t=e[0],n=e[1],r=this.cmpApiContext.gppModel.getFieldValue(t,n);this.invokeCallback(r)}}t.GetFieldCommand=o},48(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetSectionCommand=void 0;const r=n(3717);class o extends r.Command{respond(){if(!this.parameter||0===this.parameter.length)throw new Error(" parameter required");let e=null;this.cmpApiContext.gppModel.hasSection(this.parameter)&&(e=this.cmpApiContext.gppModel.getSection(this.parameter)),this.invokeCallback(e)}}t.GetSectionCommand=o},2580(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.GppCommand=void 0,(n=t.GppCommand||(t.GppCommand={})).ADD_EVENT_LISTENER="addEventListener",n.GET_FIELD="getField",n.GET_SECTION="getSection",n.HAS_SECTION="hasSection",n.PING="ping",n.REMOVE_EVENT_LISTENER="removeEventListener"},9524(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HasSectionCommand=void 0;const r=n(3717);class o extends r.Command{respond(){if(!this.parameter||0===this.parameter.length)throw new Error("[.version] parameter required");let e=this.cmpApiContext.gppModel.hasSection(this.parameter);this.invokeCallback(e)}}t.HasSectionCommand=o},4257(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PingCommand=void 0;const r=n(3202),o=n(3717);class i extends o.Command{respond(){let e=new r.PingData(this.cmpApiContext);this.invokeCallback(e)}}t.PingCommand=i},6587(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RemoveEventListenerCommand=void 0;const r=n(100),o=n(3202),i=n(3717);class s extends i.Command{respond(){let e=this.parameter,t=this.cmpApiContext.eventQueue.remove(e),n=new r.EventData("listenerRemoved",e,t,new o.PingData(this.cmpApiContext));this.invokeCallback(n)}}t.RemoveEventListenerCommand=s},2480(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(7526),t),o(n(3717),t),o(n(4134),t),o(n(5827),t),o(n(937),t),o(n(48),t),o(n(2580),t),o(n(9524),t),o(n(4257),t),o(n(6587),t)},6106(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(2480),t),o(n(2048),t),o(n(3365),t),o(n(8444),t),o(n(5993),t),o(n(73),t),o(n(4175),t)},100(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventData=void 0,t.EventData=class{constructor(e,t,n,r){this.eventName=e,this.listenerId=t,this.data=n,this.pingData=r}}},3202(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PingData=void 0,t.PingData=class{constructor(e){this.gppVersion=e.gppVersion,this.cmpStatus=e.cmpStatus,this.cmpDisplayStatus=e.cmpDisplayStatus,this.signalStatus=e.signalStatus,this.supportedAPIs=e.supportedAPIs,this.cmpId=e.cmpId,this.sectionList=e.gppModel.getSectionIds(),this.applicableSections=e.applicableSections,this.gppString=e.gppModel.encode(),this.parsedSections=e.gppModel.toObject()}}},2048(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(100),t),o(n(3202),t)},1237(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CmpDisplayStatus=void 0,(n=t.CmpDisplayStatus||(t.CmpDisplayStatus={})).VISIBLE="visible",n.HIDDEN="hidden",n.DISABLED="disabled"},8947(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CmpStatus=void 0,(n=t.CmpStatus||(t.CmpStatus={})).STUB="stub",n.LOADING="loading",n.LOADED="loaded",n.ERROR="error"},2403(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.EventStatus=void 0,(n=t.EventStatus||(t.EventStatus={})).GPP_LOADED="gpploaded",n.CMP_UI_SHOWN="cmpuishown",n.USER_ACTION_COMPLETE="useractioncomplete"},119(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.SignalStatus=void 0,(n=t.SignalStatus||(t.SignalStatus={})).NOT_READY="not ready",n.READY="ready"},3365(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(8947),t),o(n(1237),t),o(n(2403),t),o(n(119),t)},4694(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GppModel=void 0;const r=n(4288),o=n(2552),i=n(5570),s=n(7249),l=n(3047),a=n(4161),c=n(8420),u=n(5977),d=n(1690),p=n(8913),h=n(863),f=n(4526),_=n(7017),E=n(2849),g=n(9088),m=n(7370),b=n(7642),T=n(4617),v=n(9883),S=n(4682),y=n(3853),C=n(6650),O=n(9328),N=n(5174);t.GppModel=class{constructor(e){this.sections=new Map,this.encodedString=null,this.decoded=!0,this.dirty=!1,e&&this.decode(e)}setFieldValue(e,t,n){this.decoded||(this.sections=this.decodeModel(this.encodedString),this.dirty=!1,this.decoded=!0);let r=null;if(this.sections.has(e)?r=this.sections.get(e):e===i.TcfCaV1.NAME?(r=new i.TcfCaV1,this.sections.set(i.TcfCaV1.NAME,r)):e===s.TcfEuV2.NAME?(r=new s.TcfEuV2,this.sections.set(s.TcfEuV2.NAME,r)):e===l.UspV1.NAME?(r=new l.UspV1,this.sections.set(l.UspV1.NAME,r)):e===a.UsNat.NAME?(r=new a.UsNat,this.sections.set(a.UsNat.NAME,r)):e===c.UsCa.NAME?(r=new c.UsCa,this.sections.set(c.UsCa.NAME,r)):e===u.UsVa.NAME?(r=new u.UsVa,this.sections.set(u.UsVa.NAME,r)):e===d.UsCo.NAME?(r=new d.UsCo,this.sections.set(d.UsCo.NAME,r)):e===p.UsUt.NAME?(r=new p.UsUt,this.sections.set(p.UsUt.NAME,r)):e===h.UsCt.NAME?(r=new h.UsCt,this.sections.set(h.UsCt.NAME,r)):e===f.UsFl.NAME?(r=new f.UsFl,this.sections.set(f.UsFl.NAME,r)):e===_.UsMt.NAME?(r=new _.UsMt,this.sections.set(_.UsMt.NAME,r)):e===E.UsOr.NAME?(r=new E.UsOr,this.sections.set(E.UsOr.NAME,r)):e===g.UsTx.NAME?(r=new g.UsTx,this.sections.set(g.UsTx.NAME,r)):e===v.UsDe.NAME?(r=new v.UsDe,this.sections.set(v.UsDe.NAME,r)):e===S.UsIa.NAME?(r=new S.UsIa,this.sections.set(S.UsIa.NAME,r)):e===y.UsNe.NAME?(r=new y.UsNe,this.sections.set(y.UsNe.NAME,r)):e===C.UsNh.NAME?(r=new C.UsNh,this.sections.set(C.UsNh.NAME,r)):e===O.UsNj.NAME?(r=new O.UsNj,this.sections.set(O.UsNj.NAME,r)):e===N.UsTn.NAME&&(r=new N.UsTn,this.sections.set(N.UsTn.NAME,r)),!r)throw new m.InvalidFieldError(e+"."+t+" not found");r.setFieldValue(t,n),this.dirty=!0,r.setIsDirty(!0)}setFieldValueBySectionId(e,t,n){this.setFieldValue(o.Sections.SECTION_ID_NAME_MAP.get(e),t,n)}getFieldValue(e,t){return this.decoded||(this.sections=this.decodeModel(this.encodedString),this.dirty=!1,this.decoded=!0),this.sections.has(e)?this.sections.get(e).getFieldValue(t):null}getFieldValueBySectionId(e,t){return this.getFieldValue(o.Sections.SECTION_ID_NAME_MAP.get(e),t)}hasField(e,t){return this.decoded||(this.sections=this.decodeModel(this.encodedString),this.dirty=!1,this.decoded=!0),!!this.sections.has(e)&&this.sections.get(e).hasField(t)}hasFieldBySectionId(e,t){return this.hasField(o.Sections.SECTION_ID_NAME_MAP.get(e),t)}hasSection(e){return this.decoded||(this.sections=this.decodeModel(this.encodedString),this.dirty=!1,this.decoded=!0),this.sections.has(e)}hasSectionId(e){return this.hasSection(o.Sections.SECTION_ID_NAME_MAP.get(e))}deleteSection(e){!this.decoded&&null!=this.encodedString&&this.encodedString.length>0&&this.decode(this.encodedString),this.sections.delete(e),this.dirty=!0}deleteSectionById(e){this.deleteSection(o.Sections.SECTION_ID_NAME_MAP.get(e))}clear(){this.sections.clear(),this.encodedString="DBAA",this.decoded=!1,this.dirty=!1}getHeader(){this.decoded||(this.sections=this.decodeModel(this.encodedString),this.dirty=!1,this.decoded=!0);let e=new r.HeaderV1;return e.setFieldValue("SectionIds",this.getSectionIds()),e.toObj()}getSection(e){return this.decoded||(this.sections=this.decodeModel(this.encodedString),this.dirty=!1,this.decoded=!0),this.sections.has(e)?this.sections.get(e).toObj():null}getSectionIds(){this.decoded||(this.sections=this.decodeModel(this.encodedString),this.dirty=!1,this.decoded=!0);let e=[];for(let t=0;t0;)e+="0";for(;e.length%6>0;)e+="0";return e}}t.CompressedBase64UrlEncoder=o,o.instance=new o},2277(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TraditionalBase64UrlEncoder=void 0;const r=n(8700);class o extends r.AbstractBase64UrlEncoder{constructor(){super()}static getInstance(){return this.instance}pad(e){for(;e.length%24>0;)e+="0";return e}}t.TraditionalBase64UrlEncoder=o,o.instance=new o},2456(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(8700),t),o(n(7683),t),o(n(2277),t)},3905(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BitStringEncoder=void 0;const r=n(7642);class o{constructor(){}static getInstance(){return this.instance}encode(e,t){let n="";for(let r=0;r0?a.StringUtil.substring(e,t,n+2):e}catch(e){throw new l.SubstringError(e)}}}t.EncodableFibonacciInteger=c},3425(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EncodableFibonacciIntegerRange=void 0;const r=n(5935),o=n(7640),i=n(94),s=n(3634),l=n(7642),a=n(9112),c=n(5679);class u extends i.AbstractEncodableBitStringDataType{constructor(e,t=!0){super(t),this.setValue(e)}encode(){try{return r.FibonacciIntegerRangeEncoder.encode(this.value)}catch(e){throw new s.EncodingError(e)}}decode(e){try{this.value=r.FibonacciIntegerRangeEncoder.decode(e)}catch(e){throw new l.DecodingError(e)}}substring(e,t){try{let n=o.FixedIntegerEncoder.decode(c.StringUtil.substring(e,t,t+12)),r=t+12;for(let t=0;te-t))}}t.EncodableFibonacciIntegerRange=u},6653(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EncodableFixedBitfield=void 0;const r=n(3911),o=n(94),i=n(3634),s=n(7642),l=n(9112),a=n(1570);class c extends o.AbstractEncodableBitStringDataType{constructor(e,t=!0){super(t),this.numElements=e.length,this.setValue(e)}encode(){try{return r.FixedBitfieldEncoder.encode(this.value,this.numElements)}catch(e){throw new i.EncodingError(e)}}decode(e){try{this.value=r.FixedBitfieldEncoder.decode(e)}catch(e){throw new s.DecodingError(e)}}substring(e,t){try{return a.StringUtil.substring(e,t,t+this.numElements)}catch(e){throw new l.SubstringError(e)}}getValue(){return[...super.getValue()]}setValue(e){let t=[...e];for(let e=t.length;ethis.numElements&&(t=t.slice(0,this.numElements)),super.setValue(t)}}t.EncodableFixedBitfield=c},7568(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EncodableFixedInteger=void 0;const r=n(7640),o=n(94),i=n(3634),s=n(7642),l=n(9112),a=n(1570);class c extends o.AbstractEncodableBitStringDataType{constructor(e,t,n=!0){super(n),this.bitStringLength=e,this.setValue(t)}encode(){try{return r.FixedIntegerEncoder.encode(this.value,this.bitStringLength)}catch(e){throw new i.EncodingError(e)}}decode(e){try{this.value=r.FixedIntegerEncoder.decode(e)}catch(e){throw new s.DecodingError(e)}}substring(e,t){try{return a.StringUtil.substring(e,t,t+this.bitStringLength)}catch(e){throw new l.SubstringError(e)}}}t.EncodableFixedInteger=c},1672(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EncodableFixedIntegerList=void 0;const r=n(4444),o=n(94),i=n(3634),s=n(7642),l=n(9112),a=n(1570);class c extends o.AbstractEncodableBitStringDataType{constructor(e,t,n=!0){super(n),this.elementBitStringLength=e,this.numElements=t.length,this.setValue(t)}encode(){try{return r.FixedIntegerListEncoder.encode(this.value,this.elementBitStringLength,this.numElements)}catch(e){throw new i.EncodingError(e)}}decode(e){try{this.value=r.FixedIntegerListEncoder.decode(e,this.elementBitStringLength,this.numElements)}catch(e){throw new s.DecodingError(e)}}substring(e,t){try{return a.StringUtil.substring(e,t,t+this.elementBitStringLength*this.numElements)}catch(e){throw new l.SubstringError(e)}}getValue(){return[...super.getValue()]}setValue(e){let t=[...e];for(let e=t.length;ethis.numElements&&(t=t.slice(0,this.numElements)),super.setValue(t)}}t.EncodableFixedIntegerList=c},5007(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EncodableFixedIntegerRange=void 0;const r=n(7640),o=n(9365),i=n(94),s=n(3634),l=n(7642),a=n(9112),c=n(1570);class u extends i.AbstractEncodableBitStringDataType{constructor(e,t=!0){super(t),this.setValue(e)}encode(){try{return o.FixedIntegerRangeEncoder.encode(this.value)}catch(e){throw new s.EncodingError(e)}}decode(e){try{this.value=o.FixedIntegerRangeEncoder.decode(e)}catch(e){throw new l.DecodingError(e)}}substring(e,t){try{let n=r.FixedIntegerEncoder.decode(c.StringUtil.substring(e,t,t+12)),o=t+12;for(let t=0;te-t))}}t.EncodableFixedIntegerRange=u},65(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EncodableFixedString=void 0;const r=n(9259),o=n(94),i=n(3634),s=n(7642),l=n(9112),a=n(1570);class c extends o.AbstractEncodableBitStringDataType{constructor(e,t,n=!0){super(n),this.stringLength=e,this.setValue(t)}encode(){try{return r.FixedStringEncoder.encode(this.value,this.stringLength)}catch(e){throw new i.EncodingError(e)}}decode(e){try{this.value=r.FixedStringEncoder.decode(e)}catch(e){throw new s.DecodingError(e)}}substring(e,t){try{return a.StringUtil.substring(e,t,t+6*this.stringLength)}catch(e){throw new l.SubstringError(e)}}}t.EncodableFixedString=c},1342(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EncodableFlexibleBitfield=void 0;const r=n(3911),o=n(94),i=n(3634),s=n(7642),l=n(9112),a=n(1570);class c extends o.AbstractEncodableBitStringDataType{constructor(e,t,n=!0){super(n),this.getLength=e,this.setValue(t)}encode(){try{return r.FixedBitfieldEncoder.encode(this.value,this.getLength())}catch(e){throw new i.EncodingError(e)}}decode(e){try{this.value=r.FixedBitfieldEncoder.decode(e)}catch(e){throw new s.DecodingError(e)}}substring(e,t){try{return a.StringUtil.substring(e,t,t+this.getLength())}catch(e){throw new l.SubstringError(e)}}getValue(){return[...super.getValue()]}setValue(e){let t=this.getLength(),n=[...e];for(let e=n.length;et&&(n=n.slice(0,t)),super.setValue([...n])}}t.EncodableFlexibleBitfield=c},8854(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EncodableOptimizedFibonacciRange=void 0;const r=n(5935),o=n(3911),i=n(7640),s=n(94),l=n(3425),a=n(7642),c=n(3634),u=n(9112),d=n(1570);class p extends s.AbstractEncodableBitStringDataType{constructor(e,t=!0){super(t),this.setValue(e)}encode(){try{let e=this.value.length>0?this.value[this.value.length-1]:0,t=r.FibonacciIntegerRangeEncoder.encode(this.value),n=t.length,s=e;if(n<=s)return i.FixedIntegerEncoder.encode(e,16)+"1"+t;{let t=[],n=0;for(let r=0;re-t))}}t.EncodableOptimizedFibonacciRange=p},4360(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EncodableOptimizedFixedRange=void 0;const r=n(3911),o=n(7640),i=n(9365),s=n(94),l=n(5007),a=n(3634),c=n(7642),u=n(9112),d=n(1570);class p extends s.AbstractEncodableBitStringDataType{constructor(e,t=!0){super(t),this.setValue(e)}encode(){try{let e=this.value.length>0?this.value[this.value.length-1]:0,t=i.FixedIntegerRangeEncoder.encode(this.value),n=t.length,s=e;if(n<=s)return o.FixedIntegerEncoder.encode(e,16)+"1"+t;{let t=[],n=0;for(let r=0;re-t))}}t.EncodableOptimizedFixedRange=p},4072(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RangeEntry=void 0,t.RangeEntry=class{constructor(e,t,n){this.key=e,this.type=t,this.ids=n}getKey(){return this.key}setKey(e){this.key=e}getType(){return this.type}setType(e){this.type=e}getIds(){return this.ids}setIds(e){this.ids=e}}},9112(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SubstringError=void 0;const r=n(7642);class o extends r.DecodingError{constructor(e){super(e),this.name="SubstringError"}}t.SubstringError=o},8678(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnencodableCharacter=void 0,t.UnencodableCharacter=class{constructor(e,t){this.value=null,this.validator=t||new class{test(e){return!0}},this.setValue(e)}hasValue(){return null!=this.value}getValue(){return this.value}setValue(e){e?this.value=e.charAt(0):e=null}}},4939(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnencodableInteger=void 0,t.UnencodableInteger=class{constructor(e,t){this.value=null,this.validator=t||new class{test(e){return!0}},this.setValue(e)}hasValue(){return null!=this.value}getValue(){return this.value}setValue(e){this.value=e}}},7206(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BooleanEncoder=void 0;const r=n(7642),o=n(3634);t.BooleanEncoder=class{static encode(e){if(!0===e)return"1";if(!1===e)return"0";throw new o.EncodingError("Unencodable Boolean '"+e+"'")}static decode(e){if("1"===e)return!0;if("0"===e)return!1;throw new r.DecodingError("Undecodable Boolean '"+e+"'")}}},1447(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DatetimeEncoder=void 0;const r=n(7642),o=n(7640);t.DatetimeEncoder=class{static encode(e){return e?o.FixedIntegerEncoder.encode(Math.round(e.getTime()/100),36):o.FixedIntegerEncoder.encode(0,36)}static decode(e){if(!/^[0-1]*$/.test(e)||36!==e.length)throw new r.DecodingError("Undecodable Datetime '"+e+"'");return new Date(100*o.FixedIntegerEncoder.decode(e))}}},2146(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FibonacciIntegerEncoder=void 0;const r=n(7642);t.FibonacciIntegerEncoder=class{static encode(e){let t=[];if(e>=1&&(t.push(1),e>=2)){t.push(2);let n=2;for(;e>=t[n-1]+t[n-2];)t.push(t[n-1]+t[n-2]),n++}let n="1";for(let r=t.length-1;r>=0;r--){let o=t[r];e>=o?(n="1"+n,e-=o):n="0"+n}return n}static decode(e){if(!/^[0-1]*$/.test(e)||e.length<2||e.indexOf("11")!==e.length-2)throw new r.DecodingError("Undecodable FibonacciInteger '"+e+"'");let t=0,n=[];for(let t=0;te-t);let t=[],n=0,o=0;for(;ot)throw new o.EncodingError("Too many values '"+e.length+"'");let n="";for(let t=0;t=1)for(n.push(1);e>=2*n[0];)n.unshift(2*n[0]);let r="";for(let t=0;t=o?(r+="1",e-=o):r+="0"}if(r.length>t)throw new o.EncodingError("Numeric value '"+e+"' is too large for a bit string length of '"+t+"'");for(;r.lengthn)throw new o.EncodingError("Too many values '"+e.length+"'");let r="";for(let n=0;nt*n)throw new r.DecodingError("Undecodable FixedIntegerList '"+e+"'");if(e.length%t!=0)throw new r.DecodingError("Undecodable FixedIntegerList '"+e+"'");for(;e.lengtht*n&&(e=e.substring(0,t*n));let o=[];for(let n=0;ne-t);let t=[],n=0;for(;n=65))throw new o.EncodingError("Unencodable FixedString '"+e+"'");n+=i.FixedIntegerEncoder.encode(e.charCodeAt(t)-65,6)}}return n}static decode(e){if(!/^[0-1]*$/.test(e)||e.length%6!=0)throw new r.DecodingError("Undecodable FixedString '"+e+"'");let t="";for(let n=0;n0?e[e.length-1]:0,n=o.FibonacciIntegerRangeEncoder.encode(e),r=t;if(n.length<=r)return s.FixedIntegerEncoder.encode(t,16)+"1"+n;{let n=[],o=0;for(let r=0;r0?e[e.length-1]:0,n=s.FixedIntegerRangeEncoder.encode(e),r=t;if(n.length<=r)return i.FixedIntegerEncoder.encode(t,16)+"1"+n;{let n=[],s=0;for(let r=0;r{this.fields.set(t,e)})}}},7596(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},6781(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GenericFields=void 0,t.GenericFields=class{constructor(){this.fields=new Map}containsKey(e){return this.fields.has(e)}put(e,t){this.fields.set(e,t)}get(e){return this.fields.get(e)}getAll(){return new Map(this.fields)}reset(e){this.fields.clear(),e.getAll().forEach((e,t)=>{this.fields.set(t,e)})}}},4617(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.HEADER_CORE_SEGMENT_FIELD_NAMES=t.HeaderV1Field=void 0,(r=n=t.HeaderV1Field||(t.HeaderV1Field={})).ID="Id",r.VERSION="Version",r.SECTION_IDS="SectionIds",t.HEADER_CORE_SEGMENT_FIELD_NAMES=[n.ID,n.VERSION,n.SECTION_IDS]},4149(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.TCFCAV1_DISCLOSED_VENDORS_SEGMENT_FIELD_NAMES=t.TCFCAV1_PUBLISHER_PURPOSES_SEGMENT_FIELD_NAMES=t.TCFCAV1_CORE_SEGMENT_FIELD_NAMES=t.TcfCaV1Field=void 0,(r=n=t.TcfCaV1Field||(t.TcfCaV1Field={})).VERSION="Version",r.CREATED="Created",r.LAST_UPDATED="LastUpdated",r.CMP_ID="CmpId",r.CMP_VERSION="CmpVersion",r.CONSENT_SCREEN="ConsentScreen",r.CONSENT_LANGUAGE="ConsentLanguage",r.VENDOR_LIST_VERSION="VendorListVersion",r.TCF_POLICY_VERSION="TcfPolicyVersion",r.USE_NON_STANDARD_STACKS="UseNonStandardStacks",r.SPECIAL_FEATURE_EXPRESS_CONSENT="SpecialFeatureExpressConsent",r.PUB_PURPOSES_SEGMENT_TYPE="PubPurposesSegmentType",r.PURPOSES_EXPRESS_CONSENT="PurposesExpressConsent",r.PURPOSES_IMPLIED_CONSENT="PurposesImpliedConsent",r.VENDOR_EXPRESS_CONSENT="VendorExpressConsent",r.VENDOR_IMPLIED_CONSENT="VendorImpliedConsent",r.PUB_RESTRICTIONS="PubRestrictions",r.PUB_PURPOSES_EXPRESS_CONSENT="PubPurposesExpressConsent",r.PUB_PURPOSES_IMPLIED_CONSENT="PubPurposesImpliedConsent",r.NUM_CUSTOM_PURPOSES="NumCustomPurposes",r.CUSTOM_PURPOSES_EXPRESS_CONSENT="CustomPurposesExpressConsent",r.CUSTOM_PURPOSES_IMPLIED_CONSENT="CustomPurposesImpliedConsent",r.DISCLOSED_VENDORS_SEGMENT_TYPE="DisclosedVendorsSegmentType",r.DISCLOSED_VENDORS="DisclosedVendors",t.TCFCAV1_CORE_SEGMENT_FIELD_NAMES=[n.VERSION,n.CREATED,n.LAST_UPDATED,n.CMP_ID,n.CMP_VERSION,n.CONSENT_SCREEN,n.CONSENT_LANGUAGE,n.VENDOR_LIST_VERSION,n.TCF_POLICY_VERSION,n.USE_NON_STANDARD_STACKS,n.SPECIAL_FEATURE_EXPRESS_CONSENT,n.PURPOSES_EXPRESS_CONSENT,n.PURPOSES_IMPLIED_CONSENT,n.VENDOR_EXPRESS_CONSENT,n.VENDOR_IMPLIED_CONSENT,n.PUB_RESTRICTIONS],t.TCFCAV1_PUBLISHER_PURPOSES_SEGMENT_FIELD_NAMES=[n.PUB_PURPOSES_SEGMENT_TYPE,n.PUB_PURPOSES_EXPRESS_CONSENT,n.PUB_PURPOSES_IMPLIED_CONSENT,n.NUM_CUSTOM_PURPOSES,n.CUSTOM_PURPOSES_EXPRESS_CONSENT,n.CUSTOM_PURPOSES_IMPLIED_CONSENT],t.TCFCAV1_DISCLOSED_VENDORS_SEGMENT_FIELD_NAMES=[n.DISCLOSED_VENDORS_SEGMENT_TYPE,n.DISCLOSED_VENDORS]},6316(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.TCFEUV2_VENDORS_DISCLOSED_SEGMENT_FIELD_NAMES=t.TCFEUV2_VENDORS_ALLOWED_SEGMENT_FIELD_NAMES=t.TCFEUV2_PUBLISHER_PURPOSES_SEGMENT_FIELD_NAMES=t.TCFEUV2_CORE_SEGMENT_FIELD_NAMES=t.TcfEuV2Field=void 0,(r=n=t.TcfEuV2Field||(t.TcfEuV2Field={})).VERSION="Version",r.CREATED="Created",r.LAST_UPDATED="LastUpdated",r.CMP_ID="CmpId",r.CMP_VERSION="CmpVersion",r.CONSENT_SCREEN="ConsentScreen",r.CONSENT_LANGUAGE="ConsentLanguage",r.VENDOR_LIST_VERSION="VendorListVersion",r.POLICY_VERSION="PolicyVersion",r.IS_SERVICE_SPECIFIC="IsServiceSpecific",r.USE_NON_STANDARD_STACKS="UseNonStandardStacks",r.SPECIAL_FEATURE_OPTINS="SpecialFeatureOptins",r.PURPOSE_CONSENTS="PurposeConsents",r.PURPOSE_LEGITIMATE_INTERESTS="PurposeLegitimateInterests",r.PURPOSE_ONE_TREATMENT="PurposeOneTreatment",r.PUBLISHER_COUNTRY_CODE="PublisherCountryCode",r.VENDOR_CONSENTS="VendorConsents",r.VENDOR_LEGITIMATE_INTERESTS="VendorLegitimateInterests",r.PUBLISHER_RESTRICTIONS="PublisherRestrictions",r.PUBLISHER_PURPOSES_SEGMENT_TYPE="PublisherPurposesSegmentType",r.PUBLISHER_CONSENTS="PublisherConsents",r.PUBLISHER_LEGITIMATE_INTERESTS="PublisherLegitimateInterests",r.NUM_CUSTOM_PURPOSES="NumCustomPurposes",r.PUBLISHER_CUSTOM_CONSENTS="PublisherCustomConsents",r.PUBLISHER_CUSTOM_LEGITIMATE_INTERESTS="PublisherCustomLegitimateInterests",r.VENDORS_ALLOWED_SEGMENT_TYPE="VendorsAllowedSegmentType",r.VENDORS_ALLOWED="VendorsAllowed",r.VENDORS_DISCLOSED_SEGMENT_TYPE="VendorsDisclosedSegmentType",r.VENDORS_DISCLOSED="VendorsDisclosed",t.TCFEUV2_CORE_SEGMENT_FIELD_NAMES=[n.VERSION,n.CREATED,n.LAST_UPDATED,n.CMP_ID,n.CMP_VERSION,n.CONSENT_SCREEN,n.CONSENT_LANGUAGE,n.VENDOR_LIST_VERSION,n.POLICY_VERSION,n.IS_SERVICE_SPECIFIC,n.USE_NON_STANDARD_STACKS,n.SPECIAL_FEATURE_OPTINS,n.PURPOSE_CONSENTS,n.PURPOSE_LEGITIMATE_INTERESTS,n.PURPOSE_ONE_TREATMENT,n.PUBLISHER_COUNTRY_CODE,n.VENDOR_CONSENTS,n.VENDOR_LEGITIMATE_INTERESTS,n.PUBLISHER_RESTRICTIONS],t.TCFEUV2_PUBLISHER_PURPOSES_SEGMENT_FIELD_NAMES=[n.PUBLISHER_PURPOSES_SEGMENT_TYPE,n.PUBLISHER_CONSENTS,n.PUBLISHER_LEGITIMATE_INTERESTS,n.NUM_CUSTOM_PURPOSES,n.PUBLISHER_CUSTOM_CONSENTS,n.PUBLISHER_CUSTOM_LEGITIMATE_INTERESTS],t.TCFEUV2_VENDORS_ALLOWED_SEGMENT_FIELD_NAMES=[n.VENDORS_ALLOWED_SEGMENT_TYPE,n.VENDORS_ALLOWED],t.TCFEUV2_VENDORS_DISCLOSED_SEGMENT_FIELD_NAMES=[n.VENDORS_DISCLOSED_SEGMENT_TYPE,n.VENDORS_DISCLOSED]},1877(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.USCA_GPC_SEGMENT_FIELD_NAMES=t.USCA_CORE_SEGMENT_FIELD_NAMES=t.UsCaField=void 0,(r=n=t.UsCaField||(t.UsCaField={})).VERSION="Version",r.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",r.SHARING_OPT_OUT_NOTICE="SharingOptOutNotice",r.SENSITIVE_DATA_LIMIT_USE_NOTICE="SensitiveDataLimitUseNotice",r.SALE_OPT_OUT="SaleOptOut",r.SHARING_OPT_OUT="SharingOptOut",r.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",r.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",r.PERSONAL_DATA_CONSENTS="PersonalDataConsents",r.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",r.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",r.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode",r.GPC_SEGMENT_TYPE="GpcSegmentType",r.GPC_SEGMENT_INCLUDED="GpcSegmentIncluded",r.GPC="Gpc",t.USCA_CORE_SEGMENT_FIELD_NAMES=[n.VERSION,n.SALE_OPT_OUT_NOTICE,n.SHARING_OPT_OUT_NOTICE,n.SENSITIVE_DATA_LIMIT_USE_NOTICE,n.SALE_OPT_OUT,n.SHARING_OPT_OUT,n.SENSITIVE_DATA_PROCESSING,n.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,n.PERSONAL_DATA_CONSENTS,n.MSPA_COVERED_TRANSACTION,n.MSPA_OPT_OUT_OPTION_MODE,n.MSPA_SERVICE_PROVIDER_MODE],t.USCA_GPC_SEGMENT_FIELD_NAMES=[n.GPC_SEGMENT_TYPE,n.GPC]},5599(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.USCO_GPC_SEGMENT_FIELD_NAMES=t.USCO_CORE_SEGMENT_FIELD_NAMES=t.UsCoField=void 0,(r=n=t.UsCoField||(t.UsCoField={})).VERSION="Version",r.SHARING_NOTICE="SharingNotice",r.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",r.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",r.SALE_OPT_OUT="SaleOptOut",r.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",r.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",r.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",r.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",r.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",r.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode",r.GPC_SEGMENT_TYPE="GpcSegmentType",r.GPC_SEGMENT_INCLUDED="GpcSegmentIncluded",r.GPC="Gpc",t.USCO_CORE_SEGMENT_FIELD_NAMES=[n.VERSION,n.SHARING_NOTICE,n.SALE_OPT_OUT_NOTICE,n.TARGETED_ADVERTISING_OPT_OUT_NOTICE,n.SALE_OPT_OUT,n.TARGETED_ADVERTISING_OPT_OUT,n.SENSITIVE_DATA_PROCESSING,n.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,n.MSPA_COVERED_TRANSACTION,n.MSPA_OPT_OUT_OPTION_MODE,n.MSPA_SERVICE_PROVIDER_MODE],t.USCO_GPC_SEGMENT_FIELD_NAMES=[n.GPC_SEGMENT_TYPE,n.GPC]},5404(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.USCT_GPC_SEGMENT_FIELD_NAMES=t.USCT_CORE_SEGMENT_FIELD_NAMES=t.UsCtField=void 0,(r=n=t.UsCtField||(t.UsCtField={})).VERSION="Version",r.SHARING_NOTICE="SharingNotice",r.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",r.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",r.SALE_OPT_OUT="SaleOptOut",r.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",r.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",r.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",r.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",r.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",r.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode",r.GPC_SEGMENT_TYPE="GpcSegmentType",r.GPC_SEGMENT_INCLUDED="GpcSegmentIncluded",r.GPC="Gpc",t.USCT_CORE_SEGMENT_FIELD_NAMES=[n.VERSION,n.SHARING_NOTICE,n.SALE_OPT_OUT_NOTICE,n.TARGETED_ADVERTISING_OPT_OUT_NOTICE,n.SALE_OPT_OUT,n.TARGETED_ADVERTISING_OPT_OUT,n.SENSITIVE_DATA_PROCESSING,n.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,n.MSPA_COVERED_TRANSACTION,n.MSPA_OPT_OUT_OPTION_MODE,n.MSPA_SERVICE_PROVIDER_MODE],t.USCT_GPC_SEGMENT_FIELD_NAMES=[n.GPC_SEGMENT_TYPE,n.GPC]},388(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.USDE_GPC_SEGMENT_FIELD_NAMES=t.USDE_CORE_SEGMENT_FIELD_NAMES=t.UsDeField=void 0,(r=n=t.UsDeField||(t.UsDeField={})).VERSION="Version",r.PROCESSING_NOTICE="ProcessingNotice",r.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",r.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",r.SALE_OPT_OUT="SaleOptOut",r.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",r.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",r.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",r.ADDITIONAL_DATA_PROCESSING_CONSENT="AdditionalDataProcessingConsent",r.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",r.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",r.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode",r.GPC_SEGMENT_TYPE="GpcSegmentType",r.GPC_SEGMENT_INCLUDED="GpcSegmentIncluded",r.GPC="Gpc",t.USDE_CORE_SEGMENT_FIELD_NAMES=[n.VERSION,n.PROCESSING_NOTICE,n.SALE_OPT_OUT_NOTICE,n.TARGETED_ADVERTISING_OPT_OUT_NOTICE,n.SALE_OPT_OUT,n.TARGETED_ADVERTISING_OPT_OUT,n.SENSITIVE_DATA_PROCESSING,n.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,n.ADDITIONAL_DATA_PROCESSING_CONSENT,n.MSPA_COVERED_TRANSACTION,n.MSPA_OPT_OUT_OPTION_MODE,n.MSPA_SERVICE_PROVIDER_MODE],t.USDE_GPC_SEGMENT_FIELD_NAMES=[n.GPC_SEGMENT_TYPE,n.GPC]},5011(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.USFL_CORE_SEGMENT_FIELD_NAMES=t.UsFlField=void 0,(r=n=t.UsFlField||(t.UsFlField={})).VERSION="Version",r.PROCESSING_NOTICE="ProcessingNotice",r.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",r.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",r.SALE_OPT_OUT="SaleOptOut",r.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",r.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",r.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",r.ADDITIONAL_DATA_PROCESSING_CONSENT="AdditionalDataProcessingConsent",r.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",r.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",r.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode",t.USFL_CORE_SEGMENT_FIELD_NAMES=[n.VERSION,n.PROCESSING_NOTICE,n.SALE_OPT_OUT_NOTICE,n.TARGETED_ADVERTISING_OPT_OUT_NOTICE,n.SALE_OPT_OUT,n.TARGETED_ADVERTISING_OPT_OUT,n.SENSITIVE_DATA_PROCESSING,n.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,n.ADDITIONAL_DATA_PROCESSING_CONSENT,n.MSPA_COVERED_TRANSACTION,n.MSPA_OPT_OUT_OPTION_MODE,n.MSPA_SERVICE_PROVIDER_MODE]},403(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.USIA_GPC_SEGMENT_FIELD_NAMES=t.USIA_CORE_SEGMENT_FIELD_NAMES=t.UsIaField=void 0,(r=n=t.UsIaField||(t.UsIaField={})).VERSION="Version",r.PROCESSING_NOTICE="ProcessingNotice",r.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",r.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",r.SENSITIVE_DATA_OPT_OUT_NOTICE="SensitiveDataOptOutNotice",r.SALE_OPT_OUT="SaleOptOut",r.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",r.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",r.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",r.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",r.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",r.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode",r.GPC_SEGMENT_TYPE="GpcSegmentType",r.GPC_SEGMENT_INCLUDED="GpcSegmentIncluded",r.GPC="Gpc",t.USIA_CORE_SEGMENT_FIELD_NAMES=[n.VERSION,n.PROCESSING_NOTICE,n.SALE_OPT_OUT_NOTICE,n.TARGETED_ADVERTISING_OPT_OUT_NOTICE,n.SENSITIVE_DATA_OPT_OUT_NOTICE,n.SALE_OPT_OUT,n.TARGETED_ADVERTISING_OPT_OUT,n.SENSITIVE_DATA_PROCESSING,n.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,n.MSPA_COVERED_TRANSACTION,n.MSPA_OPT_OUT_OPTION_MODE,n.MSPA_SERVICE_PROVIDER_MODE],t.USIA_GPC_SEGMENT_FIELD_NAMES=[n.GPC_SEGMENT_TYPE,n.GPC]},7094(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.USMT_GPC_SEGMENT_FIELD_NAMES=t.USMT_CORE_SEGMENT_FIELD_NAMES=t.UsMtField=void 0,(r=n=t.UsMtField||(t.UsMtField={})).VERSION="Version",r.SHARING_NOTICE="SharingNotice",r.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",r.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",r.SALE_OPT_OUT="SaleOptOut",r.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",r.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",r.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",r.ADDITIONAL_DATA_PROCESSING_CONSENT="AdditionalDataProcessingConsent",r.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",r.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",r.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode",r.GPC_SEGMENT_TYPE="GpcSegmentType",r.GPC_SEGMENT_INCLUDED="GpcSegmentIncluded",r.GPC="Gpc",t.USMT_CORE_SEGMENT_FIELD_NAMES=[n.VERSION,n.SHARING_NOTICE,n.SALE_OPT_OUT_NOTICE,n.TARGETED_ADVERTISING_OPT_OUT_NOTICE,n.SALE_OPT_OUT,n.TARGETED_ADVERTISING_OPT_OUT,n.SENSITIVE_DATA_PROCESSING,n.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,n.ADDITIONAL_DATA_PROCESSING_CONSENT,n.MSPA_COVERED_TRANSACTION,n.MSPA_OPT_OUT_OPTION_MODE,n.MSPA_SERVICE_PROVIDER_MODE],t.USMT_GPC_SEGMENT_FIELD_NAMES=[n.GPC_SEGMENT_TYPE,n.GPC]},8776(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.USNAT_GPC_SEGMENT_FIELD_NAMES=t.USNAT_CORE_SEGMENT_FIELD_NAMES=t.UsNatField=void 0,(r=n=t.UsNatField||(t.UsNatField={})).VERSION="Version",r.SHARING_NOTICE="SharingNotice",r.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",r.SHARING_OPT_OUT_NOTICE="SharingOptOutNotice",r.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",r.SENSITIVE_DATA_PROCESSING_OPT_OUT_NOTICE="SensitiveDataProcessingOptOutNotice",r.SENSITIVE_DATA_LIMIT_USE_NOTICE="SensitiveDataLimitUseNotice",r.SALE_OPT_OUT="SaleOptOut",r.SHARING_OPT_OUT="SharingOptOut",r.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",r.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",r.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",r.PERSONAL_DATA_CONSENTS="PersonalDataConsents",r.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",r.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",r.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode",r.GPC_SEGMENT_TYPE="GpcSegmentType",r.GPC_SEGMENT_INCLUDED="GpcSegmentIncluded",r.GPC="Gpc",t.USNAT_CORE_SEGMENT_FIELD_NAMES=[n.VERSION,n.SHARING_NOTICE,n.SALE_OPT_OUT_NOTICE,n.SHARING_OPT_OUT_NOTICE,n.TARGETED_ADVERTISING_OPT_OUT_NOTICE,n.SENSITIVE_DATA_PROCESSING_OPT_OUT_NOTICE,n.SENSITIVE_DATA_LIMIT_USE_NOTICE,n.SALE_OPT_OUT,n.SHARING_OPT_OUT,n.TARGETED_ADVERTISING_OPT_OUT,n.SENSITIVE_DATA_PROCESSING,n.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,n.PERSONAL_DATA_CONSENTS,n.MSPA_COVERED_TRANSACTION,n.MSPA_OPT_OUT_OPTION_MODE,n.MSPA_SERVICE_PROVIDER_MODE],t.USNAT_GPC_SEGMENT_FIELD_NAMES=[n.GPC_SEGMENT_TYPE,n.GPC]},3486(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.USNE_GPC_SEGMENT_FIELD_NAMES=t.USNE_CORE_SEGMENT_FIELD_NAMES=t.UsNeField=void 0,(r=n=t.UsNeField||(t.UsNeField={})).VERSION="Version",r.PROCESSING_NOTICE="ProcessingNotice",r.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",r.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",r.SALE_OPT_OUT="SaleOptOut",r.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",r.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",r.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",r.ADDITIONAL_DATA_PROCESSING_CONSENT="AdditionalDataProcessingConsent",r.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",r.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",r.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode",r.GPC_SEGMENT_TYPE="GpcSegmentType",r.GPC_SEGMENT_INCLUDED="GpcSegmentIncluded",r.GPC="Gpc",t.USNE_CORE_SEGMENT_FIELD_NAMES=[n.VERSION,n.PROCESSING_NOTICE,n.SALE_OPT_OUT_NOTICE,n.TARGETED_ADVERTISING_OPT_OUT_NOTICE,n.SALE_OPT_OUT,n.TARGETED_ADVERTISING_OPT_OUT,n.SENSITIVE_DATA_PROCESSING,n.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,n.ADDITIONAL_DATA_PROCESSING_CONSENT,n.MSPA_COVERED_TRANSACTION,n.MSPA_OPT_OUT_OPTION_MODE,n.MSPA_SERVICE_PROVIDER_MODE],t.USNE_GPC_SEGMENT_FIELD_NAMES=[n.GPC_SEGMENT_TYPE,n.GPC]},3119(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.USNH_GPC_SEGMENT_FIELD_NAMES=t.USNH_CORE_SEGMENT_FIELD_NAMES=t.UsNhField=void 0,(r=n=t.UsNhField||(t.UsNhField={})).VERSION="Version",r.PROCESSING_NOTICE="ProcessingNotice",r.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",r.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",r.SALE_OPT_OUT="SaleOptOut",r.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",r.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",r.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",r.ADDITIONAL_DATA_PROCESSING_CONSENT="AdditionalDataProcessingConsent",r.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",r.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",r.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode",r.GPC_SEGMENT_TYPE="GpcSegmentType",r.GPC_SEGMENT_INCLUDED="GpcSegmentIncluded",r.GPC="Gpc",t.USNH_CORE_SEGMENT_FIELD_NAMES=[n.VERSION,n.PROCESSING_NOTICE,n.SALE_OPT_OUT_NOTICE,n.TARGETED_ADVERTISING_OPT_OUT_NOTICE,n.SALE_OPT_OUT,n.TARGETED_ADVERTISING_OPT_OUT,n.SENSITIVE_DATA_PROCESSING,n.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,n.ADDITIONAL_DATA_PROCESSING_CONSENT,n.MSPA_COVERED_TRANSACTION,n.MSPA_OPT_OUT_OPTION_MODE,n.MSPA_SERVICE_PROVIDER_MODE],t.USNH_GPC_SEGMENT_FIELD_NAMES=[n.GPC_SEGMENT_TYPE,n.GPC]},2161(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.USNJ_GPC_SEGMENT_FIELD_NAMES=t.USNJ_CORE_SEGMENT_FIELD_NAMES=t.UsNjField=void 0,(r=n=t.UsNjField||(t.UsNjField={})).VERSION="Version",r.PROCESSING_NOTICE="ProcessingNotice",r.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",r.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",r.SALE_OPT_OUT="SaleOptOut",r.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",r.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",r.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",r.ADDITIONAL_DATA_PROCESSING_CONSENT="AdditionalDataProcessingConsent",r.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",r.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",r.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode",r.GPC_SEGMENT_TYPE="GpcSegmentType",r.GPC_SEGMENT_INCLUDED="GpcSegmentIncluded",r.GPC="Gpc",t.USNJ_CORE_SEGMENT_FIELD_NAMES=[n.VERSION,n.PROCESSING_NOTICE,n.SALE_OPT_OUT_NOTICE,n.TARGETED_ADVERTISING_OPT_OUT_NOTICE,n.SALE_OPT_OUT,n.TARGETED_ADVERTISING_OPT_OUT,n.SENSITIVE_DATA_PROCESSING,n.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,n.ADDITIONAL_DATA_PROCESSING_CONSENT,n.MSPA_COVERED_TRANSACTION,n.MSPA_OPT_OUT_OPTION_MODE,n.MSPA_SERVICE_PROVIDER_MODE],t.USNJ_GPC_SEGMENT_FIELD_NAMES=[n.GPC_SEGMENT_TYPE,n.GPC]},8354(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.USOR_GPC_SEGMENT_FIELD_NAMES=t.USOR_CORE_SEGMENT_FIELD_NAMES=t.UsOrField=void 0,(r=n=t.UsOrField||(t.UsOrField={})).VERSION="Version",r.PROCESSING_NOTICE="ProcessingNotice",r.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",r.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",r.SALE_OPT_OUT="SaleOptOut",r.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",r.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",r.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",r.ADDITIONAL_DATA_PROCESSING_CONSENT="AdditionalDataProcessingConsent",r.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",r.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",r.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode",r.GPC_SEGMENT_TYPE="GpcSegmentType",r.GPC_SEGMENT_INCLUDED="GpcSegmentIncluded",r.GPC="Gpc",t.USOR_CORE_SEGMENT_FIELD_NAMES=[n.VERSION,n.PROCESSING_NOTICE,n.SALE_OPT_OUT_NOTICE,n.TARGETED_ADVERTISING_OPT_OUT_NOTICE,n.SALE_OPT_OUT,n.TARGETED_ADVERTISING_OPT_OUT,n.SENSITIVE_DATA_PROCESSING,n.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,n.ADDITIONAL_DATA_PROCESSING_CONSENT,n.MSPA_COVERED_TRANSACTION,n.MSPA_OPT_OUT_OPTION_MODE,n.MSPA_SERVICE_PROVIDER_MODE],t.USOR_GPC_SEGMENT_FIELD_NAMES=[n.GPC_SEGMENT_TYPE,n.GPC]},5095(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.USTN_GPC_SEGMENT_FIELD_NAMES=t.USTN_CORE_SEGMENT_FIELD_NAMES=t.UsTnField=void 0,(r=n=t.UsTnField||(t.UsTnField={})).VERSION="Version",r.PROCESSING_NOTICE="ProcessingNotice",r.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",r.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",r.SALE_OPT_OUT="SaleOptOut",r.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",r.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",r.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",r.ADDITIONAL_DATA_PROCESSING_CONSENT="AdditionalDataProcessingConsent",r.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",r.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",r.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode",r.GPC_SEGMENT_TYPE="GpcSegmentType",r.GPC_SEGMENT_INCLUDED="GpcSegmentIncluded",r.GPC="Gpc",t.USTN_CORE_SEGMENT_FIELD_NAMES=[n.VERSION,n.PROCESSING_NOTICE,n.SALE_OPT_OUT_NOTICE,n.TARGETED_ADVERTISING_OPT_OUT_NOTICE,n.SALE_OPT_OUT,n.TARGETED_ADVERTISING_OPT_OUT,n.SENSITIVE_DATA_PROCESSING,n.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,n.ADDITIONAL_DATA_PROCESSING_CONSENT,n.MSPA_COVERED_TRANSACTION,n.MSPA_OPT_OUT_OPTION_MODE,n.MSPA_SERVICE_PROVIDER_MODE],t.USTN_GPC_SEGMENT_FIELD_NAMES=[n.GPC_SEGMENT_TYPE,n.GPC]},8053(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.USTX_GPC_SEGMENT_FIELD_NAMES=t.USTX_CORE_SEGMENT_FIELD_NAMES=t.UsTxField=void 0,(r=n=t.UsTxField||(t.UsTxField={})).VERSION="Version",r.PROCESSING_NOTICE="ProcessingNotice",r.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",r.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",r.SALE_OPT_OUT="SaleOptOut",r.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",r.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",r.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",r.ADDITIONAL_DATA_PROCESSING_CONSENT="AdditionalDataProcessingConsent",r.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",r.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",r.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode",r.GPC_SEGMENT_TYPE="GpcSegmentType",r.GPC_SEGMENT_INCLUDED="GpcSegmentIncluded",r.GPC="Gpc",t.USTX_CORE_SEGMENT_FIELD_NAMES=[n.VERSION,n.PROCESSING_NOTICE,n.SALE_OPT_OUT_NOTICE,n.TARGETED_ADVERTISING_OPT_OUT_NOTICE,n.SALE_OPT_OUT,n.TARGETED_ADVERTISING_OPT_OUT,n.SENSITIVE_DATA_PROCESSING,n.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,n.ADDITIONAL_DATA_PROCESSING_CONSENT,n.MSPA_COVERED_TRANSACTION,n.MSPA_OPT_OUT_OPTION_MODE,n.MSPA_SERVICE_PROVIDER_MODE],t.USTX_GPC_SEGMENT_FIELD_NAMES=[n.GPC_SEGMENT_TYPE,n.GPC]},1806(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.USUT_CORE_SEGMENT_FIELD_NAMES=t.UsUtField=void 0,(r=n=t.UsUtField||(t.UsUtField={})).VERSION="Version",r.SHARING_NOTICE="SharingNotice",r.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",r.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",r.SENSITIVE_DATA_PROCESSING_OPT_OUT_NOTICE="SensitiveDataProcessingOptOutNotice",r.SALE_OPT_OUT="SaleOptOut",r.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",r.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",r.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",r.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",r.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",r.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode",t.USUT_CORE_SEGMENT_FIELD_NAMES=[n.VERSION,n.SHARING_NOTICE,n.SALE_OPT_OUT_NOTICE,n.TARGETED_ADVERTISING_OPT_OUT_NOTICE,n.SENSITIVE_DATA_PROCESSING_OPT_OUT_NOTICE,n.SALE_OPT_OUT,n.TARGETED_ADVERTISING_OPT_OUT,n.SENSITIVE_DATA_PROCESSING,n.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,n.MSPA_COVERED_TRANSACTION,n.MSPA_OPT_OUT_OPTION_MODE,n.MSPA_SERVICE_PROVIDER_MODE]},5722(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.USVA_CORE_SEGMENT_FIELD_NAMES=t.UsVaField=void 0,(r=n=t.UsVaField||(t.UsVaField={})).VERSION="Version",r.SHARING_NOTICE="SharingNotice",r.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",r.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",r.SALE_OPT_OUT="SaleOptOut",r.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",r.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",r.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",r.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",r.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",r.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode",t.USVA_CORE_SEGMENT_FIELD_NAMES=[n.VERSION,n.SHARING_NOTICE,n.SALE_OPT_OUT_NOTICE,n.TARGETED_ADVERTISING_OPT_OUT_NOTICE,n.SALE_OPT_OUT,n.TARGETED_ADVERTISING_OPT_OUT,n.SENSITIVE_DATA_PROCESSING,n.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,n.MSPA_COVERED_TRANSACTION,n.MSPA_OPT_OUT_OPTION_MODE,n.MSPA_SERVICE_PROVIDER_MODE]},4078(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.USPV1_CORE_SEGMENT_FIELD_NAMES=t.UspV1Field=void 0,(r=n=t.UspV1Field||(t.UspV1Field={})).VERSION="Version",r.NOTICE="Notice",r.OPT_OUT_SALE="OptOutSale",r.LSPA_COVERED="LspaCovered",t.USPV1_CORE_SEGMENT_FIELD_NAMES=[n.VERSION,n.NOTICE,n.OPT_OUT_SALE,n.LSPA_COVERED]},4689(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(7943),t),o(n(7596),t),o(n(6781),t),o(n(4617),t),o(n(4149),t),o(n(6316),t),o(n(1877),t),o(n(5599),t),o(n(5404),t),o(n(388),t),o(n(5011),t),o(n(403),t),o(n(7094),t),o(n(8776),t),o(n(3486),t),o(n(3119),t),o(n(2161),t),o(n(8354),t),o(n(5095),t),o(n(8053),t),o(n(1806),t),o(n(4078),t),o(n(5722),t)},1862(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(2456),t),o(n(3412),t),o(n(1091),t),o(n(5771),t),o(n(4689),t),o(n(8878),t),o(n(8288),t),o(n(5679),t),o(n(4694),t)},509(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractLazilyEncodableSection=void 0;const r=n(7370);t.AbstractLazilyEncodableSection=class{constructor(){this.encodedString=null,this.dirty=!1,this.decoded=!0,this.segments=this.initializeSegments()}hasField(e){this.decoded||(this.segments=this.decodeSection(this.encodedString),this.dirty=!1,this.decoded=!0);for(let t=0;t0&&this.decode(e)}getId(){return i.ID}getName(){return i.NAME}getVersion(){return i.VERSION}initializeSegments(){let e=[];return e.push(new o.HeaderV1CoreSegment),e}decodeSection(e){let t=this.initializeSegments();if(null!=e&&0!==e.length){let n=e.split(".");for(let e=0;ee&&t[e].decode(n[e])}return t}encodeSection(e){let t=[];for(let n=0;n0&&this.decode(e)}getId(){return c.ID}getName(){return c.NAME}getVersion(){return c.VERSION}initializeSegments(){let e=[];return e.push(new o.TcfCaV1CoreSegment),e.push(new i.TcfCaV1PublisherPurposesSegment),e.push(new s.TcfCaV1DisclosedVendorsSegment),e}decodeSection(e){let t=this.initializeSegments();if(null!=e&&0!==e.length){let n=e.split(".");for(let e=0;e="A"&&o<="H")t[0].decode(n[e]);else if(o>="I"&&o<="P")t[2].decode(n[e]);else{if(!(o>="Y"&&o<="Z"||o>="a"&&o<="f"))throw new a.DecodingError("Unable to decode TcfCaV1 segment '"+r+"'");t[1].decode(n[e])}}}}return t}encodeSection(e){let t=[];return t.push(e[0].encode()),t.push(e[1].encode()),this.getFieldValue(r.TcfCaV1Field.DISCLOSED_VENDORS).length>0&&t.push(e[2].encode()),t.join(".")}setFieldValue(e,t){if(super.setFieldValue(e,t),e!==r.TcfCaV1Field.CREATED&&e!==r.TcfCaV1Field.LAST_UPDATED){let e=new Date;super.setFieldValue(r.TcfCaV1Field.CREATED,e),super.setFieldValue(r.TcfCaV1Field.LAST_UPDATED,e)}}}t.TcfCaV1=c,c.ID=5,c.VERSION=1,c.NAME="tcfcav1"},7249(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TcfEuV2=void 0;const r=n(7642),o=n(6316),i=n(5815),s=n(7399),l=n(3509),a=n(1381),c=n(509);class u extends c.AbstractLazilyEncodableSection{constructor(e){super(),e&&e.length>0&&this.decode(e)}getId(){return u.ID}getName(){return u.NAME}getVersion(){return u.VERSION}initializeSegments(){let e=[];return e.push(new i.TcfEuV2CoreSegment),e.push(new s.TcfEuV2PublisherPurposesSegment),e.push(new l.TcfEuV2VendorsAllowedSegment),e.push(new a.TcfEuV2VendorsDisclosedSegment),e}decodeSection(e){let t=this.initializeSegments();if(null!=e&&0!==e.length){let n=e.split(".");for(let e=0;e="A"&&i<="H")t[0].decode(n[e]);else if(i>="I"&&i<="P")t[3].decode(n[e]);else if(i>="Q"&&i<="X")t[2].decode(n[e]);else{if(!(i>="Y"&&i<="Z"||i>="a"&&i<="f"))throw new r.DecodingError("Unable to decode TcfEuV2 segment '"+o+"'");t[1].decode(n[e])}}}}return t}encodeSection(e){let t=[];return e.length>=1&&(t.push(e[0].encode()),this.getFieldValue(o.TcfEuV2Field.IS_SERVICE_SPECIFIC)?e.length>=2&&t.push(e[1].encode()):e.length>=2&&(t.push(e[2].encode()),e.length>=3&&t.push(e[3].encode()))),t.join(".")}setFieldValue(e,t){if(super.setFieldValue(e,t),e!==o.TcfEuV2Field.CREATED&&e!==o.TcfEuV2Field.LAST_UPDATED){let e=new Date;super.setFieldValue(o.TcfEuV2Field.CREATED,e),super.setFieldValue(o.TcfEuV2Field.LAST_UPDATED,e)}}}t.TcfEuV2=u,u.ID=2,u.VERSION=2,u.NAME="tcfeuv2"},8420(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsCa=void 0;const r=n(1877),o=n(3852),i=n(8683),s=n(509);class l extends s.AbstractLazilyEncodableSection{constructor(e){super(),e&&e.length>0&&this.decode(e)}getId(){return l.ID}getName(){return l.NAME}getVersion(){return l.VERSION}initializeSegments(){let e=[];return e.push(new o.UsCaCoreSegment),e.push(new i.UsCaGpcSegment),e}decodeSection(e){let t=this.initializeSegments();if(null!=e&&0!==e.length){let n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(r.UsCaField.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(r.UsCaField.GPC_SEGMENT_INCLUDED,!1)}return t}encodeSection(e){let t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(r.UsCaField.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}t.UsCa=l,l.ID=8,l.VERSION=1,l.NAME="usca"},1690(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsCo=void 0;const r=n(509),o=n(5599),i=n(4314),s=n(8393);class l extends r.AbstractLazilyEncodableSection{constructor(e){super(),e&&e.length>0&&this.decode(e)}getId(){return l.ID}getName(){return l.NAME}getVersion(){return l.VERSION}initializeSegments(){let e=[];return e.push(new i.UsCoCoreSegment),e.push(new s.UsCoGpcSegment),e}decodeSection(e){let t=this.initializeSegments();if(null!=e&&0!==e.length){let n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(o.UsCoField.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(o.UsCoField.GPC_SEGMENT_INCLUDED,!1)}return t}encodeSection(e){let t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(o.UsCoField.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}t.UsCo=l,l.ID=10,l.VERSION=1,l.NAME="usco"},863(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsCt=void 0;const r=n(5404),o=n(5173),i=n(6452),s=n(509);class l extends s.AbstractLazilyEncodableSection{constructor(e){super(),e&&e.length>0&&this.decode(e)}getId(){return l.ID}getName(){return l.NAME}getVersion(){return l.VERSION}initializeSegments(){let e=[];return e.push(new o.UsCtCoreSegment),e.push(new i.UsCtGpcSegment),e}decodeSection(e){let t=this.initializeSegments();if(null!=e&&0!==e.length){let n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(r.UsCtField.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(r.UsCtField.GPC_SEGMENT_INCLUDED,!1)}return t}encodeSection(e){let t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(r.UsCtField.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}t.UsCt=l,l.ID=12,l.VERSION=1,l.NAME="usct"},9883(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsDe=void 0;const r=n(388),o=n(2661),i=n(3364),s=n(509);class l extends s.AbstractLazilyEncodableSection{constructor(e){super(),e&&e.length>0&&this.decode(e)}getId(){return l.ID}getName(){return l.NAME}getVersion(){return l.VERSION}initializeSegments(){let e=[];return e.push(new o.UsDeCoreSegment),e.push(new i.UsDeGpcSegment),e}decodeSection(e){let t=this.initializeSegments();if(null!=e&&0!==e.length){let n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(r.UsDeField.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(r.UsDeField.GPC_SEGMENT_INCLUDED,!1)}return t}encodeSection(e){let t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(r.UsDeField.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}t.UsDe=l,l.ID=17,l.VERSION=1,l.NAME="usde"},4526(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsFl=void 0;const r=n(66),o=n(509);class i extends o.AbstractLazilyEncodableSection{constructor(e){super(),e&&e.length>0&&this.decode(e)}getId(){return i.ID}getName(){return i.NAME}getVersion(){return i.VERSION}initializeSegments(){let e=[];return e.push(new r.UsFlCoreSegment),e}decodeSection(e){let t=this.initializeSegments();if(null!=e&&0!==e.length){let n=e.split(".");for(let e=0;ee&&t[e].decode(n[e])}return t}encodeSection(e){let t=[];for(let n=0;n0&&this.decode(e)}getId(){return l.ID}getName(){return l.NAME}getVersion(){return l.VERSION}initializeSegments(){let e=[];return e.push(new o.UsIaCoreSegment),e.push(new i.UsIaGpcSegment),e}decodeSection(e){let t=this.initializeSegments();if(null!=e&&0!==e.length){let n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(r.UsIaField.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(r.UsIaField.GPC_SEGMENT_INCLUDED,!1)}return t}encodeSection(e){let t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(r.UsIaField.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}t.UsIa=l,l.ID=18,l.VERSION=1,l.NAME="usia"},7017(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsMt=void 0;const r=n(7094),o=n(3175),i=n(1302),s=n(509);class l extends s.AbstractLazilyEncodableSection{constructor(e){super(),e&&e.length>0&&this.decode(e)}getId(){return l.ID}getName(){return l.NAME}getVersion(){return l.VERSION}initializeSegments(){let e=[];return e.push(new o.UsMtCoreSegment),e.push(new i.UsMtGpcSegment),e}decodeSection(e){let t=this.initializeSegments();if(null!=e&&0!==e.length){let n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(r.UsMtField.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(r.UsMtField.GPC_SEGMENT_INCLUDED,!1)}return t}encodeSection(e){let t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(r.UsMtField.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}t.UsMt=l,l.ID=14,l.VERSION=1,l.NAME="usmt"},4161(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsNat=void 0;const r=n(509),o=n(8776),i=n(719),s=n(5502);class l extends r.AbstractLazilyEncodableSection{constructor(e){super(),e&&e.length>0&&this.decode(e)}getId(){return l.ID}getName(){return l.NAME}getVersion(){return l.VERSION}initializeSegments(){let e=[];return e.push(new i.UsNatCoreSegment),e.push(new s.UsNatGpcSegment),e}decodeSection(e){let t=this.initializeSegments();if(null!=e&&0!==e.length){let n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(o.UsNatField.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(o.UsNatField.GPC_SEGMENT_INCLUDED,!1)}return t}encodeSection(e){let t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(o.UsNatField.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}t.UsNat=l,l.ID=7,l.VERSION=1,l.NAME="usnat"},3853(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsNe=void 0;const r=n(3486),o=n(9775),i=n(8718),s=n(509);class l extends s.AbstractLazilyEncodableSection{constructor(e){super(),e&&e.length>0&&this.decode(e)}getId(){return l.ID}getName(){return l.NAME}getVersion(){return l.VERSION}initializeSegments(){let e=[];return e.push(new o.UsNeCoreSegment),e.push(new i.UsNeGpcSegment),e}decodeSection(e){let t=this.initializeSegments();if(null!=e&&0!==e.length){let n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(r.UsNeField.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(r.UsNeField.GPC_SEGMENT_INCLUDED,!1)}return t}encodeSection(e){let t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(r.UsNeField.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}t.UsNe=l,l.ID=19,l.VERSION=1,l.NAME="usne"},6650(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsNh=void 0;const r=n(3119),o=n(4846),i=n(2365),s=n(509);class l extends s.AbstractLazilyEncodableSection{constructor(e){super(),e&&e.length>0&&this.decode(e)}getId(){return l.ID}getName(){return l.NAME}getVersion(){return l.VERSION}initializeSegments(){let e=[];return e.push(new o.UsNhCoreSegment),e.push(new i.UsNhGpcSegment),e}decodeSection(e){let t=this.initializeSegments();if(null!=e&&0!==e.length){let n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(r.UsNhField.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(r.UsNhField.GPC_SEGMENT_INCLUDED,!1)}return t}encodeSection(e){let t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(r.UsNhField.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}t.UsNh=l,l.ID=20,l.VERSION=1,l.NAME="usnh"},9328(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsNj=void 0;const r=n(2161),o=n(2068),i=n(7299),s=n(509);class l extends s.AbstractLazilyEncodableSection{constructor(e){super(),e&&e.length>0&&this.decode(e)}getId(){return l.ID}getName(){return l.NAME}getVersion(){return l.VERSION}initializeSegments(){let e=[];return e.push(new o.UsNjCoreSegment),e.push(new i.UsNjGpcSegment),e}decodeSection(e){let t=this.initializeSegments();if(null!=e&&0!==e.length){let n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(r.UsNjField.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(r.UsNjField.GPC_SEGMENT_INCLUDED,!1)}return t}encodeSection(e){let t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(r.UsNjField.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}t.UsNj=l,l.ID=21,l.VERSION=1,l.NAME="usnj"},2849(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsOr=void 0;const r=n(8354),o=n(8135),i=n(166),s=n(509);class l extends s.AbstractLazilyEncodableSection{constructor(e){super(),e&&e.length>0&&this.decode(e)}getId(){return l.ID}getName(){return l.NAME}getVersion(){return l.VERSION}initializeSegments(){let e=[];return e.push(new o.UsOrCoreSegment),e.push(new i.UsOrGpcSegment),e}decodeSection(e){let t=this.initializeSegments();if(null!=e&&0!==e.length){let n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(r.UsOrField.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(r.UsOrField.GPC_SEGMENT_INCLUDED,!1)}return t}encodeSection(e){let t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(r.UsOrField.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}t.UsOr=l,l.ID=15,l.VERSION=1,l.NAME="usor"},5174(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsTn=void 0;const r=n(5095),o=n(1882),i=n(4713),s=n(509);class l extends s.AbstractLazilyEncodableSection{constructor(e){super(),e&&e.length>0&&this.decode(e)}getId(){return l.ID}getName(){return l.NAME}getVersion(){return l.VERSION}initializeSegments(){let e=[];return e.push(new o.UsTnCoreSegment),e.push(new i.UsTnGpcSegment),e}decodeSection(e){let t=this.initializeSegments();if(null!=e&&0!==e.length){let n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(r.UsTnField.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(r.UsTnField.GPC_SEGMENT_INCLUDED,!1)}return t}encodeSection(e){let t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(r.UsTnField.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}t.UsTn=l,l.ID=22,l.VERSION=1,l.NAME="ustn"},9088(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsTx=void 0;const r=n(8053),o=n(6164),i=n(1011),s=n(509);class l extends s.AbstractLazilyEncodableSection{constructor(e){super(),e&&e.length>0&&this.decode(e)}getId(){return l.ID}getName(){return l.NAME}getVersion(){return l.VERSION}initializeSegments(){let e=[];return e.push(new o.UsTxCoreSegment),e.push(new i.UsTxGpcSegment),e}decodeSection(e){let t=this.initializeSegments();if(null!=e&&0!==e.length){let n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(r.UsTxField.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(r.UsTxField.GPC_SEGMENT_INCLUDED,!1)}return t}encodeSection(e){let t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(r.UsTxField.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}t.UsTx=l,l.ID=16,l.VERSION=1,l.NAME="ustx"},8913(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsUt=void 0;const r=n(8767),o=n(509);class i extends o.AbstractLazilyEncodableSection{constructor(e){super(),e&&e.length>0&&this.decode(e)}getId(){return i.ID}getName(){return i.NAME}getVersion(){return i.VERSION}initializeSegments(){let e=[];return e.push(new r.UsUtCoreSegment),e}decodeSection(e){let t=this.initializeSegments();if(null!=e&&0!==e.length){let n=e.split(".");for(let e=0;ee&&t[e].decode(n[e])}return t}encodeSection(e){let t=[];for(let n=0;n0&&this.decode(e)}getId(){return i.ID}getName(){return i.NAME}getVersion(){return i.VERSION}initializeSegments(){let e=[];return e.push(new r.UsVaCoreSegment),e}decodeSection(e){let t=this.initializeSegments();if(null!=e&&0!==e.length){let n=e.split(".");for(let e=0;ee&&t[e].decode(n[e])}return t}encodeSection(e){let t=[];for(let n=0;n0&&this.decode(e)}getId(){return i.ID}getName(){return i.NAME}getVersion(){return i.VERSION}initializeSegments(){let e=[];return e.push(new r.UspV1CoreSegment),e}decodeSection(e){let t=this.initializeSegments();if(null!=e&&0!==e.length){let n=e.split(".");for(let e=0;ee&&t[e].decode(n[e])}return t}encodeSection(e){let t=[];for(let n=0;nt.getValue(),[])),e.put(d.TcfCaV1Field.CUSTOM_PURPOSES_IMPLIED_CONSENT.toString(),new l.EncodableFlexibleBitfield(()=>t.getValue(),[])),e}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new a.DecodingError("Unable to decode TcfCaV1PublisherPurposesSegment '"+e+"'")}}}t.TcfCaV1PublisherPurposesSegment=h},5815(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TcfEuV2CoreSegment=void 0;const r=n(2277),o=n(3905),i=n(244),s=n(5662),l=n(8933),a=n(6653),c=n(7568),u=n(65),d=n(4360),p=n(7642),h=n(7943),f=n(6316),_=n(6316),E=n(7249),g=n(7577);class m extends g.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.TraditionalBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return f.TCFEUV2_CORE_SEGMENT_FIELD_NAMES}initializeFields(){let e=new Date,t=new h.EncodableBitStringFields;return t.put(_.TcfEuV2Field.VERSION.toString(),new c.EncodableFixedInteger(6,E.TcfEuV2.VERSION)),t.put(_.TcfEuV2Field.CREATED.toString(),new l.EncodableDatetime(e)),t.put(_.TcfEuV2Field.LAST_UPDATED.toString(),new l.EncodableDatetime(e)),t.put(_.TcfEuV2Field.CMP_ID.toString(),new c.EncodableFixedInteger(12,0)),t.put(_.TcfEuV2Field.CMP_VERSION.toString(),new c.EncodableFixedInteger(12,0)),t.put(_.TcfEuV2Field.CONSENT_SCREEN.toString(),new c.EncodableFixedInteger(6,0)),t.put(_.TcfEuV2Field.CONSENT_LANGUAGE.toString(),new u.EncodableFixedString(2,"EN")),t.put(_.TcfEuV2Field.VENDOR_LIST_VERSION.toString(),new c.EncodableFixedInteger(12,0)),t.put(_.TcfEuV2Field.POLICY_VERSION.toString(),new c.EncodableFixedInteger(6,2)),t.put(_.TcfEuV2Field.IS_SERVICE_SPECIFIC.toString(),new s.EncodableBoolean(!1)),t.put(_.TcfEuV2Field.USE_NON_STANDARD_STACKS.toString(),new s.EncodableBoolean(!1)),t.put(_.TcfEuV2Field.SPECIAL_FEATURE_OPTINS.toString(),new a.EncodableFixedBitfield([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1])),t.put(_.TcfEuV2Field.PURPOSE_CONSENTS.toString(),new a.EncodableFixedBitfield([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1])),t.put(_.TcfEuV2Field.PURPOSE_LEGITIMATE_INTERESTS.toString(),new a.EncodableFixedBitfield([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1])),t.put(_.TcfEuV2Field.PURPOSE_ONE_TREATMENT.toString(),new s.EncodableBoolean(!1)),t.put(_.TcfEuV2Field.PUBLISHER_COUNTRY_CODE.toString(),new u.EncodableFixedString(2,"AA")),t.put(_.TcfEuV2Field.VENDOR_CONSENTS.toString(),new d.EncodableOptimizedFixedRange([])),t.put(_.TcfEuV2Field.VENDOR_LEGITIMATE_INTERESTS.toString(),new d.EncodableOptimizedFixedRange([])),t.put(_.TcfEuV2Field.PUBLISHER_RESTRICTIONS.toString(),new i.EncodableArrayOfFixedIntegerRanges(6,2,[],!1)),t}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new p.DecodingError("Unable to decode TcfEuV2CoreSegment '"+e+"'")}}}t.TcfEuV2CoreSegment=m},7399(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TcfEuV2PublisherPurposesSegment=void 0;const r=n(2277),o=n(3905),i=n(6653),s=n(7568),l=n(1342),a=n(7642),c=n(7943),u=n(6316),d=n(6316),p=n(7577);class h extends p.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.TraditionalBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return u.TCFEUV2_PUBLISHER_PURPOSES_SEGMENT_FIELD_NAMES}initializeFields(){let e=new c.EncodableBitStringFields;e.put(d.TcfEuV2Field.PUBLISHER_PURPOSES_SEGMENT_TYPE.toString(),new s.EncodableFixedInteger(3,3)),e.put(d.TcfEuV2Field.PUBLISHER_CONSENTS.toString(),new i.EncodableFixedBitfield([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1])),e.put(d.TcfEuV2Field.PUBLISHER_LEGITIMATE_INTERESTS.toString(),new i.EncodableFixedBitfield([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1]));let t=new s.EncodableFixedInteger(6,0);return e.put(d.TcfEuV2Field.NUM_CUSTOM_PURPOSES.toString(),t),e.put(d.TcfEuV2Field.PUBLISHER_CUSTOM_CONSENTS.toString(),new l.EncodableFlexibleBitfield(()=>t.getValue(),[])),e.put(d.TcfEuV2Field.PUBLISHER_CUSTOM_LEGITIMATE_INTERESTS.toString(),new l.EncodableFlexibleBitfield(()=>t.getValue(),[])),e}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new a.DecodingError("Unable to decode TcfEuV2PublisherPurposesSegment '"+e+"'")}}}t.TcfEuV2PublisherPurposesSegment=h},3509(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TcfEuV2VendorsAllowedSegment=void 0;const r=n(2277),o=n(3905),i=n(7568),s=n(4360),l=n(7642),a=n(7943),c=n(6316),u=n(6316),d=n(7577);class p extends d.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.TraditionalBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.TCFEUV2_VENDORS_ALLOWED_SEGMENT_FIELD_NAMES}initializeFields(){let e=new a.EncodableBitStringFields;return e.put(u.TcfEuV2Field.VENDORS_ALLOWED_SEGMENT_TYPE.toString(),new i.EncodableFixedInteger(3,2)),e.put(u.TcfEuV2Field.VENDORS_ALLOWED.toString(),new s.EncodableOptimizedFixedRange([])),e}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode TcfEuV2VendorsAllowedSegment '"+e+"'")}}}t.TcfEuV2VendorsAllowedSegment=p},1381(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TcfEuV2VendorsDisclosedSegment=void 0;const r=n(2277),o=n(3905),i=n(7568),s=n(4360),l=n(7642),a=n(7943),c=n(6316),u=n(6316),d=n(7577);class p extends d.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.TraditionalBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.TCFEUV2_VENDORS_DISCLOSED_SEGMENT_FIELD_NAMES}initializeFields(){let e=new a.EncodableBitStringFields;return e.put(u.TcfEuV2Field.VENDORS_DISCLOSED_SEGMENT_TYPE.toString(),new i.EncodableFixedInteger(3,1)),e.put(u.TcfEuV2Field.VENDORS_DISCLOSED.toString(),new s.EncodableOptimizedFixedRange([])),e}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode TcfEuV2VendorsDisclosedSegment '"+e+"'")}}}t.TcfEuV2VendorsDisclosedSegment=p},3852(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsCaCoreSegment=void 0;const r=n(7683),o=n(3905),i=n(7568),s=n(1672),l=n(7642),a=n(7943),c=n(1877),u=n(1877),d=n(8420),p=n(7577);class h extends p.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USCA_CORE_SEGMENT_FIELD_NAMES}initializeFields(){const e=new class{test(e){return e>=0&&e<=2}},t=new class{test(e){return e>=1&&e<=2}},n=new class{test(e){for(let t=0;t2)return!1}return!0}};let r=new a.EncodableBitStringFields;return r.put(u.UsCaField.VERSION.toString(),new i.EncodableFixedInteger(6,d.UsCa.VERSION)),r.put(u.UsCaField.SALE_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsCaField.SHARING_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsCaField.SENSITIVE_DATA_LIMIT_USE_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsCaField.SALE_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsCaField.SHARING_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsCaField.SENSITIVE_DATA_PROCESSING.toString(),new s.EncodableFixedIntegerList(2,[0,0,0,0,0,0,0,0,0]).withValidator(n)),r.put(u.UsCaField.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new s.EncodableFixedIntegerList(2,[0,0]).withValidator(n)),r.put(u.UsCaField.PERSONAL_DATA_CONSENTS.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsCaField.MSPA_COVERED_TRANSACTION.toString(),new i.EncodableFixedInteger(2,1).withValidator(t)),r.put(u.UsCaField.MSPA_OPT_OUT_OPTION_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsCaField.MSPA_SERVICE_PROVIDER_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsCaCoreSegment '"+e+"'")}}}t.UsCaCoreSegment=h},8683(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsCaGpcSegment=void 0;const r=n(7683),o=n(3905),i=n(5662),s=n(7568),l=n(7642),a=n(7943),c=n(1877),u=n(1877),d=n(7577);class p extends d.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USCA_GPC_SEGMENT_FIELD_NAMES}initializeFields(){let e=new a.EncodableBitStringFields;return e.put(u.UsCaField.GPC_SEGMENT_TYPE.toString(),new s.EncodableFixedInteger(2,1)),e.put(u.UsCaField.GPC_SEGMENT_INCLUDED.toString(),new i.EncodableBoolean(!0)),e.put(u.UsCaField.GPC.toString(),new i.EncodableBoolean(!1)),e}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsCaGpcSegment '"+e+"'")}}}t.UsCaGpcSegment=p},4314(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsCoCoreSegment=void 0;const r=n(7683),o=n(3905),i=n(7568),s=n(1672),l=n(7642),a=n(7943),c=n(5599),u=n(5599),d=n(1690),p=n(7577);class h extends p.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USCO_CORE_SEGMENT_FIELD_NAMES}initializeFields(){const e=new class{test(e){return e>=0&&e<=2}},t=new class{test(e){return e>=1&&e<=2}},n=new class{test(e){for(let t=0;t2)return!1}return!0}};let r=new a.EncodableBitStringFields;return r.put(u.UsCoField.VERSION.toString(),new i.EncodableFixedInteger(6,d.UsCo.VERSION)),r.put(u.UsCoField.SHARING_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsCoField.SALE_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsCoField.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsCoField.SALE_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsCoField.TARGETED_ADVERTISING_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsCoField.SENSITIVE_DATA_PROCESSING.toString(),new s.EncodableFixedIntegerList(2,[0,0,0,0,0,0,0]).withValidator(n)),r.put(u.UsCoField.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsCoField.MSPA_COVERED_TRANSACTION.toString(),new i.EncodableFixedInteger(2,1).withValidator(t)),r.put(u.UsCoField.MSPA_OPT_OUT_OPTION_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsCoField.MSPA_SERVICE_PROVIDER_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsCoCoreSegment '"+e+"'")}}}t.UsCoCoreSegment=h},8393(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsCoGpcSegment=void 0;const r=n(7683),o=n(3905),i=n(5662),s=n(7568),l=n(7642),a=n(7943),c=n(5599),u=n(5599),d=n(7577);class p extends d.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USCO_GPC_SEGMENT_FIELD_NAMES}initializeFields(){let e=new a.EncodableBitStringFields;return e.put(u.UsCoField.GPC_SEGMENT_TYPE.toString(),new s.EncodableFixedInteger(2,1)),e.put(u.UsCoField.GPC_SEGMENT_INCLUDED.toString(),new i.EncodableBoolean(!0)),e.put(u.UsCoField.GPC.toString(),new i.EncodableBoolean(!1)),e}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsCoGpcSegment '"+e+"'")}}}t.UsCoGpcSegment=p},5173(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsCtCoreSegment=void 0;const r=n(7683),o=n(3905),i=n(7568),s=n(1672),l=n(7642),a=n(7943),c=n(5404),u=n(5404),d=n(863),p=n(7577);class h extends p.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USCT_CORE_SEGMENT_FIELD_NAMES}initializeFields(){const e=new class{test(e){return e>=0&&e<=2}},t=new class{test(e){return e>=1&&e<=2}},n=new class{test(e){for(let t=0;t2)return!1}return!0}};let r=new a.EncodableBitStringFields;return r.put(u.UsCtField.VERSION.toString(),new i.EncodableFixedInteger(6,d.UsCt.VERSION)),r.put(u.UsCtField.SHARING_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsCtField.SALE_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsCtField.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsCtField.SALE_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsCtField.TARGETED_ADVERTISING_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsCtField.SENSITIVE_DATA_PROCESSING.toString(),new s.EncodableFixedIntegerList(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(u.UsCtField.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new s.EncodableFixedIntegerList(2,[0,0,0]).withValidator(n)),r.put(u.UsCtField.MSPA_COVERED_TRANSACTION.toString(),new i.EncodableFixedInteger(2,1).withValidator(t)),r.put(u.UsCtField.MSPA_OPT_OUT_OPTION_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsCtField.MSPA_SERVICE_PROVIDER_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsCtCoreSegment '"+e+"'")}}}t.UsCtCoreSegment=h},6452(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsCtGpcSegment=void 0;const r=n(7683),o=n(3905),i=n(5662),s=n(7568),l=n(7642),a=n(7943),c=n(5404),u=n(5404),d=n(7577);class p extends d.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USCT_GPC_SEGMENT_FIELD_NAMES}initializeFields(){let e=new a.EncodableBitStringFields;return e.put(u.UsCtField.GPC_SEGMENT_TYPE.toString(),new s.EncodableFixedInteger(2,1)),e.put(u.UsCtField.GPC_SEGMENT_INCLUDED.toString(),new i.EncodableBoolean(!0)),e.put(u.UsCtField.GPC.toString(),new i.EncodableBoolean(!1)),e}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsCtGpcSegment '"+e+"'")}}}t.UsCtGpcSegment=p},2661(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsDeCoreSegment=void 0;const r=n(7683),o=n(3905),i=n(7568),s=n(1672),l=n(7642),a=n(7943),c=n(388),u=n(388),d=n(9883),p=n(7577);class h extends p.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USDE_CORE_SEGMENT_FIELD_NAMES}initializeFields(){const e=new class{test(e){return e>=0&&e<=2}},t=new class{test(e){return e>=1&&e<=2}},n=new class{test(e){for(let t=0;t2)return!1}return!0}};let r=new a.EncodableBitStringFields;return r.put(u.UsDeField.VERSION.toString(),new i.EncodableFixedInteger(6,d.UsDe.VERSION)),r.put(u.UsDeField.PROCESSING_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsDeField.SALE_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsDeField.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsDeField.SALE_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsDeField.TARGETED_ADVERTISING_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsDeField.SENSITIVE_DATA_PROCESSING.toString(),new s.EncodableFixedIntegerList(2,[0,0,0,0,0,0,0,0,0]).withValidator(n)),r.put(u.UsDeField.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new s.EncodableFixedIntegerList(2,[0,0,0,0,0]).withValidator(n)),r.put(u.UsDeField.ADDITIONAL_DATA_PROCESSING_CONSENT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsDeField.MSPA_COVERED_TRANSACTION.toString(),new i.EncodableFixedInteger(2,1).withValidator(t)),r.put(u.UsDeField.MSPA_OPT_OUT_OPTION_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsDeField.MSPA_SERVICE_PROVIDER_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsDeCoreSegment '"+e+"'")}}}t.UsDeCoreSegment=h},3364(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsDeGpcSegment=void 0;const r=n(7683),o=n(3905),i=n(5662),s=n(7568),l=n(7642),a=n(7943),c=n(388),u=n(388),d=n(7577);class p extends d.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USDE_GPC_SEGMENT_FIELD_NAMES}initializeFields(){let e=new a.EncodableBitStringFields;return e.put(u.UsDeField.GPC_SEGMENT_TYPE.toString(),new s.EncodableFixedInteger(2,1)),e.put(u.UsDeField.GPC_SEGMENT_INCLUDED.toString(),new i.EncodableBoolean(!0)),e.put(u.UsDeField.GPC.toString(),new i.EncodableBoolean(!1)),e}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsDeGpcSegment '"+e+"'")}}}t.UsDeGpcSegment=p},66(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsFlCoreSegment=void 0;const r=n(7683),o=n(3905),i=n(7568),s=n(1672),l=n(7642),a=n(7943),c=n(5011),u=n(5011),d=n(4526),p=n(7577);class h extends p.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USFL_CORE_SEGMENT_FIELD_NAMES}initializeFields(){const e=new class{test(e){return e>=0&&e<=2}},t=new class{test(e){return e>=1&&e<=2}},n=new class{test(e){for(let t=0;t2)return!1}return!0}};let r=new a.EncodableBitStringFields;return r.put(u.UsFlField.VERSION.toString(),new i.EncodableFixedInteger(6,d.UsFl.VERSION)),r.put(u.UsFlField.PROCESSING_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsFlField.SALE_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsFlField.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsFlField.SALE_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsFlField.TARGETED_ADVERTISING_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsFlField.SENSITIVE_DATA_PROCESSING.toString(),new s.EncodableFixedIntegerList(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(u.UsFlField.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new s.EncodableFixedIntegerList(2,[0,0,0]).withValidator(n)),r.put(u.UsFlField.ADDITIONAL_DATA_PROCESSING_CONSENT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsFlField.MSPA_COVERED_TRANSACTION.toString(),new i.EncodableFixedInteger(2,1).withValidator(t)),r.put(u.UsFlField.MSPA_OPT_OUT_OPTION_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsFlField.MSPA_SERVICE_PROVIDER_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsFlCoreSegment '"+e+"'")}}}t.UsFlCoreSegment=h},7762(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsIaCoreSegment=void 0;const r=n(7683),o=n(3905),i=n(7568),s=n(1672),l=n(7642),a=n(7943),c=n(403),u=n(403),d=n(4682),p=n(7577);class h extends p.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USIA_CORE_SEGMENT_FIELD_NAMES}initializeFields(){const e=new class{test(e){return e>=0&&e<=2}},t=new class{test(e){return e>=1&&e<=2}},n=new class{test(e){for(let t=0;t2)return!1}return!0}};let r=new a.EncodableBitStringFields;return r.put(u.UsIaField.VERSION.toString(),new i.EncodableFixedInteger(6,d.UsIa.VERSION)),r.put(u.UsIaField.PROCESSING_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsIaField.SALE_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsIaField.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsIaField.SENSITIVE_DATA_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsIaField.SALE_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsIaField.TARGETED_ADVERTISING_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsIaField.SENSITIVE_DATA_PROCESSING.toString(),new s.EncodableFixedIntegerList(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(u.UsIaField.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsIaField.MSPA_COVERED_TRANSACTION.toString(),new i.EncodableFixedInteger(2,1).withValidator(t)),r.put(u.UsIaField.MSPA_OPT_OUT_OPTION_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsIaField.MSPA_SERVICE_PROVIDER_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsIaCoreSegment '"+e+"'")}}}t.UsIaCoreSegment=h},7761(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsIaGpcSegment=void 0;const r=n(7683),o=n(3905),i=n(5662),s=n(7568),l=n(7642),a=n(7943),c=n(403),u=n(403),d=n(7577);class p extends d.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USIA_GPC_SEGMENT_FIELD_NAMES}initializeFields(){let e=new a.EncodableBitStringFields;return e.put(u.UsIaField.GPC_SEGMENT_TYPE.toString(),new s.EncodableFixedInteger(2,1)),e.put(u.UsIaField.GPC_SEGMENT_INCLUDED.toString(),new i.EncodableBoolean(!0)),e.put(u.UsIaField.GPC.toString(),new i.EncodableBoolean(!1)),e}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsIaGpcSegment '"+e+"'")}}}t.UsIaGpcSegment=p},3175(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsMtCoreSegment=void 0;const r=n(7683),o=n(3905),i=n(7568),s=n(1672),l=n(7642),a=n(7943),c=n(7094),u=n(7094),d=n(7017),p=n(7577);class h extends p.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USMT_CORE_SEGMENT_FIELD_NAMES}initializeFields(){const e=new class{test(e){return e>=0&&e<=2}},t=new class{test(e){return e>=1&&e<=2}},n=new class{test(e){for(let t=0;t2)return!1}return!0}};let r=new a.EncodableBitStringFields;return r.put(u.UsMtField.VERSION.toString(),new i.EncodableFixedInteger(6,d.UsMt.VERSION)),r.put(u.UsMtField.SHARING_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsMtField.SALE_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsMtField.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsMtField.SALE_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsMtField.TARGETED_ADVERTISING_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsMtField.SENSITIVE_DATA_PROCESSING.toString(),new s.EncodableFixedIntegerList(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(u.UsMtField.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new s.EncodableFixedIntegerList(2,[0,0,0]).withValidator(n)),r.put(u.UsMtField.ADDITIONAL_DATA_PROCESSING_CONSENT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsMtField.MSPA_COVERED_TRANSACTION.toString(),new i.EncodableFixedInteger(2,1).withValidator(t)),r.put(u.UsMtField.MSPA_OPT_OUT_OPTION_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsMtField.MSPA_SERVICE_PROVIDER_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsMtCoreSegment '"+e+"'")}}}t.UsMtCoreSegment=h},1302(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsMtGpcSegment=void 0;const r=n(7683),o=n(3905),i=n(5662),s=n(7568),l=n(7642),a=n(7943),c=n(7094),u=n(7094),d=n(7577);class p extends d.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USMT_GPC_SEGMENT_FIELD_NAMES}initializeFields(){let e=new a.EncodableBitStringFields;return e.put(u.UsMtField.GPC_SEGMENT_TYPE.toString(),new s.EncodableFixedInteger(2,1)),e.put(u.UsMtField.GPC_SEGMENT_INCLUDED.toString(),new i.EncodableBoolean(!0)),e.put(u.UsMtField.GPC.toString(),new i.EncodableBoolean(!1)),e}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsMtGpcSegment '"+e+"'")}}}t.UsMtGpcSegment=p},719(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsNatCoreSegment=void 0;const r=n(7683),o=n(3905),i=n(7568),s=n(1672),l=n(7642),a=n(7943),c=n(8776),u=n(8776),d=n(4161),p=n(7577);class h extends p.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USNAT_CORE_SEGMENT_FIELD_NAMES}initializeFields(){const e=new class{test(e){return e>=0&&e<=2}},t=new class{test(e){return e>=1&&e<=2}},n=new class{test(e){for(let t=0;t2)return!1}return!0}};let r=new a.EncodableBitStringFields;return r.put(u.UsNatField.VERSION.toString(),new i.EncodableFixedInteger(6,d.UsNat.VERSION)),r.put(u.UsNatField.SHARING_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNatField.SALE_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNatField.SHARING_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNatField.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNatField.SENSITIVE_DATA_PROCESSING_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNatField.SENSITIVE_DATA_LIMIT_USE_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNatField.SALE_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNatField.SHARING_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNatField.TARGETED_ADVERTISING_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNatField.SENSITIVE_DATA_PROCESSING.toString(),new s.EncodableFixedIntegerList(2,[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]).withValidator(n)),r.put(u.UsNatField.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new s.EncodableFixedIntegerList(2,[0,0,0]).withValidator(n)),r.put(u.UsNatField.PERSONAL_DATA_CONSENTS.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNatField.MSPA_COVERED_TRANSACTION.toString(),new i.EncodableFixedInteger(2,1).withValidator(t)),r.put(u.UsNatField.MSPA_OPT_OUT_OPTION_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNatField.MSPA_SERVICE_PROVIDER_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);66==n.length&&(n=n.substring(0,48)+"00000000"+n.substring(48,52)+"00"+n.substring(52,62)),this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsNatCoreSegment '"+e+"'")}}}t.UsNatCoreSegment=h},5502(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsNatGpcSegment=void 0;const r=n(7683),o=n(3905),i=n(5662),s=n(7568),l=n(7642),a=n(7943),c=n(8776),u=n(8776),d=n(7577);class p extends d.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USNAT_GPC_SEGMENT_FIELD_NAMES}initializeFields(){let e=new a.EncodableBitStringFields;return e.put(u.UsNatField.GPC_SEGMENT_TYPE.toString(),new s.EncodableFixedInteger(2,1)),e.put(u.UsNatField.GPC_SEGMENT_INCLUDED.toString(),new i.EncodableBoolean(!0)),e.put(u.UsNatField.GPC.toString(),new i.EncodableBoolean(!1)),e}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsNatGpcSegment '"+e+"'")}}}t.UsNatGpcSegment=p},9775(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsNeCoreSegment=void 0;const r=n(7683),o=n(3905),i=n(7568),s=n(1672),l=n(7642),a=n(7943),c=n(3486),u=n(3486),d=n(3853),p=n(7577);class h extends p.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USNE_CORE_SEGMENT_FIELD_NAMES}initializeFields(){const e=new class{test(e){return e>=0&&e<=2}},t=new class{test(e){return e>=1&&e<=2}},n=new class{test(e){for(let t=0;t2)return!1}return!0}};let r=new a.EncodableBitStringFields;return r.put(u.UsNeField.VERSION.toString(),new i.EncodableFixedInteger(6,d.UsNe.VERSION)),r.put(u.UsNeField.PROCESSING_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNeField.SALE_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNeField.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNeField.SALE_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNeField.TARGETED_ADVERTISING_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNeField.SENSITIVE_DATA_PROCESSING.toString(),new s.EncodableFixedIntegerList(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(u.UsNeField.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNeField.ADDITIONAL_DATA_PROCESSING_CONSENT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNeField.MSPA_COVERED_TRANSACTION.toString(),new i.EncodableFixedInteger(2,1).withValidator(t)),r.put(u.UsNeField.MSPA_OPT_OUT_OPTION_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNeField.MSPA_SERVICE_PROVIDER_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsNeCoreSegment '"+e+"'")}}}t.UsNeCoreSegment=h},8718(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsNeGpcSegment=void 0;const r=n(7683),o=n(3905),i=n(5662),s=n(7568),l=n(7642),a=n(7943),c=n(3486),u=n(3486),d=n(7577);class p extends d.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USNE_GPC_SEGMENT_FIELD_NAMES}initializeFields(){let e=new a.EncodableBitStringFields;return e.put(u.UsNeField.GPC_SEGMENT_TYPE.toString(),new s.EncodableFixedInteger(2,1)),e.put(u.UsNeField.GPC_SEGMENT_INCLUDED.toString(),new i.EncodableBoolean(!0)),e.put(u.UsNeField.GPC.toString(),new i.EncodableBoolean(!1)),e}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsNeGpcSegment '"+e+"'")}}}t.UsNeGpcSegment=p},4846(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsNhCoreSegment=void 0;const r=n(7683),o=n(3905),i=n(7568),s=n(1672),l=n(7642),a=n(7943),c=n(3119),u=n(3119),d=n(6650),p=n(7577);class h extends p.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USNH_CORE_SEGMENT_FIELD_NAMES}initializeFields(){const e=new class{test(e){return e>=0&&e<=2}},t=new class{test(e){return e>=1&&e<=2}},n=new class{test(e){for(let t=0;t2)return!1}return!0}};let r=new a.EncodableBitStringFields;return r.put(u.UsNhField.VERSION.toString(),new i.EncodableFixedInteger(6,d.UsNh.VERSION)),r.put(u.UsNhField.PROCESSING_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNhField.SALE_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNhField.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNhField.SALE_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNhField.TARGETED_ADVERTISING_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNhField.SENSITIVE_DATA_PROCESSING.toString(),new s.EncodableFixedIntegerList(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(u.UsNhField.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new s.EncodableFixedIntegerList(2,[0,0,0]).withValidator(n)),r.put(u.UsNhField.ADDITIONAL_DATA_PROCESSING_CONSENT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNhField.MSPA_COVERED_TRANSACTION.toString(),new i.EncodableFixedInteger(2,1).withValidator(t)),r.put(u.UsNhField.MSPA_OPT_OUT_OPTION_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNhField.MSPA_SERVICE_PROVIDER_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsNhCoreSegment '"+e+"'")}}}t.UsNhCoreSegment=h},2365(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsNhGpcSegment=void 0;const r=n(7683),o=n(3905),i=n(5662),s=n(7568),l=n(7642),a=n(7943),c=n(3119),u=n(3119),d=n(7577);class p extends d.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USNH_GPC_SEGMENT_FIELD_NAMES}initializeFields(){let e=new a.EncodableBitStringFields;return e.put(u.UsNhField.GPC_SEGMENT_TYPE.toString(),new s.EncodableFixedInteger(2,1)),e.put(u.UsNhField.GPC_SEGMENT_INCLUDED.toString(),new i.EncodableBoolean(!0)),e.put(u.UsNhField.GPC.toString(),new i.EncodableBoolean(!1)),e}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsNhGpcSegment '"+e+"'")}}}t.UsNhGpcSegment=p},2068(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsNjCoreSegment=void 0;const r=n(7683),o=n(3905),i=n(7568),s=n(1672),l=n(7642),a=n(7943),c=n(2161),u=n(2161),d=n(9328),p=n(7577);class h extends p.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USNJ_CORE_SEGMENT_FIELD_NAMES}initializeFields(){const e=new class{test(e){return e>=0&&e<=2}},t=new class{test(e){return e>=1&&e<=2}},n=new class{test(e){for(let t=0;t2)return!1}return!0}};let r=new a.EncodableBitStringFields;return r.put(u.UsNjField.VERSION.toString(),new i.EncodableFixedInteger(6,d.UsNj.VERSION)),r.put(u.UsNjField.PROCESSING_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNjField.SALE_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNjField.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNjField.SALE_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNjField.TARGETED_ADVERTISING_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNjField.SENSITIVE_DATA_PROCESSING.toString(),new s.EncodableFixedIntegerList(2,[0,0,0,0,0,0,0,0,0,0]).withValidator(n)),r.put(u.UsNjField.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new s.EncodableFixedIntegerList(2,[0,0,0,0,0]).withValidator(n)),r.put(u.UsNjField.ADDITIONAL_DATA_PROCESSING_CONSENT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNjField.MSPA_COVERED_TRANSACTION.toString(),new i.EncodableFixedInteger(2,1).withValidator(t)),r.put(u.UsNjField.MSPA_OPT_OUT_OPTION_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsNjField.MSPA_SERVICE_PROVIDER_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsNjCoreSegment '"+e+"'")}}}t.UsNjCoreSegment=h},7299(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsNjGpcSegment=void 0;const r=n(7683),o=n(3905),i=n(5662),s=n(7568),l=n(7642),a=n(7943),c=n(2161),u=n(2161),d=n(7577);class p extends d.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USNJ_GPC_SEGMENT_FIELD_NAMES}initializeFields(){let e=new a.EncodableBitStringFields;return e.put(u.UsNjField.GPC_SEGMENT_TYPE.toString(),new s.EncodableFixedInteger(2,1)),e.put(u.UsNjField.GPC_SEGMENT_INCLUDED.toString(),new i.EncodableBoolean(!0)),e.put(u.UsNjField.GPC.toString(),new i.EncodableBoolean(!1)),e}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsNjGpcSegment '"+e+"'")}}}t.UsNjGpcSegment=p},8135(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsOrCoreSegment=void 0;const r=n(7683),o=n(3905),i=n(7568),s=n(1672),l=n(7642),a=n(7943),c=n(8354),u=n(8354),d=n(2849),p=n(7577);class h extends p.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USOR_CORE_SEGMENT_FIELD_NAMES}initializeFields(){const e=new class{test(e){return e>=0&&e<=2}},t=new class{test(e){return e>=1&&e<=2}},n=new class{test(e){for(let t=0;t2)return!1}return!0}};let r=new a.EncodableBitStringFields;return r.put(u.UsOrField.VERSION.toString(),new i.EncodableFixedInteger(6,d.UsOr.VERSION)),r.put(u.UsOrField.PROCESSING_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsOrField.SALE_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsOrField.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsOrField.SALE_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsOrField.TARGETED_ADVERTISING_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsOrField.SENSITIVE_DATA_PROCESSING.toString(),new s.EncodableFixedIntegerList(2,[0,0,0,0,0,0,0,0,0,0,0]).withValidator(n)),r.put(u.UsOrField.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new s.EncodableFixedIntegerList(2,[0,0,0]).withValidator(n)),r.put(u.UsOrField.ADDITIONAL_DATA_PROCESSING_CONSENT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsOrField.MSPA_COVERED_TRANSACTION.toString(),new i.EncodableFixedInteger(2,1).withValidator(t)),r.put(u.UsOrField.MSPA_OPT_OUT_OPTION_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsOrField.MSPA_SERVICE_PROVIDER_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsOrCoreSegment '"+e+"'")}}}t.UsOrCoreSegment=h},166(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsOrGpcSegment=void 0;const r=n(7683),o=n(3905),i=n(5662),s=n(7568),l=n(7642),a=n(7943),c=n(8354),u=n(8354),d=n(7577);class p extends d.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USOR_GPC_SEGMENT_FIELD_NAMES}initializeFields(){let e=new a.EncodableBitStringFields;return e.put(u.UsOrField.GPC_SEGMENT_TYPE.toString(),new s.EncodableFixedInteger(2,1)),e.put(u.UsOrField.GPC_SEGMENT_INCLUDED.toString(),new i.EncodableBoolean(!0)),e.put(u.UsOrField.GPC.toString(),new i.EncodableBoolean(!1)),e}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsOrGpcSegment '"+e+"'")}}}t.UsOrGpcSegment=p},1882(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsTnCoreSegment=void 0;const r=n(7683),o=n(3905),i=n(7568),s=n(1672),l=n(7642),a=n(7943),c=n(5095),u=n(5095),d=n(5174),p=n(7577);class h extends p.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USTN_CORE_SEGMENT_FIELD_NAMES}initializeFields(){const e=new class{test(e){return e>=0&&e<=2}},t=new class{test(e){return e>=1&&e<=2}},n=new class{test(e){for(let t=0;t2)return!1}return!0}};let r=new a.EncodableBitStringFields;return r.put(u.UsTnField.VERSION.toString(),new i.EncodableFixedInteger(6,d.UsTn.VERSION)),r.put(u.UsTnField.PROCESSING_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsTnField.SALE_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsTnField.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsTnField.SALE_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsTnField.TARGETED_ADVERTISING_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsTnField.SENSITIVE_DATA_PROCESSING.toString(),new s.EncodableFixedIntegerList(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(u.UsTnField.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsTnField.ADDITIONAL_DATA_PROCESSING_CONSENT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsTnField.MSPA_COVERED_TRANSACTION.toString(),new i.EncodableFixedInteger(2,1).withValidator(t)),r.put(u.UsTnField.MSPA_OPT_OUT_OPTION_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsTnField.MSPA_SERVICE_PROVIDER_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsTnCoreSegment '"+e+"'")}}}t.UsTnCoreSegment=h},4713(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsTnGpcSegment=void 0;const r=n(7683),o=n(3905),i=n(5662),s=n(7568),l=n(7642),a=n(7943),c=n(5095),u=n(5095),d=n(7577);class p extends d.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USTN_GPC_SEGMENT_FIELD_NAMES}initializeFields(){let e=new a.EncodableBitStringFields;return e.put(u.UsTnField.GPC_SEGMENT_TYPE.toString(),new s.EncodableFixedInteger(2,1)),e.put(u.UsTnField.GPC_SEGMENT_INCLUDED.toString(),new i.EncodableBoolean(!0)),e.put(u.UsTnField.GPC.toString(),new i.EncodableBoolean(!1)),e}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsTnGpcSegment '"+e+"'")}}}t.UsTnGpcSegment=p},6164(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsTxCoreSegment=void 0;const r=n(7683),o=n(3905),i=n(7568),s=n(1672),l=n(7642),a=n(7943),c=n(8053),u=n(8053),d=n(9088),p=n(7577);class h extends p.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USTX_CORE_SEGMENT_FIELD_NAMES}initializeFields(){const e=new class{test(e){return e>=0&&e<=2}},t=new class{test(e){return e>=1&&e<=2}},n=new class{test(e){for(let t=0;t2)return!1}return!0}};let r=new a.EncodableBitStringFields;return r.put(u.UsTxField.VERSION.toString(),new i.EncodableFixedInteger(6,d.UsTx.VERSION)),r.put(u.UsTxField.PROCESSING_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsTxField.SALE_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsTxField.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsTxField.SALE_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsTxField.TARGETED_ADVERTISING_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsTxField.SENSITIVE_DATA_PROCESSING.toString(),new s.EncodableFixedIntegerList(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(u.UsTxField.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsTxField.ADDITIONAL_DATA_PROCESSING_CONSENT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsTxField.MSPA_COVERED_TRANSACTION.toString(),new i.EncodableFixedInteger(2,1).withValidator(t)),r.put(u.UsTxField.MSPA_OPT_OUT_OPTION_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsTxField.MSPA_SERVICE_PROVIDER_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsTxCoreSegment '"+e+"'")}}}t.UsTxCoreSegment=h},1011(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsTxGpcSegment=void 0;const r=n(7683),o=n(3905),i=n(5662),s=n(7568),l=n(7642),a=n(7943),c=n(8053),u=n(8053),d=n(7577);class p extends d.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USTX_GPC_SEGMENT_FIELD_NAMES}initializeFields(){let e=new a.EncodableBitStringFields;return e.put(u.UsTxField.GPC_SEGMENT_TYPE.toString(),new s.EncodableFixedInteger(2,1)),e.put(u.UsTxField.GPC_SEGMENT_INCLUDED.toString(),new i.EncodableBoolean(!0)),e.put(u.UsTxField.GPC.toString(),new i.EncodableBoolean(!1)),e}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsTxGpcSegment '"+e+"'")}}}t.UsTxGpcSegment=p},8767(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsUtCoreSegment=void 0;const r=n(7683),o=n(3905),i=n(7568),s=n(1672),l=n(7642),a=n(7943),c=n(1806),u=n(1806),d=n(8913),p=n(7577);class h extends p.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USUT_CORE_SEGMENT_FIELD_NAMES}initializeFields(){const e=new class{test(e){return e>=0&&e<=2}},t=new class{test(e){return e>=1&&e<=2}},n=new class{test(e){for(let t=0;t2)return!1}return!0}};let r=new a.EncodableBitStringFields;return r.put(u.UsUtField.VERSION.toString(),new i.EncodableFixedInteger(6,d.UsUt.VERSION)),r.put(u.UsUtField.SHARING_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsUtField.SALE_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsUtField.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsUtField.SENSITIVE_DATA_PROCESSING_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsUtField.SALE_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsUtField.TARGETED_ADVERTISING_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsUtField.SENSITIVE_DATA_PROCESSING.toString(),new s.EncodableFixedIntegerList(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(u.UsUtField.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsUtField.MSPA_COVERED_TRANSACTION.toString(),new i.EncodableFixedInteger(2,1).withValidator(t)),r.put(u.UsUtField.MSPA_OPT_OUT_OPTION_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsUtField.MSPA_SERVICE_PROVIDER_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsUtCoreSegment '"+e+"'")}}}t.UsUtCoreSegment=h},203(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsVaCoreSegment=void 0;const r=n(7683),o=n(3905),i=n(7568),s=n(1672),l=n(7642),a=n(7943),c=n(5722),u=n(5722),d=n(5977),p=n(7577);class h extends p.AbstractLazilyEncodableSegment{constructor(e){super(),this.base64UrlEncoder=r.CompressedBase64UrlEncoder.getInstance(),this.bitStringEncoder=o.BitStringEncoder.getInstance(),e&&this.decode(e)}getFieldNames(){return c.USVA_CORE_SEGMENT_FIELD_NAMES}initializeFields(){const e=new class{test(e){return e>=0&&e<=2}},t=new class{test(e){return e>=1&&e<=2}},n=new class{test(e){for(let t=0;t2)return!1}return!0}};let r=new a.EncodableBitStringFields;return r.put(u.UsVaField.VERSION.toString(),new i.EncodableFixedInteger(6,d.UsVa.VERSION)),r.put(u.UsVaField.SHARING_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsVaField.SALE_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsVaField.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsVaField.SALE_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsVaField.TARGETED_ADVERTISING_OPT_OUT.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsVaField.SENSITIVE_DATA_PROCESSING.toString(),new s.EncodableFixedIntegerList(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(u.UsVaField.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsVaField.MSPA_COVERED_TRANSACTION.toString(),new i.EncodableFixedInteger(2,1).withValidator(t)),r.put(u.UsVaField.MSPA_OPT_OUT_OPTION_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r.put(u.UsVaField.MSPA_SERVICE_PROVIDER_MODE.toString(),new i.EncodableFixedInteger(2,0).withValidator(e)),r}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new l.DecodingError("Unable to decode UsVaCoreSegment '"+e+"'")}}}t.UsVaCoreSegment=h},1905(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UspV1CoreSegment=void 0;const r=n(8678),o=n(4939),i=n(7642),s=n(6781),l=n(4078),a=n(4078),c=n(3047),u=n(7577);class d extends u.AbstractLazilyEncodableSegment{constructor(e){super(),e&&this.decode(e)}getFieldNames(){return l.USPV1_CORE_SEGMENT_FIELD_NAMES}initializeFields(){const e=new class{test(e){return"-"===e||"Y"===e||"N"===e}};let t=new s.GenericFields;return t.put(a.UspV1Field.VERSION,new o.UnencodableInteger(c.UspV1.VERSION)),t.put(a.UspV1Field.NOTICE,new r.UnencodableCharacter("-",e)),t.put(a.UspV1Field.OPT_OUT_SALE,new r.UnencodableCharacter("-",e)),t.put(a.UspV1Field.LSPA_COVERED,new r.UnencodableCharacter("-",e)),t}encodeSegment(e){let t="";return t+=e.get(a.UspV1Field.VERSION).getValue(),t+=e.get(a.UspV1Field.NOTICE).getValue(),t+=e.get(a.UspV1Field.OPT_OUT_SALE).getValue(),t+=e.get(a.UspV1Field.LSPA_COVERED).getValue(),t}decodeSegment(e,t){if(null==e||4!=e.length)throw new i.DecodingError("Unable to decode UspV1CoreSegment '"+e+"'");try{t.get(a.UspV1Field.VERSION).setValue(parseInt(e.substring(0,1))),t.get(a.UspV1Field.NOTICE).setValue(e.charAt(1)),t.get(a.UspV1Field.OPT_OUT_SALE).setValue(e.charAt(2)),t.get(a.UspV1Field.LSPA_COVERED).setValue(e.charAt(3))}catch(t){throw new i.DecodingError("Unable to decode UspV1CoreSegment '"+e+"'")}}}t.UspV1CoreSegment=d},8288(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(7577),t),o(n(3626),t),o(n(224),t),o(n(6698),t),o(n(2028),t),o(n(2418),t),o(n(5815),t),o(n(7399),t),o(n(3509),t),o(n(2418),t),o(n(3852),t),o(n(8683),t),o(n(4314),t),o(n(8393),t),o(n(5173),t),o(n(6452),t),o(n(2661),t),o(n(3364),t),o(n(66),t),o(n(7762),t),o(n(7761),t),o(n(719),t),o(n(9775),t),o(n(8718),t),o(n(4846),t),o(n(2365),t),o(n(2068),t),o(n(7299),t),o(n(3175),t),o(n(1302),t),o(n(5502),t),o(n(1905),t),o(n(8135),t),o(n(166),t),o(n(1882),t),o(n(4713),t),o(n(6164),t),o(n(1011),t),o(n(8767),t),o(n(203),t)},1570(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StringUtil=void 0;const r=n(9112);t.StringUtil=class{static substring(e,t,n){if(n>e.length||t<0||t>n)throw new r.SubstringError("Invalid substring indexes "+t+":"+n+" for string of length "+e.length);return e.substring(t,n)}}},5679(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(1570),t)},5056(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JsonHttpClient=void 0,t.JsonHttpClient=class{static absCall(e,t,n,r){return new Promise((o,i)=>{const s=new XMLHttpRequest;s.withCredentials=n,s.addEventListener("load",()=>{if(s.readyState==XMLHttpRequest.DONE)if(s.status>=200&&s.status<300){let e=s.response;if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}o(e)}else i(new Error(`HTTP Status: ${s.status} response type: ${s.responseType}`))}),s.addEventListener("error",()=>{i(new Error("error"))}),s.addEventListener("abort",()=>{i(new Error("aborted"))}),null===t?s.open("GET",e,!0):s.open("POST",e,!0),s.responseType="json",s.timeout=r,s.ontimeout=()=>{i(new Error("Timeout "+r+"ms "+e))},s.send(t)})}static post(e,t,n=!1,r=0){return this.absCall(e,JSON.stringify(t),n,r)}static fetch(e,t=!1,n=0){return this.absCall(e,null,t,n)}}},1809(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(5056),t)},3497(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GVLError=void 0;class n extends Error{constructor(e){super(e),this.name="GVLError"}}t.GVLError=n},2740(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(3497),t)},5847(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},7737(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConsentLanguages=void 0;class n{has(e){return n.langSet.has(e)}forEach(e){n.langSet.forEach(e)}get size(){return n.langSet.size}}t.ConsentLanguages=n,n.langSet=new Set(["AR","BG","BS","CA","CS","CY","DA","DE","EL","EN","ES","ET","EU","FI","FR","GL","HE","HR","HU","ID","IT","JA","KA","KO","LT","LV","MK","MS","MT","NL","NO","PL","PT-BR","PT-PT","RO","RU","SK","SL","SQ","SR-LATN","SR-CYRL","SV","SW","TH","TL","TR","UK","VI","ZH"])},9656(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},833(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},7840(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},6408(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},299(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9825(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},6128(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3298(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},2550(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4074(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3326(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(5847),t),o(n(7737),t),o(n(833),t),o(n(7840),t),o(n(6408),t),o(n(299),t),o(n(9825),t),o(n(6128),t),o(n(3298),t),o(n(2550),t),o(n(4074),t),o(n(9656),t)},3977(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(1809),t),o(n(2740),t),o(n(3326),t)},9877(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(6106),t),o(n(1862),t),o(n(3977),t),o(n(6961),t),o(n(3130),t)},3076(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o=n))throw new Error("Invalid ".concat(t,": ").concat(e))},e.prototype.update=function(e,t){if(void 0===t&&(t=!1),r.CmpApiModel.disabled)throw new Error("CmpApi Disabled");r.CmpApiModel.cmpStatus=o.CmpStatus.LOADED,t?(r.CmpApiModel.displayStatus=o.DisplayStatus.VISIBLE,r.CmpApiModel.eventStatus=o.EventStatus.CMP_UI_SHOWN):void 0===r.CmpApiModel.tcModel?(r.CmpApiModel.displayStatus=o.DisplayStatus.DISABLED,r.CmpApiModel.eventStatus=o.EventStatus.TC_LOADED):(r.CmpApiModel.displayStatus=o.DisplayStatus.HIDDEN,r.CmpApiModel.eventStatus=o.EventStatus.USER_ACTION_COMPLETE),r.CmpApiModel.gdprApplies=null!==e,r.CmpApiModel.gdprApplies?(""===e?(r.CmpApiModel.tcModel=new s.TCModel,r.CmpApiModel.tcModel.cmpId=r.CmpApiModel.cmpId,r.CmpApiModel.tcModel.cmpVersion=r.CmpApiModel.cmpVersion):r.CmpApiModel.tcModel=s.TCString.decode(e),r.CmpApiModel.tcModel.isServiceSpecific=this.isServiceSpecific,r.CmpApiModel.tcfPolicyVersion=Number(r.CmpApiModel.tcModel.policyVersion),r.CmpApiModel.tcString=e):r.CmpApiModel.tcModel=null,0===this.numUpdates?this.callResponder.purgeQueuedCalls():r.CmpApiModel.eventQueue.exec(),this.numUpdates++},e.prototype.disable=function(){r.CmpApiModel.disabled=!0,r.CmpApiModel.cmpStatus=o.CmpStatus.ERROR},e}();t.CmpApi=l},7392(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CmpApiModel=void 0;var r=n(7517),o=n(6903),i=function(){function e(){}return e.reset=function(){delete this.cmpId,delete this.cmpVersion,delete this.eventStatus,delete this.gdprApplies,delete this.tcModel,delete this.tcString,delete this.tcfPolicyVersion,this.cmpStatus=r.CmpStatus.LOADING,this.disabled=!1,this.displayStatus=r.DisplayStatus.HIDDEN,this.eventQueue.clear()},e.apiVersion="2",e.eventQueue=new o.EventListenerQueue,e.cmpStatus=r.CmpStatus.LOADING,e.disabled=!1,e.displayStatus=r.DisplayStatus.HIDDEN,e}();t.CmpApiModel=i},849(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},6903(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventListenerQueue=void 0;var r=n(2044),o=function(){function e(){this.eventQueue=new Map,this.queueNumber=0}return e.prototype.add=function(e){return this.eventQueue.set(this.queueNumber,e),this.queueNumber++},e.prototype.remove=function(e){return this.eventQueue.delete(e)},e.prototype.exec=function(){this.eventQueue.forEach(function(e,t){new r.GetTCDataCommand(e.callback,e.param,t,e.next)})},e.prototype.clear=function(){this.queueNumber=0,this.eventQueue.clear()},Object.defineProperty(e.prototype,"size",{get:function(){return this.eventQueue.size},enumerable:!1,configurable:!0}),e}();t.EventListenerQueue=o},7121(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SupportedVersions=void 0;var n=function(){function e(){}return e.has=function(e){return"string"==typeof e&&(e=Number(e)),this.set_.has(e)},e.set_=new Set([0,2,void 0,null]),e}();t.SupportedVersions=n},1166(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.AddEventListenerCommand=void 0;var i=n(7392),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.respond=function(){this.listenerId=i.CmpApiModel.eventQueue.add({callback:this.callback,param:this.param,next:this.next}),e.prototype.respond.call(this)},t}(n(2044).GetTCDataCommand);t.AddEventListenerCommand=s},8605(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Command=void 0;var n=function(){function e(e,t,n,r){this.success=!0,Object.assign(this,{callback:e,listenerId:n,param:t,next:r});try{this.respond()}catch(e){this.invokeCallback(null)}}return e.prototype.invokeCallback=function(e){var t=null!==e;"function"==typeof this.next?this.callback(this.next,e,t):this.callback(e,t)},e}();t.Command=n},945(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},6987(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CommandMap=void 0;var r=n(8777),o=n(2044),i=n(7892),s=n(6497),l=n(1166),a=n(4291),c=n(5752),u=function(){function e(){}var t,n,u,d,p,h;return t=c.TCFCommand.PING,n=c.TCFCommand.GET_TC_DATA,u=c.TCFCommand.GET_IN_APP_TC_DATA,d=c.TCFCommand.GET_VENDOR_LIST,p=c.TCFCommand.ADD_EVENT_LISTENER,h=c.TCFCommand.REMOVE_EVENT_LISTENER,e[t]=r.PingCommand,e[n]=o.GetTCDataCommand,e[u]=i.GetInAppTCDataCommand,e[d]=s.GetVendorListCommand,e[p]=l.AddEventListenerCommand,e[h]=a.RemoveEventListenerCommand,e}();t.CommandMap=u},7892(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.GetInAppTCDataCommand=void 0;var i=n(2044),s=n(4392),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.respond=function(){this.throwIfParamInvalid(),this.invokeCallback(new s.InAppTCData(this.param))},t}(i.GetTCDataCommand);t.GetInAppTCDataCommand=l},2044(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.GetTCDataCommand=void 0;var i=n(8605),s=n(4392),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.respond=function(){this.throwIfParamInvalid(),this.invokeCallback(new s.TCData(this.param,this.listenerId))},t.prototype.throwIfParamInvalid=function(){if(!(void 0===this.param||Array.isArray(this.param)&&this.param.every(Number.isInteger)))throw new Error("Invalid Parameter")},t}(i.Command);t.GetTCDataCommand=l},6497(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.GetVendorListCommand=void 0;var i=n(7392),s=n(8605),l=n(1229),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.respond=function(){var e,t=this,n=i.CmpApiModel.tcModel,r=n.vendorListVersion;void 0===this.param&&(this.param=r),(e=this.param===r&&n.gvl?n.gvl:new l.GVL(this.param)).readyPromise.then(function(){t.invokeCallback(e.getJson())})},t}(s.Command);t.GetVendorListCommand=a},8777(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.PingCommand=void 0;var i=n(4392),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.respond=function(){this.invokeCallback(new i.Ping)},t}(n(8605).Command);t.PingCommand=s},4291(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.RemoveEventListenerCommand=void 0;var i=n(7392),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.respond=function(){this.invokeCallback(i.CmpApiModel.eventQueue.remove(this.param))},t}(n(8605).Command);t.RemoveEventListenerCommand=s},5752(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.TCFCommand=void 0,(n=t.TCFCommand||(t.TCFCommand={})).PING="ping",n.GET_TC_DATA="getTCData",n.GET_IN_APP_TC_DATA="getInAppTCData",n.GET_VENDOR_LIST="getVendorList",n.ADD_EVENT_LISTENER="addEventListener",n.REMOVE_EVENT_LISTENER="removeEventListener"},3016(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(5752),t),o(n(945),t)},4178(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.API_KEY=void 0,o(n(3016),t),o(n(4392),t),o(n(7517),t),o(n(3388),t),o(n(7392),t),o(n(849),t);var i=n(3076);Object.defineProperty(t,"API_KEY",{enumerable:!0,get:function(){return i.API_KEY}})},4414(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Disabled=void 0;var i=n(4625),s=n(7517),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cmpStatus=s.CmpStatus.ERROR,t}return o(t,e),t}(i.Response);t.Disabled=l},8503(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s},s=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o0){var n=e.getMaxVendorId();e.getRestrictions().forEach(function(e){t[e.purposeId.toString()]="_".repeat(n)});for(var r=function(n){var r=n+1;e.getRestrictions(r).forEach(function(e){var r=e.restrictionType.toString(),o=e.purposeId.toString(),i=t[o].substr(0,n),s=t[o].substr(n+1);t[o]=i+r+s})},o=0;o0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s},s=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o0)for(var n=e.getMaxVendorId(),r=function(n){var r=n.toString();e.getRestrictions(n).forEach(function(e){var n=e.purposeId.toString();t[n]||(t[n]={}),t[n][r]=e.restrictionType})},o=1;o<=n;o++)r(o);return t},t.prototype.createVectorField=function(e,t){return t?t.reduce(function(t,n){return t[String(n)]=e.has(Number(n)),t},{}):s([],i(e),!1).reduce(function(e,t){return e[t[0].toString(10)]=t[1],e},{})},t}(n(4625).Response);t.TCData=a},4392(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(4414),t),o(n(8503),t),o(n(7834),t),o(n(4625),t),o(n(1543),t)},1867(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CmpStatus=void 0,(n=t.CmpStatus||(t.CmpStatus={})).STUB="stub",n.LOADING="loading",n.LOADED="loaded",n.ERROR="error"},489(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DisplayStatus=void 0,(n=t.DisplayStatus||(t.DisplayStatus={})).VISIBLE="visible",n.HIDDEN="hidden",n.DISABLED="disabled"},1995(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.EventStatus=void 0,(n=t.EventStatus||(t.EventStatus={})).TC_LOADED="tcloaded",n.CMP_UI_SHOWN="cmpuishown",n.USER_ACTION_COMPLETE="useractioncomplete"},7517(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(1867),t),o(n(489),t),o(n(1995),t)},2388(e,t){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.Cloneable=void 0;var r=function(){function e(){}return e.prototype.clone=function(){var e=this,t=new this.constructor;return Object.keys(this).forEach(function(n){var r=e.deepClone(e[n]);void 0!==r&&(t[n]=r)}),t},e.prototype.deepClone=function(e){var t,r,o=typeof e;if("number"===o||"string"===o||"boolean"===o)return e;if(null!==e&&"object"===o){if("function"==typeof e.clone)return e.clone();if(e instanceof Date)return new Date(e.getTime());if(void 0!==e[Symbol.iterator]){var i=[];try{for(var s=n(e),l=s.next();!l.done;l=s.next()){var a=l.value;i.push(this.deepClone(a))}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return e instanceof Array?i:new e.constructor(i)}var c={};for(var u in e)e.hasOwnProperty(u)&&(c[u]=this.deepClone(e[u]));return c}},e}();t.Cloneable=r},834(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&o[o.length-1])||6!==l[0]&&2!==l[0])){s=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.GVL=void 0;var c=n(2388),u=n(8177),d=n(8223),p=n(8495),h=function(e){function t(n,r){var o=e.call(this)||this;o.isReady_=!1,o.isLatest=!1;var i=t.baseUrl,s=null==r?void 0:r.language;if(s)try{s=t.consentLanguages.parseLanguage(s)}catch(e){throw new u.GVLError("Error during parsing the language: "+e.message)}if(o.lang_=s||t.DEFAULT_LANGUAGE,o.cacheLang_=s||t.DEFAULT_LANGUAGE,o.isVendorList(n))o.populate(n),o.readyPromise=Promise.resolve();else{if(!i)throw new u.GVLError("must specify GVL.baseUrl before loading GVL json");if(n>0){var l=n;t.CACHE.has(l)?(o.populate(t.CACHE.get(l)),o.readyPromise=Promise.resolve()):(i+=t.versionedFilename.replace("[VERSION]",String(l)),o.readyPromise=o.fetchJson(i))}else t.CACHE.has(t.LATEST_CACHE_KEY)?(o.populate(t.CACHE.get(t.LATEST_CACHE_KEY)),o.readyPromise=Promise.resolve()):(o.isLatest=!0,o.readyPromise=o.fetchJson(i+t.latestFilename))}return o}return o(t,e),Object.defineProperty(t,"baseUrl",{get:function(){return this.baseUrl_},set:function(e){if(/^https?:\/\/vendorlist\.consensu\.org\//.test(e))throw new u.GVLError("Invalid baseUrl! You may not pull directly from vendorlist.consensu.org and must provide your own cache");e.length>0&&"/"!==e[e.length-1]&&(e+="/"),this.baseUrl_=e},enumerable:!1,configurable:!0}),t.emptyLanguageCache=function(e){var n=!1;return null==e&&t.LANGUAGE_CACHE.size>0?(t.LANGUAGE_CACHE=new Map,n=!0):"string"==typeof e&&this.consentLanguages.has(e.toUpperCase())&&(t.LANGUAGE_CACHE.delete(e.toUpperCase()),n=!0),n},t.emptyCache=function(e){var n=!1;return Number.isInteger(e)&&e>=0?(t.CACHE.delete(e),n=!0):void 0===e&&(t.CACHE=new Map,n=!0),n},t.prototype.cacheLanguage=function(){t.LANGUAGE_CACHE.has(this.cacheLang_)||t.LANGUAGE_CACHE.set(this.cacheLang_,{purposes:this.purposes,specialPurposes:this.specialPurposes,features:this.features,specialFeatures:this.specialFeatures,stacks:this.stacks,dataCategories:this.dataCategories})},t.prototype.fetchJson=function(e){return s(this,void 0,void 0,function(){var t,n;return l(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),t=this.populate,[4,d.Json.fetch(e)];case 1:return t.apply(this,[r.sent()]),[3,3];case 2:throw n=r.sent(),new u.GVLError(n.message);case 3:return[2]}})})},t.prototype.getJson=function(){return i(i({gvlSpecificationVersion:this.gvlSpecificationVersion,vendorListVersion:this.vendorListVersion,tcfPolicyVersion:this.tcfPolicyVersion,lastUpdated:this.lastUpdated,purposes:this.clonePurposes(),specialPurposes:this.cloneSpecialPurposes(),features:this.cloneFeatures(),specialFeatures:this.cloneSpecialFeatures(),stacks:this.cloneStacks()},this.dataCategories?{dataCategories:this.cloneDataCategories()}:{}),{vendors:this.cloneVendors()})},t.prototype.cloneSpecialFeatures=function(){var e,n,r={};try{for(var o=a(Object.keys(this.specialFeatures)),i=o.next();!i.done;i=o.next()){var s=i.value;r[s]=t.cloneFeature(this.specialFeatures[s])}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r},t.prototype.cloneFeatures=function(){var e,n,r={};try{for(var o=a(Object.keys(this.features)),i=o.next();!i.done;i=o.next()){var s=i.value;r[s]=t.cloneFeature(this.features[s])}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r},t.prototype.cloneStacks=function(){var e,n,r={};try{for(var o=a(Object.keys(this.stacks)),i=o.next();!i.done;i=o.next()){var s=i.value;r[s]=t.cloneStack(this.stacks[s])}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r},t.prototype.cloneDataCategories=function(){var e,n,r={};try{for(var o=a(Object.keys(this.dataCategories)),i=o.next();!i.done;i=o.next()){var s=i.value;r[s]=t.cloneDataCategory(this.dataCategories[s])}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r},t.prototype.cloneSpecialPurposes=function(){var e,n,r={};try{for(var o=a(Object.keys(this.specialPurposes)),i=o.next();!i.done;i=o.next()){var s=i.value;r[s]=t.clonePurpose(this.specialPurposes[s])}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r},t.prototype.clonePurposes=function(){var e,n,r={};try{for(var o=a(Object.keys(this.purposes)),i=o.next();!i.done;i=o.next()){var s=i.value;r[s]=t.clonePurpose(this.purposes[s])}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r},t.clonePurpose=function(e){return i(i({id:e.id,name:e.name,description:e.description},e.descriptionLegal?{descriptionLegal:e.descriptionLegal}:{}),e.illustrations?{illustrations:Array.from(e.illustrations)}:{})},t.cloneFeature=function(e){return i(i({id:e.id,name:e.name,description:e.description},e.descriptionLegal?{descriptionLegal:e.descriptionLegal}:{}),e.illustrations?{illustrations:Array.from(e.illustrations)}:{})},t.cloneDataCategory=function(e){return{id:e.id,name:e.name,description:e.description}},t.cloneStack=function(e){return{id:e.id,name:e.name,description:e.description,purposes:Array.from(e.purposes),specialFeatures:Array.from(e.specialFeatures)}},t.cloneDataRetention=function(e){return i(i({},"number"==typeof e.stdRetention?{stdRetention:e.stdRetention}:{}),{purposes:i({},e.purposes),specialPurposes:i({},e.specialPurposes)})},t.cloneVendorUrls=function(e){return e.map(function(e){return i({langId:e.langId,privacy:e.privacy},e.legIntClaim?{legIntClaim:e.legIntClaim}:{})})},t.cloneVendor=function(e){return i(i(i(i(i(i(i(i(i(i(i({id:e.id,name:e.name,purposes:Array.from(e.purposes),legIntPurposes:Array.from(e.legIntPurposes),flexiblePurposes:Array.from(e.flexiblePurposes),specialPurposes:Array.from(e.specialPurposes),features:Array.from(e.features),specialFeatures:Array.from(e.specialFeatures)},e.overflow?{overflow:{httpGetLimit:e.overflow.httpGetLimit}}:{}),"number"==typeof e.cookieMaxAgeSeconds||null===e.cookieMaxAgeSeconds?{cookieMaxAgeSeconds:e.cookieMaxAgeSeconds}:{}),void 0!==e.usesCookies?{usesCookies:e.usesCookies}:{}),e.policyUrl?{policyUrl:e.policyUrl}:{}),void 0!==e.cookieRefresh?{cookieRefresh:e.cookieRefresh}:{}),void 0!==e.usesNonCookieAccess?{usesNonCookieAccess:e.usesNonCookieAccess}:{}),e.dataRetention?{dataRetention:this.cloneDataRetention(e.dataRetention)}:{}),e.urls?{urls:this.cloneVendorUrls(e.urls)}:{}),e.dataDeclaration?{dataDeclaration:Array.from(e.dataDeclaration)}:{}),e.deviceStorageDisclosureUrl?{deviceStorageDisclosureUrl:e.deviceStorageDisclosureUrl}:{}),e.deletedDate?{deletedDate:e.deletedDate}:{})},t.prototype.cloneVendors=function(){var e,n,r={};try{for(var o=a(Object.keys(this.fullVendorList)),i=o.next();!i.done;i=o.next()){var s=i.value;r[s]=t.cloneVendor(this.fullVendorList[s])}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r},t.prototype.changeLanguage=function(e){return s(this,void 0,void 0,function(){var n,r,o,i,s,a;return l(this,function(l){switch(l.label){case 0:n=e;try{n=t.consentLanguages.parseLanguage(e)}catch(e){throw new u.GVLError("Error during parsing the language: "+e.message)}if(r=e.toUpperCase(),n.toLowerCase()===t.DEFAULT_LANGUAGE.toLowerCase()&&!t.LANGUAGE_CACHE.has(r))return[2];if(n===this.lang_)return[3,5];if(this.lang_=n,!t.LANGUAGE_CACHE.has(r))return[3,1];for(i in o=t.LANGUAGE_CACHE.get(r))o.hasOwnProperty(i)&&(this[i]=o[i]);return[3,5];case 1:s=t.baseUrl+t.languageFilename.replace("[LANG]",this.lang_.toLowerCase()),l.label=2;case 2:return l.trys.push([2,4,,5]),[4,this.fetchJson(s)];case 3:return l.sent(),this.cacheLang_=r,this.cacheLanguage(),[3,5];case 4:throw a=l.sent(),new u.GVLError("unable to load language: "+a.message);case 5:return[2]}})})},Object.defineProperty(t.prototype,"language",{get:function(){return this.lang_},enumerable:!1,configurable:!0}),t.prototype.isVendorList=function(e){return void 0!==e&&void 0!==e.vendors},t.prototype.populate=function(e){this.purposes=e.purposes,this.specialPurposes=e.specialPurposes,this.features=e.features,this.specialFeatures=e.specialFeatures,this.stacks=e.stacks,this.dataCategories=e.dataCategories,this.isVendorList(e)&&(this.gvlSpecificationVersion=e.gvlSpecificationVersion,this.tcfPolicyVersion=e.tcfPolicyVersion,this.vendorListVersion=e.vendorListVersion,this.lastUpdated=e.lastUpdated,"string"==typeof this.lastUpdated&&(this.lastUpdated=new Date(this.lastUpdated)),this.vendors_=e.vendors,this.fullVendorList=e.vendors,this.mapVendors(),this.isReady_=!0,this.isLatest&&t.CACHE.set(t.LATEST_CACHE_KEY,this.getJson()),t.CACHE.has(this.vendorListVersion)||t.CACHE.set(this.vendorListVersion,this.getJson())),this.cacheLanguage()},t.prototype.mapVendors=function(e){var t=this;this.byPurposeVendorMap={},this.bySpecialPurposeVendorMap={},this.byFeatureVendorMap={},this.bySpecialFeatureVendorMap={},Object.keys(this.purposes).forEach(function(e){t.byPurposeVendorMap[e]={legInt:new Set,consent:new Set,flexible:new Set}}),Object.keys(this.specialPurposes).forEach(function(e){t.bySpecialPurposeVendorMap[e]=new Set}),Object.keys(this.features).forEach(function(e){t.byFeatureVendorMap[e]=new Set}),Object.keys(this.specialFeatures).forEach(function(e){t.bySpecialFeatureVendorMap[e]=new Set}),Array.isArray(e)||(e=Object.keys(this.fullVendorList).map(function(e){return+e})),this.vendorIds=new Set(e),this.vendors_=e.reduce(function(e,n){var r=t.vendors_[String(n)];return r&&void 0===r.deletedDate&&(r.purposes.forEach(function(e){t.byPurposeVendorMap[String(e)].consent.add(n)}),r.specialPurposes.forEach(function(e){t.bySpecialPurposeVendorMap[String(e)].add(n)}),r.legIntPurposes.forEach(function(e){t.byPurposeVendorMap[String(e)].legInt.add(n)}),r.flexiblePurposes&&r.flexiblePurposes.forEach(function(e){t.byPurposeVendorMap[String(e)].flexible.add(n)}),r.features.forEach(function(e){t.byFeatureVendorMap[String(e)].add(n)}),r.specialFeatures.forEach(function(e){t.bySpecialFeatureVendorMap[String(e)].add(n)}),e[n]=r),e},{})},t.prototype.getFilteredVendors=function(e,t,n,r){var o=this,i=e.charAt(0).toUpperCase()+e.slice(1),s={};return("purpose"===e&&n?this["by"+i+"VendorMap"][String(t)][n]:this["by"+(r?"Special":"")+i+"VendorMap"][String(t)]).forEach(function(e){s[String(e)]=o.vendors[String(e)]}),s},t.prototype.getVendorsWithConsentPurpose=function(e){return this.getFilteredVendors("purpose",e,"consent")},t.prototype.getVendorsWithLegIntPurpose=function(e){return this.getFilteredVendors("purpose",e,"legInt")},t.prototype.getVendorsWithFlexiblePurpose=function(e){return this.getFilteredVendors("purpose",e,"flexible")},t.prototype.getVendorsWithSpecialPurpose=function(e){return this.getFilteredVendors("purpose",e,void 0,!0)},t.prototype.getVendorsWithFeature=function(e){return this.getFilteredVendors("feature",e)},t.prototype.getVendorsWithSpecialFeature=function(e){return this.getFilteredVendors("feature",e,void 0,!0)},Object.defineProperty(t.prototype,"vendors",{get:function(){return this.vendors_},enumerable:!1,configurable:!0}),t.prototype.narrowVendorsTo=function(e){this.mapVendors(e)},Object.defineProperty(t.prototype,"isReady",{get:function(){return this.isReady_},enumerable:!1,configurable:!0}),t.prototype.clone=function(){var e=new t(this.getJson());return this.lang_!==t.DEFAULT_LANGUAGE&&e.changeLanguage(this.lang_),e},t.isInstanceOf=function(e){return"object"==typeof e&&"function"==typeof e.narrowVendorsTo},t.LANGUAGE_CACHE=new Map,t.CACHE=new Map,t.LATEST_CACHE_KEY=0,t.DEFAULT_LANGUAGE="EN",t.consentLanguages=new p.ConsentLanguages,t.latestFilename="vendor-list.json",t.versionedFilename="archives/vendor-list-v[VERSION].json",t.languageFilename="purposes-[LANG].json",t}(c.Cloneable);t.GVL=h},8223(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Json=void 0;var n=function(){function e(){}return e.absCall=function(e,t,n,r){return new Promise(function(o,i){var s=new XMLHttpRequest;s.withCredentials=n,s.addEventListener("load",function(){if(s.readyState==XMLHttpRequest.DONE)if(s.status>=200&&s.status<300){var e=s.response;if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}o(e)}else i(new Error("HTTP Status: ".concat(s.status," response type: ").concat(s.responseType)))}),s.addEventListener("error",function(){i(new Error("error"))}),s.addEventListener("abort",function(){i(new Error("aborted"))}),null===t?s.open("GET",e,!0):s.open("POST",e,!0),s.responseType="json",s.timeout=r,s.ontimeout=function(){i(new Error("Timeout "+r+"ms "+e))},s.send(t)})},e.post=function(e,t,n,r){return void 0===n&&(n=!1),void 0===r&&(r=0),this.absCall(e,JSON.stringify(t),n,r)},e.fetch=function(e,t,n){return void 0===t&&(t=!1),void 0===n&&(n=0),this.absCall(e,null,t,n)},e}();t.Json=n},8152(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.TCModel=void 0;var i=n(2388),s=n(8177),l=n(834),a=n(8495),c=function(e){function t(t){var n=e.call(this)||this;return n.isServiceSpecific_=!0,n.supportOOB_=!1,n.useNonStandardTexts_=!1,n.purposeOneTreatment_=!1,n.publisherCountryCode_="AA",n.version_=2,n.consentScreen_=0,n.policyVersion_=5,n.consentLanguage_="EN",n.cmpId_=0,n.cmpVersion_=0,n.vendorListVersion_=0,n.numCustomPurposes_=0,n.specialFeatureOptins=new a.Vector,n.purposeConsents=new a.Vector,n.purposeLegitimateInterests=new a.Vector,n.publisherConsents=new a.Vector,n.publisherLegitimateInterests=new a.Vector,n.publisherCustomConsents=new a.Vector,n.publisherCustomLegitimateInterests=new a.Vector,n.vendorConsents=new a.Vector,n.vendorLegitimateInterests=new a.Vector,n.vendorsDisclosed=new a.Vector,n.vendorsAllowed=new a.Vector,n.publisherRestrictions=new a.PurposeRestrictionVector,t&&(n.gvl=t),n.updated(),n}return o(t,e),Object.defineProperty(t.prototype,"gvl",{get:function(){return this.gvl_},set:function(e){l.GVL.isInstanceOf(e)||(e=new l.GVL(e)),this.gvl_=e,this.publisherRestrictions.gvl=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cmpId",{get:function(){return this.cmpId_},set:function(e){if(e=Number(e),!(Number.isInteger(e)&&e>1))throw new s.TCModelError("cmpId",e);this.cmpId_=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cmpVersion",{get:function(){return this.cmpVersion_},set:function(e){if(e=Number(e),!(Number.isInteger(e)&&e>-1))throw new s.TCModelError("cmpVersion",e);this.cmpVersion_=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"consentScreen",{get:function(){return this.consentScreen_},set:function(e){if(e=Number(e),!(Number.isInteger(e)&&e>-1))throw new s.TCModelError("consentScreen",e);this.consentScreen_=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"consentLanguage",{get:function(){return this.consentLanguage_},set:function(e){this.consentLanguage_=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"publisherCountryCode",{get:function(){return this.publisherCountryCode_},set:function(e){if(!/^([A-z]){2}$/.test(e))throw new s.TCModelError("publisherCountryCode",e);this.publisherCountryCode_=e.toUpperCase()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"vendorListVersion",{get:function(){return this.gvl?this.gvl.vendorListVersion:this.vendorListVersion_},set:function(e){if((e=0|Number(e))<0)throw new s.TCModelError("vendorListVersion",e);this.vendorListVersion_=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"policyVersion",{get:function(){return this.gvl?this.gvl.tcfPolicyVersion:this.policyVersion_},set:function(e){if(this.policyVersion_=parseInt(e,10),this.policyVersion_<0)throw new s.TCModelError("policyVersion",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"version",{get:function(){return this.version_},set:function(e){this.version_=parseInt(e,10)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isServiceSpecific",{get:function(){return this.isServiceSpecific_},set:function(e){this.isServiceSpecific_=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"useNonStandardTexts",{get:function(){return this.useNonStandardTexts_},set:function(e){this.useNonStandardTexts_=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"supportOOB",{get:function(){return this.supportOOB_},set:function(e){this.supportOOB_=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"purposeOneTreatment",{get:function(){return this.purposeOneTreatment_},set:function(e){this.purposeOneTreatment_=e},enumerable:!1,configurable:!0}),t.prototype.setAllVendorConsents=function(){this.vendorConsents.set(this.gvl.vendors)},t.prototype.unsetAllVendorConsents=function(){this.vendorConsents.empty()},t.prototype.setAllVendorsDisclosed=function(){this.vendorsDisclosed.set(this.gvl.vendors)},t.prototype.unsetAllVendorsDisclosed=function(){this.vendorsDisclosed.empty()},t.prototype.setAllVendorsAllowed=function(){this.vendorsAllowed.set(this.gvl.vendors)},t.prototype.unsetAllVendorsAllowed=function(){this.vendorsAllowed.empty()},t.prototype.setAllVendorLegitimateInterests=function(){this.vendorLegitimateInterests.set(this.gvl.vendors)},t.prototype.unsetAllVendorLegitimateInterests=function(){this.vendorLegitimateInterests.empty()},t.prototype.setAllPurposeConsents=function(){this.purposeConsents.set(this.gvl.purposes)},t.prototype.unsetAllPurposeConsents=function(){this.purposeConsents.empty()},t.prototype.setAllPurposeLegitimateInterests=function(){this.purposeLegitimateInterests.set(this.gvl.purposes)},t.prototype.unsetAllPurposeLegitimateInterests=function(){this.purposeLegitimateInterests.empty()},t.prototype.setAllSpecialFeatureOptins=function(){this.specialFeatureOptins.set(this.gvl.specialFeatures)},t.prototype.unsetAllSpecialFeatureOptins=function(){this.specialFeatureOptins.empty()},t.prototype.setAll=function(){this.setAllVendorConsents(),this.setAllPurposeLegitimateInterests(),this.setAllSpecialFeatureOptins(),this.setAllPurposeConsents(),this.setAllVendorLegitimateInterests()},t.prototype.unsetAll=function(){this.unsetAllVendorConsents(),this.unsetAllPurposeLegitimateInterests(),this.unsetAllSpecialFeatureOptins(),this.unsetAllPurposeConsents(),this.unsetAllVendorLegitimateInterests()},Object.defineProperty(t.prototype,"numCustomPurposes",{get:function(){var e=this.numCustomPurposes_;if("object"==typeof this.customPurposes){var t=Object.keys(this.customPurposes).sort(function(e,t){return Number(e)-Number(t)});e=parseInt(t.pop(),10)}return e},set:function(e){if(this.numCustomPurposes_=parseInt(e,10),this.numCustomPurposes_<0)throw new s.TCModelError("numCustomPurposes",e)},enumerable:!1,configurable:!0}),t.prototype.updated=function(){var e=new Date,t=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()));this.created=t,this.lastUpdated=t},t.consentLanguages=l.GVL.consentLanguages,t}(i.Cloneable);t.TCModel=c},8029(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TCString=void 0;var r=n(8270),o=n(8495),i=n(7034),s=n(8152),l=function(){function e(){}return e.encode=function(e,t){var n,o="";return e=r.SemanticPreEncoder.process(e,t),(n=Array.isArray(null==t?void 0:t.segments)?t.segments:new r.SegmentSequence(e,t)[""+e.version]).forEach(function(t,i){var s="";i").concat(n,": ").concat(e.message))}}),r.Base64Url.encode(u)},e.decode=function(e,t,n){var s=this,u=r.Base64Url.decode(e),d=0;n===c.Segment.CORE&&(t.version=i.IntEncoder.decode(u.substr(d,o.BitLength[a.Fields.version]),o.BitLength[a.Fields.version])),n!==c.Segment.CORE&&(d+=o.BitLength.segmentType);var p=this.fieldSequence[String(t.version)][n],h=(0,i.FieldEncoderMap)();return p.forEach(function(e){var n=h[e],r=o.BitLength[e];if(void 0===r&&s.isPublisherCustom(e)&&(r=Number(t[a.Fields.numCustomPurposes])),0!==r){var c=u.substr(d,r);if(n===i.VendorVectorEncoder?t[e]=n.decode(c,t.version):t[e]=n.decode(c,r),Number.isInteger(r))d+=r;else{if(!Number.isInteger(t[e].bitLength))throw new l.DecodingError(e);d+=t[e].bitLength}}}),t},e.isPublisherCustom=function(e){return 0===e.indexOf("publisherCustom")},e.fieldSequence=new s.FieldSequence,e}();t.SegmentEncoder=u},5543(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SemanticPreEncoder=void 0;var r=n(8177),o=n(8495),i=function(){function e(){}return e.process=function(e,t){var n=e.gvl;if(!n)throw new r.EncodingError("Unable to encode TCModel without a GVL");if(!n.isReady)throw new r.EncodingError("Unable to encode TCModel tcModel.gvl.readyPromise is not resolved");(e=e.clone()).consentLanguage=n.language.slice(0,2).toUpperCase(),(null==t?void 0:t.version)>0&&(null==t?void 0:t.version)<=this.processor.length?e.version=t.version:e.version=this.processor.length;var o=e.version-1;if(!this.processor[o])throw new r.EncodingError("Invalid version: ".concat(e.version));return this.processor[o](e,n)},e.processor=[function(e){return e},function(e,t){e.publisherRestrictions.gvl=t,e.purposeLegitimateInterests.unset([1,3,4,5,6]);var n=new Map;return n.set("legIntPurposes",e.vendorLegitimateInterests),n.set("purposes",e.vendorConsents),n.forEach(function(n,r){n.forEach(function(i,s){if(i){var l=t.vendors[s];if(!l||l.deletedDate)n.unset(s);else if(0===l[r].length)if("legIntPurposes"===r&&0===l.purposes.length&&0===l.legIntPurposes.length&&l.specialPurposes.length>0)n.set(s);else if("legIntPurposes"===r&&l.purposes.length>0&&0===l.legIntPurposes.length&&l.specialPurposes.length>0)n.set(s);else if(e.isServiceSpecific)if(0===l.flexiblePurposes.length)n.unset(s);else{for(var a=e.publisherRestrictions.getRestrictions(s),c=!1,u=0,d=a.length;ut||e<0)throw new r.EncodingError("".concat(e," too large to encode into ").concat(t));return n.length25||i<0||i>25)throw new o.EncodingError("invalid language code: ".concat(e));if(t%2==1)throw new o.EncodingError("numBits must be even, ".concat(t," is not valid"));return t/=2,r.IntEncoder.encode(n,t)+r.IntEncoder.encode(i,t)},e.decode=function(e,t){if(t!==e.length||e.length%2)throw new o.DecodingError("invalid bit length for language");var n=e.length/2,i=r.IntEncoder.decode(e.slice(0,n),n)+65,s=r.IntEncoder.decode(e.slice(n),n)+65;return String.fromCharCode(i)+String.fromCharCode(s)},e}();t.LangEncoder=i},1716(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PurposeRestrictionVectorEncoder=void 0;var r=n(8937),o=n(9561),i=n(8177),s=n(7034),l=n(8495),a=function(){function e(){}return e.encode=function(e){var t=s.IntEncoder.encode(e.numRestrictions,r.BitLength.numRestrictions);if(!e.isEmpty()){var n=function(t,n){for(var r=t+1;r<=n;r++)if(e.gvl.vendorIds.has(r))return r;return t};e.getRestrictions().forEach(function(i){t+=s.IntEncoder.encode(i.purposeId,r.BitLength.purposeId),t+=s.IntEncoder.encode(i.restrictionType,r.BitLength.restrictionType);for(var l=e.getVendors(i),a=l.length,c=0,u=0,d="",p=0;pn(h,l[a-1])){var f=!(h===u);d+=o.BooleanEncoder.encode(f),d+=s.IntEncoder.encode(u,r.BitLength.vendorId),f&&(d+=s.IntEncoder.encode(h,r.BitLength.vendorId)),u=0}}t+=s.IntEncoder.encode(c,r.BitLength.numEntries),t+=d})}return t},e.decode=function(e){var t=0,n=new l.PurposeRestrictionVector,a=s.IntEncoder.decode(e.substr(t,r.BitLength.numRestrictions),r.BitLength.numRestrictions);t+=r.BitLength.numRestrictions;for(var c=0;cp&&h0&&this[2].push(r.Segment.VENDORS_ALLOWED),this[2].push(r.Segment.PUBLISHER_TC))}}},5279(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1130(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(5575),t),o(n(6834),t),o(n(5279),t)},9244(e,t){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.DecodingError=void 0;var o=function(e){function t(t){var n=e.call(this,t)||this;return n.name="DecodingError",n}return r(t,e),t}(Error);t.DecodingError=o},6344(e,t){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.EncodingError=void 0;var o=function(e){function t(t){var n=e.call(this,t)||this;return n.name="EncodingError",n}return r(t,e),t}(Error);t.EncodingError=o},7650(e,t){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.GVLError=void 0;var o=function(e){function t(t){var n=e.call(this,t)||this;return n.name="GVLError",n}return r(t,e),t}(Error);t.GVLError=o},5969(e,t){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.TCModelError=void 0;var o=function(e){function t(t,n,r){void 0===r&&(r="");var o=e.call(this,"invalid value ".concat(n," passed for ").concat(t," ").concat(r))||this;return o.name="TCModelError",o}return r(t,e),t}(Error);t.TCModelError=o},8177(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(9244),t),o(n(6344),t),o(n(7650),t),o(n(5969),t)},1229(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(8270),t),o(n(8177),t),o(n(8495),t),o(n(2388),t),o(n(834),t),o(n(8223),t),o(n(8152),t),o(n(8029),t)},8614(e,t){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.ConsentLanguages=void 0;var r=function(){function e(){}return e.prototype.has=function(t){return e.langSet.has(t)},e.prototype.parseLanguage=function(t){var r,o,i=(t=t.toUpperCase()).split("-")[0];if(t.length>=2&&2==i.length){if(e.langSet.has(t))return t;if(e.langSet.has(i))return i;var s=i+"-"+i;if(e.langSet.has(s))return s;try{for(var l=n(e.langSet),a=l.next();!a.done;a=l.next()){var c=a.value;if(-1!==c.indexOf(t)||-1!==c.indexOf(i))return c}}catch(e){r={error:e}}finally{try{a&&!a.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}}throw new Error("unsupported language ".concat(t))},e.prototype.forEach=function(t){e.langSet.forEach(t)},Object.defineProperty(e.prototype,"size",{get:function(){return e.langSet.size},enumerable:!1,configurable:!0}),e.langSet=new Set(["AR","BG","BS","CA","CS","CY","DA","DE","EL","EN","ES","ET","EU","FI","FR","GL","HE","HI","HR","HU","ID","IS","IT","JA","KA","KO","LT","LV","MK","MS","MT","NL","NO","PL","PT-BR","PT-PT","RO","RU","SK","SL","SQ","SR-LATN","SR-CYRL","SV","SW","TH","TL","TR","UK","VI","ZH","ZH-HANT"]),e}();t.ConsentLanguages=r},3280(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4109(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DeviceDisclosureStorageAccessType=void 0,(n=t.DeviceDisclosureStorageAccessType||(t.DeviceDisclosureStorageAccessType={})).COOKIE="cookie",n.WEB="web",n.APP="app"},4122(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Fields=void 0;var n=function(){function e(){}return e.cmpId="cmpId",e.cmpVersion="cmpVersion",e.consentLanguage="consentLanguage",e.consentScreen="consentScreen",e.created="created",e.supportOOB="supportOOB",e.isServiceSpecific="isServiceSpecific",e.lastUpdated="lastUpdated",e.numCustomPurposes="numCustomPurposes",e.policyVersion="policyVersion",e.publisherCountryCode="publisherCountryCode",e.publisherCustomConsents="publisherCustomConsents",e.publisherCustomLegitimateInterests="publisherCustomLegitimateInterests",e.publisherLegitimateInterests="publisherLegitimateInterests",e.publisherConsents="publisherConsents",e.publisherRestrictions="publisherRestrictions",e.purposeConsents="purposeConsents",e.purposeLegitimateInterests="purposeLegitimateInterests",e.purposeOneTreatment="purposeOneTreatment",e.specialFeatureOptins="specialFeatureOptins",e.useNonStandardTexts="useNonStandardTexts",e.vendorConsents="vendorConsents",e.vendorLegitimateInterests="vendorLegitimateInterests",e.vendorListVersion="vendorListVersion",e.vendorsAllowed="vendorsAllowed",e.vendorsDisclosed="vendorsDisclosed",e.version="version",e}();t.Fields=n},3082(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},2920(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},179(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.PurposeRestriction=void 0;var i=n(2388),s=n(8177),l=n(8725),a=function(e){function t(t,n){var r=e.call(this)||this;return void 0!==t&&(r.purposeId=t),void 0!==n&&(r.restrictionType=n),r}return o(t,e),t.unHash=function(e){var n=e.split(this.hashSeparator),r=new t;if(2!==n.length)throw new s.TCModelError("hash",e);return r.purposeId=parseInt(n[0],10),r.restrictionType=parseInt(n[1],10),r},Object.defineProperty(t.prototype,"hash",{get:function(){if(!this.isValid())throw new Error("cannot hash invalid PurposeRestriction");return"".concat(this.purposeId).concat(t.hashSeparator).concat(this.restrictionType)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"purposeId",{get:function(){return this.purposeId_},set:function(e){this.purposeId_=e},enumerable:!1,configurable:!0}),t.prototype.isValid=function(){return Number.isInteger(this.purposeId)&&this.purposeId>0&&(this.restrictionType===l.RestrictionType.NOT_ALLOWED||this.restrictionType===l.RestrictionType.REQUIRE_CONSENT||this.restrictionType===l.RestrictionType.REQUIRE_LI)},t.prototype.isSameAs=function(e){return this.purposeId===e.purposeId&&this.restrictionType===e.restrictionType},t.hashSeparator="-",t}(i.Cloneable);t.PurposeRestriction=a},1824(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s},s=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;oe.restrictionType)&&(n=e.restrictionType)}),n},t.prototype.vendorHasRestriction=function(e,t){for(var n=!1,r=this.getRestrictions(e),o=0;o0&&o[o.length-1])||6!==l[0]&&2!==l[0])){s=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]0},t.prototype.isSet=function(e){var t=!1;return e instanceof Set&&(t=Array.from(e).every(this.isValidNumber)),t},t.prototype.set=function(e){var t=this;if(Array.isArray(e))e.forEach(function(e){return t.set(e)});else if(this.isSet(e))this.set(Array.from(e));else if(this.isIntMap(e))this.set(Object.keys(e).map(function(e){return Number(e)}));else{if(!this.isValidNumber(e))throw new l.TCModelError("set()",e,"must be positive integer array, positive integer, Set, or IntMap");this.set_.add(e),this.maxId_=Math.max(this.maxId,e),this.bitLength=0}},t.prototype.empty=function(){this.set_=new Set,this.maxId_=0},t.prototype.forEach=function(e){for(var t=1;t<=this.maxId;t++)e(this.has(t),t)},Object.defineProperty(t.prototype,"size",{get:function(){return this.set_.size},enumerable:!1,configurable:!0}),t.prototype.setAll=function(e){this.set(e)},t}(s.Cloneable);t.Vector=a},5259(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1723(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3362(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},2629(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3715(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8955(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},5308(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4621(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},5987(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1965(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3297(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9183(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(5259),t),o(n(3362),t),o(n(2629),t),o(n(3715),t),o(n(5308),t),o(n(4621),t),o(n(5987),t),o(n(1965),t),o(n(3297),t),o(n(1723),t),o(n(8955),t)},8495(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(8614),t),o(n(4122),t),o(n(3082),t),o(n(2920),t),o(n(179),t),o(n(1824),t),o(n(4109),t),o(n(3280),t),o(n(8725),t),o(n(8966),t),o(n(1746),t),o(n(4984),t),o(n(9183),t)},8138(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Future=void 0;const r=n(1635),o=n(7007),i=r.__importDefault(n(9207));class s{constructor(e={}){this._options=e,this._value=void 0,this._error=void 0,this._emitter=new o.EventEmitter,e.maxListeners&&this.setMaxListeners(e.maxListeners),e.executor&&this.fulfill(e.executor),this._options.timeout?this._timeout=window.setTimeout(()=>{void 0===this._value&&void 0===this._error&&(this.error=new Error("timed out"))},this._options.timeout):this._timeout=void 0}static resolve(e){return(new s).fulfill(e)}fulfill(e){return function(e){return"function"==typeof e}(e)?new Promise(e).then(e=>this.value=e).catch(e=>this.error=e):this.value=e,this}isFulfilled(){return void 0!==this._value}get fulfilled(){return void 0!==this._value?Promise.resolve(this._value):new Promise((e,t)=>{this.once(s.FULFILLED,e),this.once(s.ERROR,t)})}get value(){if(void 0!==this._error)throw this._error;if(void 0===this._value)throw new Error("future has not been resolved");return this._value}set value(e){this._timeout&&(window.clearTimeout(this._timeout),this._timeout=void 0),this._error=void 0,void 0!==this._value&&(0,i.default)(this._value,e)||(this._value=e,this._emitter.emit(s.FULFILLED,e),this._options.name&&this._options.emitter&&this._options.emitter.emit(this._options.name,e))}reset(){this._timeout&&(window.clearTimeout(this._timeout),this._timeout=void 0);const e=this._value;this._value=void 0,this._error=void 0,this._emitter.emit(s.RESET,e),this._options.name&&this._options.emitter&&this._options.emitter.emit(this._options.name,void 0)}get error(){return this._error}set error(e){this._timeout&&(window.clearTimeout(this._timeout),this._timeout=void 0),this._error=e,this._value=void 0,void 0!==e&&this._emitter.emit(s.ERROR,e)}addListener(e,t){return this._emitter.addListener(e,t),this.trigger(e,t),this}on(e,t){return this.addListener(e,t)}once(e,t){return this.trigger(e,t)||this._emitter.once(e,t),this}removeListener(e,t){return this._emitter.removeListener(e,t),this}off(e,t){return this.removeListener(e,t)}removeAllListeners(e){return this._emitter.removeAllListeners(e),this}setMaxListeners(e){return this._emitter.setMaxListeners(e),this}then(e,t){return this.fulfilled.then(e,t)}catch(e){return this.fulfilled.catch(e)}trigger(e,t){return e===s.FULFILLED&&this.isFulfilled()?(t(this._value),!0):e===s.ERROR&&void 0!==this._error&&(t(this._error),!0)}}s.FULFILLED="fulfilled",s.RESET="reset",s.ERROR="error",t.Future=s,t.default=s},4925(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=n(835),i=n(2991);t.default=class{constructor(e=window,t=i.DEFAULT_TTL){this._window=e,this._ttl=t}getItem(e){return r.__awaiter(this,void 0,void 0,function*(){const t=(0,o.getCookie)(this._window,e);if(t)try{return JSON.parse(atob(t))}catch(e){return}})}setItem(e,t){return r.__awaiter(this,void 0,void 0,function*(){return!!(0,o.setCookie)(this._window,e,btoa(JSON.stringify(t)),this._ttl)&&this.getItem(e).then(e=>!!e)})}removeItem(e){return r.__awaiter(this,void 0,void 0,function*(){return(0,o.setCookie)(this._window,e,"",-86400),this.getItem(e).then(e=>!e)})}}},9791(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MetaCacher=t.WebStorageCacher=t.CookieCacher=t.getDefaultCacher=void 0;const r=n(1635),o=r.__importDefault(n(4925));t.CookieCacher=o.default;const i=r.__importDefault(n(2644));t.WebStorageCacher=i.default;const s=r.__importDefault(n(3842));t.MetaCacher=s.default;const l=n(2991);t.getDefaultCacher=function(e={}){var t,n;const r=null!==(t=e.window)&&void 0!==t?t:window,a=null!==(n=e.ttl)&&void 0!==n?n:l.DEFAULT_TTL;return new s.default(new o.default(r,a),new i.default(r.localStorage,a),new i.default(r.sessionStorage,a))}},3842(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635);t.default=class{constructor(...e){this._cachers=e}getItem(e){return r.__awaiter(this,void 0,void 0,function*(){for(const t of this._cachers){const n=yield t.getItem(e);if(n)return n}})}setItem(e,t){return r.__awaiter(this,void 0,void 0,function*(){for(const n of this._cachers)if(yield n.setItem(e,t))return!0;return!1})}removeItem(e){return r.__awaiter(this,void 0,void 0,function*(){for(const t of this._cachers)if(yield t.removeItem(e))return!0;return!1})}}},2991(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_TTL=void 0,t.DEFAULT_TTL=604800},2644(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=n(2991);t.default=class{constructor(e=window.localStorage,t=o.DEFAULT_TTL){this._storage=e,this._ttl=t}getItem(e){return r.__awaiter(this,void 0,void 0,function*(){try{const n=function(e,t){const n=e.getItem(`${t}_metadata`);if(n)return JSON.parse(atob(n))}(this._storage,e);if(!(n&&(t=n,t.iat<=Math.floor(Date.now()/1e3))))return;if(function(e){return e.exp{const r=n.split("=");return r[0]===t?decodeURIComponent(r[1]):e},"")}Object.defineProperty(t,"__esModule",{value:!0}),t.setCookie=t.getCookie=void 0,t.getCookie=n,t.setCookie=function(e,t,r,o){const i=e.document.location.hostname.split("."),s=[`${t}=${encodeURIComponent(r)}`,"path=/","SameSite=None","Secure"];if(o){const e=new Date(Date.now()+1e3*o).toUTCString();s.push(`expires=${e}`)}const l=s.join("; ");for(let o=2;o<=i.length;o++)if(e.document.cookie=`${l}; domain=${i.slice(-1*o).join(".")}`,n(e,t)===r)return!0;return e.document.cookie=l,!!n(e,t)}},1141(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635).__importDefault(n(70));t.default=r.default},2731(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635);t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){const t=yield e.getConfig();e.on("consent",e=>function(e,t){var n,r,o;const i=e.canonicalPurposes;if(!i)return;if(!window.alloy)return;const s=e=>{let n=0;return t.purposes[e]||(n+=1),n};let l=!1,a=!1,c=!1;const u=null===(n=i.analytics)||void 0===n?void 0:n.purposeCodes,d=null===(r=i.personalization)||void 0===r?void 0:r.purposeCodes,p=null===(o=i.data_broking)||void 0===o?void 0:o.purposeCodes;u&&u.map(e=>{s(e)===(null==u?void 0:u.length)&&(l=!0)}),d&&d.map(e=>{s(e)===(null==d?void 0:d.length)&&(a=!0)}),p&&p.map(e=>{s(e)===(null==p?void 0:p.length)&&(c=!0)});const h=(new Date).toISOString(),f={collect:{val:l?"n":"y"},personalize:{content:{val:a?"n":"y"}},share:{val:c?"n":"y"},metadata:{time:h}};window.alloy("setConsent",{consent:[{standard:"Adobe",version:"2.0",value:f}]})}(t,e))})}},1391(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=(0,n(5305).getLogger)("aep");function i(e){o.info("consentChanged");const t={event:"ketchPermitChanged"};for(const n in e.purposes)t[n]=e.purposes[n];o.debug("pushing to dataLayer",t),(window.adobeDataLayer=window.adobeDataLayer||[]).push(t);const n=window.ketchPermitPreferences=window.ketchPermitPreferences||{};for(const t in e.purposes)n[t]=e.purposes[t]?"1":"0";o.debug("set ketchPermitPreferences:",n)}t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){e.on("consent",i)})}},1567(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=(0,n(5305).getLogger)("amazonads");t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){const t=yield e.getConfig();e.on("consent",e=>function(e,t){var n;o.debug("consentChanged");const r=e.canonicalPurposes;if(!r)return void o.debug("canonicalPurposes not found");if(!window.amzn)return void o.debug("amzn not found");let i=!1;const s=null===(n=r.behavioral_advertising)||void 0===n?void 0:n.purposeCodes;s&&s.map(e=>{(e=>{let n=0;return t.purposes[e]||(n+=1),n})(e)===(null==s?void 0:s.length)&&(i=!0)}),i&&(window.amzn("trackEvent","delete"),o.debug("deleted trackEvents"))}(t,e))})}},4280(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=(0,n(5305).getLogger)("bigcommerce");t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){const t=yield e.getConfig();e.on("consent",e=>function(e,t){var n,i,s;return r.__awaiter(this,void 0,void 0,function*(){o.debug("consentChanged");const r=e.canonicalPurposes;if(!r)return;let l=!1;const a=null===(n=r.analytics)||void 0===n?void 0:n.purposeCodes;(null==a?void 0:a.length)&&(l=a.every(e=>!t.purposes[e]));let c=!1;const u=null===(i=r.behavioral_advertising)||void 0===i?void 0:i.purposeCodes;(null==u?void 0:u.length)&&(c=u.every(e=>!t.purposes[e]));let d=!1;const p=null===(s=r.essential_services)||void 0===s?void 0:s.purposeCodes;(null==p?void 0:p.length)&&(d=p.every(e=>!t.purposes[e]));const h=[],f=[];(l?f:h).push(1),(d?f:h).push(2),(c?f:h).push(3);const _={allow:h,deny:f};o.debug("Sending consent preferences:",_);try{const e=yield fetch("/api/storefront/consent",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(_)});if(e.ok)o.debug("Consent preferences updated");else{const t=yield e.text();o.error("Failed to update consent preferences:",t),400===e.status&&o.warn("Cookie consent tracking may not be enabled in store settings.")}}catch(e){o.error("Network error:",e.message)}})}(t,e))})}},8686(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=n(835),i=n(5305),s=n(835),l=(0,i.getLogger)("bing-ads");t.default=function(e,t){var n;return r.__awaiter(this,void 0,void 0,function*(){const t=yield e.getConfig();if(!t.purposes)return;const r=t.canonicalPurposes;if(!r)return;const i=null===(n=r.behavioral_advertising)||void 0===n?void 0:n.purposeCodes,a=(0,s.getCookie)(window,"_ketch_consent_v1_");if(a){l.debug("cookie consent found");let e=!1;const n=JSON.parse(atob(a));if(n&&i){for(const r of i)if(n[r]){const t=n[r];if(t){const n=t.status;if(n&&"granted"===n){e=!0;break}}}else for(const n of t.purposes)if(!(r!==n.code||n.allowsOptOut&&n.requiresOptIn)){e=!0;break}window.uetq=window.uetq||[],window.uetq.push("consent","default",{ad_storage:e?"granted":"denied"}),l.debug("setting default behavioral_advertising (ad_storage) consent:",e)}}else{l.debug("cookie consent not found");let e=!1;if(i)for(const n of i)if(t.purposes)for(const r of t.purposes)if(!(n!==r.code||r.allowsOptOut&&r.requiresOptIn)){e=!0;break}window.uetq=window.uetq||[],window.uetq.push("consent","default",{ad_storage:e?"granted":"denied"}),l.debug("setting default behavioral_advertising (ad_storage) consent:",e)}e.on("consent",e=>function(e,t){var n;l.info("consent flow triggered");const r=e.canonicalPurposes;if(!r)return;const i=null===(n=r.behavioral_advertising)||void 0===n?void 0:n.purposeCodes;let s=!1;(null==i?void 0:i.length)&&(s=i.every(e=>!t.purposes[e])),window.uetq=window.uetq||[],l.debug("setting ad_storage"),window.uetq.push("consent","update",{ad_storage:s?"denied":"granted"}),l.debug("setting updated behavioral_advertising (ad_storage) consent:",!s),s?(0,o.setCookie)(window,"_uetmsdns",1,31536e3):(0,o.setCookie)(window,"_uetmsdns",0,31536e3),l.info("consent flow completed")}(t,e))})}},7831(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=(0,n(5305).getLogger)("branch"),i=(e,t)=>{if(window.branch)if(window.branch.getBrowserFingerprintId)window.branch.getBrowserFingerprintId((n,r)=>{n?(o.error(n),t(n)):e(null===r?[]:[r])});else{const e="browser id getter function cannot be found";o.debug(e),t(e)}else{const e="plugin not installed";o.debug(e),t(e)}},s=function(){return r.__awaiter(this,void 0,void 0,function*(){return new Promise(i)})};t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){yield e.registerIdentityProvider("_branchBrowserID",s);const t=yield e.getConfig();e.on("consent",e=>function(e,t){if(o.info("consent flow triggered"),!e.canonicalPurposes)return void o.warn("canonical purposes not found");o.debug("canonical purpose codes",e.canonicalPurposes);const n=function(e){var t;const n=[];for(const r of l)(null===(t=e.canonicalPurposes)||void 0===t?void 0:t[r])&&n.push(r);return n}(e),r=function(e,t,n){var r,o;const i=new Map;for(const s of n){const n=null===(o=null===(r=e.canonicalPurposes)||void 0===r?void 0:r[s])||void 0===o?void 0:o.purposeCodes;n&&a(t,n)?i.set(s,!0):i.set(s,!1)}return i}(e,t,n),i=function(e){if(0===e.size)return!1;const t=Array.from(e.keys());for(const n of t)if(!e.get(n))return!1;return!0}(r);window.branch?window.branch.disableTracking?(i?(window.branch.disableTracking(!1),o.debug("opted-in")):(window.branch.disableTracking(!0),o.debug("opted-out")),o.info("consent flow completed")):o.error("disable tracking function not found"):o.debug("plugin not found")}(t,e))})};const l=["analytics","personalization"];function a(e,t){for(const n of t)if(!e.purposes[n])return!1;return!0}},8961(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=(0,n(5305).getLogger)("clarity");t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){const t=yield e.getConfig();e.on("consent",e=>function(e,t){var n,r;o.debug("consentChanged");const i=e.canonicalPurposes;if(!i)return;if(!window.clarity)return;let s=!1;const l=null===(n=i.analytics)||void 0===n?void 0:n.purposeCodes;(null==l?void 0:l.length)&&(s=l.every(e=>!t.purposes[e]));let a=!1;const c=null===(r=i.behavioral_advertising)||void 0===r?void 0:r.purposeCodes;(null==c?void 0:c.length)&&(a=c.every(e=>!t.purposes[e])),window.clarity("consentv2",{ad_Storage:a?"denied":"granted",analytics_Storage:s?"denied":"granted"}),s&&window.clarity("consent",!1)}(t,e))})}},2916(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635);t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){const t=yield e.getConfig();e.on("consent",e=>function(e,t){var n,r,o;const i=null==e?void 0:e.canonicalPurposes;if(!i)return;if(!window.DY)return;const s=e=>{let n=0;return t.purposes[e]||(n+=1),n};let l=!1,a=!1,c=!1;const u=null===(n=i.analytics)||void 0===n?void 0:n.purposeCodes,d=null===(r=i.email_mktg)||void 0===r?void 0:r.purposeCodes,p=null===(o=i.personalization)||void 0===o?void 0:o.purposeCodes;u&&u.map(e=>{s(e)===(null==u?void 0:u.length)&&(l=!0)}),d&&d.map(e=>{s(e)===(null==d?void 0:d.length)&&(a=!0)}),p&&p.map(e=>{s(e)===(null==p?void 0:p.length)&&(c=!0)}),l||a||c?window.DY.API("consent_optout"):window.DY.API("consent_optin")}(t,e))})}},2704(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635);t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){const t=yield e.getConfig();e.on("consent",e=>function(e,t){var n,r;const o=e.canonicalPurposes;if(!o)return;if(!window.fbq)return;const i=e=>{let n=0;return t.purposes[e]||(n+=1),n};let s=!1,l=!1;const a=null===(n=o.behavioral_advertising)||void 0===n?void 0:n.purposeCodes,c=null===(r=o.data_broking)||void 0===r?void 0:r.purposeCodes;a&&a.map(e=>{i(e)===(null==a?void 0:a.length)&&(s=!0)}),c&&c.map(e=>{i(e)===(null==c?void 0:c.length)&&(l=!0)}),s||l?(window.fbq("dataProcessingOptions",["LDU"],1,1e3),window.fbq("consent","revoke")):(window.fbq("dataProcessingOptions",[]),window.fbq("consent","grant"))}(t,e))})}},551(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.consentChanged=void 0;const r=n(1635),o=(0,n(5305).getLogger)("fullstory");function i(e){const t=e.identities.email;t&&window.FS&&window.FS.identify(t)}function s(e,t){var n,r;o.info("consentChanged");const i=null==e?void 0:e.canonicalPurposes;if(!i)return;if(!window.FS)return;const s=e=>{let n=0;return t.purposes[e]||(n+=1),n};let l=!1,a=!1;const c=null===(n=i.analytics)||void 0===n?void 0:n.purposeCodes,u=null===(r=i.prod_enhancement)||void 0===r?void 0:r.purposeCodes;c&&c.map(e=>{s(e)===(null==c?void 0:c.length)&&(l=!0)}),u&&u.map(e=>{s(e)===(null==u?void 0:u.length)&&(a=!0)}),l&&a?(window.FS.shutdown(),o.debug("fullstory shutdown successfull")):(window.FS.restart(),o.debug("fullstory restart successfull"))}t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){e.on("rightInvoked",i);const t=yield e.getConfig();e.on("consent",e=>s(t,e))})},t.consentChanged=s},4572(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=n(5305),i=new Map([["behavioral_advertising",["ad_storage","ad_user_data"]],["analytics",["analytics_storage"]],["essential_services",["functionality_storage","security_storage"]],["personalization",["personalization_storage","ad_personalization"]]]),s=(0,o.getLogger)("googletag");function l(){return window.dataLayer=window.dataLayer||[]}t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){window.gtag&&window.gtag("set","developer_id.dN2JhM2",!0);const t=yield e.getConfig();e.on("consent",e=>function(e,t){var n;s.info("consentChanged");const r=new Map;if(t.purposes){const n=null==e?void 0:e.canonicalPurposes;for(const e in t.purposes)if(!e.includes(".")){const o=t.purposes[e];if(n)for(const t in n){const s=n[t].purposeCodes;if(s&&s.includes(e)&&i.has(t)){const e=i.get(t);if(e)for(const t of e)r.has(t)&&(r.get(t)||o)?r.set(t,!0):r.set(t,o)}}}if(e.globalPurposes)for(const t of e.globalPurposes)if(t&&t.code&&!t.code.includes(".")&&n)for(const e in n){const o=n[e].purposeCodes;if(o&&o.includes(t.code)&&i.has(e)){const t=i.get(e);if(t)for(const e of t)r.set(e,!0)}}}s.debug("googlePurposeMap :",r);const o=window.ketchConsent=window.ketchConsent||{};for(const e in t.purposes)e.includes(".")||(o[e]=t.purposes[e]);if(r.forEach((e,t)=>{o[t]=e}),e.globalPurposes)for(const t of e.globalPurposes)t&&t.code&&!t.code.includes(".")&&(o[t.code]=!0);if(window.ketchConsent=o,s.debug("ketchConsent :",window.ketchConsent),t.purposes&&window.gtmConsentListeners){const e={};for(const n in t.purposes)n.includes(".")||(e[n]=t.purposes[n]);r&&e&&r.forEach((t,n)=>{e[n]=t});const o={purposes:e};null===(n=window.gtmConsentListeners)||void 0===n||n.forEach(e=>{s.debug("GTM consent template callback called with consent ",o,e),e(o),s.debug("executed GTM consent template callback command successfully")})}else s.debug("consent purposes or gtmConsentListeners not found!");const a={event:"ketchPermitChanged"},c={event:"switchbitPermitChanged"};for(const e in t.purposes)e.includes(".")||(a[e]=t.purposes[e],c[e]=t.purposes[e]);s.debug("pushing to dataLayer",a),l().push(a),l().push(c)}(t,e)),e.on("userConsentUpdated",e=>function(e){s.info("consentUpdated");const t={event:"ketchConsentUpdated"};for(const n in e.purposes)t[n]=e.purposes[n];s.debug("pushing ketchConsentUpdated event to dataLayer",t),l().push(t)}(e))})}},7444(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=n(9877),i=n(2250),s=n(1613),l=(0,n(5305).getLogger)("plugins-gpp"),a={2:"tcfeuv2",5:"tcfcav1",6:"uspv1",7:"usnat",8:"usca",9:"usva",10:"usco",11:"usut",12:"usct"};let c,u=!1,d=!1;t.default=function(e,t){var n,p;return r.__awaiter(this,void 0,void 0,function*(){(0,i.gppstub)(),c=new o.CmpApi(340,1),c.setApplicableSections([-1]),c.setCmpDisplayStatus(o.CmpDisplayStatus.DISABLED);const t=yield e.getConfig();let h=!1;for(const e of Object.values(a)){const r=null===(n=t.plugins)||void 0===n?void 0:n[e];if(r&&Array.isArray(r.jurisdictions)){for(const e of r.jurisdictions)if(e===(null===(p=t.jurisdiction)||void 0===p?void 0:p.code)){h=!0;break}if(h)break}}if(!h)return c.setCmpStatus(o.CmpStatus.LOADED),void c.setSignalStatus(o.SignalStatus.READY);try{e.on("consent",t=>{l.debug("consent event received");try{!function(e,t){var n,i;r.__awaiter(this,void 0,void 0,function*(){Object.keys(t).length>0&&(u=!0),u&&d&&(c.setCmpStatus(o.CmpStatus.LOADED),c.setSignalStatus(o.SignalStatus.READY));let r=null===(n=null==t?void 0:t.protocols)||void 0===n?void 0:n.gpp;if(!r){l.debug("no gpp string in consent, refetching");const t=yield e.getConsent(!0);(null===(i=null==t?void 0:t.protocols)||void 0===i?void 0:i.gpp)&&(r=t.protocols.gpp)}if(r){const t=new o.GppModel(r),n=t.getSectionIds();let i=0,l="";n.length>0&&(i=n[0],l=a[i]),e.emit("gpp_updated_data",r,(0,s.convertGPPModelToMobileGPPModel)(t,r,i,l))}})}(e,t)}catch(e){l.error("Error in consent handler",e)}})}catch(e){l.error("Failed to register consent handler",e)}try{e.on("protocols",t=>{l.debug("protocols event received");try{!function(e,t){if(t.gpp){const n=new o.GppModel(t.gpp);c.setGppString(t.gpp);const r=n.getSectionIds();let i=0,l="";if(r.length>0){i=r[0],l=a[i];const e=n.getFieldValueBySectionId(i,"Version");c.setSupportedAPIs([i+":"+l]),"tcfeuv2"===l&&2!==e?c.setFieldValueBySectionId(i,"Version",2):c.setFieldValueBySectionId(i,"Version",1)}c.setApplicableSections(n.getSectionIds()),e.emit("gpp_updated_data",t.gpp,(0,s.convertGPPModelToMobileGPPModel)(n,t.gpp,i,l))}d=!0,u&&d&&(c.setCmpStatus(o.CmpStatus.LOADED),c.setSignalStatus(o.SignalStatus.READY)),window.__gpp&&window.__gpp("addEventListener",e=>{(null==e?void 0:e.pingData)&&(null===localStorage||void 0===localStorage||localStorage.setItem("_ketch_gpp_v1_",window.btoa(JSON.stringify(e.pingData))))})}(e,t)}catch(e){l.error("Error in protocols handler",e)}})}catch(e){l.error("Failed to register protocols handler",e)}})}},2250(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gppstub=t.gppWindow=void 0,t.gppWindow=window,t.gppstub=function(){t.gppWindow.__gpp_addFrame=function(e){if(!window.frames[e])if(document.body){const t=document.createElement("iframe");t.style.cssText="display:none",t.name=e,document.body.appendChild(t)}else window.setTimeout(t.gppWindow.__gpp_addFrame,10,e)},t.gppWindow.__gpp_stub=function(...e){const n=e;if(t.gppWindow.__gpp.queue=t.gppWindow.__gpp.queue||[],t.gppWindow.__gpp.events=t.gppWindow.__gpp.events||[],!n.length||1==n.length&&"queue"==n[0])return t.gppWindow.__gpp.queue;if(1==n.length&&"events"==n[0])return t.gppWindow.__gpp.events;const r=n[0],o=n.length>1?n[1]:null,i=n.length>2?n[2]:null;if("ping"===r)o({gppVersion:"1.1",cmpStatus:"stub",cmpDisplayStatus:"hidden",signalStatus:"not ready",supportedAPIs:["2:tcfeuv2","5:tcfcav1","6:uspv1","7:usnatv1","8:uscav1","9:usvav1","10:uscov1","11:usutv1","12:usctv1"],cmpId:0,sectionList:[],applicableSections:[],gppString:"",parsedSections:{}},!0);else if("addEventListener"===r){"lastId"in t.gppWindow.__gpp||(t.gppWindow.__gpp.lastId=0),t.gppWindow.__gpp.lastId++;const e=t.gppWindow.__gpp.lastId;t.gppWindow.__gpp.events.push({id:e,callback:o,parameter:i}),o({eventName:"listenerRegistered",listenerId:e,data:!0,pingData:{gppVersion:"1.1",cmpStatus:"stub",cmpDisplayStatus:"hidden",signalStatus:"not ready",supportedAPIs:["2:tcfeuv2","5:tcfcav1","6:uspv1","7:usnatv1","8:uscav1","9:usvav1","10:uscov1","11:usutv1","12:usctv1"],cmpId:0,sectionList:[],applicableSections:[],gppString:"",parsedSections:{}}},!0)}else if("removeEventListener"===r){let e=!1;for(let n=0;n{const o={IABGPP_HDR_Version:"1.1",IABGPP_HDR_Sections:n.toString(),IABGPP_HDR_GppString:t,IABGPP_GppSID:n.toString()};return t.split("~").length>1&&(o[`IABGPP_${r}_GppSID`]=t.split("~")[1]),o}},6500(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=n(5305),i=n(835),s=(0,o.getLogger)("gtag");function l(){return window.dataLayer=window.dataLayer||[]}t.default=function(e,t){var n;return r.__awaiter(this,void 0,void 0,function*(){const t=yield e.getConfig();if(!t.purposes)return;const r=null===(n=t.plugins)||void 0===n?void 0:n.gtag;if(!r)return void s.debug("gtag plugin options not found");const o=null==r?void 0:r.purposeMappings;if(!o)return void s.debug("gtag plugin purpose mappings not found");const a=e=>{if(e)for(const n of e)if(t.purposes)for(const e of t.purposes)if(!(n!==e.code||e.allowsOptOut&&e.requiresOptIn))return!0;return!1},c=(e,n)=>{if(e&&n)for(const r of e)if(n[r]){const e=n[r];if(e){const t=e.status;if(t&&"granted"===t)return!0}}else if(t.purposes)for(const e of t.purposes)if(!(r!==e.code||e.allowsOptOut&&e.requiresOptIn))return!0;return!1},u=["analytics_storage","ad_storage","ad_personalization","ad_user_data"],d={};for(const e of o){const t=e.pluginPurposeID,n=a(e.purposes);u.includes(t)&&(d[t]=n?"granted":"denied")}const p=(0,i.getCookie)(window,"_ketch_consent_v1_");if(p){s.debug("cookie consent found");const e=JSON.parse(atob(p));if(e)for(const t of o){const n=t.pluginPurposeID,r=c(t.purposes,e);u.includes(n)&&(d[n]=r?"granted":"denied")}}d.wait_for_update=500,window.gtag&&(window.gtag("set","developer_id.dN2JhM2",!0),s.debug("setting gtag default consent : ",d),window.gtag("consent","default",d)),e.on("consent",e=>function(e,t){var n,r;s.debug("consentChanged");const o=null===(n=e.plugins)||void 0===n?void 0:n.gtag;if(!o)return void s.debug("gtag plugin options not found");const i=null==o?void 0:o.purposeMappings;if(!i)return void s.debug("gtag plugin purpose mappings not found");const a=e=>{if(e)for(const n of e)if(t.purposes[n])return!0;return!1},c=["analytics_storage","ad_storage","ad_personalization","ad_user_data"],u={};let d=!1;for(const e of i){const t=e.pluginPurposeID,n=a(e.purposes);c.includes(t)&&(u[t]=n?"granted":"denied"),"ads_data_redaction"===t&&(d=!n)}if(window.gtag&&(s.debug("updating gtag consent : ",u),window.gtag("consent","update",u),s.debug("set ads_data_redaction:",d),window.gtag("set","ads_data_redaction",d)),!(null===(r=e.plugins)||void 0===r?void 0:r.googletag)){const e={event:"ketchPermitChanged"},n={event:"switchbitPermitChanged"};for(const r in t.purposes)r.includes(".")||(e[r]=t.purposes[r],n[r]=t.purposes[r]);s.debug("pushing to dataLayer",e),l().push(e),l().push(n)}}(t,e))})}},4229(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635);t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){const t=yield e.getConfig();e.on("consent",e=>function(e,t){var n,r,o;const i=null==e?void 0:e.canonicalPurposes;if(!i)return;if(!window.heap)return;const s=e=>{let n=0;return t.purposes[e]||(n+=1),n};let l=!1,a=!1;const c=null===(n=i.analytics)||void 0===n?void 0:n.purposeCodes,u=null===(r=i.prod_enhancement)||void 0===r?void 0:r.purposeCodes;c&&c.map(e=>{s(e)===(null==c?void 0:c.length)&&(l=!0)}),u&&u.map(e=>{s(e)===(null==u?void 0:u.length)&&(a=!0)});const d=window.heap;if(l||a)d.identity&&(null===(o=window.localStorage)||void 0===o||o.setItem("_ketch_heap_id_",btoa(d.identity))),d.resetIdentity();else{const e=window.localStorage.getItem("_ketch_heap_id_");e&&d.identify(atob(e))}}(t,e))})}},9006(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=(0,n(5305).getLogger)("hubspot");t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){const t=yield e.getConfig();e.on("consent",e=>function(e,t){var n,r,i;o.debug("consentChanged");const s=e.canonicalPurposes;if(!s)return;let l=!1;const a=null===(n=s.analytics)||void 0===n?void 0:n.purposeCodes;(null==a?void 0:a.length)&&(l=a.every(e=>!t.purposes[e]));let c=!1;const u=null===(r=s.behavioral_advertising)||void 0===r?void 0:r.purposeCodes;(null==u?void 0:u.length)&&(c=u.every(e=>!t.purposes[e]));let d=!1;const p=null===(i=s.essential_services)||void 0===i?void 0:i.purposeCodes;(null==p?void 0:p.length)&&(d=p.every(e=>!t.purposes[e])),window._hsp=window._hsp||[],window._hsp.push(["setHubSpotConsent",{analytics:!l,advertisement:!c,functionality:!d}]),o.debug("updated hubspot cookie consent")}(t,e))})}},70(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=r.__importDefault(n(1391)),i=r.__importDefault(n(8686)),s=r.__importDefault(n(7831)),l=r.__importDefault(n(2916)),a=r.__importDefault(n(2704)),c=r.__importDefault(n(551)),u=r.__importDefault(n(4572)),d=r.__importDefault(n(4229)),p=r.__importDefault(n(1111)),h=r.__importDefault(n(1724)),f=r.__importDefault(n(9428)),_=r.__importDefault(n(1269)),E=r.__importDefault(n(4411)),g=r.__importDefault(n(2089)),m=r.__importDefault(n(8851)),b=r.__importDefault(n(1891)),T=r.__importDefault(n(8380)),v=r.__importDefault(n(5094)),S=r.__importDefault(n(9181)),y=r.__importDefault(n(6500)),C=r.__importDefault(n(7444)),O=r.__importDefault(n(8812)),N=r.__importDefault(n(1567)),k=r.__importDefault(n(2731)),P=r.__importDefault(n(8731)),R=r.__importDefault(n(9950)),I=r.__importDefault(n(8961)),A=r.__importDefault(n(9006)),x=r.__importDefault(n(2826)),w=r.__importDefault(n(4280)),L=n(8509),B=n(5305),D={aep:o.default,bing_ads:i.default,branch:s.default,dynamic_yield:l.default,facebook_ads:a.default,fullstory:c.default,googletag:u.default,heap:d.default,luckyorange:p.default,optimizely:h.default,postmessage:f.default,proxy:_.default,rakutenads:g.default,rudderstack:E.default,shopify:m.default,taboola:b.default,tcf:T.default,tealium:v.default,usprivacy:S.default,gtag:y.default,gpp:C.default,segment:O.default,amazonads:N.default,adobeexperiencecloud:k.default,sailthru:P.default,permutive:R.default,clarity:I.default,hubspot:A.default,klaviyo:x.default,bigcommerce:w.default},M=(0,B.getLogger)("plugins");t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){const t=yield e.getConfig();if(M.info("initializing"),!t.plugins)return void M.info("no plugins configured");const n="true"===(null===localStorage||void 0===localStorage?void 0:localStorage.getItem("isEmulator"));if(e.deploymentMode===L.DeploymentMode.Quiet&&!n)return void M.info("quiet mode");window.__tcfapi&&!t.plugins.tcf&&null!==localStorage.getItem("_ketch_tcf_tcdata_v1_")&&(t.plugins.tcf={}),window.__gpp&&!t.plugins.gpp&&null!==localStorage.getItem("_ketch_gpp_v1_")&&(t.plugins.gpp={});const r=["lanyard","tcfcav1","tcfeuv2","usca","usco","usct","usut","usva","usnat","proxy","gpc","onetrust"],o=[];for(const[n,i]of Object.entries(t.plugins)){M.debug("checking for plugin",n);const t=D[n];t?(M.info(`initializing ${n}`,i),o.push(t(e,i))):r.includes(n)||M.debug(`unknown plugin: ${n}`)}return Promise.all(o).then(()=>{})})}},2826(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=n(835),i=n(835),s="__kla_off";function l(){const e=window.location.hostname.split("."),t="Thu, 01 Jan 1970 00:00:00 GMT";for(let n=2;n<=e.length;n++){const r=e.slice(-1*n).join(".");window.document.cookie=`${s}=; expires=${t}; path=/; SameSite=None; Secure; domain=${r}`}window.document.cookie=`${s}=; expires=${t}; path=/; SameSite=None; Secure`}t.default=function(e,t){var n;return r.__awaiter(this,void 0,void 0,function*(){const t=yield e.getConfig();if(!t.purposes)return;const r=t.canonicalPurposes;if(!r)return;const a=null===(n=r.analytics)||void 0===n?void 0:n.purposeCodes;if(!a||!Array.isArray(a)||0===a.length)return;const c=(0,i.getCookie)(window,"_ketch_consent_v1_");if(c){let e=!1;const n=JSON.parse(atob(c));if(n)for(const r of a)if(n[r]){const t=n[r];if(t){const n=t.status;if(n&&"granted"===n){e=!0;break}}}else for(const n of t.purposes)if(!(r!==n.code||n.allowsOptOut&&n.requiresOptIn)){e=!0;break}e?l():(0,o.setCookie)(window,s,"true",31536e3)}else{let e=!1;for(const n of a)if(t.purposes)for(const r of t.purposes)if(!(n!==r.code||r.allowsOptOut&&r.requiresOptIn)){e=!0;break}e?l():(0,o.setCookie)(window,s,"true",31536e3)}e.on("consent",e=>function(e,t){var n;const r=e.canonicalPurposes;if(!r)return;const i=null===(n=r.analytics)||void 0===n?void 0:n.purposeCodes;if(!i||!Array.isArray(i)||0===i.length)return;i.every(e=>!t.purposes[e])?(0,o.setCookie)(window,s,"true",31536e3):l()}(t,e))})}},1111(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=(0,n(5305).getLogger)("luckyorange");t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){const t=yield e.getConfig();e.on("consent",e=>function(e,t){var n,r;o.info("consent workflow triggered");const i=null==e?void 0:e.canonicalPurposes;if(!i)return;if(!window.LO)return void o.debug("Plugin not found");if(!window.LO.privacy)return void o.error("Privacy object not found");o.debug("plugin and privacy found!!");const s=e=>{o.debug("getting optout count");let n=0;return o.debug("consent purposes = ",t.purposes),o.debug("matching purpose with consent purposes list.."),t.purposes[e]||(o.debug("Found ! incrementing optout count by 1"),n+=1),o.debug("returning optout count"),n};let l=!1,a=!1;o.debug("canonical Purpose codes = ",i);const c=null===(n=i.analytics)||void 0===n?void 0:n.purposeCodes,u=null===(r=i.behavioral_advertising)||void 0===r?void 0:r.purposeCodes;c&&c.map(e=>{const t=s(e);o.debug("optOutCount analyticsPurpose code count = ",t),o.debug("analyticsPurposeCodes?.length = ",null==c?void 0:c.length),t===(null==c?void 0:c.length)&&(l=!0)}),u&&u.map(e=>{const t=s(e);o.debug("optOutCount behavioralAdvertisingPurposeCodes code count = = ",t),o.debug("behavioralAdvertisingPurposeCodes?.length = ",null==u?void 0:u.length),t===(null==u?void 0:u.length)&&(a=!0)}),o.debug("isAnalyticsDisabled = ",l),o.debug("isBehavioralAdvertisingPurposeCodesDisabled = ",a),l||a?(o.debug("opting out user"),window.LO.privacy.optOut()):(o.debug("setting tracking consent to true"),window.LO.privacy.setConsentStatus(!0)),o.info("workflow completed.")}(t,e))})}},1724(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635);t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){const t=yield e.getConfig();e.on("consent",e=>function(e,t){if(e.purposes&&window.optimizely)for(const n of e.purposes)window.optimizely.push({type:"user",attributes:{canonical_purpose_optout:!t.purposes[n.code]||null}}),"analytics"===n.canonicalPurposeCode&&window.optimizely.push({type:"optOut",isOptOut:!t.purposes[n.code]})}(t,e))})}},9950(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=(0,n(5305).getLogger)("permutive");t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){const t=yield e.getConfig();e.on("consent",e=>function(e,t){var n;o.debug("consentChanged");const r=e.canonicalPurposes;if(!r)return void o.debug("canonicalPurposes not found");if(!window.permutive)return void o.debug("permutive not found");let i=!1;const s=null===(n=r.behavioral_advertising)||void 0===n?void 0:n.purposeCodes;s&&s.map(e=>{(e=>{let n=0;return t.purposes[e]||(n+=1),n})(e)===(null==s?void 0:s.length)&&(i=!0)}),i?(window.permutive.consent({opt_in:!1}),o.debug("permutive consent optout")):(window.permutive.consent({opt_in:!0,token:"CONSENT_CAPTURED"}),o.debug("permutive consent optin"))}(t,e))})}},9428(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=(0,n(5305).getLogger)("postmessage");function i(e){return r.__awaiter(this,void 0,void 0,function*(){const t=yield e.getConsent(),n=yield e.getConfig(),r=null==n?void 0:n.canonicalPurposes,o={},i={};if(null==t?void 0:t.purposes){for(const[e,n]of Object.entries(t.purposes))i[e]=n?"granted":"denied";if(r)for(const[e,n]of Object.entries(r)){const r=n.purposeCodes;if(r&&r.length>0&&r.every(e=>t.purposes.hasOwnProperty(e))){const n=r.every(e=>!0===t.purposes[e]);o[e]=n?"granted":"denied"}}}return{type:"ketch.consent.update",version:1,ketchPurposes:o,purposes:i}})}t.default=function(e,t){var n;return r.__awaiter(this,void 0,void 0,function*(){const s=(null===(n=null==t?void 0:t.config)||void 0===n?void 0:n.allowedOrigins)||[];o.debug("PostMessage plugin initialized for parent page"),window.addEventListener("message",t=>{!function(e,t,n){if(n.length>0&&!n.includes(e.origin))return void o.debug("ignoring message from unauthorized origin",e.origin);let s;try{s=JSON.parse(e.data)}catch(e){return void o.warn("invalid consent message received - not JSON")}if(s.type&&s.version)if(1===s.version)switch(o.debug("received consent message from iframe",s),s.type){case"ketch.consent.update":!function(e,t){var n;r.__awaiter(this,void 0,void 0,function*(){o.debug("handling consent update from iframe",t);const r={};if(t.purposes){for(const[e,n]of Object.entries(t.purposes))r[e]="granted"===n;o.debug("processed direct purposes",t.purposes)}if(t.ketchPurposes&&0===Object.keys(r).length)try{const i=yield e.getConfig(),s=null==i?void 0:i.canonicalPurposes;if(!s)return void o.warn("no canonical purposes configured, cannot process ketch purposes");for(const[e,o]of Object.entries(t.ketchPurposes)){const t=null===(n=s[e])||void 0===n?void 0:n.purposeCodes;if(t)for(const e of t)r[e]="granted"===o}o.debug("processed ketch purposes via canonical mapping",t.ketchPurposes)}catch(e){o.error("failed to process ketch purposes",e)}if(Object.keys(r).length>0)try{yield e.setConsent({purposes:r}),o.info("consent updated via postmessage from iframe",r)}catch(e){o.error("failed to update consent",e)}else o.debug("no purpose consents to update")})}(t,s,e.origin);break;case"ketch.consent.request":!function(e,t){r.__awaiter(this,void 0,void 0,function*(){o.debug("handling consent request from iframe"),yield function(e,t){return r.__awaiter(this,void 0,void 0,function*(){try{const n=yield i(e),r=JSON.stringify(n);o.debug(`sending consent update to origin: ${t}`,n);const s=document.querySelectorAll("iframe");for(const e of s)try{e.contentWindow&&e.contentWindow.postMessage(r,t)}catch(e){o.warn(`failed to send message to iframe with origin ${t}`,e)}}catch(e){o.error("failed to send consent update to specific origin",e)}})}(e,t)})}(t,e.origin);break;default:o.warn("unknown message type",s.type)}else o.warn("ignoring message with invalid version",s.version);else o.warn("invalid consent message received - missing required fields")}(t,e,s)});try{e.on("consent",t=>{try{!function(e){r.__awaiter(this,void 0,void 0,function*(){o.debug("consent changed, broadcasting to all iframes"),yield function(e){var t,n;return r.__awaiter(this,void 0,void 0,function*(){try{const r=yield e.getConfig(),s=null===(t=r.plugins)||void 0===t?void 0:t.postmessage,l=(null===(n=null==s?void 0:s.config)||void 0===n?void 0:n.allowedOrigins)||[],a=document.querySelectorAll("iframe");if(0===a.length)return void o.debug("no iframes found to send consent updates");o.debug(`broadcasting consent updates to ${a.length} iframe(s)`);const c=yield i(e),u=JSON.stringify(c);for(const e of a)try{if(e.contentWindow)if(l.length>0)for(const t of l)o.debug(`broadcasting consent update to iframe with origin: ${t}`),e.contentWindow.postMessage(u,t);else o.debug("broadcasting consent update to iframe with origin: *"),e.contentWindow.postMessage(u,"*")}catch(e){o.warn("failed to send message to iframe",e)}}catch(e){o.error("failed to broadcast consent updates to iframes",e)}})}(e)})}(e)}catch(e){o.error("Error in consent handler",e)}})}catch(e){o.error("Failed to register consent handler",e)}})}},1269(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=n(5237),i=n(8509);t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){const t=yield e.getConfig();if(!t.property||!t.property.proxy||!t.identities)return;const n=new URL(t.property.proxy),s=new URL(window.location.href);if(n.origin!==s.origin){yield o.proxy.open(n.toString()),yield e.registerStorageProvider(i.StorageOriginPolicy.CrossOrigin,{getItem(e){return r.__awaiter(this,void 0,void 0,function*(){return o.proxy.invoke("getItem",e)})},setItem(e,t){return r.__awaiter(this,void 0,void 0,function*(){return o.proxy.invoke("setItem",e,t)})},removeItem(e){return r.__awaiter(this,void 0,void 0,function*(){return o.proxy.invoke("removeItem",e)})}});for(const n of Object.keys(t.identities)){const r=t.identities[n];r.type===i.IdentityType.IDENTITY_TYPE_LOCAL_STORAGE&&(yield e.registerIdentityProvider(n,()=>o.proxy.invoke("getIdentity",r)))}}})}},2089(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=(0,n(5305).getLogger)("rakutenads");t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){const t=yield e.getConfig();e.on("consent",e=>function(e,t){var n;o.info("consent workflow triggered");const r=null==e?void 0:e.canonicalPurposes;if(!r)return;let i=!1,s=null===(n=r.behavioral_advertising)||void 0===n?void 0:n.purposeCodes;s&&s.map(e=>{(e=>{let n=0;return t.purposes[e]||(n+=1),n})(e)===(null==s?void 0:s.length)&&(i=!0)}),i?(o.debug("setting tracking consent to false"),window.__rmcp2=[1,2,3,4,5,6,7,8,9,10]):(o.debug("setting tracking consent to true"),window.__rmcp2=[]),o.info("consent workflow completed.")}(t,e))})}},4411(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=(0,n(5305).getLogger)("rudderstack");function i(e){var t;o.info("consentChanged");const n=window.ketchConsent=window.ketchConsent||{};for(const t in e.purposes)n[t]=e.purposes[t];window.ketchConsent=n,o.debug("ketchConsent :",window.ketchConsent),e.purposes&&window.updateKetchConsent?(o.debug("calling updateKetchConsent (rudderstack ketch consent update callbeack)..."),null===(t=window.updateKetchConsent)||void 0===t||t.call(window,e.purposes)):o.debug("consent purposes or updateKetchConsent (rudderstack ketch consent update callbeack) not found!")}t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){e.on("consent",i)})}},8731(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=(0,n(5305).getLogger)("sailthru");t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){const t=yield e.getConfig();e.on("consent",e=>function(e,t){var n;o.debug("consentChanged");const r=e.canonicalPurposes;if(!r)return;if(!window.Sailthru)return;let i=!1;const s=null===(n=r.analytics)||void 0===n?void 0:n.purposeCodes;(null==s?void 0:s.length)&&(i=s.every(e=>!t.purposes[e])),i?window.Sailthru.track("cookiesDoNotTrack"):window.Sailthru.track("cookiesDoNotTrack",{set:!1})}(t,e))})}},8812(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=n(835),i=(0,n(5305).getLogger)("segment");function s(e){if(i.info("consentChanged"),!e.purposes)return void i.debug("consent not found");const t=window.ketchConsent=window.ketchConsent||{};for(const n in e.purposes)t[n]=e.purposes[n];window.ketchConsent=t,i.debug("ketchConsent :",window.ketchConsent)}t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){const t=(0,o.getCookie)(window,"_ketch_consent_v1_"),n=window.ketchConsent=window.ketchConsent||{};if(t){const e=JSON.parse(atob(t));if(e)for(const t in e){const r=e[t];if(r){const e=r.status;e&&(n[t]="granted"===e)}}}else i.debug("cookie consent not found");window.ketchConsent=n,i.debug("init ketchConsent :",window.ketchConsent),e.on("consent",s)})}},8851(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=(0,n(5305).getLogger)("shopify");function i(){window.Shopify.loadFeatures?(o.debug("load consent-tracking-api"),window.Shopify.loadFeatures([{name:"consent-tracking-api",version:"0.1"}],e=>{e?o.error(e):o.debug("consent-tracking-api loaded")})):o.debug("Shopify.loadFeatures not found")}t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){const t=yield e.getConfig();window.Shopify&&!window.Shopify.customerPrivacy&&i(),e.on("consent",e=>function(e,t){var n,r,s,l,a,c;o.debug("consent workflow triggered");const u=null==e?void 0:e.canonicalPurposes;if(!u)return;if(!window.Shopify)return void o.debug("plugin not found");o.debug("plugin found"),window.Shopify.customerPrivacy||i();let d=!1,p=!1,h=!1,f=!1;const _=null===(n=u.behavioral_advertising)||void 0===n?void 0:n.purposeCodes,E=null===(r=u.analytics)||void 0===r?void 0:r.purposeCodes,g=null===(s=u.personalization)||void 0===s?void 0:s.purposeCodes,m=null===(l=u.data_broking)||void 0===l?void 0:l.purposeCodes;(null==E?void 0:E.length)&&(d=E.every(e=>!t.purposes[e])),(null==_?void 0:_.length)&&(p=_.every(e=>!t.purposes[e])),(null==g?void 0:g.length)&&(h=g.every(e=>!t.purposes[e])),(null==m?void 0:m.length)&&(f=m.every(e=>!t.purposes[e]));const b={analytics:!d,marketing:!p,preferences:!h,sale_of_data:!f};o.debug("setting shopify custom privacy consent: ",b),null===(c=null===(a=window.Shopify)||void 0===a?void 0:a.customerPrivacy)||void 0===c||c.setTrackingConsent(b,()=>{o.trace("callback triggered")})}(t,e))})}},1891(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635);t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){const t=yield e.getConfig();window._taboola&&e.on("consent",e=>function(e,t){var n,r,o,i,s;const l=e.canonicalPurposes;if(!l)return;if(!window._taboola)return;if("gdpr"===(null===(o=(null===(n=e.jurisdiction)||void 0===n?void 0:n.code)||(null===(r=e.jurisdiction)||void 0===r?void 0:r.defaultJurisdictionCode))||void 0===o?void 0:o.toLowerCase())){const e=null===(i=l.behavioral_advertising)||void 0===i?void 0:i.purposeCodes;if(!e||0===e.length)return;e.every(e=>t.purposes[e])?window._taboola.push({cex:"true"}):window._taboola.push({cex:"false"})}else{const e=null===(s=l.data_broking)||void 0===s?void 0:s.purposeCodes;if(!e||0===e.length)return;e.every(e=>t.purposes[e])?window._taboola.push({cdns:"false"}):window._taboola.push({cdns:"true"})}}(t,e))})}},8380(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TCModelAdditionalConsent=void 0;const r=n(1635),o=n(4178),i=n(1229),s=n(8509),l=n(69);class a extends i.TCModel{}t.TCModelAdditionalConsent=a;let c,u,d,p="",h=!1,f=!1,_=!1,E=!0,g=!0;function m(e,t){return r.__awaiter(this,void 0,void 0,function*(){const n=yield e.getConfig();d||(d=new o.CmpApi(340,1,!0,{getTCData:(e,t,r)=>{var o,i;if("boolean"!=typeof t){const e=function(e){let t="";for(const n of e)t+=n+".";return t.length>0&&t.slice(0,-1),t.length>0&&(t=t.slice(0,-1)),"2~"+t}((null==u?void 0:u.googleVendors)||[]);u.addtlConsent=t.addtlConsent=e;const r=null===(o=null==n?void 0:n.plugins)||void 0===o?void 0:o.tcf,s="true"===(null===(i=null==r?void 0:r.options)||void 0===i?void 0:i.enableAdvertiserConsentMode);t.enableAdvertiserConsentMode=u.enableAdvertiserConsentMode=s,t.hasOwnProperty("outOfBand")&&delete t.outOfBand}e(t,r)}})),d.update(p.length?p:null,t),window.__tcfapi&&(window.__tcfapi("ping",2,e=>{e&&(null===localStorage||void 0===localStorage||localStorage.setItem("_ketch_tcf_ping_v1_",window.btoa(JSON.stringify(e))))}),window.__tcfapi("addEventListener",2,e=>{e&&(null===localStorage||void 0===localStorage||localStorage.setItem("_ketch_tcf_tcdata_v1_",window.btoa(JSON.stringify(e))))})),e.emit("tcf_updated",p),e.emit("tcf_updated_data",p,(0,l.convertTCModelToMobileTCFModel)(u,p))})}t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){const t=yield e.getConfig();if(!t.services)return;if(t.jurisdiction&&t.plugins&&t.plugins.tcf){const e=t.plugins.tcf;e.jurisdictions&&t.jurisdiction.code&&e.jurisdictions.includes(t.jurisdiction.code)&&(h=!0)}if("the_globe_and_mail"!==t.organization.code&&"axonic"!==t.organization.code||(g=!1),!h)return d||(d=new o.CmpApi(340,1,!0)),d.update(null),void(window.__tcfapi&&(window.__tcfapi("ping",2,e=>{e&&(null===localStorage||void 0===localStorage||localStorage.setItem("_ketch_tcf_ping_v1_",window.btoa(JSON.stringify(e))))}),window.__tcfapi("addEventListener",2,e=>{e&&(null===localStorage||void 0===localStorage||localStorage.setItem("_ketch_tcf_tcdata_v1_",window.btoa(JSON.stringify(e))))})));let n;if((()=>{const e="__tcfapiLocator",t=[],n=window;let r,o,i=n;for(;i;){try{if(i.frames[e]){r=i;break}}catch(e){}if(i===n.top)break;i=i.parent}r||(function t(){const r=n.document,o=!!n.frames[e];if(!o)if(r.body){const t=r.createElement("iframe");t.style.cssText="display:none",t.name=e,r.body.appendChild(t)}else setTimeout(t,5);return!o}(),n.__tcfapi=function(...e){if(!e.length)return t;"setGdprApplies"===e[0]?e.length>3&&2===parseInt(e[1],10)&&"boolean"==typeof e[3]&&(o=e[3],"function"==typeof e[2]&&e[2]("set",!0)):"ping"===e[0]?"function"==typeof e[2]&&e[2]({gdprApplies:o,cmpLoaded:!1,cmpStatus:"stub"}):t.push(e)},n.addEventListener("message",function(e){const t="string"==typeof e.data;let n={};if(t)try{n=JSON.parse(e.data)}catch(e){}else n=e.data;const r="object"==typeof n&&null!==n?n.__tcfapiCall:null;r&&window.__tcfapi(r.command,r.version,function(n,o){const i={__tcfapiReturn:{returnValue:n,success:o,callId:r.callId}};e&&e.source&&e.source.postMessage&&e.source.postMessage(t?JSON.stringify(i):i,"*")},r.parameter)},!1))})(),0===(t.services.gvlHost||"").length)if((t.services.shoreline||"").length>0){const e=new URL(t.services.shoreline);n=new URL(`${e.protocol}//${e.host}/gvl/eu`)}else n=new URL(t.services.scriptHost),n.pathname="/plugins/static/tcf/";else n=new URL(t.services.gvlHost);i.GVL.baseUrl=n.toString(),c=new i.GVL,u=new a(c),u.cmpId=340,u.cmpVersion=1,u.policyVersion=5,u.version=2,u.supportOOB=!1,u.isServiceSpecific=!0,u.publisherCountryCode="US",e.on("willShowExperience",t=>function(e){_=!0,f&&m(e,g)}(e)),e.on("hideExperience",t=>function(e){_=!0,E=!1,f&&m(e,!1)}(e)),e.on("consent",n=>function(e,t,n){var r,o,l,a,d,h,b,T,v;const S=[],y=[],C=[],O=[],N=[],k="true"===(null===(r=t.options)||void 0===r?void 0:r.legIntOnly);let P=!1,R=!1;const I={};if(t.purposes)for(const e of t.purposes)I[e.code]=e.legalBasisCode;if(t.plugins&&t.plugins.tcf){const e=t.plugins.tcf;for(const t of e.purposeMappings||[]){const e=t.pluginPurposeID.split("_");if(2!==e.length||"purpose"!==e[0]&&"specialFeature"!==e[0])continue;const r=e[0],o=Number(e[1]);let i=!1,s=!1;for(const e of t.purposes||[]){if(!n.purposes[e])continue;const t=I[e];if(s=!0,!k||"legitimateinterest"!==t&&"legitimateinterest_objectable"!==t){i=!0;break}}"purpose"===r&&(i&&S.push(o),s&&(2===o||o>6)&&y.push(o),1===o&&(R=!0)),i&&"specialFeature"===r&&C.push(o)}const r=t.plugins.tcf.jurisdictions,i=(null===(o=t.jurisdiction)||void 0===o?void 0:o.code)||(null===(l=t.jurisdiction)||void 0===l?void 0:l.defaultJurisdictionCode)||"";r.includes(i)&&(P=!0)}const A={};if(t.vendors){if(n.vendorConsents&&n.vendorConsents.tcf)for(const e in n.vendorConsents.tcf)n.vendorConsents.tcf[e]==s.VendorStatus.Denied&&(A[e]=!0);for(const e of t.vendors){if(A[e.id]||isNaN(Number(e.id)))continue;O.push(Number(e.id)),N.push(Number(e.id));const n=new Map;if((null===(h=null===(d=null===(a=t.plugins)||void 0===a?void 0:a.tcf)||void 0===d?void 0:d.options)||void 0===h?void 0:h.hasPurposeOverrides)&&e.purposes)for(const t of e.purposes){const r=t.id,o=t.overrideType||0;if(t.hasOverride&&void 0!==r){const t=r+"|"+o;let s=n.get(t);void 0===s&&(s=new i.PurposeRestriction(r,o),n.set(t,s)),u.publisherRestrictions.add(Number(e.id),s)}}}}const x=(null===(b=null==t?void 0:t.vendors)||void 0===b?void 0:b.map(e=>Number(e.id)))||[];u.purposeConsents.empty(),u.purposeLegitimateInterests.empty(),u.specialFeatureOptins.empty(),u.vendorConsents.empty(),u.vendorLegitimateInterests.empty(),u.publisherConsents.empty(),u.publisherLegitimateInterests.empty(),u.vendorsDisclosed.empty(),u.purposeConsents.set(S),u.purposeLegitimateInterests.set(y),u.specialFeatureOptins.set(C),u.vendorConsents.set(O),u.vendorsDisclosed.set(x),u.googleVendors=Object.keys((null===(T=n.vendorConsents)||void 0===T?void 0:T.google)||{}).filter(e=>{var t;return"granted"===((null===(t=n.vendorConsents)||void 0===t?void 0:t.google)||{})[e]})||[],u.publisherConsents.set(S),u.publisherLegitimateInterests.set(y),u.purposeOneTreatment=!(R&&P),u.vendorLegitimateInterests.set("all"===(null===(v=null==t?void 0:t.options)||void 0===v?void 0:v.vendor_li)?x:N),c.readyPromise.then(()=>{p=i.TCString.encode(u),f=!0,_&&m(e,E&&g)})}(e,t,n))})}},69(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertTCModelToMobileTCFModel=t.convertVectorToBinaryString=void 0,t.convertVectorToBinaryString=(e,t=-1)=>{let n="";for(e.forEach(e=>{n=n.concat(e?"1":"0")});-1!==t&&n.length({IABTCF_CmpSdkID:Number(e.cmpId),IABTCF_CmpSdkVersion:Number(e.cmpVersion),IABTCF_PolicyVersion:Number(e.policyVersion),IABTCF_gdprApplies:n.length>0,IABTCF_PublisherCC:e.publisherCountryCode,IABTCF_PurposeOneTreatment:e.purposeOneTreatment?1:0,IABTCF_UseNonStandardTexts:e.useNonStandardTexts?1:0,IABTCF_TCString:n,IABTCF_VendorConsents:(0,t.convertVectorToBinaryString)(e.vendorConsents),IABTCF_VendorLegitimateInterests:(0,t.convertVectorToBinaryString)(e.vendorLegitimateInterests),IABTCF_PurposeConsents:(0,t.convertVectorToBinaryString)(e.purposeConsents,24),IABTCF_PurposeLegitimateInterests:(0,t.convertVectorToBinaryString)(e.purposeLegitimateInterests,24),IABTCF_SpecialFeaturesOptIns:(0,t.convertVectorToBinaryString)(e.specialFeatureOptins,12),IABTCF_PublisherConsent:(0,t.convertVectorToBinaryString)(e.publisherConsents,24),IABTCF_PublisherLegitimateInterests:(0,t.convertVectorToBinaryString)(e.publisherLegitimateInterests,24),IABTCF_PublisherCustomPurposesConsents:(0,t.convertVectorToBinaryString)(e.publisherCustomConsents),IABTCF_PublisherCustomPurposesLegitimateInterests:(0,t.convertVectorToBinaryString)(e.publisherCustomLegitimateInterests),IABTCF_AddtlConsent:e.addtlConsent,IABTCF_EnableAdvertiserConsentMode:e.enableAdvertiserConsentMode})},5094(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=(0,n(5305).getLogger)("tealium");function i(e){o.info("consentChanged"),window._consent_choices=e;const t=window.ketchPermitPreferences=window.ketchPermitPreferences||{};for(const n in e.purposes)t[n]=e.purposes[n]?"1":"0";o.debug("set ketchPermitPreferences")}t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){const t=yield e.getConfig();window._config=t,e.on("consent",i),e.on("hideExperience",()=>{window._explicit_consent=!0})})}},7593(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.API_VERSION=void 0,t.API_VERSION=1},9181(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=n(4337),i=n(835),s=n(7593),l=(e="1---")=>{(0,i.setCookie)(window,"usprivacy",e,2592e3),(0,i.setCookie)(window,"us_privacy",e,2592e3)};let a=!1;t.default=function(e,t){var n;return r.__awaiter(this,void 0,void 0,function*(){const t=yield e.getConfig();if((0,o.addFrame)(),window.addEventListener("message",o.__handleUspapiMessage,!1),window.__uspapi=(0,o.usPapi)(window),(null===(n=t.jurisdiction)||void 0===n?void 0:n.code)&&t.plugins&&t.plugins.usprivacy){const e=t.plugins.usprivacy;e.jurisdictions&&e.jurisdictions.includes(t.jurisdiction.code)&&(a=!0)}if(!a){const t="1---";return e.emit("usprivacy_updated",t),e.emit("usprivacy_updated_data",t,{IABUSPrivacy_String:t}),void l(t)}e.on("consent",n=>function(e,t,n){var r;if(!a||!t.plugins||!t.plugins.usprivacy){const t="1---";return e.emit("usprivacy_updated",t),e.emit("usprivacy_updated_data",t,{IABUSPrivacy_String:t}),void l(t)}const o=t.plugins.usprivacy;if(!o.purposeMappings){const t="1---";return e.emit("usprivacy_updated",t),e.emit("usprivacy_updated_data",t,{IABUSPrivacy_String:t}),void l(t)}let i=0,c=0;for(const e of o.purposeMappings)if("data_sales"==e.pluginPurposeID&&e.purposes){i=e.purposes.length;for(const t of e.purposes)n.purposes[t]||(c+=1)}const u=((e,t,n)=>`${s.API_VERSION}Y${t?"Y":"N"}${n?"Y":"N"}`)(0,0!=i&&i===c,"true"===(null===(r=null==o?void 0:o.options)||void 0===r?void 0:r.lspaCovered));l(u),e.emit("usprivacy_updated",u),e.emit("usprivacy_updated_data",u,{IABUSPrivacy_String:u})}(e,t,n))})}},4337(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__handleUspapiMessage=t.usPapi=t.addFrame=void 0;const r=n(1635),o=n(5305),i=r.__importDefault(n(4723)),s=n(7593),l=(0,o.getLogger)("usprivacy");let a,c=[];t.addFrame=function(){if(!window.frames.__uspapiLocator)if(document.body){const e=document.createElement("iframe");e.style.cssText="display:none",e.name="__uspapiLocator",document.body.appendChild(e)}else setTimeout(t.addFrame,5)};const u=function(e,t){if("function"==typeof t){if(null!=e&&e!=s.API_VERSION)return void("function"==typeof t&&t(null,!1));a||(a=new i.default);let n=null;(n=function(){const e="usprivacy=",t=document.cookie.split(";");for(let n=0;n{e.source.postMessage({__uspapiReturn:{returnValue:n,success:r,callId:t.callId}},"*")})}},4723(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7593),o=/^1[nNyY-][nNyY-][nNyY-]$/;t.default=class{constructor(){this.version=r.API_VERSION}getUsprivacyString(){return this.baseString}setUsprivacyString(e){let t=!1;return o.test(e)&&(this.baseString=e,t=!0),t}getVersion(){return this.version}}},7520(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.host=t.Host=void 0;const r=n(1635),o=n(7007),i=n(6410),s=n(8251);class l{constructor(e){this._origin=new URL(e).origin,this._events=new o.EventEmitter,this._rpc=new Map,addEventListener(i.MessageEvent,(0,s.makeListener)(this._events,this._origin)),this.on(i.RpcCall,(e,t,...n)=>r.__awaiter(this,void 0,void 0,function*(){const r=this._rpc.get(e);this.emit(`rpcResult:${t}`,r?yield r(...n):new Error(`unimplemented: ${e}`))}))}rpc(e,t){this._rpc.set(e,t)}on(e,t){this._events.on(e,t)}emit(e,...t){return(window.parent||window.opener).postMessage({eventName:e,args:t},this._origin),!0}}let a;t.Host=l,t.host=()=>{if(!a){const e=document.querySelector('meta[name="trusted-origin"]'),t=null==e?void 0:e.content;if(!t)throw new Error('could not find element');a=new l(t)}return a}},5237(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.proxy=t.Proxy=t.host=t.Host=void 0;const r=n(7520);Object.defineProperty(t,"host",{enumerable:!0,get:function(){return r.host}}),Object.defineProperty(t,"Host",{enumerable:!0,get:function(){return r.Host}});const o=n(5798);Object.defineProperty(t,"proxy",{enumerable:!0,get:function(){return o.proxy}}),Object.defineProperty(t,"Proxy",{enumerable:!0,get:function(){return o.Proxy}})},5798(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.proxy=t.Proxy=void 0;const r=n(1635),o=n(7007),i=n(6410),s=n(8251);class l{constructor(){this._events=new o.EventEmitter}open(e){return r.__awaiter(this,void 0,void 0,function*(){const t=new URL(e);return this._origin=t.origin,addEventListener(i.MessageEvent,(0,s.makeListener)(this._events,this._origin),{}),new Promise(t=>{const n=document.createElement(i.IframeElement);n.style.border=i.None,n.style.width=i.ZeroPixels,n.style.height=i.ZeroPixels,n.setAttribute(i.SandboxAttribute,i.SandboxRequirements),n.addEventListener(i.LoadEvent,()=>{this._hostWindow=n.contentWindow,t()},{}),n.setAttribute(i.SrcAttribute,e),document.body.appendChild(n)})})}on(e,t){this._events.on(e,t)}emit(e,...t){if(!this._origin||!this._hostWindow)throw new Error("host has not been opened");return this._hostWindow.postMessage({eventName:e,args:t},this._origin),!0}invoke(e,...t){return r.__awaiter(this,void 0,void 0,function*(){return new Promise((n,r)=>{const o=Math.random().toString(16).slice(2);this._events.once(`rpcResult:${o}`,e=>{e instanceof Error?r(e):n(e)}),this.emit(i.RpcCall,...[e,o].concat(...t))})})}}t.Proxy=l,t.proxy=new l},6410(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IframeElement=t.ZeroPixels=t.None=t.SandboxRequirements=t.SandboxAttribute=t.SrcAttribute=t.RpcCall=t.LoadEvent=t.MessageEvent=void 0,t.MessageEvent="message",t.LoadEvent="load",t.RpcCall="rpcCall",t.SrcAttribute="src",t.SandboxAttribute="sandbox",t.SandboxRequirements="allow-scripts allow-same-origin",t.None="none",t.ZeroPixels="0px",t.IframeElement="iframe"},8251(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeListener=void 0,t.makeListener=function(e,t){return n=>{if(n.origin!==t)return void console.warn(`dropping untrusted message from ${n.origin}`);const r=n.data;r.eventName&&r.args?e.emit(r.eventName,...r.args):console.warn(`dropping bad message from ${n.origin}`)}}},5250(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=n(5305),i=n(4999),s=r.__importDefault(n(6092)),l=r.__importDefault(n(192)),a=r.__importDefault(n(5834)),c=r.__importDefault(n(300)),u=r.__importDefault(n(7931)),d=r.__importDefault(n(3449)),p=n(5926),h=n(4835),f=n(7296),_=n(7893);t.default=class{constructor(e){this._config=e,this._api=new i.KetchWebAPI((0,c.default)(this._config))}build(){var e,t,n,i;return r.__awaiter(this,void 0,void 0,function*(){const r=(0,o.wrapLogger)(u.default,"build");if(r.info(this._config),!this._config||!this._config.organization)throw a.default.invalidConfigurationError;const l=d.default.get(s.default.EXPERIENCE_VERSION);if(l){let e="";if(this._config.scripts)for(let t=0;t0);return e.once(s.default.IDENTITIES_EVENT,e=>{var r;const o=this.collectTelemetry(m,t,n,e,"once_identities");try{navigator.sendBeacon(`${null===(r=t.services)||void 0===r?void 0:r.telemetry}?${o.toString()}`)}catch(e){u.default.debug("telemetry error",e)}}),document.addEventListener("visibilitychange",()=>{var r;if("hidden"===document.visibilityState&&_){_=!1;const o=e.getCurrentIdentities(),i=this.collectTelemetry(m,t,n,o,"visibility_hidden");try{navigator.sendBeacon(`${null===(r=t.services)||void 0===r?void 0:r.telemetry}?${i.toString()}`)}catch(e){u.default.debug("telemetry error",e)}}}),!0})}collectTelemetry(e,t,n,r,o){var i,s,l,a;const c=new URLSearchParams,u=`${window.location.protocol}//${window.location.host}${window.location.pathname}`;c.append("hasConsent",`${e}`),c.append("url",u),c.append("property",(null===(i=t.property)||void 0===i?void 0:i.code)||""),c.append("environment",(null===(s=t.environment)||void 0===s?void 0:s.code)||""),c.append("jurisdiction",(null===(l=t.jurisdiction)||void 0===l?void 0:l.code)||""),c.append("tenant",t.organization.code),c.append("dver",`${null===(a=t.deployment)||void 0===a?void 0:a.version}`),c.append("event_type",o),c.append("ids",window.btoa(JSON.stringify(r)));for(const[e,t]of Object.entries(n))c.append(e,t);return c}buildEnvironment(){return r.__awaiter(this,void 0,void 0,function*(){const e=(0,o.wrapLogger)(u.default,"buildEnvironment");if(this._config.environment)return e.trace(this._config.environment),this._config.environment;if(!this._config.environments||0===this._config.environments.length)throw e.trace("no environments"),a.default.noEnvironmentError;const t=d.default.get(s.default.ENV);if(t){for(let n=0;natob(n.pattern).length)&&(n=t)}if(n.pattern)return e.debug("matched",n),n;for(let t=0;t{window.KetchLog||(window.KetchLog={}),window.KetchLog[e]||(window.KetchLog[e]=t)}},2433(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=r.__importDefault(n(7931)),i=n(5305),s=n(436),l=r.__importDefault(n(6092));t.default=class{constructor(e,t){this._blockedCookies=new Set,this.getGrantedPurposes=()=>r.__awaiter(this,void 0,void 0,function*(){const e=(0,i.wrapLogger)(o.default,"CookieBlocker: getGrantedPurposes"),t=yield this._ketch.getConsent(),n=(null==t?void 0:t.purposes)||{};return e.debug("got consent purposes",n),new Set(Object.keys(n).filter(e=>!0===n[e]))}),this.execute=()=>r.__awaiter(this,void 0,void 0,function*(){const e=(0,i.wrapLogger)(o.default,"CookieBlocker: execute"),t=document.cookie.split(";");if(!t.length)return e.debug("no browser cookies"),Array.from(this._blockedCookies);const n=window.location.hostname,r=yield this.getGrantedPurposes();return e.debug("granted purposes",r),Object.entries(this._config.blockedCookies||{}).forEach(([o,{purposeCodes:i,regex:s}])=>{if(i.some(e=>r.has(e)))return void e.debug(`not blocking ${o} as consent is granted for one of its purposes`);const l=new RegExp(s||"");t.forEach(t=>{const[r,i]=t.trim().split("=");!this._blockedCookies.has(r)&&(s&&l.test(r)||!s&&r===o)&&(document.cookie=`${r}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/; domain=.${n};`,this._blockedCookies.add(r),e.debug(`Deleted cookie: ${r} for domain: .${n}`))})}),(0,s.addToKetchLog)("getBlockedCookies",()=>{console.group(`Blocked Cookies (${this._blockedCookies.size}) 🍪`),this._blockedCookies.size||console.log("No blocked cookies"),this._blockedCookies.forEach(e=>console.log(e)),console.groupEnd()}),Array.from(this._blockedCookies)}),this._ketch=e,this._config=t,this._ketch.on(l.default.CONSENT_EVENT,()=>this.execute()),window.addEventListener("DOMContentLoaded",()=>this.execute())}}},8297(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=r.__importDefault(n(3004)),i=n(5305),s=r.__importDefault(n(7931));class l extends o.default{constructor(e){super(e)}experienceClosed(e,t,n){return this._ketch.experienceClosed(e,t,n).then(()=>{})}invokeRight(e){return this._ketch.invokeRight(e)}setProvisionalConsent(e){return this._ketch.setProvisionalConsent(e)}getSubscriptions(){return this._ketch.getSubscriptions()}setSubscriptions(e,t){return this._ketch.setSubscriptions(e,t)}getSubscriptionConfiguration(){return this._ketch.getSubscriptionConfiguration()}getProfilePreferences(){return this._ketch.getProfilePreferences()}setProfilePreferences(e){return this._ketch.setProfilePreferences(e)}getIsExperienceDisplayed(){return this._ketch.getIsExperienceDisplayed()}willChangeExperience(e){return this._ketch.willChangeExperience(e).then(()=>{})}hasChangedExperience(e){return this._ketch.hasChangedExperience(e).then(()=>{})}hasShownExperience(){return this._ketch.hasShownExperience().then(()=>{})}getConsent(e){return r.__awaiter(this,void 0,void 0,function*(){if((0,i.wrapLogger)(s.default,"InternalRouter - getConsent").debug("started",{protocolsOnly:e}),e){const e=yield this.getIdentities();return yield this._ketch.fetchProtocols(e)}return this._ketch.getConsent()})}registerUserAttributeProvider(e,t){return this._ketch.registerUserAttributeProvider(e,t)}get deploymentMode(){return this._ketch.deploymentMode}get isExperienceDisabled(){return this._ketch.isExperienceDisabled}}t.default=l},5926(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Ketch=void 0;const r=n(1635);n(2581);const o=n(7007),i=r.__importDefault(n(8138)),s=n(8509),l=r.__importDefault(n(9220)),a=r.__importDefault(n(9207)),c=n(5305),u=n(5237),d=r.__importDefault(n(7262)),p=r.__importDefault(n(3044)),h=r.__importDefault(n(7931)),f=r.__importDefault(n(5834)),_=r.__importDefault(n(3449)),E=n(4835),g=r.__importStar(n(6092)),m=r.__importDefault(n(8297)),b=n(6122),T=n(7893),v=n(2186),S=n(79),y=n(838),C=n(7296);class O extends o.EventEmitter{constructor(e,t){var n,r,o,a,c,u,d,p,h,f,_,E,m,v;super();const S=parseInt(null!==(r=null===(n=t.options)||void 0===n?void 0:n.maxListeners)&&void 0!==r?r:"20");this._api=e,this._config=t,this._consent=new i.default({name:g.default.CONSENT_EVENT,emitter:this,maxListeners:S}),this._protocols=new i.default({name:g.default.PROTOCOLS_EVENT,emitter:this,maxListeners:S}),this._environment=new i.default({name:g.default.ENVIRONMENT_EVENT,emitter:this,maxListeners:S}),this._geoip=new i.default({name:g.default.GEOIP_EVENT,emitter:this,maxListeners:S}),this._handleKeyboardEvent=new i.default({name:g.default.HANDLE_KEYBOARD_EVENT,emitter:this,maxListeners:S}),this._identities=new i.default({name:g.default.IDENTITIES_EVENT,emitter:this,maxListeners:S}),this._identitiesCurrent={},this._userAttributes=new i.default({name:g.default.USER_ATTRIBUTES_EVENT,emitter:this,maxListeners:S}),this._jurisdiction=new i.default({name:g.default.JURISDICTION_EVENT,emitter:this,maxListeners:S}),this._regionInfo=new i.default({name:g.default.REGION_INFO_EVENT,emitter:this,maxListeners:S}),this._returnKeyboardControl=new i.default({name:g.default.RETURN_KEYBOARD_CONTROL,emitter:this,maxListeners:S}),this._subscriptionConfig=new i.default({name:g.default.SUBSCRIPTIONS_EVENT,emitter:this,maxListeners:S}),this._subscriptions=new i.default({name:g.default.SUBSCRIPTION_CONFIG_EVENT,emitter:this,maxListeners:S}),this._hideExperienceReason=new i.default({name:g.default.HIDE_EXPERIENCE_REASON_EVENT,emitter:this,maxListeners:S}),this._isExperienceDisplayed=!1,this._hasExperienceBeenDisplayed=!1,this._deploymentMode=(null===(o=t.deployment)||void 0===o?void 0:o.isOrchestrationOnly)||(null===(a=this._config)||void 0===a?void 0:a.isConfigPaused)?(null===(c=t.options)||void 0===c?void 0:c.hybridMode)&&!(null===(u=this._config)||void 0===u?void 0:u.isConfigPaused)?s.DeploymentMode.Hybrid:s.DeploymentMode.Quiet:s.DeploymentMode.Standard,this._isExperienceDisabled=this._deploymentMode!==s.DeploymentMode.Standard,this._hasProxyLoaded=!1,this._provisionalConsent=void 0,this._identityWatcher=new l.default(window,{interval:parseInt(null!==(p=null===(d=t.options)||void 0===d?void 0:d.watcherInterval)&&void 0!==p?p:"2000"),timeout:parseInt(null!==(f=null===(h=t.options)||void 0===h?void 0:h.watcherTimeout)&&void 0!==f?f:"10000")}),this._identityWatcher.on(g.default.IDENTITY_EVENT,this.setIdentities.bind(this)),this._userAttributeWatcher=new l.default(window,{interval:parseInt(null!==(E=null===(_=t.options)||void 0===_?void 0:_.watcherInterval)&&void 0!==E?E:"2000"),timeout:parseInt(null!==(v=null===(m=t.options)||void 0===m?void 0:m.watcherTimeout)&&void 0!==v?v:"10000")}),this._userAttributeWatcher.on(g.default.USER_ATTRIBUTE_EVENT,this.setUserAttributes.bind(this)),this.setMaxListeners(S),this._profileManager=new T.ProfileManager(this),this._needsConsent=new i.default({name:g.default.NEEDS_CONSENT_EVENT,emitter:this,maxListeners:S}),this._needsConsentMap=new i.default({name:g.default.NEEDS_CONSENT_MAP_EVENT,emitter:this,maxListeners:S}),this._consentSourceOverride="",this._ruleEngine=new b.RuleEngine(this,[{trigger:s.RuleTrigger.ON_LOAD,source:"showConsent"}])}set needsConsent(e){this._needsConsent.value=e}get hideExperienceReason(){return this._hideExperienceReason}get consentSourceOverride(){return this._consentSourceOverride}get deploymentMode(){return this._deploymentMode}get isExperienceDisabled(){return this._isExperienceDisabled}registerPlugin(e,t){return r.__awaiter(this,void 0,void 0,function*(){const n=new m.default(this),r=t||(yield this.getConfig());return e instanceof Function?e(n,r):(void 0!==e.willShowExperience&&this.on(g.default.WILL_SHOW_EXPERIENCE_EVENT,t=>{void 0!==e.willShowExperience&&e.willShowExperience(n,this._config,t)}),void 0!==e.showConsentExperience&&this.on(g.default.SHOW_CONSENT_EXPERIENCE_EVENT,(t,r)=>{void 0!==e.showConsentExperience&&e.showConsentExperience(n,this._config,t,r)}),void 0!==e.showPreferenceExperience&&this.on(g.default.SHOW_PREFERENCE_EXPERIENCE_EVENT,(t,r)=>{void 0!==e.showPreferenceExperience&&e.showPreferenceExperience(n,this._config,t,r)}),void 0!==e.consentChanged&&this.on(g.default.CONSENT_EVENT,t=>{void 0!==e.consentChanged&&e.consentChanged(n,this._config,t)}),void 0!==e.environmentLoaded&&this.on(g.default.ENVIRONMENT_EVENT,t=>{void 0!==e.environmentLoaded&&e.environmentLoaded(n,this._config,t)}),void 0!==e.experienceHidden&&this.on(g.default.HIDE_EXPERIENCE_EVENT,t=>{void 0!==e.experienceHidden&&e.experienceHidden(n,this._config,t)}),void 0!==e.geoIPLoaded&&this.on(g.default.GEOIP_EVENT,t=>{void 0!==e.geoIPLoaded&&e.geoIPLoaded(n,this._config,t)}),void 0!==e.identitiesLoaded&&this.on(g.default.IDENTITIES_EVENT,t=>{void 0!==e.identitiesLoaded&&e.identitiesLoaded(n,this._config,t)}),void 0!==e.jurisdictionLoaded&&this.on(g.default.JURISDICTION_EVENT,t=>{void 0!==e.jurisdictionLoaded&&e.jurisdictionLoaded(n,this._config,t)}),void 0!==e.regionInfoLoaded&&this.on(g.default.REGION_INFO_EVENT,t=>{void 0!==e.regionInfoLoaded&&e.regionInfoLoaded(n,this._config,t)}),void 0!==e.rightInvoked&&this.on(g.default.RIGHT_INVOKED_EVENT,t=>{void 0!==e.rightInvoked&&e.rightInvoked(n,this._config,t)}),void 0!==e.init?e.init(n,r):Promise.resolve())})}registerIdentityProvider(e,t){return r.__awaiter(this,void 0,void 0,function*(){this._identityWatcher.add(e,t)})}registerUserAttributeProvider(e,t){return r.__awaiter(this,void 0,void 0,function*(){this._userAttributeWatcher.add(e,t)})}registerStorageProvider(e,t){return r.__awaiter(this,void 0,void 0,function*(){})}registerExperienceServer(e){return r.__awaiter(this,void 0,void 0,function*(){})}getConfig(){return r.__awaiter(this,void 0,void 0,function*(){return this._config})}getFullConfig(){return r.__awaiter(this,void 0,void 0,function*(){return this._config})}selectExperienceFromQueryParam(){const e=(0,c.wrapLogger)(h.default,"selectExperience");if(this._hasExperienceBeenDisplayed)return void e.debug(g.default.NONE);const t=_.default.get(g.default.SHOW);return t===g.default.PREFERENCES?(e.debug(s.ExperienceType.Preference),s.ExperienceType.Preference):t!==g.default.NONE?_.default.has(g.default.SHOW)?(e.debug(s.ExperienceType.Consent),s.ExperienceType.Consent):void 0:void e.debug(g.default.NONE)}willShowExperience(e){var t,n;h.default.debug("willShowExperience",e),this.emit(g.default.WILL_SHOW_EXPERIENCE_EVENT,e);const r=null===(n=null===(t=this._config.experiences)||void 0===t?void 0:t.autoInitiated)||void 0===n?void 0:n.layout;r&&(e!==s.ExperienceType.Consent||r.banner||r.modal)&&(e!==s.ExperienceType.Preference||r.preference)&&(this._isExperienceDisplayed=!0)}experienceClosed(e,t,n){return r.__awaiter(this,void 0,void 0,function*(){if(h.default.debug("experienceClosed",e),this._isExperienceDisplayed=!1,this._hasExperienceBeenDisplayed=!0,e!==s.ExperienceClosedReason.CLOSE_WITHOUT_SETTING_CONSENT)if(t&&e===s.ExperienceClosedReason.SET_CONSENT)yield this.setConsent(t,n||s.ConsentSource.Unknown,!0);else if(e!==s.ExperienceClosedReason.SET_CONSENT){n===s.ConsentSource.Unknown&&(n=s.ConsentSource.LegalBasisDefault);const e=yield this.retrieveConsent();if(this._config.purposes)for(const t of this._config.purposes)void 0===e.purposes[t.code]&&t.requiresOptIn&&(e.purposes[t.code]=!1);yield this.setConsent(e,n||s.ConsentSource.Unknown,!1)}return setTimeout(()=>{this.fireExperienceClosedEvents(e)},0),this.retrieveConsent()})}willChangeExperience(e){return r.__awaiter(this,void 0,void 0,function*(){h.default.debug("willChangeExperience",e),this.emit(g.default.WILL_CHANGE_EXPERIENCE_EVENT,e)})}hasChangedExperience(e){return r.__awaiter(this,void 0,void 0,function*(){h.default.debug("hasChangedExperience",e),this.emit(g.default.HAS_CHANGED_EXPERIENCE_EVENT,e)})}hasShownExperience(){return r.__awaiter(this,void 0,void 0,function*(){h.default.debug("hasShownExperience"),this.emit(g.default.HAS_SHOWN_EXPERIENCE_EVENT)})}showConsentExperience(e){return r.__awaiter(this,void 0,void 0,function*(){return this.setProfile(T.ProfileSection.CONSENT_NEEDS_CONSENT,!0),yield this.overrideNeedsConsentMap(s.RuleTrigger.ON_LOAD,!0),this.enqueueRuleEvaluation(s.RuleTrigger.ON_LOAD,e,"showConsent"),{}})}overrideNeedsConsentMap(e,t){var n;return r.__awaiter(this,void 0,void 0,function*(){const r=yield this.getFullConfig(),o=(null===(n=null==r?void 0:r.rules)||void 0===n?void 0:n[e])||[],i=new Map(yield this.getNeedsConsentMap());for(const e of o)this.conditionIncludesNeedsConsent(e.condition,e.code)&&i.set(e.code,t);this._needsConsentMap.value=i})}_showConsentExperience(e,t,n,o){var i;return r.__awaiter(this,void 0,void 0,function*(){const r=(0,c.wrapLogger)(h.default,"showConsentExperience");if(r.debug(e),this.getIsExperienceDisplayed()&&!this._isExperienceDisabled)return r.debug("exiting showConsentExperience because an experience is already displayed"),{};const l=null===(i=this._config.experiences)||void 0===i?void 0:i.autoInitiated;if(l&&!Object.keys(l).length)return{};const a=yield this.retrieveConsent();return yield this.renderExperience(t,s.ExperienceType.Consent,e,n,null==o?void 0:o.experienceID),this.emit(g.default.SHOW_CONSENT_EXPERIENCE_EVENT,a,n),a})}updatePreferenceParams(e){var t,n,o,i,l;return r.__awaiter(this,void 0,void 0,function*(){const r=(0,c.wrapLogger)(h.default,"getPreferenceParams");let a;e=null!=e?e:{};let u=!0;try{a=yield this.getConsent()}catch(e){if(e!==f.default.noPurposesError)throw e;r.debug("No purposes detected, experience will not display consents tab"),a=g.EMPTY_CONSENT,u=!1}const d=_.default.get(g.default.PREFERENCES_TAB);d&&(0,s.isTab)(d)&&(e.tab=d,r.info("tab",d));const p=null===(n=null===(t=_.default.get(g.default.PREFERENCES_TABS))||void 0===t?void 0:t.split(","))||void 0===n?void 0:n.filter(e=>e&&(0,s.isTab)(e));(null==p?void 0:p.length)&&(e.showOverviewTab=p.includes(s.Tab.Overview),e.showConsentsTab=u&&p.includes(s.Tab.Consents),e.showSubscriptionsTab=p.includes(s.Tab.Subscriptions),e.showRightsTab=p.includes(s.Tab.Rights),e.showProfilePreferencesTab=p.includes(s.Tab.Profile),e.tab=p.includes(e.tab||"")?e.tab:p[0]);try{const t=yield this.getSubscriptionConfiguration();if(void 0!==t){if(void 0===e.showSubscriptionsTab&&(e.showSubscriptionsTab=!0),void 0!==t.topics&&0!==t.topics.length&&0!==Object.keys(t.identities).length||(e.showSubscriptionsTab=!1,r.trace("not showing subscriptions because invalid subscription config")),e.showSubscriptionsTab){let n=!1;const o=yield this.getIdentities();for(const e of Object.keys(t.identities))if(o[e]){n=!0;break}n||(r.trace("not showing subscriptions because no auth identities"),e.showSubscriptionsTab=!1)}}else r.trace("invalid subscription config"),e.showSubscriptionsTab=!1}catch(t){r.trace("invalid subscription config"),e.showSubscriptionsTab=!1}e.showSubscriptionsTab||e.tab!==s.Tab.Subscriptions||(e.tab=void 0);const E=yield this.getFullConfig();try{const t=null==E?void 0:E.profile,n=Boolean(null===(o=null==t?void 0:t.attributes)||void 0===o?void 0:o.length),i=(null==t?void 0:t.identities)?Object.keys(t.identities):[];if(n&&i.length>0){void 0===e.showProfilePreferencesTab&&(e.showProfilePreferencesTab=!0);const t=yield this.getIdentities();let n=!1;for(const e of i)if(t[e]){n=!0;break}n||(r.trace("not showing profile preferences because no matching profile identities"),e.showProfilePreferencesTab=!1)}else e.showProfilePreferencesTab=!1}catch(t){r.trace("invalid profile preferences config"),e.showProfilePreferencesTab=!1}return(null===(i=null==E?void 0:E.formTemplates)||void 0===i?void 0:i.find(e=>"profile_preferences_form"===e.code))&&"true"==(null===(l=null==E?void 0:E.options)||void 0===l?void 0:l.profile_preferences)&&(e.showProfilePreferencesTab=!0),e.showProfilePreferencesTab||e.tab!==s.Tab.Profile||(e.tab=void 0),[a,e]})}showPreferenceExperience(e){return r.__awaiter(this,void 0,void 0,function*(){return yield this.trigger(void 0,e,"showPreference"),{}})}_showPreferenceExperience(e,t,n){var o,i,s,l,a,u;return r.__awaiter(this,void 0,void 0,function*(){const r=(0,c.wrapLogger)(h.default,"showPreferenceExperience");r.debug(e);const[d,p]=yield this.updatePreferenceParams(e),f=e=>!e||0===Object.keys(e).length,_=this._config.experiences,E=null==_?void 0:_.userInitiated;return f(null===(i=null===(o=this._config)||void 0===o?void 0:o.experiences)||void 0===i?void 0:i.preference)&&f(null===(s=null==_?void 0:_.content)||void 0===s?void 0:s.preference)&&f(null===(l=null==_?void 0:_.layout)||void 0===l?void 0:l.preference)&&f(null===(a=null==E?void 0:E.content)||void 0===a?void 0:a.preference)&&f(null===(u=null==E?void 0:E.layout)||void 0===u?void 0:u.preference)?(r.debug("no preference experience configured, no experience will be shown"),d):(this.listenerCount(g.default.SHOW_PREFERENCE_EXPERIENCE_EVENT)>0?this.showPreferenceExperienceTrigger(p,d,t,null==n?void 0:n.experienceID):this.on("addedListener",e=>{e===g.default.SHOW_PREFERENCE_EXPERIENCE_EVENT&&this.showPreferenceExperienceTrigger(p,d,t,null==n?void 0:n.experienceID)}),d)})}showPreferenceExperienceTrigger(e,t,n,r){this.triggerExperience(s.ExperienceType.Preference,g.default.SHOW_PREFERENCE_EXPERIENCE_EVENT,t||{},e,n,r)}showProgressiveExperience(e){h.default.debug("showProgressiveExperience",e);const t=g.default.SHOW_PROGRESSIVE_EXPERIENCE_EVENT,n=s.ExperienceType.Progressive;return this.listenerCount(t)>0?(this.willShowExperience(n),this.emit(t,e)):this.on("addedListener",r=>{r===t&&(this.willShowExperience(n),this.emit(t,e))}),Promise.resolve()}showConsentGate(e){return r.__awaiter(this,void 0,void 0,function*(){return h.default.debug("showConsentGate",e),this.emit(g.default.SHOW_CONSENT_GATE_EXPERIENCE_EVENT,e),Promise.resolve()})}showExperience(e){return r.__awaiter(this,void 0,void 0,function*(){if(!(null==e?void 0:e.useAutoInitiated))return yield this.trigger(void 0,e,"showExperience");yield this.showConsentExperience()})}_showExperience(e,t,n){var o,i,l,a;return r.__awaiter(this,void 0,void 0,function*(){const r=(0,c.wrapLogger)(h.default,"showExperience");r.debug(e);const u=null===(o=(yield this.getFullConfig()).experiences)||void 0===o?void 0:o.userInitiated;if((null==e?void 0:e.useAutoInitiated)||"preference"!==(null===(i=null==u?void 0:u.content)||void 0===i?void 0:i.display)){const r=yield this.getConsent();this.showExperienceTrigger(r,s.ExperienceType.Consent,e,t,null==n?void 0:n.experienceID)}else{const[o,i]=yield this.updatePreferenceParams(null==e?void 0:e.preferenceOptions),c=e=>!e||0===Object.keys(e).length;if(c(null===(l=null==u?void 0:u.content)||void 0===l?void 0:l.preference)&&c(null===(a=null==u?void 0:u.layout)||void 0===a?void 0:a.preference))return void r.debug("no preference experience configured, no experience will be shown");this.showExperienceTrigger(o,s.ExperienceType.Preference,Object.assign(Object.assign({},e),{preferenceOptions:i}),t,null==n?void 0:n.experienceID)}return Promise.resolve()})}showExperienceTrigger(e,t,n,r,o){this.triggerExperience(t,g.default.SHOW_EXPERIENCE_EVENT,e,n,r,o),this.emit(g.default.SHOW_PREFERENCE_EXPERIENCE_EVENT,e,r)}renderExperience(e,t,n,o,i){return r.__awaiter(this,void 0,void 0,function*(){(0,c.wrapLogger)(h.default,"renderExperience").debug({experienceType:e,params:n,displayOptions:o});const r=yield this.retrieveConsent();return this.renderExperienceTrigger(r,e,t,n,o,i),Promise.resolve()})}renderExperienceTrigger(e,t,n,r,o,i){const s={experienceType:t,params:r,options:o,experienceID:i};this.triggerExperience(n,g.default.RENDER_EXPERIENCE_EVENT,e,s,void 0,i)}triggerExperience(e,t,n,r,o,i){(0,c.wrapLogger)(h.default,`trigger${e}Experience`).debug(r),this.listenerCount(t)>0?(this.willShowExperience(e),this.emit(t,n,r,o,i)):this.on("addedListener",s=>{s===t&&(this.willShowExperience(e),this.emit(t,n,r,o,i))})}startRuleEngine(){this._ruleEngine.start()}enqueueRuleEvaluation(e,t,n){this._ruleEngine.enqueueTrigger(e,t,n)}trigger(e,t,n){return r.__awaiter(this,void 0,void 0,function*(){const r=`${s.RuleTrigger.ON_FUNCTION}${e?`|${e}`:""}`;e?yield this.setProfile(T.ProfileSection.TRIGGERS,{functionArguments:e}):yield this.setProfile(T.ProfileSection.TRIGGERS,{functionArguments:void 0}),this.enqueueRuleEvaluation(r,t,n)})}onShowConsentExperience(e){return r.__awaiter(this,void 0,void 0,function*(){h.default.debug("onShowConsentExperience"),this.removeAllListeners(g.default.SHOW_CONSENT_EXPERIENCE_EVENT),this.on(g.default.SHOW_CONSENT_EXPERIENCE_EVENT,e)})}onShowPreferenceExperience(e){return r.__awaiter(this,void 0,void 0,function*(){h.default.debug("onShowPreferenceExperience"),this.removeAllListeners(g.default.SHOW_PREFERENCE_EXPERIENCE_EVENT),this.on(g.default.SHOW_PREFERENCE_EXPERIENCE_EVENT,e)})}hasConsent(){return this._consent.isFulfilled()}setConsent(e,t,n){return r.__awaiter(this,void 0,void 0,function*(){const r=(0,c.wrapLogger)(h.default,"setConsent");if(r.debug(e),!e||(0,p.default)(e))return r.trace("reset"),this._consent.reset(),{};let o=!1;if(this.hasConsent()){r.trace("has consent");const t=this._consent.value;o=(0,a.default)(t.purposes,e.purposes);for(const n in t.purposes)Object.prototype.hasOwnProperty.call(t.purposes,n)&&!Object.prototype.hasOwnProperty.call(e.purposes,n)&&(e.purposes[n]=t.purposes[n]);e.protocols=t.protocols}this._consent.value=e;const i=yield this.getIdentities(),l=[s.ConsentSource.RecollectAfterDate,s.ConsentSource.RecollectAfterInterval];this._consentSourceOverride&&l.includes(this._consentSourceOverride)&&(r.debug("setting consent source override",{consentSourceOverride:this._consentSourceOverride}),t=this._consentSourceOverride);try{const r=yield this.updateConsent(i,e,t);this.setConsentSourceOverride(""),r&&void 0!==r.protocols&&(this._protocols.value=r.protocols),n&&(this._identityWatcher.stop(),"fds"===this._config.organization.code?this._identityWatcher.start(s.TraitName.IDENTITY,!1):yield this._identityWatcher.start(s.TraitName.IDENTITY,!1),this._userAttributeWatcher.stop(),yield this._userAttributeWatcher.start(s.TraitName.USER_ATTRIBUTE,!0),o||this.emit(g.default.USER_CONSENT_UPDATED_EVENT,e))}catch(e){let t="";e instanceof Error&&(t=e.message),r.warn("unable to update consent",t)}return e})}setProvisionalConsent(e){return r.__awaiter(this,void 0,void 0,function*(){h.default.debug("setProvisionalConsent",e),this._provisionalConsent=e})}overrideWithProvisionalConsent(e){return r.__awaiter(this,void 0,void 0,function*(){const t=(0,c.wrapLogger)(h.default,"overrideWithProvisionalConsent");t.debug(e);let n=!1;if(!this._provisionalConsent)return t.trace("no provisional consent"),[e,n];for(const t in this._provisionalConsent.purposes)e.purposes[t]!==this._provisionalConsent.purposes[t]&&(e.purposes[t]=this._provisionalConsent.purposes[t],n=!0);return this._provisionalConsent=void 0,t.trace("merged",e),[e,n]})}applyProvisionalConsent(e){var t,n,o;return r.__awaiter(this,void 0,void 0,function*(){let r=structuredClone(e);const i=[...(null===(t=this._config.plugins)||void 0===t?void 0:t.onetrust)?[v.onetrustPlugin]:[],...(null===(n=this._config.plugins)||void 0===n?void 0:n.sourcepoint)?[S.sourcepointPlugin]:[],...(null===(o=this._config.plugins)||void 0===o?void 0:o.gpc)?[y.gpcPlugin]:[]];let s=!1,l=null;for(const e of i){const[t,n]=yield e.fn(this,r);n&&(r=t,s=!0,l=e.source)}return[r,s,l]})}resetConsent(){return r.__awaiter(this,void 0,void 0,function*(){return this._identityWatcher.stop(),yield this._identityWatcher.start(s.TraitName.IDENTITY,!1),this._userAttributeWatcher.stop(),yield this._userAttributeWatcher.start(s.TraitName.USER_ATTRIBUTE,!0),this._consent.reset(),this._config.options=Object.assign(Object.assign({},this._config.options),{"Cache-Control":"no-cache"}),this.getConsent()})}getNeedsConsentMap(){return r.__awaiter(this,void 0,void 0,function*(){return this._needsConsentMap.isFulfilled()?this._needsConsentMap.value:new Map})}getConsent(e=!1){return r.__awaiter(this,void 0,void 0,function*(){return this._getConsent(e)})}_getConsent(e=!1){return r.__awaiter(this,void 0,void 0,function*(){const t=(0,c.wrapLogger)(h.default,"getConsent");if(t.debug("getConsent promise created"),_.default.has(g.default.NO_CACHE)&&(e=!0,_.default.delete(g.default.NO_CACHE)),this.hasConsent()&&!e)return t.trace("has consent"),this._consent.fulfilled;t.debug("obtaining consent");const n=yield this.getIdentities(),r=yield this.fetchConsent(n,e);t.debug("storedConsent",r);let o=s.ConsentSource.LegalBasisDefault,i=!1;const[l,a,u]=yield this.applyProvisionalConsent(r);i=a;const d=a?l:r;u&&(o=u),t.debug("consent",Object.assign(Object.assign({},d),{purposes:Object.assign({},d.purposes)})),t.debug("shouldCreatePermits",i);const p=this.selectExperienceFromQueryParam();if(this._config.purposes)for(const e of this._config.purposes)void 0!==d.purposes[e.code]||e.requiresOptIn||(d.purposes[e.code]=!0,i=!0);switch(t.debug("shouldCreatePermits",i),i?yield this.setConsent(d,o,!1):(this._consent.value=d,void 0!==r.protocols&&(this._protocols.value=r.protocols)),p){case s.ExperienceType.Consent:return this.showConsentExperience();case s.ExperienceType.Preference:return this.showExperience(),{}}return this._consent.value})}fireExperienceClosedEvents(e){e===s.ExperienceClosedReason.WILL_NOT_SHOW&&this.getIsExperienceDisplayed()||(this.emit(g.default.HIDE_EXPERIENCE_EVENT,e),this._hideExperienceReason.value=e)}retrieveConsent(){return r.__awaiter(this,void 0,void 0,function*(){return h.default.debug("retrieveConsent"),this._consent.isFulfilled()?this._consent.fulfilled:{purposes:{},vendors:[],googleVendors:[],vendorConsents:{tcf:{},google:{}}}})}fetchConsent(e,t=!1){return r.__awaiter(this,void 0,void 0,function*(){return this._fetchConsent(e,t)})}_fetchConsent(e,t=!1){var n,o,i,s,l,a,u;return r.__awaiter(this,void 0,void 0,function*(){const r=(0,c.wrapLogger)(h.default,"fetchConsent");if(r.debug("fetchConsent promise created"),r.debug("identities",e),!e||0===Object.keys(e).length)throw f.default.noIdentitiesError;if(!(this._config&&this._config.property&&this._config.organization&&this._config.environment&&this._config.purposes&&this._config.jurisdiction&&0!==(null===(n=this._config.purposes)||void 0===n?void 0:n.length)))throw f.default.noPurposesError;const d=(0,C.isGpcEnabled)(),p={organizationCode:null!==(o=this._config.organization.code)&&void 0!==o?o:"",propertyCode:null!==(i=this._config.property.code)&&void 0!==i?i:"",environmentCode:this._config.environment.code,jurisdictionCode:null!==(s=this._config.jurisdiction.code)&&void 0!==s?s:"",identities:e,purposes:{},isGpcEnabled:d};for(const e of null!==(l=this._config.purposes)&&void 0!==l?l:[])p.purposes[e.code]={legalBasisCode:e.legalBasisCode};r.debug("request",p);let _=yield(0,E.getCachedConsent)(p,this._config);_.collectedAt&&(yield this.setProfile(T.ProfileSection.CONSENT_COLLECTED_AT,_.collectedAt));const g=Math.floor(Date.now()/1e3-E.CACHED_CONSENT_TTL);let m=!1,b=!1;if(t?r.debug("fetching consent due to noCache flag"):"local"===(null===(a=this._config.options)||void 0===a?void 0:a.consentStore)?m=!0:0===Object.keys(_.purposes).length?r.debug("cached consent is empty",_):(null==_?void 0:_.collectedAt)&&_.collectedAte[t]===_.identities[t])?(r.debug("using cached consent",_),m=!0):(b=!0,r.debug("cached consent discarded due to identity mismatch",e,_.identities)),!m){if(this._config.purposes&&_.purposes&&!b)for(const e of this._config.purposes){const t=_.purposes[e.code];t&&(p.purposes[e.code]||(p.purposes[e.code]={}),p.purposes[e.code].allowed="string"==typeof t?t:t.allowed)}r.debug("calling getConsent",JSON.stringify(p)),_=(e=>{var t;if(r.trace("normalizeConsent",e),!e.purposes)return e.purposes={},e;for(const n of Object.keys(e.purposes)){const r=e.purposes[n];"string"==typeof r&&(e.purposes[n]={allowed:r,legalBasisCode:null===(t=p.purposes[n])||void 0===t?void 0:t.legalBasisCode})}return r.trace("normalized",e),e})(yield this._api.getConsent(p)),r.debug("getConsent returned",JSON.stringify(_)),yield(0,E.setCachedConsent)(_,this._config),_.collectedAt&&(yield this.setProfile(T.ProfileSection.CONSENT_COLLECTED_AT,_.collectedAt))}yield(0,E.setPublicConsent)(_,this._config);const v={purposes:{}};if(this._config.purposes&&_.purposes)for(const e of this._config.purposes)if(_.purposes[e.code]){const t=_.purposes[e.code];"string"==typeof t?v.purposes[e.code]="true"===t:t.allowed&&(v.purposes[e.code]="true"===t.allowed)}if(_.vendors&&(v.vendors=_.vendors),_.googleVendors&&(v.googleVendors=_.googleVendors),_.protocols&&(v.protocols=_.protocols),_.vendorConsents&&(v.vendorConsents=_.vendorConsents),this._config.experiences){const e=this._config.experiences,t=null!==(u=e.ids)&&void 0!==u?u:{},n=Object.values(t).some(e=>"object"==typeof e&&null!==e&&"purposes"in e);if(n){r.debug("hasPurposeIds, _calculateNeedsConsentMap",n);const e=yield this._calculateNeedsConsentMap(v.purposes,_.showAfter);this._needsConsentMap.isFulfilled()||(this._needsConsentMap.value=e)}}const S=this._calculateNeedsConsent(v.purposes,_.showAfter);return this._needsConsent.isFulfilled()||(yield this.setProfile(T.ProfileSection.CONSENT_NEEDS_CONSENT,S),this._needsConsent.value=S),r.debug("returning",JSON.stringify(v)),yield this.setProfile(T.ProfileSection.CONSENT_PURPOSES,v.purposes),v})}_calculateNeedsConsent(e,t){const n=(0,c.wrapLogger)(h.default,"_calculateNeedsConsent");if(this._config.purposes)for(const t of this._config.purposes)if(void 0===e[t.code])return n.debug("consent needed due to missing purpose consent",t.code),!0;const r=Date.now()/1e3;return t&&r>=t?(n.debug("consent needed due to recollection period expired"),this.setConsentSourceOverride(s.ConsentSource.RecollectAfterInterval),!0):(n.debug("consent not needed"),!1)}_calculateNeedsConsentv2(e,t,n){const r=(0,c.wrapLogger)(h.default,"_calculateNeedsConsentv2");if(this._config.purposes)for(const n of this._config.purposes)if(t.includes(n.code)&&void 0===e[n.code])return r.debug("consent needed due to missing purpose consent",n.code),!0;const o=Date.now()/1e3;return n&&o>=n?(r.debug("consent needed due to recollection period expired"),this.setConsentSourceOverride(s.ConsentSource.RecollectAfterInterval),!0):(r.debug("consent not needed"),!1)}_calculateNeedsConsentMap(e,t){var n,o,i,s,l,a,c,u;return r.__awaiter(this,void 0,void 0,function*(){const r=yield this.getFullConfig(),d=new Map,p=null!==(o=null===(n=r.experiences)||void 0===n?void 0:n.ids)&&void 0!==o?o:{};for(const n of Object.values(null!==(i=r.rules)&&void 0!==i?i:{}))for(const r of n)if(this.conditionIncludesNeedsConsent(r.condition,r.code)){let n=p[null===(s=r.action.params)||void 0===s?void 0:s.experienceID];if(n){const{purposes:o}=n;let i=null!==(l=null==o?void 0:o.purposeIDs)&&void 0!==l?l:[],s=null!==(a=null==o?void 0:o.stackIDs)&&void 0!==a?a:[],p=[],h=null!==(c=this._config.purposes)&&void 0!==c?c:[],f=null!==(u=this._config.stacks)&&void 0!==u?u:[];for(const e of i){const t=h.find(t=>t.id===e);t&&p.push(t.code)}for(const e of s){const t=f.find(t=>t.id===e);t&&(p=[...p,...t.purposeCodes])}const _=this._calculateNeedsConsentv2(e,p,t);d.set(r.code,_)}}return d})}conditionIncludesNeedsConsent(e,t){if("inputDataKey"in e)return e.inputDataKey===T.ProfileSection.CONSENT_NEEDS_CONSENT+"."+t;if(e.operator===s.ConditionOperator.NOT){const n=e;return this.conditionIncludesNeedsConsent(n.operand,t)}return e.operands.some(e=>this.conditionIncludesNeedsConsent(e,t))}fetchProtocols(e){var t,n,o;return r.__awaiter(this,void 0,void 0,function*(){const r=(0,c.wrapLogger)(h.default,"fetchProtocols");if(r.debug("identities",e),!e||0===Object.keys(e).length)throw f.default.noIdentitiesError;if(!(this._config&&this._config.property&&this._config.organization&&this._config.environment&&this._config.purposes&&this._config.jurisdiction&&0!==this._config.purposes.length))throw f.default.noPurposesError;const i=(0,C.isGpcEnabled)(),s={organizationCode:null!==(t=this._config.organization.code)&&void 0!==t?t:"",propertyCode:null!==(n=this._config.property.code)&&void 0!==n?n:"",environmentCode:this._config.environment.code,jurisdictionCode:null!==(o=this._config.jurisdiction.code)&&void 0!==o?o:"",identities:e,purposes:{},isGpcEnabled:i};for(const e of this._config.purposes)s.purposes[e.code]={legalBasisCode:e.legalBasisCode};const l=yield this._api.getProtocols(s);return r.debug("api.getProtocols returned",JSON.stringify(l)),!this._protocols.isFulfilled()&&l.protocols&&(r.debug("setting protocols",JSON.stringify(l.protocols)),this._protocols.value=l.protocols),{protocols:null==l?void 0:l.protocols,purposes:{}}})}updateConsent(e,t,n){var o,i,s;return r.__awaiter(this,void 0,void 0,function*(){const r=(0,c.wrapLogger)(h.default,"updateConsent");r.debug(e,t);const l=yield this.getFullConfig();if(!e||0===Object.keys(e).length)throw r.debug("no identities"),f.default.noIdentitiesError;if(!(this._config&&this._config.organization&&this._config.property&&this._config.environment&&this._config.jurisdiction&&this._config.purposes&&0!==this._config.purposes.length))throw r.debug("invalid configuration"),f.default.invalidConfigurationError;if((0,p.default)(t)||(0,p.default)(t.purposes))throw r.debug("empty consent"),f.default.emptyConsentError;const a=(0,C.isGpcEnabled)(),u={organizationCode:null!==(o=this._config.organization.code)&&void 0!==o?o:"",propertyCode:null!==(i=this._config.property.code)&&void 0!==i?i:"",environmentCode:this._config.environment.code,identities:e,jurisdictionCode:null!==(s=this._config.jurisdiction.code)&&void 0!==s?s:"",purposes:{},vendorConsents:t.vendorConsents,collectedAt:Math.floor(Date.now()/1e3),isGpcEnabled:a,context:{source:n}};if((null==l?void 0:l.id)&&u.context&&(u.context.configurationId=l.id),this._config.purposes&&t)for(const e of this._config.purposes)void 0!==t.purposes[e.code]&&(u.purposes[e.code]={allowed:t.purposes[e.code].toString(),legalBasisCode:e.legalBasisCode});if((0,p.default)(u.purposes))return r.debug("calculated consents empty"),u;yield(0,E.setCachedConsent)(u,this._config),yield(0,E.setPublicConsent)(u,this._config);const d=yield this._api.setConsent(u);yield(0,E.setCachedConsent)(d,this._config);const _=Object.keys(d.purposes).reduce((e,t)=>(e[t]=d.purposes[t].allowed,e),{});return yield this.setProfile(T.ProfileSection.CONSENT_PURPOSES,_),d})}getSubscriptions(){return r.__awaiter(this,void 0,void 0,function*(){return this._getSubscriptions()})}_getSubscriptions(){var e,t,n,o,i,s,l,a,u,d,p;return r.__awaiter(this,void 0,void 0,function*(){const r=(0,c.wrapLogger)(h.default,"getSubscriptions");if(r.debug("getSubscriptions promise created"),void 0===this._config.organization||void 0===this._config.property||void 0===this._config.environment)return r.trace("exiting because invalid config",this._config),this._subscriptions.value={},{};if(this._subscriptions.isFulfilled())return r.trace("cached",this._subscriptions.value),this._subscriptions;const f=yield this.getSubscriptionConfiguration();if(0===f.topics.length||void 0===f.identities||0===Object.keys(f.identities).length)return r.trace("exiting because invalid subscription config",f,f.topics.length,f.identities,Object.keys(f.identities)),this._subscriptions.value={},{};const _={organizationCode:null!==(n=null===(t=null===(e=this._config)||void 0===e?void 0:e.organization)||void 0===t?void 0:t.code)&&void 0!==n?n:"",controllerCode:"",propertyCode:null!==(s=null===(i=null===(o=this._config)||void 0===o?void 0:o.property)||void 0===i?void 0:i.code)&&void 0!==s?s:"",environmentCode:null===(a=null===(l=this._config)||void 0===l?void 0:l.environment)||void 0===a?void 0:a.code,collectedAt:Math.floor(Date.now()/1e3),jurisdictionCode:null!==(p=null===(d=null===(u=this._config)||void 0===u?void 0:u.jurisdiction)||void 0===d?void 0:d.code)&&void 0!==p?p:""};this._regionInfo.isFulfilled()&&(_.regionCode=yield this._regionInfo.fulfilled),_.identities={};const E=yield this.getIdentities();for(const e of Object.keys(f.identities))E[e]&&(_.identities[e]=E[e]);if(0===Object.keys(_.identities).length)return r.trace("exiting because no identities"),this._subscriptions.value={},{};const g=yield this._api.getSubscriptions(_);return this._subscriptions.value=g,r.trace("loaded",g),yield this.setProfile(T.ProfileSection.SUBSCRIPTION,g),g})}setSubscriptions(e,t){var n,o,i,s,l,a,u,d,p,f,_;return r.__awaiter(this,void 0,void 0,function*(){const r=(0,c.wrapLogger)(h.default,"setSubscriptions");if(r.trace("subscriptions",e,this._config),void 0===this._config.organization||void 0===this._config.property||void 0===this._config.environment)return void r.trace("exiting because of invalid config");const E=yield this.getSubscriptionConfiguration(),g=yield this.getFullConfig();if(0===E.topics.length||void 0===E.identities||0===Object.keys(E.identities).length)return void r.trace("exiting because of invalid subscription config",E,0===E.topics.length,E.identities,Object.keys(E.identities));const m={organizationCode:null!==(i=null===(o=null===(n=this._config)||void 0===n?void 0:n.organization)||void 0===o?void 0:o.code)&&void 0!==i?i:"",controllerCode:"",propertyCode:null!==(a=null===(l=null===(s=this._config)||void 0===s?void 0:s.property)||void 0===l?void 0:l.code)&&void 0!==a?a:"",environmentCode:null===(d=null===(u=this._config)||void 0===u?void 0:u.environment)||void 0===d?void 0:d.code,topics:e.topics,controls:e.controls,collectedAt:Math.floor(Date.now()/1e3),context:{source:t},jurisdictionCode:null!==(_=null===(f=null===(p=this._config)||void 0===p?void 0:p.jurisdiction)||void 0===f?void 0:f.code)&&void 0!==_?_:""};(null==g?void 0:g.id)&&m.context&&(m.context.configurationId=g.id),this._regionInfo.isFulfilled()&&(m.regionCode=yield this._regionInfo.fulfilled),m.identities={};const b=yield this.getIdentities();for(const e of Object.keys(E.identities))b[e]&&(m.identities[e]=b[e]);return 0===Object.keys(m.identities).length?(r.trace("exiting because no identities"),void(this._subscriptions.value={})):(this._subscriptions.value=Object.assign(Object.assign({},this._subscriptions.isFulfilled()?this._subscriptions.value:{}),e),yield this.setProfile(T.ProfileSection.SUBSCRIPTION,e),this._api.setSubscriptions(m))})}getProfilePreferences(){var e,t,n,o,i,s,l,a,u,d,p,f,_,E,g;return r.__awaiter(this,void 0,void 0,function*(){const r=(0,c.wrapLogger)(h.default,"getProfilePreferences");if(r.debug("getProfilePreferences started"),void 0===this._config.organization||void 0===this._config.property||void 0===this._config.environment)return r.trace("exiting because invalid config",this._config),yield this.setProfile(T.ProfileSection.PROFILE_PREFERENCES,[]),[];const m=yield this.getFullConfig(),b=null===(e=null==m?void 0:m.profile)||void 0===e?void 0:e.identities;if(!b||0===Object.keys(b).length)return r.trace("exiting because no profile identities in config"),yield this.setProfile(T.ProfileSection.PROFILE_PREFERENCES,[]),[];const v=yield this.getIdentities(),S=[];for(const e of Object.keys(b))v[e]&&S.push({identitySpace:e,identityValue:v[e]});if(0===S.length)return r.trace("exiting because no matching profile identities"),yield this.setProfile(T.ProfileSection.PROFILE_PREFERENCES,[]),[];const y={organizationCode:null!==(o=null===(n=null===(t=this._config)||void 0===t?void 0:t.organization)||void 0===n?void 0:n.code)&&void 0!==o?o:"",propertyCode:null!==(l=null===(s=null===(i=this._config)||void 0===i?void 0:i.property)||void 0===s?void 0:s.code)&&void 0!==l?l:"",environmentCode:null===(u=null===(a=this._config)||void 0===a?void 0:a.environment)||void 0===u?void 0:u.code,jurisdictionCode:null!==(f=null===(p=null===(d=this._config)||void 0===d?void 0:d.jurisdiction)||void 0===p?void 0:p.code)&&void 0!==f?f:"",languageCode:null!==(E=null===(_=this._config)||void 0===_?void 0:_.language)&&void 0!==E?E:"",identities:S};this._regionInfo.isFulfilled()&&(y.regionCode=yield this._regionInfo.fulfilled);try{const e=yield this._api.getProfile(y),t=null!==(g=e.attributes)&&void 0!==g?g:[];return r.trace("loaded",t),yield this.setProfile(T.ProfileSection.PROFILE_PREFERENCES,t),t}catch(e){return r.warn("unable to get profile preferences",e instanceof Error?e.message:""),yield this.setProfile(T.ProfileSection.PROFILE_PREFERENCES,[]),[]}})}setProfilePreferences(e){var t,n,o,i,s,l,a,u,d,p,f,_,E;return r.__awaiter(this,void 0,void 0,function*(){const r=(0,c.wrapLogger)(h.default,"setProfilePreferences");if(r.trace("attributes",e,this._config),void 0===this._config.organization||void 0===this._config.property||void 0===this._config.environment)return void r.trace("exiting because of invalid config");const g=yield this.getIdentities(),m=Object.entries(g).filter(([,e])=>e).map(([e,t])=>({identitySpace:e,identityValue:t}));if(0===m.length)return void r.trace("exiting because no identities");const b=yield this.getFullConfig(),v={organizationCode:null!==(o=null===(n=null===(t=this._config)||void 0===t?void 0:t.organization)||void 0===n?void 0:n.code)&&void 0!==o?o:"",propertyCode:null!==(l=null===(s=null===(i=this._config)||void 0===i?void 0:i.property)||void 0===s?void 0:s.code)&&void 0!==l?l:"",environmentCode:null===(u=null===(a=this._config)||void 0===a?void 0:a.environment)||void 0===u?void 0:u.code,jurisdictionCode:null!==(f=null===(p=null===(d=this._config)||void 0===d?void 0:d.jurisdiction)||void 0===p?void 0:p.code)&&void 0!==f?f:"",languageCode:null!==(E=null===(_=this._config)||void 0===_?void 0:_.language)&&void 0!==E?E:"",identities:m,attributes:e,context:{updatedAt:Math.floor(Date.now()/1e3),configId:null==b?void 0:b.id,source:"headless"}};this._regionInfo.isFulfilled()&&(v.regionCode=yield this._regionInfo.fulfilled);try{yield this._api.putProfile(v),yield this.setProfile(T.ProfileSection.PROFILE_PREFERENCES,e),r.trace("saved",e)}catch(e){r.warn("unable to save profile preferences",e instanceof Error?e.message:"")}})}getSubscriptionConfiguration(){var e,t,n,o,i,s,l,a,u,d,p,f,_,E,g,m,b,T,v,S,y,C,O,N,k,P;return r.__awaiter(this,void 0,void 0,function*(){const r=(0,c.wrapLogger)(h.default,"getSubscriptionConfiguration");if(r.trace("config",this._config),this._subscriptionConfig.isFulfilled())return r.trace("cached",this._subscriptionConfig.value),this._subscriptionConfig;if(!(null===(n=null===(t=null===(e=this._config)||void 0===e?void 0:e.experiences)||void 0===t?void 0:t.preference)||void 0===n?void 0:n.code)||(null===(s=null===(i=null===(o=this._config)||void 0===o?void 0:o.services)||void 0===i?void 0:i.shoreline)||void 0===s?void 0:s.includes("v3"))){const e=this._config;return e.subscription?e.subscription:(this._subscriptionConfig.value={contactMethods:{},controls:[],identities:{},language:null!==(a=null===(l=this._config)||void 0===l?void 0:l.language)&&void 0!==a?a:"",organization:{code:null!==(p=null===(d=null===(u=this._config)||void 0===u?void 0:u.organization)||void 0===d?void 0:d.code)&&void 0!==p?p:""},property:{code:null!==(E=null===(_=null===(f=this._config)||void 0===f?void 0:f.property)||void 0===_?void 0:_.code)&&void 0!==E?E:""},topics:[]},this._subscriptionConfig.value)}const R=yield this._api.getSubscriptionsConfiguration({organizationCode:null!==(b=null===(m=null===(g=this._config)||void 0===g?void 0:g.organization)||void 0===m?void 0:m.code)&&void 0!==b?b:"",propertyCode:null!==(S=null===(v=null===(T=this._config)||void 0===T?void 0:T.property)||void 0===v?void 0:v.code)&&void 0!==S?S:"",languageCode:null!==(C=null===(y=this._config)||void 0===y?void 0:y.language)&&void 0!==C?C:"",experienceCode:null!==(P=null===(k=null===(N=null===(O=this._config)||void 0===O?void 0:O.experiences)||void 0===N?void 0:N.preference)||void 0===k?void 0:k.code)&&void 0!==P?P:""});return r.trace("loaded",R),this._subscriptionConfig.value=R,R})}setEnvironment(e){return r.__awaiter(this,void 0,void 0,function*(){return h.default.debug("setEnvironment",e),this._environment.value=e,this._environment.fulfilled})}getEnvironment(){return r.__awaiter(this,void 0,void 0,function*(){return h.default.debug("getEnvironment"),this._environment.fulfilled})}setGeoIP(e){return r.__awaiter(this,void 0,void 0,function*(){return h.default.debug("setGeoIP",e),this._geoip.value=e,this._geoip.fulfilled})}getGeoIP(){return r.__awaiter(this,void 0,void 0,function*(){return h.default.debug("getGeoIP"),this._geoip.fulfilled})}extractGAID(e){const t=/^GA\d\.\d\.(\d+\.\d+)$/.exec(e);return t?"GA1.1."+t[1]:e}setIdentities(e){var t,n;return r.__awaiter(this,void 0,void 0,function*(){const r=(0,c.wrapLogger)(h.default,"setIdentities");r.debug(e);let o={};this._identities.isFulfilled()&&(o=this._identities.value);for(const t in e)"google_analytics_cookie"!==t||"utc"!==this._config.organization.code&&"vara_labs"!==this._config.organization.code||(r.debug("altering google_analytics_cookie to get id with GA1.1. prefix"),e[t]=this.extractGAID(e[t])),o[t]=e[t];o.email&&(o.email=o.email.toLowerCase()),this._identities.value=o,this._identitiesCurrent=o,yield this.setProfile(T.ProfileSection.IDENTITIES,o);const i=this.computeIsAuthenticated(o),l=this._profileManager.getCurrentProfile().metadata||{};if(yield this.setProfile(T.ProfileSection.METADATA,Object.assign(Object.assign({},l),{isAuthenticated:i})),this._isExperienceDisplayed)return r.trace("experience displayed"),o;const u=yield this.retrieveConsent();if(0==Object.keys(u.purposes).length)return o;const d=yield this.fetchConsent(o);if((0,a.default)(d.purposes,u.purposes)){let e=!1;for(const t in d)if(d.purposes[t]!==u.purposes[t]){e=!0;break}if(!e)return r.trace("no change in consent so set not necessary"),o}if(this._hasExperienceBeenDisplayed){r.trace("updating consent because experience displayed");try{yield this.updateConsent(o,u,s.ConsentSource.LateArrivingID)}catch(e){let t="";e instanceof Error&&(t=e.message),r.warn("unable to update consent",t)}return o}return null===(n=null===(t=this._config.purposes)||void 0===t?void 0:t.every(e=>void 0!==d.purposes[e.code]))||void 0===n||n?(r.trace("adopting server consent for late-arriving identity"),this._consent.value=d,void 0!==d.protocols&&(this._protocols.value=d.protocols)):(r.trace("showing experience because server consent is incomplete"),yield this.showConsentExperience()),o})}collectIdentities(){var e,t,n;return r.__awaiter(this,void 0,void 0,function*(){const r=(0,c.wrapLogger)(h.default,"collectIdentities");r.debug(this._config.identities);const o=this._config.identities;if(!this._config||!this._config.organization||void 0===o||(0,p.default)(o))return r.trace("invalid configuration"),void(this._identities.value={});const i=this._identityWatcher;let l=(e,t)=>{i.add(e,t)};if(null===(e=this._config.property)||void 0===e?void 0:e.proxy)try{const e=new URL(null===(t=this._config.property)||void 0===t?void 0:t.proxy),n=new URL(window.location.href);if(e.origin!==n.origin&&(l=(e,t)=>{o[e].type!==s.IdentityType.IDENTITY_TYPE_LOCAL_STORAGE&&i.add(e,t)},!this._hasProxyLoaded)){this._hasProxyLoaded=!0,yield u.proxy.open(e.toString());for(const e of Object.keys(o)){const t=o[e];t.type===s.IdentityType.IDENTITY_TYPE_LOCAL_STORAGE&&(yield this.registerIdentityProvider(e,()=>u.proxy.invoke("getIdentity",t)))}}}catch(e){r.error(`error checking proxy '${null===(n=this._config.property)||void 0===n?void 0:n.proxy}'`,e)}for(const e of Object.keys(o))l(e,o[e]);r.info("starting watcher"),yield this._identityWatcher.start(s.TraitName.IDENTITY,!1)})}getIdentities(){return r.__awaiter(this,void 0,void 0,function*(){return this._getIdentities()})}_getIdentities(){return r.__awaiter(this,void 0,void 0,function*(){return h.default.debug("getIdentities promise created"),this._identities.isFulfilled()||(yield this.collectIdentities()),this._identities.fulfilled})}getCurrentIdentities(){return h.default.debug("getCurrentIdentities"),this._identitiesCurrent}setUserAttributes(e){return r.__awaiter(this,void 0,void 0,function*(){(0,c.wrapLogger)(h.default,"setUserAttributes").debug(e);let t={};this._userAttributes.isFulfilled()&&(t=this._userAttributes.value);for(const n in e)t[n]=e[n];return this._userAttributes.value=t,yield this.setProfile(T.ProfileSection.USER,t),t})}collectUserAttributes(){return r.__awaiter(this,void 0,void 0,function*(){const e=(0,c.wrapLogger)(h.default,"collectUserAttributes");e.debug(this._config.userAttributes);const t=this._config.userAttributes;if(!this._config||!this._config.organization||void 0===t||(0,p.default)(t))return e.trace("invalid configuration"),void(this._userAttributes.value={});const n=this._userAttributeWatcher;let r=(e,t)=>{n.add(e,t)};for(const e of Object.keys(t))r(e,t[e]);e.info("starting user attributes watcher"),yield this._userAttributeWatcher.start(s.TraitName.USER_ATTRIBUTE,!0)})}getUserAttributes(){return r.__awaiter(this,void 0,void 0,function*(){return this._getUserAttributes()})}_getUserAttributes(){return r.__awaiter(this,void 0,void 0,function*(){return h.default.debug("getUserAttributes"),this._userAttributes.isFulfilled()||(yield this.collectUserAttributes()),this._userAttributes.fulfilled})}getCurrentUserAttributes(){return h.default.debug("getCurrentUserAttributes"),this._userAttributes.isFulfilled()?this._userAttributes.value:{}}setProfile(e,t){return r.__awaiter(this,void 0,void 0,function*(){const n=(0,c.wrapLogger)(h.default,"setProfile");n.debug(t),this._profileManager.updateSection(e,t);const r=this._profileManager.getCurrentProfile();return n.debug("profile",r),r})}getProfileManager(){return this._profileManager}getCurrentProfile(){return this._profileManager.getCurrentProfile()}setJurisdiction(e){return r.__awaiter(this,void 0,void 0,function*(){return h.default.debug("setJurisdiction",e),this._jurisdiction.value=e,this._jurisdiction.fulfilled})}getJurisdiction(){return r.__awaiter(this,void 0,void 0,function*(){return h.default.debug("getJurisdiction"),this._jurisdiction.fulfilled})}setRegionInfo(e){return r.__awaiter(this,void 0,void 0,function*(){return h.default.debug("setRegionInfo",e),this._regionInfo.value=e,this._regionInfo.fulfilled})}getRegionInfo(){return r.__awaiter(this,void 0,void 0,function*(){return h.default.debug("getRegionInfo"),this._regionInfo.fulfilled})}getIsExperienceDisplayed(){return h.default.debug("getIsExperienceDisplayed"),this._isExperienceDisplayed}setConsentSourceOverride(e){return h.default.debug("setConsentSourceOverride",e),this._consentSourceOverride=e,this._consentSourceOverride}acceptAllConsent(){return r.__awaiter(this,void 0,void 0,function*(){return this.executeConsentAction("accept",s.ConsentSource.RouterAcceptAllConsent)})}rejectAllConsent(){return r.__awaiter(this,void 0,void 0,function*(){return this.executeConsentAction("reject",s.ConsentSource.RouterRejectAllConsent)})}executeConsentAction(e,t){var n,o,i,l,a,u,d,p,_,m,b,T,v;return r.__awaiter(this,void 0,void 0,function*(){(0,c.wrapLogger)(h.default,`${e}AllConsent`).debug(`set consent via ${e}AllConsent`);const r="true"===(null===localStorage||void 0===localStorage?void 0:localStorage.getItem(g.default.IS_EMULATOR)),S=(null===(o=null===(n=this._config)||void 0===n?void 0:n.systems)||void 0===o?void 0:o.google)||[],y=(null===(l=null===(i=this._config)||void 0===i?void 0:i.systems)||void 0===l?void 0:l.tcf)||[],C={purposes:{},vendorConsents:{google:{},tcf:{}}},O={organizationCode:null!==(a=this._config.organization.code)&&void 0!==a?a:"",propertyCode:null!==(d=null===(u=this._config.property)||void 0===u?void 0:u.code)&&void 0!==d?d:"",environmentCode:null!==(_=null===(p=this._config.environment)||void 0===p?void 0:p.code)&&void 0!==_?_:"",jurisdictionCode:null!==(b=null===(m=this._config.jurisdiction)||void 0===m?void 0:m.code)&&void 0!==b?b:"",identities:{},purposes:{},collectedAt:Date.now()};this._config.purposes&&this._config.purposes.forEach(t=>{let n;n="accept"===e?!g.NO_OPT_IN_LEGAL_BASES.includes(null==t?void 0:t.legalBasisCode):g.NO_OPT_OUT_LEGAL_BASES.includes(null==t?void 0:t.legalBasisCode),C.purposes[t.code]=n,O.purposes[t.code]={allowed:n.toString(),legalBasisCode:null==t?void 0:t.legalBasisCode}});const N="accept"===e?s.VendorStatus.Granted:s.VendorStatus.Denied;if((null==S?void 0:S.length)&&(null===(T=C.vendorConsents)||void 0===T?void 0:T.google)&&S.forEach(e=>{C.vendorConsents.google[e.id]=N}),(null==y?void 0:y.length)&&(null===(v=C.vendorConsents)||void 0===v?void 0:v.tcf)&&y.forEach(e=>{C.vendorConsents.tcf[e.id]=N}),r)this._identityWatcher.removeAllListeners(g.default.IDENTITY_EVENT),this._userAttributeWatcher.removeAllListeners(g.default.USER_ATTRIBUTE_EVENT),yield(0,E.setCachedConsent)(O,this._config),yield(0,E.setPublicConsent)(O,this._config),this._consent.reset(),this._consent.value=C;else{const e=yield this.getIdentities();if(!e||0===Object.keys(e||{}).length)throw f.default.noIdentitiesError;O.identities=e,yield this.setConsent(C,t,!1)}const k=g.default.ROUTER_ACCEPT_ALL_CONSENT_FLAG,P=g.default.ROUTER_REJECT_ALL_CONSENT_FLAG;return"accept"===e?(sessionStorage.removeItem(P),sessionStorage.setItem(k,"true")):(sessionStorage.removeItem(k),sessionStorage.setItem(P,"true")),{getConsentResponse:O,consent:C}})}computeIsAuthenticated(e){var t;const n=(0,c.wrapLogger)(h.default,"computeIsAuthenticated"),r=null===(t=this._config)||void 0===t?void 0:t.identities;if(!r)return!1;const o=Object.entries(r).filter(([,e])=>e.isAuthentication).map(([e])=>e),i=o.some(t=>Boolean(e[t]));return n.debug("isAuthenticated",{authIdentityCodes:o,isAuthenticated:i}),i}invokeRight(e){var t,n,o,i;return r.__awaiter(this,void 0,void 0,function*(){const r=(0,c.wrapLogger)(h.default,"invokeRight");r.debug(e);const s=this._identities.isFulfilled()?this._identities.value:{},l=this.computeIsAuthenticated(s);if(!(e.subject&&(l||e.subject.email&&""!==e.subject.email)&&e.right&&""!==e.right))return void r.warn("invalid right invocation request",{isAuthenticated:l,right:e.right});const a={};if(Object.entries(s).forEach(([e,t])=>{a[e]=t}),e.subject.email&&(a.email=e.subject.email.toLowerCase()),r.debug("rightInvocationIdentities being sent",a),!(this._config&&this._config.organization&&this._config.property&&this._config.environment&&this._config.jurisdiction&&this._config.rights&&0!==this._config.rights.length))return void r.warn("invalid configuration");const u=e.subject,d={organizationCode:null!==(t=this._config.organization.code)&&void 0!==t?t:"",propertyCode:null!==(n=this._config.property.code)&&void 0!==n?n:"",environmentCode:null!==(o=this._config.environment.code)&&void 0!==o?o:"",controllerCode:"",identities:a,jurisdictionCode:null!==(i=this._config.jurisdiction.code)&&void 0!==i?i:"",rightCode:e.right,user:u,recaptchaToken:e.recaptchaToken,isAuthenticated:l};return this._regionInfo.isFulfilled()&&(d.regionCode=yield this._regionInfo.fulfilled),this.emit(g.default.RIGHT_INVOKED_EVENT,d),this._api.invokeRight(d)})}handleKeyboardEvent(e){(0,c.wrapLogger)(h.default,"handleKeyboardEvent").debug(e),(0,d.default)(e,()=>{this.returnKeyboardControl()})}returnKeyboardControl(){(0,c.wrapLogger)(h.default,"returnKeyboardControl").debug("returnKeyboardControl"),this.emit(g.default.RETURN_KEYBOARD_CONTROL)}emit(e,...t){var n,r,o,i,s,l,a;const u=(0,c.wrapLogger)(h.default,"emit");u.trace(e,t);const d=e.toString(),p=t.filter(e=>e!==this);if(window.androidListener||(null===(n=window.webkit)||void 0===n?void 0:n.messageHandlers)||(null===(r=window.ReactNativeWebView)||void 0===r?void 0:r.postMessage)){let t;1===p.length&&"string"==typeof p[0]?t=p[0]:1===p.length?t=JSON.stringify(p[0]):p.length>1&&(t=JSON.stringify(p)),window.androidListener&&d in window.androidListener?(u.trace("androidListener",window.androidListener,t),0===p.length?window.androidListener[d]():window.androidListener[d](t)):(null===(o=window.webkit)||void 0===o?void 0:o.messageHandlers)&&d in window.webkit.messageHandlers?(u.trace("webkitMessageHandlers",null===(i=window.webkit)||void 0===i?void 0:i.messageHandlers,t),window.webkit.messageHandlers[d].postMessage(t)):(null===(s=window.ReactNativeWebView)||void 0===s?void 0:s.postMessage)?window.ReactNativeWebView.postMessage(JSON.stringify({event:e,data:t})):u.warn(`Can't pass message to native code because "${d}" handler is not registered`)}if((null===(a=null===(l=this._config)||void 0===l?void 0:l.options)||void 0===a?void 0:a.externalListener)&&window[this._config.options.externalListener]){const e=window[this._config.options.externalListener];let t;1===p.length&&"string"==typeof p[0]||1===p.length?t=p[0]:p.length>1&&(t=p);let n={event:d,data:t};n=JSON.stringify(n),"function"==typeof e?e(n):"postMessage"in e&&"function"==typeof e.postMessage?e.postMessage(n):"object"==typeof e&&d in e&&("function"===e[d]?e[d](t):"postMessage"in e[d]&&e[d].postMessage(t))}return super.emit(e,...t)}addListener(e,t){return this.on(e,t)}on(e,t){h.default.trace("on",e,t);const n=this.mapEvent(e);return void 0!==n?(n.on(g.default.FULFILLED_EVENT,t),this):(this.isSingletonEvent(e)&&super.removeAllListeners(e),super.on(e,t),this.emit("addedListener",e,t),this)}once(e,t){h.default.trace("once",e,t);const n=this.mapEvent(e);return void 0!==n?(n.once(g.default.FULFILLED_EVENT,t),this):(this.isSingletonEvent(e)&&super.removeAllListeners(e),super.once(e,t),this.emit("addedListener",e,t),this)}removeListener(e,t){h.default.trace("off",e,t);const n=this.mapEvent(e);return void 0!==n?(n.removeListener(g.default.FULFILLED_EVENT,t),this):super.removeListener(e,t)}off(e,t){return this.removeListener(e,t)}isSingletonEvent(e){return e===g.default.SHOW_CONSENT_EXPERIENCE_EVENT||e===g.default.SHOW_PREFERENCE_EXPERIENCE_EVENT}mapEvent(e){switch(e){case g.default.CONSENT_EVENT:return this._consent;case g.default.ENVIRONMENT_EVENT:return this._environment;case g.default.GEOIP_EVENT:return this._geoip;case g.default.PROTOCOLS_EVENT:return this._protocols;case g.default.HANDLE_KEYBOARD_EVENT:return this._handleKeyboardEvent;case g.default.IDENTITIES_EVENT:return this._identities;case g.default.USER_ATTRIBUTES_EVENT:return this._userAttributes;case g.default.JURISDICTION_EVENT:return this._jurisdiction;case g.default.REGION_INFO_EVENT:return this._regionInfo;case g.default.RETURN_KEYBOARD_CONTROL:return this._returnKeyboardControl;case g.default.SUBSCRIPTIONS_EVENT:return this._subscriptions;case g.default.SUBSCRIPTION_CONFIG_EVENT:return this._subscriptionConfig;case g.default.HIDE_EXPERIENCE_REASON_EVENT:return this._hideExperienceReason}}}t.Ketch=O},7893(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProfileManager=t.ProfileSection=void 0;const r=n(1635),o=n(5305),i=r.__importDefault(n(7931));var s;!function(e){e.CONSENT_PURPOSES="consent.purposes",e.CONSENT_NEEDS_CONSENT="consent.needsConsent",e.CONSENT_COLLECTED_AT="consent.collectedAt",e.IDENTITIES="identities",e.USER="user",e.SUBSCRIPTION="subscription",e.PROFILE_PREFERENCES="profilePreferences",e.METADATA="metadata",e.PAGE="page",e.TRIGGERS="triggers"}(s=t.ProfileSection||(t.ProfileSection={})),t.ProfileManager=class{constructor(e){this._profile={consent:{}},this._ketch=e}getValueFromKey(e){return r.__awaiter(this,void 0,void 0,function*(){(0,o.wrapLogger)(i.default,"ProfileManager.getValueFromKey").debug("getting value from key",e);const t=e.split(".");let n,r=!0;for(;r;){n=this._profile,r=!1;for(const e of t)if(n=n[e],void 0===n){const n=t.slice(0,t.indexOf(e)+1).join(".");if(!(yield this._handleMissingKey(n)))return;r=!0;break}}return"identities"===t[0]||"user"===t[0]?n.value:n})}_handleMissingKey(e){return r.__awaiter(this,void 0,void 0,function*(){switch((0,o.wrapLogger)(i.default,"ProfileManager._handleMissingKey").debug("handling missing key",e),e){case s.CONSENT_PURPOSES:case s.CONSENT_NEEDS_CONSENT:case s.CONSENT_COLLECTED_AT:return yield this._ketch.getConsent(),!0;case s.IDENTITIES:return yield this._ketch.getIdentities(),!0;case s.USER:return yield this._ketch.getUserAttributes(),!0;case s.SUBSCRIPTION:return yield this._ketch.getSubscriptions(),!0;case s.PROFILE_PREFERENCES:return yield this._ketch.getProfilePreferences(),!0;default:return}})}updateSection(e,t){const n=(0,o.wrapLogger)(i.default,"ProfileManager.updateSection");switch(n.debug("updating section",e,t),e){case s.CONSENT_PURPOSES:const e=Object.fromEntries(Object.entries(t).map(([e,t])=>[e,{allowed:String(t)}]));this._profile.consent.purposes=e;break;case s.CONSENT_NEEDS_CONSENT:this._profile.consent.needsConsent=t;break;case s.CONSENT_COLLECTED_AT:this._profile.consent.collectedAt=t;break;case s.SUBSCRIPTION:this._profile.subscription=t;break;case s.PROFILE_PREFERENCES:this._profile.profilePreferences={attributes:t};break;case s.IDENTITIES:const n=Object.fromEntries(Object.entries(t).map(([e,t])=>[e,{value:t}]));this._profile.identities=n;break;case s.USER:const r=Object.fromEntries(Object.entries(t).map(([e,t])=>[e,{value:t}]));this._profile.user=r;break;case s.METADATA:this._profile.metadata=t;break;case s.PAGE:this._profile.page=t;break;case s.TRIGGERS:this._profile.triggers=t}n.debug("updated profile",this._profile)}getCurrentProfile(){return(0,o.wrapLogger)(i.default,"ProfileManager.getCurrentProfile").debug("current profile",this._profile),Object.assign({},this._profile)}}},3004(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=n(8509),i=r.__importDefault(n(7931)),s=r.__importDefault(n(5834)),l=r.__importDefault(n(8705)),a=r.__importDefault(n(6092)),c=n(5305);t.default=class{constructor(e){this._ketch=e}push(e){if(void 0===e)return;let t;"string"==typeof e?(t=e,e=[]):(e=Array.from(e),t=e.shift()),i.default.trace(t),this.route(t,...e).then(()=>{i.default.trace(`${t} completed`)}).catch(e=>{i.default.warn(`${t} failed: ${e}`)})}route(e,...t){return r.__awaiter(this,void 0,void 0,function*(){const n=(0,c.wrapLogger)((0,c.wrapLogger)(i.default,"route"),e);if("push"===e||"route"===e)throw s.default.actionNotFoundError(e);const r=this[e];if(void 0===r)throw s.default.actionNotFoundError(e);if(n.debug(t,t.length,r.length),t.length<=r.length)return r.apply(this,t);if(t.length==r.length+1){const n=t.pop();if(!(0,l.default)(n))throw s.default.expectedFunctionError(e);return r.apply(this,t).then(n)}const o=t.pop();if(!(0,l.default)(o))throw s.default.expectedFunctionError(e);const a=t.pop();if(!(0,l.default)(a))throw s.default.expectedFunctionError(e);return r.apply(this,t).then(a).catch(o)})}getConfig(){return this._ketch.getConfig()}getFullConfig(){return this._ketch.getFullConfig()}getConsent(){return this._ketch.getConsent()}getConsentNoCache(){return(0,c.wrapLogger)(i.default,"Router - getConsentNoCache").debug("started"),this._ketch.getConsent(!0)}getSubscriptions(){return this._ketch.getSubscriptions()}getProfilePreferences(){return this._ketch.getProfilePreferences()}setProfilePreferences(e){return this._ketch.setProfilePreferences(e)}getEnvironment(){return this._ketch.getEnvironment()}getGeoIP(){return this._ketch.getGeoIP()}getIdentities(){return this._ketch.getIdentities()}getJurisdiction(){return this._ketch.getJurisdiction()}getRegionInfo(){return this._ketch.getRegionInfo()}getIsDisplayed(){return Promise.resolve(this._ketch.getIsExperienceDisplayed())}onConsent(e){return i.default.debug(`onConsent is deprecated - use ketch("on", "${a.default.CONSENT_EVENT}", listener) instead`),this._ketch.on(a.default.CONSENT_EVENT,e),Promise.resolve()}onEnvironment(e){return i.default.debug(`onEnvironment is deprecated - use ketch("on", "${a.default.ENVIRONMENT_EVENT}", listener) instead`),this._ketch.on(a.default.ENVIRONMENT_EVENT,e),Promise.resolve()}onGeoIP(e){return i.default.debug(`onGeoIP is deprecated - use ketch("on", "${a.default.GEOIP_EVENT}", listener) instead`),this._ketch.on(a.default.GEOIP_EVENT,e),Promise.resolve()}onHideExperience(e){return i.default.debug(`onHideExperience is deprecated - use ketch("on", "${a.default.HIDE_EXPERIENCE_EVENT}", listener) instead`),this._ketch.on(a.default.HIDE_EXPERIENCE_EVENT,e),Promise.resolve()}onWillShowExperience(e){return i.default.debug('onWillShowExperience is deprecated - use ketch("on", "'+a.default.WILL_SHOW_EXPERIENCE_EVENT+'", listener) instead'),this._ketch.on(a.default.WILL_SHOW_EXPERIENCE_EVENT,e),Promise.resolve()}onIdentities(e){return i.default.debug(`onIdentities is deprecated - use ketch("on", "${a.default.IDENTITIES_EVENT}", listener) instead`),this._ketch.on(a.default.IDENTITIES_EVENT,e),Promise.resolve()}onJurisdiction(e){return i.default.debug(`onJurisdiction is deprecated - use ketch("on", "${a.default.JURISDICTION_EVENT}", listener) instead`),this._ketch.on(a.default.JURISDICTION_EVENT,e),Promise.resolve()}onRegionInfo(e){return i.default.debug(`onRegionInfo is deprecated - use ketch("on", "${a.default.REGION_INFO_EVENT}", listener) instead`),this._ketch.on(a.default.REGION_INFO_EVENT,e),Promise.resolve()}setEnvironment(e){return i.default.warn("setEnvironment is deprecated"),this._ketch.setEnvironment(e).then(()=>{})}setGeoIP(e){return i.default.warn("setGeoIP is deprecated"),this._ketch.setGeoIP(e).then(()=>{})}setIdentities(e){return this._ketch.setIdentities(e).then(()=>{})}setUserAttributes(e){return this._ketch.setUserAttributes(e).then(()=>{})}setJurisdiction(e){return i.default.warn("setJurisdiction is deprecated"),this._ketch.setJurisdiction(e).then(()=>{})}setRegionInfo(e){return i.default.warn("setRegionInfo is deprecated"),this._ketch.setRegionInfo(e).then(()=>{})}showConsent(e){return this._ketch.showConsentExperience(e).then(()=>{})}showPreferences(e){return this._ketch.showExperience({preferenceOptions:e})}showConsentGate(e){return r.__awaiter(this,void 0,void 0,function*(){yield this._ketch.showConsentGate(e)})}showProgressiveExperience(e){return r.__awaiter(this,void 0,void 0,function*(){yield this._ketch.showProgressiveExperience(e)})}showExperience(e){return r.__awaiter(this,void 0,void 0,function*(){return this._ketch.showExperience(e)})}trigger(e,t,n){return r.__awaiter(this,void 0,void 0,function*(){if("custom"===e&&"string"==typeof t)return this._ketch.trigger(t,n);throw new Error("Unsupported trigger name or arguments")})}reinit(){return this._ketch.resetConsent().then(()=>{})}handleKeyboardEvent(e){return this._ketch.handleKeyboardEvent(e)}returnKeyboardControl(){return this._ketch.returnKeyboardControl()}registerPlugin(e,t){return this._ketch.registerPlugin(e,t)}registerIdentityProvider(e,t){return this._ketch.registerIdentityProvider(e,t)}registerExperienceServer(e){return this._ketch.registerExperienceServer(e)}registerStorageProvider(e,t){return this._ketch.registerStorageProvider(e,t)}setConsent(e,t){return this._ketch.setConsent(e,o.ConsentSource.RouterSetConsent,t===o.SetConsentReason.USER_UPDATE).then(()=>{})}setSubscriptions(e,t){return this._ketch.setSubscriptions(e,null!=t?t:o.SubscriptionSource.RouterSetSubscriptions)}setProfile(e,t){return r.__awaiter(this,void 0,void 0,function*(){yield this._ketch.setProfile(e,t)})}acceptAllConsent(e){return r.__awaiter(this,void 0,void 0,function*(){yield this._ketch.acceptAllConsent(),!1!==e&&window.location.reload()})}rejectAllConsent(e){return r.__awaiter(this,void 0,void 0,function*(){yield this._ketch.rejectAllConsent(),!1!==e&&window.location.reload()})}emit(e,...t){return this._ketch.emit(e,...t),Promise.resolve()}on(e,t){return this._ketch.on(e,t),Promise.resolve()}once(e,t){return this._ketch.once(e,t),Promise.resolve()}addListener(e,t){return this._ketch.addListener(e,t),Promise.resolve()}removeListener(e,t){return this._ketch.removeListener(e,t),Promise.resolve()}off(e,t){return this._ketch.off(e,t),Promise.resolve()}removeAllListeners(e){return this._ketch.removeAllListeners(e),Promise.resolve()}}},6122(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RuleEngine=void 0;const r=n(1635),o=n(5305),i=n(8509),s=r.__importDefault(n(7931)),l=r.__importDefault(n(3449)),a=r.__importDefault(n(6092)),c=n(7893),u=(0,o.wrapLogger)(s.default,"RuleEngine");t.RuleEngine=class{get results(){return this._processingPromise?this._processingPromise.then(()=>this._results):Promise.resolve(this._results)}constructor(e,t=[]){this._triggerQueue=new Set,this._isStarted=!1,this._isProcessing=!1,this._processingPromise=null,this._results=new Map,this.processQueue=()=>r.__awaiter(this,void 0,void 0,function*(){var e;const t=(0,o.wrapLogger)(u,"processQueue");if(t.debug("started"),this._isProcessing)return this._processingPromise;this._isProcessing=!0,this._processingPromise=(()=>r.__awaiter(this,void 0,void 0,function*(){try{for(;this._triggerQueue.size>0;){const e=this._triggerQueue.values().next();if(e.done)break;const n=e.value;this._triggerQueue.delete(n),t.debug("processing trigger",{item:n,remaining:this._triggerQueue.size});try{const e=yield this.evaluateRulesForTrigger(n.trigger,n.params,n.source);this.addResult(n.trigger,e)}catch(e){t.warn("error while evaluating rules for trigger",e)}}}finally{this._isProcessing=!1,this._processingPromise=null}}))();const n=Array.from((yield this.results).values()).reduce((e,t)=>{var n;return e||t.length>0&&Boolean(null===(n=t[t.length-1])||void 0===n?void 0:n.didShowExperience)},!1);return n||(null===(e=this.ketch.hideExperienceReason)||void 0===e?void 0:e.isFulfilled())&&(yield this.ketch.hideExperienceReason)===i.ExperienceClosedReason.WILL_NOT_SHOW||this.ketch.fireExperienceClosedEvents(i.ExperienceClosedReason.WILL_NOT_SHOW),this._processingPromise}),this.evaluateRulesForTrigger=(e,t,n)=>r.__awaiter(this,void 0,void 0,function*(){var r,s;const l=(0,o.wrapLogger)(u,"evaluateRules");let a=e;if(e===i.RuleTrigger.ON_FUNCTION){const t=yield this.ketch.getProfileManager().getValueFromKey("triggers.functionArguments");t&&"string"==typeof t&&(a=`${e}|${t}`,l.debug("constructed full trigger key from functionArguments",{trigger:e,functionArguments:t,ruleKey:a}))}const c=(null===(s=null===(r=yield this.ketch.getFullConfig())||void 0===r?void 0:r.rules)||void 0===s?void 0:s[a])||[];l.debug("evaluating rules for trigger",e,{ruleKey:a,rules:c,params:t,source:n});const d={ruleMap:new Map,didShowExperience:!1};for(const r of c){l.debug("evaluating rule for trigger",e,{rule:r});const o=yield this.parseCondition(r.condition,r.code);if(d.ruleMap.set(r.code,o),o)return r.action.options&&r.action.options.consentSourceOverride===i.ConsentSource.RecollectAfterDate&&this.ketch.setConsentSourceOverride(i.ConsentSource.RecollectAfterDate),l.debug("executing rule for trigger",e,{rule:r}),d.didShowExperience=yield this.executeAction(r.action,t,n),d}return d}),this.addResult=(e,t)=>{var n;this._results.has(e)?null===(n=this._results.get(e))||void 0===n||n.push(t):this._results.set(e,[t])},this.parseCondition=(e,t)=>r.__awaiter(this,void 0,void 0,function*(){if("inputDataKey"in e)return this.evaluateOperand(e,t);switch(e.operator){case i.ConditionOperator.NOT:const n=e;return!(yield this.parseCondition(n.operand,t));case i.ConditionOperator.AND:const r=e;for(const e of r.operands)if(!(yield this.parseCondition(e,t)))return!1;return!0;case i.ConditionOperator.OR:const o=e;for(const e of o.operands)if(yield this.parseCondition(e,t))return!0;return!1;default:throw console.error(`Unknown condition operator: ${e.operator}`),new Error(`Unknown condition operator: ${e.operator}`)}}),this.resolveInputDataKeyWithTransform=(e,t,n)=>r.__awaiter(this,void 0,void 0,function*(){let r=yield this.resolveInputDataKey(e,n);return e.startsWith("consent.purposes.")&&"string"==typeof t&&["optedIn","optedOut","unknown"].includes(t)?!0===r||"true"===r?"optedIn":!1===r||"false"===r?"optedOut":"unknown":r}),this.evaluateOperand=(e,t)=>r.__awaiter(this,void 0,void 0,function*(){const n=(0,o.wrapLogger)(u,"evaluateOperand");n.debug("evaluating operand",{operand:e});const{inputDataKey:r,attribute:s,operator:l,value:a}=e;if("trigger"===r.split(".")[0]||"jurisdiction"===r.split(".")[0])return n.debug("operand is trigger or jurisdiction, returning true"),!0;const c=e=>{try{return new URL(e).pathname}catch(t){return e}},p=e=>e.replace(/^\/+|\/+$/g,""),h=yield this.resolveInputDataKeyWithTransform(r,a,t),f=d(h,s.type),_=d(a,s.type),E="page.url";let g;switch(l){case i.OperatorType.EQUALS:g=e.inputDataKey.toLowerCase()===E?p(c(f))===p(c(_)):f===_;break;case i.OperatorType.NOT_EQUALS:g=e.inputDataKey.toLowerCase()===E?p(c(f))!==p(c(_)):f!==_;break;case i.OperatorType.GREATER_THAN:g=("number"==typeof f&&"number"==typeof _||f instanceof Date&&_ instanceof Date)&&f>_;break;case i.OperatorType.LESS_THAN:g=("number"==typeof f&&"number"==typeof _||f instanceof Date&&_ instanceof Date)&&f<_;break;case i.OperatorType.GREATER_THAN_OR_EQUAL:g=("number"==typeof f&&"number"==typeof _||f instanceof Date&&_ instanceof Date)&&f>=_;break;case i.OperatorType.LESS_THAN_OR_EQUAL:g=("number"==typeof f&&"number"==typeof _||f instanceof Date&&_ instanceof Date)&&f<=_;break;case i.OperatorType.CONTAINS:g="string"==typeof f&&"string"==typeof _&&f.includes(_);break;case i.OperatorType.NOT_CONTAINS:g="string"==typeof f&&"string"==typeof _&&!f.includes(_);break;case i.OperatorType.ENDS_WITH:if("string"==typeof f&&"string"==typeof _){const e=p(c(f)),t=p(_);g=e.endsWith(t)}else g=!1;break;case i.OperatorType.NOT_ENDS_WITH:if("string"==typeof f&&"string"==typeof _){const e=p(c(f)),t=p(_);g=!e.endsWith(t)}else g=!1;break;case i.OperatorType.REGEX_MATCH_FIND:if("string"==typeof f&&"string"==typeof _)try{g=new RegExp(_).test(f)}catch(e){console.warn(`Invalid regex pattern: ${_}`),g=!1}else g=!1;break;case i.OperatorType.EXISTS:g=null!=f,g&&"object"==typeof f&&(g=Object.keys(f).length>0);break;case i.OperatorType.NOT_EXISTS:g=null==f,g||"object"!=typeof f||(g=0===Object.keys(f).length);break;case i.OperatorType.IN:g="string"==typeof _?_.split(",").map(e=>e.trim()).includes(String(f)):!!Array.isArray(_)&&_.includes(f);break;default:console.warn(`Unknown operator: ${l}`),g=!1}return n.debug("result",{convertedCurrentValue:f,convertedValue:_,operator:l,result:g}),g}),this.resolveInputDataKey=(e,t)=>r.__awaiter(this,void 0,void 0,function*(){const n=(0,o.wrapLogger)(u,"resolveInputDataKey");if(n.debug("resolving input data key",e),!e)return;if(void 0!==t&&e===c.ProfileSection.CONSENT_NEEDS_CONSENT+"."+t){let n=yield this.ketch.getNeedsConsentMap();if(n.has(t))return n.get(t);e=c.ProfileSection.CONSENT_NEEDS_CONSENT}let r=yield this.ketch.getProfileManager().getValueFromKey(e);return e.startsWith("consent.purposes.")&&("object"==typeof r&&null!==r&&"allowed"in r&&(r=r.allowed),n.debug("rawValue for consent purpose",{inputDataKey:e,rawValue:r,type:typeof r})),r}),this.executeAction=(e,t,n)=>r.__awaiter(this,void 0,void 0,function*(){(0,o.wrapLogger)(u,"executeAction").debug("executing action",{action:e,params:t,source:n});const{experienceID:r}=e.params;let{experienceType:s}=e.params;const l=(null==t?void 0:t.displayHint)===i.ConsentExperienceType.Banner,a=(null==t?void 0:t.displayHint)===i.ConsentExperienceType.Modal;if(l?s=i.DisplayExperienceType.Banner:a&&(s=i.DisplayExperienceType.Modal),!s)return console.error("experienceType is required in action.params"),!1;if(!r)return console.error("experienceID is required in action.params"),!1;if("No Experience"===r||"noExperience"===r)return s===i.DisplayExperienceType.Modal&&"showConsent"!==n?(this.ketch.showConsentExperience({displayHint:i.ConsentExperienceType.Modal}),!0):(u.debug(`experienceID is ${r} (set to not show any experience), returning`),!1);const c=yield this.ketch.getFullConfig();if(!c)return u.error("No configuration"),!1;if(!c.experiences)return u.error("No experiences",{fullConfig:c}),!1;if(!c.experiences.ids)return u.error("No experience ids",{fullConfig:c}),!1;if(!c.experiences.ids[r])return u.error("No experience",{fullConfig:c,experienceID:r}),!1;c.experiences.ids[r].loadingMethod===i.ExperienceLoadingMethod.Dynamic&&c.experiences.ids[r].data;const d=c.experiences.ids[r];if(!d)return u.error("No experience data",{fullConfig:c,experienceID:r}),!1;if(!d.content[s]||!d.layout[s]){if(s===i.DisplayExperienceType.Modal&&"showConsent"!==n)return this.ketch.showConsentExperience({displayHint:i.ConsentExperienceType.Modal}),!0;u.warn("No data for experience type",{fullConfig:c,experienceID:r,experienceType:s})}switch(c.experiences.content[s]=d.content[s],c.experiences.content.display=s,c.experiences.content.static=d.content.static,c.experiences.layout[s]=d.layout[s],c.experiences.layout.entitlementInfo=d.layout.entitlementInfo,s===i.DisplayExperienceType.Preference?(c.experiences.autoInitiated.content=Object.assign(Object.assign({},c.experiences.autoInitiated.content),{[s]:d.content[s]}),c.experiences.autoInitiated.content.display=s,c.experiences.autoInitiated.content.static=d.content.static,c.experiences.autoInitiated.layout=Object.assign(Object.assign({},c.experiences.autoInitiated.layout),{[s]:d.layout[s]}),c.experiences.autoInitiated.layout.entitlementInfo=d.layout.entitlementInfo,c.experiences.userInitiated.content=Object.assign(Object.assign({},c.experiences.userInitiated.content),{[s]:d.content[s]}),c.experiences.userInitiated.content.display=s,c.experiences.userInitiated.content.static=d.content.static,c.experiences.userInitiated.layout=Object.assign(Object.assign({},c.experiences.userInitiated.layout),{[s]:d.layout[s]}),c.experiences.userInitiated.layout.entitlementInfo=d.layout.entitlementInfo):s!==i.DisplayExperienceType.Banner&&s!==i.DisplayExperienceType.Modal||(c.experiences.content[i.DisplayExperienceType.Banner]=d.content[i.DisplayExperienceType.Banner],c.experiences.content[i.DisplayExperienceType.Modal]=d.content[i.DisplayExperienceType.Modal],c.experiences.layout[i.DisplayExperienceType.Banner]=d.layout[i.DisplayExperienceType.Banner],c.experiences.layout[i.DisplayExperienceType.Modal]=d.layout[i.DisplayExperienceType.Modal],c.experiences.autoInitiated.content=Object.assign(Object.assign({},c.experiences.autoInitiated.content),{[i.DisplayExperienceType.Banner]:d.content[i.DisplayExperienceType.Banner],[i.DisplayExperienceType.Modal]:d.content[i.DisplayExperienceType.Modal]}),c.experiences.autoInitiated.content.display=s,c.experiences.autoInitiated.content.static=d.content.static,c.experiences.autoInitiated.layout=Object.assign(Object.assign({},c.experiences.autoInitiated.layout),{[i.DisplayExperienceType.Banner]:d.layout[i.DisplayExperienceType.Banner],[i.DisplayExperienceType.Modal]:d.layout[i.DisplayExperienceType.Modal]}),c.experiences.autoInitiated.layout.entitlementInfo=d.layout.entitlementInfo,c.experiences.userInitiated.content=Object.assign(Object.assign({},c.experiences.userInitiated.content),{[i.DisplayExperienceType.Banner]:d.content[i.DisplayExperienceType.Banner],[i.DisplayExperienceType.Modal]:d.content[i.DisplayExperienceType.Modal]}),c.experiences.userInitiated.content.display=s,c.experiences.userInitiated.content.static=d.content.static,c.experiences.userInitiated.layout=Object.assign(Object.assign({},c.experiences.userInitiated.layout),{[i.DisplayExperienceType.Banner]:d.layout[i.DisplayExperienceType.Banner],[i.DisplayExperienceType.Modal]:d.layout[i.DisplayExperienceType.Modal]}),c.experiences.userInitiated.layout.entitlementInfo=d.layout.entitlementInfo),n){case"showExperience":this.ketch._showExperience(t,e.options,e.params);break;case"showPreference":this.ketch._showPreferenceExperience(t,e.options,e.params);break;case"showConsent":this.ketch._showConsentExperience(t,s,e.options,e.params);break;default:const n=s===i.DisplayExperienceType.Preference?i.ExperienceType.Preference:i.ExperienceType.Consent;this.ketch.renderExperience(s,n,t,e.options,e.params.experienceID)}return!0}),this.ketch=e;const n=l.default.get(a.default.SHOW);t.forEach(e=>{n===a.default.NONE&&e.trigger===i.RuleTrigger.ON_LOAD||this.enqueueTrigger(e.trigger,e.params,e.source)})}start(){const e=(0,o.wrapLogger)(u,"start");this._isStarted?e.debug("Rule engine already started"):(e.debug("Starting rule engine, queue:",this._triggerQueue),this._isStarted=!0,this.processQueue())}enqueueTrigger(e,t,n){const r={trigger:e,params:t,source:n};(0,o.wrapLogger)(u,"enqueueTrigger").debug("enqueueing trigger",{queueItem:r}),this._triggerQueue.add(r),this._isStarted&&this.processQueue()}};const d=(e,t)=>{if(null==e)return e;switch(t){case"number":const t=Number(e);return isNaN(t)?void 0:t;case"boolean":return"boolean"==typeof e?e:"string"==typeof e?"true"===e.toLowerCase()||"1"===e:Boolean(e);case"date":return p(e);case"object":return e;default:return String(e)}},p=e=>{if(e instanceof Date)return e;if("number"==typeof e||"string"==typeof e&&/^\d+$/.test(e)){const t=Number(e),n=t>1e10?new Date(t):new Date(1e3*t);return isNaN(n.getTime())?void 0:n}const t=new Date(e);return isNaN(t.getTime())?void 0:t}},372(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TagsConfig=void 0;const r=n(1635),o=r.__importDefault(n(6092)),i=r.__importDefault(n(7931)),s=n(5305),l=n(436);t.TagsConfig=[{elementName:"script",purposesAttribute:"data-purposes",requiredAttributeValues:{type:"text/plain"},enableActions:{attributeValueSwaps:{type:"text/javascript"}}},{elementName:"script",purposesAttribute:"class",requiredAttributeValues:{type:"text/plain"},enableActions:{attributeValueSwaps:{type:"text/javascript"}},isOneTrust:!0},{elementName:"iframe",purposesAttribute:"data-purposes",requiredAttributes:["data-src"],enableActions:{attributeNameSwaps:{"data-src":"src"}}},{elementName:"img",purposesAttribute:"data-purposes",requiredAttributes:["data-src"],enableActions:{attributeNameSwaps:{"data-src":"src"}}},{elementName:"link",purposesAttribute:"data-purposes",requiredAttributes:["data-href"],requiredAttributeValues:{rel:"prefetch"},enableActions:{attributeNameSwaps:{"data-href":"href"}}},{elementName:"link",purposesAttribute:"data-purposes",requiredAttributes:["data-href"],requiredAttributeValues:{rel:"preconnect"},enableActions:{attributeNameSwaps:{"data-href":"href"}}},{elementName:"link",purposesAttribute:"data-purposes",requiredAttributes:["data-href"],requiredAttributeValues:{rel:"dns-prefetch"},enableActions:{attributeNameSwaps:{"data-href":"href"}}},{elementName:"link",purposesAttribute:"data-purposes",requiredAttributes:["data-href"],requiredAttributeValues:{rel:"stylesheet"},enableActions:{attributeNameSwaps:{"data-href":"href"}}},{elementName:"script",purposesAttribute:"data-purposes-all",requiredAttributeValues:{type:"text/plain"},enableActions:{attributeValueSwaps:{type:"text/javascript"}},requireAllPurposes:!0},{elementName:"iframe",purposesAttribute:"data-purposes-all",requiredAttributes:["data-src"],enableActions:{attributeNameSwaps:{"data-src":"src"}},requireAllPurposes:!0},{elementName:"iframe",purposesAttribute:"class",requiredAttributes:["data-src"],enableActions:{attributeNameSwaps:{"data-src":"src"}},isOneTrust:!0}],t.default=class{constructor(e,t,n){this._results={},this.getMappedElements=(e,t,n,r,o=!1,l=!1)=>{var a,c,u;const d=(0,s.wrapLogger)(i.default,"tags: getMappedElements");if(l&&!(null===(u=null===(c=null===(a=this._config.plugins)||void 0===a?void 0:a.onetrust)||void 0===c?void 0:c.config)||void 0===u?void 0:u.otTagOrchestrationEnabled))return d.debug("OneTrust tag orchestration disabled, skipping OneTrust elements"),[];const p=document.querySelectorAll(e),h=Array.from(p).filter(e=>{const i=!!t&&e.hasAttribute(t),s=o&&e.hasAttribute("data-ketch-id"),l=!n||(null==n?void 0:n.every(t=>e.hasAttribute(t))),a=!r||Object.entries(r).every(([t,n])=>e.getAttribute(t)===n);return(i||s)&&l&&a});return d.debug(`found ${h.length} '${e}' elements mapped to ketch purposes`),h},this.enableElement=(e,t={},n={})=>{let r;return(0,s.wrapLogger)(i.default,"tags: enableElement").debug("enabling element",e),Object.entries(t).forEach(([t,n])=>{const r=e.getAttribute(t);r&&(e.setAttribute(n,r),e.removeAttribute(t))}),Object.entries(n).forEach(([t,n])=>{var o;r=e.cloneNode(!0),r.setAttribute(t,n),null===(o=e.parentNode)||void 0===o||o.replaceChild(r,e)}),null!=r?r:e},this.getGrantedPurposes=()=>r.__awaiter(this,void 0,void 0,function*(){const e=(0,s.wrapLogger)(i.default,"tags: getGrantedPurposes"),t=yield this._ketch.getConsent(),n=(null==t?void 0:t.purposes)||{};return e.debug("got consent purposes",n),new Set(Object.keys(n).filter(e=>!0===n[e]))}),this.getRequiredPurposes=(e,t,n=!1,r=!1)=>{var o,l,a;const c=(0,s.wrapLogger)(i.default,"tags: getRequiredPurposes");if(n){const t=e.getAttribute("data-ketch-id")||"";return(null===(l=null===(o=this._config.tags)||void 0===o?void 0:o[t])||void 0===l?void 0:l.purposeCodes)||[]}if(r){if(!t)return c.error("No purposes attribute for element: ",e),[];const n=this.getOneTrustPurposeMap();if(!n)return c.error("No OneTrust purpose mappings in config"),[];const r=e.getAttribute(t);if(!r)return c.error("No OneTrust class attribute for element: ",e),[];const o=this.getOneTrustCategories(r),i=new Set;return o.forEach(e=>{var t;null===(t=n[e])||void 0===t||t.forEach(e=>i.add(e))}),Array.from(i)}return t?(null===(a=e.getAttribute(t))||void 0===a?void 0:a.split(" "))||[]:(c.error("No purposes attribute for element: ",e),[])},this.getOneTrustPurposeMap=()=>{var e,t;const n=null===(t=null===(e=this._config.plugins)||void 0===e?void 0:e.onetrust)||void 0===t?void 0:t.purposeMappings;if(!(null==n?void 0:n.length))return null;const r={};return n.forEach(e=>{e.pluginPurposeID&&(r[e.pluginPurposeID]=e.purposes||[])}),r},this.getOneTrustCategories=e=>e.split(" ").filter(e=>e.startsWith("optanon-category-")).flatMap(e=>e.replace("optanon-category-","").split("-").filter(Boolean)),this.isPurposeRequirementSatisfied=(e,t,n,r,o,i=!1)=>{if(i){if(!o)return!1;const t=this.getOneTrustPurposeMap();if(!t)return!1;const r=e.getAttribute(o);if(!r)return!1;const i=this.getOneTrustCategories(r);return!!i.length&&i.every(e=>(t[e]||[]).some(e=>n.has(e)))}return r?t.every(e=>n.has(e)):t.some(e=>n.has(e))},this.execute=()=>r.__awaiter(this,void 0,void 0,function*(){const e=(0,s.wrapLogger)(i.default,"tags: execute"),t=yield this.getGrantedPurposes();return e.debug("granted purposes",t),this._tagsConfig.forEach(n=>r.__awaiter(this,void 0,void 0,function*(){var r,o;const{elementName:i,purposesAttribute:s,requiredAttributes:l,requiredAttributeValues:a,enableActions:{attributeNameSwaps:c,attributeValueSwaps:u},isPlatformMapped:d,requireAllPurposes:p,isOneTrust:h}=n,f=this.getMappedElements(i,s,l,a,d,h),_=f.filter(n=>{const r=this.getRequiredPurposes(n,s,d,h),o=d&&!r.length;e.debug("required purposes for element",n,r);const i=this.isPurposeRequirementSatisfied(n,r,t,p,s,h);return!(!o&&!i||(this.enableElement(n,c,u),0))}),E=f.filter(e=>{const n=this.getRequiredPurposes(e,s,d,h),r=d&&!n.length,o=this.isPurposeRequirementSatisfied(e,n,t,p,s,h);return!(r||o)}),g=(null===(r=this._results[i])||void 0===r?void 0:r.enabledElements)||[],m=((null===(o=this._results[i])||void 0===o?void 0:o.disabledElements)||[]).filter(e=>!g.includes(e)&&!_.includes(e));this._results[i]={enabledElements:[...g,..._],disabledElements:[...m.filter(e=>!E.includes(e)),...E]},e.debug(`enabled ${i} elements:`,_,`disabled ${i} elements:`,E)})),(0,l.addToKetchLog)("getWrappedTags",()=>{Object.entries(this._results).forEach(([e,{enabledElements:t,disabledElements:n}])=>{console.group(`%cWrapped %c<${e}>%c Tags`,"","font-family: monospace; background-color: #f4f4f4; padding: 2px 4px; border-radius: 3px; color: #333;",""),console.groupCollapsed(`%cBlocked (${n.length})`,"color: red"),n.forEach(e=>console.log(e)),console.groupEnd(),console.groupCollapsed(`%cAllowed (${t.length})`,"color: green"),t.forEach(e=>console.log(e)),console.groupEnd(),console.groupEnd()})}),Object.values(this._results).reduce((e,t)=>e.concat(t.enabledElements),[])}),this._ketch=e,this._tagsConfig=t,this._config=n,this._ketch.on(o.default.CONSENT_EVENT,()=>this.execute())}}},8773(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.boot=void 0;const r=n(1635),o=r.__importDefault(n(8347)),i=r.__importDefault(n(7931)),s=r.__importDefault(n(2774));t.boot=function(){return r.__awaiter(this,void 0,void 0,function*(){window.semaphore=window.semaphore||[],window.ketch=window.ketch||s.default;const e=()=>r.__awaiter(this,void 0,void 0,function*(){try{yield(0,o.default)()}catch(e){i.default.error(e)}});"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e,{once:!0}):yield e()})}},4835(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setCacheEntry=t.getCacheEntry=t.clearCacheEntry=t.setCachedNavNode=t.getCachedNavNode=t.getLanyardRoot=t.setPublicConsent=t.setCachedConsent=t.getCachedConsent=t.KEYBOARD_HANDLER_CACHE_KEYS=t.PUBLIC_CONSENT_TTL=t.CACHED_CONSENT_TTL=t.CACHED_PROTOCOLS_KEY=t.PUBLIC_CONSENT_KEY_V1=t.CACHED_CONSENT_KEY=void 0;const r=n(1635),o=n(9791),i=n(835),s=n(5305),l=r.__importDefault(n(7931)),a=n(6092),c=n(7296);t.CACHED_CONSENT_KEY="_swb_consent_",t.PUBLIC_CONSENT_KEY_V1="_ketch_consent_v1_",t.CACHED_PROTOCOLS_KEY="_swb_consent_",t.CACHED_CONSENT_TTL=300,t.PUBLIC_CONSENT_TTL=3456e4,t.KEYBOARD_HANDLER_CACHE_KEYS={CTX_KEY:"_ketch_currentKeyboardCtx",LANYARD_DOM:"_ketch_lanyardRootDom",FOCUSABLE_ELEMS:"_ketch_focusableElems",MODAL_STACKS:"_ketch_modalStacks",SUB_EXPERIENCE_CTX:"_ketch_subExperienceCtx"};const u=(0,o.getDefaultCacher)(),d=new o.WebStorageCacher(window.localStorage,86400);function p(e){return window&&window[e]||localStorage&&localStorage.getItem(e)}function h(e,t){localStorage&&(null===localStorage||void 0===localStorage||localStorage.setItem(e,t)),window&&(window[e]=t)}t.getCachedConsent=function(e,n){var o;return r.__awaiter(this,void 0,void 0,function*(){const r={organizationCode:e.organizationCode,propertyCode:e.propertyCode,environmentCode:e.environmentCode,jurisdictionCode:e.jurisdictionCode,identities:e.identities,purposes:{},collectedAt:0};if(n.options&&"no-cache"===n.options["Cache-Control"])return r;if("IOS"===(null===(o=n.property)||void 0===o?void 0:o.platform))return r;const i=yield u.getItem(t.CACHED_CONSENT_KEY);if(!i)return r;if(0===Object.keys(i).length)return r;if(!i.collectedAt)return r;const s=i,l=yield d.getItem(t.CACHED_PROTOCOLS_KEY);return s.vendors=null==l?void 0:l.vendors,s.googleVendors=null==l?void 0:l.googleVendors,s.protocols=null==l?void 0:l.protocols,s.vendorConsents=null==l?void 0:l.vendorConsents,s})},t.setCachedConsent=function(e,n){var o;return r.__awaiter(this,void 0,void 0,function*(){if(!e||0===Object.keys(e).length)return;e.collectedAt||(e.collectedAt=Math.floor(Date.now()/1e3));const r=Object.assign({},e);yield null==d?void 0:d.setItem(t.CACHED_PROTOCOLS_KEY,r),r.vendors=void 0,r.googleVendors=void 0,"vendorConsents"in r&&(r.vendorConsents=void 0),"protocols"in r&&(r.protocols=void 0),n.options&&"true"===n.options.cache_cookies_disabled||"IOS"!==(null===(o=n.property)||void 0===o?void 0:o.platform)&&(yield null==u?void 0:u.setItem(t.CACHED_CONSENT_KEY,r))})},t.setPublicConsent=function(e,n){return r.__awaiter(this,void 0,void 0,function*(){if(0===Object.keys(e).length)return;const r={};if(n.purposes){for(const t of n.purposes){if(!Object.prototype.hasOwnProperty.call(e.purposes,t.code))continue;const n=e.purposes[t.code];let o="";"string"==typeof n?o="true"===n?"granted":"denied":n.allowed&&(o="true"===n.allowed?"granted":"denied"),0!=o.length&&(r[t.code]={status:o},t.canonicalPurposeCodes?r[t.code].canonicalPurposes=t.canonicalPurposeCodes:t.canonicalPurposeCode&&t.canonicalPurposeCode.length>0&&(r[t.code].canonicalPurposes=[t.canonicalPurposeCode]))}if(Object.keys(r).length>0){const e=btoa(JSON.stringify(r));null===localStorage||void 0===localStorage||localStorage.setItem(t.PUBLIC_CONSENT_KEY_V1,e),n.options&&"true"===n.options.cache_cookies_disabled||(0,i.setCookie)(window,t.PUBLIC_CONSENT_KEY_V1,e,t.PUBLIC_CONSENT_TTL)}}})},t.getLanyardRoot=function(){if(window&&window[t.KEYBOARD_HANDLER_CACHE_KEYS.LANYARD_DOM])return window[t.KEYBOARD_HANDLER_CACHE_KEYS.LANYARD_DOM];{const e=document.getElementById(a.LANYARD_ID);return window&&(window[t.KEYBOARD_HANDLER_CACHE_KEYS.LANYARD_DOM]=e),e}},t.getCachedNavNode=function(e,t={}){const n=(0,s.wrapLogger)(l.default,"getCachedDomNode");if(!window&&!localStorage)return n.debug("missing storage options"),null;const r=p(e);return r?(0,c.decodeDataNav)(r):(n.debug("cache missing key: ",e),t.ifNull?(n.debug("populating cache"),h(e,t.ifNull),(0,c.decodeDataNav)(t.ifNull)):null)},t.setCachedNavNode=function(e,t){const n=(0,s.wrapLogger)(l.default,"setCachedNavNode"),r=t.src;r?h(e,r):n.debug(`Missing data nav encoding. Cannot cache ${e}`)},t.clearCacheEntry=function(e){window&&(window[e]=void 0),localStorage&&localStorage.removeItem(e)},t.getCacheEntry=p,t.setCacheEntry=h},6092(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NO_OPT_IN_LEGAL_BASES=t.NO_OPT_OUT_LEGAL_BASES=t.LANYARD_ID=t.EMPTY_CONSENT=t.ShowExperienceEvents=void 0;const r=n(8509);var o;!function(e){e.SHOW_CONSENT_EXPERIENCE_EVENT="showConsentExperience",e.SHOW_PREFERENCE_EXPERIENCE_EVENT="showPreferenceExperience",e.SHOW_PROGRESSIVE_EXPERIENCE_EVENT="showProgressiveExperience",e.SHOW_CONSENT_GATE_EXPERIENCE_EVENT="showConsentGateExperience",e.SHOW_EXPERIENCE_EVENT="showExperience",e.RENDER_EXPERIENCE_EVENT="renderExperience"}(o=t.ShowExperienceEvents||(t.ShowExperienceEvents={}));const i=Object.assign(Object.assign({},o),{CONSENT_EVENT:"consent",ENVIRONMENT_EVENT:"environment",FULFILLED_EVENT:"fulfilled",GEOIP_EVENT:"geoip",HANDLE_KEYBOARD_EVENT:"handleKeyboardEvent",HAS_CHANGED_EXPERIENCE_EVENT:"hasChangedExperience",HAS_SHOWN_EXPERIENCE_EVENT:"hasShownExperience",HIDE_EXPERIENCE_EVENT:"hideExperience",HIDE_EXPERIENCE_REASON_EVENT:"hideExperienceReasonUpdated",IDENTITIES_EVENT:"identities",IDENTITY_EVENT:"identity",USER_ATTRIBUTES_EVENT:"userAttributes",USER_ATTRIBUTE_EVENT:"userAttribute",PROFILE_EVENT:"profile",JURISDICTION_EVENT:"jurisdiction",PROTOCOLS_EVENT:"protocols",REGION_INFO_EVENT:"regionInfo",RETURN_KEYBOARD_CONTROL:"returnKeyboardControl",RIGHT_INVOKED_EVENT:"rightInvoked",SUBSCRIPTIONS_EVENT:"subscriptions",SUBSCRIPTION_CONFIG_EVENT:"subscriptionConfig",USER_CONSENT_UPDATED_EVENT:"userConsentUpdated",WILL_CHANGE_EXPERIENCE_EVENT:"willChangeExperience",WILL_SHOW_EXPERIENCE_EVENT:"willShowExperience",NEEDS_CONSENT_EVENT:"needsConsent",NEEDS_CONSENT_MAP_EVENT:"needsConsentMap",CONSENT_SOURCE_OVERRIDE_EVENT:"consentSourceOverride"});t.default=Object.assign(Object.assign({},i),{NONE:"none",ENV:"env",PRODUCTION:"production",REGION:"region",JURISDICTION:"jurisdiction",LANGUAGE:"lang",SHOW:"show",PREFERENCES_TAB:"preferences_tab",PREFERENCES_TABS:"preferences_tabs",CONSENT:"cd",PREFERENCES:"preferences",CONSENT_GATE:"consentGate",API_SERVER:"shoreline",API_SERVER_BASE_URL:"https://global.ketchcdn.com/web/v2",EXPERIENCE_VERSION:"experience_version",EXPERIENCE_RULES_VERSION:"experience_rules_version",NO_CACHE:"no_cache",ROUTER_ACCEPT_ALL_CONSENT_FLAG:"router_accept_all_consent_flag",ROUTER_REJECT_ALL_CONSENT_FLAG:"router_reject_all_consent_flag",IS_EMULATOR:"isEmulator"}),t.EMPTY_CONSENT={purposes:{},vendors:[],googleVendors:[],protocols:{}},t.LANYARD_ID="lanyard_root",t.NO_OPT_OUT_LEGAL_BASES=[r.LegalBasis.Disclosure,r.LegalBasis.LegitimateInterest],t.NO_OPT_IN_LEGAL_BASES=[r.LegalBasis.AlwaysOff,r.LegalBasis.NotApplicable]},192(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return window.dataLayer=window.dataLayer||[]}},5834(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={actionNotFoundError:e=>new Error(`action "${e}" not found`),expectedFunctionError:e=>new Error(`action "${e}" expected a function`),unrecognizedLocationError:new Error("unrecognized location"),noIdentitiesError:new Error("no identities"),noPurposesError:new Error("no purposes"),noEnvironmentError:new Error("no environment"),noJurisdictionError:new Error("no jurisdiction"),invalidConfigurationError:new Error("invalid configuration"),emptyConsentError:new Error("empty consent")}},300(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=r.__importDefault(n(6092)),i=r.__importDefault(n(3449));t.default=function(e){if(e.services){let t=e.services[o.default.API_SERVER];t.endsWith("/")&&(t=t.slice(0,-1));const n=i.default.get(o.default.EXPERIENCE_VERSION);return n&&(t.includes("v3")&&"old"===n?t=t.replace("v3","v2"):t.includes("v2")&&"new"===n&&(t=t.replace("v2","v3"))),t.endsWith("/web/v2")||t.endsWith("/web/v3")||(t+="/web/v2"),t}return o.default.API_SERVER_BASE_URL}},549(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Ketch=t.boot=void 0;const r=n(5926);Object.defineProperty(t,"Ketch",{enumerable:!0,get:function(){return r.Ketch}});const o=n(8773);Object.defineProperty(t,"boot",{enumerable:!0,get:function(){return o.boot}})},8347(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635);n(2581);const o=r.__importDefault(n(7931)),i=r.__importDefault(n(5250)),s=r.__importDefault(n(3004)),l=r.__importStar(n(372)),a=r.__importDefault(n(2433)),c=r.__importDefault(n(6092)),u=n(8509),d=n(7893);t.default=function(){return r.__awaiter(this,void 0,void 0,function*(){const e=window.semaphore||[],t=e.shift();if(!Array.isArray(t)||2!=t.length||"init"!=t[0])throw Error("ketch tag command queue is not configured correctly");const n=t[1];o.default.debug("init",n);const r=new i.default(n),p=yield r.build(),h=new s.default(p);for(;e.length>0;)h.push(e.shift());window.semaphore.push=h.push.bind(h),window.semaphore.ketch=p,window.semaphore.loaded=!0;const f="true"===sessionStorage.getItem(c.default.ROUTER_ACCEPT_ALL_CONSENT_FLAG),_="true"===sessionStorage.getItem(c.default.ROUTER_REJECT_ALL_CONSENT_FLAG);if(f)return o.default.debug("hasRouterAcceptAllFlag is set, skipping getConsent"),yield p.acceptAllConsent(),void sessionStorage.removeItem(c.default.ROUTER_ACCEPT_ALL_CONSENT_FLAG);if(_)return o.default.debug("hasRouterRejectAllFlag is set, skipping getConsent"),yield p.rejectAllConsent(),void sessionStorage.removeItem(c.default.ROUTER_REJECT_ALL_CONSENT_FLAG);const E=yield p.getConfig();if(p.deploymentMode===u.DeploymentMode.Quiet)return void o.default.debug("exiting early, deployment mode is quiet");yield p.getConsent();const g={url:window.location.href,path:window.location.pathname};yield p.setProfile(d.ProfileSection.PAGE,g),p.startRuleEngine(),new l.default(p,l.TagsConfig,E).execute(),new a.default(p,E).execute()})}},3044(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}},8705(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!!(e&&e.constructor&&e.call&&e.apply)}},2774(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,...t){(window.semaphore=window.semaphore||[]).push([e,...t])}},7262(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleNavigation=t.navigateBannerTree=t.getBannerTree=t.navigateModalStacks=t.handleDisabledSwitches=t.getModalStacks=t.getStaticModalNodes=t.handleSelection=t.handleSubExperienceCaching=t.renderNavigation=t.clearCachedNodes=t.getArrowActionFromUserAgent=t.getUserAgent=void 0;const r=n(1635),o=n(5305),i=n(4835),s=n(9305),l=r.__importDefault(n(7931)),a=n(7296);t.getUserAgent=()=>{const e=(0,o.wrapLogger)(l.default,"getUserAgent"),t=navigator.userAgent.toUpperCase();return Object.values(s.SupportedUserAgents).find(e=>-1!==t.search(e))||void e.debug(`Unsupported userAgent: ${t}`)},t.getArrowActionFromUserAgent=e=>{const n=(0,o.wrapLogger)(l.default,"getArrowActionFromUserAgent"),r=(0,t.getUserAgent)();if(!r)return n.debug(`Unknown userAgent: ${navigator.userAgent}`),s.ArrowActions.UNKNOWN;const i=s.UserAgentHandlerMap[r];return i?i[e.keyCode]?i[e.keyCode]:(n.debug(`Unknown key: ${e.keyCode}`),s.ArrowActions.UNKNOWN):(n.debug(`Misconfigured userAgent: ${r}`),s.ArrowActions.UNKNOWN)},t.clearCachedNodes=()=>{const e=(0,o.wrapLogger)(l.default,"clearCachedNodes");Object.values(i.KEYBOARD_HANDLER_CACHE_KEYS).forEach(t=>{e.trace(`clearing ${t}`),(0,i.clearCacheEntry)(t)})},t.renderNavigation=e=>{const t=(0,o.wrapLogger)(l.default,"renderNavigation"),n=(0,i.getLanyardRoot)();if(!n)return void t.debug("missing lanyard root");const{prev:r,next:s}=e;if(r){const e=n.querySelector(`[data-nav="${r.src}"]`);e?e.blur():t.debug(`node not found: ${r.src} -- ${r["nav-index"]}`)}if(s){const e=n.querySelector(`[data-nav="${s.src}"]`);e?e.focus():t.debug(`node not found: ${s.src} -- ${s["nav-index"]}`)}},t.handleSubExperienceCaching=(e,t)=>{const n=(0,i.getCacheEntry)(i.KEYBOARD_HANDLER_CACHE_KEYS.SUB_EXPERIENCE_CTX);if(n||e.action!==s.LanyardItemActions.expand){if(e.action===s.LanyardItemActions.expand&&n===e.subExperience)(0,i.clearCacheEntry)(i.KEYBOARD_HANDLER_CACHE_KEYS.SUB_EXPERIENCE_CTX);else if(e.action===s.LanyardItemActions.switch&&n===e.subExperience){const e=t.find(e=>e.subExperience===n&&e.action===s.LanyardItemActions.expand),r=e&&(0,a.getDomNode)(e);r&&"function"==typeof r.click&&r.click(),(0,i.clearCacheEntry)(i.KEYBOARD_HANDLER_CACHE_KEYS.SUB_EXPERIENCE_CTX)}else if(n!==e.subExperience&&e.action===s.LanyardItemActions.expand){const r=t.find(e=>e.subExperience===n&&e.action===s.LanyardItemActions.expand),o=r&&(0,a.getDomNode)(r);o&&"function"==typeof o.click&&o.click(),(0,i.setCacheEntry)(i.KEYBOARD_HANDLER_CACHE_KEYS.SUB_EXPERIENCE_CTX,e.subExperience)}}else(0,i.setCacheEntry)(i.KEYBOARD_HANDLER_CACHE_KEYS.SUB_EXPERIENCE_CTX,e.subExperience)},t.handleSelection=(e=!0,n)=>{const r=(0,o.wrapLogger)(l.default,"handleSelection"),s=(0,i.getCachedNavNode)(i.KEYBOARD_HANDLER_CACHE_KEYS.CTX_KEY),c=(0,a.getDomNode)(s);s&&c&&"function"==typeof c.click?(e&&(0,t.clearCachedNodes)(),Array.isArray(n)&&s.subExperience&&(0,t.handleSubExperienceCaching)(s,n),c.click()):r.debug("Node missing or missing click fn",c)},t.getStaticModalNodes=e=>{const t=(0,o.wrapLogger)(l.default,"getStaticModalNodes");if(0===e.length)return t.debug("no clickable nodes"),{topNodes:[]};const n=(0,a.safeJsonParse)((0,i.getCacheEntry)(i.KEYBOARD_HANDLER_CACHE_KEYS.MODAL_STACKS));if(n&&Array.isArray(n.topNodes))return n;const r=e.filter(e=>void 0===e.subExperience).sort((e,t)=>e["nav-index"]-t["nav-index"]);t.trace("top nodes:",r);const c=e.filter(e=>e.subExperience&&e.action===s.LanyardItemActions.expand).sort((e,t)=>void 0===e.subExperience||void 0===t.subExperience?0:e.subExperience.localeCompare(t.subExperience));t.trace("expand nodes:",c);const u=e.filter(e=>e.subExperience&&e.action===s.LanyardItemActions.switch).sort((e,t)=>void 0===e.subExperience||void 0===t.subExperience?0:e.subExperience.localeCompare(t.subExperience));t.trace("switch nodes:",u);const d={expandNodes:c.length>0?c:void 0,switchNodes:u.length>0?u:void 0,topNodes:r};return(0,i.setCacheEntry)(i.KEYBOARD_HANDLER_CACHE_KEYS.MODAL_STACKS,JSON.stringify(d)),d},t.getModalStacks=e=>{const n=(0,o.wrapLogger)(l.default,"getModalStacks"),r=(0,t.getStaticModalNodes)(e);Array.isArray(r.topNodes)&&0!==r.topNodes.length||n.debug("Missing top nodes in the stack");const s=(0,i.getCacheEntry)(i.KEYBOARD_HANDLER_CACHE_KEYS.SUB_EXPERIENCE_CTX);if(s){if(n.trace("existing subExperienceCtx:",s),!r.expandNodes||0===r.expandNodes.length)return n.debug(`missing expand nodes for ${s}. Returning without subExperience`),r;const t=e.filter(e=>e.subExperience===s).sort((e,t)=>e["nav-index"]-t["nav-index"]);n.trace(`found ${t.length} nodes in ${s}`);const o=r.expandNodes.findIndex(e=>e.subExperience===s);if(-1===o)return n.debug(`Expand nodes missing for ${s}. Returning stacks without subExperience`),r;r.expandNodes=[...r.expandNodes.slice(0,o),...t,...r.expandNodes.slice(o+1)],n.trace("updating expand nodes",r.expandNodes)}return r},t.handleDisabledSwitches=(e,t)=>{if(e.action===s.LanyardItemActions.switch&&e.disabled){const n=null==t?void 0:t.find(t=>t.subExperience===e.subExperience);if(n)return n}return e},t.navigateModalStacks=(e,n,r)=>{var a,c,u;const d=(0,o.wrapLogger)(l.default,"navigateModalStacks");if(!e||!e.topNodes||!(null===(a=e.topNodes)||void 0===a?void 0:a.length))return d.debug("no top nodes found in the modal"),null;if(null===r)return d.debug(`Defaulting first selection to node: ${e.topNodes[0]}`),e.topNodes[0];const p=r.action,h=p===s.LanyardItemActions.switch?e.switchNodes:p===s.LanyardItemActions.expand||r.subExperience?e.expandNodes:e.topNodes;if(!h)return d.debug("Storage inconsistent"),null;d.trace("activeStack:",h);const f=h.findIndex(e=>e.src===r.src);d.trace(`moving ${n} from index ${f}`);let _=null;switch(n){case s.ArrowActions.UP:if(0===f){if(p===s.LanyardItemActions.expand||p===s.LanyardItemActions.switch){_=e.topNodes[e.topNodes.length-1];break}{const t=e.switchNodes||e.expandNodes;_=t&&t.length>0?t[t.length-1]:null;break}}_=h[f-1];break;case s.ArrowActions.DOWN:if(f===h.length-1){if(p===s.LanyardItemActions.expand||p===s.LanyardItemActions.switch){_=e.topNodes[0];break}{const t=e.switchNodes||e.expandNodes;_=t&&t.length>0?t[0]:null;break}}_=h[f+1];break;case s.ArrowActions.LEFT:p===s.LanyardItemActions.switch&&(_=null===(c=e.expandNodes)||void 0===c?void 0:c.find(e=>e.subExperience===r.subExperience));break;case s.ArrowActions.RIGHT:p===s.LanyardItemActions.expand&&(_=null===(u=e.switchNodes)||void 0===u?void 0:u.find(e=>e.subExperience===r.subExperience));break;case s.ArrowActions.OK:const n=r.action===s.LanyardItemActions.confirm||r.action===s.LanyardItemActions.close||r.action===s.LanyardItemActions.back||Boolean(r.clearCache);(0,t.handleSelection)(n,e.expandNodes);break;case s.ArrowActions.BACK:const o=e.topNodes.find(e=>e.action===s.LanyardItemActions.back);o&&((0,i.setCachedNavNode)(i.KEYBOARD_HANDLER_CACHE_KEYS.CTX_KEY,o),(0,t.handleSelection)(!0));break;default:return null}return _?(0,t.handleDisabledSwitches)(_,e.expandNodes):null},t.getBannerTree=e=>{const t=(0,o.wrapLogger)(l.default,"getBannerTree");if(0===e.length)return t.debug("no clickable nodes"),[];const n=e.sort((e,t)=>e["nav-index"]-t["nav-index"]);return t.debug(n),n},t.navigateBannerTree=(e,n,r)=>{const i=(0,o.wrapLogger)(l.default,"navigateBannerTree");if(null===r)return i.debug(`Defaulting first selection to node: ${e[0]}`),e[0];const a=e.findIndex(e=>e.src===r.src);switch(i.debug("Starting at: ",a),n){case s.ArrowActions.UP:case s.ArrowActions.LEFT:return 0===a?(i.debug("Cannot move past last node"),null):e[a-1];case s.ArrowActions.RIGHT:case s.ArrowActions.DOWN:return a===e.length-1?(i.debug("Cannot move beyond first node"),null):e[a+1];case s.ArrowActions.OK:return(0,t.handleSelection)(!0),null;case s.ArrowActions.BACK:return i.trace("cannot back out of banner"),null;default:return i.debug("Unknown arrowAction: ",n),null}},t.handleNavigation=e=>{const n=(0,o.wrapLogger)(l.default,"handleNavigation");n.debug("Navigating ",e);const r=(0,i.getLanyardRoot)();if(null===r)return n.debug("Cannot find lanyard root"),null;if(!(r instanceof HTMLElement))return n.debug("Storage inconsistent"),null;const c=r.querySelectorAll("[data-nav]");if(!c||0===c.length)return n.debug("No tagged DOM nodes found"),null;const u=[];c.forEach(e=>{const t=(0,a.decodeDataNav)(e.dataset.nav||"");null!==t&&u.push(t)}),u.length!==c.length?n.debug("inconsistent encoding of data-nav"):window.decodedNodes=u;let d=null;const p=u[0].experience,h=(0,i.getCachedNavNode)(i.KEYBOARD_HANDLER_CACHE_KEYS.CTX_KEY);if(p===s.EXPERIENCES.BANNER){const n=(0,t.getBannerTree)(u);d=(0,t.navigateBannerTree)(n,e,h)}else if(p===s.EXPERIENCES.MODAL){const n=(0,t.getModalStacks)(u);d=(0,t.navigateModalStacks)(n,e,h)}else n.debug(`unhandled experience ${p}`);return d&&(n.debug("Updating cached context node: ",d),(0,i.setCachedNavNode)(i.KEYBOARD_HANDLER_CACHE_KEYS.CTX_KEY,d)),{prev:h,next:d}},t.default=function(e,n){const r=(0,o.wrapLogger)(l.default,"onKeyPress"),i="string"==typeof e?e:(0,t.getArrowActionFromUserAgent)(e);if(r.debug("Processing movement: ",i),i===s.ArrowActions.UNKNOWN){const o="string"==typeof e?e:e.keyCode;r.error(`Unknown input: ${o}`),r.debug("returning keyboard control"),(0,t.clearCachedNodes)(),n()}else{const e=(0,t.handleNavigation)(i);e?(0,t.renderNavigation)(e):(r.debug("returning keyboard control"),(0,t.clearCachedNodes)(),n())}}},9305(e,t){"use strict";var n,r,o;Object.defineProperty(t,"__esModule",{value:!0}),t.UserAgentHandlerMap=t.SupportedUserAgents=t.LanyardItemActions=t.EXPERIENCES=t.ArrowActions=void 0,function(e){e.LEFT="LEFT",e.RIGHT="RIGHT",e.UP="UP",e.DOWN="DOWN",e.BACK="BACK",e.OK="OK",e.UNKNOWN="UNKNOWN"}(n=t.ArrowActions||(t.ArrowActions={})),t.EXPERIENCES={BANNER:"ketch-consent-banner",MODAL:"ketch-purpose-modal",PREFERENCES:"ketch-preferences",CONSENT_GATE:"ketch-consent-gate"},(o=t.LanyardItemActions||(t.LanyardItemActions={})).back="back",o.close="close",o.confirm="confirm",o.expand="expand",o.switch="switch",function(e){e.TIZEN="TIZEN",e.MACINTOSH="MACINTOSH"}(r=t.SupportedUserAgents||(t.SupportedUserAgents={}));const i={37:n.LEFT,38:n.UP,39:n.RIGHT,40:n.DOWN,13:n.OK,10009:n.BACK},s={37:n.LEFT,38:n.UP,39:n.RIGHT,40:n.DOWN,13:n.OK,27:n.BACK};t.UserAgentHandlerMap={[r.TIZEN]:i,[r.MACINTOSH]:s}},7931(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5305);let o=(0,r.getLogLevel)((0,r.getParams)(window.location.search,["ketch_","swb_"]));t.default=(0,r.getLogger)("ketch",o)},3449(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=(0,n(5305).getParams)(window.location.search,["ketch_","swb_"]);t.default=r},2581(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635).__importDefault(n(7678)),o="function"==typeof globalThis.structuredClone?globalThis.structuredClone:null;o||(globalThis.structuredClone=r.default);const i=o||r.default;t.default=i},838(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gpcPlugin=void 0;const r=n(1635);n(2581);const o=n(835),i=n(5305),s=n(8509),l=r.__importDefault(n(7931)),a=n(7296),c="gpcsignal";t.gpcPlugin={fn:(e,t)=>r.__awaiter(void 0,void 0,void 0,function*(){var n;const r=(0,i.wrapLogger)(l.default,"gpcPlugin"),s=yield e.getFullConfig();let u=!1;if(!(null===(n=s.jurisdiction)||void 0===n?void 0:n.code)||!s.plugins||!s.plugins.gpc)return r.debug("missing jurisdiction or plugin configuration, skipping"),[t,u];const d=s.plugins.gpc;if(!d.jurisdictions||!d.purposeMappings||!d.jurisdictions.includes(s.jurisdiction.code))return r.debug("invalid plugin configuration, skipping"),[t,u];const p=structuredClone(t),h=(0,a.isGpcEnabled)(),f="true"===(0,o.getCookie)(window,c);return f!==h&&((0,o.setCookie)(window,c,h,2592e3),r.debug("setting gpc signal cookie",h)),h&&!f&&(r.debug("gpc signal is true and existingGpcSignal is false"),p.isGpcEnabled=!0,d.purposeMappings.forEach(e=>{"gpc"===e.pluginPurposeID&&e.purposes&&e.purposes.forEach(e=>{var t;(null===(t=null==s?void 0:s.purposes)||void 0===t?void 0:t.some(t=>t.code===e&&t.allowsOptOut))&&(p.purposes[e]=!1,u=!0)})})),r.debug("provisionalConsent",structuredClone(p)),[p,u]}),source:s.ConsentSource.GpcPlugins}},2186(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.onetrustPlugin=t.readOneTrustConsentCookie=void 0;const r=n(1635);n(2581);const o=n(8509),i=n(5305),s=r.__importDefault(n(9207)),l=r.__importDefault(n(7931)),a=n(7893);t.readOneTrustConsentCookie=()=>{const e=(0,i.wrapLogger)(l.default,"readOTConsentCookie");try{const t=document.cookie.split(";").filter(e=>e.trim().startsWith("OptanonConsent"));if(0===t.length)return e.debug("OptanonConsent cookie not found"),{};e.debug(`Found ${t.length} OptanonConsent cookie(s)`);const n=t.reduce((e,t)=>{const n=t.split("=").slice(1).join("="),r=new URLSearchParams(n),o=r.get("groups");return o&&e.push({cookie:t,cookieValue:n,params:r,domain:r.get("domain"),datestamp:r.get("datestamp"),groups:o}),e},[]);if(0===n.length)return e.debug("No OptanonConsent cookies found with groups parameter"),{};const r=window.location.hostname,o=e=>{if(!e)return null;const t=e.split(".");return t.length<2?e:t.slice(-2).join(".")},i=e=>!!e&&o(r)===o(e),s=t=>{if(!t)return null;try{const e=decodeURIComponent(t).replace(/\+/g," ");return new Date(e)}catch(n){return e.debug("Failed to parse datestamp:",t,n),null}},l=n.filter(e=>i(e.domain));let a;l.length>0?(e.debug(`Found ${l.length} domain-matching cookie(s)`),a=l.reduce((e,t)=>{const n=s(e.datestamp),r=s(t.datestamp);return n||r?n?r&&r>n?t:e:t:e})):(e.debug("No domain-matching cookies found, selecting most recent cookie"),a=n.reduce((e,t)=>{const n=s(e.datestamp),r=s(t.datestamp);return n||r?n?r&&r>n?t:e:t:e})),e.debug("Selected OptanonConsent cookie:",a.cookie),e.debug("Selected cookie domain:",a.domain),e.debug("Selected cookie datestamp:",a.datestamp);const c=a.groups;if(!c)return e.debug("groups parameter not found in selected OptanonConsent cookie"),{};e.debug("groups parameter found:",c);const u=decodeURIComponent(c),d={};return u.split(",").reduce((e,t)=>{const[n,r]=t.split(":");return n&&void 0!==r&&(e[n]="1"===r),e},d),d}catch(t){return e.error("Error parsing OptanonConsent cookie:",t),{}}};const c=(e,t,n,r,o=!1)=>{const s=(0,i.wrapLogger)(l.default,"applyOneTrustConsent"),a=Object.assign({},e);return r.forEach(r=>{const i=r.pluginPurposeID,l=r.purposes;s.debug("otConsentGroup",i),s.debug("ketchPurposeCodes",l),i&&i in t&&(null==l?void 0:l.length)&&l.forEach(r=>{var l;s.debug("processing purpose:",r);const c=null===(l=null==n?void 0:n.purposes)||void 0===l?void 0:l.find(e=>e.code===r);if(!c)return void s.debug("ketchPurpose not found in config",r);const u=e.purposes[r],d=t[i];c.allowsOptOut||!1!==d?void 0===u||o?(a.purposes[r]=d,s.debug("migrating consent for purpose",r,"setting to",d)):s.debug("skipping migration for purpose",r,"because it already has consent with value:",u):s.debug("ketchPurpose does not allow opt out and otConsentValue is false",r)})}),a};t.onetrustPlugin={fn:(e,n)=>r.__awaiter(void 0,void 0,void 0,function*(){var r,u;const d=(0,i.wrapLogger)(l.default,"onetrustPlugin"),p=yield e.getFullConfig(),h=structuredClone(n),f=null===(r=p.plugins)||void 0===r?void 0:r.onetrust;if(!f)return d.debug("onetrust plugin options not found, skipping"),[h,!1];const _=null==f?void 0:f.purposeMappings;if(!_)return d.debug("onetrust plugin purpose mappings not found, skipping"),[h,!1];const E={};_.forEach(e=>{var t;null===(t=e.purposes)||void 0===t||t.forEach(t=>{E[t]=e.pluginPurposeID})});const g=(0,t.readOneTrustConsentCookie)();d.debug("otConsent",g),d.debug("ketch consent",Object.assign(Object.assign({},n),{purposes:Object.assign({},n.purposes)}));const m=c(n,g,p,_);return window.OptanonWrapper=()=>{var r;null===(r=window.OneTrust)||void 0===r||r.OnConsentChanged(()=>{d.debug("OneTrust.OnConsentChanged triggered");const r=(0,t.readOneTrustConsentCookie)();d.debug("newOtConsent",r),d.debug("ketch consent",Object.assign(Object.assign({},n),{purposes:Object.assign({},n.purposes)}));const i=c(n,r,p,_,!0);d.debug("After OT consent event - provisionalConsent.purposes keys:",i.purposes),e.setConsent(i,o.ConsentSource.OneTrustMigrator,!1)})},(null===(u=null==p?void 0:p.purposes)||void 0===u?void 0:u.every(e=>(null==e?void 0:e.code)&&void 0!==E[e.code]&&void 0!==g[E[e.code]]))?(d.debug("all purposes set by OT, updating profile.consent.needsConsent"),yield e.setProfile(a.ProfileSection.CONSENT_NEEDS_CONSENT,!1),e.needsConsent=!1,yield e.overrideNeedsConsentMap(o.RuleTrigger.ON_LOAD,!1)):d.debug("not all purposes set by OT, not updating profile.consent.needsConsent"),[m,!(0,s.default)(h,m)]}),source:o.ConsentSource.OneTrustMigrator}},79(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sourcepointPlugin=t.readSourcepointConsentCookie=void 0;const r=n(1635);n(2581);const o=n(8509),i=n(5305),s=r.__importDefault(n(9207)),l=n(835),a=n(9877),c=r.__importDefault(n(7931)),u=n(7893);t.readSourcepointConsentCookie=(e,t)=>{const n=(0,i.wrapLogger)(c.default,"readSourcepointConsentCookie"),r=["tcfeuv2","tcfcav1","usca","usco","usct","usnat","usut","usva"],o={sale:"SaleOptOut",sharing:"SharingOptOut",personal:"PersonalDataConsents",targeted_advertising:"TargetedAdvertisingOptOut"},s={usca:{sensitiveDataProcessing:{sensitive_identification:0,sensitive_financial:1,sensitive_geolocation:2,sensitive_ethnicity:3,sensitive_communication:4,sensitive_genetic:5,sensitive_biometric:6,sensitive_health:7,sensitive_sex:8},knownChildSensitiveDataConsents:{child_data_sale:0,child_data_share:1}},usco:{sensitiveDataProcessing:{sensitive_ethnicity:0,sensitive_religion:1,sensitive_health:2,sensitive_sex:3,sensitive_immigration:4,sensitive_genetic:5,sensitive_biometric:6},knownChildSensitiveDataConsents:{child_data_process:0}},usct:{sensitiveDataProcessing:{sensitive_ethnicity:0,sensitive_religion:1,sensitive_health:2,sensitive_sex:3,sensitive_immigration:4,sensitive_genetic:5,sensitive_biometric:6,sensitive_geolocation:7},knownChildSensitiveDataConsents:{child_data_process:0,child_data_sale:1,child_targeted_advertising:2}},usnat:{sensitiveDataProcessing:{sensitive_ethnicity:0,sensitive_religion:1,sensitive_health:2,sensitive_sex:3,sensitive_immigration:4,sensitive_genetic:5,sensitive_biometric:6,sensitive_geolocation:7,sensitive_identification:8,sensitive_financial:9,sensitive_union:10,sensitive_communication:11},knownChildSensitiveDataConsents:{child_data_process_age_1316:0,child_data_process_age_under_13:1}},usut:{sensitiveDataProcessing:{sensitive_ethnicity:0,sensitive_religion:1,sensitive_sex:2,sensitive_immigration:3,sensitive_health:4,sensitive_genetic:5,sensitive_biometric:6,sensitive_geolocation:7},knownChildSensitiveDataConsents:{child_data_process:0}},usva:{sensitiveDataProcessing:{sensitive_ethnicity:0,sensitive_religion:1,sensitive_health:2,sensitive_sex:3,sensitive_immigration:4,sensitive_genetic:5,sensitive_biometric:6,sensitive_geolocation:7},knownChildSensitiveDataConsents:{child_data_process:0}}};let l={};if(e){const i=new a.CmpApi(340,1);let c;i.setGppString(e);try{c=i.getObject()}catch(e){return n.debug("Failed to parse GPP object:",e),l}n.debug("Decoded GPP object:",c);const u=Object.keys(c).find(e=>r.includes(e));u&&(l="tcfeuv2"===u||"tcfcav1"===u?((e,r)=>{var o;n.debug(`parsing ${r} gpp string for sourcepoint consent`);const i={},s=null===(o=t.plugins)||void 0===o?void 0:o[r];if(s&&(null==s?void 0:s.purposeMappings)){const t=null==s?void 0:s.purposeMappings,o=new Map;t.forEach(e=>{e.purposes&&e.pluginPurposeID&&o.set(e.pluginPurposeID.split("_")[1],e.purposes)}),n.debug(`${r} gppPurposeToKetchPurposeCode:`,o);let l=[];l="tcfcav1"===r?e.getFieldValue(r,"PurposesExpressConsent"):e.getFieldValue(r,"PurposeConsents"),n.debug(`GPP ${r} purposeConsents:`,l),o.forEach((e,t)=>{const n=l[Number(t)-1];e.forEach(e=>{void 0!==i[e]?i[e]=i[e]||n:i[e]=n})})}return i})(i,u):((e,r)=>{var i;n.debug(`parsing ${r} gpp string for sourcepoint consent`);const l={},a=null===(i=t.plugins)||void 0===i?void 0:i[r];if(a&&(null==a?void 0:a.purposeMappings)){const t=null==a?void 0:a.purposeMappings,i=new Map;t.forEach(e=>{e.purposes&&e.pluginPurposeID&&i.set(e.pluginPurposeID,e.purposes)}),n.debug(`${r} gppPurposeToKetchPurposeCode:`,i),i.forEach((t,n)=>{if("sale"===n||"sharing"===n||"personal"===n||"targeted_advertising"===n){const i=o[n];if(i){const n=e.getFieldValue(r,i);if("number"==typeof n&&n>0){const e=1!==n;t.forEach(t=>{void 0!==l[t]?l[t]=l[t]||e:l[t]=e})}}}else if(n.startsWith("sensitive_")){const o=s[r].sensitiveDataProcessing[n];if(void 0!==o){const n=e.getFieldValue(r,"SensitiveDataProcessing");if(Array.isArray(n)&&n.every(e=>"number"==typeof e)){const e=n;if(e[o]>0){const n=1!==e[o];t.forEach(e=>{void 0!==l[e]?l[e]=l[e]||n:l[e]=n})}}}}else if(n.startsWith("child_")){const o=s[r].knownChildSensitiveDataConsents[n];if(void 0!==o){const n=e.getFieldValue(r,"KnownChildSensitiveDataConsents");if(Array.isArray(n)&&n.every(e=>"number"==typeof e)){const e=n;if(e[o]>0){const n=1!==e[o];t.forEach(e=>{void 0!==l[e]?l[e]=l[e]||n:l[e]=n})}}else if("number"==typeof n&&n>0){const e=1!==n;t.forEach(t=>{void 0!==l[t]?l[t]=l[t]||e:l[t]=e})}}}})}return l})(i,u))}return l};const d=(e,t,n,r=!1)=>{const o=(0,i.wrapLogger)(c.default,"applySourcepointConsent"),s=Object.assign({},e);return Object.keys(t).forEach(i=>{var l;const a=null===(l=null==n?void 0:n.purposes)||void 0===l?void 0:l.find(e=>e.code===i);if(!a)return void o.debug("ketchPurpose not found in config",i);const c=t[i];if(!a.allowsOptOut&&!1===c)return void o.debug("ketchPurpose does not allow opt out and spConsentValue is false",i);const u=e.purposes[i];void 0===u||r?(s.purposes[i]=t[i],o.debug("migrating consent for purpose",i,"setting to",t[i])):o.debug("skipping migration for purpose",i,"because it already has consent with value:",u)}),s};t.sourcepointPlugin={fn:(e,n)=>r.__awaiter(void 0,void 0,void 0,function*(){var r,a,p;const h=(0,i.wrapLogger)(c.default,"sourcepointPlugin"),f=yield e.getFullConfig(),_=structuredClone(n),E=null===(r=f.plugins)||void 0===r?void 0:r.sourcepoint;if(!E)return h.debug("sourcepoint plugin options not found, skipping"),[_,!1];const g=null===(a=null==E?void 0:E.config)||void 0===a?void 0:a.sourcepointCookieName;if(!g)return h.debug("sourcepoint plugin cookie name options not found, skipping"),[_,!1];const m=g,b=(0,l.getCookie)(window,m);h.debug("sourcepoint cookie string:",b);let T="";if(b){let e;try{e=JSON.parse(b)}catch(e){return h.debug("Failed to parse sourcepoint cookie string:",e),[_,!1]}T=(null==e?void 0:e.gpp)||"",h.debug(`sourcepoint cookie ${m} value: ${T}`)}else h.debug("sourcepoint cookie string not found, skipping");const v=(0,t.readSourcepointConsentCookie)(T,f);h.debug("sourcepoint consent:",v),h.debug("ketch consent:",Object.assign(Object.assign({},n),{purposes:Object.assign({},n.purposes)}));const S=d(n,v,f);return h.debug("updated consent:",S),window.__gpp&&window.__gpp("addEventListener",(r,i)=>{if(h.debug("GPP event received:",r),!i)return void h.warn("GPP listener failed or unsupported");const s=(0,l.getCookie)(window,m);if(!s)return void h.debug("new sourcepoint cookie not found, skipping");let a;try{a=JSON.parse(s)}catch(e){return void h.debug("Failed to parse new sourcepoint cookie string:",e)}const c=(null==a?void 0:a.gpp)||"";if(h.debug(`new sourcepoint cookie ${m} value: ${c}`),c&&c!==T){const r=(0,t.readSourcepointConsentCookie)(c,f);h.debug("newSpConsent:",r),h.debug("ketch consent:",Object.assign(Object.assign({},n),{purposes:Object.assign({},n.purposes)}));const i=d(n,r,f,!0);h.debug("After Sourcepoint consent event - provisionalConsent.purposes keys:",i.purposes),e.setConsent(i,o.ConsentSource.SourcepointMigrator,!1)}else h.debug("sourcepoint cookie has not changed, skipping")}),(null===(p=null==f?void 0:f.purposes)||void 0===p?void 0:p.every(e=>(null==e?void 0:e.code)&&void 0!==v[e.code]))?(h.debug("all purposes set by sourcepoint, updating profile.consent.needsConsent"),yield e.setProfile(u.ProfileSection.CONSENT_NEEDS_CONSENT,!1),e.needsConsent=!1):h.debug("not all purposes set by sourcepoint, not updating profile.consent.needsConsent"),[S,!(0,s.default)(_,S)]}),source:o.ConsentSource.SourcepointMigrator}},7296(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isGpcEnabled=t.santizePaths=t.getDomNode=t.decodeDataNav=t.safeJsonParse=void 0;const r=n(1635),o=n(5305),i=r.__importDefault(n(7931)),s=n(4835);function l(e){const t=(0,o.wrapLogger)(i.default,"safeJsonParse");if(!e||""===e.trim())return{};try{return JSON.parse(e)}catch(n){return t.error(`Could not parse JSON for ${e} - ${n}`),null}}t.safeJsonParse=l,t.decodeDataNav=function(e){const t=(0,o.wrapLogger)(i.default,"decodeDataNav");let n="";try{n=window.atob(e)}catch(n){return t.debug(`Invalid encoding: ${e}`,n),null}const r=l(n);return"[object Object]"!==Object.prototype.toString.call(r)?null:(r.src=e,r)},t.getDomNode=function(e){const t=(0,o.wrapLogger)(i.default,"convertToKetchHTMLElement");if(!e||!e.src)return t.debug("node missing src",e),null;const n=`[data-nav="${e.src}"]`,r=(0,s.getLanyardRoot)();return r?r.querySelector(n):(t.debug("missing lanyard root"),null)},t.santizePaths=function(e){const t=(0,o.wrapLogger)(i.default,"santizePaths"),n=e.replace(/[^a-zA-Z0-9_-]/g,"");return n!==e&&t.debug(`path element "${e}" sanitized to "${n}"`),n},t.isGpcEnabled=function(){var e;return!0===(null===(e=null===window||void 0===window?void 0:window.navigator)||void 0===e?void 0:e.globalPrivacyControl)}},4999(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KetchWebAPI=void 0;const r=n(1635),o=n(5305),i=r.__importDefault(n(7931));class s{constructor(e,t){this._baseUrl=e,this._fetch=t||globalThis.fetch.bind(window)}getLocation(){return r.__awaiter(this,void 0,void 0,function*(){return yield this.get("/ip")})}getBootstrapConfiguration(e){return r.__awaiter(this,void 0,void 0,function*(){return yield this.get(`/config/${e.organizationCode}/${e.propertyCode}/boot.json`)})}getFullConfiguration(e){return r.__awaiter(this,void 0,void 0,function*(){let t="";return this._baseUrl.includes("web/v3")?(e.environmentCode&&e.jurisdictionCode&&e.languageCode&&(t=`/${e.environmentCode}/${e.jurisdictionCode}/${e.languageCode}`),yield this.get(`/config/${e.organizationCode}/${e.propertyCode}${t}/config.json${e.hash?`?hash=${e.hash}`:""}`)):(e.environmentCode&&e.hash&&e.jurisdictionCode&&e.languageCode&&(t=`/${e.environmentCode}/${e.hash}/${e.jurisdictionCode}/${e.languageCode}`),yield this.get(`/config/${e.organizationCode}/${e.propertyCode}${t}/config.json`))})}getSubscriptionsConfiguration(e){return r.__awaiter(this,void 0,void 0,function*(){const{organizationCode:t,propertyCode:n,languageCode:r,experienceCode:o}=e;return yield this.get(`/config/${t}/${n}/${r}/${o}/subscriptions.json`)})}getConsent(e){return r.__awaiter(this,void 0,void 0,function*(){(0,o.wrapLogger)(i.default,"webApi - getConsent").debug("started");try{const t=yield this.post(`/consent/${e.organizationCode}/get`,e);return t&&t.purposes&&Object.keys(t.purposes).length?t:e}catch(t){return e}})}getProtocols(e){return r.__awaiter(this,void 0,void 0,function*(){(0,o.wrapLogger)(i.default,"webApi - getProtocols").debug("started");try{const t=yield this.post(`/consent/${e.organizationCode}/get`,e);return t&&t.protocols&&Object.keys(t.protocols).length?Object.assign(Object.assign({},e),{protocols:t.protocols}):e}catch(t){return e}})}setConsent(e){return r.__awaiter(this,void 0,void 0,function*(){try{const t=yield this.post(`/consent/${e.organizationCode}/update`,e);return t&&t.purposes&&Object.keys(t.purposes).length?t:e}catch(t){return e}})}getSubscriptions(e){return r.__awaiter(this,void 0,void 0,function*(){return yield this.post(`/subscriptions/${e.organizationCode}/get`,e)})}setSubscriptions(e){return r.__awaiter(this,void 0,void 0,function*(){yield this.post(`/subscriptions/${e.organizationCode}/update`,e)})}getProfile(e){return r.__awaiter(this,void 0,void 0,function*(){return yield this.post(`/profile/${e.organizationCode}/get`,e)})}putProfile(e){return r.__awaiter(this,void 0,void 0,function*(){yield this.post(`/profile/${e.organizationCode}/put`,e)})}invokeRight(e){return r.__awaiter(this,void 0,void 0,function*(){return this.post(`/rights/${e.organizationCode}/invoke`,e)})}preferenceQR(e){return r.__awaiter(this,void 0,void 0,function*(){const t=new URL(`${this._baseUrl}/qr/${e.organizationCode}/${e.propertyCode}/preferences.png`);return e.environmentCode&&t.searchParams.set("env",e.environmentCode),e.imageSize&&t.searchParams.set("size",e.imageSize.toString()),e.path&&t.searchParams.set("path",e.path),e.backgroundColor&&t.searchParams.set("bgcolor",e.backgroundColor),e.foregroundColor&&t.searchParams.set("fgcolor",e.foregroundColor),Object.keys(e.parameters).forEach(n=>{t.searchParams.set(n,e.parameters[n])}),t.toString()})}webReport(e,t){return r.__awaiter(this,void 0,void 0,function*(){yield this.post(`/report/${e}`,t)})}get(e){return r.__awaiter(this,void 0,void 0,function*(){return this._fetch(this._baseUrl+e,s.fetchOptions("GET")).then(e=>e.json())})}post(e,t){return r.__awaiter(this,void 0,void 0,function*(){const n=yield this._fetch(this._baseUrl+e,s.fetchOptions("POST",t));if(!n.ok)throw new Error(yield n.text());return n.json()})}static fetchOptions(e,t){const n={method:e,mode:"cors",credentials:"omit"},r="application/json";return t?(n.body=JSON.stringify(t),n.headers={Accept:r,"Content-Type":r}):n.headers={Accept:r},n}}t.KetchWebAPI=s},3165(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.map(e=>{try{return window.atob(decodeURIComponent(e))}catch(t){return e}})}},5962(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encoding=void 0;const r=n(1635).__importDefault(n(3165));t.encoding=r.default},4080(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=n(4615),i=r.__importDefault(n(7029));t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){if(!e||0===t.length)return[];const n=(0,o.getCookie)(e,t);return n&&"0"!==n?[n]:(0,i.default)(e,`ketch_${t}`)})}},7111(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setCookie=t.getCookie=t.fetcher=void 0;const r=n(1635).__importDefault(n(4080));t.fetcher=r.default;const o=n(4615);Object.defineProperty(t,"getCookie",{enumerable:!0,get:function(){return o.getCookie}}),Object.defineProperty(t,"setCookie",{enumerable:!0,get:function(){return o.setCookie}})},4615(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setCookie=t.getCookie=void 0;const r=n(835);Object.defineProperty(t,"getCookie",{enumerable:!0,get:function(){return r.getCookie}}),t.setCookie=function(e,t,n,o){(0,r.setCookie)(e,t,n,o?86400*o:o)}},725(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635);t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){if(!e||!e.dataLayer||0===t.length)return[];let n=[];for(const r of e.dataLayer)if(Object.prototype.hasOwnProperty.call(r,t)){const e=r[t];e&&"0"!==e&&(n=n.concat(e))}return n})}},2302(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetcher=void 0;const r=n(1635).__importDefault(n(725));t.fetcher=r.default},9220(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.semicolonStructure=t.queryStructure=t.jwtStructure=t.jsonStructure=t.stringStructure=t.managedFetcher=t.queryStringFetcher=t.sessionStorageFetcher=t.localStorageFetcher=t.windowFetcher=t.dataLayerFetcher=t.setCookie=t.getCookie=t.cookieFetcher=void 0;const r=n(1635),o=n(7111);Object.defineProperty(t,"cookieFetcher",{enumerable:!0,get:function(){return o.fetcher}}),Object.defineProperty(t,"getCookie",{enumerable:!0,get:function(){return o.getCookie}}),Object.defineProperty(t,"setCookie",{enumerable:!0,get:function(){return o.setCookie}});const i=n(2302);Object.defineProperty(t,"dataLayerFetcher",{enumerable:!0,get:function(){return i.fetcher}});const s=n(3841);Object.defineProperty(t,"windowFetcher",{enumerable:!0,get:function(){return s.fetcher}});const l=n(3861);Object.defineProperty(t,"localStorageFetcher",{enumerable:!0,get:function(){return l.fetcher}});const a=n(6944);Object.defineProperty(t,"sessionStorageFetcher",{enumerable:!0,get:function(){return a.fetcher}});const c=n(4334);Object.defineProperty(t,"queryStringFetcher",{enumerable:!0,get:function(){return c.fetcher}});const u=n(9694);Object.defineProperty(t,"managedFetcher",{enumerable:!0,get:function(){return u.fetcher}});const d=n(164);Object.defineProperty(t,"stringStructure",{enumerable:!0,get:function(){return d.structure}});const p=n(659);Object.defineProperty(t,"jsonStructure",{enumerable:!0,get:function(){return p.structure}});const h=n(7510);Object.defineProperty(t,"jwtStructure",{enumerable:!0,get:function(){return h.structure}});const f=n(4334);Object.defineProperty(t,"queryStructure",{enumerable:!0,get:function(){return f.structure}});const _=n(4774);Object.defineProperty(t,"semicolonStructure",{enumerable:!0,get:function(){return _.structure}});const E=r.__importDefault(n(1031));t.default=E.default},659(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.structure=void 0;const r=n(1635).__importDefault(n(5062));t.structure=r.default},5062(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("object"==typeof e&&!Array.isArray(e)&&null!==e)return e;const t=JSON.parse(e);return"object"!=typeof t||Array.isArray(t)||null===t?{value:t}:t}},7510(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.structure=void 0;const r=n(1635).__importDefault(n(2971));t.structure=r.default},2971(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const n=e;if(t&&t.length>0)return n;const r=n.split(".")[1],o=atob(r);return JSON.parse(o)}},206(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6590);t.default=(0,r.fetcher)("localStorage")},3861(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetcher=void 0;const r=n(1635).__importDefault(n(206));t.fetcher=r.default},9573(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=n(835),i=n(2831);t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){if(!e||0===t.length)return[];t="_swb";let n=(0,o.getCookie)(e,t);return n?[n]:((0,o.setCookie)(e,t,(0,i.v4)(),63072e3),n=(0,o.getCookie)(e,t),n?[n]:[])})}},9694(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetcher=void 0;const r=n(1635).__importDefault(n(9573));t.fetcher=r.default},9528(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},2193(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encoding=void 0;const r=n(1635).__importDefault(n(9528));t.encoding=r.default},7029(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635);t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){if(!e||!e.location||0===e.location.search.length||0===t.length)return[];const n=e.location.search.replace(/\+/g,"%2B");return new URLSearchParams(n).getAll(t).filter(e=>"0"!==e)})}},4334(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.structure=t.fetcher=void 0;const r=n(1635),o=r.__importDefault(n(7029));t.fetcher=o.default;const i=r.__importDefault(n(3091));t.structure=i.default},3091(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t={},n=String(e).replace(/\+/g,"%2B");for(const[e,r]of new URLSearchParams(n).entries())t[e]=r;return t}},4774(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.structure=void 0;const r=n(1635).__importDefault(n(955));t.structure=r.default},955(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=e.split(";").map(e=>e.trim().split("=")),n={};for(const[e,r]of t)n[decodeURIComponent(e)]=decodeURIComponent(r);return n}},5063(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6590);t.default=(0,r.fetcher)("sessionStorage")},6944(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetcher=void 0;const r=n(1635).__importDefault(n(5063));t.fetcher=r.default},1669(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635);t.default=function(e){return function(t,n){return r.__awaiter(this,void 0,void 0,function*(){if(!t||0===n.length)return[];try{const r=("localStorage"===e?t.localStorage:t.sessionStorage).getItem(n);return r&&"0"!==r?[r]:[]}catch(e){return[]}})}}},6590(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetcher=void 0;const r=n(1635).__importDefault(n(1669));t.fetcher=r.default},164(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.structure=void 0;const r=n(1635).__importDefault(n(8805));t.structure=r.default},8805(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{value:e}}},1031(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635),o=n(7007),i=n(8509),s=n(7111),l=n(2302),a=n(3841),c=n(3861),u=n(6944),d=n(4334),p=n(9694),h=n(164),f=n(659),_=n(7510),E=n(4334),g=n(4774),m=n(5962),b=n(2193),T=r.__importDefault(n(9207)),v=(0,n(5305).getLogger)("trait");t.default=class{constructor(e,t={}){this._emitter=new o.EventEmitter,this._w=e,this._listenerOptions=t,this._fetchers=new Map,this._attributes={}}add(e,t){let n,r;if("function"==typeof t)return void this._fetchers.set(e,()=>t());const o=t.format===i.TraitFormat.TRAIT_FORMAT_JWT&&t.verifierID&&t.verifierID.length>0;switch(t.format){case i.TraitFormat.TRAIT_FORMAT_JSON:n=f.structure;break;case i.TraitFormat.TRAIT_FORMAT_JWT:n=o?e=>(0,_.structure)(e,t.verifierID):_.structure;break;case i.TraitFormat.TRAIT_FORMAT_QUERY:n=E.structure;break;case i.TraitFormat.TRAIT_FORMAT_SEMICOLON:n=g.structure;break;default:n=h.structure}const T=t.key||"value";r=t.encoding===i.TraitEncoding.TRAIT_ENCODING_BASE64?m.encoding:b.encoding;const v=(e,t)=>"string"==typeof e?e:String(((e,t)=>t.split(".").reduce((e,t)=>e&&"object"==typeof e&&t in e?e[t]:void 0,e))(e,t));switch(t.type){case i.TraitType.TRAIT_TYPE_COOKIE:this._fetchers.set(e,e=>(0,s.fetcher)(e,t.variable).then(e=>r(e).map(n).map(e=>v(e,T))));break;case i.TraitType.TRAIT_TYPE_DATA_LAYER:this._fetchers.set(e,e=>(0,l.fetcher)(e,t.variable).then(e=>r(e).map(n).map(e=>v(e,T))));break;case i.TraitType.TRAIT_TYPE_WINDOW:this._fetchers.set(e,e=>(0,a.fetcher)(e,t.variable).then(e=>r(e).map(n).map(e=>v(e,T))));break;case i.TraitType.TRAIT_TYPE_LOCAL_STORAGE:this._fetchers.set(e,e=>(0,c.fetcher)(e,t.variable).then(e=>r(e).map(n).map(e=>v(e,T))));break;case i.TraitType.TRAIT_TYPE_SESSION_STORAGE:this._fetchers.set(e,e=>(0,u.fetcher)(e,t.variable).then(e=>r(e).map(n).map(e=>v(e,T))));break;case i.TraitType.TRAIT_TYPE_QUERY_STRING:this._fetchers.set(e,e=>(0,d.fetcher)(e,t.variable).then(e=>r(e).map(n).map(e=>v(e,T))));break;case i.TraitType.TRAIT_TYPE_MANAGED:this._fetchers.set(e,e=>(0,p.fetcher)(e,t.variable).then(e=>r(e).map(n).map(e=>v(e,T))));break;default:throw new Error(`unsupported trait type ${t.type} for ${e}`)}}start(e,t){return r.__awaiter(this,void 0,void 0,function*(){if(!this._intervalId)return this._listenerOptions.interval&&(this._intervalId=this._w.setInterval(this.notify.bind(this),this._listenerOptions.interval),this._listenerOptions.timeout&&this._w.setTimeout(this.stop.bind(this),this._listenerOptions.timeout)),this.notify(e,t)})}stop(){this._intervalId&&(this._w.clearInterval(this._intervalId),this._intervalId=void 0)}notify(e,t){return r.__awaiter(this,void 0,void 0,function*(){const n={};for(const[e,t]of this._fetchers.entries())try{const r=yield t(this._w);for(const t of r)n[e]=t}catch(t){v.warn(`failed to fetch trait for ${e}: ${t}`)}if(!(0,T.default)(n,this._attributes)||t&&0===Object.keys(this._attributes).length){const t=e||i.TraitName.IDENTITY;this._emitter.emit(t,n),this._attributes=n}})}addListener(e,t){return this.on(e,t)}on(e,t){return this._emitter.on(e,t),this}once(e,t){return this._emitter.once(e,t),this}removeListener(e,t){return this.off(e,t)}off(e,t){return this._emitter.off(e,t),this}removeAllListeners(e){return this._emitter.removeAllListeners(e),this}}},2706(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1635);t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){if(!e||0===t.length)return[];try{const n=function(e,t){const n=t.split(".");let r=e,o=null;for(;n.length>0;)if("window"===n[0])n.shift();else if("object"==typeof r)"()"===n[0].slice(-2)?(o=r,r=r[n[0].slice(0,-2)]):(o=r,r=r[n.shift()]);else{if("function"!=typeof r)return null;{const e=r.call(o);o=r,r=e,n.shift()}}return r&&"string"!=typeof r&&(r=r.toString(),r.startsWith("[object"))?"":r}(e,t);return n&&"0"!==n?[n]:[]}catch(e){return[]}})}},3841(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetcher=void 0;const r=n(1635).__importDefault(n(2706));t.fetcher=r.default},5305(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getLogLevel=t.getLogger=t.wrapLogger=t.getParams=t.DEFAULT_LOG_LEVEL=void 0;const o=r(n(9343));t.DEFAULT_LOG_LEVEL="warn";const i={trace:1,debug:2,info:3,warn:4,error:5,log:6},s=()=>{};function l(e=window.location.search,t=["ketch_","swb_"]){return new o.default(e,t)}function a(e,t){const n=`[${t}]`;return{trace:(...t)=>{e.trace(n,...t)},debug:(...t)=>{e.debug(n,...t)},info:(...t)=>{e.info(n,...t)},log:(...t)=>{e.log(n,...t)},warn:(...t)=>{e.warn(n,...t)},error:(...t)=>{e.error(n,...t)}}}function c(e=l()){const n=e.get("log");if(n&&n.length){const e=n.toLowerCase();if(e&&i[e])return e}else if(e.has("debug"))return"debug";return t.DEFAULT_LOG_LEVEL}t.getParams=l,t.wrapLogger=a,t.getLogger=function(e,t=c(l())){const n={log:globalThis.console.log,error:globalThis.console.error};t=t.toString().toLowerCase();for(const e of Object.keys(i))n[e]="log"===e||i[e]>=i[t]?"error"===e?n.error:n.log:s;return a(n,e)},t.getLogLevel=c},9343(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends URLSearchParams{constructor(e,t){super(e),this._prefixes=t}delete(e){for(const t of this._prefixes)super.delete(`${t}${e}`)}get(e){for(const t of this._prefixes){const n=super.get(`${t}${e}`);if(n)return n}return null}getAll(e){for(const t of this._prefixes)if(super.has(`${t}${e}`))return super.getAll(`${t}${e}`);return[]}has(e){for(const t of this._prefixes)if(super.has(`${t}${e}`))return!0;return!1}}t.default=n},7586(e,t){"use strict";var n,r,o,i,s,l,a;Object.defineProperty(t,"__esModule",{value:!0}),t.RelationalOperator=t.Operator=t.ConditionType=t.FormFieldVariant=t.FormFieldType=t.FormFieldCategory=t.FormFieldWidth=void 0,(a=t.FormFieldWidth||(t.FormFieldWidth={})).UNSPECIFIED="unspecified",a.HALF="half",a.FULL="full",(l=t.FormFieldCategory||(t.FormFieldCategory={})).UNSPECIFIED="unspecified",l.DEFAULT="default",l.CUSTOM="custom",(s=t.FormFieldType||(t.FormFieldType={})).UNSPECIFIED="unspecified",s.TEXT="text",s.DROPDOWN="dropdown",s.CHECKBOX="checkbox",s.FILE="file",s.RADIO="radio",s.DATE="date",(i=t.FormFieldVariant||(t.FormFieldVariant={})).UNSPECIFIED="unspecified",i.INPUT="input",i.TEXTAREA="textarea",(o=t.ConditionType||(t.ConditionType={})).CONDITION_TYPE_UNSPECIFIED="CONDITION_TYPE_UNSPECIFIED",o.CONDITION_TYPE_FORM_FIELD="CONDITION_TYPE_FORM_FIELD",o.CONDITION_TYPE_DATA_SUBJECT="CONDITION_TYPE_DATA_SUBJECT",o.UNRECOGNIZED="UNRECOGNIZED",(r=t.Operator||(t.Operator={})).OPERATOR_UNSPECIFIED="OPERATOR_UNSPECIFIED",r.OPERATOR_EQUALS="OPERATOR_EQUALS",r.OPERATOR_NOT_EQUALS="OPERATOR_NOT_EQUALS",r.OPERATOR_GREATER_THAN="OPERATOR_GREATER_THAN",r.OPERATOR_LESS_THAN="OPERATOR_LESS_THAN",r.OPERATOR_GREATER_THAN_OR_EQUALS="OPERATOR_GREATER_THAN_OR_EQUALS",r.OPERATOR_LESS_THAN_OR_EQUALS="OPERATOR_LESS_THAN_OR_EQUALS",r.OPERATOR_CONTAINS="OPERATOR_CONTAINS",r.OPERATOR_NOT_CONTAINS="OPERATOR_NOT_CONTAINS",r.OPERATOR_IN="OPERATOR_IN",r.OPERATOR_NOT_IN="OPERATOR_NOT_IN",r.OPERATOR_EMPTY="OPERATOR_EMPTY",r.OPERATOR_NOT_EMPTY="OPERATOR_NOT_EMPTY",r.UNRECOGNIZED="UNRECOGNIZED",(n=t.RelationalOperator||(t.RelationalOperator={})).RELATIONAL_OPERATOR_UNSPECIFIED="RELATIONAL_OPERATOR_UNSPECIFIED",n.RELATIONAL_OPERATOR_AND="RELATIONAL_OPERATOR_AND",n.RELATIONAL_OPERATOR_OR="RELATIONAL_OPERATOR_OR",n.UNRECOGNIZED="UNRECOGNIZED"},8509(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ExitButtonPosition=t.ModalContainerPosition=t.BannerContainerPosition=t.BannerContainerSize=t.BannerContainerLayout=t.ListLayout=t.ItemStyle=t.BannerModalLogoPosition=t.ButtonVariant=t.SubscriptionStatus=t.RightSource=t.SubscriptionSource=t.ConsentSource=t.SubscriptionExperienceItemType=t.TraitName=t.DeploymentMode=t.DeploymentVersion=t.PurposeEntityType=t.PropertyPurposeMode=t.VendorStatus=t.LegalBasis=t.StorageOriginPolicy=t.ExperienceActionKind=t.ModalPosition=t.BannerPosition=t.SubscriptionControlPositionType=t.SubscriptionControlImpactType=t.SwitchTextRenderLogic=t.TraitEncoding=t.TraitFormat=t.TraitType=t.IdentityEncoding=t.IdentityFormat=t.IdentityType=t.CookieCategory=t.CookieProvenance=t.CookieDuration=t.MigrationOption=t.ExperiencePrimaryButtonAction=t.ExperienceButtonDestination=t.ExperienceDefault=t.SetConsentReason=t.ExperienceClosedReason=t.ConsentExperienceType=t.ExperienceDisplayType=t.DisplayConsentExperienceType=t.DisplayExperienceType=t.ExperienceType=t.isTab=t.Tab=void 0,t.FormFieldVariant=t.FormFieldType=t.FormFieldCategory=t.FormFieldWidth=t.PreviewMessageType=t.BannerAutoDismissOverride=t.BannerDismissAnimation=t.RuleTrigger=t.ActionFunction=t.ConditionOperator=t.OperatorType=t.DeploymentExperienceType=t.ExperienceLoadingMethod=t.ConsentGateButtonAction=t.ConsentGateRequirementsNotMatchedState=t.ProgressiveExperienceButtonAction=t.ProgressiveExperiencePosition=t.ProgressiveExperienceConsentLayout=t.ProgressiveExperienceType=t.PurposeOrStackType=t.ExperiencePurposeMode=t.RightsFormMode=t.CanonicalRightCode=t.SubscriptionItemType=t.UnsubscribeAllImpact=t.PreferenceCenterPage=t.QuickLinkAction=t.BannerButtonAction=t.PurposeStacksMode=t.ExperienceLinkType=t.SwitchButtonDisplay=t.FormFieldStyle=t.UnsubscribeFromAllPosition=t.SubscriptionChannelArrangementStyle=t.SubscriptionListStyle=void 0,function(e){e.Overview="overviewTab",e.Rights="rightsTab",e.Consents="consentsTab",e.Subscriptions="subscriptionsTab",e.Profile="profileTab"}(r=t.Tab||(t.Tab={}));const o=Object.values(r).map(e=>e.toString());var i,s,l,a,c,u,d,p,h,f,_,E,g,m,b,T,v,S,y,C,O,N,k,P,R,I,A,x,w,L,B,D,M,U,F,j,V,G,H,K,q,W,Y,z,X,Q,$,J,Z,ee,te,ne,re,oe,ie,se,le,ae,ce,ue,de,pe,he,fe,_e,Ee,ge,me,be,Te,ve,Se,ye,Ce,Oe,Ne;t.isTab=function(e){return o.includes(e)},(Ne=t.ExperienceType||(t.ExperienceType={})).Consent="experiences.consent",Ne.Preference="experiences.preference",Ne.ConsentGate="experiences.consentGate",Ne.Progressive="experiences.progressive",(Oe=t.DisplayExperienceType||(t.DisplayExperienceType={})).Banner="banner",Oe.Modal="modal",Oe.Preference="preference",Oe.ConsentGate="consentGate",(Ce=t.DisplayConsentExperienceType||(t.DisplayConsentExperienceType={})).Banner="banner",Ce.Modal="modal",(ye=t.ExperienceDisplayType||(t.ExperienceDisplayType={})).Banner="experiencedisplays.banner",ye.Modal="experiencedisplays.modal",ye.Preference="experiencedisplays.preference",ye.ConsentGate="experiencedisplays.consentGate",ye.AgeGate="experiencedisplays.ageGate",ye.LeadCapture="experiencedisplays.leadCapture",(Se=t.ConsentExperienceType||(t.ConsentExperienceType={})).Banner="experiences.consent.banner",Se.Modal="experiences.consent.modal",Se.JIT="experiences.consent.jit",(ve=t.ExperienceClosedReason||(t.ExperienceClosedReason={})).SET_CONSENT="setConsent",ve.INVOKE_RIGHT="invokeRight",ve.CLOSE="close",ve.CLOSE_WITHOUT_SETTING_CONSENT="closeWithoutSettingConsent",ve.WILL_NOT_SHOW="willNotShow",ve.SET_SUBSCRIPTIONS="setSubscriptions",(Te=t.SetConsentReason||(t.SetConsentReason={})).USER_UPDATE="userUpdate",Te.USER_EXPERIENCE_DISMISSAL="userExperienceDismissal",Te.DEFAULT_STATE="defaultState",(be=t.ExperienceDefault||(t.ExperienceDefault={}))[be.BANNER=1]="BANNER",be[be.MODAL=2]="MODAL",(me=t.ExperienceButtonDestination||(t.ExperienceButtonDestination={}))[me.GOTO_MODAL=1]="GOTO_MODAL",me[me.GOTO_PREFERENCE=2]="GOTO_PREFERENCE",me[me.REJECT_ALL=3]="REJECT_ALL",(ge=t.ExperiencePrimaryButtonAction||(t.ExperiencePrimaryButtonAction={}))[ge.SAVE_CURRENT_STATE=1]="SAVE_CURRENT_STATE",ge[ge.ACCEPT_ALL=2]="ACCEPT_ALL",(Ee=t.MigrationOption||(t.MigrationOption={}))[Ee.MIGRATE_DEFAULT=0]="MIGRATE_DEFAULT",Ee[Ee.MIGRATE_NEVER=1]="MIGRATE_NEVER",Ee[Ee.MIGRATE_FROM_ALLOW=2]="MIGRATE_FROM_ALLOW",Ee[Ee.MIGRATE_FROM_DENY=3]="MIGRATE_FROM_DENY",Ee[Ee.MIGRATE_ALWAYS=4]="MIGRATE_ALWAYS",(_e=t.CookieDuration||(t.CookieDuration={}))[_e.SESSION=1]="SESSION",_e[_e.PERSISTENT=2]="PERSISTENT",(fe=t.CookieProvenance||(t.CookieProvenance={}))[fe.FIRST_PARTY=1]="FIRST_PARTY",fe[fe.THIRD_PARTY=2]="THIRD_PARTY",(he=t.CookieCategory||(t.CookieCategory={}))[he.STRICTLY_NECESSARY=1]="STRICTLY_NECESSARY",he[he.FUNCTIONAL=2]="FUNCTIONAL",he[he.PERFORMANCE=3]="PERFORMANCE",he[he.MARKETING=4]="MARKETING",(pe=t.IdentityType||(t.IdentityType={})).IDENTITY_TYPE_UNDEFINED="",pe.IDENTITY_TYPE_DATA_LAYER="dataLayer",pe.IDENTITY_TYPE_WINDOW="window",pe.IDENTITY_TYPE_COOKIE="cookie",pe.IDENTITY_TYPE_MANAGED="managedCookie",pe.IDENTITY_TYPE_LOCAL_STORAGE="localStorage",pe.IDENTITY_TYPE_SESSION_STORAGE="sessionStorage",pe.IDENTITY_TYPE_QUERY_STRING="queryString",(de=t.IdentityFormat||(t.IdentityFormat={})).IDENTITY_FORMAT_UNDEFINED="",de.IDENTITY_FORMAT_STRING="string",de.IDENTITY_FORMAT_JSON="json",de.IDENTITY_FORMAT_JWT="jwt",de.IDENTITY_FORMAT_QUERY="query",de.IDENTITY_FORMAT_SEMICOLON="semicolon",(ue=t.IdentityEncoding||(t.IdentityEncoding={})).IDENTITY_ENCODING_UNDEFINED="",ue.IDENTITY_ENCODING_NONE="none",ue.IDENTITY_ENCODING_BASE64="base64",(ce=t.TraitType||(t.TraitType={})).TRAIT_TYPE_UNDEFINED="",ce.TRAIT_TYPE_DATA_LAYER="dataLayer",ce.TRAIT_TYPE_WINDOW="window",ce.TRAIT_TYPE_COOKIE="cookie",ce.TRAIT_TYPE_MANAGED="managedCookie",ce.TRAIT_TYPE_LOCAL_STORAGE="localStorage",ce.TRAIT_TYPE_SESSION_STORAGE="sessionStorage",ce.TRAIT_TYPE_QUERY_STRING="queryString",(ae=t.TraitFormat||(t.TraitFormat={})).TRAIT_FORMAT_UNDEFINED="",ae.TRAIT_FORMAT_STRING="string",ae.TRAIT_FORMAT_JSON="json",ae.TRAIT_FORMAT_JWT="jwt",ae.TRAIT_FORMAT_QUERY="query",ae.TRAIT_FORMAT_SEMICOLON="semicolon",(le=t.TraitEncoding||(t.TraitEncoding={})).TRAIT_ENCODING_UNDEFINED="",le.TRAIT_ENCODING_NONE="none",le.TRAIT_ENCODING_BASE64="base64",(se=t.SwitchTextRenderLogic||(t.SwitchTextRenderLogic={}))[se.SWITCH_TEXT_RENDER_ALL=1]="SWITCH_TEXT_RENDER_ALL",se[se.SWITCH_TEXT_RENDER_LEGAL_BASIS=2]="SWITCH_TEXT_RENDER_LEGAL_BASIS",se[se.SWITCH_TEXT_RENDER_CHANGE=3]="SWITCH_TEXT_RENDER_CHANGE",se[se.SWITCH_TEXT_RENDER_NEVER=4]="SWITCH_TEXT_RENDER_NEVER",(ie=t.SubscriptionControlImpactType||(t.SubscriptionControlImpactType={}))[ie.UNSPECIFIED=0]="UNSPECIFIED",ie[ie.GLOBAL=1]="GLOBAL",ie[ie.LOCAL=2]="LOCAL",(oe=t.SubscriptionControlPositionType||(t.SubscriptionControlPositionType={}))[oe.UNSPECIFIED=0]="UNSPECIFIED",oe[oe.TOP=1]="TOP",oe[oe.BOTTOM=2]="BOTTOM",(re=t.BannerPosition||(t.BannerPosition={}))[re.BOTTOM=1]="BOTTOM",re[re.TOP=2]="TOP",re[re.BOTTOM_LEFT=3]="BOTTOM_LEFT",re[re.BOTTOM_RIGHT=4]="BOTTOM_RIGHT",(ne=t.ModalPosition||(t.ModalPosition={}))[ne.CENTER=1]="CENTER",ne[ne.LEFT_FULL_HEIGHT=2]="LEFT_FULL_HEIGHT",ne[ne.RIGHT_FULL_HEIGHT=3]="RIGHT_FULL_HEIGHT",(te=t.ExperienceActionKind||(t.ExperienceActionKind={}))[te.ShowExperience=0]="ShowExperience",te[te.HideExperience=1]="HideExperience",te[te.SetConsent=2]="SetConsent",te[te.SetSubscription=3]="SetSubscription",te[te.InvokeRight=4]="InvokeRight",(ee=t.StorageOriginPolicy||(t.StorageOriginPolicy={})).CrossOrigin="cross-origin",ee.SameOrigin="same-origin,",(Z=t.LegalBasis||(t.LegalBasis={})).NotApplicable="not_applicable",Z.PublicInterest="publicinterest",Z.Contract="contract",Z.ConsentOptIn="consent_optin",Z.ResearchLGPD="research_lgpd",Z.LegalObligations="legalobligations",Z.HealthLGPD="health_lgpd",Z.VitalInterests="vitalinterests",Z.CreditLGPD="credit_lgpd",Z.AlwaysOff="always_off",Z.LifeLGPD="life_lgpd",Z.LegitimateInterest="legitimateinterest",Z.ConsentOptOut="consent_optout",Z.Disclosure="disclosure",Z.LegitimateInterestObjectable="legitimateinterest_objectable",(J=t.VendorStatus||(t.VendorStatus={})).Granted="granted",J.Denied="denied",($=t.PropertyPurposeMode||(t.PropertyPurposeMode={})).GLOBAL="GLOBAL",$.JURISDICTION="JURISDICTION",$.NONE="NONE",(Q=t.PurposeEntityType||(t.PurposeEntityType={})).PURPOSE="PURPOSE",Q.STACK="STACK",(X=t.DeploymentVersion||(t.DeploymentVersion={})).V1="v1",X.V2="v2",(z=t.DeploymentMode||(t.DeploymentMode={})).Standard="standard",z.Hybrid="hybrid",z.Quiet="quiet",(Y=t.TraitName||(t.TraitName={})).IDENTITY="identity",Y.USER_ATTRIBUTE="userAttribute",(W=t.SubscriptionExperienceItemType||(t.SubscriptionExperienceItemType={}))[W.SUBSCRIPTION_EXPERIENCE_ITEM_TYPE_UNKNOWN=0]="SUBSCRIPTION_EXPERIENCE_ITEM_TYPE_UNKNOWN",W[W.SUBSCRIPTION_EXPERIENCE_ITEM_TYPE_TOPIC=1]="SUBSCRIPTION_EXPERIENCE_ITEM_TYPE_TOPIC",W[W.SUBSCRIPTION_EXPERIENCE_ITEM_TYPE_CONTROL=2]="SUBSCRIPTION_EXPERIENCE_ITEM_TYPE_CONTROL",(q=t.ConsentSource||(t.ConsentSource={})).LegalBasisDefault="legalBasisDefault",q.GpcPlugins="plugins.gpc",q.OneTrustMigrator="plugins.onetrust",q.SourcepointMigrator="plugins.sourcepoint",q.BannerSaveCurrentState="banner.saveCurrentState",q.BannerAcceptAll="banner.acceptAll",q.BannerRejectAll="banner.rejectAll",q.BannerCloseButton="banner.closeButton",q.BannerAutoDismiss="banner.autoDismiss",q.BannerAutoDismissLegalBasis="banner.autoDismissLegalBasis",q.BannerAutoDismissTrue="banner.autoDismissTrue",q.BannerAutoDismissFalse="banner.autoDismissFalse",q.BannerAutoDismissNone="banner.autoDismissNone",q.ModalAcceptAll="modal.acceptAll",q.ModalRejectAll="modal.rejectAll",q.ModalDefault="modal.default",q.ModalManual="modal.manual",q.ModalCloseButton="modal.closeButton",q.PreferenceConsentsTabAcceptAll="preference.consentsTab.acceptAll",q.PreferenceConsentsTabRejectAll="preference.consentsTab.rejectAll",q.PreferenceDefault="preference.default",q.PreferenceManual="preference.manual",q.RouterSetConsent="router.setConsent",q.ProgressiveConsent="progressive.consent",q.ConsentGate="consentGate",q.WorkflowSetPermits="workflow.setPermits",q.PushedFromID="id.pushedFromId",q.PushedToID="id.resolved",q.LateArrivingID="id.lateArriving",q.Headless="headless",q.AuditLogAcceptAll="auditLog.acceptAll",q.AuditLogRejectAll="auditLog.rejectAll",q.AuditLogDefault="auditLog.default",q.AuditLogManual="auditLog.manual",q.RouterAcceptAllConsent="router.acceptAllConsent",q.RouterRejectAllConsent="router.rejectAllConsent",q.RecollectAfterInterval="recollectAfterInterval",q.RecollectAfterDate="recollectAfterDate",q.Unknown="unknown",(K=t.SubscriptionSource||(t.SubscriptionSource={})).PreferenceSubscriptionsTabManual="preference.subscriptionsTab.manual",K.PreferenceSubscriptionsTabUnsubscribeAll="preference.subscriptionsTab.unsubscribeAll",K.ProgressiveSubscription="progressive.subscription",K.ConsentGateSubscription="consentGate.subscription",K.RouterSetSubscriptions="router.setSubscriptions",K.AuditLogSubscribeAll="auditLog.subscribeAll",K.AuditLogUnsubscribeAll="auditLog.unsubscribeAll",K.AuditLogDefault="auditLog.default",K.AuditLogManual="auditLog.manual",K.Headless="headless",K.Unknown="unknown",(H=t.RightSource||(t.RightSource={})).PreferenceRightsTabInvoke="preference.rightsTab.invoke",H.Headless="headless",(G=t.SubscriptionStatus||(t.SubscriptionStatus={})).Denied="denied",G.Granted="granted",(V=t.ButtonVariant||(t.ButtonVariant={})).Outlined="outlined",V.Contained="contained",(j=t.BannerModalLogoPosition||(t.BannerModalLogoPosition={})).Top="top",j.Left="left",(F=t.ItemStyle||(t.ItemStyle={})).Filled="filled",F.Outlined="outlined",(U=t.ListLayout||(t.ListLayout={})).Expandable="expandable",U.Cards="cards",(M=t.BannerContainerLayout||(t.BannerContainerLayout={})).Horizontal="horizontal",M.Vertical="vertical",M.Centered="centered",(D=t.BannerContainerSize||(t.BannerContainerSize={})).Standard="standard",D.Compact="compact",(B=t.BannerContainerPosition||(t.BannerContainerPosition={})).Bottom="bottom",B.Top="top",B.LeftCorner="leftCorner",B.RightCorner="rightCorner",B.BottomMiddle="bottomMiddle",B.Center="center",(L=t.ModalContainerPosition||(t.ModalContainerPosition={})).Center="center",L.Left="left",L.Right="right",(w=t.ExitButtonPosition||(t.ExitButtonPosition={})).topRight="topRight",w.bottomLeft="bottomLeft",(x=t.SubscriptionListStyle||(t.SubscriptionListStyle={})).Filled="filled",x.Underlined="underlined",(A=t.SubscriptionChannelArrangementStyle||(t.SubscriptionChannelArrangementStyle={})).Horizontal="horizontal",A.Vertical="vertical",(I=t.UnsubscribeFromAllPosition||(t.UnsubscribeFromAllPosition={})).Top="top",I.Bottom="bottom",(R=t.FormFieldStyle||(t.FormFieldStyle={})).Box="box",R.Underline="underline",(P=t.SwitchButtonDisplay||(t.SwitchButtonDisplay={})).Always="always",P.WhenLegalBasisDiffers="whenLegalBasisDiffers",(t.ExperienceLinkType||(t.ExperienceLinkType={})).Vendor="vendor",(k=t.PurposeStacksMode||(t.PurposeStacksMode={})).AlwaysOpen="alwaysOpen",k.AlwaysClosed="alwaysClosed",k.DefaultOpen="defaultOpen",k.DefaultClosed="defaultClosed",(N=t.BannerButtonAction||(t.BannerButtonAction={})).SaveCurrentState="saveCurrentState",N.AcceptAll="acceptAll",N.OpenModal="openModal",N.OpenPreferences="openPreferences",N.RejectAll="rejectAll",N.OpenURL="openURL",(O=t.QuickLinkAction||(t.QuickLinkAction={})).OpenUrl="openUrl",O.OpenPage="openPage",(C=t.PreferenceCenterPage||(t.PreferenceCenterPage={})).Welcome="welcome",C.PrivacyPolicy="privacyPolicy",C.Purpose="purpose",C.Subscriptions="subscriptions",C.RequestsHome="requestsHome",C.RequestsForm="requestsForm",C.RequestsSubmitted="requestsSubmitted",(y=t.UnsubscribeAllImpact||(t.UnsubscribeAllImpact={})).Universal="universal",y.SingleExperience="singleExperience",(S=t.SubscriptionItemType||(t.SubscriptionItemType={})).Unknown="unknown",S.Topic="topic",S.Control="control",(v=t.CanonicalRightCode||(t.CanonicalRightCode={})).Get="get",v.Delete="delete",v.Restrict="restrict",v.Update="update",(T=t.RightsFormMode||(t.RightsFormMode={})).Single="single",T.Custom="custom",(b=t.ExperiencePurposeMode||(t.ExperiencePurposeMode={})).CUSTOM="CUSTOM",b.INHERIT="INHERIT",(m=t.PurposeOrStackType||(t.PurposeOrStackType={})).PURPOSE="PURPOSE",m.STACK="STACK",(g=t.ProgressiveExperienceType||(t.ProgressiveExperienceType={})).Consent="consent",g.Subscription="subscription",(E=t.ProgressiveExperienceConsentLayout||(t.ProgressiveExperienceConsentLayout={})).ActionButtons="actionButtons",E.ToggleSwitch="toggleSwitch",(_=t.ProgressiveExperiencePosition||(t.ProgressiveExperiencePosition={})).FollowPointer="followPointer",_.Embed="embed",(f=t.ProgressiveExperienceButtonAction||(t.ProgressiveExperienceButtonAction={})).Accept="accept",f.Reject="reject",f.Dismiss="dismiss",(h=t.ConsentGateRequirementsNotMatchedState||(t.ConsentGateRequirementsNotMatchedState={})).Alert="alert",h.Redirect="redirect",(t.ConsentGateButtonAction||(t.ConsentGateButtonAction={})).AcceptChoices="acceptChoices",(p=t.ExperienceLoadingMethod||(t.ExperienceLoadingMethod={})).Initial="initial",p.Dynamic="dynamic",(d=t.DeploymentExperienceType||(t.DeploymentExperienceType={})).AutoInitiated="autoInitiated",d.UserInitiated="userInitiated",(u=t.OperatorType||(t.OperatorType={})).EQUALS="EQ",u.NOT_EQUALS="NEQ",u.GREATER_THAN="GT",u.LESS_THAN="LT",u.GREATER_THAN_OR_EQUAL="GTE",u.LESS_THAN_OR_EQUAL="LTE",u.CONTAINS="CN",u.NOT_CONTAINS="NCN",u.REGEX_MATCH_FIND="MCH",u.EXISTS="EX",u.NOT_EXISTS="NEX",u.IN="IN",u.UNKNOWN="",u.ENDS_WITH="EW",u.NOT_ENDS_WITH="NEW",(c=t.ConditionOperator||(t.ConditionOperator={})).AND="AND",c.OR="OR",c.NOT="NOT",(t.ActionFunction||(t.ActionFunction={})).SHOW_EXPERIENCE="showExperience",(a=t.RuleTrigger||(t.RuleTrigger={})).ON_LOAD="onPageLoad",a.ON_FUNCTION="onFunction",(l=t.BannerDismissAnimation||(t.BannerDismissAnimation={})).FADE="fade",l.LOWER="lower",(s=t.BannerAutoDismissOverride||(t.BannerAutoDismissOverride={})).NOTHING="none",s.LEGAL_BASIS="legalBasis",s.TRUE="true",s.FALSE="false",(i=t.PreviewMessageType||(t.PreviewMessageType={})).LoadConfig="loadConfig",i.ShowBanner="showBanner",i.ShowModal="showModal",i.ShowPreference="showPreferences",i.SwitchPreferencePage="switchPreferencePage",i.ShowConsentGate="showConsentGate",i.ShowAgeGate="showAgeGate",i.ShowLeadCapture="showLeadCapture";var ke=n(7586);Object.defineProperty(t,"FormFieldWidth",{enumerable:!0,get:function(){return ke.FormFieldWidth}}),Object.defineProperty(t,"FormFieldCategory",{enumerable:!0,get:function(){return ke.FormFieldCategory}}),Object.defineProperty(t,"FormFieldType",{enumerable:!0,get:function(){return ke.FormFieldType}}),Object.defineProperty(t,"FormFieldVariant",{enumerable:!0,get:function(){return ke.FormFieldVariant}})},5005(e,t,n){"use strict";const{VOID:r,PRIMITIVE:o,ARRAY:i,OBJECT:s,DATE:l,REGEXP:a,MAP:c,SET:u,ERROR:d,BIGINT:p}=n(1731),h="object"==typeof self?self:globalThis;t.deserialize=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),f=_=>{if(e.has(_))return e.get(_);const[E,g]=t[_];switch(E){case o:case r:return n(g,_);case i:{const e=n([],_);for(const t of g)e.push(f(t));return e}case s:{const e=n({},_);for(const[t,n]of g)e[f(t)]=f(n);return e}case l:return n(new Date(g),_);case a:{const{source:e,flags:t}=g;return n(new RegExp(e,t),_)}case c:{const e=n(new Map,_);for(const[t,n]of g)e.set(f(t),f(n));return e}case u:{const e=n(new Set,_);for(const t of g)e.add(f(t));return e}case d:{const{name:e,message:t}=g;return n(new h[e](t),_)}case p:return n(BigInt(g),_);case"BigInt":return n(Object(BigInt(g)),_);case"ArrayBuffer":return n(new Uint8Array(g).buffer,g);case"DataView":{const{buffer:e}=new Uint8Array(g);return n(new DataView(e),g)}}return n(new h[E](g),_)};return f})(new Map,e)(0)},7678(e,t,n){"use strict";const{deserialize:r}=n(5005),{serialize:o}=n(5416);Object.defineProperty(t,"__esModule",{value:!0}).default="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?r(o(e,t)):structuredClone(e):(e,t)=>r(o(e,t)),t.deserialize=r,t.serialize=o},5416(e,t,n){"use strict";const{VOID:r,PRIMITIVE:o,ARRAY:i,OBJECT:s,DATE:l,REGEXP:a,MAP:c,SET:u,ERROR:d,BIGINT:p}=n(1731),h="",{toString:f}={},{keys:_}=Object,E=e=>{const t=typeof e;if("object"!==t||!e)return[o,t];const n=f.call(e).slice(8,-1);switch(n){case"Array":return[i,h];case"Object":return[s,h];case"Date":return[l,h];case"RegExp":return[a,h];case"Map":return[c,h];case"Set":return[u,h];case"DataView":return[i,n]}return n.includes("Array")?[i,n]:n.includes("Error")?[d,n]:[s,n]},g=([e,t])=>e===o&&("function"===t||"symbol"===t);t.serialize=(e,{json:t,lossy:n}={})=>{const d=[];return((e,t,n,d)=>{const h=(e,t)=>{const r=d.push(e)-1;return n.set(t,r),r},f=d=>{if(n.has(d))return n.get(d);let[m,b]=E(d);switch(m){case o:{let t=d;switch(b){case"bigint":m=p,t=d.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+b);t=null;break;case"undefined":return h([r],d)}return h([m,t],d)}case i:{if(b){let e=d;return"DataView"===b?e=new Uint8Array(d.buffer):"ArrayBuffer"===b&&(e=new Uint8Array(d)),h([b,[...e]],d)}const e=[],t=h([m,e],d);for(const t of d)e.push(f(t));return t}case s:{if(b)switch(b){case"BigInt":return h([b,d.toString()],d);case"Boolean":case"Number":case"String":return h([b,d.valueOf()],d)}if(t&&"toJSON"in d)return f(d.toJSON());const n=[],r=h([m,n],d);for(const t of _(d))!e&&g(E(d[t]))||n.push([f(t),f(d[t])]);return r}case l:return h([m,d.toISOString()],d);case a:{const{source:e,flags:t}=d;return h([m,{source:e,flags:t}],d)}case c:{const t=[],n=h([m,t],d);for(const[n,r]of d)(e||!g(E(n))&&!g(E(r)))&&t.push([f(n),f(r)]);return n}case u:{const t=[],n=h([m,t],d);for(const n of d)!e&&g(E(n))||t.push(f(n));return n}}const{message:T}=d;return h([m,{name:b,message:T}],d)};return f})(!(t||n),!!t,new Map,d)(e),d}},1731(e,t){"use strict";t.VOID=-1,t.PRIMITIVE=0,t.ARRAY=1,t.OBJECT=2,t.DATE=3,t.REGEXP=4,t.MAP=5,t.SET=6,t.ERROR=7,t.BIGINT=8},1635(e,t,n){"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>B,__assign:()=>i,__asyncDelegator:()=>O,__asyncGenerator:()=>C,__asyncValues:()=>N,__await:()=>y,__awaiter:()=>f,__classPrivateFieldGet:()=>x,__classPrivateFieldIn:()=>L,__classPrivateFieldSet:()=>w,__createBinding:()=>E,__decorate:()=>l,__disposeResources:()=>M,__esDecorate:()=>c,__exportStar:()=>g,__extends:()=>o,__generator:()=>_,__importDefault:()=>A,__importStar:()=>I,__makeTemplateObject:()=>k,__metadata:()=>h,__param:()=>a,__propKey:()=>d,__read:()=>b,__rest:()=>s,__rewriteRelativeImportExtension:()=>U,__runInitializers:()=>u,__setFunctionName:()=>p,__spread:()=>T,__spreadArray:()=>S,__spreadArrays:()=>v,__values:()=>m,default:()=>F});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;l--)(o=e[l])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s}function a(e,t){return function(n,r){t(n,r,e)}}function c(e,t,n,r,o,i){function s(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var l,a=r.kind,c="getter"===a?"get":"setter"===a?"set":"value",u=!t&&e?r.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),p=!1,h=n.length-1;h>=0;h--){var f={};for(var _ in r)f[_]="access"===_?{}:r[_];for(var _ in r.access)f.access[_]=r.access[_];f.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");i.push(s(e||null))};var E=(0,n[h])("accessor"===a?{get:d.get,set:d.set}:d[c],f);if("accessor"===a){if(void 0===E)continue;if(null===E||"object"!=typeof E)throw new TypeError("Object expected");(l=s(E.get))&&(d.get=l),(l=s(E.set))&&(d.set=l),(l=s(E.init))&&o.unshift(l)}else(l=s(E))&&("field"===a?o.unshift(l):d[c]=l)}u&&Object.defineProperty(u,r.name,d),p=!0}function u(e,t,n){for(var r=arguments.length>2,o=0;o0&&o[o.length-1])||6!==l[0]&&2!==l[0])){i=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function T(){for(var e=[],t=0;t1||l(e,t)})},t&&(r[e]=t(r[e])))}function l(e,t){try{(n=o[e](t)).value instanceof y?Promise.resolve(n.value.v).then(a,c):u(i[0][2],n)}catch(e){u(i[0][3],e)}var n}function a(e){l("next",e)}function c(e){l("throw",e)}function u(e,t){e(t),i.shift(),i.length&&l(i[0][0],i[0][1])}}function O(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:y(e[r](t)),done:!1}:o?o(t):t}:o}}function N(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=m(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,o){!function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}(r,o,(t=e[n](t)).done,t.value)})}}}function k(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var P=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},R=function(e){return R=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},R(e)};function I(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=R(e),r=0;r{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";const e=n(1635),t=n(549),r=n(7551),o=e.__importDefault(n(1141)),i=e.__importDefault(n(5307));window.semaphore=window.semaphore||[],window.semaphore.push(["registerPlugin",i.default]),function(){return e.__awaiter(this,void 0,void 0,function*(){for(yield(0,t.boot)();!window.semaphore.loaded;)yield new Promise(e=>setTimeout(e,10));const e=window.semaphore.ketch;if(!e)throw new Error("Ketch instance not found after initialization");yield Promise.all([(0,r.init)(e,void 0),(0,o.default)(e,void 0)])})}().catch(e=>{console.error("Failed to initialize Ketch:",e)})})()})();