PageSourceSearch

https://www.aquads.xyz/static/js/4460.14dbc6fd.chunk.js

js aquads.xyz collected 2026-10-02 01:11:46 UTC 39,395 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkbubble_ads=self.webpackChunkbubble_ads||[]).push([[4460],{14460:(e,t,a)=>{a.r(t),a.d(t,{default:()=>A});var n=a(89379),s=a(9950),l=a(17119),i=a(80849),r=a(33355),o=a(45530),c=a(38771),d=a(7445),u=a(39537),x=a(29134),m=a(44243),p=a(44414);const b=[{key:"day",label:"24 Hours",durationMs:864e5},{key:"threeDays",label:"3 Days",durationMs:2592e5},{key:"sevenDays",label:"7 Days",durationMs:6048e5}],h=e=>{let{onClose:t,targetUsername:a,aquaPaySlug:l,pricing:i}=e;const[r,c]=(0,s.useState)(b[0]),[d,u]=(0,s.useState)({title:"",gif:"",url:""}),[h,g]=(0,s.useState)(""),[f,y]=(0,s.useState)(""),[w,v]=(0,s.useState)(!1),[j,k]=(0,s.useState)("form"),[N,S]=(0,s.useState)(null),[C,P]=(0,s.useState)(!1),I=(0,s.useRef)(null),A=(0,s.useRef)(null),F=e=>i&&i[e]||0,M=(0,s.useCallback)((async()=>{if(!N||!a)return!1;try{const e=await fetch("".concat(o.H$,"/link-bio-ads/active/").concat(encodeURIComponent(a)));if(e.ok){const t=await e.json();return Array.isArray(t)&&t.some((e=>e._id===N))}}catch(e){}return!1}),[N,a]);return(0,s.useEffect)((()=>{if("waiting"!==j)return;const e=setInterval((()=>{I.current&&I.current.closed&&P(!0)}),1e3),t=setInterval((async()=>{await M()?k("success"):Date.now()-A.current>3e5&&k("timeout")}),5e3);return()=>{clearInterval(e),clearInterval(t)}}),[j,M]),(0,s.useEffect)((()=>{if("success"!==j)return;const e=setTimeout((()=>t()),6e3);return()=>clearTimeout(e)}),[j,t]),"success"===j?(0,p.jsxs)("div",{className:"fixed inset-0 z-[9999] flex items-center justify-center p-4",style:{fontFamily:"'DM Sans', sans-serif"},children:[(0,p.jsx)("div",{className:"absolute inset-0 bg-black/70 backdrop-blur-sm"}),(0,p.jsxs)("div",{className:"relative w-full max-w-md rounded-2xl border border-white/10 bg-[#0f1320]/95 backdrop-blur-xl shadow-2xl p-8 text-center",children:[(0,p.jsx)("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-green-500/20 flex items-center justify-center",children:(0,p.jsx)(m.A7C,{className:"text-green-400 text-3xl"})}),(0,p.jsx)("h2",{className:"text-xl font-bold text-white mb-2",style:{fontFamily:"'Syne', sans-serif"},children:"Payment Confirmed!"}),(0,p.jsxs)("p",{className:"text-slate-300 text-sm mb-1",children:["Your ad is now live on ",(0,p.jsxs)("span",{className:"text-cyan-400 font-semibold",children:["@",a]}),"'s page."]}),(0,p.jsx)("p",{className:"text-slate-500 text-xs mb-6",children:"It will appear on the page within a few seconds."}),(0,p.jsx)("button",{onClick:t,className:"px-8 py-3 rounded-xl bg-gradient-to-r from-green-500 to-emerald-500 hover:from-green-400 hover:to-emerald-400 text-white font-bold transition-all shadow-lg shadow-green-500/20",children:"Done"}),(0,p.jsx)("p",{className:"text-slate-600 text-xs mt-3",children:"Auto-closing in a few seconds..."})]})]}):"waiting"===j||"timeout"===j?(0,p.jsxs)("div",{className:"fixed inset-0 z-[9999] flex items-center justify-center p-4",style:{fontFamily:"'DM Sans', sans-serif"},children:[(0,p.jsx)("div",{className:"absolute inset-0 bg-black/70 backdrop-blur-sm"}),(0,p.jsx)("div",{className:"relative w-full max-w-md rounded-2xl border border-white/10 bg-[#0f1320]/95 backdrop-blur-xl shadow-2xl p-8 text-center",children:"timeout"===j?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-yellow-500/20 flex items-center justify-center",children:(0,p.jsx)(m.w_X,{className:"text-yellow-400 text-2xl"})}),(0,p.jsx)("h2",{className:"text-xl font-bold text-white mb-2",style:{fontFamily:"'Syne', sans-serif"},children:"Payment Timed Out"}),(0,p.jsx)("p",{className:"text-slate-300 text-sm mb-4",children:"We didn't detect a payment yet. If you completed the payment, your ad will still activate automatically once confirmed on-chain."}),(0,p.jsx)("button",{onClick:t,className:"px-8 py-3 rounded-xl bg-white/10 border border-white/10 hover:bg-white/15 text-white font-medium transition-all",children:"Close"})]}):(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-cyan-500/10 flex items-center justify-center",children:(0,p.jsx)("div",{className:"w-8 h-8 border-3 border-cyan-500/30 border-t-cyan-400 rounded-full animate-spin"})}),(0,p.jsx)("h2",{className:"text-xl font-bold text-white mb-2",style:{fontFamily:"'Syne', sans-serif"},children:"Waiting for Payment"}),(0,p.jsx)("p",{className:"text-slate-300 text-sm mb-2",children:"Complete your payment in the AquaPay window."}),(0,p.jsx)("p",{className:"text-slate-500 text-xs mb-6",children:"Your ad will activate automatically once the crypto payment is confirmed on-chain."}),C&&(0,p.jsx)("div",{className:"mb-4 p-3 rounded-xl bg-cyan-500/10 border border-cyan-500/20",children:(0,p.jsx)("p",{className:"text-cyan-300 text-sm",children:"Payment window closed. Checking for confirmation..."})}),(0,p.jsxs)("div",{className:"flex gap-3",children:[(0,p.jsx)("button",{onClick:()=>{const e=F(r.key),t="https://aquads.xyz/pay/".concat(l,"?amount=").concat(e,"&linkBioAdId=").concat(N);I.current=window.open(t,"_blank"),P(!1)},className:"flex-1 px-4 py-3 rounded-xl bg-white/5 border border-white/10 text-slate-300 hover:bg-white/10 transition-colors font-medium text-sm",children:"Reo
1pen Payment"}),(0,p.jsx)("button",{onClick:t,className:"flex-1 px-4 py-3 rounded-xl bg-white/5 border border-white/10 text-slate-300 hover:bg-white/10 transition-colors font-medium text-sm",children:"Close"})]})]})})]}):(0,p.jsxs)("div",{className:"fixed inset-0 z-[9999] flex items-center justify-center p-4",style:{fontFamily:"'DM Sans', sans-serif"},children:[(0,p.jsx)("div",{className:"absolute inset-0 bg-black/70 backdrop-blur-sm",onClick:t}),(0,p.jsxs)("div",{className:"relative w-full max-w-lg max-h-[90vh] overflow-y-auto rounded-2xl border border-white/10 bg-[#0f1320]/95 backdrop-blur-xl shadow-2xl",children:[(0,p.jsxs)("div",{className:"sticky top-0 z-10 flex items-center justify-between px-6 py-4 border-b border-white/10 bg-[#0f1320]/95 backdrop-blur-xl",children:[(0,p.jsxs)("div",{children:[(0,p.jsxs)("h2",{className:"text-lg font-bold text-white flex items-center gap-2",style:{fontFamily:"'Syne', sans-serif"},children:[(0,p.jsx)(m.sdT,{className:"text-cyan-400"}),"Advertise on this page"]}),(0,p.jsxs)("p",{className:"text-slate-400 text-xs mt-0.5",children:["Your ad will appear on ",(0,p.jsxs)("span",{className:"text-cyan-400 font-medium",children:["@",a]}),"'s page"]})]}),(0,p.jsx)("button",{onClick:t,className:"p-2 rounded-full hover:bg-white/10 text-slate-400 hover:text-white transition-colors",children:(0,p.jsx)(m.QCr,{className:"w-4 h-4"})})]}),(0,p.jsxs)("form",{onSubmit:async e=>{if(e.preventDefault(),d.title&&d.gif&&d.url)if((0,x.Av)(d.gif))y("GIF files are not supported. Use a PNG, JPG, or WebP image, or an MP4/WebM video.");else if((0,x.$Y)(d.gif)||(0,x.Pf)(d.gif))try{v(!0),y("");const e=await fetch("".concat(o.H$,"/link-bio-ads"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:d.title,gif:d.gif,url:d.url,targetUsername:a,durationKey:r.key})});if(!e.ok){const t=await e.json();throw new Error(t.error||"Failed to create ad")}const t=await e.json(),n=F(r.key),s=t.aquaPaySlug||l,i="https://aquads.xyz/pay/".concat(s,"?amount=").concat(n,"&linkBioAdId=").concat(t._id);S(t._id),A.current=Date.now(),I.current=window.open(i,"_blank"),k("waiting")}catch(t){y(t.message||"Failed to create ad")}finally{v(!1)}else y("Please enter a direct PNG, JPG, WebP, MP4, or WebM URL");else y("Please fill in all fields")},className:"p-6 space-y-5",children:[(0,p.jsxs)("div",{children:[(0,p.jsxs)("label",{className:"block text-sm font-medium text-slate-300 mb-2 flex items-center gap-2",children:[(0,p.jsx)(m.w_X,{className:"text-cyan-400"})," Select Duration"]}),(0,p.jsx)("div",{className:"grid grid-cols-3 gap-2",children:b.map((e=>{const t=F(e.key);return(0,p.jsxs)("button",{type:"button",onClick:()=>c(e),className:"p-3 rounded-xl border-2 transition-all text-center ".concat(r.key===e.key?"border-cyan-500 bg-cyan-500/15 shadow-lg shadow-cyan-500/10":"border-white/10 hover:border-cyan-500/40 hover:bg-white/5"),children:[(0,p.jsx)("div",{className:"text-white font-semibold text-sm",children:e.label}),(0,p.jsxs)("div",{className:"text-cyan-400 font-bold text-lg mt-0.5",children:["$",t]}),r.key===e.key&&(0,p.jsx)("div",{className:"text-cyan-300 text-[10px] mt-0.5",children:"Selected"})]},e.key)}))})]}),(0,p.jsxs)("div",{children:[(0,p.jsx)("label",{className:"block text-sm font-medium text-slate-300 mb-2",children:"Banner Title"}),(0,p.jsx)("input",{type:"text",value:d.title,onChange:e=>u((t=>(0,n.A)((0,n.A)({},t),{},{title:e.target.value}))),placeholder:"Your banner title",maxLength:100,required:!0,className:"w-full px-4 py-3 bg-white/5 border border-white/10 rounded-xl text-white placeholder-slate-500 focus:outline-none focus:border-cyan-500 transition-colors"})]}),(0,p.jsxs)("div",{children:[(0,p.jsxs)("label",{className:"block text-sm font-medium text-slate-300 mb-2 flex items-center gap-2",children:[(0,p.jsx)(m.dkL,{className:"text-cyan-400"})," Banner media URL",(0,p.jsx)("span",{className:"text-cyan-400/60 text-xs",children:"(1280\xd7200px)"})]}),(0,p.jsx)("input",{type:"text",value:d.gif,onChange:async e=>{const t=e.target.value;if(u((e=>(0,n.A)((0,n.A)({},e),{},{gif:t}))),t){const e=await(async e=>{if((0,x.Av)(e))return"gif";if((0,x.$Y)(e))return"video";if((0,x.Pf)(e))return"image";try{const t=((await fetch(e,{method:"HEAD"})).headers.get("content-type")||"").toLowerCase();if("image/gif"===t||t.includes("gif"))return"gif";if(t.startsWith("image/"))return"image";if(t.startsWith("video/"))return"video"}catch(t){}return null})(t);
1"gif"===e?(g(""),y("GIF files are not supported. Use a PNG, JPG, or WebP image, or an MP4/WebM video.")):e?(g(t),y("")):(g(""),y("Please enter a direct PNG, JPG, WebP, MP4, or WebM URL"))}else g(""),y("")},placeholder:"https://example.com/banner.mp4",required:!0,className:"w-full px-4 py-3 bg-white/5 border border-white/10 rounded-xl text-white placeholder-slate-500 focus:outline-none focus:border-cyan-500 transition-colors"}),(0,p.jsx)("p",{className:"mt-1 text-xs text-slate-500",children:"Direct file URL only \u2014 we do not upload or store the file. Use a PNG, JPG, or WebP image, or an MP4/WebM video."}),h&&(0,p.jsx)("div",{className:"mt-3 rounded-full overflow-hidden border border-cyan-500/30",children:(0,x.$Y)(h)?(0,p.jsx)("video",{src:h,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,className:"w-full h-auto object-cover",style:{maxHeight:"80px"},onError:()=>{g(""),y("Failed to load video")}}):(0,p.jsx)("img",{src:h,alt:"Banner preview",className:"w-full h-auto object-cover",style:{maxHeight:"80px"},onError:()=>{g(""),y("Failed to load image")}})})]}),(0,p.jsxs)("div",{children:[(0,p.jsxs)("label",{className:"block text-sm font-medium text-slate-300 mb-2 flex items-center gap-2",children:[(0,p.jsx)(m.EQc,{className:"text-cyan-400"})," Landing Page URL"]}),(0,p.jsx)("input",{type:"url",value:d.url,onChange:e=>u((t=>(0,n.A)((0,n.A)({},t),{},{url:e.target.value}))),placeholder:"https://yourproject.com",required:!0,className:"w-full px-4 py-3 bg-white/5 border border-white/10 rounded-xl text-white placeholder-slate-500 focus:outline-none focus:border-cyan-500 transition-colors"})]}),f&&(0,p.jsxs)("p",{className:"text-red-400 text-sm flex items-center gap-1.5",children:[(0,p.jsx)("span",{children:"!"})," ",f]}),(0,p.jsxs)("div",{className:"p-4 rounded-xl bg-cyan-500/5 border border-cyan-500/20",children:[(0,p.jsxs)("div",{className:"flex justify-between items-center mb-2",children:[(0,p.jsx)("span",{className:"text-slate-400 text-sm",children:"Duration"}),(0,p.jsx)("span",{className:"text-white font-medium",children:r.label})]}),(0,p.jsxs)("div",{className:"flex justify-between items-center",children:[(0,p.jsx)("span",{className:"text-slate-400 text-sm",children:"Total"}),(0,p.jsxs)("span",{className:"text-cyan-400 font-bold text-xl",children:["$",F(r.key)," USDC"]})]}),(0,p.jsxs)("p",{className:"text-slate-500 text-xs mt-2",children:["Payment goes directly to @",a," via AquaPay. Your ad activates instantly upon payment confirmation."]})]}),(0,p.jsxs)("div",{className:"flex gap-3",children:[(0,p.jsx)("button",{type:"button",onClick:t,className:"flex-1 px-4 py-3 rounded-xl bg-white/5 border border-white/10 text-slate-300 hover:bg-white/10 transition-colors font-medium",children:"Cancel"}),(0,p.jsx)("button",{type:"submit",disabled:w,className:"flex-1 px-4 py-3 rounded-xl bg-gradient-to-r from-cyan-500 to-blue-500 hover:from-cyan-400 hover:to-blue-400 text-white font-bold transition-all disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2 shadow-lg shadow-cyan-500/20",children:w?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("div",{className:"w-4 h-4 border-2 border-white/30 border-t-white rounded-full animate-spin"}),"Creating..."]}):(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(m.uoG,{className:"text-sm"}),"Pay with Crypto"]})})]})]})]})]})},g=e=>{if(!e||"string"!==typeof e)return!1;try{const t=(new URL(e).hostname||"").toLowerCase().replace(/^www\./,"");return!!t.includes("discord")||(!!t.includes("guilded")||(!(!t.includes("x.com")&&"twitter.com"!==t)||(!(!t.includes("t.me")&&!t.includes("telegram"))||(!(!t.includes("whatsapp")&&!t.includes("wa.me"))||(!(!t.includes("weixin")&&!t.includes("wechat"))||(!(!t.includes("line.me")&&!t.includes("line.naver"))||(!(!t.includes("signal.")&&!t.includes("signalmessenger"))||(!!(t.includes("messenger")||t.includes("fb.com")||t.includes("fb.me")||t.includes("facebook"))||(!(!t.includes("mastodon")&&!t.includes("mstdn"))||(!!t.includes("tiktok")||(!(!t.includes("youtube")&&!t.includes("youtu.be"))||(!!t.includes("twitch")||(!!t.includes("instagram")||(!!t.includes("snapchat")||(!!t.includes("pinterest")||(!!t.includes("linkedin")||(!!t.includes("reddit")||(!!t.includes("quora")||(!!t.includes("tumblr")||(!!t.includes("soundcloud")||(!!t.includes("meetup")||(!!t.includes("goodreads")||(!!t.includes("strava")||(!(!t.includes("vk.com")&&"vk"!==t)||(!!t.includes("weibo")||!!t.includes("xing"))))))))))))))))))))))))))}catch(t){return!1}};function f(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=e.replace(/^#/,"");3===a.length&&(a=a[0]+a[0]+a[1]+a[1]+a[2]+a[2]);const n=parseInt(a.slice(0,2),16),s=parseInt(a.slice(2,4),16),l=parseInt(a.slice(4,6),16);return"rgba(".concat(n,",").concat(s,",").concat(l,",").concat(t,")")}function y(e){return{accent:f(e,.95),accentHover:f(e,.18),accentFilled:f(e,.22),shine:f(e,.07),avatarGlow:f(e,.15),badgeBorder:f(e,.35),badgeBg:f(e,.06),orb1:f(e,.07),orb2:f(e,.05),orb3:f(e,.03)}}function w(e){if(!e||"string"!==typeof e)return"#22d3ee";const t=e.trim().startsWith("#")?e.trim():"#".concat(e.trim());return/^#[0-9A-Fa-f]{3,6}$/.test(t)?t:"#22d3ee"}function v(e){let t=w(e).replace(/^#/,"");3===t.length&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]);return.2126*(parseInt(t.slice(0,2),16)/255)+.7152*(parseInt(t.slice(2,4),16)/255)+.0722*(parseInt(t.slice(4,6),16)/255)}function j(e){return v(e)>
1.55?"rgba(15, 17, 24, 0.92)":"rgba(255, 255, 255, 0.96)"}function k(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.35,a=w(e).replace(/^#/,"");3===a.length&&(a=a[0]+a[0]+a[1]+a[1]+a[2]+a[2]);const n=e=>Math.max(0,Math.min(255,Math.round(e*(1-t)))),s=n(parseInt(a.slice(0,2),16)),l=n(parseInt(a.slice(2,4),16)),i=n(parseInt(a.slice(4,6),16));return"#".concat([s,l,i].map((e=>e.toString(16).padStart(2,"0"))).join(""))}function N(e,t){return!!Array.isArray(t)&&(e.length===t.length&&e.every(((e,a)=>e._id===t[a]._id&&e.gif===t[a].gif&&e.url===t[a].url)))}function S(e,t){const a=w(e),n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.28,a=w(e).replace(/^#/,"");3===a.length&&(a=a[0]+a[0]+a[1]+a[1]+a[2]+a[2]);const n=e=>Math.min(255,Math.round(e+(255-e)*t)),s=n(parseInt(a.slice(0,2),16)),l=n(parseInt(a.slice(2,4),16)),i=n(parseInt(a.slice(4,6),16));return"#".concat([s,l,i].map((e=>e.toString(16).padStart(2,"0"))).join(""))}(a,.32),s=k(a,.18);return{innerRadius:"pill"===t?"24%":"18%",outer:{borderRadius:"pill"===t?"30%":"24%",background:"linear-gradient(145deg, #eef1f6 0%, #b8bec8 22%, #5c6370 52%, #989faa 78%, #d7dbe3 100%)",boxShadow:"0 10px 28px rgba(0, 0, 0, 0.48), 0 3px 8px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.72), inset 0 -2px 0 rgba(0, 0, 0, 0.38)",padding:"4px"},goldRing:{borderRadius:"pill"===t?"27%":"21%",background:"linear-gradient(135deg, ".concat(n," 0%, ").concat(a," 42%, ").concat(s," 100%)"),boxShadow:"0 0 14px ".concat(f(a,.42),", inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(0, 0, 0, 0.22)"),padding:"2.5px"}}}const C=document.createElement("link");C.rel="stylesheet",C.href="https://fonts.googleapis.com/css2?family=Syne:wght@500;600;700&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap",document.querySelector('link[href*="Syne"]')||document.head.appendChild(C);const P={hidden:{opacity:0},show:{opacity:1,transition:{staggerChildren:.06,delayChildren:.15}}},I={hidden:{opacity:0,scale:.82,y:12},show:{opacity:1,scale:1,y:0,transition:{type:"spring",stiffness:380,damping:26}}},A=()=>{const{username:e}
1=(0,i.g)(),[t,a]=(0,s.useState)(null),[b,C]=(0,s.useState)(!0),[A,F]=(0,s.useState)(null),[M,B]=(0,s.useState)([]),[E,L]=(0,s.useState)(0),[H,q]=(0,s.useState)(!1),[R,D]=(0,s.useState)(!1),_=(0,s.useRef)(null),[U,T]=(0,s.useState)(!1),[$,W]=(0,s.useState)(!1),[z,G]=(0,s.useState)(!1),[Y,O]=(0,s.useState)(!1),[J]=(0,s.useState)(u.jZ);(0,s.useEffect)((()=>{if(!e)return F("Invalid page"),void C(!1);(async()=>{try{const t=await fetch("".concat(o.H$,"/users/links/").concat(encodeURIComponent(e)),{cache:"no-store"});if(!t.ok)return void(404===t.status?F("Page not found"):F("Failed to load"));const n=await t.json();a(n),Array.isArray(n.bannerAds)?B((e=>N(e,n.bannerAds)?e:n.bannerAds)):fetch("".concat(o.H$,"/link-bio-ads/active/").concat(encodeURIComponent(e))).then((e=>e.ok?e.json():[])).then((e=>{const t=Array.isArray(e)?e:[];B((e=>N(e,t)?e:t))})).catch((()=>{})),fetch("".concat(o.H$,"/users/links/").concat(encodeURIComponent(e),"/view"),{method:"POST"}).catch((()=>{}))}catch(t){F("Failed to load")}finally{C(!1)}})()}),[e]),(0,s.useEffect)((()=>{if(!e)return;const t=setInterval((async()=>{try{const t=await fetch("".concat(o.H$,"/link-bio-ads/active/").concat(encodeURIComponent(e)));if(t.ok){const e=await t.json(),a=Array.isArray(e)?e:[];B((e=>N(e,a)?e:a))}}catch(t){}}),6e4);return()=>clearInterval(t)}),[e]),(0,s.useEffect)((()=>{if(M.length<=1)return;const e=setInterval((()=>{L((e=>(e+1)%M.length))}),15e3);return()=>clearInterval(e)}),[M.length]);const Q=M.length>0?M[E%M.length]:null;(0,s.useEffect)((()=>{q(!1)}),[null===Q||void 0===Q?void 0:Q._id]),(0,s.useEffect)((()=>{if(!H||M.length<=1)return;const e=M[(E+1)%M.length];(0,x.Mt)(null===e||void 0===e?void 0:e.gif)}),[H,E,M]);const X=J&&!z?(0,u.Nc)(null===t||void 0===t?void 0:t.linkInBioBackgroundVideoUrl):null;if((0,s.useEffect)((()=>{if(!X||U)return;let e=!1;const t=()=>{e||T(!0)},a=()=>{"function"===typeof window.requestIdleCallback?window.requestIdleCallback(t,{timeout:2e3}):setTimeout(t,300)};return"complete"===document.readyState?(a(),()=>{e=!0}):(window.addEventListener("load",a,{once:!0}),()=>{e=!0,window.removeEventListener("load",a)})}),[X,U]),(0,s.useEffect)((()=>{const e=_.current;if(!U||!e)return;e.muted=!0,e.play().catch((()=>{}));const t=()=>{document.hidden?e.pause():e.play().catch((()=>{}))};return document.addEventListener("visibilitychange",t),()=>document.removeEventListener("visibilitychange",t)}),[U]),b)return(0,p.jsxs)("div",{className:"min-h-screen flex flex-col items-center justify-center px-4 relative overflow-hidden",style:{background:"linear-gradient(165deg, #0c0f1a 0%, #0a0e18 40%, #060910 100%)",fontFamily:"'DM Sans', sans-serif"},children:[(0,p.jsxs)("div",{className:"absolute inset-0 pointer-events-none",children:[(0,p.jsx)("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[120%] h-[80%] rounded-full bg-cyan-500/[0.04] blur-[80px]"}),(0,p.jsx)("div",{className:"absolute bottom-0 right-0 w-[70%] h-[50%] rounded-full bg-blue-500/[0.03] blur-[100px]"})]}),(0,p.jsxs)("div",{className:"relative flex flex-col items-center gap-6 w-full",children:[(0,p.jsx)("div",{className:"w-full max-w-[260px] h-44 bg-white/5 animate-pulse mb-2",style:{WebkitMaskImage:"linear-gradient(to bottom, black 60%, transparent 100%)",maskImage:"linear-gradient(to bottom, black 60%, transparent 100%)"}}),(0,p.jsx)("div",{className:"h-6 w-44 rounded-full bg-white/10 animate-pulse"}),(0,p.jsx)("div",{className:"grid grid-cols-3 sm:grid-cols-4 gap-3.5 sm:gap-5 w-full max-w-2xl px-2",children:[1,2,3,4,5,6].map((e=>(0,p.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,p.jsx)("div",{className:"w-full aspect-square rounded-[22%] bg-white/5 animate-pulse"}),(0,p.jsx)("div",{className:"h-2.5 w-3/4 rounded-full bg-white/5 animate-pulse"})]},e)))})]})]});if(A||!t)return(0,p.jsx)("div",{className:"min-h-screen flex items-center justify-center px-4",style:{background:"linear-gradient(165deg, #0c0f1a 0%, #0a0e18 100%)",fontFamily:"'DM Sans', sans-serif"},children:(0,p.jsxs)(r.P.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:"text-center",children:[(0,p.jsx)("p",{className:"text-slate-400 text-lg mb-4",children:A||"Page not found"}),(0,p.jsx)("a",{href:"https://www.aquads.xyz",className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-full bg-cyan-500/10 text-cyan-400 hover:bg-cyan-500/20 border border-cyan-500/20 transition-colors text-sm font-medium",children:"Go to Aquads.xyz"})]})});const{displayName:K,image:V,bioLinks:Z,linkInBioTagline:ee,linkInBioAccentColor:te,linkInBioButtonColor:ae,linkInBioTextColor:ne,linkInBioBackgroun
1dImageUrl:se,linkInBioBackgroundColor:le,linkInBioAdsEnabled:ie,linkInBioAdPricing:re,aquaPaySlug:oe}=t,ce=Array.isArray(Z)?[...Z].sort(((e,t)=>{var a,n;return(null!==(a=e.order)&&void 0!==a?a:0)-(null!==(n=t.order)&&void 0!==n?n:0)})):[],de=ce.filter((e=>g(e.url))),ue=ce.filter((e=>!g(e.url))),xe=de.length>0,me=ue.length>0,pe=xe||me,be="string"===typeof ee?ee.trim():"",he=te&&/^#[0-9A-Fa-f]{3,6}$/.test(te)?te:"#22d3ee",ge=ae&&/^#[0-9A-Fa-f]{3,6}$/.test(ae)?ae:he,fe=!Y&&se&&"string"===typeof se&&se.trim().length>0&&/^https?:\/\//i.test(se.trim()),ye=Boolean(X),we=fe||ye,ve=le&&/^#[0-9A-Fa-f]{3,6}$/.test(le)?le:null,je=ne&&/^#[0-9A-Fa-f]{3,6}$/.test(ne)?ne:null,ke=fe?"transparent":ve?function(e){const t=w(e);return"linear-gradient(165deg, ".concat(t," 0%, ").concat(k(t,.28)," 42%, ").concat(k(t,.52)," 100%)")}(ve):"linear-gradient(165deg, #0c0f1a 0%, #0a0e18 40%, #060910 100%)",Ne=y(he),Se=y(ge),Ce=(0,c.k)(t),Pe=function(e,t,a,n){const s=w(e),l=w(t),i="filled"===a&&!n&&s.toLowerCase()===l.toLowerCase();return{iconColor:s,needsChip:i,chipStyle:{backgroundColor:v(s)>.55?"rgba(15, 17, 24, 0.38)":"rgba(255, 255, 255, 0.14)"}}}(he,ge,Ce.fill,Ce.translucent),Ie=function(e){let{fill:t,translucent:a,shape:n,buttonHex:s,theme:l,hasBackgroundImage:i}=e;const r=w(s),o="pill"===n?"28%":"22%";let c="linear-gradient(155deg, ".concat(f(r,.42)," 0%, rgba(18, 22, 32, 0.96) 55%, rgba(10, 12, 18, 0.98) 100%)"),d="1px solid ".concat(f(r,i?.55:.4)),u="none",x="0 8px 32px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.2)";return"filled"===t?a?(c="linear-gradient(155deg, ".concat(f(r,.72)," 0%, ").concat(f(r,.38)," 100%)"),d="1px solid ".concat(f(r,.65)),u="blur(20px) saturate(1.2)",x="0 10px 40px ".concat(f(r,.28),", 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2)")):(c="linear-gradient(155deg, ".concat(f(r,1)," 0%, ").concat(r," 45%, ").concat(f(r,.78)," 100%)"),d="1px solid ".concat(f(r,.85)),x="0 10px 36px ".concat(f(r,.35),", 0 4px 14px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -2px 0 rgba(0, 0, 0, 0.15)")):"minimal"===t?(c=i?"linear-gradient(155deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.35) 100%)":"linear-gradient(155deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.55) 100%)",d="2px solid ".concat(f(r,a?.75:.9)),a&&(u="blur(16px)"),x="0 6px 28px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08)"):a?(c=i?"linear-gradient(155deg, ".concat(f(r,.35)," 0%, rgba(0, 0, 0, 0.55) 100%)"):"linear-gradient(155deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.65) 100%)",d="1px solid ".concat(f(r,.55)),u="blur(20px) saturate(1.15)",x="0 10px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.14)"):(c=i?"linear-gradient(155deg, ".concat(f(r,.28)," 0%, rgba(14, 16, 24, 0.94) 100%)"):"linear-gradient(155deg, rgba(32, 38, 52, 0.98) 0%, rgba(14, 17, 26, 0.98) 100%)",d="1px solid ".concat(f(r,i?.5:.38))),{background:c,border:d,backdropFilter:u,boxShadow:x,borderRadius:o}}({fill:Ce.fill,translucent:Ce.translucent,shape:Ce.shape,buttonHex:ge,buttonTheme:Se,theme:Ne,hasBackgroundImage:we}),Ae=je||("filled"!==Ce.fill||Ce.translucent?"rgba(226, 232, 240, 0.92)":j(ge)),Fe=je||void 0,Me=function(e){let{fill:t,translucent:a,buttonHex:n,accentHex:s,hasBackgroundImage:l}=e;const i=w(n),r=w(s),o=i.toLowerCase()===r.toLowerCase();let c="linear-gradient(145deg, ".concat(f(i,.9)," 0%, ").concat(f(i,.62)," 100%)"),d="1px solid ".concat(f(r,.8)),u="none",x="0 4px 16px ".concat(f(i,.32),", 0 0 0 1px ").concat(f(r,.22),", inset 0 1px 0 rgba(255, 255, 255, 0.16)");"filled"===t?(c=a?f(i,.48):i,d="2px solid ".concat(f(r,.92)),a&&(u="blur(12px) saturate(1.15)"),x="0 4px 18px ".concat(f(i,.38),", 0 0 0 1px ").concat(f(r,.28))):"minimal"===t?(c=l?"rgba(0, 0, 0, 0.28)":"rgba(0, 0, 0, 0.18)",d="2px solid ".concat(f(r,.92)),a&&(u="blur(10px)"),x="0 4px 14px rgba(0, 0, 0, 0.28), 0 0 0 1px ".concat(f(r,.2))):a?(c=f(i,l?.42:.34),d="1px solid ".concat(f(r,.72)),u="blur(12px) saturate(1.1)"):c=f(i,l?.68:.82);let m=r;return"filled"===t&&!a&&o&&(m=j(i)),{background:c,border:d,backdropFilter:u,boxShadow:x,iconColor:m}}({fill:Ce.fill,translucent:Ce.translucent,buttonHex:ge,accentHex:he,hasBackgroun
1dImage:we}),Be=S(he,Ce.shape),Ee=(()=>{const e=w(ge),t=w(he),a=je||t;if("filled"===Ce.fill){const n=e.toLowerCase()===t.toLowerCase();return{background:Ce.translucent?f(e,.48):e,color:!Ce.translucent&&n?j(e):a,border:"1px solid ".concat(f(t,.72)),backdropFilter:Ce.translucent?"blur(12px)":"none",boxShadow:"0 4px 18px ".concat(f(e,.28))}}return"minimal"===Ce.fill?{background:we?"rgba(0, 0, 0, 0.28)":"rgba(0, 0, 0, 0.18)",color:a,border:"2px solid ".concat(f(t,.92)),backdropFilter:Ce.translucent?"blur(10px)":"none"}:{background:Ce.translucent?f(e,we?.35:.28):f(e,we?.42:.22),color:a,border:"1px solid ".concat(f(t,.55)),backdropFilter:Ce.translucent?"blur(12px)":"none",boxShadow:"0 4px 14px ".concat(f(e,.2))}})();return(0,p.jsxs)(r.P.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.4},className:"min-h-screen flex flex-col items-center px-4 py-12 relative",style:{background:ke,fontFamily:"'DM Sans', sans-serif",paddingBottom:"max(3.25rem, calc(env(safe-area-inset-bottom) + 2.5rem))"},children:[we&&(0,p.jsxs)("div",{className:"fixed inset-0 pointer-events-none",style:{zIndex:0,isolation:"isolate"},children:[fe&&(0,p.jsx)("img",{src:se.trim(),alt:"",referrerPolicy:"no-referrer",className:"absolute inset-0 w-full h-full object-cover object-center",onError:()=>O(!0)}),ye&&U&&(0,p.jsx)("video",{ref:_,src:X,poster:fe?se.trim():void 0,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,disablePictureInPicture:!0,"aria-hidden":"true",tabIndex:-1,className:"absolute inset-0 w-full h-full object-cover object-center transition-opacity duration-700",style:{opacity:$?1:0,zIndex:0},onCanPlay:()=>W(!0),onError:()=>G(!0)}),(0,p.jsx)("div",{className:"absolute inset-0 w-full h-full",style:{background:"linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.55) 100%)"}})]}),!we&&(0,p.jsxs)("div",{className:"absolute inset-0 pointer-events-none overflow-hidden",children:[(0,p.jsx)("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 -translate-y-1/3 w-[140%] h-[90%] rounded-full blur-[100px]",style:{background:Ne.orb1}}),(0,p.jsx)("div",{className:"absolute bottom-0 right-0 w-[90%] h-[60%] rounded-full blur-[120px] translate-y-1/4",style:{background:Ne.orb2}}),(0,p.jsx)("div",{className:"absolute bottom-1/3 left-0 w-[60%] h-[40%] rounded-full blur-[80px]",style:{background:Ne.orb3}}),(0,p.jsx)("div",{className:"absolute inset-0 opacity-[0.02]",style:{backgroundImage:"url(\"data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E\")"}})]}),(0,p.jsxs)("div",{className:"relative z-10 w-full flex flex-col items-center flex-1",children:[(0,p.jsxs)("div",{className:"w-full max-w-md flex flex-col items-center",children:[(0,p.jsxs)(r.P.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},transition:{duration:.55,ease:[.22,1,.36,1]},className:"relative w-full mb-4 -mt-3",children:[(0,p.jsx)(r.P.div,{className:"absolute inset-x-[-8%] top-[10%] bottom-[-10%] pointer-events-none",style:{background:"radial-gradient(ellipse 75% 55% at 50% 38%, ".concat(f(he,we?.28:.42)," 0%, transparent 72%)"),filter:"blur(28px)"},animate:{opacity:[.55,.85,.55]},transition:{duration:5,repeat:1/0,ease:"easeInOut"}}),(0,p.jsx)("div",{className:"absolute inset-x-0 bottom-0 h-1/2 pointer-events-none",style:{background:we?"linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.35) 100%)":ve?"linear-gradient(to bottom, transparent 0%, ".concat(f(ve,.55)," 100%)"):"linear-gradient(to bottom, transparent 0%, rgba(6, 9, 16, 0.65) 100%)"}}),(0,p.jsx)("img",{src:V,alt:"",className:"relative w-full max-h-52 sm:max-h-60 object-contain object-center mx-auto select-none pointer-events-none",style:{WebkitMaskImage:"linear-gradient(to bottom, black 62%, transparent 100%)",maskImage:"linear-gradient(to bottom, black 62%, transparent 100%)",filter:"drop-shadow(0 12px 40px ".concat(Ne.avatarGlow,")")}})]}),(0,p.jsx)(r.P.h1,{initial:{opacity:0,y:8}
1,animate:{opacity:1,y:0},transition:{delay:.15,duration:.4},className:"text-2xl font-semibold text-white tracking-tight text-center ".concat(be||xe?"mb-2":me?"mb-6":"mb-10"),style:{fontFamily:"'Syne', sans-serif",letterSpacing:"-0.02em"},children:K}),be?(0,p.jsx)(r.P.p,{initial:{opacity:0,y:6},animate:{opacity:1,y:0},transition:{delay:.2,duration:.35},className:"text-sm text-center max-w-sm mx-auto leading-relaxed mb-6 px-1 ".concat(Fe?"":"text-slate-400"),style:Fe?{color:Fe}:void 0,children:be}):null,xe?(0,p.jsx)(r.P.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{delay:.22,duration:.35},className:"flex flex-wrap justify-center gap-2.5 w-full mb-6 px-1",role:"list","aria-label":"Social links",children:de.map(((e,t)=>(0,p.jsx)(r.P.a,{role:"listitem",href:e.url,target:"_blank",rel:"noopener noreferrer","aria-label":e.title||"Social link",title:e.title||"Social link",className:"w-12 h-12 rounded-full flex items-center justify-center text-lg transition-all duration-300 hover:scale-110",style:{background:Me.background,border:Me.border,backdropFilter:Me.backdropFilter,boxShadow:Me.boxShadow},whileHover:{y:-2},whileTap:{scale:.96},children:(0,p.jsx)(d.o7,{link:e,url:e.url,className:"w-5 h-5",iconColor:Me.iconColor})},"social-".concat(t,"-").concat(e.url))))}):null]}),me?(0,p.jsx)(r.P.div,{variants:P,initial:"hidden",animate:"show",className:"w-full px-4 sm:px-6 md:px-8 mt-2 mb-4",children:(0,p.jsx)("div",{className:"w-full max-w-2xl mx-auto grid grid-cols-3 sm:grid-cols-4 gap-x-3.5 gap-y-5 sm:gap-x-5 sm:gap-y-7",role:"list","aria-label":"Links",children:ue.map(((e,t)=>{const a=(e.title||"").trim()||"Link",s={link:e,url:e.url,iconColor:Pe.iconColor,style:{filter:"drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35))"}};return(0,p.jsxs)(r.P.a,{role:"listitem",variants:I,href:e.url,target:"_blank",rel:"noopener noreferrer","aria-label":a,title:a,className:"group flex flex-col items-center gap-2 sm:gap-2.5 rounded-2xl focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2",style:{outlineColor:f(w(he),.65)},whileHover:{y:-4,transition:{duration:.2}},whileTap:{scale:.94},children:[(0,p.jsx)("div",{className:"relative w-full aspect-square transition-all duration-300 group-hover:brightness-110 group-hover:drop-shadow-[0_12px_32px_rgba(0,0,0,0.45)]",style:Be.outer,children:(0,p.jsx)("div",{className:"w-full h-full transition-all duration-300 group-hover:brightness-105",style:Be.goldRing,children:(0,p.jsxs)("div",{className:"relative w-full h-full overflow-hidden",style:{borderRadius:Be.innerRadius,background:Ie.background,border:Ie.border,backdropFilter:Ie.backdropFilter,boxShadow:Ie.boxShadow},children:[(0,p.jsx)("div",{className:"absolute inset-0 pointer-events-none",style:{background:"linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.06) 28%, transparent 52%, rgba(0,0,0,0.18) 100%)"}}),(0,p.jsx)("div",{className:"absolute inset-0 opacity-0 group-hover:opacity-100 transition-opacity duration-500 pointer-events-none",style:{background:"linear-gradient(115deg, transparent 30%, ".concat(Se.shine," 50%, transparent 70%)"),backgroundSize:"200% 100%",animation:"linkInBioShine 0.75s ease-out"}}),(0,p.jsx)("div",{className:"absolute inset-0 opacity-0 group-hover:opacity-100 transition-opacity duration-300 pointer-events-none",style:{boxShadow:"inset 0 0 0 1px ".concat(f(w(he),.65),", 0 0 24px ").concat(f(w(he),.4))}}),(0,p.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:Pe.needsChip?(0,p.jsx)("span",{className:"flex items-center justify-center rounded-[18%] w-[52%] h-[52%]",style:Pe.chipStyle,children:(0,p.jsx)(d.o7,(0,n.A)((0,n.A)({},s),{},{tile:!0,tileInChip:!0,className:"w-[62%] h-[62%] transition-transform duration-300 group-hover:scale-110"}))}):(0,p.jsx)(d.o7,(0,n.A)((0,n.A)({},s),{},{tile:!0,className:"w-[38%] h-[38%] transition-transform duration-300 group-hover:scale-110"}))})]})})}),(0,p.jsx)("span",{className:"w-full text-center text-[11px] sm:text-xs font-semibold leading-tight line-clamp-2 px-0.5",style:{fontFamily:"'DM Sans', sans-serif",color:Ae},children:a})]},"tile-".concat(t,"-").concat(e.url))}))})}):pe?null:(0,p.jsx)(r.P.p,{initial:{opacity:0}
1,animate:{opacity:1},className:"text-slate-500 text-center py-10 text-sm w-full max-w-md",children:"No links yet."}),(0,p.jsxs)("div",{className:"w-full max-w-md flex flex-col items-center",children:[Q&&(0,p.jsxs)(r.P.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.15,duration:.3},className:"w-full mt-8",children:[(0,p.jsx)("a",{href:Q.url,target:"_blank",rel:"noopener noreferrer",onClick:()=>{fetch("".concat(o.H$,"/link-bio-ads/").concat(Q._id,"/click"),{method:"POST"}).catch((()=>{}))},className:"block w-full rounded-full overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300",style:{border:"1px solid ".concat(Ne.badgeBorder),background:"rgba(0,0,0,0.2)"},children:(0,x.$Y)(Q.gif)?(0,p.jsx)("video",{src:Q.gif,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"auto",className:"w-full h-auto object-cover",style:{maxHeight:"80px",minHeight:"40px"},onLoadedData:()=>q(!0)},Q._id):(0,p.jsx)("img",{src:Q.gif,alt:Q.title||"Ad",className:"w-full h-auto object-cover",style:{maxHeight:"80px",minHeight:"40px"},width:640,height:80,loading:"eager",decoding:"async",onLoad:()=>q(!0)})}),M.length>1&&(0,p.jsx)("div",{className:"flex justify-center gap-1.5 mt-2",children:M.map(((e,t)=>(0,p.jsx)("div",{className:"w-1.5 h-1.5 rounded-full transition-all duration-300",style:{background:t===E%M.length?Ne.accent:"rgba(255,255,255,0.15)"}},e._id)))})]}),ie&&oe&&(0,p.jsx)(r.P.div,{initial:{opacity:0}
1,animate:{opacity:1},transition:{delay:.6,duration:.4},className:"mt-6",children:(0,p.jsxs)("button",{onClick:()=>D(!0),className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-full transition-all duration-300 hover:scale-[1.03] text-xs font-semibold hover:brightness-95",style:Ee,children:[(0,p.jsx)(m.sdT,{className:"w-3 h-3"}),"Advertise Here"]})})]})]}),R&&ie&&oe&&(0,p.jsx)(h,{onClose:()=>D(!1),targetUsername:t.username,aquaPaySlug:oe,pricing:re}),"undefined"!==typeof document&&(0,l.createPortal)((0,p.jsxs)("a",{href:"https://www.aquads.xyz",target:"_blank",rel:"noopener noreferrer","aria-label":"Made with Aquads \u2014 create your own page",className:"lib-made-with",style:{"--lib-wm-accent":Ne.accent},children:[(0,p.jsx)("img",{src:"/alogo.png",alt:"",className:"lib-made-with-logo"}),(0,p.jsxs)("span",{className:"lib-made-with-copy",children:[(0,p.jsx)("span",{className:"lib-made-with-kicker",children:"Made with"}),(0,p.jsx)("span",{className:"lib-made-with-brand",children:"Aquads"})]})]}),document.body),(0,p.jsx)("style",{children:"\n        @keyframes linkInBioShine {\n          from { background-position: 200% 0; }\n          to   { background-position: -100% 0; }\n        }\n        .lib-made-with {\n          position: fixed;\n          z-index: 5000;\n          left: max(1rem, env(safe-area-inset-left, 0px));\n          right: auto;\n          bottom: max(0.9rem, env(safe-area-inset-bottom, 0px));\n          display: inline-flex;\n          align-items: center;\n          gap: 8px;\n          padding: 6px 2px;\n          text-decoration: none;\n          user-select: none;\n          pointer-events: auto;\n          opacity: 0.72;\n          transform: translate3d(0, 0, 0);\n          transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease;\n          filter: drop-shadow(0 1px 3px rgba(0,0,0,0.85)) drop-shadow(0 0 10px rgba(0,0,0,0.45));\n        }\n        .lib-made-with:hover,\n        .lib-made-with:focus-visible {\n          opacity: 1;\n          transform: translate3d(0, -1px, 0);\n        }\n        .lib-made-with:focus-visible {\n          outline: 1px solid rgba(255,255,255,0.35);\n          outline-offset: 6px;\n          border-radius: 2px;\n        }\n        .lib-made-with-logo {\n          height: 13px;\n          width: auto;\n          opacity: 0.95;\n        }\n        .lib-made-with-copy {\n          display: flex;\n          flex-direction: column;\n          align-items: flex-start;\n          gap: 3px;\n        }\n        .lib-made-with-kicker {\n          font-size: 8px;\n          font-weight: 500;\n          letter-spacing: 0.22em;\n          text-transform: uppercase;\n          color: rgba(255,255,255,0.88);\n          line-height: 1;\n          text-shadow: 0 1px 8px rgba(0,0,0,0.9);\n        }\n        .lib-made-with-brand {\n          font-family: 'Syne', sans-serif;\n          font-size: 12px;\n          font-weight: 600;\n          letter-spacing: 0.06em;\n          color: rgba(255,255,255,0.96);\n          line-height: 1;\n          text-shadow: 0 1px 8px rgba(0,0,0,0.9);\n          transition: color 0.4s ease;\n        }\n        .lib-made-with:hover .lib-made-with-brand,\n        .lib-made-with:focus-visible .lib-made-with-brand {\n          color: var(--lib-wm-accent, #22d3ee);\n        }\n        @media (prefers-reduced-motion: reduce) {\n          .lib-made-with {\n            transition: opacity 0.2s ease;\n          }\n          .lib-made-with:hover,\n          .lib-made-with:focus-visible {\n            transform: translate3d(0, 0, 0);\n          }\n        }\n      "})]})}}}]);

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.