1import{r as s}from"./vendor.C--JXtB9.chunk.js";import{S as a,a as r}from"./Analytics.CnEGCNDc.chunk.js";import{m as i}from"./ApiUtils.DUU7R7v4.chunk.js";const g=s.createContext(null),m=()=>{const n=s.useContext(g);if(!n)throw new Error("Language not found in KeysContext");return n},o="gdprMarketingConsentGiven";class d{setMarketingConsentGiven(e,t){this._updateMarketingConsent(),a.set(o,!0),r.track("Web Email Marketing Consent Given",{Source:e,Email:t}),this.sendEmailedAllowedEvent(e,t)}sendEmailedAllowedEvent(e,t){r.track("Web Email Marketing Allowed",{Source:e,Email:t})}didGetMarketingConsent(){return!!a.get(o)}_updateMarketingConsent(){return i.post("v4/updateMarketingConsent",{didConsent:!0}).then(e=>e.data)}}const C=new d;export{g as L,C as g,m as u}; 2//# sourceMappingURL=GdprMananger.CXWOkyzF.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.