1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,819449,e=>{"use strict";e.i(466598);var t=e.i(843476),s=e.i(614537),a=e.i(375679),r=e.i(664659),l=e.i(260289);let o=(0,e.i(475254).default)("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);var i=e.i(526732),n=e.i(861745),c=e.i(948148),d=e.i(271645),h=e.i(174080);function x(){let{data:e,status:x}=(0,i.useSession)(),m=(0,c.useTranslations)("Navigation"),u=(0,n.useLocale)(),[g,f]=(0,d.useState)(!1),[p,b]=(0,d.useState)(!1),[v,j]=(0,d.useState)(null),y=(0,d.useRef)(null),w=(0,d.useRef)(null);if((0,d.useEffect)(()=>{b(!0)},[]),(0,d.useEffect)(()=>{if(!g)return;let e=()=>{if(!w.current)return;let e=w.current.getBoundingClientRect(),t=Math.min(288,window.innerWidth-24),s=Math.max(12,Math.min(e.right-t,window.innerWidth-t-12));j({top:e.bottom+12,left:s,width:t})};return e(),window.addEventListener("resize",e),window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("resize",e),window.removeEventListener("scroll",e,!0)}},[g]),(0,d.useEffect)(()=>{let e=e=>{y.current&&!y.current.contains(e.target)&&w.current&&!w.current.contains(e.target)&&f(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,d.useEffect)(()=>{let e=e=>{"Escape"===e.key&&g&&f(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[g]),"loading"===x)return(0,t.jsx)("div",{className:"flex h-10 w-10 items-center justify-end sm:w-[178px]",children:(0,t.jsx)("div",{className:"h-10 w-10 rounded-full border border-white/10 bg-white/5 animate-pulse sm:w-[178px] sm:rounded-full"})});if(e?.user){let n=e.user.name?.split(" ").map(e=>e[0]).join("").toUpperCase().slice(0,2)||"U",c=e.user.email||"",d=e.user.name||"User";return(0,t.jsxs)("div",{className:"relative flex h-10 justify-end sm:w-[178px]",children:[(0,t.jsxs)("button",{id:"user-menu-button",ref:w,type:"button",onClick:()=>f(!g),className:"flex min-h-10 items-center gap-3 px-2 py-1.5 rounded-full hover:bg-white/5 transition-all duration-300 group focus:outline-none focus:ring-2 focus:ring-violet-500/50 focus:ring-offset-2 focus:ring-offset-purple-950","aria-expanded":g,"aria-haspopup":"true",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"w-8 h-8 sm:w-9 sm:h-9 rounded-full bg-gradient-to-br from-violet-400 via-purple-400 to-indigo-500 flex items-center justify-center text-white text-xs sm:text-sm font-semibold shadow-lg shadow-violet-500/20 group-hover:shadow-violet-500/40 transition-shadow duration-300",children:n}),(0,t.jsx)("div",{className:"absolute -bottom-0.5 -right-0.5 w-3 h-3 bg-emerald-500 rounded-full border-2 border-purple-950"})]}),(0,t.jsxs)("div",{className:"hidden md:block text-left",children:[(0,t.jsx)("p",{className:"text-sm font-medium text-white group-hover:text-violet-200 transition-colors",children:d}),(0,t.jsx)("p",{className:"text-xs text-slate-400 truncate max-w-[150px]",children:c})]}),(0,t.jsx)(r.ChevronDown,{className:`w-4 h-4 text-slate-400 transition-transform duration-300 ${g?"rotate-180 text-white":""}`})]}),p&&g&&v&&(0,h.createPortal)((0,t.jsxs)("div",{ref:y,className:"fixed bg-black/80 backdrop-blur-xl border border-white/10 rounded-2xl shadow-2xl overflow-hidden animate-in fade-in slide-in-from-top-2 duration-200 z-[120]",style:{top:v.top,left:v.left,width:v.width},role:"menu","aria-orientation":"vertical","aria-labelledby":"user-menu-button",children:[(0,t.jsx)("div",{className:"px-5 py-4 border-b border-white/10 bg-black/50",children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"w-11 h-11 rounded-full bg-gradient-to-br from-violet-400 via-purple-400 to-indigo-500 flex items-center justify-center text-white text-sm font-semibold shadow-lg",children:n}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("p",{className:"text-sm font-semibold text-white truncate",children:d}),(0,t.jsx)("p",{className:"text-xs text-slate-400 truncate",children:c})]})]})}),(0,t.jsxs)("div",{className:"py-2",children:[(0,t.jsxs)(s.Link,{href:"/dashboard",onClick:()=>
1{(0,a.trackFunnelStep)("dashboard_viewed",{locale:u,source:"auth_menu"}),f(!1)},className:"flex items-center gap-3 px-5 py-3 text-sm text-slate-200 hover:text-white hover:bg-white/5 transition-all duration-200 group",role:"menuitem",children:[(0,t.jsx)("div",{className:"w-8 h-8 rounded-lg bg-violet-500/20 flex items-center justify-center group-hover:bg-violet-500/30 transition-colors",children:(0,t.jsx)(l.LayoutDashboard,{className:"w-4 h-4 text-violet-300 group-hover:text-violet-200"})}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("p",{className:"font-medium",children:m("dashboard")}),(0,t.jsx)("p",{className:"text-xs text-slate-500",children:"Manage your uploads and settings"})]})]}),(0,t.jsx)("div",{className:"h-px bg-white/10 mx-5 my-2"}),(0,t.jsxs)("button",{type:"button",onClick:()=>{f(!1),(0,a.trackFunnelStep)("auth_cta_clicked",{locale:u,source:"sign_out"}),(0,i.signOut)({callbackUrl:"/"})},className:"w-full flex items-center gap-3 px-5 py-3 text-sm text-red-300 hover:text-red-200 hover:bg-red-500/10 transition-all duration-200 group",role:"menuitem",children:[(0,t.jsx)("div",{className:"w-8 h-8 rounded-lg bg-red-500/20 flex items-center justify-center group-hover:bg-red-500/30 transition-colors",children:(0,t.jsx)(o,{className:"w-4 h-4 text-red-300 group-hover:text-red-200"})}),(0,t.jsxs)("div",{className:"flex-1 text-left",children:[(0,t.jsx)("p",{className:"font-medium",children:m("signOut")}),(0,t.jsx)("p",{className:"text-xs text-red-400/70",children:"Sign out of your account"})]})]})]}),(0,t.jsx)("div",{className:"px-5 py-3 border-t border-white/10 bg-black/50",children:(0,t.jsx)("p",{className:"text-xs text-slate-500 text-center",children:"Signed in with Google"})})]}),document.body)]})}return(0,t.jsxs)("button",{type:"button","aria-label":m("signInWithGoogle"),onClick:()=>{(0,a.trackFunnelStep)("auth_cta_clicked",{locale:u,source:"navbar"}),(0,a.trackFunnelStep)("signup_cta_clicked",{locale:u,source:"navbar"}),(0,a.trackFunnelStep)("auth_started",{locale:u,provider:"google",source:"navbar"}),(0,a.trackFunnelStep)("signup_started",{locale:u,provider:"google",source:"navbar"}),(0,i.signIn)("google",{callbackUrl:`${window.location.pathname}${window.location.search}${window.location.hash}`})},className:"group relative inline-flex min-h-10 items-center gap-2.5 whitespace-nowrap rounded-full border border-white/10 bg-white/5 px-3 py-2 transition-all duration-300 hover:scale-105 hover:border-white/20 hover:bg-white/10 hover:shadow-lg hover:shadow-violet-500/20 active:scale-100 min-[420px]:px-4",children:[(0,t.jsxs)("svg",{className:"w-5 h-5",viewBox:"0 0 24 24","aria-hidden":"true",children:[(0,t.jsx)("path",{fill:"#4285F4",d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"}),(0,t.jsx)("path",{fill:"#34A853",d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"}),(0,t.jsx)("path",{fill:"#FBBC05",d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"}),(0,t.jsx)("path",{fill:"#EA4335",d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"})]}),(0,t.jsx)("span",{className:"hidden text-sm font-medium text-white transition-colors group-hover:text-violet-100 min-[420px]:inline",children:m("signInWithGoogle")}),(0,t.jsx)("div",{className:"absolute inset-0 rounded-full bg-gradient-to-r from-violet-500/0 via-violet-500/10 to-violet-500/0 translate-x-[-100%] group-hover:translate-x-[100%] transition-transform duration-700 pointer-events-none"})]})}var m=e.i(453375),u=e.i(221345);function g(){(0,c.useTranslations)("Navigation");let e=(0,n.useLocale)().toLowerCase().startsWith("zh")?"API ææ¡£":"Docs";return(0,t.jsx)("nav",{className:"bg-purple-950/95 backdrop-blur-lg border-b border-slate-800/60",children:(0,t.jsx)("div",{className:"mx-auto max-w-[1704px] px-3 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"flex flex-col gap-3 py-3 sm:flex-row sm:items-center sm:justify-between sm:gap-0 sm:py-2",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsxs)(s.Link,{href:"/",className:"flex items-center space-x-3 transition hover:opacity-90","aria-label":"Go to home",children:[(0,t.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-xl bg-gradient-to-r from-cyan-400 to-blue-500 shadow-lg shadow-cyan-500/20",children:(0,t.jsx)(u.Link,{className:"h-5 w-5 text-white"})}),(0,t.jsx)("span",{className:"bg-gradient-to-r from-cyan-400 to-blue-500 bg-clip-text text-lg font-semibold text-transparent min-[380px]:text-xl sm:text-2xl",children:"ImageToURL"})]}),(0,t.jsx)("div",{className:"shrink-0 sm:hidden",children:(0,t.jsx)(x,{})})]}),(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-2 sm:gap-3 md:gap-5",children:[(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-2 overflow-x-auto whitespace-nowrap pb-2 text-sm [-ms-overflow-style:'none'] [scrollbar-width:none] sm:gap-3 sm:pb-0 sm:text-base md:gap-5 [&::-webkit-scrollbar]:hidden",children:[(0,t.jsx)(s.Link,{href:"/tools",className:"text-slate-200 hover:text-white transition-colors px-3 py-1 rounded-full hover:bg-white/10",children:"Tools"}),(0,t.jsx)(s.Link,{href:"/image-converter",className:"text-slate-200 hover:text-white transition-colors px-3 py-1 rounded-full hover:bg-white/10",children:"Image Converter"}),(0,t.jsx)(s.Link,{href:"/pdf-to-url",className:"text-slate-200 hover:text-white transition-colors px-3 py-1 rounded-full hover:bg-white/10",children:"PDF to URL"}),(0,t.jsx)(s.Link,{href:"/video-to-url",className:"text-slate-200 hover:text-white transition-colors px-3 py-1 rounded-full hover:bg-white/10",children:"Video to URL"}),(0,t.jsx)(s.Link,{href:"/gif-to-url",className:"text-slate-200 hover:text-white transition-colors px-3 py-1 rounded-full hover:bg-white/10",children:"GIF to URL"}),(0,t.jsx)(s.Link,{href:"/file-to-url",className:"text-slate-200 hover:text-white transition-colors px-3 py-1 rounded-full hover:bg-white/10",children:"File to URL"}),(0,t.jsx)(s.Link,{href:"/bulk-image-upload",className:"text-slate-200 hover:text-white transition-colors px-3 py-1 rounded-full hover:bg-white/10",children:"Bulk Upload"}),(0,t.jsx)(s.Link,{href:"/pricing",onClick:()=>{(0,m.recordPricingCta)("navbar",{paywallTrigger:"navbar_pricing"}),(0,a.trackFunnelStep)("pricing_cta_clicked",{source:"navbar"})},className:"text-slate-200 hover:text-white transition-colors px-3 py-1 rounded-full hover:bg-white/10",children:"Pricing"}),(0,t.jsx)(s.Link,{href:"/blog","data-analytics-source":"navbar_blog",className:"text-cyan-400 hover:text-cyan-300 transition-colors px-3 py-1 rounded-full hover:bg-white/10 font-medium",children:"Blog"}),(0,t.jsx)(s.Link,{href:"/docs",className:"text-slate-200 hover:text-white transition-colors px-3 py-1 rounded-full hover:bg-white/10",children:e})]}),(0,t.jsx)("div",{className:"hidden shrink-0 sm:block",children:(0,t.jsx)(x,{})})]})]})})})}e.s(["default",()=>g],819449)},648309,e=>{"use strict";let t={en:{label:"English",flag:"ð¬ð§",countryCode:"gb"},"en-AU":{label:"English (Australia)",flag:"ð¦ðº",countryCode:"au"},"en-IN":{label:"English (India)",flag:"ð®ð³",countryCode:"in"},ar:{label:"Ø§ÙØ¹Ø±Ø¨ÙØ©",flag:"ð¸ð¦",countryCode:"sa"},bg:{label:"ÐÑлгаÑÑки",flag:"ð§ð¬",countryCode:"bg"},ca:{label:"Català ",flag:"ðªð¸",countryCode:"es"},cs:{label:"ÄeÅ¡tina",flag:"ð¨ð¿",countryCode:"cz"},da:{label:"Dansk",flag:"ð©ð°",countryCode:"dk"},de:{label:"Deutsch",flag:"ð©ðª",countryCode:"de"},el:{label:"Îλληνικά",flag:"ð¬ð·",countryCode:"gr"},et:{label:"Eesti",flag:"ðªðª",countryCode:"ee"},es:{label:"Español",flag:"ðªð¸",countryCode:"es"},fi:{label:"Suomi",flag:"ð«ð®",countryCode:"fi"},fr:{label:"Français",flag:"ð«ð·",countryCode:"fr"},he:{label:"×¢×ר×ת",flag:"ð®ð±",countryCode:"il"},hr:{label:"Hrvatski",flag:"ðð·",countryCode:"hr"},hu:{label:"Magyar",flag:"ððº",countryCode:"hu"},id:{label:"Bahasa Indonesia",flag:"ð®ð©",countryCode:"id"},is:{label:"Ãslenska",flag:"ð®ð¸",countryCode:"is"},it:{label:"Italiano",flag:"ð®ð¹",countryCode:"it"},ja:{label:"æ¥æ¬èª",flag:"ð¯ðµ",countryCode:"jp"},ko:{label:"íêµì´",flag:"ð°ð·",countryCode:"kr"},lt:{label:"Lietuvių",flag:"ð±ð¹",countryCode:"lt"},lv:{label:"LatvieÅ¡u",flag:"ð±ð»",countryCode:"lv"},ms:{label:"Bahasa Melayu",flag:"ð²ð¾",countryCode:"my"},nl:{label:"Nederlands",flag:"ð³ð±",countryCode:"nl"},no:{label:"Norsk",flag:"ð³ð´",countryCode:"no"},pl:{label:"Polski",flag:"ðµð±",countryCode:"pl"},pt:{label:"Português",flag:"ðµð¹",countryCode:"pt"},"pt-BR":{label:"Português (Brasil)",flag:"ð§ð·",countryCode:"br"},ro:{label:"RomânÄ",flag:"ð·ð´",countryCode:"ro"},ru:{label:"Ð ÑÑÑкий",flag:"ð·ðº",countryCode:"ru"},sk:{label:"SlovenÄina",flag:"ð¸ð°",countryCode:"sk"},sl:{label:"SlovenÅ¡Äina",flag:"ð¸ð®",countryCode:"si"},sv:{label:"Svenska",flag:"ð¸ðª",countryCode:"se"},th:{label:"à¹à¸à¸¢",flag:"ð¹ð",countryCode:"th"},tl:{label:"Filipino",flag:"ðµð",countryCode:"ph"},tr:{label:"Türkçe",flag:"ð¹ð·",countryCode:"tr"},uk:{label:"УкÑаÑнÑÑка",flag:"ðºð¦",countryCode:"ua"},vi:{label:"Tiếng Viá»t",flag:"ð»ð³",countryCode:"vn"},zh:{label:"ç®ä½ä¸æ",flag:"ð¨ð³",countryCode:"cn"},"zh-TW":{label:"ç¹é«ä¸æ",flag:"ð¹ð¼",countryCode:"tw"}};function s(e){return t[e]?.label??e}e.s(["LOCALE_METADATA",0,t,"getLocaleLabel",()=>s])},13642,e=>{"use strict";e.i(466598);var t=e.i(843476),s=e.i(614537),a=e.i(57121),r=e.i(350682),l=e.i(565157),o=e.i(221345),i=e.i(662031),n=e.i(98919),c=e.i(378021),d=e.i(39312),h=e.i(861745),x=e.i(948148),m=e.i(271645),u=e.i(744705),g=e.i(648309);function f(){let[e,a]=(0,m.useTransition)(),r=(0,h.useLocale)(),l=(0,s.useRouter)(),o=(0,s.usePathname)();return(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("select",{className:"appearance-none bg-gradient-to-r from-purple-900/80 via-indigo-900/80 to-purple-800/80 border border-purple-400/60 rounded-lg px-3 py-2 pr-8 text-sm text-slate-100 hover:border-cyan-300/70 hover:shadow-lg hover:shadow-
1purple-900/30 focus:outline-none focus:ring-2 focus:ring-cyan-400/60 focus:border-cyan-300 cursor-pointer transition-all shadow-md shadow-purple-900/40",value:r,onChange:e=>{let t=e.target.value;"undefined"!=typeof document&&(document.cookie=`NEXT_LOCALE_PREFERENCE=${encodeURIComponent(t)}; path=/; max-age=31536000; samesite=lax`),a(()=>{l.replace(o,{locale:t})})},disabled:e,"aria-label":"Select language",children:u.LOCALES.map(e=>(0,t.jsxs)("option",{value:e,style:{backgroundColor:"#1f1535",color:"#e2e8f0"},children:[g.LOCALE_METADATA[e].flag," ",g.LOCALE_METADATA[e].label]},e))}),(0,t.jsx)("div",{className:"absolute inset-y-0 right-0 flex items-center px-2 pointer-events-none",children:(0,t.jsx)("svg",{className:"w-4 h-4 text-slate-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})})]})}function p(){let e=(0,x.useTranslations)("Footer"),m=(0,h.useLocale)(),u=m.toLowerCase().startsWith("zh")?"API ææ¡£":"API Docs",g=m.toLowerCase().startsWith("zh")?"éè¦å¸®å©ãä¸¾æ¥ææ³å¾ä¿¡æ¯ï¼è¯·ä»è¿éè¿å
¥ã":"Need help, abuse reporting, or legal info? Find it below.",p=m.toLowerCase().startsWith("zh")?"ä¸¾æ¥æ»¥ç¨":"Report abuse";return(0,t.jsx)("footer",{className:"bg-gradient-to-br from-slate-950 via-purple-950 to-slate-900 text-white border-t border-white/10",children:(0,t.jsxs)("div",{className:"max-w-6xl mx-auto px-4 py-14",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-10",children:[(0,t.jsxs)("div",{className:"lg:col-span-1 bg-white/5 border border-white/10 rounded-2xl p-6 shadow-xl shadow-purple-900/20",children:[(0,t.jsxs)("div",{className:"flex items-center space-x-3 mb-4",children:[(0,t.jsx)("div",{className:"w-10 h-10 bg-gradient-to-r from-cyan-400 to-blue-500 rounded-xl flex items-center justify-center",children:(0,t.jsx)(o.Link,{className:"h-5 w-5 text-white"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm text-slate-300",children:"ImageToURL"}),(0,t.jsx)("h3",{className:"text-xl font-semibold text-white",children:e("tagline")})]})]}),(0,t.jsx)("p",{className:"text-slate-300 mb-5 leading-relaxed",children:e("description")}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-3",children:[(0,t.jsxs)("span",{className:"inline-flex items-center gap-2 text-sm text-cyan-50 bg-cyan-500/15 border border-cyan-400/30 rounded-full px-3 py-1",children:[(0,t.jsx)(d.Zap,{className:"h-4 w-4 text-cyan-300"})," Instant links"]}),(0,t.jsxs)("span",{className:"inline-flex items-center gap-2 text-sm text-emerald-50 bg-emerald-500/15 border border-emerald-400/30 rounded-full px-3 py-1",children:[(0,t.jsx)(n.Shield,{className:"h-4 w-4 text-emerald-300"})," HTTPS by default"]}),(0,t.jsxs)("span",{className:"inline-flex items-center gap-2 text-sm text-indigo-50 bg-indigo-500/15 border border-indigo-400/30 rounded-full px-3 py-1",children:[(0,t.jsx)(l.Globe2,{className:"h-4 w-4 text-indigo-300"})," Global edge"]}),(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsx)(f,{})})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-white mb-4",children:e("tools")}),(0,t.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-1 gap-2",children:[(0,t.jsx)(s.Link,{href:"/image-to-icon",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Image to ICO"}),(0,t.jsx)(s.Link,{href:"/image-to-link",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Image to Link"}),(0,t.jsx)(s.Link,{href:"/image-converter",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Image Converter"}),(0,t.jsx)(s.Link,{href:"/image-converter/image-to-webp-converter",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Image to WebP Converter"}),(0,t.jsx)(s.Link,{href:"/image-url-generator",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Image URL Generator"}),(0,t.jsx)(s.Link,{href:"/picture-to-url",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Picture to URL"}),(0,t.jsx)(s.Link,{href:"/photo-to-url-converter",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Photo to URL"}),(0,t.jsx)(s.Link,{href:"/gif-to-url",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"GIF to URL"}),(0,t.jsx)(s.Link,{href:"/image-compressor",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Image Compressor"}),(0,t.jsx)(s.Link,{href:"/video-to-url",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Video to URL"}),(0,t.jsx)(s.Link,{href:"/bulk-image-upload",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Bulk Image Upload"}),(0,t.jsx)(s.Link,{href:"/tools/mcp-server-image2url",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"MCP Server: image2url"}),(0,t.jsx)(s.Link,{href:"/tools/privacy-cleaner",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Privacy Cleaner"}),(0,t.jsx)(s.Link,{href:"/tools/background-remover",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Backgroun
1d Remover"}),(0,t.jsx)(s.Link,{href:"/tools/image-extender",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Image Extender"}),(0,t.jsx)(s.Link,{href:"/tools/photo-restoration",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Photo Restoration"}),(0,t.jsx)(s.Link,{href:"/tools/ipynb-to-pdf",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"IPYNB to PDF"}),(0,t.jsx)(s.Link,{href:"/image-converter/webp-to-png-converter",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"WebP to PNG"}),(0,t.jsx)(s.Link,{href:"/tools/photo-enhancer",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Photo Enhancer"}),(0,t.jsx)(s.Link,{href:"/tools/crisp-vision-reviver",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Crisp Vision Reviver"}),(0,t.jsx)(s.Link,{href:"/tools/image-to-prompt",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Image to Prompt"}),(0,t.jsx)(s.Link,{href:"/tools/image-watermark-maker",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Image Watermark Maker"}),(0,t.jsx)(s.Link,{href:"/tools/mht-to-pdf",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"MHT to PDF"})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-white mb-4",children:"Convert Tools"}),(0,t.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-1 gap-2",children:[(0,t.jsx)(s.Link,{href:"/ppt-to-url-converter",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"PPT to URL"}),(0,t.jsx)(s.Link,{href:"/pdf-to-url",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"PDF to URL"}),(0,t.jsx)(s.Link,{href:"/tools/compress-pdf",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Compress PDF"}),(0,t.jsx)(s.Link,{href:"/html-to-url",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"HTML to URL"}),(0,t.jsx)(s.Link,{href:"/qr-to-url",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"QR to URL"}),(0,t.jsx)(s.Link,{href:"/tools/image-to-qr-code",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Image to QR Code"}),(0,t.jsx)(s.Link,{href:"/convert-youtube-redirect-links-to-url",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"YouTube Redirect Cleaner"})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-white mb-4",children:"URL Tools"}),(0,t.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-1 gap-2",children:[(0,t.jsxs)(s.Link,{href:"/share/share-text-online",className:"group mb-1 flex items-center gap-2 rounded-xl border border-emerald-400/25 bg-emerald-400/10 px-3 py-2 font-semibold leading-snug text-emerald-50 shadow-sm shadow-emerald-950/20 transition-colors hover:border-emerald-300/55 hover:bg-emerald-400/15 hover:text-white",children:[(0,t.jsx)(i.Share2,{className:"h-4 w-4 flex-none text-emerald-300 transition-colors group-hover:text-emerald-200"}),(0,t.jsx)("span",{children:e("shareTextOnline")})]}),(0,t.jsx)(s.Link,{href:"/audio-to-link",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Audio to Link"}),(0,t.jsx)(s.Link,{href:"/mp3-to-link",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"MP3 to Link"}),(0,t.jsx)(s.Link,{href:"/tools/mp3-compressor",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"MP3 Compressor"}),(0,t.jsx)(s.Link,{href:"/file-to-url",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"File to URL"}),(0,t.jsx)(s.Link,{href:"/tools/compress-file",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Compress File"}),(0,t.jsx)(s.Link,{href:"/base64-to-url",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Base64 to URL"}),(0,t.jsx)(s.Link,{href:"/text-to-url",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Text to URL"}),(0,t.jsx)(s.Link,{href:"/tools/screenshot-to-url",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Screenshot to URL"}),(0,t.jsx)(s.Link,{href:"/tools/url-to-image",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"URL to Image"}),(0,t.jsx)(s.Link,{href:"/tools/url-to-image",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Web to Image"}),(0,t.jsx)(s.Link,{href:"/tools/web-to-pdf",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Web to PDF"}
1),(0,t.jsx)(s.Link,{href:"/url-expander",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"URL Expander"}),(0,t.jsx)(s.Link,{href:"/url-opener",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"URL Opener"}),(0,t.jsx)(s.Link,{href:"/url-parser",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"URL Parser"}),(0,t.jsx)(s.Link,{href:"/batch-url-checker",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Batch URL Checker"}),(0,t.jsx)(s.Link,{href:"/tools",className:"text-slate-200 hover:text-cyan-300 transition-colors",children:"Tools"})]})]})]}),(0,t.jsxs)("div",{className:"mt-10 border-t border-white/10 pt-6 space-y-4",children:[(0,t.jsxs)("div",{className:"flex flex-col lg:flex-row items-start lg:items-center justify-between gap-6",children:[(0,t.jsxs)("p",{className:"text-slate-400 text-sm",children:[e("copyright")," ",e("madeWith")]}),(0,t.jsxs)("div",{className:"flex flex-col md:flex-row md:items-center gap-3 md:gap-6 text-sm text-slate-200",children:[(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("h4",{className:"font-semibold text-white",children:e("legal")}),(0,t.jsx)("p",{className:"text-slate-400 text-sm",children:g})]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-3 text-sm text-slate-200",children:[(0,t.jsx)(s.Link,{href:"/privacy",className:"hover:text-cyan-300 transition-colors",children:e("privacy")}),(0,t.jsx)("span",{className:"text-slate-500",children:"â¢"}),(0,t.jsx)(s.Link,{href:"/terms",className:"hover:text-cyan-300 transition-colors",children:e("terms")}),(0,t.jsx)("span",{className:"text-slate-500",children:"â¢"}),(0,t.jsx)(s.Link,{href:"/docs",className:"hover:text-cyan-300 transition-colors",children:u}),(0,t.jsx)("span",{className:"text-slate-500",children:"â¢"}),(0,t.jsx)("a",{href:(0,a.buildAbuseReportMailto)({source:"footer"}),className:"hover:text-cyan-300 transition-colors",children:p}),(0,t.jsx)("span",{className:"text-slate-500",children:"â¢"}),(0,t.jsx)(s.Link,{href:"/about",className:"hover:text-cyan-300 transition-colors",children:e("about")})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("h4",{className:"text-sm font-semibold text-white",children:"Connect With Us"}),(0,t.jsxs)("div",{className:"flex space-x-2",children:[(0,t.jsx)("a",{href:"https://github.com/image2url",target:"_blank",rel:"noreferrer",className:"w-10 h-10 bg-white/10 border border-white/10 rounded-lg flex items-center justify-center text-slate-200 hover:text-white hover:bg-white/20 transition-all","aria-label":"Image2URL on GitHub",children:(0,t.jsx)(r.Github,{className:"h-5 w-5"})}),(0,t.jsx)("a",{href:"https://x.com/image2url",target:"_blank",rel:"noreferrer",className:"w-10 h-10 bg-white/10 border border-white/10 rounded-lg flex items-center justify-center text-slate-200 hover:text-cyan-300 hover:bg-white/20 transition-all","aria-label":"Image2URL on X",children:(0,t.jsx)(c.Twitter,{className:"h-5 w-5"})}),(0,t.jsx)("a",{href:"https://buymeacoffee.com/image2url",target:"_blank",rel:"noreferrer",className:"inline-flex items-center","aria-label":"Buy Me A Coffee",children:(0,t.jsx)("img",{src:"/support/bmc-button.svg",alt:"Buy Me A Coffee",className:"h-10 w-[145px] object-contain transition-transform hover:scale-105",loading:"lazy"})})]})]})]})]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-center lg:justify-start gap-3 text-xs text-slate-400",children:[(0,t.jsxs)("span",{className:"inline-flex items-center gap-1",children:[(0,t.jsx)(n.Shield,{className:"h-4 w-4"})," SSL"]}),(0,t.jsxs)("span",{className:"inline-flex items-center gap-1",children:[(0,t.jsx)(l.Globe2,{className:"h-4 w-4"})," Global edge"]}),(0,t.jsxs)("span",{className:"inline-flex items-center gap-1",children:[(0,t.jsx)(d.Zap,{className:"h-4 w-4"})," Fast uploads"]})]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-center lg:justify-start gap-2 text-[10px] text-slate-400",children:[(0,t.jsx)("a",{href:"https://fazier.com/launches/www.image2url.com",target:"_blank",rel:"noreferrer",className:"inline-flex items-center opacity-75 hover:opacity-100 transition",children:(0,t.jsx)("img",{src:"https://fazier.com/api/v1//public/badges/launch_badges.svg?badge_type=launched&theme=dark",alt:"Fazier badge",className:"h-4 w-28 object-contain object-left",loading:"lazy"})}),(0,t.jsx)("a",{href:"https://findly.tools/image-to-url?utm_source=image-to-url",target:"_blank",rel:"noreferrer",className:"inline-flex items-center opacity-75 hover:opacity-100 transition",children:(0,t.jsx)("img",{src:"https://findly.tools/badges/findly-tools-badge-dark.svg",alt:"Featured on findly.tools",className:"h-4 w-28 object-contain object-left",loading:"lazy"})}),(0,t.jsx)("a",{href:"https://indie.deals?ref=https%3A%2F%2Fwww.image2url.com%2F",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center opacity-75 hover:opacity-100 transition",children:(0,t.jsx)("img",{src:"https://indie.deals/logo_badge.png",alt:"Featured on Indie.Deals",className:"h-4 w-28 object-contain object-left",loading:"lazy"})}),(0,t.jsx)("a",{href:"https://startupfa.me/s/imagetourl-1?utm_source=www.image2url.com",target:"_blank",rel:"noreferrer",className:"inline-flex items-center opacity-75 hover:opacity-100 transition",children:(0,t.jsx)("img",{src:"https://startupfa.me/badges/featured-badge.webp",alt:"ImageToURL - Featured on Startup Fame",className:"h-4 w-28 object-contain object-left",loading:"lazy"})}),(0,t.jsx)("a",{href:"https://twelve.tools",target:"_blank",rel:"noreferrer",className:"inline-flex items-center opacity-75 hover:opacity-100 transition",children:(0,t.jsx)("img",{src:"https://twelve.tools/badge0-dark.svg",alt:"Featured on Twelve Tools",className:"h-4 w-28 object-contain object-left",loading:"lazy"})}),(0,t.jsx)("a",{href:"https://goodaitools.com",target:"_blank",rel:"noreferrer",className:"inline-flex items-center opacity-75 hover:opacity-100 transition",children:(0,t.jsx)("img",{src:"https://goodaitools.com/assets/images/badge-dark.png",alt:"Good AI Tools",className:"h-4 w-28 object-contain object-left",loading:"lazy"})}),(0,t.jsx)("a",{href:"https://showmebest.ai",target:"_blank",rel:"noreferrer",className:"inline-flex items-center opacity-75 hover:opacity-100 transition",children:(0,t.jsx)("img",{src:"https://showmebest.ai/badge/feature-badge-dark.webp",alt:"Featured on ShowMeBestAI",className:"h-4 w-28 object-contain object-left",loading:"lazy"})}),(0,t.jsx)("a",{href:"https://www.ontoplist.com/software-blogs/",target:"_blank",rel:"noreferrer",className:"inline-flex items-center opacity-75 hover:opacity-100 transition",children:(0,t.jsx)("img",{src:"https://www.ontoplist.com/images/ontoplist31.png?id=695fbd427b5e2",alt:"Software Development Blogs - OnToplist.com",className:"h-4 w-28 object-contain object-left",loading:"lazy"})}),(0,t.jsx)("a",{href:"https://aidirs.org/item/imagetourl",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center opacity-75 hover:opacity-100 transition",children:(0,t.jsx)("img",{src:"https://aidirs.org/badges/badge-listed-dark.svg",alt:"Listed on AIDirs",className:"h-4 w-28 object-contain object-left",loading:"lazy"})}),(0,t.jsx)("a",{href:"https://submito.net",target:"_blank",title:"Listed on Submito",rel:"noopener noreferrer",className:"inline-flex items-center opacity-75 hover:opacity-100 transition",children:(0,t.jsx)("img",{src:"https://submito.net/badge/listed-light.svg",alt:"Listed on Submito",className:"h-4 w-28 object-contain object-left",loading:"lazy"})}),(0,t.jsx)("a",{href:"https://turbo0.com/item/image-to-url",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center opacity-75 hover:opacity-100 transition",children:(0,t.jsx)("img",{src:"https://img.turbo0.com/badge-listed-light.svg",alt:"Listed on Turbo0",className:"h-4 w-28 object-contain object-left",loading:"lazy"})}),(0,t.jsx)("a",{href:"https://launchigniter.com/product/image-to-url?ref=badge-image-to-url",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center opacity-75 hover:opacity-100 transition",children:(0,t.jsx)("img",{src:"https://launchigniter.com/api/badge/image-to-url?theme=light",alt:"Featured on LaunchIgniter",className:"h-4 w-28 object-contain object-left",loading:"lazy"})}),(0,t.jsx)("a",{href:"https://dofollow.tools",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center opacity-75 hover:opacity-100 transition",children:(0,t.jsx)("img",{src:"https://dofollow.tools/badge/badge_dark.svg",alt:"Featured on Dofollow.Tools",className:"h-4 w-28 object-contain object-left",loading:"lazy"})}),(0,t.jsx)("a",{href:"https://verifieddr.com/website/image2url-com",target:"_blank",rel:"noreferrer",className:"inline-flex items-center opacity-75 hover:opacity-100 transition",children:(0,t.jsx)("img",{src:"https://verifieddr.com/badge/image2url-com.svg",alt:"Verified DR - Verified Domain Rating for www.image2url.com",className:"h-4 w-28 object-contain object-left",loading:"lazy"})}),(0,t.jsx)("a",{href:"https://submitaitools.org",target:"_blank",rel:"noreferrer",className:"inline-flex items-center opacity-75 hover:opacity-100 transition",children:(0,t.jsx)("img",{src:"https://submitaitools.org/static_submitaitools/images/submitaitools.png",alt:"Submit AI Tools â The ultimate platform to discover, submit, and explore the best AI tools across various categories.",className:"h-4 w-28 rounded-[10px] object-contain object-left",loading:"lazy"})})]})]})]})})}e.s(["default",()=>p],13642)},2684,e=>{"use strict";e.i(466598);var t=e.i(843476),s=e.i(271645),a=e.i(870273);let r=(0,e.i(475254).default)("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);var l=e.i(595468),o=e.i(519455),i=e.i(515288),n=e.i(948148);function c(){let e=(0,n.useTranslations)("Rating"),[c,d]=(0,s.use
1State)(0),[h,x]=(0,s.useState)(0),[m,u]=(0,s.useState)(!1),[g,f]=(0,s.useState)(""),[p,b]=(0,s.useState)(!1),[v,j]=(0,s.useState)({totalRating:23080,totalVotes:5026,ratings:[]});(0,s.useEffect)(()=>{try{let e=localStorage.getItem("userRatingData");if(e){let t=JSON.parse(e);j(t)}}catch(e){console.error("Failed to load rating data:",e)}},[]);let y=(0,s.useCallback)(e=>{try{localStorage.setItem("userRatingData",JSON.stringify(e))}catch(e){console.error("Failed to save rating data:",e)}},[]),w=(0,s.useCallback)(()=>{try{let e=localStorage.getItem("userLastVoteTime");if(!e)return!1;let t=Date.now(),s=parseInt(e);return(t-s)/36e5<24}catch(e){return console.error("Failed to check vote time:",e),!1}},[]),N=v.totalVotes>0?(v.totalRating/v.totalVotes).toFixed(1):"4.6",k=v.totalVotes;return m?(0,t.jsxs)(i.Card,{className:"bg-slate-900/50 border-slate-800 p-8 text-center animate-in fade-in zoom-in duration-300",children:[(0,t.jsx)("div",{className:"flex justify-center mb-4",children:(0,t.jsx)(l.CheckCircle2,{className:"h-12 w-12 text-green-500"})}),(0,t.jsx)("h3",{className:"text-xl font-bold text-white mb-2",children:e("thankYouTitle")}),(0,t.jsx)("p",{className:"text-slate-400",children:e("thankYouMessage")})]}):(0,t.jsxs)(i.Card,{className:"bg-slate-900/50 border-slate-800 p-8",children:[(0,t.jsxs)("div",{className:"text-center mb-6",children:[(0,t.jsx)("h3",{className:"text-2xl font-bold text-white mb-2",children:e("title")}),(0,t.jsx)("p",{className:"text-slate-400",children:e("subtitle")})]}),p?(0,t.jsxs)("div",{className:"space-y-4 animate-in slide-in-from-bottom-2 duration-300",children:[(0,t.jsx)("p",{className:"text-slate-300 font-medium",children:e("surveyPrompt")}),(0,t.jsx)("textarea",{value:g,onChange:e=>f(e.target.value),placeholder:e("surveyPlaceholder"),className:"w-full bg-slate-800 border-slate-700 rounded-lg p-3 text-white focus:outline-none focus:border-cyan-500 transition-colors min-h-[100px]"}),(0,t.jsxs)(o.Button,{onClick:()=>{if(!w()){let e={totalRating:v.totalRating+c,totalVotes:v.totalVotes+1,ratings:[...v.ratings,c]};j(e),y(e);try{localStorage.setItem("userLastVoteTime",Date.now().toString())}catch(e){console.error("Failed to save vote time:",e)}}u(!0),b(!1),console.log("Survey Feedback:",{rating:c,comment:g})},className:"w-full bg-gradient-to-r from-cyan-500 to-blue-600 hover:from-cyan-400 hover:to-blue-500 text-white font-bold py-3 rounded-xl shadow-lg transition-all",children:[(0,t.jsx)(r,{className:"h-4 w-4 mr-2"}),e("submitButton")]})]}):(0,t.jsxs)("div",{className:"flex flex-col items-center",children:[(0,t.jsx)("div",{className:"flex gap-2 mb-4",children:[1,2,3,4,5].map(e=>(0,t.jsx)("button",{onMouseEnter:()=>x(e),onMouseLeave:()=>x(0),onClick:()=>(e=>{if(d(e),w())return void u(!0);if(e<3)b(!0);else{let t={totalRating:v.totalRating+e,totalVotes:v.totalVotes+1,ratings:[...v.ratings,e]};j(t),y(t);try{localStorage.setItem("userLastVoteTime",Date.now().toString())}catch(e){console.error("Failed to save vote time:",e)}u(!0)}})(e),className:"transition-transform hover:scale-110 active:scale-95",children:(0,t.jsx)(a.Star,{className:`h-10 w-10 transition-colors ${(h||c)>=e?"fill-yellow-400 text-yellow-400":"text-slate-600"}`})},e))}),(0,t.jsxs)("div",{className:"flex flex-col items-center text-sm text-slate-500 mt-2",children:[(0,t.jsx)("span",{className:"text-2xl font-bold text-white mb-1",children:N}),(0,t.jsxs)("span",{children:[k.toLocaleString()," ",e("votes")]})]})]})]})}e.s(["default",()=>c],2684)},347750,e=>{"use strict";e.i(466598);var t=e.i(843476),s=e.i(643531),a=e.i(861745),r=e.i(948148),l=e.i(614537),o=e.i(744705),i=e.i(648309);function n(){let e=(0,a.useLocale)(),n=(0,r.useTranslations)("Rating"),c=(0,l.useRouter)(),d=(0,l.usePathname)();return(0,t.jsxs)("div",{className:"w-full max-w-6xl mx-auto mb-8 animate-in fade-in slide-in-from-bottom-4 duration-500",children:[(0,t.jsxs)("div",{className:"mb-6 text-center",children:[(0,t.jsx)("h2",{className:"text-xl font-bold text-white",children:n("regionTitle")}),(0,t.jsx)("p",{className:"text-slate-400 text-sm mt-1",children:n("regionSubtitle")})]}),(0,t.jsx)("div",{className:"bg-slate-900/50 rounded-2xl p-6 border border-slate-800 backdrop-blur-sm",children:(0,t.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-7 gap-3",children:o.LOCALES.map(a=>{let{label:r,countryCode:l}=i.LOCALE_METADATA[a],o=e===a;return(0,t.jsxs)("button",{onClick:()=>{"undefined"!=typeof document&&(document.cookie=`NEXT_LOCALE_PREFERENCE=${encodeURIComponent(a)}; path=/; max-age=31536000; samesite=lax`),c.push(d,{locale:a})},className:` 2 group relative flex items-center gap-2.5 px-3 py-2.5 rounded-xl border text-left transition-all duration-300 ease-out outline-none 3 ${o?"border-cyan-500 bg-cyan-500/10 text-cyan-400 shadow-[0_0_15px_-3px_rgba(6,182,212,0.3)]":"border-slate-800 bg-slate-800/40 text-slate-400 hover:border-slate-700 hover:bg-slate-800/60 hover:text-slate-200"} 4 `,children:[(0,t.jsxs)("div",{className:"relative w-5 h-3.5 flex-shrink-0 shadow-sm rounded-[2px] overflow-hidden",children:[(0,t.jsx)("img",{src:`https://flagcdn.com/w40/${l}.png`,srcSet:`https://flagcdn.com/w80/${l}.png 2x`,alt:r,className:"w-full h-full object-cover grayscale-[0.2] group-hover:grayscale-0 transition-all",loading:"lazy"}),(0,t.jsx)("div",{className:"absolute inset-0 border border-white/5 rounded-[2px]"})]}),(0,t.jsx)("span",{className:`text-xs font-medium truncate ${o?"text-cyan-400":""}`,children:r}),o&&(0,t.jsx)("div",{className:"absolute top-1.5 right-1.5 animate-in fade-in zoom-in duration-300",children:(0,t.jsx)("div",{className:"bg-cyan-500 rounded-full p-0.5 shadow-sm",children:(0,t.jsx)(s.Check,{className:"w-2 h-2 text-slate-900",strokeWidth:4})})})]},a)})})})]})}e.s(["default",()=>n])},765092,e=>{"use strict";e.i(466598);var t=e.i(843476),s=e.i(271645),a=e.i(37727),r=e.i(861745),l=e.i(948148),o=e.i(614537),i=e.i(744705),n=e.i(648309);let c="NEXT_LOCALE_PREFERENCE",d="NEXT_LOCALE_PROMPT_SEEN";function h(e){if("undefined"==typeof document)return null;let t=document.cookie.split(";
4 ").filter(Boolean).find(t=>t.startsWith(`${e}=`));return t?decodeURIComponent(t.split("=").slice(1).join("=")):null}function x(e,t,s){"undefined"!=typeof document&&(document.cookie=`${e}=${encodeURIComponent(t)}; path=/; max-age=${s}; samesite=lax`)}function m(e){return!!e&&i.LOCALES.includes(e)}function u(){let e=(0,r.useLocale)(),i=(0,l.useTranslations)("LocalePrompt"),u=(0,l.useTranslations)("Common"),g=(0,o.useRouter)(),f=(0,o.usePathname)(),[p,b]=(0,s.useState)(null),[v,j]=(0,s.useState)(!1),y="locale-prompt-title",w="locale-prompt-description";if((0,s.useEffect)(()=>{if("/"!==f||m(h(c))||h(d))return;let t=h("NEXT_SUGGESTED_LOCALE");m(t)&&t!==e&&(x(d,"1",31536e3),b(t),j(!0))},[e,f]),!v||!p)return null;let N=(0,n.getLocaleLabel)(p),k=(0,n.getLocaleLabel)(e);return(0,t.jsx)("div",{className:"fixed inset-0 z-[60] flex items-center justify-center bg-slate-950/70 p-4 backdrop-blur-sm",children:(0,t.jsxs)("div",{className:"w-full max-w-2xl overflow-hidden rounded-2xl border border-slate-700 bg-slate-900/95 shadow-2xl",role:"dialog","aria-modal":"true","aria-labelledby":y,"aria-describedby":w,children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-6 border-b border-slate-800 p-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{id:y,className:"text-2xl font-semibold text-white",children:i("title")}),(0,t.jsx)("p",{id:w,className:"mt-3 text-sm leading-relaxed text-slate-300",children:i("description",{language:N})})]}),(0,t.jsx)("button",{type:"button",onClick:()=>{j(!1)},className:"rounded-full border border-slate-700 p-2 text-slate-300 transition hover:border-slate-500 hover:text-white","aria-label":u("close"),children:(0,t.jsx)(a.X,{className:"h-4 w-4"})})]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-3 p-6",children:[(0,t.jsx)("button",{type:"button",onClick:()=>{p&&(x(c,p,31536e3),g.push(f,{locale:p}))},className:"rounded-full bg-gradient-to-r from-cyan-500 to-blue-600 px-5 py-2 text-sm font-semibold text-white shadow-lg transition hover:from-cyan-400 hover:to-blue-500",children:i("switchCta",{language:N})}),(0,t.jsx)("button",{type:"button",onClick:()=>{x(c,e,31536e3),j(!1)},className:"rounded-full border border-slate-700 px-5 py-2 text-sm font-semibold text-slate-200 transition hover:border-slate-500 hover:text-white",children:i("stayCta",{language:k})})]})]})})}e.s(["default",()=>u])},390464,e=>{"use strict";e.i(466598);var t=e.i(843476),s=e.i(526732);function a({children:e}){return(0,t.jsx)(s.SessionProvider,{children:e})}e.s(["default",()=>a])},998775,e=>{"use strict";var t=e.i(375679),s=e.i(453375),a=e.i(618566),r=e.i(271645);function l({locale:e}){let l=(0,a.usePathname)(),o=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let a=`${l||"/"}${window.location.search}`;o.current!==a&&(o.current=a,(0,t.trackPageView)({path:a,locale:e,country:(0,t.getCountryFromCookie)(),referrer:document.referrer||void 0,variant:(0,t.getUploadVariant)(e)}),(0,s.recordPageAttribution)(a))},[e,l]),(0,r.useEffect)(()=>{let s=s=>{let a,r=s.target,l=r?.closest("a[href]");if(!l)return;try{a=new URL(l.href,window.location.origin)}catch{return}if(a.origin!==window.location.origin)return;let o=`${a.pathname}${a.search}`;/(^|\/)blog(\/|$)/.test(a.pathname)&&(0,t.trackBlogLinkClick)({source:l.dataset.analyticsSource||"link_click",targetPath:o,locale:e})};return document.addEventListener("click",s,!0),()=>{document.removeEventListener("click",s,!0)}},[e]),null}e.s(["default",()=>l])},329210,e=>{"use strict";var t=e.i(271645),s=e.i(375679),a=e.i(526732);function r(){let{data:e,status:r}=(0,a.useSession)(),l=(0,t.useRef)(!1),o=e?.user?.email;return(0,t.useEffect)(()=>{if("authenticated"!==r||!e?.user?.id){l.current=!1;return}l.current||(l.current=!0,(0,s.trackFunnelStep)("marketing_identified",{source:"session_sync",emailKnown:!!o}))},[o,e?.user?.id,r]),null}e.s(["default",()=>r])}]);
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.