PageSourceSearch

https://quickimgconvert.com/_next/static/chunks/2t9h97ymqbk9u.js

js quickimgconvert.com collected 2026-10-02 01:40:32 UTC 172,918 bytes, 20 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,95361,e=>{"use strict";var t=e.i(43476),a=e.i(70065),i=e.i(25913),n=e.i(47163);let r=(0,i.cva)("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-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function o({className:e,variant:a,...i}){return(0,t.jsx)("div",{className:(0,n.cn)(r({variant:a}),e),...i})}var l=e.i(67881),s=e.i(46932),c=e.i(3116),d=e.i(72520),p=e.i(75254);let m=(0,p.default)("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]),u=(0,p.default)("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);var x=e.i(22016);e.s(["default",0,function({posts:e,title:i="Expert Guides & Tutorials",showViewAll:n=!0}){return(0,t.jsx)("section",{className:"max-w-7xl mx-auto ",children:(0,t.jsxs)("div",{className:"container px-4 md:px-6",children:[(0,t.jsx)("div",{className:"flex flex-col items-center space-y-4 text-center mb-16",children:(0,t.jsxs)(s.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5},viewport:{once:!0},children:[(0,t.jsxs)("div",{className:"flex flex-col md:flex-row items-center justify-center gap-3 mb-4 text-center md:text-left",children:[(0,t.jsx)(m,{className:"h-10 w-10 text-primary"}),(0,t.jsx)("h2",{className:"text-3xl font-bold tracking-tighter sm:text-4xl md:text-5xl",children:i})]}),(0,t.jsx)("p",{className:"mx-auto max-w-[800px] text-muted-foreground md:text-xl leading-relaxed",children:"Master image conversion with our comprehensive guides, tutorials, and expert insights. Learn professional techniques and best practices."})]})}),(0,t.jsx)("div",{className:"grid gap-8 md:grid-cols-2 lg:grid-cols-3",children:e.map((e,i)=>(0,t.jsx)(s.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:.1*i},viewport:{once:!0},whileHover:{scale:1.02,transition:{duration:.2}},children:(0,t.jsx)(x.default,{href:`/blog/${e.slug}`,className:"block h-full",children:(0,t.jsxs)(a.Card,{className:"h-full hover:shadow-md transition-all duration-300 group cursor-pointer border-0 bg-background/100 backdrop-blur-sm overflow-hidden",children:[(0,t.jsxs)(a.CardHeader,{className:"pb-4",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,t.jsx)(o,{variant:"secondary",className:"text-xs font-medium bg-primary/10 text-primary hover:bg-primary/20 transition-colors",children:e.category}),(0,t.jsxs)("div",{className:"flex items-center text-xs text-muted-foreground",children:[(0,t.jsx)(c.Clock,{className:"h-3 w-3 mr-1"}),e.readTime]})]}),(0,t.jsx)(a.CardTitle,{className:"text-xl leading-tight group-hover:text-primary transition-colors line-clamp-2",children:e.title})]}),(0,t.jsxs)(a.CardContent,{className:"pt-0",children:[(0,t.jsx)("p",{className:"text-muted-foreground mb-6 line-clamp-3 leading-relaxed",children:e.excerpt}),(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(u,{className:"h-4 w-4 text-muted-foreground"}),(0,t.jsx)("span",{className:"text-sm text-muted-foreground font-medium",children:e.author.name})]}),(0,t.jsxs)("div",{className:"flex items-center text-primary group-hover:translate-x-1 transition-transform",children:[(0,t.jsx)("span",{className:"text-sm font-medium mr-1",children:"Read More"}),(0,t.jsx)(d.ArrowRight,{className:"h-4 w-4"})]})]}),(0,t.jsx)("div",{className:"mt-4 pt-4 border-t border-border/30",children:(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:new Date(e.publishedAt).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})})})]})]})})},e.slug))}),n&&(0,t.jsx)(s.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:.3},viewport:{once:!0},className:"text-center mt-12",children:(0,t.jsx)(x.default,{href:"/blog",children:(0,t.jsxs)(l.Button,{size:"lg",variant:"outline",className:"px-8 py-4 text-lg font-semibold group bg-transparent hover:bg-background/50 shadow-lg hover:shadow-xl transition-all",children:["Explore All Articles",(0,t.jsx)(d.ArrowRight,{className:"ml-2 h-5 w-5 transition-transform group-hover:translate-x-1"})]})})})]})})}],95361)},53049,e=>{"use strict";var t=e.i(43476),a=e.i(46932),i=e.i(83086),n=e.i(39312),r=e.i(98919),o=e.i(61911),l=e.i(48256),s=e.i(66992),c=e.i(47163);e.s(["default",0,function(){let e=[{icon:(0,t.jsx)(i.Sparkles,{className:"h-7 w-7"}),title:"Pixel-Perfect Quality",description:"Advanced algorithms preserve every detail with image compression no quality loss. Convert JPG to PNG, HEIC to JPG, and more. Smart compression technology optimizes file sizes for web, print, or storage.",color:"from-blue-600 via-blue-700 to-blue-800",delay:.1},{icon:(0,t.jsx)(n.Zap,{className:"h-7 w-7"}),title:"Blazing Fast Speed",description:"Convert images in milliseconds with our optimized processing engine. Handle single files or process hundreds simultaneously with multi-threaded performance that scales with your needs.",color:"from-sky-500 via-blue-600 to-blue-700",delay:.3},{icon:(0,t.jsx)(r.Shield,{className:"h-7 w-7"}),title:"Bank-Level Security",description:"Your images never leave your device. All processing happens locally in your browser using WebAssembly technology. Zero uploads, zero storage, zero privacy concerns.",color:"from-blue-500 via-blue-600 to-blue-800",delay:.5},{icon:(0,t.jsx)(o.Users,{className:"h-7 w-7"}),title:"Trusted by Professionals",description:"Used by photographers and designers as a free online image converter and ph
1oto editor online free alternative. From Fortune 500 companies to independent artists, professionals rely on our tool daily.",color:"from-cyan-500 via-blue-600 to-blue-700",delay:.7},{icon:(0,t.jsx)(l.Globe,{className:"h-7 w-7"}),title:"Universal Compatibility",description:"Works seamlessly across all devices and browsers. Whether you're on desktop, tablet, or mobile, enjoy the same powerful features with our responsive design.",color:"from-sky-600 via-blue-700 to-blue-800",delay:.9},{icon:(0,t.jsx)(s.Cpu,{className:"h-7 w-7"}),title:"Advanced Features",description:"Professional-grade tools including quality adjustment, batch processing, custom compression, metadata preservation, and intelligent format recommendations.",color:"from-blue-500 via-sky-600 to-blue-700",delay:1.1}];return(0,t.jsxs)("div",{className:"w-full max-w-7xl mx-auto px-4 pb-4 pt-16 ",children:[(0,t.jsxs)("div",{className:"text-center mb-10",children:[(0,t.jsx)(a.motion.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5},viewport:{once:!0},className:"text-3xl md:text-4xl font-bold mb-2",children:"Why Choose Our Image Converter?"}),(0,t.jsx)(a.motion.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:.1},viewport:{once:!0},className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"Experience the perfect blend of power, security, and simplicity in image conversion"})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map((e,i)=>(0,t.jsx)(a.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:e.delay,ease:[.22,1,.36,1]},viewport:{once:!0},whileHover:{scale:1.02,transition:{duration:.2}},className:(0,c.cn)("group relative overflow-hidden rounded-2xl bg-gradient-to-br p-0.5 shadow-lg transition-all duration-300 hover:shadow-xl",e.color),children:(0,t.jsxs)("div",{className:"relative flex h-full flex-col gap-4 roun
1ded-[calc(1rem-1px)] bg-card p-8 text-card-foreground",children:[(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsx)("div",{className:(0,c.cn)("flex h-14 w-14 items-center justify-center rounded-xl bg-gradient-to-br text-white shadow-lg",e.color),children:e.icon}),(0,t.jsx)("h3",{className:"text-xl font-bold",children:e.title})]}),(0,t.jsx)("p",{className:"text-muted-foreground leading-relaxed",children:e.description}),(0,t.jsx)(a.motion.div,{className:"pointer-events-none absolute inset-0 z-0 bg-primary/5 opacity-0 transition-opacity duration-300 group-hover:opacity-100"})]})},i))})]})}])},81572,e=>{"use strict";var t=e.i(43476),a=e.i(71645);let i=(0,e.i(75254).default)("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var n=e.i(30030),r=e.i(75830),o=e.i(20783),l=e.i(81140),s=e.i(69340),c=e.i(48425),d=e.i(34620),p=e.i(96626),m=e.i(10772),u="Collapsible",[x,f]=(0,n.createContextScope)(u),[v,h]=x(u),g=a.forwardRef((e,i)=>{let{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:l,onOpenChange:d,...p}=e,[x,f]=(0,s.useControllableState)({prop:r,defaultProp:o??!1,onChange:d,caller:u});return(0,t.jsx)(v,{scope:n,disabled:l,contentId:(0,m.useId)(),open:x,onOpenToggle:a.useCallback(()=>f(e=>!e),[f]),children:(0,t.jsx)(c.Primitive.div,{"data-state":N(x),"data-disabled":l?"":void 0,...p,ref:i})})});g.displayName=u;
1var b="CollapsibleTrigger",y=a.forwardRef((e,a)=>{let{__scopeCollapsible:i,...n}=e,r=h(b,i);return(0,t.jsx)(c.Primitive.button,{type:"button","aria-controls":r.contentId,"aria-expanded":r.open||!1,"data-state":N(r.open),"data-disabled":r.disabled?"":void 0,disabled:r.disabled,...n,ref:a,onClick:(0,l.composeEventHandlers)(e.onClick,r.onOpenToggle)})});y.displayName=b;var w="CollapsibleContent",j=a.forwardRef((e,a)=>{let{forceMount:i,...n}=e,r=h(w,e.__scopeCollapsible);return(0,t.jsx)(p.Presence,{present:i||r.open,children:({present:e})=>(0,t.jsx)(k,{...n,ref:a,present:e})})});j.displayName=w;var k=a.forwardRef((e,i)=>{let{__scopeCollapsible:n,present:r,children:l,...s}=e,p=h(w,n),[m,u]=a.useState(r),x=a.useRef(null),f=(0,o.useComposedRefs)(i,x),v=a.useRef(0),g=v.current,b=a.useRef(0),y=b.current,j=p.open||m,k=a.useRef(j),C=a.useRef(void 0);return a.useEffect(()=>{let e=requestAnimationFrame(()=>k.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,d.useLayoutEffect)(()=>{let e=x.current;if(e){C.current=C.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();v.current=t.height,b.current=t.width,k.current||(e.style.transitionDuration=C.current.transitionDuration,e.style.animationName=C.current.animationName),u(r)}},[p.open,r]),(0,t.jsx)(c.Primitive.div,{"data-state":N(p.open),"data-disabled":p.disabled?"":void 0,id:p.contentId,hidden:!j,...s,ref:f,style:{"--radix-collapsible-content-height":g?`${g}px`:void 0,"--radix-collapsible-content-width":y?`${y}px`:void 0,...e.style},children:j&&l})});function N(e){return e?"open":"closed"}var C=e.i(86318),z="Accordion",E=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[L,F,S]=(0,r.createCollection)(z),[P,D]=(0,n.createContextScope)(z,[S,f]),R=f(),I=a.default.forwardRef((e,a)=>{let{type:i,...n}=e;return(0,t.jsx)(L.Provider,{scope:e.__scopeAccordion,children:"multiple"===i?(0,t.jsx)(T,{...n,ref:a}):(0,t.jsx)(M,{...n,ref:a})})});I.displayName=z;var[A,$]=P(z),[O,q]=P(z,{collapsible:!1}),M=a.default.forwardRef((e,i)=>{let{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:l=!1,...c}=e,[d,p]=(0,s.useControllableState)({prop:n,defaultProp:r??"",onChange:o,caller:z});return(0,t.jsx)(A,{scope:e.__scopeAccordion,value:a.default.useMemo(()=>d?[d]:[],[d]),onItemOpen:p,onItemClose:a.default.useCallback(()=>l&&p(""),[l,p]),children:(0,t.jsx)(O,{scope:e.__scopeAccordion,collapsible:l,children:(0,t.jsx)(G,{...c,ref:i})})})}),T=a.default.forwardRef((e,i)=>{let{value:n,defaultValue:r,onValueChange:o=()=>{},...l}=e,[c,d]=(0,s.useControllableState)({prop:n,defaultProp:r??[],onChange:o,caller:z}),p=a.default.useCallback(e=>d((t=[])=>[...t,e]),[d]),m=a.default.useCallback(e=>d((t=[])=>t.filter(t=>t!==e)),[d]);return(0,t.jsx)(A,{scope:e.__scopeAccordion,value:c,onItemOpen:p,onItemClose:m,children:(0,t.jsx)(O,{scope:e.__scopeAccordion,collapsible:!0,children:(0,t.jsx)(G,{...l,ref:i})})})}),[U,B]=P(z),G=a.default.forwardRef((e,i)=>{let{__scopeAccordion:n,disabled:r,dir:s,orientation:d="vertical",...p}=e,m=a.default.useRef(null),u=(0,o.useComposedRefs)(m,i),x=F(n),f="ltr"===(0,C.useDirection)(s),v=(0,l.composeEventHandlers)(e.onKeyDown,e=>{if(!E.includes(e.key))return;let t=e.target,a=x().filter(e=>!e.ref.current?.disabled),i=a.findIndex(e=>e.ref.current===t),n=a.length;if(-1===i)return;e.preventDefault();let r=i,o=n-1,l=()=>{(r=i+1)>o&&(r=0)},s=()=>{(r=i-1)<0&&(r=o)};switch(e.key){case"Home":r=0;break;case"End":r=o;break;case"ArrowRight":"horizontal"===d&&(f?l():s());break;case"ArrowDown":"vertical"===d&&l();break;case"ArrowLeft":"horizontal"===d&&(f?s():l());break;case"ArrowUp":"vertical"===d&&s()}let c=r%n;a[c].ref.current?.focus()});return(0,t.jsx)(U,{scope:n,disabled:r,direction:s,orientation:d,children:(0,t.jsx)(L.Slot,{scope:n,children:(0,t.jsx)(c.Primitive.div,{...p,"data-orientation":d,ref:u,onKeyDown:r?void 0:v})})})}),W="AccordionItem",[_,H]=P(W),V=a.default.forwardRef((e,a)=>{let{__scopeAccordion:i,value:n,...r}=e,o=B(W,i),l=$(W,i),s=R(i),c=(0,m.useId)(),d=n&&l.value.includes(n)||!1,p=o.disabled||e.disabled;return(0,t.jsx)(_,{scope:i,open:d,disabled:p,triggerId:c,children:(0,t.jsx)(g,{"data-orientation":o.orientation,"data-state":ee(d),...s,...r,ref:a,disabled:p,open:d,onOpenChange:e=>{e?l.onItemOpen(n):l.onItemClose(n)}})})});V.displayName=W;var Z="AccordionHeader",Y=a.default.forwardRef((e,a)=>{let{__scopeAccordion:i,...n}=e,r=B(z,i),o=H(Z,i);return(0,t.jsx)(c.Primitive.h3,{"data-orientation":r.orientation,"data-state":ee(o.open),"data-disabled":o.disabled?"":void 0,...n,ref:a})});Y.displayName=Z;var K="AccordionTrigger",J=a.default.forwardRef((e,a)=>{let{__scopeAccordion:i,...n}=e,r=B(z,i),o=H(K,i),l=q(K,i),s=R(i);return(0,t.jsx)(L.ItemSlot,{scope:i,children:(0,t.jsx)(y,{"aria-disabled":o.open&&!l.collapsible||void 0,"data-orientation":r.orientation,id:o.triggerId,...s,...n,ref:a})})});J.displayName=K;var Q="AccordionContent",X=a.default.forwardRef((e,a)=>{let{__scopeAccordion:i,...n}=e,r=B(z,i),o=H(Q,i),l=R(i);return(0,t.jsx)(j,{role:"region","aria-labelledby":o.triggerId,"data-orientation":r.orientation,...l,...n,ref:a,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function ee(e){return e?"open":"closed"}X.displayName=Q;var et=e.i(64659),ea=e.i(47163);let ei=a.forwardRef(({className:e,...a},i)=>(0,t.jsx)(V,{ref:i,className:(0,ea.cn)("border-b",e),...a}));ei.displayName="AccordionItem";let en=a.forwardRef(({className:e,children:a,...i},n)=>(0,t.jsx)(Y,{className:"flex",children:(0,t.jsxs)(J,{ref:n,className:(0,ea.cn)("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...i,children:[a,(0,t.jsx)(et.ChevronDown,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));en.displayName="AccordionTrigger";let er=a.forwardRef(({className:e,children:a,...i},n)=>(0,t.jsx)(X,{ref:n,className:(0,ea.cn)("overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down ",e),...i,children:(0,t.jsx)("div",{className:"pb-2 pt-2 ",children:a})}));function eo(){let e=[{category:"Getting Started",question:"How do I convert my first image?",answer:"Simply drag and drop your image into the upload area, or click to browse and select files. Choose your desired output format from the dropdown menu, adjust quality settings if needed, and click 'Convert'. Your converted image will be ready for download in seconds."},{category:"Getting Started",question:"What image formats are supported?",answer:"We support 
115+ formats including JPG/JPEG, PNG, WebP, AVIF, GIF, BMP, TIFF, HEIC/HEIF, SVG, ICO, PDF, EPS, and various RAW formats. You can convert between any of these formats with maintained quality and optimized compression."},{category:"Features",question:"Can I convert multiple images at once?",answer:"Yes! Our batch processing feature allows you to convert hundreds of images simultaneously. Simply select multiple files, choose your output format and settings, then click 'Convert All'. You can download them individually or as a ZIP archive with custom naming options."},{category:"Quality & Performance",question:"Will my images lose quality during conversion?",answer:"Our advanced algorithms are designed to preserve maximum quality. For lossless formats like PNG, no quality is lost. For lossy formats like JPG and WebP, you can control the quality level from 1-100%. We recommend 85-95% for the best balance of quality and file size."},{category:"Security & Privacy",question:"Are my images safe and private?",answer:"All image processing happens locally in your browser using WebAssembly technology. Your images never leave your device or get uploaded to any server. We don't store, view, or have access to any of your files, ensuring complete privacy and security."},{category:"Features",question:"Can I resize images during conversion?",answer:"Yes! After converting an image, click the resize button to adjust dimensions while maintaining aspect ratio. You can resize by percentage, exact pixels, or common preset sizes. Our smart resize feature preserves image quality during the resizing process."},{category:"Technical",question:"What's the maximum file size I can convert?",answer:"Our tool can handle images up to 100MB in size efficiently. For larger files, we recommend using our compression settings during conversion. The actual limit depends on your device's available memory, but most professional images convert without issues."},{category:"Usage",question:"Do I need to create an account or pay fees?",answer:"No! Our image converter is completely free to use with no registration required. There are no hidden fees, subscription costs, or usage limits. We believe in providing powerful tools that are accessible to everyone."},{category:"Technical",question:"Which format should I choose for my images?",answer:"It depends on your use case: JPG is best for photographs with many colors, PNG for images with transparency or sharp details, WebP offers the best compression for web use, AVIF provides superior quality at smaller sizes, and GIF is ideal for simple animations. Our tool provides format recommendations based on your image type."},{category:"Features",question:"Can I adjust compression and quality settings?",answer:"Yes! We offer advanced quality controls including compression level adjustment (1-100%), progressive encoding options, and format-specific settings. You can fine-tune the balance between file size and image quality to meet your exact requirements."},{category:"Compatibility",question:"Does this work on mobile devices?",answer:"Our converter is fully responsive and optimized for mobile devices. Whether you're using a smartphone or tablet, you'll have access to all features with a touch-friendly interface that adapts to your screen size."},{category:"Technical",question:"Can I preserve image metadata (EXIF data)?",answer:"Yes, you can choose to preserve or remove metadata during conversion. By default, we strip EXIF data to reduce file size and protect privacy (as it can contain location and device information). Enable 'Preserve Metadata' in advanced settings if you need to keep this information."},{category:"Usage",question:"How do I download multiple converted images?",answer:"After converting multiple images, you have two options: download each image individually by clicking the download button, or use our ZIP download feature to get all converted images in a single compressed file with customizable naming conventions."},{category:"Performance",question:"Why is this converter faster than others?",answer:"We use WebAssembly (WASM) technology for near-native performance in your browser, combined with multi-threaded processing and optimized algorithms. Since everything runs locally, there's no upload/download time, making conversions nearly instantaneous."},{category:"Features",question:"Can I convert animated GIFs to other formats?",answer:"Yes! You can convert animated GIFs to WebP format while preserving animation, or extract individual frames to static formats like PNG or JPG. For the best animated results, we recommend WebP which offers superior compression compared to GIF."},{category:"Technical",question:"What's the difference between lossy and lossless compression?",answer:"Lossless compression (PNG, TIFF) preserves all image data perfectly but results in larger files. Lossy compression (JPG, WebP) reduces file size by removing some data, which may affect quality at lower settings. Our tool lets you choose the best approach for your needs."},{category:"Troubleshooting",question:"What if my image fails to convert?",answer:"Most conversion issues are due to corrupted files, unsupported formats, or very large file sizes. Try reducing the image size, checking the file format, or refreshing the page. If problems persist, the image file may be damaged or in an unsupported variant."},{category:"Professional Use",question:"Is this suitable for professional photography workflows?",answer:"Our converter supports color profile preservation, high-quality compression algorithms, batch processing, and professional formats. Many photographers and designers use our tool for client deliveries, web optimization, and format standardization."}],n={};
1return e.forEach(e=>{n[e.category]||(n[e.category]=[]),n[e.category].push(e)}),(0,a.useEffect)(()=>{let t={"@context":"https://schema.org","@type":"FAQPage",mainEntity:e.map(e=>({"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:e.answer}}))},a=document.createElement("script");return a.type="application/ld+json",a.text=JSON.stringify(t),document.head.appendChild(a),()=>{document.head.removeChild(a)}},[]),(0,t.jsx)("section",{className:"w-full py-16 md:py-24 lg:py-32 bg-gradient-to-b from-background to-muted/30",children:(0,t.jsxs)("div",{className:"w-full max-w-5xl mx-auto px-4 md:px-6",children:[(0,t.jsxs)("div",{className:"text-center mb-16",children:[(0,t.jsx)("h2",{className:"text-3xl font-bold text-foreground mb-4 md:text-4xl lg:text-5xl",children:"Frequently Asked Questions"}),(0,t.jsx)("p",{className:"text-lg text-muted-foreground max-w-3xl mx-auto leading-relaxed",children:"Everything you need to know about our image converter. Can't find what you're looking for? Contact our support team."})]}),(0,t.jsx)("div",{className:"space-y-8",children:Object.entries(n).map(([e,a])=>(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 mb-6",children:[(0,t.jsx)(i,{className:"h-6 w-6 text-primary"}),(0,t.jsx)("p",{className:"text-2xl font-bold text-foreground",children:e})]}),(0,t.jsx)("div",{className:"bg-background/100 backdrop-blur-sm rounded-2xl shadow-lg border border-border/50 overflow-hidden",children:(0,t.jsx)(I,{type:"single",collapsible:!0,className:"w-full",children:a.map((a,i)=>{let n=`${e}-${i}`;return(0,t.jsxs)(ei,{value:n,className:"border-b border-border/30 last:border-b-0",children:[(0,t.jsx)(en,{className:"text-left text-foreground px-6 py-5 hover:bg-muted/30 font-semibold text-lg group",children:(0,t.jsx)("span",{className:"pr-4",children:a.question})}),(0,t.jsx)(er,{className:"text-color-white px-6 pb-6 pt-2",children:(0,t.jsx)("div",{className:"text-base leading-relaxed ",children:a.answer})})]},n)})})})]},e))}),(0,t.jsxs)("div",{className:"text-center mt-16 p-8 bg-primary/5 rounded-2xl border border-primary/10",children:[(0,t.jsx)("h3",{className:"text-xl font-bold mb-2",children:"Still have questions?"}),(0,t.jsx)("p",{className:"text-muted-foreground mb-4",children:"Our support team is here to help you get the most out of our image converter."}),(0,t.jsx)("button",{onClick:()=>{location.href="../contact"},className:"inline-flex items-center justify-center rounded-lg bg-primary px-6 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90 transition-colors",children:"Contact Support"})]})]})})}er.displayName="AccordionContent",e.s(["FAQ",0,eo,"default",0,eo],81572)},96,e=>{"use strict";var t=e.i(43476),a=e.i(46932),i=e.i(98919),n=e.i(40160),r=e.i(75254);let o=(0,r.default)("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]),l=(0,r.default)("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]),s=(0,r.default)("Gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]),c=(0,r.default)("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}
1]]),d=(0,r.default)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]),p=(0,r.default)("Infinity",[["path",{d:"M12 12c-2-2.67-4-4-6-4a4 4 0 1 0 0 8c2 0 4-1.33 6-4Zm0 0c2 2.67 4 4 6 4a4 4 0 0 0 0-8c-2 0-4 1.33-6 4Z",key:"1z0uae"}]]);var m=e.i(75558),u=e.i(67881);function x({onClick:e,text:a,icon:i,className:n=""}){return(0,t.jsxs)(u.Button,{size:"lg",variant:"outline",className:`group px-8 py-4 active:text-white focus:text-white visited:text-white text-lg font-semibold bg-gradient-to-r from-blue-600 to-blue-700 hover:from-blue-700 hover:to-blue-800 shadow-lg hover:shadow-xl transition-all ${n}`,onClick:e,children:[a,i&&i]})}e.i(18566);let f=[{icon:(0,t.jsx)(i.Shield,{className:"h-7 w-7 text-white"}),title:"Privacy Protected",description:"All conversions happen locally in your browser. Your images never touch our servers, ensuring complete privacy and data security.",color:"from-blue-600 to-blue-700",glow:"shadow-blue-300 dark:shadow-blue-950/40",detailsColor:"text-primary",circleBg:"bg-primary"},{icon:(0,t.jsx)(n.Download,{className:"h-7 w-7 text-white"}),title:"Batch Processing",description:"Batch image converter for hundreds of images simultaneously. Bulk convert JPG to PNG, WebP, and more. Download individually or as a ZIP archive.",color:"from-sky-500 to-blue-600",glow:"shadow-blue-300 dark:shadow-blue-950/40",detailsColor:"text-primary",circleBg:"bg-primary"},{icon:(0,t.jsx)(o,{className:"h-7 w-7 text-white"}),title:"Quality Control",description:"Compress image to 100kb or any target size. Fine-tune compression levels with image compression no quality loss. Optimize file sizes while maintaining visual excellence.",color:"from-blue-500 to-blue-700",glow:"shadow-blue-300 dark:shadow-blue-950/40",detailsColor:"text-primary",circleBg:"bg-primary"},{icon:(0,t.jsx)(s,{className:"h-7 w-7 text-white"}),title:"Lightning Performance",description:"Powered by WebAssembly for native-speed processing. Convert large images in seconds with multi-threaded optimization.",color:"from-cyan-500 to-blue-600",glow:"shadow-blue-300 dark:shadow-blue-950/40",detailsColor:"text-primary",circleBg:"bg-primary"},{icon:(0,t.jsx)(l,{className:"h-7 w-7 text-white"}),title:"Advanced Options",description:"Image resizer online free with custom dimensions. Professional features including image renaming, progressive encoding, and format-specific settings for JPG, PNG, WebP and more.",color:"from-blue-600 to-blue-800",glow:"shadow-blue-300 dark:shadow-blue-950/40",detailsColor:"text-primary",circleBg:"bg-primary"},{icon:(0,t.jsx)(c,{className:"h-7 w-7 text-white"}),title:"Smart Resize",description:"Intelligent resizing with aspect ratio preservation. Batch resize multiple images to exact dimensions or percentages.",color:"from-sky-600 to-blue-700",glow:"shadow-blue-300 dark:shadow-blue-950/40",detailsColor:"text-primary",circleBg:"bg-primary"},{icon:(0,t.jsx)(d,{className:"h-7 w-7 text-white"}),title:"No Registration",description:"Start converting immediately without accounts, passwords, or personal information. Anonymous and hassle-free.",color:"from-blue-500 to-sky-600",glow:"shadow-blue-300 dark:shadow-blue-950/40",detailsColor:"text-primary",circleBg:"bg-primary"},{icon:(0,t.jsx)(p,{className:"h-7 w-7 text-white"}),title:"Unlimited Usage",description:"No daily limits, file size restrictions, or usage caps. Convert as many images as you need, whenever you need.",color:"from-cyan-500 to-blue-700",glow:"shadow-blue-300 dark:shadow-blue-950/40",detailsColor:"text-primary",circleBg:"bg-primary"}];e.s(["default",0,function(){return(0,t.jsx)("section",{id:"features",className:"pt-16",children:(0,t.jsxs)("div",{className:"w-full max-w-7xl mx-auto px-4 pb-4 ",children:[(0,t.jsx)("div",{className:"flex flex-col items-center justify-center space-y-4 text-center mb-14",children:(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},className:"space-y-0",children:[(0,t.jsx)("h2",{className:"text-3xl font-bold tracking-tighter md:text-4xl lg:text-6xl ",children:"Powerful Features for Every Need"}),(0,t.jsx)("p",{className:"mx-auto max-w-[800px] text-muted-foreground md:text-xl leading-relaxed",children:"Professional-grade image conversion tools designed for photographers, designers, developers, and content creators"})]})}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:f.map((e,i)=>(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:.1*i},viewport:{once:!0},whileHover:{scale:1.02,transition:{duration:.2}},className:"relative flex min-h-[340px] flex-col items-center overflow-hidden rounded-2xl border border-border bg-card p-8 text-center shadow-lg transition-colors",children:[(0,t.jsx)("div",{className:"mb-6 flex items-center justify-center",children:(0,t.jsx)("div",{className:`rounded-full p-4 bg-gradient-to-br ${e.color} ${e.glow} shadow-[0_3px_10px]`,children:e.icon})}),(0,t.jsx)("h3",{className:"text-xl font-bold mb-3",children:e.title}),(0,t.jsx)("p",{className:"mb-6 text-muted-foreground",children:e.description}),(0,t.jsx)("div",{className:`absolute bottom-0 right-0 w-24 h-24 ${e.circleBg} rounded-full opacity-10 translate-x-1/3 translate-y-1/3 pointer-events-none`})]},i))}),(0,t.jsx)("p",{className:"mb-4 mt-8 text-center text-lg text-muted-foreground",children:"Ready to experience the most powerful image converter?"}),(0,t.jsx)(x,{className:"flex text-white hover:text-white mx-auto text-center justify-center",onClick:()=>{let e=document.getElementById("converter");e&&e.scrollIntoView({behavior:"smooth"})},text:"Start Converting Now",icon:(0,t.jsx)(m.ArrowUp,{})})]})})}],96)},30273,e=>{"use strict";var t=e.i(43476),a=e.i(71645),i=e.i(69074);e.s(["default",0,function(){let[e,n]=(0,a.useState)(!1),r=(0,a.useRef)(0),o=(0,a.useCallback)(e=>{e.preventDefault(),e.stopPropagation(),r.current++,e.dataTransfer?.types?.includes("Files")&&n(!0)},[]),l=(0,a.useCallback)(e=>{e.preventDefault(),e.stopPropagation(),r.current--,r.current<=0&&(r.current=0,n(!1))},[]),s=(0,a.useCallback)(e=>{e.preventDefault(),e.stopPropagation()},[]),c=(0,a.useCallback)(e=>{if(e.preventDefault(),e.stopPropagation(),n(!1),r.current=0,e.dataTransfer?.files&&e.dataTransfer.files.length>0){let t=Array.from(e.dataTransfer.files);window.dispatchEvent(new CustomEvent("files-dropped",{detail:t}))}},[]);return((0,a.useEffect)(()=>(window.addEventListener("dragenter",o),window.addEventListener("dragleave",l),window.addEventListener("dragover",s),window.addEventListener("drop",c),()=>{window.removeEventListener("dragenter",o),window.removeEventListener("dragleave",l),window.removeEventListener("dragover",s),window.removeEventListener("drop",c)}),[o,l,s,c]),e)?(0,t.jsx)("div",{className:"fixed inset-0 z-[9999] flex items-center justify-center bg-blue-600",children:(0,t.jsxs)("div",{className:"flex flex-col items-center gap-6",children:[(0,t.jsx)("div",{className:"rounded-full bg-white/20 p-6",children:(0,t.jsx)(i.Upload,{className:"h-16 w-16 text-white"})}),(0,t.jsx)("p",{className:"text-3xl font-bold text-white",children:"Drop your image here"}),(0,t.jsx)("p",{className:"text-lg text-blue-200",children:"Supports JPG, PNG, WebP, AVIF, GIF & more"})]})}):null}])},24474,e=>{"use strict";var t=e.i(43476),a=e.i(71645),i=e.i(67881),n=e.i(23750),r=e.i(63488),o=e.i(72520),l=e.i(69638),s=e.i(31278),c=e.i(46932);e.s(["default",0,function(){let[e,d]=(0,a.useState)(""),[p,m]=(0,a.useState)(!1),[u,x]=(0,a.useState)(!1),f=async t=>{t.preventDefault(),e&&(m(!0),await new Promise(e=>setTimeout(e,1500)),m(!1),x(!0),d(""),setTimeout(()=>{x(!1)},5e3))};return(0,t.jsx)("section",{className:"w-full p-4 md:p-6 py-16",children:(0,t.jsx)("div",{className:"mx-auto max-w-5xl",children:(0,t.jsx)(c.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:(0,t.jsxs)("div",{className:"relative overflow-hidden rounded-3xl bg-gradient-to-r from-blue-600 to-blue-700 p-8 text-white shadow-lg shadow-blue-950/10",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-black/10 backdrop-blur-sm"}),(0,t.jsxs)("div",{className:"relative z-10 max-w-4xl mx-auto text-center",children:[(0,t.jsx)("div",{className:"inline-flex items-center justify-center w-16 h-16 bg-white/20 rounded-full mb-6",children:(0,t.jsx)(r.Mail,{className:"w-8 h-8"})}),(0,t.jsx)("h3",{className:"text-3xl font-bold mb-4",children:"Stay Updated with Image Optimization Tips"}),(0,t.jsx)("p",{className:"text-slate-200 mb-8 text-lg",children:"Get the latest guides, tutorials, and optimization techniques delivered to your inbox."}),u?(0,t.jsxs)(c.motion.div,{initial:{opacity:0,scale:.8}
1,animate:{opacity:1,scale:1},className:"flex flex-col items-center justify-center py-4",children:[(0,t.jsx)(l.CheckCircle,{className:"h-12 w-12 text-green-300 mb-4"}),(0,t.jsx)("h4",{className:"text-xl font-medium mb-2",children:"Thank you for subscribing!"}),(0,t.jsx)("p",{className:"text-slate-200",children:"You'll receive our latest tips and guides in your inbox soon."})]}):(0,t.jsxs)("form",{onSubmit:f,className:"flex flex-col sm:flex-row gap-4 max-w-md mx-auto",children:[(0,t.jsx)(n.Input,{type:"email",placeholder:"Enter your email address",value:e,onChange:e=>d(e.target.value),className:"border-white bg-white/10 text-white placeholder:text-blue-100 transition-all duration-300 onfocus:border-white",required:!0}),(0,t.jsx)(i.Button,{type:"submit",disabled:p,className:"bg-white px-8 font-bold text-blue-700 transition-all duration-300 hover:bg-blue-50 group",children:p?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.Loader2,{className:"w-4 h-4 mr-2 animate-spin"}),"Subscribing..."]}):(0,t.jsxs)(t.Fragment,{children:["Subscribe",(0,t.jsx)(o.ArrowRight,{className:"w-4 h-4 ml-2 group-hover:translate-x-1 transition-transform"})]})})]})]})]})})})})}])},66373,e=>{"use strict";var t=e.i(43476),a=e.i(46932),i=e.i(48256),n=e.i(39312),r=e.i(98919),o=e.i(90597),l=e.i(61911),s=e.i(40160);let c=(0,e.i(75254).default)("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);var d=e.i(3116);let p=[{number:"1M+",label:"Images Converted",icon:i.Globe,color:"from-blue-600 to-blue-700"},{number:"500K+",label:"Happy Users",icon:l.Users,color:"from-sky-500 to-blue-600"},{number:"50+",label:"Supported Formats",icon:n.Zap,color:"from-blue-500 to-blue-700"},{number:"99.9%",label:"Uptime",icon:r.Shield,color:"from-cyan-500 to-blue-600"},{number:"10M+",label:"Downloads",icon:s.Download,color:"from-blue-600 to-blue-800"},{number:"4.9/5",label:"User Rating",icon:c,color:"from-sky-600 to-blue-700"},{number:"24/7",label:"Available",icon:d.Clock,color:"from-blue-500 to-sky-600"},{number:"100%",label:"Free to Use",icon:o.Heart,color:"from-cyan-500 to-blue-700"}];e.s(["default",0,function(){return(0,t.jsx)("section",{className:"w-full p-4 md:p-6 py-16 ",children:(0,t.jsxs)("div",{className:"mx-auto max-w-7xl px-4 md:px-6",children:[(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},className:"text-center mb-12",children:[(0,t.jsx)("h2",{className:"text-3xl md:text-5xl font-bold tracking-tighter  mb-2",children:"Trusted by Millions Worldwide"}),(0,t.jsx)("p",{className:"text-muted-foreground text-lg max-w-2xl mx-auto",children:"Join millions of users who trust our platform for their image conversion needs. Here's what makes us the #1 choice for image optimization."})]}),(0,t.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6",children:p.map((e,i)=>(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.1*i},className:"group rounded-2xl border border-border bg-card/85 p-6 text-center shadow-sm backdrop-blur-sm transition-all duration-300 hover:scale-105 hover:shadow-lg",children:[(0,t.jsx)("div",{className:`w-12 h-12 bg-gradient-to-r ${e.color} rounded-xl flex items-center justify-center mx-auto mb-4 group-hover:scale-110 transition-transform duration-300`,children:(0,t.jsx)(e.icon,{className:"w-6 h-6 text-white"})}),(0,t.jsx)("div",{className:"mb-2 text-3xl font-bold text-card-foreground transition-transform duration-300 group-hover:scale-105",children:e.number}),(0,t.jsx)("div",{className:"text-sm font-medium text-muted-foreground",children:e.label})]},e.label))}),(0,t.jsx)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.8},className:"mt-12 text-center",children:(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-8 text-muted-foreground",children:[(0,t.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,t.jsx)(r.Shield,{className:"h-5 w-5 text-primary"}),(0,t.jsx)("span",{className:"text-sm font-medium",children:"SSL Secured"})]}),(0,t.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,t.jsx)(o.Heart,{className:"h-5 w-5 text-primary"}),(0,t.jsx)("span",{className:"text-sm font-medium",children:"Privacy Protected"})]}),(0,t.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,t.jsx)(n.Zap,{className:"h-5 w-5 text-primary"}),(0,t.jsx)("span",{className:"text-sm font-medium",children:"Lightning Fast"})]}),(0,t.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,t.jsx)(i.Globe,{className:"h-5 w-5 text-primary"}),(0,t.jsx)("span",{className:"text-sm font-medium",children:"Global CDN"})]})]})})]})})}],66373)},61930,e=>{"use strict";var t=e.i(43476),a=e.i(71645),i=e.i(46932),n=e.i(31178),r=e.i(47414),o=e.i(74008),l=e.i(21476),s=e.i(72846),c=a,d=e.i(37806);function p(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class m extends c.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,s.isHTMLElement)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,a=(0,s.isHTMLElement)(e)&&e.offsetWidth||0,i=(0,s.isHTMLElement)(e)&&e.offsetHeight||0,n=getComputedStyle(t),r=this.props.sizeRef.current;r.height=parseFloat(n.height),r.width=parseFloat(n.width),r.top=t.offsetTop,r.left=t.offsetLeft,r.right=a-r.width-r.left,r.bottom=i-r.height-r.top,r.direction=n.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function u({children:e,isPresent:i,anchorX:n,anchorY:r,root:o,pop:l}){let s=(0,c.useId)(),x=(0,c.useRef)(null),f=(0,c.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:v}=(0,c.useContext)(d.MotionConfigContext),h=function(...e){return a.useCallback(function(...e){return t=>{let a=!1,i=e.map(e=>{let i=p(e,t);return a||"function"!=typeof i||(a=!0),i});if(a)return()=>{for(let t=0;t<i.length;t++){let a=i[t];"function"==typeof a?a():p(e[t],null)}}}}(...e),e)}(x,e.props?.ref??e?.ref);return(0,c.useInsertionEffect)(()=>{let{width:e,height:t,top:a,left:c,right:d,bottom:p,direction:m}=f.current;if(i||!1===l||!x.current||!e||!t)return;let u="rtl"===m,h="left"===n?u?`right: ${d}`:`left: ${c}`:u?`left: ${c}`:`right: ${d}`,g="bottom"===r?`bottom: ${p}`:`top: ${a}`;x.current.dataset.motionPopId=s;let b=document.createElement("style");v&&(b.nonce=v);let y=o??document.head;return y.appendChild(b),b.sheet&&b.sheet.insertRule(`
2          [data-motion-pop-id="${s}"] {
3            position: absolute !important;
4            width: ${e}px !important;
5            height: ${t}px !important;
6            ${h}px !important;
7            ${g}px !important;
8          }
9        `),()=>{x.current?.removeAttribute("data-motion-pop-id"),y.contains(b)&&y.removeChild(b)}},[i]),(0,t.jsx)(m,{isPresent:i,childRef:x,sizeRef:f,pop:l,children:!1===l?e:c.cloneElement(e,{ref:h})})}let x=({children:e,initial:i,isPresent:n,onExitComplete:o,custom:s,presenceAffectsLayout:c,mode:d,anchorX:p,anchorY:m,root:x})=>{let v=(0,r.useConstant)(f),h=(0,a.useId)(),g=!0,b=(0,a.useMemo)(()=>(g=!1,{id:h,initial:i,isPresent:n,custom:s,onExitComplete:e=>
9{for(let t of(v.set(e,!0),v.values()))if(!t)return;o&&o()},register:e=>(v.set(e,!1),()=>v.delete(e))}),[n,v,o]);return c&&g&&(b={...b}),(0,a.useMemo)(()=>{v.forEach((e,t)=>v.set(t,!1))},[n]),a.useEffect(()=>{n||v.size||!o||o()},[n]),e=(0,t.jsx)(u,{pop:"popLayout"===d,isPresent:n,anchorX:p,anchorY:m,root:x,children:e}),(0,t.jsx)(l.PresenceContext.Provider,{value:b,children:e})};function f(){return new Map}var v=e.i(64978);let h=e=>e.key||"";function g(e){let t=[];return a.Children.forEach(e,e=>{(0,a.isValidElement)(e)&&t.push(e)}),t}let b=({children:e,custom:i,initial:l=!0,onExitComplete:s,presenceAffectsLayout:c=!0,mode:d="sync",propagate:p=!1,anchorX:m="left",anchorY:u="top",root:f})=>{let[b,y]=(0,v.usePresence)(p),w=(0,a.useMemo)(()=>g(e),[e]),j=p&&!b?[]:w.map(h),k=(0,a.useRef)(!0),N=(0,a.useRef)(w),C=(0,r.useConstant)(()=>new Map),z=(0,a.useRef)(new Set),[E,L]=(0,a.useState)(w),[F,S]=(0,a.useState)(w);(0,o.useIsomorphicLayoutEffect)(()=>{k.current=!1,N.current=w;for(let e=0;e<F.length;e++){let t=h(F[e]);j.includes(t)?(C.delete(t),z.current.delete(t)):!0!==C.get(t)&&C.set(t,!1)}},[F,j.length,j.join("-")]);let P=[];if(w!==E){let e=[...w];for(let t=0;t<F.length;t++){let a=F[t],i=h(a);j.includes(i)||(e.splice(t,0,a),P.push(a))}return"wait"===d&&P.length&&(e=P),S(g(e)),L(w),null}let{forceRender:D}=(0,a.useContext)(n.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:F.map(e=>{let a=h(e),n=(!p||!!b)&&(w===F||j.includes(a));return(0,t.jsx)(x,{isPresent:n,initial:(!k.current||!!l)&&void 0,custom:i,presenceAffectsLayout:c,mode:d,root:f,onExitComplete:n?void 0:()=>{if(z.current.has(a)||!C.has(a))return;z.current.add(a),C.set(a,!0);let e=!0;C.forEach(t=>{t||(e=!1)}),e&&(D?.(),S(N.current),p&&y?.(),s&&s())},anchorX:m,anchorY:u,children:e},a)})})};var y=e.i(75558),w=e.i(75254);let j=(0,w.default)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]),k=(0,w.default)("Pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]),N=(0,w.default)("Grid3x3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]]),C=(0,w.default)("List",[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]]);var z=e.i(69459),E=e.i(94433),L=e.i(79270);let F=(0,w.default)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);var S=e.i(98919),P=e.i(83086),D=e.i(69074);async function R(e,t,a,i){try{return await I(e,t,a,i)}catch(n){return console.warn("Primary conversion failed, trying fallback method:",n),A(e,t,a,i)}}async function I(e,t,a,i){return new Promise((n,r)=>{let o=new FileReader;o.onload=o=>{if(!o||!o.target||!o.target.result)return void r(Error("Failed to read file"));let l=new Image;l.crossOrigin="anonymous";let s=setTimeout(()=>{l.src="",r(Error("Image load timed out"))},3e4);l.onload=()=>{clearTimeout(s);try{let e=document.createElement("canvas"),o=e.getContext("2d");if(!o)return void r(Error("Failed to get canvas context"));e.width=l.width,e.height=l.height,o.drawImage(l,0,0);let s=a/100;if(i&&i>0){let e=(100-i)/100;s*=e}if(s=Math.max(.1,Math.min(1,s)),"png"===t&&i&&i>0){let t=Math.max(2,Math.min(256,Math.round(256*(1-i/100))));_(e,o,t)}let c=$(t);console.log(`Converting with format: ${t}, final quality: ${s}, compression: ${i}`),e.toBlob(e=>{e?n(e):r(Error(`Failed to convert to ${t}`))},c,"png"===t?void 0:s)}catch(e){r(Error(`Error during conversion: ${e instanceof Error?e.message:String(e)}`))}},l.onerror=()=>{clearTimeout(s);let t=`File: ${e.name}, Size: ${e.size}, Type: ${e.type}`;r(Error(`Failed to load image. ${t}`))};try{l.src=o.target.result}catch(e){clearTimeout(s),r(Error(`Error setting image source: ${e instanceof Error?e.message:String(e)}`))}},o.onerror=()=>{r(Error(`Failed to read file: ${e.name}`))};try{o.readAsDataURL(e)}catch(e){r(Error(`Error reading file: ${e instanceof Error?e.message:String(e)}`))}})}async function A(e,t,a,i){return new Promise((n,r)=>{try{let o=URL.createObjectURL(e),l=new Image;l.crossOrigin="anonymous";let s=setTimeout(()=>{l.src="",URL.revokeObjectURL(o),r(Error("Fallback image load timed out"))},3e4);l.onload=()=>{clearTimeout(s);try{let e=document.createElement("canvas");e.width=l.width,e.height=l.height;let s=e.getContext("2d");if(!s){URL.revokeObjectURL(o),r(Error("Failed to get canvas context in fallback method"));return}s.drawImage(l,0,0);let c=a/100;if(i&&i>0){let e=(100-i)/100;c*=e}if(c=Math.max(.1,Math.min(1,c)),"png"===t&&i&&i>0){let t=Math.max(2,Math.min(256,Math.round(256*(1-i/100))));_(e,s,t)}let d=$(t);
9console.log(`Fallback converting with format: ${t}, final quality: ${c}, compression: ${i}`),e.toBlob(e=>{if(!e){URL.revokeObjectURL(o),r(Error(`Failed to convert to ${t}`));return}URL.revokeObjectURL(o),n(e)},d,"png"===t?void 0:c)}catch(e){URL.revokeObjectURL(o),r(Error(`Error during fallback conversion: ${e instanceof Error?e.message:String(e)}`))}},l.onerror=()=>{clearTimeout(s),URL.revokeObjectURL(o),r(Error("Failed to load image in fallback method"))},l.src=o}catch(e){r(Error(`Error in fallback conversion: ${e instanceof Error?e.message:String(e)}`))}})}function $(e){switch(e.toLowerCase()){case"jpg":case"jpeg":return"image/jpeg";case"png":default:return"image/png";case"webp":return"image/webp";case"gif":return"image/gif";case"bmp":return"image/bmp";case"tiff":return"image/tiff";case"avif":return"image/avif";case"svg":return"image/svg+xml";case"heic":return"image/heic"}}async function O(e,t,a,i,n){return new Promise((r,o)=>{try{let l=new Image;l.crossOrigin="anonymous";let s=setTimeout(()=>{l.src="",o(Error("Image resize timed out"))},3e4);l.onload=()=>{clearTimeout(s);try{let e=document.createElement("canvas");e.width=t,e.height=a;let s=e.getContext("2d");if(!s)return void o(Error("Failed to get canvas context"));s.drawImage(l,0,0,t,a);let c=$(i);e.toBlob(e=>{e?r(e):o(Error("Failed to resize image"))},c,n/100)}catch(e){o(Error(`Error during resize: ${e instanceof Error?e.message:String(e)}`))}},l.onerror=()=>{clearTimeout(s),o(Error(`Failed to load image for resizing: ${e.substring(0,50)}...`))},l.src=e}catch(e){o(Error(`Error setting up resize: ${e instanceof Error?e.message:String(e)}`))}})}function q(e){return!!e.type.startsWith("image/")&&!(e.size>0x3200000)}async function M(e){try{return await T(e)}catch(t){console.warn("Primary image info method failed, trying fallback:",t);try{return await U(e)}catch(t){return console.error("All image info methods failed:",t),{width:800,height:600,format:e.name.split(".").pop()?.toLowerCase()||"unknown"}}}}async function T(e){return new Promise((t,a)=>{try{let i=URL.createObjectURL(e),n=new Image;n.crossOrigin="anonymous";let r=setTimeout(()=>{n.src="",URL.revokeObjectURL(i),a(Error("Image info load timed out"))},1e4);n.onload=function(){clearTimeout(r);let a=e.name.split(".").pop()?.toLowerCase()||"unknown";URL.revokeObjectURL(i),t({width:n.width,height:n.height,format:a})},n.onerror=()=>{clearTimeout(r),URL.revokeObjectURL(i),a(Error(`Failed to load image for info: ${e.name}`))},n.src=i}catch(e){a(Error(`Error getting image info: ${e instanceof Error?e.message:String(e)}`))}})}async function U(e){return new Promise((t,a)=>{let i=new FileReader;i.onload=i=>{if(!i||!i.target||!i.target.result)return void a(Error("Failed to read file for dimensions"));let n=new Image;n.crossOrigin="anonymous";let r=setTimeout(()=>{n.src="",a(Error("Fallback image info load timed out"))},1e4);n.onload=function(){clearTimeout(r);let a=e.name.split(".").pop()?.toLowerCase()||"unknown";t({width:n.width,height:n.height,format:a})},n.onerror=()=>{clearTimeout(r),a(Error(`Fallback method failed to load image for info: ${e.name}`))};try{n.src=i.target.result}catch(e){clearTimeout(r),a(Error(`Error setting image source for info: ${e instanceof Error?e.message:String(e)}`))}},i.onerror=()=>{a(Error(`Failed to read file for dimensions: ${e.name}`))};try{i.readAsDataURL(e)}catch(e){a(Error(`Error reading file for dimensions: ${e instanceof Error?e.message:String(e)}`))}})}function B(e){let t=e.split(/[/\\]/).pop()||e;if(t.length>100){let e=t.split(".").pop()||"";t=t.substring(0,90)+"."+e}return t}function G(e){let t=(e.match(/$$\d+$$/g)||[]).length>1,a=e.length>100,i=(e.match(/\./g)||[]).length>1;return t||a||i}function W(e){let t=B(e.name);if(t===e.name)return e;try{return new File([e],t,{type:e.type})}catch(t){return console.warn("Could not create sanitized file:",t),e}}function _(e,t,a){try{let i=t.getImageData(0,0,e.width,e.height),n=i.data;for(let e=0;e<n.length;e+=4){let t=256/a;n[e]=Math.floor(n[e]/t)*t,n[e+1]=Math.floor(n[e+1]/t)*t,n[e+2]=Math.floor(n[e+2]/t)*t}t.putImageData(i,0,0),console.log(`Applied color quantization with ${a} colors`)}catch(e){console.error("Error applying color quantization:",e)}}var H=e.i(57688),V=e.i(37727);e.i(7670);var Z=e=>"number"==typeof e&&!isNaN(e);function Y({enter:e,exit:t,appendPosition:i=!1,collapse:n=!0,collapseDuration:r=300}){return function({children:o,position:l,preventExitTransition:s,done:c,nodeRef:d,isIn:p,playToast:m}){let u=i?`${e}--${l}`:e,x=i?`${t}--${l}`:t,f=(0,a.useRef)(0);return(0,a.useLayoutEffect)(()=>{let e=d.current,t=u.split(" "),a=i=>{i.target===d.current&&(m(),e.removeEventListener("animationend",a),e.removeEventListener("animationcancel",a),0===f.current&&"animationcancel"!==i.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",a),e.addEventListener("animationcancel",a)},[]),(0,a.useEffect)(()=>{let e=d.current,t=()=>{e.removeEventListener("animationend",t),n?function(e,t,a=300){let{scrollHeight:i,style:n}=e;requestAnimationFrame(()=>{n.minHeight="initial",n.height=i+"px",n.transition=`all ${a}ms`,requestAnimationFrame(()=>{n.height="0",n.padding="0",n.margin="0",setTimeout(t,a)})})}(e,c,r):c()};p||(s?t():(f.current=1,e.className+=` ${x}`,e.addEventListener("animationend",t)))},[p]),a.default.createElement(a.default.Fragment,null,o)}}var K=1,J=()=>`${K++}`,Q=new Map,X=[],ee=new Set;function et(e,t){Q.forEach(a=>{null!=t&&null!=t&&t.containerId&&(null==t?void 0:t.containerId)!==a.id||a.toggle(e,null==t?void 0:t.id)})}function ea(e,t){let i;return i=e,((0,a.isValidElement)(i)||"string"==typeof i||"function"==typeof i||Z(i))&&(Q.size>0||X.push({content:e,options:t}),Q.forEach(a=>{a.buildToast(e,t)})),t.toastId}function ei(e,t){var a;return{...t,type:t&&t.type||e,toastId:(a=t)&&("string"==typeof a.toastId||Z(a.toastId))?a.toastId:J()}}function en(e){return(t,a)=>ea(t,ei(e,a))}function er(e,t){return ea(e,ei("default",t))}er.loading=(e,t)=>
9ea(e,ei("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),er.promise=function(e,{pending:t,error:a,success:i},n){let r;t&&(r="string"==typeof t?er.loading(t,n):er.loading(t.render,{...n,...t}));let o={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},l=(e,t,a)=>{if(null==t)return void er.dismiss(r);let i={type:e,...o,...n,data:a},l="string"==typeof t?{render:t}:t;return r?er.update(r,{...i,...l}):er(l.render,{...i,...l}),a},s="function"==typeof e?e():e;return s.then(e=>l("success",i,e)).catch(e=>l("error",a,e)),s},er.success=en("success"),er.info=en("info"),er.error=en("error"),er.warning=en("warning"),er.warn=er.warning,er.dark=(e,t)=>ea(e,ei("default",{theme:"dark",...t})),er.dismiss=function(e){!function(e){let t;if(!(Q.size>0)){X=X.filter(t=>null!=e&&t.options.toastId!==e);return}if(null==e||"string"==typeof(t=e)||Z(t))Q.forEach(t=>{t.removeToast(e)});else if(e&&("containerId"in e||"id"in e)){let t=Q.get(e.containerId);t?t.removeToast(e.id):Q.forEach(t=>{t.removeToast(e.id)})}}(e)},er.clearWaitingQueue=(e={})=>{Q.forEach(t=>{t.props.limit&&(!e.containerId||t.id===e.containerId)&&t.clearQueue()})},er.isActive=function(e,t){var a;if(t)return!!(null!=(a=Q.get(t))&&a.isToastActive(e));let i=!1;return Q.forEach(t=>{t.isToastActive(e)&&(i=!0)}),i},er.update=(e,t={})=>{let a=((e,{containerId:t})=>{var a;return null==(a=Q.get(t||1))?void 0:a.toasts.get(e)})(e,t);if(a){let{props:i,content:n}=a,r={delay:100,...i,...t,toastId:t.toastId||e,updateId:J()};r.toastId!==e&&(r.staleId=e);let o=r.render||n;delete r.render,ea(o,r)}},er.done=e=>{er.update(e,{progress:1})},er.onChange=function(e){return ee.add(e),()=>{ee.delete(e)}},er.play=e=>et(!0,e),er.pause=e=>et(!1,e),"u">typeof window?a.useLayoutEffect:a.useEffect;var eo=(e,t=!1)=>({enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t});
9Y(eo("bounce",!0)),Y(eo("slide",!0)),Y(eo("zoom")),Y(eo("flip")),e.i(69638),(0,w.default)("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]),(0,w.default)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);let el=a.default.createContext({success:(e,t)=>{},error:(e,t)=>{},info:(e,t)=>{},warning:(e,t)=>{}});function es({file:e,onClose:n,onResize:r}){let[o,l]=(0,a.useState)(e.width),[s,c]=(0,a.useState)(e.height),[d,p]=(0,a.useState)(!0),[m,u]=(0,a.useState)(!1),[x,f]=(0,a.useState)(null),v=a.default.useContext(el),h=e.width/e.height;(0,a.useEffect)(()=>{let e=e=>{"Escape"===e.key&&n()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[n]);let g=async()=>{if(o<=0||s<=0){f("Width and height must be greater than 0"),v.error("Width and height must be greater than 0");return}u(!0),f(null);try{await r(o,s),n()}catch(t){let e=t instanceof Error?t.message:"Failed to resize image";f(e),v.error(e)}finally{u(!1)}};return(0,t.jsx)(i.motion.div,{initial:{opacity:0}
9,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4",onClick:n,children:(0,t.jsxs)(i.motion.div,{initial:{scale:.9,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.9,opacity:0},transition:{type:"spring",damping:20,stiffness:300},className:"bg-card rounded-custom shadow-xl max-w-md w-full p-6",onClick:e=>e.stopPropagation(),children:[(0,t.jsxs)("div",{className:"flex justify-between items-center mb-4",children:[(0,t.jsx)("h3",{className:"text-lg font-medium",children:"Resize Image"}),(0,t.jsx)("button",{onClick:n,className:"text-muted-foreground hover:text-foreground transition-colors",children:(0,t.jsx)(V.X,{className:"h-5 w-5"})})]}),(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)("div",{className:"flex items-center justify-center mb-4",children:(0,t.jsxs)("div",{className:"relative w-64 h-64 rounded-custom overflow-hidden bg-secondary",children:[(0,t.jsx)("img",{src:e.url||"/placeholder.svg",alt:e.name,className:"object-contain w-full h-full"}),(0,t.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 bg-black/60 text-white text-xs p-1 text-center",children:[e.width," x ",e.height,"px"]})]})}),x&&(0,t.jsx)("div",{className:"p-3 bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 rounded-custom text-red-600 dark:text-red-400 text-sm",children:x}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"width",className:"block text-sm font-medium mb-1",children:"Width (px)"}),(0,t.jsx)("input",{id:"width",type:"number",min:"1",value:o,onChange:e=>{var t;l(t=Number(e.target.value)),d&&c(Math.round(t/h))},className:"w-full rounded-custom border border-border bg-card px-3 py-2 text-sm"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"height",className:"block text-sm font-medium mb-1",children:"Height (px)"}),(0,t.jsx)("input",{id:"height",type:"number",min:"1",value:s,onChange:e=>{var t;c(t=Number(e.target.value)),d&&l(Math.round(t*h))},className:"w-full rounded-custom border border-border bg-card px-3 py-2 text-sm"})]})]}),(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("input",{id:"aspect-ratio",type:"checkbox",checked:d,onChange:e=>p(e.target.checked),className:"h-4 w-4 rounded-custom border-gray-300 text-primary focus:ring-primary"}),(0,t.jsx)("label",{htmlFor:"aspect-ratio",className:"ml-2 block text-sm",children:"Maintain aspect ratio"})]}),(0,t.jsxs)("div",{className:"flex justify-end space-x-2 pt-2",children:[(0,t.jsx)("button",{onClick:n,className:"px-4 py-2 border border-border rounded-custom text-sm font-medium transition-colors hover:bg-accent",children:"Cancel"}),(0,t.jsx)("button",{onClick:g,disabled:m,className:"px-4 py-2 bg-primary text-white rounded-custom text-sm font-medium transition-colors hover:bg-primary/90 disabled:opacity-50",children:m?"Resizing...":"Resize"})]})]})]})})}let ec=(0,w.default)("ArrowDown",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);var ed=e.i(40160);let ep=(0,w.default)("Trash",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}]]),em=(0,w.default)("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"}]]),eu=(0,w.default)("Package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["path",{d:"m3.3 7 7.703 4.734a2 2 0 0 0 1.994 0L20.7 7",key:"yx3hmr"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]),ex=(0,w.default)("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]),ef=(0,w.default)("FileDown",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M12 18v-6",key:"17g6i2"}],["path",{d:"m9 15 3 3 3-3",key:"1npd3o"}]]);var ev=e.i(47163);let eh=(0,a.forwardRef)(({className:e,children:a,...i},n)=>(0,t.jsx)("button",{ref:n,className:(0,ev.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-custom bg-primary px-4 py-2 text-sm font-medium text-primary-foreground shadow transition-colors hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",e),...i,children:a}));eh.displayName="PrimaryButton";let eg=(0,a.forwardRef)(({className:e,children:a,...i},n)=>(0,t.jsx)("button",{ref:n,className:(0,ev.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-custom border border-input bg-background px-4 py-2 text-sm font-medium text-foreground shadow-sm transition-colors hover:bg-accent hover:text-accent-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",e),...i,children:a}));
9eg.displayName="SecondaryButton";let eb=(0,a.forwardRef)(({className:e,children:a,...i},n)=>(0,t.jsx)("button",{ref:n,className:(0,ev.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-custom p-2 text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",e),...i,children:a}));function ey({onClick:e}){return(0,t.jsxs)(eh,{className:"gap-2",children:[(0,t.jsx)(ec,{className:"h-4 w-4"}),(0,t.jsx)("span",{children:"Upload Images"})]})}function ew({onClick:e,isConverting:a,disabled:i}){return(0,t.jsx)(eh,{onClick:e,disabled:a||i,className:"gap-2",children:a?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(em,{className:"h-4 w-4 animate-spin"}),(0,t.jsx)("span",{children:"Converting..."})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ef,{className:"h-4 w-4"}),(0,t.jsx)("span",{children:"Convert All"})]})})}function ej({onClick:e}){return(0,t.jsxs)(eh,{onClick:e,className:"gap-2",children:[(0,t.jsx)(ep,{className:"h-4 w-4 "}),(0,t.jsx)("span",{children:"Delete All"})]})}function ek({onClick:e,disabled:a}){return(0,t.jsx)(eb,{onClick:e,disabled:a,className:"text-slate-700 hover:text-slate-900 hover:bg-slate-100 dark:text-slate-300 dark:hover:text-white dark:hover:bg-slate-800/60 [--convertsinglescale:1] hover:[--convertsinglescale:1.25]",title:"Convert",children:(0,t.jsx)(ef,{className:"h-4 w-4 scale-[var(--convertsinglescale)] transition-all duration-300"})})}function eN({onClick:e}){return(0,t.jsx)(eb,{onClick:e,className:"text-red-600 hover:text-red-700 hover:bg-red-50 dark:text-red-500 dark:hover:text-red-400 dark:hover:bg-red-900/20 [--removescale:1] hover:[--removescale:1.25] ",title:"Remove",children:(0,t.jsx)(ep,{className:"h-4 w-4 scale-[var(--removescale)] transition-all duration-300"})})}function eC({onClick:e}){return(0,t.jsx)(eb,{onClick:e,className:"text-slate-700 hover:text-slate-900 hover:bg-slate-100 dark:text-slate-300 dark:hover:text-white dark:hover:bg-slate-800/60 [--resizescale:1] hover:[--resizescale:1.25] ",title:"Resize",children:(0,t.jsx)(ex,{className:"h-4 w-4  scale-[var(--resizescale)] transition-all duration-300"})})}function ez({onClick:e}){return(0,t.jsx)(eb,{onClick:e,className:"text-slate-700 hover:text-slate-900 hover:bg-slate-100 dark:text-slate-300 dark:hover:text-white dark:hover:bg-slate-800/60 [--downloadscale:1] hover:[--downloadscale:1.25] ",title:"Download",children:(0,t.jsx)(ed.Download,{className:"h-4 w-4  scale-[var(--downloadscale)] transition-all duration-300"})})}function eE({onClick:e}){return(0,t.jsx)(eb,{onClick:e,className:"text-red-600 hover:text-red-700 hover:bg-red-50 dark:text-red-500 dark:hover:text-red-400 dark:hover:bg-red-900/20  [--deletescale:1] hover:[--deletescale:1.25] ",title:"Delete",children:(0,t.jsx)(ep,{className:"h-4 w-4  scale-[var(--deletescale)] transition-all duration-300"})})}function eL({onClick:e,showZipOptions:a}){return(0,t.jsxs)(eg,{onClick:e,className:"gap-2",children:[(0,t.jsx)(eu,{className:"h-4 w-4"}),(0,t.jsx)("span",{children:a?"Hide ZIP Options":"ZIP Options"})]})}eb.displayName="IconButton";var eF=e.i(45009),eS=e.i(90571);let eP
vendor: 41,168 bytes, line 9
9=new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function 
9eD(e,t,a){let i=function(e){let{name:t}=e;if(t&&-1!==t.lastIndexOf(".")&&!e.type){let a=t.split(".").pop().toLowerCase(),i=eP.get(a);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}(e),{webkitRelativePath:n}=e,r="string"==typeof t?t:"string"==typeof n&&n.length>0?n:`./${e.name}`;return"string"!=typeof i.path&&eR(i,"path",r),void 0!==a&&Object.defineProperty(i,"handle",{value:a,writable:!1,configurable:!1,enumerable:!0}),eR(i,"relativePath",r),i}function eR(e,t,a){Object.defineProperty(e,t,{value:a,writable:!1,configurable:!1,enumerable:!0})}let eI=[".DS_Store","Thumbs.db"];function eA(e){return"object"==typeof e&&null!==e}function e$(e){return e.filter(e=>-1===eI.indexOf(e.name))}function eO(e){if(null===e)return[];let t=[];for(let a=0;a<e.length;a++){let i=e[a];t.push(i)}return t}function eq(e){if("function"!=typeof e.webkitGetAsEntry)return eM(e);let t=e.webkitGetAsEntry();return t&&t.isDirectory?eU(t):eM(e,t)}function eM(e,t){return(0,eS.__awaiter)(this,void 0,void 0,function*(){var a;if(globalThis.isSecureContext&&"function"==typeof e.getAsFileSystemHandle){let t=yield e.getAsFileSystemHandle();if(null===t)throw Error(`${e} is not a File`);if(void 0!==t){let e=yield t.getFile();return e.handle=t,eD(e)}}let i=e.getAsFile();if(!i)throw Error(`${e} is not a File`);return eD(i,null!=(a=null==t?void 0:t.fullPath)?a:void 0)})}function eT(e){return(0,eS.__awaiter)(this,void 0,void 0,function*(){return e.isDirectory?eU(e):function(e){return(0,eS.__awaiter)(this,void 0,void 0,function*(){return new Promise((t,a)=>{e.file(a=>{t(eD(a,e.fullPath))},e=>{a(e)})})})}(e)})}function eU(e){let t=e.createReader();return new Promise((e,a)=>{let i=[];!function n(){t.readEntries(t=>(0,eS.__awaiter)(this,void 0,void 0,function*(){if(t.length){let e=Promise.all(t.map(eT));i.push(e),n()}else try{let t=yield Promise.all(i);e(t)}catch(e){a(e)}}),e=>{a(e)})}()})}var eB=e.i(16474);function eG(e){return function(e){if(Array.isArray(e))return eY(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||eZ(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function eW(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,i)}return a}function e_(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};
9t%2?eW(Object(a),!0).forEach(function(t){eH(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):eW(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function eH(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function eV(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a,i,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(r.push(a.value),!t||r.length!==t);o=!0);}catch(e){l=!0,i=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw i}}return r}}(e,t)||eZ(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function eZ(e,t){if(e){if("string"==typeof e)return eY(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);if("Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return eY(e,t)}}function eY(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,i=Array(t);a<t;a++)i[a]=e[a];return i}var eK="function"==typeof eB.default?eB.default:eB.default.default,eJ=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split(","),a=t.length>1?"one of ".concat(t.join(", ")):t[0];return{code:"file-invalid-type",message:"File type must be ".concat(a)}},eQ=function(e){return{code:"file-too-large",message:"File is larger than ".concat(e," ").concat(1===e?"byte":"bytes")}},eX=function(e){return{code:"file-too-small",message:"File is smaller than ".concat(e," ").concat(1===e?"byte":"bytes")}},e0={code:"too-many-files",message:"Too many files"};function e1(e,t){var a="application/x-moz-file"===e.type||eK(e,t)||""===e.type&&"function"==typeof e.getAsFile;return[a,a?null:eJ(t)]}function e2(e,t,a){if(e4(e.size)){if(e4(t)&&e4(a)){if(e.size>a)return[!1,eQ(a)];if(e.size<t)return[!1,eX(t)]}else if(e4(t)&&e.size<t)return[!1,eX(t)];else if(e4(a)&&e.size>a)return[!1,eQ(a)]}return[!0,null]}function e4(e){return null!=e}function e3(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function e5(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(e){return"Files"===e||"application/x-moz-file"===e}):!!e.target&&!!e.target.files}function e6(e){e.preventDefault()}function e7(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return function(e){for(var a=arguments.length,i=Array(a>1?a-1:0),n=1;n<a;n++)i[n-1]=arguments[n];return t.some(function(t){return!e3(e)&&t&&t.apply(void 0,[e].concat(i)),e3(e)})}}function e8(e){return"audio/*"===e||"video/*"===e||"image/*"===e||"text/*"===e||"application/*"===e||/\w+\/[-+.\w]+/g.test(e)}function e9(e){return/^.*\.[\w]+$/.test(e)}var te=["children"],tt=["open"],ta=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],ti=["refKey","onChange","onClick"];function tn(e){return function(e){if(Array.isArray(e))return tl(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||to(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a,i,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(r.push(a.value),!t||r.length!==t);o=!0);}catch(e){l=!0,i=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw i}}return r}}(e,t)||to(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function to(e,t){if(e){if("string"==typeof e)return tl(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);if("Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return tl(e,t)}}function tl(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,i=Array(t);a<t;a++)i[a]=e[a];return i}function ts(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,i)}return a}function tc(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};
9t%2?ts(Object(a),!0).forEach(function(t){td(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ts(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function td(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function tp(e,t){if(null==e)return{};var a,i,n=function(e,t){if(null==e)return{};var a,i,n={},r=Object.keys(e);for(i=0;i<r.length;i++)a=r[i],t.indexOf(a)>=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)a=r[i],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}var tm=(0,a.forwardRef)(function(e,t){var i=e.children,n=tf(tp(e,te)),r=n.open,o=tp(n,tt);return(0,a.useImperativeHandle)(t,function(){return{open:r}},[r]),a.default.createElement(a.Fragment,null,i(tc(tc({},o),{},{open:r})))});tm.displayName="Dropzone";var tu={disabled:!1,getFilesFromEvent:function(e){return(0,eS.__awaiter)(this,void 0,void 0,function*(){var t;if(eA(e)&&eA(e.dataTransfer))return function(e,t){return(0,eS.__awaiter)(this,void 0,void 0,function*(){if(e.items){let a=eO(e.items).filter(e=>"file"===e.kind);return"drop"!==t?a:e$(function e(t){return t.reduce((t,a)=>[...t,...Array.isArray(a)?e(a):[a]],[])}((yield Promise.all(a.map(eq)))))}return e$(eO(e.files).map(e=>eD(e)))})}(e.dataTransfer,e.type);if(eA(t=e)&&eA(t.target))return eO(e.target.files).map(e=>eD(e));return Array.isArray(e)&&e.every(e=>"getFile"in e&&"function"==typeof e.getFile)?function(e){return(0,eS.__awaiter)(this,void 0,void 0,function*(){return(yield Promise.all(e.map(e=>e.getFile()))).map(e=>eD(e))})}(e):[]})},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};tm.defaultProps=tu,tm.propTypes={children:eF.default.func,accept:eF.default.objectOf(eF.default.arrayOf(eF.default.string)),multiple:eF.default.bool,preventDropOnDocument:eF.default.bool,noClick:eF.default.bool,noKeyboard:eF.default.bool,noDrag:eF.default.bool,noDragEventsBubbling:eF.default.bool,minSize:eF.default.number,maxSize:eF.default.number,maxFiles:eF.default.number,disabled:eF.default.bool,getFilesFromEvent:eF.default.func,onFileDialogCancel:eF.default.func,onFileDialogOpen:eF.default.func,useFsAccessApi:eF.default.bool,autoFocus:eF.default.bool,onDragEnter:eF.default.func,onDragLeave:eF.default.func,onDragOver:eF.default.func,onDrop:eF.default.func,onDropAccepted:eF.default.func,onDropRejected:eF.default.func,onError:eF.default.func,validator:eF.default.func};var tx={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,isDragGlobal:!1,acceptedFiles:[],fileRejections:[]};function tf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=tc(tc({},tu),e),i=t.accept,n=t.disabled,r=t.getFilesFromEvent,o=t.maxSize,l=t.minSize,s=t.multiple,c=t.maxFiles,d=t.onDragEnter,p=t.onDragLeave,m=t.onDragOver,u=t.onDrop,x=t.onDropAccepted,f=t.onDropRejected,v=t.onFileDialogCancel,h=t.onFileDialogOpen,g=t.useFsAccessApi,b=t.autoFocus,y=t.preventDropOnDocument,w=t.noClick,j=t.noKeyboard,k=t.noDrag,N=t.noDragEventsBubbling,C=t.onError,z=t.validator,E=(0,a.useMemo)(function(){return e4(i)?Object.entries(i).reduce(function(e,t){var a=eV(t,2),i=a[0],n=a[1];return[].concat(eG(e),[i],eG(n))},[]).filter(function(e){return e8(e)||e9(e)}).join(","):void 0},[i]),L=(0,a.useMemo)(function(){return e4(i)?[{description:"Files",accept:Object.entries(i).filter(function(e){var t=eV(e,2),a=t[0],i=t[1],n=!0;return e8(a)||(console.warn('Skipped "'.concat(a,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),n=!1),Array.isArray(i)&&i.every(e9)||(console.warn('Skipped "'.concat(a,'" because an invalid file extension was provided.')),n=!1),n}).reduce(function(e,t){var a=eV(t,2),i=a[0],n=a[1];return e_(e_({},e),{},eH({},i,n))},{})}]:i},[i]),F=(0,a.useMemo)(function(){return"function"==typeof h?h:th},[h]),S=(0,a.useMemo)(function(){return"function"==typeof v?v:th},[v]),P=(0,a.useRef)(null),D=(0,a.useRef)(null),R=tr((0,a.useReducer)(tv,tx),2),I=R[0],A=R[1],$=I.isFocused,O=I.isFileDialogActive,q=(0,a.useRef)("u">typeof window&&window.isSecureContext&&g&&"showOpenFilePicker"in window),M=function(){!q.current&&O&&setTimeout(function(){D.current&&(D.current.files.length||(A({type:"closeDialog"}),S()))},300)};(0,a.useEffect)(function(){return window.addEventListener("focus",M,!1),function(){window.removeEventListener("focus",M,!1)}},[D,O,S,q]);var T=(0,a.useRef)([]),U=(0,a.useRef)([]),B=function(e){P.current&&P.current.contains(e.target)||(e.preventDefault(),T.current=[])};(0,a.useEffect)(function(){return y&&(document.addEventListener("dragover",e6,!1),document.addEventListener("drop",B,!1)),function(){y&&(document.removeEventListener("dragover",e6),document.removeEventListener("drop",B))}},[P,y]),(0,a.useEffect)(function(){var e=function(e){U.current=[].concat(tn(U.current),[e.target]),e5(e)&&A({isDragGlobal:!0,type:"setDragGlobal"})},t=function(e){U.current=U.current.filter(function(t){return t!==e.target&&null!==t}),U.current.length>0||A({isDragGlobal:!1,type:"setDragGlobal"})},a=function(){U.current=[],A({isDragGlobal:!1,type:"setDragGlobal"})},i=function(){U.current=[],A({isDragGlobal:!1,type:"setDragGlobal"})};return document.addEventListener("dragenter",e,!1),document.addEventListener("dragleave",t,!1),document.addEventListener("dragend",a,!1),document.addEventListener("drop",i,!1),function(){document.removeEventListener("dragenter",e),document.removeEventListener("dragleave",t),document.removeEventListener("dragend",a),document.removeEventListener("drop",i)}},[P]),(0,a.useEffect)(function(){return!n&&b&&P.current&&P.current.focus(),function(){}},[P,b,n]);var G=(0,a.useCallback)(function(e){C?C(e):console.error(e)},[C]),W=(0,a.useCallback)(function(e){e.preventDefault(),e.persist(),ei(e),T.current=[].concat(tn(T.current),[e.target]),e5(e)&&Promise.resolve(r(e)).then(function(t){if(!e3(e)||N){var a,i,n,r,p,m,u,x,f=t.length,v=f>0&&(i=(a={files:t,accept:E,minSize:l,maxSize:o,multiple:s,maxFiles:c,validator:z}).files,n=a.accept,r=a.minSize,p=a.maxSize,m=a.multiple,u=a.maxFiles,x=a.validator,(!!m||!(i.length>1))&&(!m||!(u>=1)||!(i.length>
9u))&&i.every(function(e){var t=eV(e1(e,n),1)[0],a=eV(e2(e,r,p),1)[0],i=x?x(e):null;return t&&a&&!i}));A({isDragAccept:v,isDragReject:f>0&&!v,isDragActive:!0,type:"setDraggedFiles"}),d&&d(e)}}).catch(function(e){return G(e)})},[r,d,G,N,E,l,o,s,c,z]),_=(0,a.useCallback)(function(e){e.preventDefault(),e.persist(),ei(e);var t=e5(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&m&&m(e),!1},[m,N]),H=(0,a.useCallback)(function(e){e.preventDefault(),e.persist(),ei(e);var t=T.current.filter(function(e){return P.current&&P.current.contains(e)}),a=t.indexOf(e.target);-1!==a&&t.splice(a,1),T.current=t,!(t.length>0)&&(A({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),e5(e)&&p&&p(e))},[P,p,N]),V=(0,a.useCallback)(function(e,t){var a=[],i=[];e.forEach(function(e){var t=tr(e1(e,E),2),n=t[0],r=t[1],s=tr(e2(e,l,o),2),c=s[0],d=s[1],p=z?z(e):null;if(n&&c&&!p)a.push(e);else{var m=[r,d];p&&(m=m.concat(p)),i.push({file:e,errors:m.filter(function(e){return e})})}}),(!s&&a.length>1||s&&c>=1&&a.length>c)&&(a.forEach(function(e){i.push({file:e,errors:[e0]})}),a.splice(0)),A({acceptedFiles:a,fileRejections:i,type:"setFiles"}),u&&u(a,i,t),i.length>0&&f&&f(i,t),a.length>0&&x&&x(a,t)},[A,s,E,l,o,c,u,x,f,z]),Z=(0,a.useCallback)(function(e){e.preventDefault(),e.persist(),ei(e),T.current=[],e5(e)&&Promise.resolve(r(e)).then(function(t){(!e3(e)||N)&&V(t,e)}).catch(function(e){return G(e)}),A({type:"reset"})},[r,V,G,N]),Y=(0,a.useCallback)(function(){if(q.current){A({type:"openDialog"}),F(),window.showOpenFilePicker({multiple:s,types:L}).then(function(e){return r(e)}).then(function(e){V(e,null),A({type:"closeDialog"})}).catch(function(e){e instanceof DOMException&&("AbortError"===e.name||e.code===e.ABORT_ERR)?(S(e),A({type:"closeDialog"})):e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)?(q.current=!1,D.current?(D.current.value=null,D.current.click()):G(Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):G(e)});return}D.current&&(A({type:"openDialog"}),F(),D.current.value=null,D.current.click())},[A,F,S,g,V,G,L,s]),K=(0,a.useCallback)(function(e){P.current&&P.current.isEqualNode(e.target)&&(" "===e.key||"Enter"===e.key||32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),Y())},[P,Y]),J=(0,a.useCallback)(function(){A({type:"focus"})},[]),Q=(0,a.useCallback)(function(){A({type:"blur"})},[]),X=(0,a.useCallback)(function(){w||(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return -1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/")}()?setTimeout(Y,0):Y())},[w,Y]),ee=function(e){return n?null:e},et=function(e){return j?null:ee(e)},ea=function(e){return k?null:ee(e)},ei=function(e){N&&e.stopPropagation()},en=(0,a.useMemo)(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,a=e.role,i=e.onKeyDown,r=e.onFocus,o=e.onBlur,l=e.onClick,s=e.onDragEnter,c=e.onDragOver,d=e.onDragLeave,p=e.onDrop,m=tp(e,ta);return tc(tc(td({onKeyDown:et(e7(i,K)),onFocus:et(e7(r,J)),onBlur:et(e7(o,Q)),onClick:ee(e7(l,X)),onDragEnter:ea(e7(s,W)),onDragOver:ea(e7(c,_)),onDragLeave:ea(e7(d,H)),onDrop:ea(e7(p,Z)),role:"string"==typeof a&&""!==a?a:"presentation"},void 0===t?"ref":t,P),n||j?{}:{tabIndex:0}),m)}},[P,K,J,Q,X,W,_,H,Z,j,k,n]),er=(0,a.useCallback)(function(e){e.stopPropagation()},[]),eo=(0,a.useMemo)(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,a=e.onChange,i=e.onClick,n=tp(e,ti);return tc(tc({},td({accept:E,multiple:s,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:ee(e7(a,Z)),onClick:ee(e7(i,er)),tabIndex:-1},void 0===t?"ref":t,D)),n)}},[D,i,s,Z,n]);return tc(tc({},I),{},{isFocused:$&&!n,getRootProps:en,getInputProps:eo,rootRef:P,inputRef:D,open:ee(Y)})}function tv(e,t){switch(t.type){case"focus":return tc(tc({},e),{},{isFocused:!0});case"blur":return tc(tc({},e),{},{isFocused:!1});case"openDialog":return tc(tc({},tx),{},{isFileDialogActive:!0});case"closeDialog":return tc(tc({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return tc(tc({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return tc(tc({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections,isDragReject:!1});case"setDragGlobal":return tc(tc({},e),{},{isDragGlobal:t.isDragGlobal});case"reset":return tc({},tx);default:return e}}function th(){}let tg=(0,w.default)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]),tb=(0,w.default)("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);var ty=e.i(39312);(0,w.default)("Chrome",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["line",{x1:"21.17",x2:"12",y1:"8",y2:"8",key:"a0cw5f"}],["line",{x1:"3.95",x2:"8.54",y1:"6.06",y2:"14",key:"1kftof"}],["line",{x1:"10.88",x2:"15.46",y1:"21.94",y2:"14",key:"1ymyh8"}]]);var tw=e.i(22016);function tj(){let e=[{icon:tg,title:"Scan Images",description:"Detect instantly"},{icon:tb,title:"Preview & Filter",description:"Smart filtering"}
9,{icon:ed.Download,title:"Bulk Download",description:"One click"}];return(0,t.jsx)(i.motion.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.5,delay:.2},className:"w-full mb-6",children:(0,t.jsxs)("div",{className:"relative overflow-hidden rounded-lg bg-gradient-to-r from-blue-50 via-white to-blue-100 dark:from-blue-950/40 dark:via-card dark:to-blue-950/30 border border-border shadow-md",children:[(0,t.jsx)("div",{className:"absolute inset-0 opacity-30",children:(0,t.jsx)("div",{className:"absolute top-0 right-0 w-64 h-64 bg-primary/10 dark:bg-primary/5 rounded-full mix-blend-multiply filter blur-2xl -mr-24 -mt-24"})}),(0,t.jsx)("div",{className:"relative px-5 md:px-6 py-4 md:py-5",children:(0,t.jsxs)("div",{className:"flex flex-col md:flex-row items-start md:items-center justify-between gap-5",children:[(0,t.jsxs)("div",{className:"flex items-start md:items-center gap-4 flex-1",children:[(0,t.jsx)(i.motion.div,{whileHover:{scale:1.02},className:"flex-shrink-0 w-16 h-16 rounded-md bg-gradient-to-br from-primary to-primary/80 dark:from-primary/10 dark:to-primary/20 shadow-md flex items-center justify-center",children:(0,t.jsx)(ed.Download,{className:"w-8 h-8 text-white"})}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 flex-wrap mb-1",children:[(0,t.jsxs)("h3",{className:"text-lg md:text-xl font-bold text-slate-900 dark:text-white",children:["Quick ",(0,t.jsx)("span",{className:"text-primary",children:"IMG Finder"})]}),(0,t.jsxs)("div",{className:"inline-flex items-center gap-1 bg-primary/10 dark:bg-primary/20 text-primary text-xs font-semibold px-2.5 py-1 rounded-md",children:[(0,t.jsx)(ty.Zap,{className:"w-3 h-3"}),"Chrome Extension"]})]}),(0,t.jsxs)("p",{className:"text-xs text-slate-700 dark:text-slate-300",children:["Find and download all images from any webpage. Bulk image download, full-page screenshots, ZIP export "," ",(0,t.jsx)("span",{className:"font-semibold text-primary",children:"→ free image scraper."})]})]})]}),(0,t.jsx)("div",{className:"flex gap-3 md:gap-4 flex-1 flex-wrap md:flex-nowrap",children:e.map((e,a)=>{let n=e.icon;return(0,t.jsxs)(i.motion.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{delay:.05*a},className:"hidden md:flex items-center gap-2 text-center md:text-left flex-1",children:[(0,t.jsx)("div",{className:"flex-shrink-0 w-8 h-8 rounded-md bg-primary/10 dark:bg-primary/20 flex items-center justify-center",children:(0,t.jsx)(n,{className:"w-4 h-4 text-primary"})}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("p",{className:"font-semibold text-xs text-slate-900 dark:text-white",children:e.title}),(0,t.jsx)("p",{className:"text-xs text-slate-600 dark:text-slate-400",children:e.description})]})]},a)})}),(0,t.jsxs)("div",{className:"flex items-center gap-4 flex-wrap md:flex-nowrap",children:[(0,t.jsxs)("div",{className:"hidden lg:flex items-center gap-1.5 text-xs bg-card/80 backdrop-blur-sm px-3 py-2 rounded-md border border-border",children:[(0,t.jsx)(S.Shield,{className:"w-3.5 h-3.5 text-primary flex-shrink-0"}),(0,t.jsx)("span",{className:"text-slate-700 dark:text-slate-300",children:(0,t.jsx)("span",{className:"font-semibold",children:"100% Safe"})})]}),(0,t.jsxs)(tw.default,{href:"https://chromewebstore.google.com/detail/quick-img-finder-image-do/lnengmicchpeecdegjldhdakpedeoalg?authuser=0&hl=en-GB",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-5 md:px-6 py-2.5 font-semibold text-white rounded-md bg-primary dark:bg-black/50 hover:bg-primary/90 dark:hover:bg-primary/5 transition-all duration-300 hover:shadow-lg whitespace-nowrap text-sm",children:[(0,t.jsx)(ed.Download,{className:"w-4 h-4"}),(0,t.jsx)("span",{children:"Add to Chrome"})]})]})]})})]})})}function tk({format:e}){return(0,t.jsxs)("div",{className:`w-10 h-10 flex items-center justify-center ${(()=>{switch(e){case"jpg":return"text-blue-500";case"png":return"text-green-500";case"webp":return"text-blue-400";case"gif":return"text-purple-500";case"svg":return"text-amber-500";case"tiff":return"text-red-500";default:return"text-gray-500"}})()}`,children:["jpg"===e&&(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}),(0,t.jsx)("circle",{cx:"8.5",cy:"8.5",r:"1.5"}),(0,t.jsx)("polyline",{points:"21 15 16 10 5 21"})]}),"png"===e&&(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M21 8v8a5 5 0 0 1-5 5H8a5 5 0 0 1-5-5V8a5 5 0 0 1 5-5h8a5 5 0 0 1 5 5Z"}),(0,t.jsx)("path",{d:"M3 8h18"}),(0,t.jsx)("path",{d:"M9 21v-6.5a3.5 3.5 0 0 1 7 0V21"})]}),"webp"===e&&(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M4 22h14a2 2 0 0 0 2-2V7.5L14.5 2H6a2 2 0 0 0-2 2v4"}),(0,t.jsx)("polyline",{points:"14 2 14 8 20 8"}),(0,t.jsx)("path",{d:"M2 15h10"}),(0,t.jsx)("path",{d:"M9 18l3-3-3-3"})]}),"gif"===e&&(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",ry:"2"}),(0,t.jsx)("line",{x1:"8",y1:"21",x2:"16",y2:"21"}),(0,t.jsx)("line",{x1:"12",y1:"17",x2:"12",y2:"21"})]}),"svg"===e&&(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M12 3v12l-4-4"}),(0,t.jsx)("path",{d:"M8 21h12a2 2 0 0 0 2-2v-8.5L14.5 3H8a2 2 0 0 0-2 2v4"}),(0,t.jsx)("path",{d:"M14 3v7h7"})]}),"tiff"===e&&(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M4 22h14a2 2 0 0 0 2-2V7.5L14.5 2H6a2 2 0 0 0-2 2v4"}),(0,t.jsx)("polyline",{points:"14 2 14 8 20 8"}),(0,t.jsx)("path",{d:"M3 15h6"}),(0,t.jsx)("path",{d:"M6 12v6"})]})]})}e.s(["default",0,function({variant:n="default"}){let{domain:r}=(0,z.useDomain)(),{user:o}=(0,E.useAuth)(),[l,s]=(0,a.useState)([]),[c,d]=(0,a.useState)([]),[p,m]=(0,a.useState)("webp"),[u,x]=(0,a.useState)(80),[f,v]=(0,a.useState)(!0),[h,g]=(0,a.useState)(70),[w,I]=(0,a.useState)(!1),[A,$]=(0,a.useState)(""),[T,U]=(0,a.useState)(!1),[_,V]=(0,a.useState)(!1),[Z,Y]=(0,a.useState)(-1),[K,J]=(0,a.useState)(null),[Q,X]=(0,a.useState)(0),[ee,et]=(0,a.useState)({}),[ea,ei]=(0,a.useState)(!1),[en,er]=(0,a.useState)(null),[eo,ec]=(0,a.useState)(""),[ed,ep]=(0,a.useState)(!1),[em,eu]=(0,a.useState)(!1),[ex,ef]=(0,a.useState)(null),[ev,eg]=(0,a.useState)("list"),[eb,eF]=(0,a.useState)("list"),eS=a.default.useContext(el),eP=(0,a.useRef)(null),eD=(0,a.useRef)(null),eR=(0,a.useRef)(!1);(0,a.useEffect)(()=>
9{if(o){$("download"),ep(!0);return}$(r),ep(!1)},[o,r]);let{getRootProps:eI,getInputProps:eA,isDragActive:e$}=tf({onDrop:(0,a.useCallback)(e=>{let t=e.filter(e=>{let t=q(e);return t||console.warn(`File rejected: ${e.name} (${e.type})`),t});if(0===t.length)return void eS.error("No valid image files were found. Please upload supported image formats.");let a=t.map(e=>G(e.name)?(console.warn(`Potentially problematic file detected: ${e.name}`),W(e)):e);s(e=>[...e,...a]),eS.success(`${t.length} image${t.length>1?"s":""} added successfully`),J(null)},[eS]),accept:{"image/*":[".jpg",".jpeg",".png",".gif",".webp",".avif",".bmp",".tiff",".svg"]},maxSize:0x3200000}),eO=e=>{let t=e.filter(e=>{let t=q(e);return t||console.warn(`File rejected: ${e.name} (${e.type})`),t});if(0===t.length)return void eS.error("No valid image files were found. Please upload supported image formats.");let a=t.map(e=>G(e.name)?(console.warn(`Potentially problematic file detected: ${e.name}`),W(e)):e);s(e=>[...e,...a]),eS.success(`${a.length} image${a.length>1?"s":""} added successfully`),J(null)},eq=(0,a.useRef)(eO);eq.current=eO,(0,a.useEffect)(()=>{let e=e=>{eq.current(e.detail)};return window.addEventListener("files-dropped",e),()=>window.removeEventListener("files-dropped",e)},[]);let eM=e=>{let t=l[e].name;s(t=>t.filter((t,a)=>a!==e)),l[e]&&et(t=>{let a={...t};return delete a[l[e].name],a}),eS.info(`Removed ${t}`)},eT=async e=>{let t=void 0!==e?[l[e]]:l;if(0!==t.length){I(!0),J(null),X(0),void 0===e&&et({});try{let a=[],i=0,n=0,r={...ee};for(let o=0;o<t.length;o++)try{let l,s=t[o];if(X(Math.round(o/t.length*100)),void 0===e&&r[s.name]){console.warn(`Skipping previously failed file: ${s.name}`),n++;continue}let c={width:800,height:600},d=s.name.split(".").pop()?.toLowerCase()||"unknown";try{let e=await M(s);c={width:e.width,height:e.height},d=e.format}catch(e){console.error(`Error getting dimensions for file ${s.name}:`,e)}try{console.log(`Converting ${s.name} to ${p} with quality: ${u} and compression: ${f?h:"disabled"}`),l=await R(s,p,u,f?h:void 0),console.log(`Converted ${s.name}: Size: ${l.size} bytes, Type: ${l.type}`)}catch(e){console.error(`Conversion error for ${s.name}:`,e),r[s.name]=e instanceof Error?e.message:"Unknown conversion error",n++;continue}let m=s.name.split(".")[0],x=B(m),v=`${x}.${p}`,g=URL.createObjectURL(l);a.push({name:v,originalName:s.name,url:g,size:l.size,originalFormat:d,convertedFormat:p,originalSize:s.size,width:c.width,height:c.height,quality:u,compressionLevel:f?h:0,compressionEnabled:f,renamed:!1}),i++}catch(e){console.error(`Error processing file at index ${o}:`,e),t[o]&&(r[t[o].name]=e instanceof Error?e.message:"Unknown processing error"),n++}if(X(100),et(r),a.length>0)if(d(e=>[...e,...a]),n>0){let e=`Converted ${i} of ${t.length} files. ${n} file(s) could not be processed.`;J(e),eS.warning(e)}else eS.success(`Successfully converted ${i} file${i>1?"s":""}`);else{let e="Failed to convert any files. Please try different images or formats.";J(e),eS.error(e)}}catch(t){console.error("Conversion failed:",t);let e="Conversion failed. Please try again with different images.";J(e),eS.error(e)}finally{I(!1),X(0)}}},eU=async t=>{if(0===c.length)return;let a=!!o||(t?.forceCleanName??ed);if(!o&&a){ef({type:"zip"}),eu(!0),eS.info("Login required to continue with clean file names.");return}try{let i=new(await e.A(95004)).default;for(let e of(eS.info("Creating ZIP file, please wait..."),c))try{let a=await fetch(e.url);if(!a.ok)throw Error(`Failed to fetch ${e.name}: ${a.statusText}`);let n=await a.blob(),o=e.name.split("."),l=o.pop()||e.convertedFormat,s=o.join(".");r&&s.endsWith(`-${r}`)&&(s=s.slice(0,-(r.length+1)));let c=eG(s,l,t);i.file(c,n)}catch(t){console.error(`Error adding file ${e.name} to zip:`,t),eS.error(`Error adding ${e.name} to ZIP. Skipping this file.`)}let n=await i.generateAsync({type:"blob",compression:"DEFLATE",compressionOptions:{level:6}}),l=URL.createObjectURL(n),s=document.createElement("a"),d=A&&A.trim()?A.trim():"",p=r&&r.trim()?r.trim():"",m="";m=d?o||a||!p||d.toLowerCase().includes(p.toLowerCase())?d:`${d}_${p}`:o||!p||a?"download":p,s.href=l,s.download=`${m}.zip`,document.body.appendChild(s),s.click(),document.body.removeChild(s),setTimeout(()=>URL.revokeObjectURL(l),100),eS.success(`Downloaded ${c.length} files as ${A}.zip`)}catch(e){console.error("Download failed:",e),eS.error("Failed to create ZIP file. Please try downloading files individually.")}},eB=(e,t,a)=>{let i=!!o||(a?.forceCleanName??ed);if(!o&&i){ef({type:"single",url:e,fileName:t}),eu(!0),eS.info("Login required to continue with clean file names.");return}eP.current&&(eP.current.href=e,eP.current.download=t,eP.current.click(),eS.success(`Downloaded ${t}`))},eG=(e,t,a)=>{let i=r.trim(),n=!!o||(a?.forceCleanName??ed),l=i&&e.endsWith(`-${i}`)?e.slice(0,-(i.length+1)):e;return n?`${l}.${t}`:i?`${l}-${i}.${t}`:`${l}.${t}`},eW=e=>{let t=c[e].name;URL.revokeObjectURL(c[e].url),d(t=>t.filter((t,a)=>a!==e)),eS.info(`Removed ${t}`)},e_=e=>{Y(e),V(!0)},eH=async(e,t)=>{if(-1===Z)return;let a=c[Z];try{let i=await O(a.url,e,t,a.convertedFormat,u),n=[...c];URL.revokeObjectURL(n[Z].url);let r=URL.createObjectURL(i);n[Z]={...n[Z],url:r,size:i.size,width:e,height:t},d(n),V(!1),eS.success(`Resized ${a.name} to ${e} x ${t}px`)}catch(e){console.error("Resize failed:",e instanceof Error?e.message:String(e)),eS.error("Failed to resize image. Please try again.")}},eV=e=>{if(0===e)return"0 Bytes";let t=Math.floor(Math.log(e)/Math.log(1024));return Number.parseFloat((e/Math.pow(1024,t)).toFixed(2))+" "+["Bytes","KB","MB","GB"][t]},eZ=e=>{let t=c[e];er({index:e,name:t.name}),ec(t.name.split(".").slice(0,-1).join(".")),ei(!0)},eY="hero"===n,eK=eY?"rounded-2xl border border-border bg-card p-5 shadow-sm":"rounded-custom border border-border bg-card p-6 shadow-lg";return(0,t.jsx)("section",{className:"w-full max-w-7xl mx-auto px-4 py-8 md:px-6",children:(0,t.jsx)("div",{className:eY?"w-full rounded-3xl border border-border bg-card/90 p-4 shadow-2xl backdrop-blur-sm sm:p-6":"w-full",children:(0,t.jsxs)("div",{className:"mx-auto max-w-tool",children:[(0,t.jsx)(i.motion.div,{initial:{opacity:0,y:20}
9,animate:{opacity:1,y:0},transition:{duration:.5},className:"text-center mb-8"}),K&&(0,t.jsxs)("div",{className:"mb-6 p-4 bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 rounded-custom text-red-600 dark:text-red-400 flex items-start gap-3",children:[(0,t.jsx)(j,{className:"h-5 w-5 flex-shrink-0 mt-0.5"}),(0,t.jsx)("div",{children:K})]}),(0,t.jsxs)("div",{className:" w-full space-y-6 ",children:[(0,t.jsxs)("div",{className:" w-full space-y-6 grid grid-cols-1 lg:grid-cols-2 gap-12",children:[(0,t.jsxs)("div",{className:"space-y-6 text-center lg:text-left",children:[(0,t.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full border border-border bg-secondary px-4 py-2 text-xs font-medium text-secondary-foreground",children:[(0,t.jsx)("span",{className:"inline-block h-2 w-2 rounded-full bg-primary"}),"Now supporting 15+ image formats"]}),(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("h1",{className:"text-4xl font-bold leading-tight tracking-tight text-foreground sm:text-5xl lg:text-6xl",children:["Convert Your Images",(0,t.jsx)("span",{className:"block text-primary",children:"Instantly"})]}),(0,t.jsx)("p",{className:"mx-auto max-w-2xl text-base leading-relaxed text-muted-foreground sm:text-lg lg:mx-0",children:"Professional-grade image conversion in seconds. Upload, convert, and download with full control over quality and compression."})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-3",children:[(0,t.jsxs)("div",{className:"rounded-xl border border-border bg-secondary/70 px-3 py-3 text-left",children:[(0,t.jsx)(D.Upload,{className:"mb-2 h-4 w-4 text-primary"}),(0,t.jsx)("p",{className:"text-xs font-semibold text-foreground",children:"Drag & Drop Upload"})]}),(0,t.jsxs)("div",{className:"rounded-xl border border-border bg-secondary/70 px-3 py-3 text-left",children:[(0,t.jsx)(P.Sparkles,{className:"mb-2 h-4 w-4 text-primary"}),(0,t.jsx)("p",{className:"text-xs font-semibold text-foreground",children:"High-Quality Output"})]}),(0,t.jsxs)("div",{className:"rounded-xl border border-border bg-secondary/70 px-3 py-3 text-left",children:[(0,t.jsx)(S.Shield,{className:"mb-2 h-4 w-4 text-primary"}),(0,t.jsx)("p",{className:"text-xs font-semibold text-foreground",children:"Secure Processing"})]})]}),(0,t.jsxs)("div",{className:"inline-flex items-center gap-2 text-sm font-medium text-muted-foreground",children:[(0,t.jsx)(F,{className:"h-4 w-4"}),"No registration required for standard downloads"]})]}),(0,t.jsxs)("div",{className:eK,children:[(0,t.jsxs)("div",{...eI(),className:`
10                  border-2 border-dashed ${eY?"rounded-2xl p-2 md:p-4":"rounded-custom p-10"} text-center cursor-pointer transition-colors h-full
11                  ${e$?"border-primary bg-primary/5":"border-border hover:border-primary/50"}
12                `,children:[(0,t.jsx)("label",{htmlFor:"file-upload-input",className:"sr-only",children:"Upload image files"}),(0,t.jsx)("input",{id:"file-upload-input",...eA()}),(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,t.jsx)("div",{className:"rounded-full bg-accent p-4",children:(0,t.jsx)(y.ArrowUp,{className:"h-8 w-8 text-primary"})}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("h3",{className:"text-lg font-medium",children:"Drop your images here"}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"SVG, PNG, JPG, GIF, WEBP or TIFF (max 50MB)"})]}),(0,t.jsx)("div",{className:"pt-4",children:(0,t.jsx)(ey,{onClick:()=>eD.current?.click()})})]})]}),(0,t.jsx)("input",{ref:eD,type:"file",accept:"image/*",multiple:!0,className:"hidden",onChange:e=>{e.target.files&&eO(Array.from(e.target.files))},"aria-label":"Upload image files"})]})]}),l.length>0&&(0,t.jsxs)("div",{children:[(0,t.jsx)(tj,{}),(0,t.jsxs)("div",{className:`grid grid-cols-1 md:grid-cols-2 ${eY?"gap-4":"gap-6"}`,children:[(0,t.jsxs)("div",{className:eK,children:[(0,t.jsx)("h3",{className:"text-lg font-medium mb-4",children:"Output Format"}),(0,t.jsx)("div",{className:"grid grid-cols-2 gap-3",children:[{value:"jpg",label:"JPG",description:"Best for photos"},{value:"png",label:"PNG",description:"Supports transparency"},{value:"webp",label:"WebP",description:"Smaller file size"},{value:"gif",label:"GIF",description:"Supports animation"},{value:"svg",label:"SVG",description:"Vector format"},{value:"tiff",label:"TIFF",description:"High quality"}].map(e=>(0,t.jsxs)("div",{className:`relative flex  items-center p-4 rounded-custom border transition-all duration-200 cursor-pointer
13                        ${p===e.value?"border-primary bg-primary/5 ring-2 ring-primary":"border-border hover:border-primary/50 hover:bg-primary/5"}
14                      `,onClick:()=>m(e.value),children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 w-full",children:[(0,t.jsx)(tk,{format:e.value}),(0,t.jsxs)("div",{className:"flex flex-col justify-center",children:[(0,t.jsx)("div",{className:"font-medium leading-none",children:e.label}),(0,t.jsx)("div",{className:"text-xs text-foreground leading-tight mt-1",children:e.description})]})]}),p===e.value&&(0,t.jsx)(i.motion.div,{initial:{scale:0},animate:{scale:1}
14,className:"absolute top-2 right-2 rounded-full bg-primary p-0.5",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round",className:"text-white dark:text-black",children:(0,t.jsx)("polyline",{points:"20 6 9 17 4 12"})})})]},e.value))})]}),(0,t.jsxs)("div",{className:eK,children:[(0,t.jsx)("h3",{className:"text-lg font-medium mb-4",children:"Settings"}),(0,t.jsxs)("div",{className:"space-y-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex justify-between mb-2",children:[(0,t.jsxs)("label",{htmlFor:"quality",className:"text-sm font-medium",children:["Quality: ",u,"%"]}),(0,t.jsx)("span",{className:`inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium
15                        ${u<40?"bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-500":u<70?"bg-amber-100 text-amber-800 dark:bg-amber-900/30 dark:text-amber-500":"bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-500"}`,children:u<40?"Low":u<70?"Medium":"High"})]}),(0,t.jsxs)("div",{className:"relative w-full h-2 mb-4",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-secondary rounded-full"}),(0,t.jsx)("div",{className:"absolute inset-y-0 left-0 bg-primary dark:bg-primary rounded-full",style:{width:`${u}%`,transition:"width 0.3s ease"}}),(0,t.jsx)("div",{className:"absolute top-1/2 -mt-3 w-6 h-6 rounded-full shadow-md border-2 border-primary dark:border-primary bg-white dark:bg-white cursor-pointer transition-all duration-200 hover:scale-110",style:{left:`calc(${u}% - 12px)`,transition:"left 0.3s ease, transform 0.2s ease"}}),(0,t.jsx)("input",{id:"quality",type:"range",min:1,max:100,value:u,onChange:e=>x(Number.parseInt(e.target.value)),className:"absolute inset-0 w-full h-full opacity-0 cursor-pointer"})]}),(0,t.jsxs)("div",{className:"flex justify-between mt-1 text-xs text-muted-foreground",children:[(0,t.jsx)("span",{children:"Smaller file"}),(0,t.jsx)("span",{children:"High quality"})]})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between pt-2",children:[(0,t.jsx)("div",{children:(0,t.jsx)("label",{htmlFor:"compression-toggle",className:"text-sm font-medium",children:"Enable Compression"})}),(0,t.jsx)("button",{id:"compression-toggle",type:"button",role:"switch","aria-checked":f,"data-state":f?"checked":"unchecked",className:`relative inline-flex h-6 w-11 items-center rounded-full transition-colors duration-300 ease-in-out focus:outline-none ${f?"bg-primary shadow-inner shadow-primary/25 dark:bg-primary/0":"bg-secondary"}`,onClick:()=>v(!f),children:(0,t.jsx)("span",{className:`
16                          pointer-events-none block h-5 w-5 rounded-full bg-white shadow-md 
17                          transition-all duration-300 ease-in-out
18                          ${f?"translate-x-5 ring-2 ring-primary/25":"translate-x-0"}
19                        `})})]}),f&&(0,t.jsxs)("div",{className:"pt-4",children:[(0,t.jsxs)("div",{className:"flex justify-between mb-2",children:[(0,t.jsxs)("label",{htmlFor:"compression",className:"text-sm font-medium",children:["Compression Level: ",h,"%"]}),(0,t.jsx)("span",{className:`inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium
20                            ${h<40?"bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-500":h<80?"bg-purple-100 text-purple-800 dark:bg-purple-900/30 dark:text-purple-500":"bg-violet-100 text-violet-800 dark:bg-violet-900/30 dark:text-violet-500"}`,children:h<40?"Light":h<80?"Medium":"Heavy"})]}),(0,t.jsxs)("div",{className:"relative w-full h-2 mb-4",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-secondary rounded-full"}),(0,t.jsx)("div",{className:"absolute inset-y-0 left-0 bg-primary dark:bg-primary rounded-full",style:{width:`${h}%`,transition:"width 0.3s ease"}}),(0,t.jsx)("div",{className:"absolute top-1/2 -mt-3 w-6 h-6 rounded-full shadow-md border-2 border-primary dark:border-primary bg-white dark:bg-white cursor-pointer transition-all duration-200 hover:scale-110",style:{left:`calc(${h}% - 12px)`,transition:"left 0.3s ease, transform 0.2s ease"}}),(0,t.jsx)("input",{id:"compression",type:"range",min:1,max:100,value:h,onChange:e=>g(Number.parseInt(e.target.value)),className:"absolute inset-0 w-full h-full opacity-0 cursor-pointer"})]}),(0,t.jsxs)("div",{className:"flex justify-between mt-1 text-xs text-muted-foreground",children:[(0,t.jsx)("span",{children:"Light"}),(0,t.jsx)("span",{children:"Heavy"})]})]})]})]})]})]}),l.length>0&&(0,t.jsxs)("div",{className:eK,children:[(0,t.jsxs)("div",{className:"flex flex-col justify-between items-start mb-2 sm:flex-row sm:items-center gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("h3",{className:"text-lg font-medium",children:["Images (",l.length,")"]}),"grid"===eb&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"New images appear at the top of the Grid."}),"list"===eb&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"New images appear at the top of the List."})]}),(0,t.jsxs)("div",{className:"flex gap-2 ml-auto flex-wrap",children:[(0,t.jsxs)("div",{className:"flex items-center border border-border rounded-lg p-1 bg-secondary",children:[(0,t.jsx)("button",{onClick:()=>eF("grid"),className:`p-2 rounded transition-colors ${"grid"===eb?"bg-primary text-white dark:bg-primary":"text-muted-foreground hover:text-foreground"}`,title:"Grid View",children:(0,t.jsx)(N,{className:"h-4 w-4"})}),(0,t.jsx)("button",{onClick:()=>eF("list"),className:`p-2 rounded transition-colors ${"list"===eb?"bg-primary text-white dark:bg-primary":"text-muted-foreground hover:text-foreground"}`,title:"List View",children:(0,t.jsx)(C,{className:"h-4 w-4"})})]}),(0,t.jsx)(ew,{onClick:()=>eT(),isConverting:w,disabled:0===l.length}),(0,t.jsx)(ej,{onClick:()=>void(s([]),et({}),eS.info("All files cleared"))})]})]}),w&&(0,t.jsxs)("div",{className:"mb-4",children:[(0,t.jsx)("div",{className:"h-2 w-full bg-secondary rounded-full overflow-hidden",children:(0,t.jsx)("div",{className:"h-full bg-primary transition-all duration-300 ease-in-out",style:{width:`${Q}%`}})}),(0,t.jsxs)("p",{className:"text-xs text-center mt-1 text-muted-foreground",children:["Convert
20ing... ",Q,"%"]})]}),"grid"===eb&&(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5 gap-4 max-h-[75vh] overflow-y-auto pr-1",children:[...l].reverse().map((e,a)=>{let n=l.length-1-a,r=URL.createObjectURL(e),o=void 0!==ee[e.name];return(0,t.jsxs)(i.motion.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},className:`group flex flex-col h-full rounded-lg border overflow-hidden transition-all duration-300 ${o?"border-red-200 dark:border-red-800 bg-red-50 dark:bg-red-900/20":"border-border bg-card hover:shadow-lg hover:border-primary/50 dark:hover:border-primary/50"}`,children:[(0,t.jsx)("div",{className:"relative w-full h-48 bg-secondary overflow-hidden",children:(0,t.jsx)(H.default,{src:r||"/placeholder.svg",alt:e.name,width:300,height:200,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300",onError:()=>URL.revokeObjectURL(r)})}),(0,t.jsxs)("div",{className:"flex-1 p-4 flex flex-col",children:[(0,t.jsx)("div",{className:"min-h-[1.6rem] mb-0",children:(0,t.jsx)("h4",{className:"font-medium text-sm truncate text-foreground group-hover:text-primary transition-colors",children:e.name})}),(0,t.jsx)("div",{className:"space-y-1 mb-4 text-xs text-muted-foreground",children:(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsx)("span",{className:"inline-block w-2 h-2 rounded-full bg-blue-400"}),"Size"]}),(0,t.jsx)("span",{className:"font-medium text-foreground",children:eV(e.size)})]})}),o&&(0,t.jsxs)("div",{className:"mb-3 p-2 bg-red-50 dark:bg-red-900/30 border border-red-200 dark:border-red-800 rounded text-xs text-red-600 dark:text-red-400",children:["Error: ",ee[e.name]]}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-2 mt-auto",children:[(0,t.jsxs)("button",{onClick:()=>{eT(n)},disabled:w,className:"flex items-center justify-center gap-1 px-2 py-1.5 rounded-md text-xs font-medium bg-primary text-white hover:bg-primary/90 disabled:opacity-50 disabled:cursor-not-allowed transition-colors",title:"Convert",children:[(0,t.jsx)("svg",{className:"h-3 w-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 10V3L4 14h7v7l9-11h-7z"})}),"Convert"]}),(0,t.jsxs)("button",{onClick:()=>{eM(n),URL.revokeObjectURL(r)},className:"flex items-center justify-center gap-1 px-2 py-1.5 rounded-md text-xs font-medium bg-red-50 dark:bg-red-900/20 text-red-600 dark:text-red-400 hover:bg-red-100 dark:hover:bg-red-900/30 transition-colors",title:"Remove",children:[(0,t.jsx)("svg",{className:"h-3 w-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3H4a1 1 0 000 2h1.05L5 19a4 4 0 004 4h6a4 4 0 004-4l.95-14H20a1 1 0 000-2h-3z"})}),"Remove"]})]})]})]},`${e.name}-${a}`)})}),"list"===eb&&(0,t.jsx)("div",{className:"space-y-3  max-h-[75vh] overflow-y-auto pr-1",children:[...l].reverse().map((e,a)=>{let i=l.length-1-a,n=URL.createObjectURL(e),r=void 0!==ee[e.name];return(0,t.jsxs)("div",{className:`flex flex-col sm:flex-row sm:items-center justify-between p-2 rounded-lg border transition-all duration-300 ${r?"border-red-200 dark:border-red-800 bg-red-50 dark:bg-red-900/20":"border-border bg-secondary/60 hover:border-primary/30"}`,children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 flex-1 min-w-0",children:[(0,t.jsx)("div",{className:"flex-shrink-0 w-12 h-12 rounded-lg overflow-hidden bg-secondary",children:(0,t.jsx)(H.default,{src:n||"/placeholder.svg",alt:e.name,width:48,height:48,className:"object-cover w-full h-full",onError:()=>URL.revokeObjectURL(n)})}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("p",{className:"text-sm font-medium text-foreground truncate",children:e.name}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:eV(e.size)}),r&&(0,t.jsxs)("p",{className:"text-xs text-red-600 dark:text-red-400 mt-1",children:["Error: ",ee[e.name]]})]})]}),(0,t.jsxs)("div",{className:"flex items-center  gap-2 mt-3 sm:mt-0 flex-shrink-0 sm:ml-2",children:[(0,t.jsx)(ek,{onClick:()=>{eT(i)},disabled:w}),(0,t.jsx)(eN,{onClick:()=>{eM(i),URL.revokeObjectURL(n)}})]})]},`${e.name}-${a}`)})})]}),c.length>
200&&!o&&(0,t.jsx)("div",{className:eK,children:(0,t.jsxs)("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-lg font-medium mb-4 sm:mb-0",children:"Download without domain suffix"}),(0,t.jsx)("p",{children:"No added branding or unwanted text in filenames."})]}),(0,t.jsx)("button",{type:"button",role:"switch","aria-checked":ed,"data-state":ed?"checked":"unchecked",className:`relative inline-flex h-6 w-11 items-center rounded-full transition-colors duration-300 ease-in-out focus:outline-none ${ed?"bg-primary shadow-inner shadow-primary/25 dark:bg-primary/0":"bg-secondary"}`,onClick:()=>{o?ep(!0):ed?ep(!1):(ep(!0),eu(!0),eS.info("Login required to download files without domain suffix."))},children:(0,t.jsx)("span",{className:`pointer-events-none block h-5 w-5 rounded-full bg-white shadow-md transition-all duration-300 ease-in-out ${ed?"translate-x-5 ring-2 ring-primary/25":"translate-x-0"}`})})]})}),c.length>0&&(0,t.jsxs)("div",{className:eK,children:[(0,t.jsxs)("div",{className:"flex flex-col justify-between items-start mb-6 sm:flex-row sm:items-center gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("h3",{className:"text-lg font-medium",children:["Converted Files (",c.length,")"]}),"grid"===ev&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"New images appear at the top of the Grid."}),"list"===ev&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"New images appear at the top of the List."})]}),(0,t.jsxs)("div",{className:"flex gap-2 ml-auto flex-wrap",children:[(0,t.jsxs)("div",{className:"flex items-center border border-border rounded-lg p-1 bg-secondary",children:[(0,t.jsx)("button",{onClick:()=>eg("grid"),className:`p-2 rounded transition-colors ${"grid"===ev?"bg-primary text-white dark:bg-primary":"text-muted-foreground hover:text-foreground"}`,title:"Grid View",children:(0,t.jsx)(N,{className:"h-4 w-4"})}),(0,t.jsx)("button",{onClick:()=>eg("list"),className:`p-2 rounded transition-colors ${"list"===ev?"bg-primary text-white dark:bg-primary":"text-muted-foreground hover:text-foreground"}`,title:"List View",children:(0,t.jsx)(C,{className:"h-4 w-4"})})]}),(0,t.jsx)(eL,{onClick:()=>U(!T),showZipOptions:T}),(0,t.jsx)(ej,{onClick:()=>void(c.forEach(e=>URL.revokeObjectURL(e.url)),d([]),eS.info("Converted files cleared"))})]})]}),T&&(0,t.jsx)(i.motion.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"mb-4 p-4 border rounded-custom bg-secondary/60",children:(0,t.jsx)("div",{className:"space-y-4",children:(0,t.jsxs)("div",{className:"flex flex-col md:flex-row items-start md:items-center gap-3",children:[(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("label",{htmlFor:"zip-name",className:"text-sm font-medium mb-1 block",children:"ZIP File Name"}),(0,t.jsx)("input",{id:"zip-name",type:"text",placeholder:r,onChange:e=>$(e.target.value),className:"w-full rounded-custom border border-border bg-card px-3 py-2 text-sm"})]}),(0,t.jsx)(eh,{onClick:()=>void eU(),className:"mt-2 md:mt-6",children:"Download ZIP"})]})})}),"grid"===ev&&(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5 gap-4  max-h-[75vh] overflow-y-auto pr-1",children:[...c].reverse().map((e,a)=>{let n=c.length-1-a;return(0,t.jsxs)(i.motion.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},className:"group flex flex-col h-full rounded-lg border border-border bg-card overflow-hidden hover:shadow-lg hover:border-primary/50 dark:hover:border-primary/50 transition-all duration-300",children:[(0,t.jsxs)("div",{className:"relative w-full h-48 bg-secondary overflow-hidden",children:[(0,t.jsx)(H.default,{src:e.url||"/placeholder.svg",alt:e.name,width:300,height:200,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300"}),(0,t.jsx)("div",{className:"absolute top-2 right-2 bg-primary/90 text-white px-2 py-1 rounded-md text-xs font-semibold",children:e.convertedFormat.toUpperCase()})]}),(0,t.jsxs)("div",{className:"flex-1 p-4 flex flex-col",children:[(0,t.jsxs)("div",{className:"min-h-[1.6rem]",children:[(0,t.jsx)("h4",{className:"font-medium text-sm truncate text-foreground mb-1 group-hover:text-primary transition-colors",children:e.originalName.split(".")[0]}),e.renamed&&(0,t.jsxs)("p",{className:"text-xs text-amber-600 dar
20k:text-amber-400 truncate",children:["Renamed: ",e.name]})]}),(0,t.jsxs)("div",{className:"space-y-1 mb-2 text-xs text-muted-foreground",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsx)("span",{className:"inline-block w-2 h-2 rounded-full bg-blue-400"}),"Size"]}),(0,t.jsx)("span",{className:"font-medium text-foreground",children:eV(e.size)})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsx)("span",{className:"inline-block w-2 h-2 rounded-full bg-amber-400"}),"Dimensions"]}),(0,t.jsxs)("span",{className:"font-medium text-foreground",children:[e.width," x ",e.height]})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsx)("span",{className:"inline-block w-2 h-2 rounded-full bg-green-400"}),"Quality"]}),(0,t.jsxs)("span",{className:"font-medium text-foreground",children:[e.quality,"%"]})]}),e.compressionEnabled&&(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsx)("span",{className:"inline-block w-2 h-2 rounded-full bg-purple-400"}),"Compression"]}),(0,t.jsxs)("span",{className:"font-medium text-foreground",children:[e.compressionLevel,"%"]})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsx)("span",{className:"inline-block w-2 h-2 rounded-full bg-red-400"}),"Saved"]}),(0,t.jsxs)("span",{className:"font-medium text-green-600 dark:text-green-400",children:[Math.round((e.originalSize-e.size)/e.originalSize*100),"%"]})]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-2 mt-auto",children:[(0,t.jsxs)("button",{onClick:()=>eZ(n),className:"flex items-center justify-center gap-1 px-2 py-1.5 rounded-md text-xs font-medium bg-secondary text-muted-foreground hover:bg-gray-200 dark:hover:bg-gray-600 transition-colors",title:"Rename",children:[(0,t.jsx)(k,{className:"h-3 w-3"}),"Rename"]}),(0,t.jsxs)("button",{onClick:()=>e_(n),className:"flex items-center justify-center gap-1 px-2 py-1.5 rounded-md text-xs font-medium bg-secondary text-muted-foreground hover:bg-gray-200 dark:hover:bg-gray-600 transition-colors",title:"Resize",children:[(0,t.jsx)("svg",{className:"h-3 w-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 16V4m0 0L3 8m4-4l4 4M17 8v12m0 0l4-4m-4 4l-4-4"})}),"Resize"]}),(0,t.jsxs)("button",{onClick:()=>eB(e.url,eG(e.name.split(".")[0],e.convertedFormat)),className:"col-span-1 flex items-center justify-center gap-1 px-2 py-1.5 rounded-md text-xs font-medium bg-primary text-white hover:bg-primary/90 transition-colors",title:"Download",children:[(0,t.jsx)("svg",{className:"h-3 w-3 ",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"})}),"Download"]}),(0,t.jsxs)("button",{onClick:()=>eW(n),className:"col-span-1 flex items-center justify-center gap-1 px-2 py-1.5 rounded-md text-xs font-medium bg-red-50 dark:bg-red-900/20 text-red-600 dark:text-red-400 hover:bg-red-100 dark:hover:bg-red-900/30 transition-colors",title:"Delete",children:[(0,t.jsx)("svg",{className:"h-3 w-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3H4a1 1 0 000 2h1.05L5 19a4 4 0 004 4h6a4 4 0 004-4l.95-14H20a1 1 0 000-2h-3z"})}),"Delete"]})]})]})]},`${e.name}-${a}`)})}),"list"===ev&&(0,t.jsx)("div",{className:"space-y-3  max-h-[75vh] overflow-y-auto pr-1",children:[...c].reverse().map((e,a)=>{let i=c.length-1-a;return(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-center justify-between p-4 rounded-lg border border-border bg-secondary/60 hover:border-primary/30 dark:hover:border-primary/30 transition-all duration-300",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 flex-1 min-w-0",children:[(0,t.jsx)("div",{className:"flex-shrink-0 w-12 h-12 rounded-lg overflow-hidden bg-secondary",children:(0,t.jsx)(H.default,{src:e.url||"/placeholder.svg",alt:e.name,width:48,height:48,className:"object-cover w-full h-full"})}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsxs)("span",{className:`font-medium truncate text-foreground ${e.renamed?"text-xs":"text-sm"}`,children:[e.originalName.split(".")[0],".",e.convertedFormat]}),e.renamed&&(0,t.jsxs)("span",{className:"text-xs text-amber-600 dar
20k:text-amber-400 truncate",children:["Renamed: ",e.name]})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-x-4 text-xs text-muted-foreground mt-1",children:[(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsx)("span",{className:"inline-block w-1.5 h-1.5 rounded-full bg-blue-400"}),eV(e.size)]}),(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsx)("span",{className:"inline-block w-1.5 h-1.5 rounded-full bg-red-400"}),e.originalFormat.toUpperCase()," ➔"," ",e.convertedFormat.toUpperCase()]}),(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsx)("span",{className:"inline-block w-1.5 h-1.5 rounded-full bg-green-400"}),eV(e.originalSize)," ➔"," ",eV(e.size)]}),(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsx)("span",{className:"inline-block w-1.5 h-1.5 rounded-full bg-amber-400"}),e.width," x ",e.height,"px"]}),(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsx)("span",{className:"inline-block w-1.5 h-1.5 rounded-full bg-blue-400"}),"Quality: ",e.quality,"%"]}),e.compressionEnabled&&(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsx)("span",{className:"inline-block w-1.5 h-1.5 rounded-full bg-purple-400"}),"Compression: ",e.compressionLevel,"%"]})]})]})]}),(0,t.jsxs)("div",{className:"flex justify-center items-center gap-2 mt-3 sm:mt-0 flex-shrink-0 sm:ml-2",children:[(0,t.jsx)("button",{onClick:()=>eZ(i),className:"text-slate-700 hover:text-slate-900 hover:bg-slate-100 dark:text-slate-300 dark:hover:text-white dark:hover:bg-slate-800/60 inline-flex items-center justify-center whitespace-nowrap rounded-lg p-2 text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",title:"Rename",children:(0,t.jsx)(k,{className:"h-4 w-4 transition-all duration-300"})}),(0,t.jsx)(eC,{onClick:()=>e_(i)}),(0,t.jsx)(ez,{onClick:()=>eB(e.url,eG(e.name.split(".")[0],e.convertedFormat))}),(0,t.jsx)(eE,{onClick:()=>eW(i)})]})]},`${e.name}-${a}`)})})]})]}),(0,t.jsx)("a",{ref:eP,className:"hidden"}),(0,t.jsx)(L.default,{open:em,onOpenChange:e=>{if(eu(e),!e&&eR.current){eR.current=!1;return}e||o||(ef(null),ep(!1))},title:"Login Required",description:"Login to download files without domain suffix in the filename.",onAuthSuccess:()=>{eR.current=!0,ep(!0),ex&&((ef(null),"zip"===ex.type)?eU({forceCleanName:!0}):eB(ex.url,ex.fileName,{forceCleanName:!0}))}}),(0,t.jsx)(b,{children:_&&-1!==Z&&(0,t.jsx)(es,{file:c[Z],onClose:()=>V(!1),onResize:eH})}),(0,t.jsx)(b,{children:ea&&en&&(0,t.jsx)(i.motion.div,{initial:{opacity:0}
20,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50",children:(0,t.jsxs)(i.motion.div,{initial:{scale:.9},animate:{scale:1},exit:{scale:.9},className:"bg-card rounded-custom shadow-lg max-w-md w-full p-6",children:[(0,t.jsx)("h3",{className:"text-lg font-medium mb-4",children:"Rename File"}),(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"new-filename",className:"text-sm font-medium block mb-1",children:"New Filename"}),(0,t.jsx)("input",{id:"new-filename",type:"text",value:eo,onChange:e=>ec(e.target.value),className:"w-full rounded-custom border border-border bg-card px-3 py-2 text-sm",autoFocus:!0}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Extension will be added automatically"})]}),(0,t.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,t.jsx)("button",{onClick:()=>ei(!1),className:"inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 border border-input bg-background hover:bg-accent hover:text-accent-foreground h-9 px-4 py-2",children:"Cancel"}),(0,t.jsx)("button",{onClick:()=>{if(!en)return;let e=en.index,t=c[e],a=t.name.split(".").pop()||t.convertedFormat,i=`${eo}.${a}`,n=[...c];n[e]={...n[e],name:i,renamed:!0},d(n),ei(!1),eS.success(`Renamed to ${i}`)},className:"inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 bg-primary text-primary-foreground hover:bg-primary/90 h-9 px-4 py-2",children:"Rename"})]})]})]})})})]})})})}],61930)},4908,e=>{"use strict";var t=e.i(43476),a=e.i(71645);e.s(["default",0,()=>{let[e,i]=(0,a.useState)(""),n=(0,a.useRef)(null),r=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e={x:0,y:0},t={x:0,y:0},a=t=>{e.x=t.clientX,e.y=t.clientY};window.addEventListener("mousemove",a);let n=()=>{t.x+=(e.x-t.x)*.25,t.y+=(e.y-t.y)*.25,i(`translate(${t.x}px, ${t.y}px)`),window.requestAnimationFrame(n)};return n(),()=>{window.removeEventListener("mousemove",a)}},[]),(0,t.jsxs)("div",{className:"hidden lg:block",children:[" ",(0,t.jsx)("div",{className:"bg-primary dark:bg-primary-foreground",ref:n,style:{width:"8px",height:"8px",top:"-4px",left:"-4px",borderRadius:"50%",position:"fixed",pointerEvents:"none",zIndex:9999,transition:"transform 0.2s ease-out",transform:`${e}`,transformOrigin:"center"}}),(0,t.jsx)("div",{className:"border-2 border-primary dark:border-primary-foreground",ref:r,style:{width:"24px",height:"24px",top:"-12px",left:"-12px",borderRadius:"50%",position:"fixed",pointerEvents:"none",zIndex:9999,transition:"transform 0.4s ease-out",transform:`${e}`}})]})}])},16474,(e,t,a)=>{"use strict";a.__esModule=!0,a.default=function(e,t){if(e&&t){var a=Array.isArray(t)?t:t.split(",");if(0===a.length)return!0;var i=e.name||"",n=(e.type||"").toLowerCase(),r=n.replace(/\/.*$/,"");return a.some(function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?i.toLowerCase().endsWith(t):t.endsWith("/*")?r===t.replace(/\/.*$/,""):n===t})}return!0}},75558,e=>{"use strict";let t=(0,e.i(75254).default)("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);e.s(["ArrowUp",0,t],75558)},40160,e=>{"use strict";let t=(0,e.i(75254).default)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);e.s(["Download",0,t],40160)},83086,e=>{"use strict";let t=(0,e.i(75254).default)("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"}]]);e.s(["Sparkles",0,t],83086)},69074,e=>{"use strict";
20let t=(0,e.i(75254).default)("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);e.s(["Upload",0,t],69074)},32189,(e,t,a)=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},65156,(e,t,a)=>{"use strict";var i=e.r(32189);function n(){}function r(){}r.resetWarningCache=n,t.exports=function(){function e(e,t,a,n,r,o){if(o!==i){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:n};return a.PropTypes=a,a}},45009,(e,t,a)=>{e.i(47167),t.exports=e.r(65156)()}]);

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.