1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6835],{13052:(e,t,o)=>{o.d(t,{A:()=>a});let a=(0,o(19946).A)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},14503:(e,t,o)=>{o.d(t,{d:()=>f,toast:()=>c});var a=o(12115);let r=0,s=new Map,n=e=>{if(s.has(e))return;let t=setTimeout(()=>{s.delete(e),l({type:"REMOVE_TOAST",toastId:e})},1e6);s.set(e,t)},i=[],d={toasts:[]};function l(e){d=((e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:o}=t;return o?n(o):e.toasts.forEach(e=>{n(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===o||void 0===o?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}})(d,e),i.forEach(e=>{e(d)})}function c({...e}){let t=(r=(r+1)%Number.MAX_SAFE_INTEGER).toString(),o=()=>l({type:"DISMISS_TOAST",toastId:t});return l({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:e=>{e||o()}}}),{id:t,dismiss:o,update:e=>l({type:"UPDATE_TOAST",toast:{...e,id:t}})}}function f(){let[e,t]=a.useState(d);return a.useEffect(()=>(i.push(t),()=>{let e=i.indexOf(t);e>-1&&i.splice(e,1)}),[e]),{...e,toast:c,dismiss:e=>l({type:"DISMISS_TOAST",toastId:e})}}},48034:(e,t,o)=>{o.d(t,{Lj:()=>i,PQ:()=>l,Zk:()=>c,dv:()=>d});var a=o(39039);let r={image:["png","jpg","jpeg","webp","gif","bmp","tiff","avif","heic"],vector:["svg","eps","ai","pdf","dxf","cdr","emf","wmf"],document:["pdf","eps","ai"],font:["ttf","otf","woff","woff2"],"3d":["stl","obj","fbx"],web:["png","jpg","webp","svg","avif","gif"],print:["pdf","eps","ai","svg","tiff"],cad:["dxf","dwg","stl"],design:["ai","cdr","eps","svg","pdf"],legacy:["emf","wmf","bmp","tiff"],modern:["webp","avif","heic","svg"]},s={"web-optimization":{keywords:["web","website","optimize","performance","responsive"],formats:["svg","webp","avif","png"],boost:4},"print-ready":{keywords:["print","high-quality","vector","scalable"],formats:["svg","eps","ai","pdf"],boost:3},"social-media":{keywords:["social","share","profile","avatar","icon"],formats:["png","jpg","svg","webp"],boost:3},"design-workflow":{keywords:["design","creative","workflow","adobe","canva"],formats:["ai","eps","svg","pdf"],boost:2},"mobile-first":{keywords:["mobile","app","responsive","retina","icon"],formats:["svg","png","webp","avif"],boost:3}},n={"free-to-paid":{name:"Free to Premium Journey",steps:["png-to-svg","svg-to-png","jpg-to-svg","ai-icon-generator"],conversionPoints:{"png-to-svg":["Try AI-powered vectorization","Create custom SVG icons"],"svg-to-png":["Export as video","Batch convert with premium"],"jpg-to-svg":["AI-enhanced conversion","Remove backgrounds"]}},"basic-to-advanced":{name:"Basic to Advanced Tools",steps:["svg-converter","svg-to-png","animate","ai-icon-generator"],conversionPoints:{"svg-converter":["Try specific converters","Use advanced options"],animate:["Export animations as video","Create complex animations"]}},"discover-to-create":{name:"Discovery to Creation",steps:["gallery","converter","animate","ai-icon-generator"],conversionPoints:{gallery:["Create similar designs","Customize existing SVGs"],converter:["Generate new designs","Batch process files"]}},"research-to-convert":{name:"Research to Conversion",steps:["learn","converter","gallery","ai-icon-generator"],conversionPoints:{learn:["Try it yourself","See examples"],converter:["Advanced features","Premium tools"]}}};function i(e){let t=`${e.toFormat.toLowerCase()}-to-${e.fromFormat.toLowerCase()}`;return a.converterConfigs.find(e=>e.id===t)||null}function d(e,t=6){let o=[];return a.converterConfigs.forEach(t=>{if(t.id===e.id)return;let a=0;t.fromFormat===e.fromFormat&&(a+=5),t.toFormat===e.toFormat&&(a+=5),t.id===`${e.toFormat.toLowerCase()}-to-${e.fromFormat.toLowerCase()}`&&(a+=10);let i=Object.entries(r).filter(([t,o])=>o.includes(e.fromFormat.toLowerCase())||o.includes(e.toFormat.toLowerCase())).map(([e])=>e),d=Object.entries(r).filter(([e,o])=>
1o.includes(t.fromFormat.toLowerCase())||o.includes(t.toFormat.toLowerCase())).map(([e])=>e),l=i.filter(e=>d.includes(e));a+=2*l.length,Object.entries(s).forEach(([o,r])=>{let s=r.formats.some(t=>t===e.fromFormat.toLowerCase()||t===e.toFormat.toLowerCase()),n=r.formats.some(e=>e===t.fromFormat.toLowerCase()||e===t.toFormat.toLowerCase());s&&n&&(a+=r.boost)}),Object.entries(n).forEach(([o,r])=>{if(r.steps.includes(e.id)&&r.steps.includes(t.id)){let o=Math.abs(r.steps.indexOf(e.id)-r.steps.indexOf(t.id));1===o?a+=6:2===o?a+=3:o<=3&&(a+=1)}}),t.searchVolume>5e4&&(a+=8),t.searchVolume>3e4&&(a+=6),t.searchVolume>1e4&&(a+=5),t.searchVolume>5e3&&(a+=3),t.searchVolume>1e3&&(a+=1),a>0&&o.push({converter:t,score:a})}),o.sort((e,t)=>t.score-e.score).slice(0,t).map(e=>e.converter)}function l(e){let t=[];return("svg"===e.fromFormat.toLowerCase()||"svg"===e.toFormat.toLowerCase())&&t.push({href:"/blog/guides/what-is-svg",title:"What is SVG?"},{href:"/blog/guides/svg-file-format",title:"SVG File Format Guide"}),("png"===e.fromFormat.toLowerCase()||"png"===e.toFormat.toLowerCase())&&t.push({href:"/blog/guides/convert-png-to-svg",title:"PNG to SVG Conversion Guide"}),("svg-to-png"===e.id||"png-to-svg"===e.id)&&t.push({href:"/blog/guides/convert-svg-to-png-windows",title:"Convert SVG to PNG on Windows"}),t.push({href:"/blog/guides/best-svg-converters",title:"Best SVG Converters"}),t.slice(0,3)}function c(e=12){let t=a.converterConfigs.filter(e=>e.isSupported),o=t.sort((e,t)=>t.searchVolume-e.searchVolume).slice(0,e);return{trending:o,mostUsed:[...t.filter(e=>e.searchVolume>3e4).slice(0,4),...t.filter(e=>e.searchVolume>1e4&&e.searchVolume<=3e4).slice(0,4),...t.filter(e=>e.searchVolume>5e3&&e.searchVolume<=1e4).slice(0,4)].slice(0,e),aiPowered:t.filter(e=>"svg"===e.toFormat.toLowerCase()||"svg"===e.fromFormat.toLowerCase()||e.id.includes("svg")).sort((e,t)=>t.searchVolume-e.searchVolume).slice(0,e)}}},53311:(e,t,o)=>{o.d(t,{A:()=>a});let a=(0,o(19946).A)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])},53904:(e,t,o)=>{o.d(t,{A:()=>a});let a=(0,o(19946).A)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},54416:(e,t,o)=>{o.d(t,{A:()=>a});let a=(0,o(19946).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},71539:(e,t,o)=>{o.d(t,{A:()=>a});let a=(0,o(19946).A)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},88145:(e,t,o)=>{o.d(t,{E:()=>i});var a=o(95155);o(12115);var r=o(74466),s=o(24026);let n=(0,r.F)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-gray-100 text-gray-700 hover:bg-gray-200 dark:bg-gray-100 dark:text-gray-700 dark:hover:bg-gray-200",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground",success:"border-transparent bg-green-100 text-green-700 hover:bg-green-200 dark:bg-green-900/20 dark:text-green-400 dark:hover:bg-green-900/30",info:"border-transparent bg-blue-100 text-blue-700 hover:bg-blue-200 dark:bg-blue-900/20 dark:text-blue-400 dark:hover:bg-blue-900/30",warning:"border-transparent bg-amber-100 text-amber-700 hover:bg-amber-200 dark:bg-amber-900/20 dark:text-amber-400 dark:hover:bg-amber-900/30"}},defaultVariants:{variant:"default"}});function i({className:e,variant:t,...o}
1){return(0,a.jsx)("div",{className:(0,s.cn)(n({variant:t}),e),...o})}},99840:(e,t,o)=>{o.d(t,{Cf:()=>m,Es:()=>g,HM:()=>c,L3:()=>u,LC:()=>f,ZJ:()=>l,c7:()=>p,lG:()=>d,rr:()=>v});var a=o(95155),r=o(12115),s=o(15452),n=o(54416),i=o(24026);let d=s.bL;s.l9;let l=s.ZL,c=s.bm,f=r.forwardRef(({className:e,...t},o)=>(0,a.jsx)(s.hJ,{ref:o,className:(0,i.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));f.displayName=s.hJ.displayName;let m=r.forwardRef(({className:e,children:t,...o},r)=>(0,a.jsxs)(l,{children:[(0,a.jsx)(f,{}),(0,a.jsxs)(s.UC,{ref:r,className:(0,i.cn)("fixed left-[50%] top-[50%] z-50 grid w-[calc(100%-2rem)] max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-4 sm:p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] rounded-lg max-h-[calc(100vh-2rem)] overflow-y-auto",e),...o,children:[t,(0,a.jsxs)(s.bm,{className:"absolute right-2 top-2 sm:right-4 sm:top-4 rounded-md opacity-70 ring-offset-background transition-all hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground p-1.5 hover:bg-gray-100",children:[(0,a.jsx)(n.A,{className:"h-4 w-4 sm:h-5 sm:w-5"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));m.displayName=s.UC.displayName;let p=({className:e,...t})=>(0,a.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});p.displayName="DialogHeader";let g=({className:e,...t})=>(0,a.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});g.displayName="DialogFooter";let u=r.forwardRef(({className:e,...t},o)=>(0,a.jsx)(s.hE,{ref:o,className:(0,i.cn)("text-lg font-semibold leading-none tracking-tight",e),...t}));u.displayName=s.hE.displayName;let v=r.forwardRef(({className:e,...t},o)=>(0,a.jsx)(s.VY,{ref:o,className:(0,i.cn)("text-sm text-muted-foreground",e),...t}));v.displayName=s.VY.displayName}}]);
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.