PageSourceSearch

https://www.attachedapp.com/_next/static/chunks/6153.70f2b31ebd8af742.js

js attachedapp.com collected 2026-09-25 02:34:06 UTC 36,002 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6153],{1079:(e,t,r)=>{r.d(t,{$f:()=>s,GI:()=>n,H2:()=>a,ds:()=>i,wm:()=>l});let a={initial:{opacity:0,y:12},in:{opacity:1,y:0}},l={duration:.6,ease:[.22,.55,0,1]},n={initial:{},in:{transition:{staggerChildren:.085,delayChildren:.02}}},i=()=>window.matchMedia("(prefers-reduced-motion: reduce)").matches,s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;return Math.round(Math.max(0,Math.min(1,e))*t)/t}},6153:(e,t,r)=>{r.r(t),r.d(t,{default:()=>ei});var a=r(7876),l=r(4232),n=r(4587),i=r.n(n),s=r(5728),o=r(2165),c=r(9463),u=r(3485),d=r(1487),p=r(7145);let x=[{x:170,y:300,s:.58,r:-10},{x:810,y:280,s:.56,r:12},{x:320,y:470,s:.62,r:6},{x:700,y:520,s:.6,r:-6},{x:520,y:360,s:.66,r:0},{x:140,y:560,s:.56,r:-14},{x:430,y:530,s:.36,r:10},{x:910,y:540,s:.34,r:-8},{x:600,y:570,s:.38,r:6},{x:360,y:590,s:.33,r:-4},{x:820,y:430,s:.32,r:14},{x:120,y:430,s:.34,r:-2}];function m(e){let{petal:t,onReady:r,bushVisible:n=!1,reducedMotion:i=!1}=e,s=(0,l.useRef)(null),m=(0,l.useRef)(r);m.current=r;let[f,h]=(0,l.useState)(()=>Array(6).fill(null)),w=(0,l.useRef)({}),[v,g]=(0,l.useState)(0),b=(0,l.useRef)(!1);(0,l.useEffect)(()=>{if(h(Array(6).fill(null)),w.current={},b.current=!1,g(0),i){let e=[];for(let r=0;r<6;r++){let a=r>=3,l=a?d.r3:d.pi,n=o.Z[r%o.Z.length],i=(0,d.LP)(r%o.Z.length,a?"small":"large"),s="bush_variant_".concat(r,"_").concat(a?"s":"l"),u=(0,c.gN)({petal:t,tiltX:n.tx,tiltY:n.ty,tiltZ:n.tz,nx:l.nx,nt:l.nt,tMin:l.tMin,tMax:l.tMax,scale:l.scale,thetaOffset:i});e.push({id:s,polys:u})}h(e);let r=performance.now();for(let e=0;e<x.length;e++)w.current[e]=r-280;return}let e=!1,r=0;return requestAnimationFrame(function a(){if(e||r>=6)return;let l=r++,n=l>=3,i=n?d.r3:d.pi,s=o.Z[l%o.Z.length],u=(0,d.LP)(l%o.Z.length,n?"small":"large"),p="bush_variant_".concat(l,"_").concat(n?"s":"l"),x=(0,c.gN)({petal:t,tiltX:s.tx,tiltY:s.ty,tiltZ:s.tz,nx:i.nx,nt:i.nt,tMin:i.tMin,tMax:i.tMax,scale:i.scale,thetaOffset:u});h(e=>{let t=[...e];return t[l]={id:p,polys:x},t}),r<6&&setTimeout(a,0)}),()=>{e=!0}},[t,i]);let y=f.filter(Boolean).length;return(0,l.useEffect)(()=>{if(!n)return;let e=performance.now(),t=!1;for(let r=0;r<6;r++)if(f[r])for(let a of function(e){let t=[];for(let r=0;r<x.length;r++)3*(x[r].s<.45)+r%3===e&&t.push(r);return t}(r))void 0===w.current[a]&&(w.current[a]=e,t=!0);t&&g(e=>e+1)},[n,y,f]),(0,l.useEffect)(()=>{if(i){if(y>=6&&!b.current){var e;b.current=!0,null==(e=m.current)||e.call(m)}return}if(0===y||!n)return;let t=!0;return requestAnimationFrame(function e(){if(!t)return;let r=performance.now(),a=!1;for(let e=0;e<x.length;e++){let t=w.current[e];if(void 0!==t&&r-t<280){a=!0;break}}if(g(e=>e+1),a||y<6)requestAnimationFrame(e);else if(!b.current){var l;b.current=!0,null==(l=m.current)||l.call(m)}}),()=>{t=!1}},[y,n,i]),(0,p.g)({canvasRef:s,viewBox:{w:1e3,h:900},preserveAspectRatio:"none",deps:[f,v],draw:(e,t)=>{let r=Math.sqrt(t.x*t.y),a=performance.now();for(let l=0;l<x.length;l++){let n=x[l],s=f[3*(n.s<.45)+l%3];if(!s)continue;let o=w.current[l];if(void 0===o)continue;let c=Math.min(1,(a-o)/280),d=i?1:1-Math.pow(1-c,3);d<=0||(e.save(),e.translate(n.x,n.y),e.scale(r/t.x,r/t.y),e.rotate(n.r*Math.PI/180),e.scale(n.s*d,n.s*d),(0,u.L)(e,{cx:0,cy:58,rx:62,ry:18,fill:"#000",opacity:.07*d}),(0,u.N)(e,s.polys,n.s*r*d),e.restore())}}}),(0,a.jsx)("div",{className:"absolute inset-0",children:(0,a.jsx)("canvas",{ref:s,className:"pointer-events-none absolute inset-0 h-full w-full","aria-hidden":!0})})}var f=r(7727),h=r(8171),w=r(4917),v=r(4015);function g(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")}function b(e){var t;let{copy:r,state:n,dispatch:o,bushContainerRef:c,reducedMotion:u}=e,{step:d,flower:p,flowerSelectionSource:x,transition:b}=n,[y,N]=(0,l.useState)(0),j=(0,l.useRef)(!1),E=(0,l.useRef)(null),_=(0,l.useCallback)(e=>{N(t=>Math.max(t,e))},[]),k=(0,l.useCallback)(()=>{_(3),E.current=setTimeout(()=>_(4),500)},[_]);(0,l.useEffect)(()=>{if(1!==d)return;if(j.current)return void N(4);j.current=!0,_(1);let e=setTimeout(()=>_(2),400);return()=>{clearTimeout(e),E.current&&clearTimeout(E.current)}},[d,_]);let[T,A]=(0,l.useState)(!1),S=(0,v.tL)(),R=p?w.Rt[p]:null,C=null!=(t=null==R?void 0:R.petal)?t:w.Rt.rose_red.petal;return(0,a.jsxs)("div",{className:"relative flex h-[100svh] flex-col overflow-hidden bg-gradient-to-b from-[#bfe8ff] via-[#92d8ff] to-[#7cc8ff]",children:[(0,a.jsx)(h.A,{}),(0,a.jsx)("div",{className:g("absolute left-1/2 top-[5%] z-50 -translate-x-1/2 transition-all duration-500 ease-out",y>=1?"opacity-100":"opacity-0 translate-y-4"),children:(0,a.jsx)(s.A,{size:"md"})}),(0,a.jsxs)("div",{className:"relative mx-auto flex w-full max-w-[430px] flex-col items-center px-6 pt-[calc(12%+80px+2vh)]",children:[(0,a.jsx)("div",{className:g("w-full transition-all duration-500 ease-out delay-150",y>=1?"opacity-100":"opacity-0 translate-y-4"),children:(0,a.jsx)(f.A,{step:d})}),(0,a.jsx)("div",{className:g("absolute top-[calc(12%+80px+2vh+80px+5vh)] text-center text-[20px] text-black/60 transition-opacity duration-500 ease-out",y>=2&&y<4?"opacity-100":"opacity-0 pointer-events-none"),children:r.step1Growing}),(0,a.jsx)("div",{className:g("text-center text-[24px] leading-none text-black sm:text-[26px]","mt-[5vh] transition-all duration-500 ease-out",y>=4?"opacity-100":"opacity-0 translate-y-4"),children:r.step1Heading}),(0,a.jsx)("div",{className:g("mt-10 flex w-full max-w-[90%] items-center justify-center gap-[4%] sm:max-w-[50%] md:max-w-[60%] transition-all duration-500 ease-out",y>=4?"opacity-100":"opacity-0 translate-y-4"),children:w.wK.map(e=>{let t=p===e;return(0,a.jsx)("button",{type:"button","aria-label":r.getSelectOptionLabel(r.flowerNames[e]),onClick:()=>o({type:"SELECT_FLOWER",flower:e}),className:g("aspect-square w-[13%] md:w-[56px] rounded-full border transition",t?"border-black/60 ring-2 ring-white/80":"border-white/70"),style:{background:w.Rt[e].petal}},e)})})]}),(0,a.jsx)("div",{ref:c,className:g("relative w-full flex-1 overflow-hidden sm:mx-auto sm:max-w-[430px] sm:rou
1nded-t-[24px] md:max-w-none md:rounded-t-none lg:max-w-[900px] lg:rounded-t-[24px] transition-all duration-700 ease-out",y>=2?"translate-y-0":"translate-y-full","throwing"===b&&"opacity-0 duration-500"),children:(0,a.jsxs)("div",{className:g("relative h-full w-full",T&&"animate-bouquet-wobble"),children:[(0,a.jsx)(i(),{src:"/assets/images/virtual-flowers/send-virtual-flowers-landing-bushes.webp",alt:r.roseBushesAlt,fill:!0,priority:!0,className:"object-cover object-bottom",sizes:"100vw"}),(0,a.jsx)("div",{className:g("transition-opacity duration-500 ease-out","throwing"===b?"opacity-0":"opacity-100"),children:(0,a.jsx)(m,{petal:C,onReady:k,bushVisible:y>=2,reducedMotion:u})})]})}),p&&y>=4&&"throwing"!==b&&(0,a.jsx)("div",{className:"fixed bottom-[3svh] left-0 right-0 z-50 mx-auto w-full max-w-[430px] px-6 animate-fade-in-up",children:(0,a.jsx)("button",{type:"button",onClick:()=>{if("experiment"===x&&o({type:"SELECT_FLOWER",flower:p,source:"user"}),S("flowers_step1_next_click",{flower:p}),u)return void o({type:"SET_STEP",step:2});A(!0),setTimeout(()=>{A(!1),o({type:"SET_TRANSITION",transition:"throwing"})},250)},className:"w-full rounded-full px-8 py-5 text-[clamp(18px,4.5vw,20px)] font-medium shadow-[0_20px_60px_rgba(0,0,0,0.14)] transition active:scale-[0.99] sm:text-[28px]",style:{color:"#0B4F22",backgroundColor:"#FFFFFF"},children:r.nextCta})})]})}var y=r(8230),N=r.n(y),j=r(3193),E=r(87),_=r(367),k=r(7551),T=r(8295),A=r(5249),S=r(9024),R=r(4271),C=r(2257),M=r(8887),F=r(9099),O=r(1062),P=r(6572);let B={romantic:{withName:"Sent to [b]{name}[/b] \uD83C\uDF37 Now make the next week better than the flowers — your [hl]free[/hl] couples challenge →",withoutName:"Sent \uD83C\uDF37 Now make the next week better than the flowers — your [hl]free[/hl] couples challenge →"},friend:{withName:"Sent to [b]{name}[/b] \uD83C\uDF37 Keep it going — your [hl]free[/hl] friendship blueprint →",withoutName:"Sent \uD83C\uDF37 Keep it going — your [hl]free[/hl] friendship blueprint →"},family:{withName:"Sent to [b]{name}[/b] \uD83C\uDF37 Keep it going — your [hl]free[/hl] family blueprint →",withoutName:"Sent \uD83C\uDF37 Keep it going — your [hl]free[/hl] family blueprint →"},coworker:{withName:"Sent to [b]{name}[/b] \uD83C\uDF37 Now take five minutes for you — your [hl]free[/hl] self-love challenge →",withoutName:"Sent \uD83C\uDF37 Now take five minutes for you — your [hl]free[/hl] self-love challenge →"}};function L(e){let{recipientType:t,toName:r}=e,n=(0,F.useRouter)(),i=function(e){var t;let{recipientType:r,toName:a}=e,l=null!=(t=B[r])?t:B.romantic,n=(a||"").trim();return n?l.withName.replace("{name}",n.replace(/\[/g,"[").replace(/\]/g,"]")):l.withoutName}({recipientType:t,toName:r}),s=(0,P.Ru)(n.locale,P.oG);return(0,a.jsx)("a",{href:s,target:"_blank",rel:"noopener noreferrer",onClick:()=>(0,O.rT)(s,{location:"flowers_post_share_card",linkText:i}),className:"mb-4 block w-full overflow-hidden rounded-[22px] bg-[#0B4F22] px-5 py-4 text-white no-underline shadow-[0_16px_36px_rgba(12,79,34,0.24)]",children:(0,a.jsx)("p",{className:"text-[17px] font-medium leading-snug",children:i.split(/(\[hl\].*?\[\/hl\]|\[b\].*?\[\/b\])/g).filter(Boolean).map((e,t)=>{let r=e.match(/^\[hl\](.*)\[\/hl\]$/);if(r)return(0,a.jsx)("span",{className:"font-semibold text-[#FAFF00]",children:r[1]},t);let n=e.match(/^\[b\](.*)\[\/b\]$/);return n?(0,a.jsx)("span",{className:"font-semibold",children:n[1]},t):(0,a.jsx)(l.Fragment,{children:e},t)})})})}var I=r(1918),W=r(9021);let D="flex h-14 w-14 items-center justify-center rounded-full",q="text-[22px]",z="tissue",H="white";function Z(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")}let Y=l.memo(A.A);function V(e){let{copy:t,locale:r,state:n,dispatch:i,nextButtonWrapRef:o,nextButtonHeightPx:c,reducedMotion:u}=e,{step:d,flower:p,wrap:x,bow:m,recipientType:g,message:b,toName:y,fromName:A,isReady:F,showPreview:O,showMessagePanel:P,showConfetti:B,showSharePanel:V,confettiRunId:J}=n,[G,K]=(0,l.useState)(!1),[X,U]=(0,l.useState)(!1),$="en"===r,Q=(0,v.tL)(),[ee,et]=(0,l.useState)(!1),er=(0,l.useCallback)(e=>{Q("flowers_share_click",{method:e,recipient_type:g}),et(!0)},[Q,g]),ea=(0,l.useRef)(!1);(0,l.useEffect)(()=>{ee&&!ea.current&&(ea.current=!0,Q("flowers_post_share_state",{recipient_type:g}))},[ee,Q,g]);let el=(0,l.useRef)(new Set);(0,l.useEffect)(()=>
1{if(F||2!==d&&3!==d||el.current.has(d))return;let e=setTimeout(()=>{el.current.add(d),Q(2===d?"flowers_wrap_step_view":"flowers_message_step_view",{skip_wrap_step:!1})},250);return()=>clearTimeout(e)},[d,F,Q]);let en=(0,l.useRef)(!1),ei=(0,l.useRef)(null),es=(0,l.useRef)(null),[eo,ec]=(0,l.useState)("");(0,l.useEffect)(()=>{es.current||(es.current="".concat(window.location.origin).concat((0,W.vA)("/send-virtual-flowers/edit",r)))},[r]),(0,l.useEffect)(()=>{!(d<2)&&(x||i({type:"SELECT_WRAP",wrap:z}),m||i({type:"SELECT_BOW",bow:H}))},[d,x,m,i]);let eu=null!=x?x:z,ed=null!=m?m:H,ep=(0,l.useDeferredValue)(p),ex=(0,l.useDeferredValue)(x),em=(0,l.useDeferredValue)(m),ef=p?(()=>{let e=(0,I.YJ)({flower:p,wrap:eu,bow:ed,recipientType:g,message:b,toName:y,fromName:A});return e?"".concat(window.location.origin).concat((0,W.vA)("/send-virtual-flowers/receive/".concat(e),r)):""})():"",eh=eo||ef;(0,l.useEffect)(()=>{if(!F||!p)return void ec("");let e=!1;return ec(""),fetch("/api/flowers/save",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({flower:p,wrap:eu,bow:ed,recipientType:g,message:b,toName:y,fromName:A})}).then(async e=>{if(!e.ok)throw Error("Failed to save bouquet");return e.json()}).then(t=>{let{id:a}=t;!e&&"string"==typeof a&&a.trim()&&ec("".concat(window.location.origin).concat((0,W.vA)("/send-virtual-flowers/receive/".concat(a),r)))}).catch(()=>{}),()=>{e=!0}},[F,p,eu,ed,g,b,y,A,r]);let ew=(0,l.useCallback)(()=>{u||(ei.current&&clearTimeout(ei.current),K(!1),requestAnimationFrame(()=>{K(!0),ei.current=setTimeout(()=>K(!1),500)}))},[u]),ev=(0,l.useCallback)(e=>{if(e&&window.location.href!==e)try{window.history.replaceState(window.history.state,"",e)}catch(e){}},[]);(0,l.useEffect)(()=>{V&&eh&&ev(eh)},[V,eh,ev]);let eg=eh.trim().length>0;return(0,a.jsxs)("div",{className:Z("relative min-h-[100svh] bg-gradient-to-b from-[#bfe8ff] via-[#92d8ff] to-[#7cc8ff]",F?"overflow-x-hidden lg:overflow-hidden":3!==d||F?"overflow-hidden":"overflow-x-hidden"),children:[(0,a.jsx)(h.A,{}),(0,a.jsx)("div",{className:"absolute left-1/2 top-[5%] z-[1000] -translate-x-1/2",children:(0,a.jsx)(s.A,{size:"md"})}),(0,a.jsxs)("div",{className:Z("relative mx-auto flex w-full max-w-5xl flex-col items-center px-6",3!==d||F?"min-h-[100svh]":"h-[100svh]",F?"pt-[calc(10%+80px)] pb-[60vh] lg:pb-10 lg:pt-[calc(5%+80px)]":"pt-[calc(8%+110px)] pb-0 sm:pt-[calc(10%+80px+2vh)] lg:pt-[calc(5%+90px)]"),children:[!F&&(0,a.jsx)(f.A,{step:d}),(0,a.jsx)("div",{className:Z("text-center text-[24px] leading-none text-black sm:text-[26px]",F?"mt-10":"mt-[5%] sm:mt-[2vh]"),children:F?t.readyHeading:3===d?t.step3Heading:t.step2Heading}),F?(0,a.jsxs)("div",{className:"mt-[-42%] flex w-full flex-1 flex-col items-center justify-start lg:mt-0 lg:flex-row lg:items-center lg:justify-center lg:gap-8",children:[(0,a.jsxs)("div",{className:"relative flex w-full max-w-[430px] items-center justify-center lg:-mt-[30%] lg:h-[80vh] lg:w-1/2 lg:max-w-[600px]",children:[(0,a.jsx)("div",{className:"mx-auto h-[60vh] w-full max-w-[420px] cursor-pointer overflow-visible lg:h-full lg:max-w-[580px] lg:origin-center lg:scale-[1.35]",onClick:ew,children:(0,a.jsx)(S.A,{petal:p?w.Rt[p].petal:"#CBD5E1",wrapA:x?w._t[x].colorA:"#E5E7EB",wrapB:x?w._t[x].colorB:"#D1D5DB",bowColor:m?w.sr[m].color:"#9CA3AF",longBowTails:"twine"===m,bowVariant:(0,w.w6)(m),zoom:1.25,yOffset:-12,wrapVariant:(0,w.Oe)(x),shaking:G})}),(0,a.jsx)("div",{className:"pointer-events-none absolute left-[60%] top-[85%] w-[70px] -translate-x-1/2 -translate-y-1/2 rotate-[-8deg] rounded-[6px] bg-[#FFF6D9] px-1.5 py-1 text-[6px] text-black shadow-[0_9px_25px_rgba(0,0,0,0.14)]",children:(0,a.jsx)("div",{className:"whitespace-pre-wrap break-words leading-snug",children:(b.trim()||t.notePreviewFallback).slice(0,64)})})]}),B&&("romantic"===g?(0,a.jsx)(C.A,{onComplete:()=>i({type:"CONFETTI_DONE"})},"hearts-".concat(J)):(0,a.jsx)(R.A,{onComplete:()=>i({type:"CONFETTI_DONE"})},"confetti-".concat(J))),(0,a.jsxs)("div",{className:Z("fixed bottom-0 left-0 right-0 z-40 w-full transition-all duration-500 ease-out sm:mx-auto sm:max-w-[520px]","lg:static lg:w-1/2 lg:max-w-[480px] lg:translate-y-0 lg:opacity-100",V?"translate-y-0 opacity-100":"translate-y-full opacity-0"),children:[(0,a.jsx)("div",{className:"px-4 pb-3 sm:px-8",children:(0,a.jsx)("button",{type:"button",onClick:()=>{es.current&&ev(es.current),ec(""),U(!1),i({type:"RESET"})},className:"w-full rounded-full border-2 border-black/15 bg-white py-4 text-[18px] font-medium text-black/80 shadow-sm transition active:scale-[0.98]",children:t.sendAnotherBouquet})}),(0,a.jsx)("div",{className:"rounded-t-[34px] bg-[#F5F0E5] px-4 pt-6 shadow-[0_-24px_80px_rgba(0,0,0,0.20)] sm:px-8 lg:rou
1nded-[34px] lg:pb-6 lg:shadow-[0_24px_80px_rgba(0,0,0,0.14)]",children:(0,a.jsxs)("div",{className:"h-full overflow-y-auto pr-1",children:[(0,a.jsx)("div",{className:"text-center text-[18px] leading-tight text-black",children:(0,a.jsx)("div",{className:"font-normal",children:t.shareHeadingAfterRecipient?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("b",{children:t.shareHeadingBeforeRecipient})," ",y?(0,a.jsx)("b",{children:y}):t.yourRecipient," ",t.shareHeadingAfterRecipient]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("b",{children:t.shareHeadingBeforeRecipient}),y?(0,a.jsx)("b",{children:y}):t.yourRecipient]})})}),"en"===r&&ee&&(0,a.jsx)("div",{className:"mt-4",children:(0,a.jsx)(L,{recipientType:g,toName:y})}),$&&(0,a.jsx)("button",{type:"button",disabled:!eg,onClick:()=>{if(!eg)return;let e="undefined"!=typeof navigator&&!!navigator.share;er(e?"primary_web_share":"primary_sms"),e?navigator.share({url:eh}).catch(()=>{}):window.location.href="sms:&body=".concat(encodeURIComponent(eh))},className:Z("mt-4 w-full rounded-full py-4 text-[18px] font-semibold text-white shadow-[0_14px_40px_rgba(11,79,34,0.35)] transition active:scale-[0.99]",eg?"bg-[#0B4F22]":"cursor-not-allowed bg-[#0B4F22]/50"),children:"Send to ".concat(y.trim()||"them"," \uD83D\uDC90")}),(0,a.jsxs)("div",{className:"mt-3 flex items-start justify-center gap-6",children:["undefined"!=typeof navigator&&!!navigator.share&&(0,a.jsxs)("button",{type:"button",onClick:()=>{eg&&(er("web_share"),navigator.share({url:eh}).catch(()=>{}))},disabled:!eg,className:Z("flex flex-col items-center",!eg&&"cursor-not-allowed opacity-50"),children:[(0,a.jsx)("div",{className:Z(D,"bg-[#E8E8E8]"),children:(0,a.jsx)(j.B88,{className:Z(q,"text-black/80")})}),(0,a.jsx)("span",{className:"text-[13px] text-black/70",children:t.shareVia})]}),(0,a.jsxs)("div",{className:"relative flex flex-col items-center",children:[(0,a.jsx)("button",{type:"button",disabled:!eg,onClick:()=>{var e;if(!eg)return;er("copy_link");let t=()=>{let e=document.createElement("textarea");e.value=eh,e.style.position="fixed",e.style.opacity="0",document.body.appendChild(e),e.focus(),e.select(),document.execCommand("copy"),document.body.removeChild(e)};(null==(e=navigator.clipboard)?void 0:e.writeText)?navigator.clipboard.writeText(eh).catch(t):t(),U(!0),setTimeout(()=>U(!1),2e3)},className:Z(D,"bg-[#E8E8E8]",!eg&&"cursor-not-allowed opacity-50"),children:(0,a.jsx)(j.ayE,{className:Z(q,"text-black/80")})}),(0,a.jsx)("span",{className:"text-[13px] text-black/70",children:t.copyLink}),X&&(0,a.jsx)("div",{className:"absolute -top-9 left-1/2 -translate-x-1/2 whitespace-nowrap rounded-full bg-black/80 px-3 py-1 text-[12px] text-white",children:t.copiedToClipboard})]}),(0,a.jsxs)("a",{href:eg?"sms:&body=".concat(encodeURIComponent(eh)):"#","aria-disabled":!eg,onClick:e=>{if(!eg)return void e.preventDefault();er("sms")},className:Z("flex flex-col items-center",!eg&&"pointer-events-none opacity-50"),children:[(0,a.jsx)("div",{className:Z(D,"bg-gradient-to-b from-[#5EF67E] to-[#2DC84E]"),children:(0,a.jsx)(E.efQ,{className:Z(q,"text-white")})}),(0,a.jsx)("span",{className:"text-[13px] text-black/70",children:t.messages})]}),(0,a.jsxs)("a",{href:eg?"mailto:?body=".concat(encodeURIComponent(eh)):"#","aria-disabled":!eg,onClick:e=>{if(!eg)return void e.preventDefault();er("email")},className:Z("flex flex-col items-center",!eg&&"pointer-events-none opacity-50"),children:[(0,a.jsx)("div",{className:Z(D,"bg-gradient-to-b from-[#5AC0F5] to-[#1A8CEB]"),children:(0,a.jsx)(_.mIG,{className:Z(q,"text-white")})}),(0,a.jsx)("span",{className:"text-[13px] text-black/70",children:t.mail})]})]}),!eg&&(0,a.jsx)("div",{className:"mt-3 text-center text-[13px] text-black/55",children:t.preparingShareLink}),(0,a.jsx)("div",{className:"mt-2",children:(0,a.jsx)(M.A,{copy:t,recipientType:g,receiverName:y,locale:r})}),"en"===r&&(0,a.jsxs)(N(),{href:"/send-a-virtual-hug/edit",className:"mt-3 block w-full rounded-full border border-black/10 bg-white py-3.5 text-center text-[16px] font-semibold text-[#B23A55] shadow-sm transition active:scale-[0.99]",children:["Send ",y?"".concat(y," "):"them ","a virtual hug too â
1†’"]}),(0,a.jsx)("div",{className:"h-6 lg:h-0"})]})})]})]}):3===d?(0,a.jsxs)("div",{className:Z("mt-10 flex w-full max-w-[430px] flex-1 flex-col min-h-0 transition-all duration-500 ease-out",P?"translate-y-0 opacity-100":"translate-y-12 opacity-0"),style:{paddingBottom:"calc(5svh + ".concat(c||92,"px + 16px)")},children:[(0,a.jsx)("div",{className:"flex justify-start",children:(0,a.jsxs)("div",{className:"relative w-full max-w-[360px]",children:[(0,a.jsxs)("select",{value:g,onChange:e=>i({type:"SET_RECIPIENT_TYPE",recipientType:e.target.value}),className:"w-full appearance-none rounded-[22px] bg-[#FFF6D9] py-4 pl-6 pr-12 text-[22px] text-black shadow-[0_18px_50px_rgba(0,0,0,0.10)] outline-none",children:[(0,a.jsx)("option",{value:"romantic",children:t.recipientOptions.romantic}),(0,a.jsx)("option",{value:"family",children:t.recipientOptions.family}),(0,a.jsx)("option",{value:"friend",children:t.recipientOptions.friend}),(0,a.jsx)("option",{value:"coworker",children:t.recipientOptions.coworker})]}),(0,a.jsx)("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",className:"pointer-events-none absolute right-5 top-1/2 h-6 w-6 -translate-y-1/2 text-black/70",fill:"none",children:(0,a.jsx)("path",{d:"M6 9l6 6 6-6",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})})]})}),(0,a.jsxs)("div",{className:"mt-3 flex min-h-[10vh] flex-1 flex-col rounded-[28px] bg-[#FFF6D9] p-6 shadow-[0_24px_80px_rgba(0,0,0,0.18)]",children:[(0,a.jsxs)("div",{className:"mb-4 flex items-center gap-3 text-[24px] text-black",children:[(0,a.jsx)("div",{className:"shrink-0",children:t.toLabel}),(0,a.jsx)("input",{value:y,onChange:e=>i({type:"SET_TO_NAME",toName:e.target.value}),maxLength:I.e9,placeholder:t.toNamePlaceholder,className:"w-full bg-transparent text-[24px] text-black placeholder:text-black/40 outline-none"})]}),(0,a.jsx)("textarea",{value:b,onChange:e=>i({type:"SET_MESSAGE",message:e.target.value}),maxLength:I.wP,placeholder:t.messagePlaceholder,rows:10,className:"w-full flex-1 min-h-0 resize-none overflow-y-auto bg-transparent text-[28px] leading-snug text-black placeholder:text-black/40 outline-none"}),(0,a.jsxs)("div",{className:"mt-8 flex items-center gap-3 text-[24px] text-black",children:[(0,a.jsx)("div",{className:"shrink-0",children:t.fromLabel}),(0,a.jsx)("input",{value:A,onChange:e=>i({type:"SET_FROM_NAME",fromName:e.target.value}),maxLength:I.e9,placeholder:t.fromNamePlaceholder,className:"w-full bg-transparent text-[24px] text-black placeholder:text-black/40 outline-none"})]})]})]}):(0,a.jsx)("div",{className:"-mt-20 flex w-full flex-1 flex-col sm:mt-10 md:block",children:(0,a.jsxs)("div",{className:"grid flex-1 gap-2 sm:gap-6 md:grid-cols-[1fr_1fr] md:items-center",children:[(0,a.jsx)("div",{className:"relative z-10 mt-auto mb-[35%] space-y-4 md:mt-0 md:mb-0 md:flex md:items-center md:justify-center md:min-h-full",children:(0,a.jsxs)("div",{className:"pb-0 sm:pt-10 sm:pb-0",children:[(0,a.jsx)("div",{className:"flex items-center justify-center gap-[clamp(1.5rem,4vw,3rem)]",children:Object.entries(w._t).map(e=>{let[r,l]=e,n=x===r,s=(0,w.Oe)(r);return(0,a.jsx)("button",{type:"button","aria-label":t.getSelectOptionLabel(t.wrapNames[r]),"aria-pressed":n,onClick:()=>i({type:"SELECT_WRAP",wrap:r}),className:Z("h-20 w-20 md:h-[clamp(5rem,10vw,7rem)] md:w-[clamp(5rem,10vw,7rem)] overflow-hidden rounded-2xl border border-black/10 transition",n&&"ring-4 ring-black/60"),children:(0,a.jsxs)("svg",{viewBox:"0 0 420 360",preserveAspectRatio:"xMidYMid meet",className:"h-full w-full",children:[(0,a.jsx)("defs",{children:(0,a.jsx)(T.A,{part:"defs",clipPathId:"picker-".concat(r),wrapA:l.colorA,wrapB:l.colorB,variant:s})}),(0,a.jsx)(T.A,{part:"back",clipPathId:"picker-".concat(r),wrapA:l.colorA,wrapB:l.colorB,variant:s}),(0,a.jsx)(T.A,{part:"front",clipPathId:"picker-".concat(r),wrapA:l.colorA,wrapB:l.colorB,variant:s})]})},r)})}),(0,a.jsx)("div",{className:"mt-4 flex items-center justify-center gap-[clamp(1.5rem,4vw,3rem)] sm:mt-12",children:Object.entries(w.sr).map(e=>{let[r,l]=e,n=m===r,s=(0,w.w6)(r);return(0,a.jsx)("button",{type:"button","aria-label":t.getSelectOptionLabel(t.bowNames[r]),"aria-pressed":n,onClick:()=>i({type:"SELECT_BOW",bow:r}),className:Z("h-20 w-20 md:h-[clamp(5rem,10vw,7rem)] md:w-[clamp(5rem,10vw,7rem)] overflow-hidden rounded-2xl border border-black/10 transition",n&&"ring-4 ring-black/60"),
1children:(0,a.jsx)("svg",{viewBox:"-70 -30 140 100",preserveAspectRatio:"xMidYMid meet",className:"h-full w-full",children:(0,a.jsx)(k.A,{x:0,y:0,color:l.color,variant:s})})},r)})})]})}),(0,a.jsx)("div",{className:"order-first origin-top scale-[1.15] overflow-visible md:order-none md:scale-100 md:overflow-visible md:flex md:items-center md:justify-center",children:O?(0,a.jsx)(Y,{flower:ep,wrap:ex,bow:em}):(0,a.jsx)("div",{className:"h-[360px] w-full md:h-[60vh]"})})]})}),!F&&(0,a.jsx)("div",{ref:o,className:"fixed bottom-[5%] left-0 right-0 z-50 mx-auto w-full max-w-[430px] px-6",children:(0,a.jsx)("button",{type:"button",onClick:()=>{2===d&&i({type:"SET_STEP",step:3}),3!==d||F||(en.current||(en.current=!0,Q("flowers_bouquet_ready_click",{skip_wrap_step:!1,has_message:b.trim().length>0,has_to_name:y.trim().length>0})),i({type:"MARK_READY"}))},className:"w-full rounded-full px-8 py-5 text-[clamp(18px,4.5vw,20px)] font-medium shadow-[0_20px_60px_rgba(0,0,0,0.14)] transition active:scale-[0.99] sm:text-[28px]",style:{color:"#0B4F22",backgroundColor:"#FFFFFF"},children:t.nextCta})})]})]})}function J(e){return e<0?0:e>1?1:e}function G(e){return e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2}function K(e,t,r,a){let l=1-e;return l*l*t+2*l*e*r+e*e*a}function X(e,t,r,a,l){let n=J((e-a.stagger)/(1-a.stagger)),i=.7*(n<.5?.5*(1-(1-2*n)*(1-2*n)):.5+.5*(2*n-1)*(2*n-1))+.3*n,s=-150-a.apexJitterY,o=(t.x+r.x)/2+a.lateralJitter,c=K(i,t.x,o,r.x),u=K(i,t.y,s,r.y),d=G(n),p=t.scale*(1-d)+r.scale*d,x=a.lateralJitter>0?1:-1,m=t.rotation*(1-G(n)),f=x*G(n)*Math.PI*1.55,h=1-n*n*n;return{x:c,y:u,scale:p,rotation:m*h+f*h}}let U=[{x:150,y:148,s:.26,a:0},{x:185,y:140,s:.27,a:1},{x:220,y:138,s:.28,a:2},{x:255,y:148,s:.26,a:3},{x:285,y:162,s:.25,a:4},{x:150,y:178,s:.36,a:2},{x:180,y:170,s:.39,a:5},{x:212,y:165,s:.41,a:0},{x:246,y:172,s:.38,a:1},{x:278,y:182,s:.27,a:3},{x:170,y:200,s:.28,a:4},{x:242,y:210,s:.35,a:5}];function $(e){let{petal:t,wrapA:r,wrapB:n,wrapVariant:i,bowColor:s,bowVariant:p,longBowTails:m,bushContainerRef:f,onComplete:h}=e,w=(0,l.useRef)(null),v=(0,l.useRef)(null),g=(0,l.useRef)(h);g.current=h;let b=(0,l.useId)().replace(/:/g,""),y="throwWrapClip-".concat(b);return(0,l.useEffect)(()=>{var e;let r=w.current;if(!r)return;let a=Math.max(1,window.devicePixelRatio||1),l=window.innerWidth<768,n=l?Math.min(a,1.5):a,i=window.innerWidth,s=window.innerHeight;r.width=Math.round(i*n),r.height=Math.round(s*n),r.style.width="".concat(i,"px"),r.style.height="".concat(s,"px");let p=r.getContext("2d");if(!p)return;let m=null==(e=f.current)?void 0:e.getBoundingClientRect();if(!m)return void g.current();let h=function(e,t){let r=e.width/1e3,a=e.height/900,l=Math.sqrt(r*a);return t.map(t=>({x:e.left+t.x*r,y:e.top+t.y*a,scale:t.s*l,rotation:t.r*Math.PI/180}))}(m,x),b=Math.min(420,i-48),y=function(e,t){let r=Math.min(e.width/420,e.height/360),a=(e.width-420*r)/2,l=(e.height-360*r)/2;return t.map(t=>({x:e.left+a+t.x*r,y:e.top+l+t.y*r,scale:t.s*r,rotation:0}))}(new DOMRect((i-b)/2,.3*s,b,360/420*b),U),N=[];for(let e=0;e<x.length;e++){let r=x[e].s<.45,a=3*!!r+e%3,l=r?d.r3:d.pi,n=o.Z[a%o.Z.length],i=(0,d.LP)(a%o.Z.length,r?"small":"large");N.push((0,c.gN)({petal:t,tiltX:n.tx,tiltY:n.ty,tiltZ:n.tz,nx:l.nx,nt:l.nt,tMin:l.tMin,tMax:l.tMax,scale:l.scale,thetaOffset:i}))}let j=[];for(let e=0;e<U.length;e++){let r=U[e],a=r.s<.33?"small":"large",l="small"===a?d.JZ:d.VU,n=r.a%o.Z.length,i=o.Z[n];j.push((0,c.gN)({petal:t,tiltX:i.tx,tiltY:i.ty,tiltZ:i.tz,nx:l.nx,nt:l.nt,tMin:l.tMin,tMax:l.tMax,scale:l.scale,thetaOffset:(0,d.LP)(n,a)}))}let E=Array.from({length:x.length},(e,t)=>({stagger:.012*t,apexJitterY:30+17*t%60,lateralJitter:31*t%40-20})),_=0,k=!0,T=0,A=e=>{if(!k)return;_||(_=e),T++;let t=Math.min(1,(e-_)/1800);p.setTransform(n,0,0,n,0,0),p.clearRect(0,0,r.width/n,r.height/n);let a=Math.min(h.length,y.length),i=l?Math.min(8,a):a;for(let e=0;e<i;e++){let r=X(t,h[e],y[e],E[e],s),a=function(e,t,r,a,l){let n=X(e,t,r,a,l);return(X(Math.min(1,e+.005),t,r,a,l).y-n.y)/.005}(t,h[e],y[e],E[e],s);p.save(),p.translate(r.x,r.y),p.rotate(r.rotation);let l=90+40*r.scale,n=1-J((t-.75)/.25),i=l*n,o=Math.max(2.2,4*r.
1scale),c=-(.04*a);if(i>1&&(p.beginPath(),p.moveTo(0,10*r.scale),p.quadraticCurveTo(.6*c,10*r.scale+.45*i,.3*c,10*r.scale+i),p.strokeStyle="#166534",p.lineWidth=o,p.lineCap="round",p.globalAlpha=.88,p.stroke(),p.strokeStyle="#2F855A",p.lineWidth=.45*o,p.globalAlpha=.25,p.stroke(),n>.3)){let t=10*r.scale+.45*i,a=e%2==0?1:-1;p.save(),p.translate(.4*c,t),p.rotate(.5*a),p.beginPath(),p.moveTo(0,0),p.quadraticCurveTo(12*a,-6,18*a,2),p.quadraticCurveTo(10*a,5,0,0),p.fillStyle="#1F6F3D",p.globalAlpha=.7*n,p.fill(),p.restore()}let d=t>.45;p.scale(r.scale,r.scale),p.globalAlpha=1,(0,u.N)(p,d?j[e]:N[e],r.scale),p.restore()}if(v.current){let e=J((t-.55)/.3);v.current.style.opacity=String(e)}t<1?requestAnimationFrame(A):setTimeout(()=>g.current(),50)},S=requestAnimationFrame(A);return()=>{k=!1,cancelAnimationFrame(S)}},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{ref:v,className:"fixed inset-0 z-40 flex items-start justify-center",style:{opacity:0,paddingTop:"30vh"},"aria-hidden":!0,children:(0,a.jsxs)("div",{className:"relative",style:{width:Math.min(420,window.innerWidth-48)},children:[(0,a.jsxs)("svg",{viewBox:"0 0 420 360",preserveAspectRatio:"xMidYMid meet",className:"block h-auto w-full",children:[(0,a.jsx)("defs",{children:(0,a.jsx)(T.A,{part:"defs",clipPathId:y,wrapA:r,wrapB:n,variant:i})}),(0,a.jsx)(T.A,{part:"back",clipPathId:y,wrapA:r,wrapB:n,variant:i}),(0,a.jsx)(T.A,{part:"front",clipPathId:y,wrapA:r,wrapB:n,variant:i})]}),(0,a.jsx)("svg",{viewBox:"0 0 420 360",preserveAspectRatio:"xMidYMid meet",className:"pointer-events-none absolute inset-0 h-full w-full overflow-visible","aria-hidden":!0,children:(0,a.jsx)(k.A,{x:210,y:248,color:s,tailsLengthMultiplier:m?3:1,variant:p})})]})}),(0,a.jsx)("canvas",{ref:w,className:"pointer-events-none fixed inset-0 z-50","aria-hidden":!0})]})}var Q=r(1079);let ee={step:1,flower:void 0,flowerSelectionSource:void 0,wrap:void 0,bow:void 0,recipientType:"romantic",message:"",toName:"",fromName:"",isReady:!1,showPreview:!1,showMessagePanel:!1,showConfetti:!1,showSharePanel:!1,confettiRunId:0,transition:"idle"};function et(e,t){switch(t.type){case"SELECT_FLOWER":var r;return{...e,flower:t.flower,flowerSelectionSource:null!=(r=t.source)?r:"user"};case"SELECT_WRAP":return{...e,wrap:t.wrap};case"SELECT_BOW":return{...e,bow:t.bow};case"SET_STEP":{let r={...e,step:t.step};return t.step<2&&(r.showPreview=!1),3!==t.step||e.isReady||(r.showMessagePanel=!1),r}case"SET_RECIPIENT_TYPE":return{...e,recipientType:t.recipientType};case"SET_MESSAGE":return{...e,message:t.message};case"SET_TO_NAME":return{...e,toName:t.toName};case"SET_FROM_NAME":return{...e,fromName:t.fromName};case"MARK_READY":return{...e,isReady:!0,showSharePanel:!1,showConfetti:!0,confettiRunId:e.confettiRunId+1};case"SHOW_PREVIEW":return{...e,showPreview:!0};case"SHOW_MESSAGE_PANEL":return{...e,showMessagePanel:!0};case"CONFETTI_DONE":return{...e,showConfetti:!1,showSharePanel:!0};case"SET_TRANSITION":return{...e,transition:t.transition};case"THROW_COMPLETE":return{...e,showPreview:!0,step:2,transition:"landing"};case"RESET":return{...ee};case"RESTORE":return{...e,...t.saved,flowerSelectionSource:void 0};default:return e}}let er="virtualFlowers.bouquet.v1";function ea(e){try{let{flower:t,flowerSelectionSource:r,wrap:a,bow:l,step:n,recipientType:i,message:s,toName:o,fromName:c}=e;window.localStorage.setItem(er,JSON.stringify({flower:"experiment"===r?void 0:t,wrap:a,bow:l,step:n,recipientType:i,message:s,toName:o,fromName:c}))}catch(e){}}var el=r(986),en=r(3956);function ei(e){let{locale:t}=e,[r,n]=function(){let[e,t]=(0,l.useReducer)(et,ee),r=(0,l.useRef)(e);return r.current=e,(0,l.useEffect)(()=>{let e=function(){try{let e=window.localStorage.getItem(er);if(!e)return null;let t=JSON.parse(e),r=t.flower&&w.Rt[t.flower]?t.flower:void 0,a=t.wrap&&w._t[t.wrap]?t.wrap:void 0,l=t.bow&&w.sr[t.bow]?t.bow:void 0,n=t.recipientType&&["romantic","family","friend","coworker"].includes(t.recipientType)?t.recipientType:void 0,i=t.step&&(1===t.step||2===t.step||3===t.step)&&(3!==t.step||r&&a&&l)&&(2!==t.step||r)?t.step:r?a&&l?3:2:1;return{flower:r,wrap:a,bow:l,step:i,...n&&{recipientType:n},..."string"==typeof t.message&&{message:t.message},..."string"==typeof t.toName&&{toName:t.toName}
1,..."string"==typeof t.fromName&&{fromName:t.fromName}}}catch(e){return null}}();e&&t({type:"RESTORE",saved:e})},[]),(0,l.useEffect)(()=>{let t=window.setTimeout(()=>ea(e),400);return()=>window.clearTimeout(t)},[e.flower,e.flowerSelectionSource,e.wrap,e.bow,e.step,e.recipientType,e.message,e.toName,e.fromName]),(0,l.useEffect)(()=>{let e=()=>ea(r.current),t=()=>{"hidden"===document.visibilityState&&e()};return window.addEventListener("pagehide",e),document.addEventListener("visibilitychange",t),()=>{window.removeEventListener("pagehide",e),document.removeEventListener("visibilitychange",t),e()}},[]),(0,l.useEffect)(()=>{if(3!==e.step||e.isReady)return;let r=window.setTimeout(()=>t({type:"SHOW_MESSAGE_PANEL"}),20);return()=>window.clearTimeout(r)},[e.step,e.isReady]),(0,l.useEffect)(()=>{if(!e.showConfetti)return;let r=window.setTimeout(()=>t({type:"CONFETTI_DONE"}),2600);return()=>window.clearTimeout(r)},[e.showConfetti]),(0,l.useEffect)(()=>{if(e.step<2)return;let r=window;if("function"==typeof r.requestIdleCallback){let e=r.requestIdleCallback(()=>t({type:"SHOW_PREVIEW"}),{timeout:800});return()=>{var t;return null==(t=r.cancelIdleCallback)?void 0:t.call(r,e)}}let a=window.setTimeout(()=>t({type:"SHOW_PREVIEW"}),50);return()=>window.clearTimeout(a)},[e.step]),(0,l.useEffect)(()=>{if("landing"!==e.transition)return;let r=setTimeout(()=>t({type:"SET_TRANSITION",transition:"idle"}),350);return()=>clearTimeout(r)},[e.transition]),[e,t]}(),i=(0,F.useRouter)(),s=(0,v.tL)(),o=(0,l.useRef)(!1);(0,l.useEffect)(()=>{if(o.current||!i.isReady)return;let{ref:e,to:t}=i.query;if("sendback"!==e)return;o.current=!0;let r=Array.isArray(t)?t[0]:t,a=(null!=r?r:"").trim().slice(0,40);a&&n({type:"SET_TO_NAME",toName:a}),s("flowers_sendback_prefill_open",{has_prefilled_name:!!a})},[i.isReady,i.query,n,s]);let{step:c,flower:u,wrap:d,bow:p,isReady:x,transition:m}=r,f=(0,l.useMemo)(()=>(0,en.fA)(t),[t]),h=(0,l.useRef)(null),g=(0,l.useRef)(null),y=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],[r,a]=(0,l.useState)(0);return(0,l.useEffect)(()=>{let t=e.current;if(!t)return;let r=()=>{let e=Math.round(t.getBoundingClientRect().height);a(t=>t===e?t:e)};r();let l="undefined"!=typeof ResizeObserver?new ResizeObserver(r):null;return null==l||l.observe(t),window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r),null==l||l.disconnect()}},t),r}(g,[c,x]),N=(0,Q.ds)();return(0,el.ZS)(u),(0,a.jsxs)(a.Fragment,{children:[1===c?(0,a.jsx)(b,{copy:f,state:r,dispatch:n,bushContainerRef:h,reducedMotion:N}):(0,a.jsx)(V,{copy:f,locale:t,state:r,dispatch:n,nextButtonWrapRef:g,nextButtonHeightPx:y,reducedMotion:N}),"idle"!==m&&u&&(0,a.jsx)("div",{className:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")}("transition-opacity duration-300 ease-out","landing"===m?"opacity-0":"opacity-100"),children:(0,a.jsx)($,{petal:w.Rt[u].petal,wrapA:d?w._t[d].colorA:w.XA,wrapB:d?w._t[d].colorB:w.cE,wrapVariant:(0,w.Oe)(d),bowColor:p?w.sr[p].color:"#9CA3AF",bowVariant:(0,w.w6)(p),longBowTails:"twine"===p,bushContainerRef:h,onComplete:()=>n({type:"THROW_COMPLETE"})})})]})}},8171:(e,t,r)=>{r.d(t,{A:()=>l});var a=r(7876);function l(){return(0,a.jsxs)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 opacity-55",children:[(0,a.jsx)("div",{className:"absolute -top-24 left-1/2 h-72 w-[520px] -translate-x-1/2 rounded-full bg-white blur-3xl"}),(0,a.jsx)("div",{className:"absolute top-20 -left-32 h-72 w-96 rounded-full bg-white blur-3xl"}),(0,a.jsx)("div",{className:"absolute top-56 -right-40 h-72 w-[520px] rounded-full bg-white blur-3xl"}),(0,a.jsx)("div",{className:"absolute bottom-36 left-1/2 h-80 w-[560px] -translate-x-1/2 rounded-full bg-white blur-3xl"})]})}}}]);

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.