PageSourceSearch

https://www.prettylitter.com/_nuxt/BillboardLitterBagOffer.a0e485ef.js

js prettylitter.com collected 2026-10-02 03:55:39 UTC 5,133 bytes, 1 lines download raw bytes

1import{_ as re}from"./CdnImage.cde68b02.js";import{_ as oe}from"./ReviewCount.d1d15076.js";import{_ as le}from"./Button.7d18ad96.js";import{k as ne,j as ie,A as E,u as se,o as l,c as n,a as r,s as a,l as e,b as c,P as G,Q,y as d,t as J,w as ce,d as de}from"./entry.4fe30dff.js";const me={class:"mb-4 text-center"},ue={key:0,class:"flex justify-center content-center"},ge=["innerHTML"],fe={key:1,class:"text-6xl text-grey-500 mb-2"},pe=["innerHTML"],ye=["innerHTML"],xe={key:0,class:"grid justify-center content-center mt-4 mb-6"},he=["innerHTML"],_e={__name:"BillboardLitterBagOffer",props:{showReviewCount:{type:Object,default:!0},addNavbarPadding:{type:Boolean,default:!1},usBillboard:{type:Object,default:{image:{wrapperStyle:"w-full h-full md:w-1/2 md:h-auto px-6 mt-4 md:mt-0 md:px-0 md:mx-0",main:"pages/hero_1499",style:"w-full h-full rounded-lg object-cover",alt:"Prettylitter"},title:"Try Your First<br /> Bag For Only",price:"$14.99",intro:"*Then receive 1 bag every 4 weeks for $24.<br /> Cancel or change your frequency any time.",ctaText:"claim deal today",deliveryInfo:"Free Delivery in the Contiguous US<br /> 30-Day Risk-Free Guarantee"}},useCAIntro4WeekText:{type:Boolean,default:!1}},emits:["getDeal"],setup(i,{emit:K}){const m=i,X=K,s=ne(!1),g=async()=>{s.value||(s.value=!0,await X("getDeal"),setTimeout(()=>{s.value=!1},2e3))},Z=ie().public,t=E(()=>{var o;return Z.store.toLowerCase()==="us"?m.usBillboard:{image:(o=m.usBillboard)==null?void 0:o.image,title:"Try Your First<br /> Bag For Only",price:"$19.99",intro:"*Then receive 1 bag every 4 weeks for $30.<br/> Cancel or change your frequency any time.",ctaText:"claim deal today",deliveryInfo:""}}),ee=E(()=>{var o,u;return((u=(o=m.usBillboard)==null?void 0:o.image)==null?void 0:u.main)||"pages/hero_1499"});return se({link:[{rel:"preload",as:"image",href:`https://res.cloudinary.com/prettylitter/image/upload/w_750,h_563,q_auto:good,f_auto,dpr_2.0,c_fill/${ee.value}`,fetchpriority:"high"}]}),(o,u)=>{var p,y,x,h,_,v,b,w,T,C,k,B,S,L,P,F,H,M,j,I,N,D,$,q,A,O,R,V,z,U,W,Y;const f=re,te=oe,ae=le;return l(),n("div",{class:a([((p=e(t))==null?void 0:p.bgColor)||"bg-grey-200","overflow-hidden",{"pt-16 md:pt-20":i.addNavbarPadding}])},[r("div",{class:a(["container max-w-[1500px] h-auto",{"min-h-[600px] md:min-h-[550px] lg:min-h-[600px]":i.addNavbarPadding}])},[r("div",{class:a(["flex flex-col md:flex-row",((y=e(t))==null?void 0:y.direction)==="reverse"?"md:!flex-row-reverse":""])},[r("div",{class:a([((h=(x=e(t))==null?void 0:x.image)==null?void 0:h.wrapperStyle)||"w-full h-full md:w-1/2 md:h-auto px-6 mt-4 md:mt-0 md:px-0 md:mx-0","aspect-[4/3]"])},[c(f,{src:((v=(_=e(t))==null?void 0:_.image)==null?void 0:v.main)||"pages/hero_1499",class:a([((w=(b=e(t))==null?void 0:b.image)==null?void 0:w.style)||"w-full h-full rounded-lg object-cover","aspect-[4/3]"]),alt:((C=(T=e(t))==null?void 0:T.image)==null?void 0:C.alt)||"Prettylitter",quality:"q_auto:good",width:"750",height:"563",cropMode:"c_fill",onClick:g,loading:"eager",fetchpriority:"high"},null,8,["src","class","alt"]),G(c(f,{src:(B=(k=e(t))==null?void 0:k.image)==null?void 0:B.aux,alt:(L=(S=e(t))==null?void 0:S.image)==null?void 0:L.auxAlt,class:a([(F=(P=e(t))==null?void 0:P.image)==null?void 0:F.auxStyle,"absolute z-0 top-2 md:top-5 w-[94px] md:w-[160px]"]),fetchFormat:((M=(H=e(t))==null?void 0:H.image)==null?void 0:M.auxFormat)||"f_svg","data-testid":"billboard-img-aux",loading:"eager",width:"160"},null,8,["src","alt","class","fetchFormat"]),[[Q,!!((I=(j=e(t))==null?void 0:j.image)!=null&&I.aux)]])],2),r("div",{class:a(["w-full content-center md:w-1/2 px-4",((N=e(t))==null?void 0:N.bgColor)||"bg-grey-200"])},[r("div",{class:a(["w-full h-full grid justify-center content-center mt-11 md:mt-6 pb-6",(D=e(t))==null?void 0:D.contentWrapperStyle])},[r("div",me,[i.showReviewCount?(l(),n("div",ue,[c(te)])):d("",!0),r("h1",{class:a(["text-grey-500 text-4xl 2xs:text-5xl font-normal my-2",e(t).titleStyle]),innerHTML:e(t).title},null,10,ge),e(t).originalPrice||e(t).price?(l(),n("h3",fe,[G(r("span",{class:"line-through text-secondary-500 mr-2"},J(e(t).originalPrice),513),[[Q,!!(($=e(t))!=null&&$.originalPrice)]]),r("span",{innerHTML:e(t).price},null,8,pe)])):d("",!0),e(t).intro?(l(),n("p",{key:2,innerHTML:e(t).intro,class:a(["text-grey-500 font-normal md:font-normal text-center text-sm md:text-sm",(q=e(t))==null?void 0:q.introStyle])},null,10,ye)):d("",!0)]),r("div",{class:a(["relative text-center mx-auto",(O=(A=e(t))==null?void 0:A.cta)==null?void 0:O.containerCTAStyle])},[c(ae,{class:a(["bg-primary-800 w-full h-14 text-white font-sansbold text-lg md:text-xl",(R=e(t))==null?void 0:R.ctaStyle]),type:((z=(V=e(t))==null?void 0:V.cta)==null?void 0:z.ctaType)||"button",href:(W=(U=e(t))==null?void 0:U.cta)==null?void 0:W.ctaUrl,loadingState:e(s),onClick:g},{default:ce(()=>[de(J(e(t).ctaText),1)]),_:1},8,["class","type","href","loadingState"])],2),e(t).deliveryInfo?(l(),n("div",xe,[r("p",{class:a(["text-grey-500 text-center text-sm",(Y=e(t))==null?void 0:Y.deliveryInfoStyle]),innerHTML:e(t).deliveryInfo}
1,null,10,he)])):d("",!0)],2)],2)],2)],2)],2)}}},Ce=_e;export{Ce as _};

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.