1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9660],{1147:(e,r,t)=>{Promise.resolve().then(t.bind(t,4636)),Promise.resolve().then(t.bind(t,9218)),Promise.resolve().then(t.bind(t,5463)),Promise.resolve().then(t.bind(t,3753)),Promise.resolve().then(t.bind(t,4539))},1169:(e,r,t)=>{"use strict";t.d(r,{A:()=>s});let s=(0,t(7633).A)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},4636:(e,r,t)=>{"use strict";t.d(r,{FaviconCheckerForm:()=>b});var s=t(1908),n=t(6712),a=t(7106),i=t(7533),c=t(8716),l=t(6160),o=t(5328),d=t(1169),f=t(6109),h=t(5403),m=t(5687);let x=(0,t(7633).A)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);var u=t(9162),p=t(6440);let v=(0,p.createServerReference)("400ae49970f8f179a780836c679f05f609e9b9111f",p.callServer,void 0,p.findSourceMapURL,"diagnoseFavicons");function g(e){let{label:r,code:t,copyLabel:n}=e;return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"mb-1.5 flex items-center justify-between gap-2",children:[(0,s.jsx)("span",{className:"text-xs font-medium text-muted-foreground",children:r}),(0,s.jsx)(o.i,{value:t,label:n})]}),(0,s.jsx)("pre",{className:"bg-background ring-1 ring-border/50 p-3 rounded-md text-xs overflow-x-auto max-h-64",children:(0,s.jsx)("code",{children:t})})]})}function b(){var e;let r=(0,i.c)("preview"),t=(0,a.useSearchParams)(),[p,b]=(0,n.useState)(""),[j,y]=(0,n.useState)(""),[N,w]=(0,n.useState)(!1),[k,_]=(0,n.use
1State)(""),[A,S]=(0,n.useState)(null),z=(0,n.useRef)(!1),C=async e=>{_(""),S(null);let t=function(e){let r=e.trim();return r?/^https?:\/\//i.test(r)?r:"https://"+r:""}(e);if(!/^[a-z0-9.-]+\.[a-z]{2,}/i.test(t.replace(/^https?:\/\//,"").split("/")[0])){_(r("invalidUrl"));return}w(!0);try{let e=await v(t);S(e);try{y(new URL(t).hostname)}catch(e){y("")}}catch(e){_(r("invalidUrl"))}finally{w(!1)}};(0,n.useEffect)(()=>{if(z.current)return;let e=t.get("domain");e&&(z.current=!0,b(e),C(e))},[t]);let M=j?"https://favicon.run/favicon-checker?domain=".concat(j):"";return(0,s.jsxs)("div",{className:"max-w-2xl mx-auto",children:[(0,s.jsxs)("form",{onSubmit:e=>{e.preventDefault(),C(p)},className:"flex flex-col sm:flex-row gap-2",children:[(0,s.jsx)(l.p,{value:p,onChange:e=>b(e.target.value),placeholder:r("inputPlaceholder"),"aria-label":r("inputLabel"),className:"flex-1 h-12",autoCapitalize:"off",autoCorrect:"off"}),(0,s.jsx)(c.$,{type:"submit",size:"lg",disabled:N,className:"h-12",children:N?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(d.A,{className:"mr-2 h-4 w-4 animate-spin"}),r("checking")]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(f.A,{className:"mr-2 h-4 w-4"}),r("checkButton")]})})]}),k&&(0,s.jsx)("p",{className:"mt-3 text-sm text-destructive",children:k}),A&&(0,s.jsxs)("div",{className:"mt-8 rounded-2xl ring-1 ring-border/50 bg-card overflow-hidden",children:[(0,s.jsxs)("div",{className:"p-6 border-b bg-muted/30 flex items-center justify-between gap-4 flex-wrap",children:[(0,s.jsxs)("div",{className:"space-y-1.5",children:[(0,s.jsx)("p",{className:"text-sm text-muted-foreground",children:A.reachable?r("score",{score:A.score}):r("unreachable")}),A.reachable&&M&&(0,s.jsx)(o.i,{value:M,className:"h-7 px-2 text-xs",children:r("shareReport")})]}),A.reachable&&(0,s.jsxs)("div",{className:"text-4xl font-bold tabular ".concat((e=A.score)>=80?"text-emerald-500":e>=50?"text-amber-500":"text-destructive"),children:[A.score,"%"]})]}),!A.reachable&&(0,s.jsx)("div",{className:"px-6 py-5 text-sm text-muted-foreground",children:r("unreachableBody")}),A.reachable&&(0,s.jsx)("ul",{className:"divide-y",children:A.checks.map(e=>(0,s.jsxs)("li",{className:"flex items-start gap-3 px-6 py-4",children:[(0,s.jsx)("span",{className:["mt-0.5 flex h-5 w-5 shrink-0 items-center justify-center rounded-full",e.ok?"bg-emerald-500/15 text-emerald-600 dark:text-emerald-400":"bg-muted text-muted-foreground"].join(" "),children:e.ok?(0,s.jsx)(h.A,{className:"h-3.5 w-3.5",strokeWidth:3}):(0,s.jsx)(m.A,{className:"h-3.5 w-3.5"})}),(0,s.jsx)("p",{className:"text-sm font-medium",children:r.raw("checks.".concat(e.key))})]},e.key))}),A.reachable&&A.score<100&&(0,s.jsxs)("div",{className:"p-5 bg-muted/30 border-t space-y-4",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"text-sm font-semibold",children:r("fixTitle")}),(0,s.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:r("fixIntro")})]}),(0,s.jsx)(g,{label:r("fixHeadLabel"),code:'\x3c!-- Basic icon --\x3e\n<link rel="icon" href="/favicon.ico" sizes="any">\n\n\x3c!-- PNG icons for modern browsers --\x3e\n<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">\n<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">\n<link rel="icon" type="image/png" sizes="48x48" href="/favicon-48x48.png">\n<link rel="icon" type="image/png" sizes="192x192" href="/favicon-192x192.png">\n\n\x3c!-- Apple Touch Icon for iOS devices --\x3e\n<link rel="apple-touch-icon" href="/apple-touch-icon.png">\n\n\x3c!-- PWA manifest file --\x3e\n<link rel="manifest" href="/site.webmanifest">',copyLabel:r("copy")}),(0,s.jsx)(g,{label:r("fixManifestLabel"),code:'{\n "name": "Your Website Name",\n "short_name": "Short Name",\n "icons": [\n {\n "src": "/favicon-192x192.png",\n "sizes": "192x192",\n "type": "image/png"\n },\n {\n "src": "/favicon-512x512.png",\n "sizes": "512x512",\n "type": "image/png"\n }\n ],\n "theme_color": "#ffffff",\n "background_color": "#ffffff",\n "display": "standalone"\n}',copyLabel:r("copy")}),(0,s.jsx)(c.$,{asChild:!0,variant:"outline",size:"sm",children:(0,s.jsxs)(u.N_,{href:"/favicon-generator",children:[r("fixFilesCta"),(0,s.jsx)(x,{className:"ml-2 h-4 w-4"})]})})]})]})]})}},5328:(e,r,t)=>{"use strict";t.d(r,{i:()=>l});var s=t(1908),n=t(6712),a=t(5403),i=t(8056),c=t(8716);function l(e){let{value:r,label:t,className:l,children:o}
1=e,[d,f]=(0,n.useState)(!1);async function h(){try{await navigator.clipboard.writeText(r),f(!0),setTimeout(()=>f(!1),1500)}catch(e){}}return o?(0,s.jsxs)(c.$,{type:"button",variant:"outline",size:"sm",className:l,onClick:h,children:[d?(0,s.jsx)(a.A,{className:"mr-1.5 h-3.5 w-3.5"}):(0,s.jsx)(i.A,{className:"mr-1.5 h-3.5 w-3.5"}),o]}):(0,s.jsx)(c.$,{type:"button",variant:"ghost",size:"icon",className:l,onClick:h,"aria-label":t,children:d?(0,s.jsx)(a.A,{className:"h-4 w-4"}):(0,s.jsx)(i.A,{className:"h-4 w-4"})})}},6109:(e,r,t)=>{"use strict";t.d(r,{A:()=>s});let s=(0,t(7633).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},6160:(e,r,t)=>{"use strict";t.d(r,{p:()=>i});var s=t(1908),n=t(6712),a=t(8907);let i=n.forwardRef((e,r)=>{let{className:t,type:n,...i}=e;return(0,s.jsx)("input",{type:n,className:(0,a.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),ref:r,...i})});i.displayName="Input"},6440:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,r){for(var t in r)Object.defineProperty(e,t,{enumerable:!0,get:r[t]})}(r,{callServer:function(){return s.callServer},createServerReference:function(){return a},findSourceMapURL:function(){return n.findSourceMapURL}});let s=t(5855),n=t(871),a=t(804).createServerReference},8056:(e,r,t)=>{"use strict";t.d(r,{A:()=>s});let s=(0,t(7633).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},9218:(e,r,t)=>{"use strict";t.d(r,{SiteFooter:()=>f});var s=t(1908),n=t(7533),a=t(9162),i=t(8251),c=t(9353);let l=[{href:"https://nicepasswd.com/?utm_source=favicon.run&utm_medium=footer",label:"Nice Password"},{href:"https://nicenewtab.com/?utm_source=favicon.run&utm_medium=footer",label:"Nice NewTab"},{href:"https://aiwith.me/?utm_source=favicon.run&utm_medium=footer",label:"AI With Me"},{href:"https://ti84hub.com/?utm_source=favicon.run&utm_medium=footer",label:"TI 84 Calculator Online"},{href:"https://randomaddressgen.com/?utm_source=favicon.run&utm_medium=footer",label:"Random Address Generator"}];function o(e){let{title:r,children:t}=e;return(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"text-xs font-semibold uppercase tracking-wider text-foreground/80 mb-3",children:r}),(0,s.jsx)("ul",{className:"space-y-2",children:t})]})}function d(e){let{href:r,children:t}=e;return(0,s.jsx)("li",{children:(0,s.jsx)(a.N_,{href:r,className:"text-sm text-muted-foreground hover:text-foreground transition-colors",children:t})})}function f(){let e=(0,n.c)("nav"),r=(0,n.c)();return(0,s.jsx)("footer",{className:"border-t bg-muted/30",children:(0,s.jsxs)("div",{className:"container mx-auto px-4 md:px-6 py-12",children:[(0,s.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-4 lg:grid-cols-5 gap-8",children:[(0,s.jsxs)("div",{className:"col-span-2 lg:col-span-1",children:[(0,s.jsxs)(a.N_,{href:"/",className:"flex items-center gap-2 mb-3",children:[(0,s.jsx)("img",{src:"/favicon-192.png",alt:"favicon.run Logo",width:32,height:32}),(0,s.jsxs)("span",{className:"text-xl font-bold",children:[(0,s.jsx)("span",{className:"text-primary",children:"favicon"}),(0,s.jsx)("span",{className:"text-gray-500 dark:text-gray-400",children:".run"})]})]}),(0,s.jsxs)("div",{className:"flex flex-col items-start gap-2",children:[(0,s.jsxs)("a",{href:"https://chromewebstore.google.com/detail/faviconrun/lpgpklphoonjhibnjpggflmjdalbofga",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center text-sm text-primary hover:underline underline-offset-4",children:[(0,s.jsx)(i.A,{className:"h-4 w-4 inline-block mr-1.5"}),r("nav.extension")]}),(0,s.jsxs)("a",{href:"https://www.buymeacoffee.com/yq17245553y",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center text-sm text-primary hover:underline underline-offset-4",children:[(0,s.jsx)(c.A,{className:"h-4 w-4 inline-block mr-1.5"}),r("buyMeACoffee")]})]})]}),(0,s.jsxs)(o,{title:r("footer.tools"),children:[(0,s.jsx)(d,{href:"/brands",children:e("brands")}),(0,s.jsx)(d,{href:"/favicon-fetcher",children:e("tool")}),(0,s.jsx)(d,{href:"/favicon-extractor",children:e("extractor")}),(0,s.jsx)(d,{href:"/favicon-finder",children:e("finder")}),(0,s.jsx)(d,{href:"/favicon-downloader",children:e("downloader")}),(0,s.jsx)(d,{href:"/favicon-fetcher/batch",children:e("batch")}),(0,s.jsx)(d,{href:"/favicon-embed",children:"Favicon Embed"}),(0,s.jsx)(d,{href:"/favicon-checker",children:e("checker")})]}),(0,s.jsxs)(o,{title:r("footer.generators"),children:[(0,s.jsx)(d,{href:"/favicon-generator",children:e("iconGenerator")}),(0,s.jsx)(d,{href:"/png-to-favicon",children:e("pngToFavicon")}),(0,s.jsx)(d,{href:"/text-favicon",children:e("textFavicon")}),(0,s.jsx)(d,{href:"/emoji-favicon",children:e("emojiFavicon")})]}),(0,s.jsxs)(o,{title:e("guide"),children:[(0,s.jsx)(d,{href:"/guide",children:r("nav.viewAllGuides")}
1),(0,s.jsx)(d,{href:"/guide/what-is-favicon",children:r("guide.whatIsFavicon.title")}),(0,s.jsx)(d,{href:"/guide/favicon-sizes",children:e("faviconSizes")}),(0,s.jsx)(d,{href:"/favicon-ico",children:"favicon.ico"})]}),(0,s.jsxs)(o,{title:r("footer.company"),children:[(0,s.jsx)(d,{href:"/about",children:e("about")}),(0,s.jsx)(d,{href:"/contact",children:r("nav.contact")||"Contact"}),(0,s.jsx)(d,{href:"/privacy",children:e("privacy")})]})]}),(0,s.jsxs)("div",{className:"mt-10 pt-6 border-t",children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-x-5 gap-y-2",children:[(0,s.jsx)("a",{href:"https://x.com/AwesomeYang_com",target:"_blank",rel:"noopener noreferrer",className:"text-xs text-muted-foreground/70 hover:text-muted-foreground transition-colors",children:"Made by @AwesomeYang"}),(0,s.jsx)("a",{href:"/llms.txt",className:"text-xs text-muted-foreground/70 hover:text-muted-foreground transition-colors",children:"llms.txt"}),l.map(e=>(0,s.jsx)("a",{href:e.href,target:"_blank",rel:"sponsored noopener noreferrer",className:"text-xs text-muted-foreground/70 hover:text-muted-foreground transition-colors",children:e.label},e.href))]}),(0,s.jsxs)("p",{className:"mt-4 text-xs text-muted-foreground",children:["\xa9 ",new Date().getFullYear()," ",r("copyright")]})]})]})})}},9353:(e,r,t)=>{"use strict";t.d(r,{A:()=>s});let s=(0,t(7633).A)("Coffee",[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]])}},e=>{var r=r=>e(e.s=r);e.O(0,[4539,5873,7529,1593,1410,7997,5463,6502,9739,7358],()=>r(1147)),_N_E=e.O()}]);
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.