(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[720],{5720:function(e,t,a){"use strict";a.d(t,{$q:function(){return DataSubjectRequestForm},Ig:function(){return ConfirmationCheckbox},V2:function(){return OrganizationCustomInputField},Wb:function(){return FieldWithdrawalRequest},Zy:function(){return FieldCorrectionRequest},b0:function(){return FieldObjectionRequest},dL:function(){return p},jJ:function(){return isStateNoticeHidden}});var i=a(3148),n=a(2017),o=a(9340),s=a(2995),r=a(4801),l=a(9723),c=a(2036);a(7580);var u=a(2128),d=a(110);let p=["7YLZI77HS","SOMASTORE"],useDeclarationText=e=>{var t;let{values:a}=(0,o.cl)(),i=a.dataRequestType,n=null==e?void 0:e.find(e=>e.value==i),s=null!==(t=null==n?void 0:n.declaration)&&void 0!==t?t:null;return s},DataSubjectRequestOptionsCheckbox=e=>{let{dataRequestTypeOptions:t}=e,a=useDeclarationText(t);return(0,i.jsx)(ConfirmationCheckbox,{declarationText:a})},ConfirmationCheckbox=e=>{let{declarationText:t}=e;return t?(0,i.jsx)("div",{className:"field-wrapper confirmation",children:(0,i.jsx)(o.gN,{type:"checkbox",name:"confirmation",validate:e=>e?void 0:"Required",children:e=>{let{input:a}=e;return(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"confirmation-description",children:t}),(0,i.jsxs)("div",{className:"declaration-provided-container",children:[(0,i.jsx)("input",{id:a.name,...a,type:"checkbox",required:!0}),(0,i.jsx)("label",{htmlFor:a.name,className:"flex-center-vertical",children:"Yes, I confirm"})]})]})}})}):null},OrganizationCustomInputField=e=>{let{config:t}=e;return(0,i.jsx)("div",{className:"field-wrapper custom-field",children:(0,i.jsx)(o.gN,{name:"organizationCustomInput",validate:e=>{var t;return(null==e?void 0:null===(t=e.trim())||void 0===t?void 0:t.length)>100?"Maximum characters: 100":void 0},required:!0,children:e=>{var a,n,o;let{input:s,meta:r}=e;return(0,i.jsxs)("div",{children:[(0,i.jsx)("label",{htmlFor:s.name,children:null!==(o=null===(a=t.customField)||void 0===a?void 0:a.label)&&void 0!==o?o:""}),r.error&&r.touched&&(0,i.jsxs)("span",{className:"form-input-error ml-sm",children:["(",r.error,")"]}),(null===(n=t.customField)||void 0===n?void 0:n.help)&&(0,i.jsx)("div",{className:"form-text text-muted",style:{fontSize:12},children:t.customField.help}),(0,i.jsx)("textarea",{id:s.name,rows:4,...s,required:!0})]})}})})},SubmitButton=e=>{let{submitting:t,pristine:a,disabledOverride:n,disabledTooltipText:s}=e,{valid:r}=(0,o.cl)(),l=t||a||!r||n;return(0,i.jsx)("div",{className:"field-wrapper buttons",children:(0,i.jsx)("button",{type:"submit",className:"submit-button",disabled:l,title:l?s:"",children:"Submit"})})},DataSubjectRequestForm=e=>{let{config:t,i18n:a,setHideLanguageSelect:s,isPreview:u}=e,d="undefined"!=typeof document?(0,r.ej)("_ga"):null,[m,h]=(0,n.useState)([]),[v,_]=(0,n.useState)([]),C=(0,l.useSearchParams)(),A=(0,c.gh)(C,t);(0,n.useEffect)(()=>{(0,c.Dc)(document,A)},[A]);let P="/privacy-request?".concat(C);(0,n.useEffect)(()=>{let f=async()=>{try{let e=(0,r.E)(t,"formOptions");if(!e)throw Error("Cannot get hosted URL");let a=await fetch(e),i=await a.json();h(i.dataRequestTypeOptions),_(i.consentProcessingActivites)}catch(e){console.error("Failed to fetch the required form options: "+e)}};f()},[]);let[x,b]=(0,n.useState)(!1),[q,R]=(0,n.useState)(!1);(0,n.useEffect)(()=>{s(!!x)},[x]);let j=(0,n.useMemo)(()=>locationsFromRequestOptions(m,a,t),[m,a?a.resolvedLanguage:"en",t]),g=(0,n.useRef)(""),T=(null==t?void 0:t.organizationId)!=void 0&&p.includes(t.organizationId);if(x){var N,y;return(0,i.jsxs)("div",{className:"submitted-form-response",children:[(0,i.jsxs)("h4",{children:["Your ",null==x?void 0:null===(y=x.dataRequestType)||void 0===y?void 0:null===(N=y.name)||void 0===N?void 0:N.toLowerCase()," has been submitted."]}),(0,i.jsx)("p",{children:"We have received your request. Our team will follow up within 10 business days."}),(0,i.jsxs)("p",{children:["Your request ID is ",(0,i.jsx)("span",{className:"text-bold",children:x.id})]}),(0,i.jsxs)("div",{className:"button-confirm",children:[(0,i.jsx)("p",{className:"confirm-button",children:(0,i.jsx)("a",{href:P,className:"link-button",children:"Submit Another Request"})}),(0,i.jsx)("p",{className:"confirm-button",children:(0,i.jsx)("a",{href:null==t?void 0:t.logoLinkUrl,className:"link-button",children:"Continue browsing"})})]})]})}return(0,i.jsx)(o.l0,{className:"data-subject-request-form",initialValues:{gaUserId:d,withdrawnConsent:[]},onSubmit:e=>{e.recaptchaToken=g.current,(0,r.Yr)(b,R,(0,r.E)(t,"requests"),u)(e)},dataRequestTypeOptions:m,consentProcessingActivities:v,render:e=>{let{handleSubmit:n,form:o,values:s,submitting:r,pristine:l,dataRequestTypeOptions:c,consentProcessingActivities:d}=e;return(0,i.jsx)(RequestForm,{config:t,form:o,values:s,handleSubmit:n,submitting:r,pristine:l,submitError:q,locationOptions:j,dataRequestTypeOptions:c,consentProcessingActivities:d,i18n:a,isPreview:u,shouldUseRecaptcha:T,recaptchaTokenRef:g})}})},m={CCPA_CORRECTION:"ccpa_correction_request",CCPA_RIGHT_TO_DELETE:"ccpa_deletion_request",CCPA_RIGHT_TO_KNOW:"ccpa_knowledge_request",VCDPA_ACCESS:"vcdpa_access_request",VCDPA_APPEAL:"vcdpa_appeal_request",VCDPA_DELETION:"vcdpa_deletion_request",VCDPA_CORRECTION:"vcdpa_correction_request",CPA_ACCESS:"cpa_access_request",CPA_DELETION:"cpa_deletion_request",CPA_CORRECTION:"cpa_correction_request",CPA_APPEAL:"cpa_appeal_request",CTDPA_ACCESS:"ctdpa_access_request",CTDPA_DELETION:"ctdpa_deletion_request",CTDPA_CORRECTION:"ctdpa_correction_request",CTDPA_APPEAL:"ctdpa_appeal_request",TDPSA_ACCESS:"tdpsa_access_request",TDPSA_DELETION:"tdpsa_deletion_request",TDPSA_CORRECTION:"tdpsa_correction_request",TDPSA_APPEAL:"tdpsa_appeal_request",MCDPA_ACCESS:"mcdpa_access_request",MCDPA_DELETION:"mcdpa_deletion_request",MCDPA_CORRECTION:"mcdpa_correction_request",MCDPA_APPEAL:"mcdpa_appeal_request",OCPA_ACCESS:"ocpa_access_request",OCPA_DELETION:"ocpa_deletion_request",OCPA_CORRECTION:"ocpa_correction_request",OCPA_APPEAL:"ocpa_appeal_request",UTCPA_ACCESS:"utcpa_access_request",UTCPA_DELETION:"utcpa_deletion_request",VOLUNTARY_RIGHT_TO_KNOW:"voluntary_access_request",VOLUNTARY_APPEAL:"voluntary_appeal_request",VOLUNTARY_RIGHT_TO_DELETE:"voluntary_deletion_request",VOLUNTARY_CORRECTION:"voluntary_correction_request",GDPR_ACCESS:"eea_uk_access_request",GDPR_ERASURE:"eea_uk_erasure_request",GDPR_OBJECTION:"eea_uk_objection_request",GDPR_PORTABILITY:"eea_uk_portability_request",GDPR_RECTIFICATION:"eea_uk_rectification_request",GDPR_WITHDRAWAL:"eea_uk_withdrawal_request",PIPEDA_ACCESS:"pipeda_access_request",PIPEDA_CORRECTION:"pipeda_correction_request",PIPEDA_DELETION:"pipeda_deletion_request",PIPEDA_WITHDRAWAL:"pipeda_withdrawal_request"},RequestForm=e=>{var t;let{config:a,form:r,values:l,handleSubmit:c,submitError:d,submitting:p,pristine:h,locationOptions:v,dataRequestTypeOptions:_,consentProcessingActivities:C,i18n:A,isPreview:P,shouldUseRecaptcha:x,recaptchaTokenRef:b}=e,q=!!a.employeePrivacyNoticeHtml||!!a.jobApplicantPrivacyNoticeHtml||!!a.contractorPrivacyNoticeHtml||!!a.eeaUkEmployeePrivacyNoticeHtml,R=(0,o.U$)("location"),j=(0,o.U$)("sublocation"),g=(0,o.U$)("dataRequestType"),T=(0,n.useMemo)(()=>a.hideLocationDropdownOnRequestForm?"VOLUNTARY":(null==v?void 0:v.locations.length)==1?v.locations[0].value:R.input.value,[v,a.hideLocationDropdownOnRequestForm,R.input.value,A?A.resolvedLanguage:"en"]),N=(0,n.useMemo)(()=>{var e,t,a;let i=null!==(t=null==v?void 0:v.locations)&&void 0!==t?t:[],n=i.find(e=>{let{value:t}=e;return t==T});return n&&(null===(e=n.children)||void 0===e?void 0:e.length)?(null===(a=n.children)||void 0===a?void 0:a.length)==1?n.children[0].value:j.input.value:T},[v,j.input.value,T]),y=(0,n.useMemo)(()=>{let e=null;return(null==v?void 0:v.showCountrySelector)?(null==v?void 0:v.locations.length)&&(e=v.locations.find(e=>{let{value:t}=e;return t==T})):e=v.locations[0],null==e?void 0:e.children},[v,T]),getRequestTypeTranslation=(e,t)=>{let{value:a,label:i}=e,n="";if(a&&t){let e=m[a];e&&(n=t.t("privacy_request.".concat(e)))}return n||(n=i.includes(" - ")?i.split("-",2)[1].trim():i),n},D=(0,n.useMemo)(()=>(_||[]).filter(e=>e.regulation==N||e.value.startsWith(N)).map(e=>({...e,label:getRequestTypeTranslation(e,A)})),[N,_,A?A.resolvedLanguage:"en"]),O=(0,n.useMemo)(()=>_.find(e=>e.value==l.dataRequestType),[l.dataRequestType,A?A.resolvedLanguage:"en"]),E="GDPR_RECTIFICATION"==g.input.value||(null==O?void 0:O.correctionInput),w=null==O?void 0:O.appealInput,I="GDPR_OBJECTION"==g.input.value||"PIPEDA_WITHDRAWAL"==g.input.value||(null==O?void 0:O.objectionInput),S="GDPR_WITHDRAWAL"==g.input.value||(null==O?void 0:O.withdrawalInput),k=!!(S&&!(null==l?void 0:null===(t=l.withdrawnConsent)||void 0===t?void 0:t.length))||P,L=(0,n.createRef)(),submitWithRecaptcha=async e=>{if(e.preventDefault(),e.stopPropagation(),!L.current)return;let t=await L.current.executeAsync();t&&(b.current=t,c(e))};return(0,i.jsxs)("form",{className:"privacy-request-form",onSubmit:x?submitWithRecaptcha:c,children:[d&&(0,i.jsx)("div",{className:"submit-error",children:"There was a problem submitting your request, please try again later."}),v.showCountrySelector&&v.locations.length>1&&(0,i.jsxs)("div",{className:"field-wrapper ata-request-type",children:[(0,i.jsx)("label",{htmlFor:"location",children:A?A.t("common.location"):"Location"}),(0,i.jsxs)(o.gN,{id:"location",name:"location",component:"select",required:!0,validate:e=>e?void 0:"Required",children:[(0,i.jsx)("option",{}),v.locations.map(e=>(0,i.jsx)("option",{value:"".concat(e.value),children:e.label},"".concat(e.value)))]}),(0,i.jsx)(o.lP,{subscription:{values:!0},onChange:e=>{let{values:t}=e,a=(null==t?void 0:t.location)||"",i=(null==t?void 0:t.dataRequestType)||"",[n]=i.split("_");(!(null==t?void 0:t.location)||a!==n)&&(["GDPR","CCPA"].includes(a)||r.change("hasWorked",void 0),["GDPR","PIPEDA","VOLUNTARY"].includes(n)&&r.change("sublocation",void 0),("USA"!=a||["GDPR","PIPEDA","VOLUNTARY"].includes(n))&&r.change("dataRequestType",void 0))}})]}),y&&(0,i.jsxs)("div",{className:"field-wrapper ata-request-type",children:[(0,i.jsx)("label",{htmlFor:"sublocation",children:A?A.t("common.state","State"):"State"}),(0,i.jsxs)(o.gN,{id:"sublocation",name:"sublocation",component:"select",required:!0,validate:e=>e?void 0:"Required",children:[(0,i.jsx)("option",{}),y.map(e=>(0,i.jsx)("option",{value:"".concat(e.value),children:e.label},"".concat(e.value)))]}),(0,i.jsx)(o.lP,{subscription:{values:!0},onChange:e=>{let{values:t}=e,a=(null==t?void 0:t.sublocation)||"",i=(null==t?void 0:t.dataRequestType)||"",[n]=i.split("_");(null==t?void 0:t.sublocation)&&a===n||(["GDPR","CCPA"].includes(a)||r.change("hasWorked",void 0),r.change("dataRequestType",void 0))}})]}),(0,i.jsxs)("div",{className:"field-wrapper ata-request-type",children:[(0,i.jsx)("label",{htmlFor:"dataRequestType",children:A?A.t("common.request_type"):"Request Type"}),(0,i.jsxs)(o.gN,{id:"dataRequestType",name:"dataRequestType",component:"select",required:!0,disabled:(null==v?void 0:v.locations.length)>1&&!l.location||y&&!l.sublocation,validate:e=>e?void 0:"Required",children:[(0,i.jsx)("option",{}),D&&D.map(e=>(0,i.jsx)("option",{value:"".concat(e.value),children:e.label},"".concat(e.value)))]})]}),(0,i.jsx)(DataSubjectRequestOptionsCheckbox,{dataRequestTypeOptions:D}),E&&(0,i.jsx)(FieldCorrectionRequest,{}),w&&(0,i.jsx)(FieldAppealRequest,{}),I&&(0,i.jsx)(FieldObjectionRequest,{regulationType:g.input.value}),S&&(0,i.jsx)(FieldWithdrawalRequest,{consentProcessingActivities:C}),(0,i.jsxs)("div",{className:"field-wrapper row",children:[(0,i.jsxs)("div",{className:"first-name col col-1x",children:[(0,i.jsx)("label",{htmlFor:"firstName",children:A?A.t("common.first_name"):"First Name"}),(0,i.jsx)(o.gN,{id:"firstName",name:"firstName",component:"input",type:"text",required:!0})]}),(0,i.jsxs)("div",{className:"last-name col col-1x",children:[(0,i.jsx)("label",{htmlFor:"lastName",children:A?A.t("common.last_name"):"Last Name"}),(0,i.jsx)(o.gN,{id:"lastName",name:"lastName",component:"input",type:"text",required:!0})]})]}),(0,i.jsx)("div",{className:"field-wrapper email",children:(0,i.jsx)(o.gN,{name:"email",validate:e=>e?(0,s.Jh)(e)?void 0:"Invalid email":"Required",children:e=>{let{input:t,meta:a}=e;return(0,i.jsxs)("div",{children:[(0,i.jsx)("label",{htmlFor:t.name,children:A?A.t("common.email"):"Email"}),a.error&&a.touched&&(0,i.jsxs)("span",{className:"form-input-error ml-sm",children:["(",a.error,")"]}),(0,i.jsx)("input",{id:t.name,...t,type:"text",required:!0})]})}})}),a.customField&&(0,i.jsx)(OrganizationCustomInputField,{config:a}),q&&["GDPR","CCPA"].includes(l.location)&&(0,i.jsx)("div",{className:"field-wrapper checkbox",children:(0,i.jsx)(o.gN,{name:"hasWorked",component:"input",type:"checkbox",id:"hasWorked",children:e=>{let{input:t}=e;return(0,i.jsxs)("div",{className:"declaration-provided-container",children:[(0,i.jsx)("input",{id:t.name,...t,type:"checkbox"}),(0,i.jsx)("label",{htmlFor:"hasWorked",children:"Check this box if you have ever worked or applied for a job with us."})]})}})}),q&&l.hasWorked&&(0,i.jsxs)("div",{className:"callout callout-secondary",children:["Your request will be submitted as a current/former ",a.organizationName," employee or job applicant.",(0,i.jsx)("br",{}),"Please"," ",(0,i.jsx)("strong",{children:"submit a separate request regarding personal data related to your customer account"})," ","or uncheck the box above."]}),(0,i.jsx)(SubmitButton,{submitting:p,pristine:h,disabledOverride:k,disabledTooltipText:P?"You cannot submit privacy requests in preview mode.":""}),x&&(0,i.jsx)(u.Z,{ref:L,size:"invisible",sitekey:"6LdrKx4qAAAAAE8Pg3IgSCaVz3rHIrgdJz6AUXLr"})]})},FieldCorrectionRequest=()=>(0,i.jsxs)("div",{className:"field-wrapper",children:[(0,i.jsx)("label",{htmlFor:"correctionRequest",children:"Please describe the data you would like us to correct"}),(0,i.jsx)(o.gN,{id:"correctionRequest",name:"correctionRequest",type:"text",validate:e=>e?e.length>500?"Must be less than 500 characters.":void 0:"Required",children:e=>{let{input:t,meta:a}=e;return(0,i.jsxs)("div",{children:[a.error&&a.touched&&(0,i.jsxs)("span",{className:"form-input-error ml-sm",children:["(",a.error,")"]}),(0,i.jsx)("textarea",{id:t.name,...t,required:!0,rows:6})]})}})]}),FieldAppealRequest=()=>(0,i.jsxs)("div",{className:"field-wrapper",children:[(0,i.jsx)("label",{htmlFor:"appealId",children:"Type the 9-digit Privacy Request ID for the decision you would like to appeal"}),(0,i.jsx)(o.gN,{id:"appealId",name:"appealId",type:"text",validate:e=>e?9!==e.length?"Must be 9 characters":/^[a-z0-9]+$/i.test(e)?e.includes("0")?"The Privacy Request ID won't have a 0":e.includes("1")?"The Privacy Request ID won't have a 1":e.includes("8")?"The Privacy Request ID won't have an 8":e.includes("9")?"The Privacy Request ID won't have an 9":void 0:"The Privacy Request ID may only contain letters and numbers":"Required",children:e=>{let{input:t,meta:a}=e;return(0,i.jsxs)("div",{children:[a.error&&a.touched&&(0,i.jsxs)("span",{className:"form-input-error ml-sm",children:["(",a.error,")"]}),(0,i.jsx)("input",{id:t.name,...t,required:!0})]})}})]}),FieldObjectionRequest=e=>{let{regulationType:t}=e;return(0,i.jsxs)("div",{className:"field-wrapper",children:[(0,i.jsx)("label",{htmlFor:"objectionRequest",children:"PIPEDA_WITHDRAWAL"==t?"\n        Describe below the data processing activities for which you are withdrawing consent.\n        Please note: cookie consent can be managed via the consent choices pop-up on our website.\n      ":"Please describe your objection"}),(0,i.jsx)(o.gN,{id:"objectionRequest",name:"objectionRequest",type:"text",validate:e=>e?e.length>500?"Must be less than 500 characters.":void 0:"Required",children:e=>{let{input:t,meta:a}=e;return(0,i.jsxs)("div",{children:[a.error&&a.touched&&(0,i.jsxs)("span",{className:"form-input-error ml-sm",children:["(",a.error,")"]}),(0,i.jsx)("textarea",{id:t.name,...t,required:!0,rows:6})]})}})]})},FieldWithdrawalRequest=e=>{let{consentProcessingActivities:t}=e;return 0==t.length?(0,i.jsx)("div",{className:"field-wrapper",children:"The only processing activity we engage in on the basis of consent is online tracking via cookies. You can manage your cookie consent settings from our main website if you are located in a region that requires consent."}):(0,i.jsxs)("div",{className:"field-wrapper",children:[(0,i.jsx)("label",{htmlFor:"withdrawnConsent",className:"mb-md",children:"Select the processing activities for which you would like to withdraw consent. You can manage your cookie consent settings from our main website if you are located in a region that requires consent."}),(0,i.jsx)("div",{className:"mt-sm",children:t.map(e=>(0,i.jsxs)("div",{children:[(0,i.jsx)(o.gN,{name:"withdrawnConsent",component:"input",type:"checkbox",value:e,id:"processing-activity-".concat(e)}),(0,i.jsx)("label",{htmlFor:"processing-activity-".concat(e),children:e})]},e))})]})},locationsFromRequestOptions=(e,t,a)=>{if(!e||a.hideLocationDropdownOnRequestForm)return{locations:[],showCountrySelector:!1};let i=e.some(e=>"CCPA"==e.regulation||e.value.startsWith("CCPA_")),n=e.some(e=>"VCDPA"==e.regulation||e.value.startsWith("VCDPA_")),o=e.some(e=>"CPA"==e.regulation||e.value.startsWith("CPA_")),s=e.some(e=>"CTDPA"==e.regulation||e.value.startsWith("CTDPA_")),r=e.some(e=>"TDPSA"==e.regulation||e.value.startsWith("TDPSA_")),l=e.some(e=>"MCDPA"==e.regulation||e.value.startsWith("MCDPA_")),c=e.some(e=>"OCPA"==e.regulation||e.value.startsWith("OCPA_")),u=e.some(e=>"UTCPA"==e.regulation||e.value.startsWith("UTCPA_")),d=e.some(e=>"VOLUNTARY"==e.regulation||e.value.startsWith("VOLUNTARY_")),p=e.some(e=>"GDPR"==e.regulation||e.value.startsWith("GDPR_")),m=e.some(e=>"PIPEDA"==e.regulation||e.value.startsWith("PIPEDA_")),h=[],v=[];if(i&&!isStateNoticeHidden(a,"CA")){let e=t?t.t("common.california"):"California";h.push({label:"".concat(e," (CCPA)"),value:"CCPA"})}if(n&&!isStateNoticeHidden(a,"VA")){let e=t?t.t("common.virginia"):"Virginia";h.push({label:"".concat(e," (VCDPA)"),value:"VCDPA"})}if(o&&!isStateNoticeHidden(a,"CO")){let e=t?t.t("common.colorado"):"Colorado";h.push({label:"".concat(e," (CPA)"),value:"CPA"})}if(s&&!isStateNoticeHidden(a,"CT")){let e=t?t.t("common.connecticut"):"Connecticut";h.push({label:"".concat(e," (CTDPA)"),value:"CTDPA"})}if(r&&!isStateNoticeHidden(a,"TX")){let e=t?t.t("common.texas"):"Texas";h.push({label:"".concat(e," (TDPSA)"),value:"TDPSA"})}if(l){let e=t?t.t("common.montana"):"Montana";h.push({label:"".concat(e," (MCDPA)"),value:"MCDPA"})}if(c&&!isStateNoticeHidden(a,"OR")){let e=t?t.t("common.oregon"):"Oregon";h.push({label:"".concat(e," (OCPA)"),value:"OCPA"})}if(u&&!isStateNoticeHidden(a,"UT")){let e=t?t.t("common.utah"):"Utah";h.push({label:"".concat(e," (UTCPA)"),value:"UTCPA"})}let _=t?t.t("common.us","United States"):"United States";v.push({label:_,value:"USA",children:h.sort((e,t)=>e.label.localeCompare(t.label))});let C=!1;if(m){let e=t?t.t("common.canada"):"Canada";v.push({label:"".concat(e),value:"PIPEDA"}),C=!0}if(p){let e=t?t.t("common.eea_uk"):"EEA/UK";v.push({label:e,value:"GDPR"}),C=!0}if(d){let e=t?t.t("common.voluntary"):"Other";v.push({label:"".concat(e),value:"VOLUNTARY"}),C=!0}return{locations:v,showCountrySelector:C}},isStateNoticeHidden=(e,t)=>{var a,i;let n=d.ANCHOR_BY_STATE[t];return!!n&&null!==(i=null===(a=e.hiddenStateSectionAnchors)||void 0===a?void 0:a.includes(n))&&void 0!==i&&i}},4801:function(e,t,a){"use strict";a.d(t,{E:function(){return getHostedUrl},Yr:function(){return generateOnRequestSubmit},bN:function(){return optOutTitleTranslationKey},ej:function(){return getCookie}});let getHostedUrl=(e,t)=>e.hostedUrlBase?new URL(e.hostedUrlBase.replace(":privacyCenterId",e.publicId)+(t?"/".concat(t):"")):null,generateOnRequestSubmit=function(e,t,a){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return async n=>{if(!a||i){t(!0);return}let{hasWorked:o,...s}=n;o&&(s.context="EMPLOYEE"),delete s.location,t(!1);let r=await fetch(a,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(s)});if(r.ok){let t=await r.json();e(t)}else t(!0)}},getCookie=e=>{let t=document.cookie.split(";").map(e=>e.split("=")).filter(t=>{let[a]=t;return a.trim()===e});return t.length>0?t[0][1]:null},optOutTitleTranslationKey=e=>{var t,a;let i=null===(t=e.sellingAndSharing)||void 0===t?void 0:t.sharing,n=null===(a=e.sellingAndSharing)||void 0===a?void 0:a.selling;return i||n?"privacy_choices.title":null}},7580:function(){}}]);