1import{d as V,a0 as $,U as B,T as I,V as D,o as N,W as q,R as F,a as l,c as m,b as s,f as t,N as T,q as W,x as A,p as h,h as u,F as k,e as c,t as Y,j as p,w as b,_ as y,E as G,g as S,l as z,k as x,G as E}from"./app-B9UOfUiq.js";import{_ as H,a as O}from"./UnsubscribeModal.vue_vue_type_script_setup_true_lang-BO9cMoCl.js";try{let i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new i.Error().stack;o&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[o]="b3d58dd7-3812-44ee-952a-322254a04b24",i._sentryDebugIdIdentifier="sentry-dbid-b3d58dd7-3812-44ee-952a-322254a04b24")}catch{}const J={class:"container mx-auto"},K={class:"flex w-full gap-4"},Q={class:"shrink text-center hidden mt-2 md:flex flex-col gap-2"},X=["srcset"],Z=["srcset"],ee=["srcset"],se={class:"grow text-center"},te={class:"mx-auto my-4"},ie={class:"mx-auto my-4 max-w-xl"},ne={class:"mx-auto my-4 max-w-xl"},ae={key:0},oe={class:"shrink text-center hidden mt-2 md:flex flex-col gap-2"},re=["srcset"],le=["srcset"],ue=["srcset"],me=V({__name:"UnsubscribePrintfinity",props:{campaign:String,email:String,reCaptcha:Boolean,success:Boolean,type:String},setup(i){const o=i,j=z(),n=$(),R=B(),g=I(),U=x(!1),v=x(!1),C=x(!1),a=D({campaign:o.campaign,email:o.email,type:"","g-recaptcha-response":""});function M(){v.value=!0,E.visit("/")}function _(){C.value=!0,E.visit("/")}function f(d){a.type=d,a["g-recaptcha-response"]||!o.reCaptcha?w():g.execute()}function w(){a.post("/unsubPrintfinity/",{preserveScroll:!0,onFinish:d=>{a.hasErrors||(U.value=!0),a["g-recaptcha-response"]=""},onError:()=>{}})}function P(d){a["g-recaptcha-response"]=d,w()}return N(()=>{g.pushResponseCallback(P)}),q(()=>{g.popResponseCallback()}),(d,e)=>{const L=F("Link");return l(),m(k,null,[s("div",J,[s("div",K,[s("div",Q,[s("img",{srcset:t(n).get("/images/unsubscribe/printfinity1.jpg")+", "+t(n).get("/images/unsubscribe/[email protected]")+" 2x",alt:"Two Colored Mug with Colored Rim Interior"},null,8,X),s("img",{srcset:t(n).get("/images/unsubscribe/printfinity2.jpg")+", "+t(n).get("/images/unsubscribe/[email protected]")+" 2x",alt:"Retractable Banner with Display Stand"},null,8,Z),s("img",{srcset:t(n).get("/images/unsubscribe/printfinity3.jpg")+", "+t(n).get("/images/unsubscribe/[email protected]")+" 2x",alt:"Hard Cover Planner 5x8"},null,8,ee)]),s("div",se,[e[16]||(e[16]=s("h1",{class:"uppercase"},"Printfinity Email Preferences For:",-1)),s("form",{class:"flex flex-col max-w-4xl mx-auto",onSubmit:e[4]||(e[4]=T(r=>f(""),["prevent"]))},[o.email?u("",!0):W((l(),m("input",{key:0,id:"email","onUpdate:modelValue":e[0]||(e[0]=r=>t(a).email=r),type:"email",name:"email",required:"",placeholder:"Your Email Address",class:h(["block w-80 mx-auto",t(a).errors.email&&"error"]),oninvalid:"this.setCustomValidity('Please enter a valid email address')",oninput:"this.setCustomValidity('')"},null,2)),[[A,t(a).email]]),o.email?(l(),m(k,{key:1},[c(Y(t(a).email),1)],64)):u("",!0),i.reCaptcha?(l(),m("div",{key:2,class:h(["mx-auto my-4",t(a).errors["g-recaptcha-response"]&&"border border-red"])},null,2)):u("",!0),s("div",te,[e[8]||(e[8]=s("h2",{class:"uppercase"},"Continue to Receive Email:",-1)),e[9]||(e[9]=s("p",null,"Please click the button below to continue receiving emails.",-1)),p(L,{href:"/",onClick:e[1]||(e[1]=r=>t(j).track("GC Unsub Page","Clicked Continue Receiving Email"))},{default:b(()=>[p(y,{primary:""},{default:b(()=>[...e[7]||(e[7]=[c(" Continue Receiving Email ",-1)])]),_:1})]),_:1})]),s("div",ie,[e[11]||(e[11]=s("h2",{class:"uppercase"},"Receive Less Email:",-1)),e[12]||(e[12]=s("p",null,"We understand that your inbox can fill up quickly. We offer a Limited Email Program that you can sign up for today. Once you've signed up, you will only receive a few emails a year with our best offers and latest product announcements.",-1)),p(y,{primary:"",onClick:e[2]||(e[2]=r=>f("limited"))},{default:b(()=>[...e[10]||(e[10]=[c(" Receiving Less Email ",-1)])]),_:1})]),s("div",ne,[e[15]||(e[15]=G('<h2 class="uppercase">Unsubscribe:</h2><p>You'll miss out on special promotions and announcements if you unsubscribe. <br> You will no longer receive:</p><ul class="list-disc max-w-xs mx-auto my-4"><li class="text-left">Exclusive deals, special offers and discounts</li><li class="text-left">New product announcements</li><li class="text-left">Exciting giveaways and contest news</li></ul><p>Unsubscribe from Printfinity emails.</p>',4)),t(R).canada?(l(),m("p",ae,[...e[13]||(e[13]=[c("As required by law we will c
1omply with your request within",-1),s("br",null,null,-1),c("the shortest reasonable time not to exceed 10 days.",-1)])])):u("",!0),p(y,{primary:"",onClick:e[3]||(e[3]=r=>f("unsubscribe"))},{default:b(()=>[...e[14]||(e[14]=[c(" Unsubscribe ",-1)])]),_:1})])],32)]),s("div",oe,[s("img",{srcset:t(n).get("/images/unsubscribe/printfinity4.jpg")+", "+t(n).get("/images/unsubscribe/[email protected]")+" 2x",alt:"Sandstone Coaster Circle"},null,8,re),s("img",{srcset:t(n).get("/images/unsubscribe/printfinity5.jpg")+", "+t(n).get("/images/unsubscribe/[email protected]")+" 2x",alt:"Stainless Steel Laser Engraved Water Bottle"},null,8,le),s("img",{srcset:t(n).get("/images/unsubscribe/printfinity6.jpg")+", "+t(n).get("/images/unsubscribe/[email protected]")+" 2x",alt:"Mousepad Square with Rounded Corners"},null,8,ue)])])]),i.success&&i.type=="limited"&&!v.value?(l(),S(H,{key:0,onCloseUnsubscribeLimitedModal:e[5]||(e[5]=r=>M())})):u("",!0),i.success&&i.type=="unsubscribe"&&!C.value?(l(),S(O,{key:1,onCloseUnsubscribeModal:e[6]||(e[6]=r=>_())})):u("",!0)],64)}}});export{me as default};
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.