1import{j as a}from"./chunk-jsx-runtime.js";import{A as ca}from"./chunk-AlertMessage.js";import{M as _}from"./chunk-Modal.js";import{I as j,E as T}from"./chunk-Input.js";import{B as z}from"./chunk-Button.js";import{z as d,u as O,t as q}from"./chunk-index2.js";import{s as ma,b as da}from"./chunk-index3.js";import{r as e,w as W,R as Y,a as H}from"./chunk-react-to-webcomponent.js";import{O as $,P as pa,C as J,T as K,D as X,R as ua,a as xa}from"./privacy-policy-modal.js";import{c as ha,s as Q,v as fa,S as ya}from"./sign-in-form.js";import{R as ga}from"./chunk-Recaptcha.js";import{E as wa}from"./chunk-ErrorIcon.js";import{e as ba,a as ja}from"./chunk-dynamicYield.js";import{g as U}from"./chunk-index4.js";import{c as Na}from"./chunk-clsx.js";import{c as M}from"./chunk-utils.js";import{g as Sa}from"./chunk-acg2.js";import"./chunk-transition.js";import"./chunk-render.js";import"./chunk-dialog.js";import"./chunk-keyboard.js";import"./chunk-use-event-listener.js";import"./chunk-index.js";import"./chunk-dotcms-apollo-client.js";import"./chunk-tslib.es6.js";import"./chunk-dotcms-axios-client.js";import"./chunk-index5.js";import"./chunk-base.js";import"./chunk-index6.js";import"./chunk-dpo-axios-client.js";import"./chunk-browser.js";import"./chunk-toString.js";import"./chunk-isArray.js";import"./chunk-get2.js";import"./chunk-dayjs.min.js";const Ca=d.object({email:d.string({message:"Please enter your email."}).email("Invalid email format"),optIn:d.boolean()}),ka=({email:s,redirect:n="",onSuccess:t})=>{const{control:v,handleSubmit:p,formState:{isValid:g,isSubmitting:x}}=O({mode:"all",defaultValues:{email:s,optIn:!0},resolver:q(Ca)}),[h,l]=e.useState(),c=e.useCallback(async N=>{const{email:S,optIn:y}=N;if(S!=""){const u={email:S.trim(),optIn:y,messageTypes:["promotions"],sourceid:"21046"},f=await ma(u);f&&f.httpStatusCode===200?(window.location.href=n,setTimeout(()=>{t({userInfo:null,stencilList:null})},1e3)):l(!0)}},[n,t]);return a.jsxs("form",{onSubmit:p(c),className:"nav-w-full",children:[a.jsx("p",{className:"nav-font-bold nav-text-h3",children:"Download as a Guest"}),a.jsxs("div",{className:"nav-my-[16px] nav-flex nav-flex-col nav-justify-center nav-gap-4",children:[a.jsx("div",{className:"w-full nav-relative nav-mb-2",children:a.jsx(j,{name:"email",label:"Email Address",type:"email",placeholder:"[email protected]",required:!0,control:v,prefixEl:a.jsx("div",{className:"nav-pr-[10px]",children:a.jsx(T,{className:"nav-h-6 nav-w-6"})})})}),a.jsx(j,{type:"checkbox",name:"optIn",control:v,variant:"inline",label:"Receive free emails and newsletters with featured tips, templates, and promotional offers"}),a.jsx("div",{className:"nav-py-2 nav-text-p100",children:"I acknowledge that I am only licensed to use Avery templates and software with genuine Avery products."}),a.jsx(z,{variant:"main_primary",type:"submit",disabled:!g||x,children:"DOWNLOAD"}),a.jsxs("div",{className:"nav-mt-5 nav-text-p100",children:["By downloading a template, you agree to the Avery",a.jsxs("a",{className:"nav-font-medium nav-text-p100 nav-text-avy-blue-600 hover:nav-text-avy-blue-700 hover:nav-underline",target:"_blank",rel:"noopener",title:"Go to the Terms of Service page",href:"/about-us/legal/terms-and-conditions",children:[" ","Terms of Service"]})," ","and",a.jsxs("a",{className:"nav-font-medium nav-text-p100 nav-text-avy-blue-600 hover:nav-text-avy-blue-700 hover:nav-underline",target:"_blank",rel:"noopener",title:"Go to the Privacy Policy",href:"/about-us/legal/privacy-policy",children:[" ","Privacy Policy."]})]})]}),h&&a.jsx(_,{size:"sm",open:!0,onClose:()=>l(!1),withHeaderDivider:!1,children:a.jsx(ca,{variant:"error",title:"Oops!Something went wrong. Please try again!!!",description:"If issues persist, contact Consumer Care at (800) 462-8379."})})]})},Ia=d.object({email:d.string().min(1,"Email is required").email("Invalid email format"),firstName:d.string().min(1,"First name is required"),lastName:d.string().min(1,"Last name is required"),password:d.string().min(8,"Must contain at least 8 characters").max(48,"Must be less than 48 characters."),optIn:d.boolean().default(!0)}),Z=({email:s,source_id:n,redirect:t,onChangeEmail:v,onSuccess:p})=>{var A,C;const[g,x]=e.useState("password"),[h,l]=e.useState(null),{control:c,register:N,handleSubmit:S,watch:y,setError:u,formState:{isValid:f,isSubmitting:k,errors:m}}=O({defaultValues:{email:s||"",firstName:"",lastName:"",password:"",optIn:!0},mode:"onChange",resolver:q(Ia)}),P=e.useCallback(r=>{var i;p&&p(r),ba(((i=r.userInfo)==null?void 0:i.consumerId)||"",s||"")},[p]),L=e.useCallback(async r=>{try{const i=r.optIn?["promotions"]:[],E=new URL(document.URL).searchParams,b={email:r.email.toLowerCase(),firstName:r.firstName.trim(),lastName:r.lastName.trim(),password:r.password,optIn:r.optIn,messageTypes:i,demandbase:null,recaptcha:h};E.get("sourceId")&&(b.sourceId=E.get("sourceId")),n&&(b.sourceId=n);const R=await da();b.countryCode=R||"US";const F=await ha(b);ja(F.data.consumerId,r.email),await Q(r.email,r.password,t,P)}catch(i){console.error(`[SignUpForm] create account error: 2`,i),u("email",{message:"Invalid Email Address"})}},[h,n,t,P,u]),w=e.useCallback(r=>{r.preventDefault(),x(i=>i=="password"?"text":"password")},[]),I=e.useCallback(r=>{r.preventDefault(),v&&v()},[v]);return a.jsxs("form",{onSubmit:S(L),className:"nav-w-full",children:[a.jsx("p",{className:"nav-font-bold nav-text-h3",children:"Create Account"}
2),a.jsxs("div",{className:"nav-mt-1 nav-flex nav-flex-wrap nav-items-center nav-gap-1",children:[a.jsx("p",{className:"nav-mb-0 nav-text-lc200",children:"Already have an account?"}),a.jsx("a",{href:U("/secure/sign-in"),className:"nav-font-bold nav-text-lc200 nav-text-avy-blue-600 hover:nav-text-avy-blue-700 hover:nav-underline",children:"Sign in"})]}),a.jsxs("div",{className:"nav-my-[16px] nav-flex nav-flex-col nav-justify-center nav-gap-4",children:[a.jsxs("div",{className:"w-full nav-relative nav-mb-2",children:[a.jsx("button",{type:"button",onClick:I,className:"nav-absolute -nav-top-[4px] nav-right-0 nav-z-10 nav-font-medium nav-text-lc200 nav-text-avy-blue-600 hover:nav-text-blue-700 hover:nav-underline",children:"Use different email"}),a.jsx(j,{name:"email",label:"Email Address",type:"email",placeholder:"[email protected]",required:!0,control:c,prefixEl:a.jsx("div",{className:"nav-pr-[10px]",children:a.jsx(T,{className:"nav-h-6 nav-w-6"})})})]}),a.jsxs("div",{className:"nav-mb-1 nav-grid nav-w-full nav-grid-cols-1 nav-gap-[24px] md:nav-grid-cols-2",children:[a.jsx(j,{name:"firstName",label:"First Name",required:!0,control:c}),a.jsx(j,{name:"lastName",label:"Last Name",required:!0,control:c})]}),a.jsxs("div",{className:"nav-relative nav-mb-3 nav-flex nav-flex-col nav-gap-2",children:[a.jsxs("div",{className:"nav-flex nav-items-center nav-justify-between",children:[a.jsxs("label",{htmlFor:"password",className:"!nav-mb-0 nav-text-l200 nav-text-avy-neutral-800",children:["Password ",a.jsx("span",{className:"nav-text-p200 nav-text-avy-red-600",children:"*"})," "]}),a.jsxs("button",{type:"button",className:"nav-flex nav-items-center nav-gap-1 nav-text-p100 nav-text-avy-neutral-800",onClick:w,children:[g==="password"?a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"nav-h-4 nav-w-4",children:[a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 010-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178z"}),a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"})]}):a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"nav-h-4 nav-w-4",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.98 8.223A10.477 10.477 0 001.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0112 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 01-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 10-4.243-4.243m4.242 4.242L9.88 9.88"})})," ",g==="password"?"show":"hide"]})]}),a.jsxs("div",{className:Na("nav-flex nav-items-center nav-rounded-avy nav-border-1 nav-border-avy-neutral-800 focus-within:nav-border-transparent focus-within:nav-outline-none focus-within:nav-ring-2",m.password?"nav-border-avy-red-600 nav-bg-red-50 focus-within:nav-ring-avy-red-600":"nav-bg-avy-neutral-0 focus-within:nav-ring-avy-blue-600"),children:[a.jsx("div",{className:"nav-absolute nav-left-2",children:a.jsx("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",className:"nav-h-5 nav-w-5",viewBox:"0 0 25 30",children:a.jsx("path",{className:"nav-fill-[#B9B9B9]",d:`M6.8,13.6h10.9V9.5c0-3-2.5-5.5-5.5-5.5S6.8,6.5,6.8,9.5V13.6z M24.5,15.7V28c0,1.1-0.9,2-2,2H2 3 c-1.1,0-2-0.9-2-2V15.7c0-1.1,0.9-2,2-2h0.7V9.5C2.7,4.3,7,0,12.3,0s9.5,4.3,9.5,9.5v4.1h0.7C23.6,13.6,24.5,14.6,24.5,15.7z`})})}),a.jsx("input",{type:g,id:"password",...N("password"),required:!0,"aria-required":!0,className:"nav-w-full nav-bg-transparent nav-px-[0.75rem] nav-py-[0.5rem] nav-pl-8 nav-outline-none",minLength:8,maxLength:48}),m.password&&a.jsx(wa,{className:"nav-absolute nav-right-2 nav-h-5 nav-w-5 nav-fill-avy-red-600"})]}),a.jsxs("div",{className:"nav-left-0 nav-top-[40%] nav-flex nav-h-auto nav-w-full nav-items-center nav
3-justify-between nav-overflow-hidden nav-text-l100 nav-text-avy-red-600",role:"alert",children:[m.password&&m.password.message=="Password is required"&&m.password.message,a.jsx("span",{className:[((A=m.password)==null?void 0:A.message)=="Password is required"?"nav-hidden":"",((C=m.password)==null?void 0:C.message)=="Must contain at least 8 characters"?"nav-text-avy-red-600":"nav-text-avy-neutral-800"].join(" "),children:"Must contain at least 8 characters"}),a.jsxs("span",{className:"nav-text-avy-neutral-800",children:[y("password").length,"/8"]})]})]}),a.jsx(j,{type:"checkbox",name:"optIn",control:c,variant:"inline",label:"Receive free newsletter with featured templates, tips, and ideas"}),a.jsxs("div",{className:"nav-py-2 nav-text-p100",children:["This information is used to create your Account and is stored securely. Avery will never sell your information but may use it in order ot improve the products and services we offer. By creating an account, you agree to"," ",a.jsx("a",{className:"nav-font-medium nav-text-p100 nav-text-avy-blue-600 hover:nav-text-avy-blue-700 hover:nav-underline",href:U("/about-us/legal/privacy-policy"),children:"Avery's Privacy Policy"}),"."," "]}),a.jsx(ga,{onChange:l}),a.jsx(z,{variant:"main_primary",type:"submit",disabled:!f||k||!h,children:"CREATE ACCOUNT"})]})]})};W(Z,H,Y);const Aa=ua,Da=pa,aa=e.forwardRef(({className:s,...n},t)=>a.jsx($,{className:M("nav-data-[state=open]:nav-animate-in nav-data-[state=closed]:nav-animate-out nav-data-[state=closed]:nav-fade-out-0 nav-data-[state=open]:nav-fade-in-0 nav-fixed nav-inset-0 nav-z-[8888] nav-bg-[#091834]/90",s),...n,ref:t}));aa.displayName=$.displayName;const Pa={auto:"nav-my-[16px] nav-w-auto",sm:"nav-w-[300px]",md:"nav-w-[500px]",lg:"nav-w-[700px]",xl:"nav-w-[900px]",fullscreen:"nav-w-[100vw] nav-h-[100vh]"},ea=e.forwardRef(({className:s,size:n="auto",children:t,...v},p)=>a.jsxs(Da,{children:[a.jsx(aa,{}),a.jsx(J,{ref:p,className:M("nav-data-[state=open]:nav-animate-in nav-data-[state=closed]:nav-animate-out nav-data-[state=closed]:nav-fade-out-0 nav-data-[state=open]:nav-fade-in-0 nav-data-[state=closed]:nav-zoom-out-95 nav-data-[state=open]:nav-zoom-in-95 nav-data-[state=closed]:nav-slide-out-to-left-1/2 nav-data-[state=closed]:nav-slide-out-to-top-[48%] nav-data-[state=open]:nav-slide-in-from-left-1/2 nav-data-[state=open]:nav-slide-in-from-top-[48%] nav-fixed nav-left-[50%] nav-top-[50%] nav-z-[8888] nav-mx-[16px] nav-my-[100px] nav-grid nav-w-full nav-max-h-[calc(100vh-200px)] nav-translate-x-[-50%] nav-translate-y-[-50%] nav-border-0 nav-bg-white nav-shadow-lg nav-duration-200 nav-rounded-lg nav-text-left sm:nav-rounded-lg",Pa[n],s),...v,children:t})]}));ea.displayName=J.displayName;const na=e.forwardRef(({className:s,...n},t)=>a.jsx(K,{ref:t,className:M("nav-text-lg nav-font-semibold nav-leading-none nav-tracking-tight",s),...n}));na.displayName=K.displayName;const Ea=e.forwardRef(({className:s,...n},t)=>a.jsx(X,{ref:t,className:M("nav-text-sm nav-text-avy-neutral-700",s),...n}));Ea.displayName=X.displayName;function Ma(s,n,t){window.dataLayer&&window.dataLayer.push({event:"template-download",templateUri:s,fileName:`${s} - ${n} - ${t}`})}function La(s,n){try{window.DY.API("event",{name:"template-download",properties:{templateNumber:s,type:n}})}catch(t){console.error(`[DY] unable to emit the template downloadable to DY: ${t}`)}}const Ra=d.object({email:d.string({required_error:"Email is required"}).email("Invalid email format")}),Fa=({is_open:s="false",redirect:n,is_guestform:t="false",postdownload_modal:v="{}"})=>{const[p,g]=e.useState(!1),[x,h]=e.useState(!1),[l,c]=e.useState(null),[N,S]=e.useState(!1),[y,u]=e.useState(!1),[f,k]=e.useState(!1),[m,P]=e.useState(),L=e.useMemo(()=>{try{return JSON.parse(v)}catch(o){return console.error("Invalid JSON in postdownload_modal:",o),{}}},[v]),{postDownloadModalName:w="",templateUri:I="",templateDescription:A="",fileType:C=""}=L,{control:r,getValues:i,handleSubmit:E,reset:b,formState:{isSubmitting:R,isValid:F}}=O({mode:"onChange",defaultValues:{email:""},resolver:q(Ra)}),ta=e.useCallback(async o=>{const{email:B}=o;if(B!="")try{await fa(B),S(!0)}catch{u(!0)}},[]);e.useEffect(()=>{w&&Sa(w).then(o=>o&&P(o))},[w]);const sa=e.useCallback(()=>{u(!1),b()},[b]),V=e.useCallback(()=>{g(!0)},[]),D=e.useCallback(()=>{w&&(Ma(I,A,C),La(I,C)),t==="true"&&setTimeout(()=>{V()},1e3)},[w,I,A,C,t,V]),ra=e.useCallback(o=>{c(o),h(!0)},[]),oa=e.useCallback(async()=>{l&&(await Q(l.email,l.password,n,D),c(null),h(!1))},[l,n,D]),la=e.useCallback(o=>{h(o)},[]),ia=e.useCallback(()=>{c(null)},[]),va=s==="true"&&!p,G=e.useCallback(o=>{o||(x||window.dispatchEvent(new Event("modalonclose")),c(null))},[x]);return a.jsxs(a.Fragment,{children:[a.jsx(Aa,{open:va,onOpenChange:G,children:a.jsxs(ea,{size:"xl",className:"nav-overflow-y-auto nav-p-0",onPointerDownOutside:o=>{x&&o.preventDefault()},onEscapeKeyDown:o=>{x&&o.preventDefault()},children:[a.jsx(na,{className:"nav-sr-only",children:"Sign in"}),a.jsx("button",{type:"button",onClick:()=>G(!1),className:"nav-absolute nav-right-1 nav-top-1 nav-z-50 nav-mt-3 nav-rounded nav-border-none nav-p-1 nav-font-heavy nav-text-h1 hover:nav-border-none hover:nav-bg-transparent hover:nav-opacity-70","aria-label":"Close",children:a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",className:"nav-h-6 nav-w-6",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})}),a.jsxs("div",{className:"nav-mt-12 nav-grid nav-grid-cols-1 nav-gap-4 nav-px-4 nav-pb-4 md:nav-grid-cols-2",children:[a.jsxs("section",{className:"nav-order-last nav-mt-10 nav-flex nav-flex-col nav-gap-6 nav-self-start nav-px-[34px] md:nav-order-first",children:[a.jsx("p",{className:"nav-mb-0 nav-pb-3 nav-font-bold nav-text-2xl",children:"Enjoy the benefits of an Avery Account"}),a.jsxs("span",{className:"nav-flex nav-flex-row nav-gap-5",children:[a.jsx("img",{alt:"upload icon","aria-hidden":"true",width:51,height:39,src:"https://www.avery.com/app/images/icons/ksp/icon-grey-upload.svg",loading:"lazy"}),a.jsxs("span",{children:[a.jsx("p",{className:"nav-text-avy-lc400 nav-mb-0 nav-font-bold",children:"Save Your Projects"}),a.jsx("p",{className:"nav-mb-0 nav-text-avy-sm nav-text-avy-neutral-700",children:"Easily access your Avery Design & Print projects online from any device."})]})]}),a.jsxs("span",{className:"nav-flex nav-flex-row nav-gap-5",children:[a.jsx("img",{alt:"picture icon","aria-hidden":"true",width:51,height:39,src:"https://www.avery.com/app/images/icons/ksp/icon-grey-picture.svg",loading:"lazy"}),a.jsxs("span",{children:[a.jsx("p",{className:"nav-text-avy-lc400 nav-mb-0 nav-font-bold",children:"Create A Design Suite"}),a.jsx("p",{className:"nav-mb-0 nav-text-avy-sm nav-text-avy-neutral-700",children:"Apply your saved designs to other Avery products and create a matching collection."})]})]}),a.jsxs("span",{className:"nav-flex nav-flex-row nav-gap-5",children:[a.jsx("img",{alt:"email icon","aria-hidden":"true",width:51,height:39,src:"https://www.avery.com/app/images/icons/ksp/icon-grey-email.svg",loading:"lazy"}),a.jsxs("span",{children:[a.jsx("p",{className:"nav-text-avy-lc400 nav-mb-0 nav-font-bold",children:"Join Our Free Newsletter"}),a.jsx("p",{className:"nav-mb-0 nav-text-avy-sm nav-leading-[18px] nav-text-avy-neutral-700",children:"Receive information on featured products, promotions, and ideas."})]})]})]}),a.jsx("section",{className:"nav-flex nav-flex-row nav-gap-6",children:a.jsxs("div",{className:"nav-bg-avy-neutral-50 nav-p-4 nav-px-12",children:[t==="true"&&(y||f)&&a.jsxs("div",{className:"nav-mb-6 nav-mt-4 nav-text-p100",children:[a.jsxs("div",{className:"nav-flex nav-items-center nav
3-pb-3",children:[a.jsx("input",{onClick:()=>{u(!0),k(!1)},checked:y,className:"nav-pt-1",id:"createAccountRadio",type:"radio"}),a.jsx("label",{className:"nav-mb-0 nav-pl-3 nav-pt-[1px] nav-text-avy-xs",htmlFor:"createAccountRadio",children:"Create an Account"})]}),a.jsxs("div",{className:"pb-2 nav-flex nav-items-center",children:[a.jsx("input",{onClick:()=>{k(!0),u(!1)},checked:f,id:"downloadAsGuestRadio",type:"radio"}),a.jsx("label",{className:"nav-mb-0 nav-pl-3 nav-pt-[1px] nav-text-avy-xs",htmlFor:"downloadAsGuestRadio",children:"Download as a guest"})]})]}),!N&&!y&&!f&&a.jsxs("form",{onSubmit:E(ta),noValidate:!0,autoComplete:"on",children:[a.jsx("p",{className:"nav-pb-3 nav-font-bold nav-text-h3",children:"Enter your email address"}),a.jsx("div",{className:"nav-pb-2",children:a.jsx(j,{name:"email",label:"Email Address",type:"email",placeholder:"[email protected]",required:!0,autocomplete:"true",control:r,prefixEl:a.jsx("div",{className:"nav-pr-[10px]",children:a.jsx(T,{className:"nav-h-6 nav-w-6"})})})}),a.jsx(z,{variant:"main_primary",type:"submit",disabled:R||!F,sx:"nav-px-[16px] nav-py-2 nav-w-full nav-my-4",children:"NEXT"}),a.jsx("hr",{className:"nav-my-12 nav-border-avy-neutral-300"}),a.jsxs("p",{className:"nav-mb-6 nav-text-lc200",children:["New to Avery?"," ",a.jsx("a",{className:"nav-text-lc200 nav-text-avy-blue-600 hover:nav-cursor-pointer hover:nav-text-avy-blue-700 hover:nav-underline",onClick:()=>u(!0),children:"Create an Account"}),t==="true"&&a.jsxs(a.Fragment,{children:["Â ORÂ ",a.jsx("a",{onClick:()=>k(!0),className:"nav-text-lc200 nav-text-avy-blue-600 hover:nav-cursor-pointer hover:nav-text-avy-blue-700 hover:nav-underline",title:"Go to the sign in as a guest form",children:"Download as a guest"})]})]}),a.jsxs("div",{className:"nav-mb-4 nav-text-b100",children:["By signing into your account, you agree to the Avery",a.jsxs("a",{className:"nav-font-medium nav-text-b100 nav-text-avy-blue-600 hover:nav-text-avy-blue-700 hover:nav-underline",target:"_blank",rel:"noopener",title:"Go to the Terms of Service page",href:"/about-us/legal/terms-and-conditions",children:[" ","Terms of Service"]})," ","and",a.jsxs("a",{className:"nav-font-medium nav-text-b100 nav-text-avy-blue-600 hover:nav-text-avy-blue-700 hover:nav-underline",target:"_blank",rel:"noopener",title:"Go to the Privacy Policy",href:"/about-us/legal/privacy-policy",children:[" ","Privacy Policy."]})]})]}),N&&a.jsx(ya,{redirect:n,email:i("email"),onSuccess:D,onRequiresPrivacyAcceptance:ra}),y&&a.jsx(Z,{email:i("email"),redirect:n,source_id:t==="true"?"21046":void 0,onChangeEmail:sa,onSuccess:D}),f&&a.jsx(ka,{email:i("email"),redirect:n,onSuccess:D})]})})]})]})}),p&&a.jsx(_,{open:!0,withHeaderDivider:!1,size:"lg",children:a.jsx("div",{dangerouslySetInnerHTML:{__html:(m==null?void 0:m.body)||""}})}),a.jsx(xa,{open:x,onOpenChange:la,consumerId:(l==null?void 0:l.consumerId)??null,onAccept:oa,onDecline:ia})]})},Ta=W(Fa,H,Y,{props:{is_open:"string",redirect:"string",is_guestform:"string",postdownload_modal:"string"}});customElements.define("avy-sign-in-modal",Ta);
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.