PageSourceSearch

https://www.slidesai.io/_next/static/chunks/pages/free-tools/html-to-ppt-3918bd127bda993a.js

js slidesai.io collected 2026-09-24 08:45:30 UTC 41,018 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4326],{61782:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/free-tools/html-to-ppt",function(){return l(5599)}])},5599:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSG:function(){return G},default:function(){return V}});var r=l(43577),o=l(76473),s=l(5724),n=l(6381),a=l.n(n),i=l(5762),d=l(38867),u=l(99487),c=l(40514),p=l(67396),m=l(26050),h=l(13246),f=l(97552),x=l(65418),w=l(88599),g=l(57242);let v=g.forwardRef(function(e,t){return g.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),g.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"}))});var b=l(11170),T=l(39230),y=l(48471),P=l(96818),j=l(71935),N=l(40249),L=l(87404),M=l(78865),C=l(23341),k=l(94434),A=l(70056),E=l(75409);let R="45 MB",S="html_to_ppt_converter",H=e=>{if(0===e)return"0 Bytes";let t=Math.floor(Math.log(e)/Math.log(1024));return Math.round(e/Math.pow(1024,t)*100)/100+" "+["Bytes","KB","MB","GB"][t]},z=e=>e.replace(/\.html?$/i,""),F=e=>e.file??{name:e.name,size:e.size},_=e=>e.errorMessage??e.file?.errorMessage??e.files?.[0]?.errorMessage,q=(e,t)=>e.files&&e.files.length>0?e.files:e.file?[e.file]:1===t?[{success:e.success,convertedSize:e.convertedSize,errorMessage:e.errorMessage}]:[],I=()=>(0,r.jsx)("div",{className:"flex h-24 w-24 shrink-0 items-center justify-center rounded-xl bg-orange-50 text-orange-600",children:(0,r.jsx)("svg",{className:"h-12 w-12",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})})});function U(){let{t:e}=(0,s.Z)("tools"),[t,l]=(0,g.useState)([]),[o,n]=(0,g.useState)(!1),[a,i]=(0,g.useState)(null),[d,c]=(0,g.useState)(!1),[p,m]=(0,g.useState)(0),[h,f]=(0,g.useState)(null),[x,w]=(0,g.useState)(0),[v,b]=(0,g.useState)(null),[T,P]=(0,g.useState)(""),[j,N]=(0,g.useState)(null),U=(0,g.useRef)(null),D=(0,g.useRef)(null),B=(0,g.useRef)(null),O=(0,g.useRef)(null),W=(0,g.useRef)(null),Z="development"===E.env.NEXT_PUBLIC_APP_ENV?(0,L.jq)("main"):(0,L.CG)("main").REAL,Y=e("htmlToPpt.conversionFailed",null,{default:"Conversion failed. Please try again."}),Q=e("htmlToPpt.failedFilesRetry",null,{default:"Not all files could be converted. Please retry by re-uploading the failed files."}),$=(0,g.useMemo)(()=>[e("htmlToPpt.chips.free",null,{default:"Free to use"}),e("htmlToPpt.chips.editable",null,{default:"Exports to editable .pptx"}),e("htmlToPpt.chips.layouts",null,{default:"Handles complex layouts"}),e("htmlToPpt.chips.noSignup",null,{default:"No sign-up required"}),e("htmlToPpt.chips.ready",null,{default:"Ready in seconds"})],[e]),X=(0,g.useCallback)(t=>t.some(e=>e.errors.some(e=>"file-too-large"===e.code))?e("htmlToPpt.totalSizeError",{size:R},{default:"Total upload size must be {{size}} or smaller."}):t.some(e=>e.errors.some(e=>"file-invalid-type"===e.code))?e("htmlToPpt.invalidFileTypeError",null,{default:"Only HTML files (.html, .htm) are supported."}):e("htmlToPpt.uploadError",null,{default:"Some files could not be added. Please try again."}),[e]),G=(0,g.useCallback)(()=>{if(!D.current)return;let e=.62*window.innerHeight,t=D.current.getBoundingClientRect().top+window.scrollY-e;window.scrollTo({top:t,behavior:"smooth"})},[]),V=(0,g.useCallback)(()=>{O.current&&window.clearTimeout(O.current),W.current&&window.clearTimeout(W.current),O.current=window.setTimeout(G,450),W.current=window.setTimeout(G,1e3)},[G]),K=(0,g.useCallback)((r,s)=>{if(s.length>0?i(X(s)):i(null),t.some(e=>"url"===e.sourceType)){i(e("htmlToPpt.url.noMixing",null,{default:"Convert uploaded files and pasted URLs in separate batches."}));return}let a=3-t.length;if(a<=0){i(e("htmlToPpt.maxFilesError",{count:3},{default:"You can upload up to {{count}} files at a time."}));return}let d=r.slice(0,a);if(r.length>a&&i(e("htmlToPpt.maxFilesError",{count:3},{default:"You can upload up to {{count}} files at a time."})),0!==d.length){if(t.reduce((e,t)=>
1e+t.size,0)+d.reduce((e,t)=>e+t.size,0)>47185920){i(e("htmlToPpt.totalSizeError",{size:R},{default:"Total upload size must be {{size}} or smaller."}));return}f(null),w(0),b(null),l(e=>[...e,...d.map(e=>({id:Math.random().toString(36).substr(2,9),sourceType:"file",file:e,name:e.name,size:e.size,status:"pending"}))]),(0,A.hs)(u.Z.FREE_TOOL_FILES_ADDED,S,{source:o?"add_more_modal":"dropzone",acceptedFileCount:d.length,rejectedFileCount:s.length,totalFileCountAfterAdd:t.length+d.length,...(0,A.Ul)(d)}),t.length+d.length>=2&&V(),n(!1)}},[t,X,V,o,e]);(0,g.useEffect)(()=>()=>{O.current&&window.clearTimeout(O.current),W.current&&window.clearTimeout(W.current)},[]);let{getRootProps:J,getInputProps:ee,isDragActive:et}=(0,M.uI)({onDrop:K,accept:{"text/html":[".html",".htm"]},maxSize:47185920,multiple:!0}),el=e=>l(t=>t.filter(t=>t.id!==e)),er=async r=>{let o=(r??t).filter(e=>"pending"===e.status||"error"===e.status);if(0===o.length||d)return;let s=Date.now();if(o.reduce((e,t)=>e+t.size,0)>47185920){let t=e("htmlToPpt.totalSizeError",{size:R},{default:"Total upload size must be {{size}} or smaller."});i(t),alert(t);return}try{let t;let r=(0,A.Ul)(o.map(F));(0,A.hs)(u.Z.FREE_TOOL_RUN_STARTED,S,{...r,retryFileCount:o.filter(e=>"error"===e.status).length}),c(!0),m(0),i(null),f(null),w(0),b(null),l(e=>e.map(e=>o.some(t=>t.id===e.id)?{...e,status:"processing",convertedSize:void 0,errorMessage:void 0}:e));let n=o.find(e=>"url"===e.sourceType),a=`${Z}/powerpoint/html-to-pptx`;if(n?.url)t=await fetch(a,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({url:n.url})});else{let e=new FormData;o.forEach(t=>{t.file&&e.append("files",t.file)}),Object.entries((0,A.RW)()).forEach(([t,l])=>e.append(t,l)),t=await fetch(a,{method:"POST",body:e})}if(!t.ok)throw Error(e("htmlToPpt.conversionStatusFailed",{status:t.statusText},{default:"Conversion failed: {{status}}"}));let d=await t.json(),p=q(d,o.length);if(!1===d.success||0===p.length&&!d.file)throw Error(_(d)||Y);let h=d.succeededCount??p.filter(e=>!1!==e.success).length,x=d.failedCount??p.filter(e=>!1===e.success).length;if(h>0&&!d.downloadUrl)throw Error(Y);l(e=>e.map(e=>{let t=o.findIndex(t=>t.id===e.id);if(-1===t)return e;let l=p[t];return l?!1===l.success?{...e,status:"error",convertedSize:void 0,errorMessage:l.errorMessage||Q}:{...e,status:"completed",convertedSize:l.convertedSize,errorMessage:void 0}:{...e,status:"error",convertedSize:void 0,errorMessage:Y}})),f(d.downloadUrl||null),w(h),b(d.downloadType||null),(0,A.hs)(u.Z.FREE_TOOL_RUN_COMPLETED,S,{...(0,A.Ul)(o.map(F)),durationMs:Date.now()-s,succeededCount:h,failedCount:x,downloadType:d.downloadType||null})}catch(t){let e=t instanceof Error?t.message:Y;console.error("HTML to PPT conversion error:",t),(0,A.hs)(u.Z.FREE_TOOL_RUN_FAILED,S,{...(0,A.Ul)(o.map(F)),durationMs:Date.now()-s,errorMessage:e}),l(t=>t.map(t=>o.some(e=>e.id===t.id)?{...t,status:"error",convertedSize:void 0,errorMessage:e}:t))}finally{c(!1),m(100)}},eo=e=>{try{let t=new URL(e);return`${t.hostname}${t.pathname}`.replace(/\/+$/,"")}catch{return e}},es=()=>{let r;let o=T.trim();if(!o)return;
1let s=/^[a-zA-Z][\w+.-]*:\/\//.test(o);try{r=new URL(s?o:`https://${o}`)}catch{N(e("htmlToPpt.url.invalid",null,{default:"Enter a valid webpage URL."}));return}if("https:"!==r.protocol){N(e("htmlToPpt.url.httpsOnly",null,{default:"Only https:// URLs are supported."}));return}if(!r.hostname.includes(".")){N(e("htmlToPpt.url.invalid",null,{default:"Enter a valid webpage URL."}));return}if(t.length>0){N(e("htmlToPpt.url.oneAtATime",null,{default:"Convert one webpage URL at a time, or clear your files first."}));return}let a=r.href,i={id:Math.random().toString(36).substr(2,9),sourceType:"url",url:a,name:eo(a),size:0,status:"pending"};N(null),f(null),w(0),b(null),l(e=>[...e,i]),(0,A.hs)(u.Z.FREE_TOOL_FILES_ADDED,S,{source:"url",acceptedFileCount:1,rejectedFileCount:0,totalFileCountAfterAdd:t.length+1}),P(""),n(!1),er([i])},en=async()=>{if(!h)return;let e=t.filter(e=>"completed"===e.status);(0,A.hs)(u.Z.FREE_TOOL_DOWNLOAD_CLICKED,S,{downloadCount:x,downloadType:v,...(0,A.Ul)(e.map(F))}),await (0,k.f)(h,"htmlToPpt")},ea=t.length>=3,ei=t.reduce((e,t)=>e+t.size,0),ed=t.filter(e=>"completed"===e.status).length,eu=t.filter(e=>"processing"===e.status).length,ec=t.filter(e=>"error"===e.status).length,ep=!!(h&&x>0),em=t.filter(e=>"pending"===e.status||"error"===e.status).length;return(0,g.useEffect)(()=>{if(d||0===ed||t.length<2)return;let e=()=>{if(!B.current)return;let e=.62*window.innerHeight,t=B.current.getBoundingClientRect().top+window.scrollY-e;window.scrollTo({top:t,behavior:"smooth"})},l=window.setTimeout(e,450),r=window.setTimeout(e,1e3);return()=>{window.clearTimeout(l),window.clearTimeout(r)}},[ed,t.length,d]),(0,g.useEffect)(()=>{if(!d||t.length<2||!U.current)return;let e=U.current.getBoundingClientRect().top+window.scrollY-96;window.scrollTo({top:e,behavior:"smooth"})},[t.length,d]),(0,g.useEffect)(()=>{if(!d)return;let e=Math.max(ei/1048576,1),t=Math.min(Math.max(e<=10?5e3+1200*e:17e3+(e-10)*500,5e3),7e4),l=Date.now(),r=window.setInterval(()=>{let e=Math.min((Date.now()-l)/t*90,90);m(t=>Math.max(t,e))},100);return()=>window.clearInterval(r)},[d,ei]),(0,r.jsx)(y.W,{className:"pb-12",children:(0,r.jsxs)("div",{className:"mx-auto max-w-4xl",children:[0===t.length?(0,r.jsxs)("div",{...J(),className:`relative rounded-2xl border-2 border-dashed transition-all ${et?"border-primary-500 bg-primary-50":"border-gray-300 bg-white hover:border-primary-400 hover:bg-gray-50"} cursor-pointer p-12 text-center`,children:[(0,r.jsx)("input",{...ee()}),(0,r.jsxs)("div",{className:"mx-auto max-w-md space-y-4",children:[(0,r.jsx)("div",{className:"mx-auto flex h-16 w-16 items-center justify-center rounded-full bg-primary-100",children:(0,r.jsx)("svg",{className:"h-8 w-8 text-primary-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12"})})}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"text-lg font-semibold text-gray-900",children:[(0,r.jsx)("span",{className:"md:hidden",children:e("htmlToPpt.tapToUpload",null,{default:"Tap to upload HTML"})}),(0,r.jsx)("span",{className:"hidden md:inline",children:et?e("htmlToPpt.dropHere",null,{default:"Drop HTML files here"}):e("htmlToPpt.dragDrop",null,{default:"Drag & drop HTML files here"})})]}),(0,r.jsx)("p",{className:"mt-1 hidden text-sm text-gray-500 md:block",children:e("htmlToPpt.orClickBrowse",null,{default:"or click to browse files"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-center gap-2 text-xs text-gray-400",children:[(0,r.jsx)("span",{children:e("htmlToPpt.supportedFormats",null,{default:"HTML (.html, .htm)"})}),(0,r.jsx)("span",{children:"•"}),(0,r.jsx)("span",{children:e("htmlToPpt.maxFiles",{count:3},{default:"Up to {{count}} files"})}),(0,r.jsx)("span",{children:"•"}),(0,r.jsx)("span",{children:e("htmlToPpt.maxSize",{size:R},{default:"Max {{size}}"})})]}),a&&(0,r.jsx)("p",{className:"text-sm font-medium text-red-600",children:a})]})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("input",{...ee()}),o&&(0,r.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4",onClick:e=>{e.target===e.currentTarget&&n(!1)},children:(0,r.jsxs)("div",{className:"w-full max-w-lg rounded-2xl bg-white p-6 shadow-xl",children:[(0,r.jsxs)("div",{className:"mb-4 flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"text-lg font-semibold text-gray-900",children:e("htmlToPpt.addMoreTitle",null,{default:"Add more files"})}),(0,r.jsx)("button",{onClick:()=>n(!1),className:"text-gray-400 hover:text-gray-600",children:(0,r.jsx)("svg",{className:"h-5 w-5",fill:"currentColor",viewBox:"0 0 20 20",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})})]}),(0,r.jsxs)("div",{...J(),className:`rounded-xl border-2 border-dashed p-10 text-center transition-all ${et?"border-primary-500 bg-primary-50":"border-gray-300 bg-gray-50 hover:border-primary-400 hover:bg-primary-50"} cursor-pointer`,children:[(0,r.jsx)("input",{...ee()}),(0,r.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-primary-100",children:(0,r.jsx)("svg",{className:"h-6 w-6 text-primary-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12"})})}),(0,r.jsxs)("p",{className:"mt-3 text-sm font-semibold text-gray-900",children:[(0,r.jsx)("span",{className:"md:hidden",children:e("htmlToPpt.tapToUpload",null,{default:"Tap to upload HTML"})}),(0,r.jsx)("span",{className:"hidden md:inline",children:et?e("htmlToPpt.dropHere",null,{default:"Drop HTML files here"}):e("htmlToPpt.dragDrop",null,{default:"Drag & drop HTML files here"})})]}),(0,r.jsx)("p",{className:"mt-1 hidden text-xs text-gray-500 sm:block",children:e("htmlToPpt.orClickBrowse",null,{default:"or click to browse files"})}),(0,r.jsx)("p",{className:"mt-2 text-xs text-gray-400",children:e("htmlToPpt.supportedFormats",null,{default:"HTML (.html, .htm)"})}),a&&(0,r.jsx)("p",{className:"mt-3 text-sm font-medium text-red-600",children:a})]})]})})]}),0===t.length&&!d&&(0,r.jsxs)("div",{className:"mt-6",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("div",{className:"h-px flex-1 bg-gray-200"}),(0,r.jsx)("span",{className:"text-xs font-medium uppercase tracking-wide text-gray-400",children:e("htmlToPpt.url.divider",null,{default:"or paste a webpage URL"})}),(0,r.jsx)("div",{className:"h-px flex-1 bg-gray-200"})]}),(0,r.jsxs)("div",{className:"mt-4 flex flex-col gap-3 sm:flex-row",children:[(0,r.jsxs)("div",{className:"relative flex-1",children:[(0,r.jsx)("input",{type:"url",inputMode:"url",value:T,onChange:e=>{P(e.target.value),j&&N(null)},onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),es())},placeholder:e("htmlToPpt.url.placeholder",null,{default:"https://example.com/page"}),className:"w-full rounded-lg border border-gray-300 px-4 py-3 pr-10 text-sm text-gray-900 shadow-sm focus:border-primary-500 focus:outline-none focus:ring-1 focus:ring-primary-500"}),T&&(0,r.jsx)("button",{type:"button",onClick:()=>{P(""),N(null)},"aria-label":e("htmlToPpt.url.clear",null,{default:"Clear URL"}
1),className:"absolute right-2 top-1/2 -translate-y-1/2 rounded-md p-1.5 text-gray-400 transition hover:bg-gray-100 hover:text-gray-600",children:(0,r.jsx)("svg",{className:"h-4 w-4",fill:"currentColor",viewBox:"0 0 20 20",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})})]}),(0,r.jsx)("button",{onClick:es,disabled:!T.trim(),className:"whitespace-nowrap rounded-lg bg-primary-600 px-6 py-3 text-sm font-semibold text-white shadow-sm transition-colors hover:bg-primary-700 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",children:e("htmlToPpt.url.convert",null,{default:"Convert"})})]}),j&&(0,r.jsx)("p",{className:"mt-2 text-sm font-medium text-red-600",children:j})]}),t.length>0&&(0,r.jsxs)("div",{ref:U,className:"mt-8 overflow-hidden rounded-2xl border border-gray-200 bg-white shadow-sm",children:[(0,r.jsx)("div",{className:"border-b border-gray-200 bg-white px-6 py-5",children:(0,r.jsxs)("div",{className:"flex flex-col gap-4 lg:flex-row lg:items-center lg:justify-between",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{className:"text-lg font-semibold text-gray-900",children:ed>0?e("htmlToPpt.convertedFiles",{count:ed},{default:"Converted Files ({{count}})"}):e("htmlToPpt.filesToConvert",{count:t.length},{default:"Files to Convert ({{count}})"})}),(0,r.jsx)("p",{className:"mt-1 text-sm text-gray-500",children:ep&&ec>0?Q:ed>0?e("htmlToPpt.reviewAfterConvert",null,{default:"Review the converted PPTX files, then download them."}):e("htmlToPpt.reviewBeforeConvert",null,{default:"Review your HTML files, then convert them to PowerPoint."})})]}),(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[0===ed&&!t.some(e=>"url"===e.sourceType)&&(0,r.jsx)(C.T,{show:ea,disabledReason:e("htmlToPpt.maxFilesReached",null,{default:"Maximum number of files reached"}),children:(0,r.jsxs)("button",{onClick:()=>n(!0),disabled:d||ea,className:"flex items-center gap-1.5 whitespace-nowrap rounded-lg border border-primary-200 bg-white px-4 py-2 text-sm font-medium text-primary-700 shadow-sm transition hover:border-primary-300 hover:bg-primary-50 disabled:cursor-not-allowed disabled:opacity-40",children:[(0,r.jsx)("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 4v16m8-8H4"})}),e("htmlToPpt.addMore",null,{default:"Add more"})]})}),(0,r.jsx)("button",{onClick:()=>{t.length>0&&(0,A.hs)(u.Z.FREE_TOOL_FILES_CLEARED,S,(0,A.Ul)(t.map(F))),l([]),i(null),f(null),w(0),b(null),m(0),P(""),N(null)},disabled:d,className:"whitespace-nowrap text-sm font-medium text-gray-600 transition hover:text-gray-900 disabled:cursor-not-allowed disabled:opacity-40",children:e("htmlToPpt.clearAll",null,{default:"Clear all"})})]})]})}),(0,r.jsxs)("div",{className:`relative bg-white p-6 ${d?"max-h-[calc(100vh-18rem)] min-h-[220px] overflow-hidden":""}`,children:[(0,r.jsx)("div",{className:"flex flex-col gap-4",children:t.map(t=>(0,r.jsx)("div",{className:"group overflow-hidden rounded-xl border border-gray-200 bg-white shadow-sm transition-colors hover:border-gray-300",children:(0,r.jsxs)("div",{className:"flex flex-col gap-4 p-5 md:flex-row md:items-center",children:[(0,r.jsxs)("div",{className:"relative flex-shrink-0",children:[(0,r.jsx)(I,{}),"completed"===t.status&&(0,r.jsx)("div",{className:"absolute right-2 top-2 rounded-md bg-green-600 p-1 text-white shadow-sm",children:(0,r.jsx)("svg",{className:"h-4 w-4",fill:"currentColor",viewBox:"0 0 20 20",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})})}),"error"===t.status&&(0,r.jsx)("div",{className:"absolute right-2 top-2 rounded-md bg-red-600 p-1 text-white shadow-sm",children:(0,r.jsx)("svg",{className:"h-4 w-4",fill:"
1currentColor",viewBox:"0 0 20 20",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M18 10A8 8 0 112 10a8 8 0 0116 0zm-7-4a1 1 0 10-2 0v4a1 1 0 102 0V6zm-1 8a1.25 1.25 0 100-2.5A1.25 1.25 0 0010 14z",clipRule:"evenodd"})})})]}),(0,r.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,r.jsx)("p",{className:"line-clamp-2 text-base font-semibold text-gray-900",children:"url"===t.sourceType?t.name:z(t.name)}),(0,r.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-2 text-xs",children:[(0,r.jsx)("span",{className:"rounded-md bg-gray-100 px-2.5 py-1 font-medium text-gray-600",children:"url"===t.sourceType?e("htmlToPpt.url.badge",null,{default:"Webpage URL"}):H(t.size)}),null!=t.convertedSize&&(0,r.jsxs)("span",{className:"rounded-md bg-green-50 px-2.5 py-1 font-medium text-green-700",children:["PPTX: ",H(t.convertedSize)]})]}),t.errorMessage&&"error"!==t.status&&(0,r.jsx)("p",{className:"mt-3 text-xs text-red-600",children:t.errorMessage})]}),(0,r.jsx)("div",{className:"flex flex-col items-start gap-3 md:items-end",children:(0,r.jsxs)("div",{className:"flex min-h-[36px] items-center gap-3",children:["error"===t.status&&(0,r.jsx)("span",{className:"max-w-64 text-left text-xs font-medium text-red-600 md:text-right",children:t.errorMessage||Q}),("pending"===t.status||"error"===t.status)&&(0,r.jsx)("button",{onClick:()=>el(t.id),className:`flex-shrink-0 rounded-md p-2 transition ${"error"===t.status?"text-red-400 hover:bg-red-50 hover:text-red-600":"text-gray-400 hover:bg-gray-100 hover:text-gray-600"}`,"aria-label":e("htmlToPpt.removeFile",null,{default:"Remove file"}),children:(0,r.jsx)("svg",{className:"h-5 w-5",fill:"currentColor",viewBox:"0 0 20 20",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})})]})})]})},t.id))}),d&&(0,r.jsxs)("div",{className:"absolute inset-0 z-10 flex flex-col items-center justify-center rounded-xl bg-white/95 backdrop-blur-sm",children:[(0,r.jsxs)("div",{className:"mb-4 flex items-center gap-3",children:[(0,r.jsx)("span",{className:"flex aspect-square items-center justify-center rounded-xl bg-primary-100 p-1 text-primary-600",children:(0,r.jsx)("svg",{className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})})}),(0,r.jsx)("p",{className:"text-sm font-semibold text-gray-700",children:e("htmlToPpt.converting",null,{default:"Converting HTML to PPTX..."})})]}),(0,r.jsx)("div",{className:"w-72",children:(0,r.jsx)("div",{className:"h-2.5 w-full overflow-hidden rounded-full bg-gray-200",children:(0,r.jsx)("div",{className:"h-full rounded-full bg-primary-600 transition-[width] duration-200 ease-out",style:{width:`${p}%`}})})})]})]}),ep&&(0,r.jsx)("div",{ref:B,className:"border-t border-gray-200 bg-green-50 px-6 py-4",children:(0,r.jsx)("button",{onClick:en,className:"w-full rounded-md bg-green-600 px-6 py-3 text-base font-semibold text-white shadow-sm transition-colors hover:bg-green-700",children:e("htmlToPpt.download",{count:x},{default:"Download PPTX ({{count}})"})})}),!ep&&em>0&&(0,r.jsx)("div",{ref:D,className:"border-t border-gray-200 px-6 py-4",children:(0,r.jsx)("button",{onClick:()=>er(),disabled:eu>0,className:"w-full rounded-md bg-primary-600 px-6 py-3 text-base font-semibold text-white shadow-sm transition-colors hover:bg-primary-700 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",children:eu>0?e("htmlToPpt.converting",null,{default:"Converting HTML to PPTX..."}):e("htmlToPpt.convertFiles",{count:em},{default:"Convert to PPTX ({{count}})"})})})]}),(0,r.jsx)("div",{className:"mt-12 flex flex-wrap items-center justify-center gap-x-6 gap-y-3",children:$.map(e=>(0,r.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium text-gray-700",children:[(0,r.jsx)("svg",{className:"h-4 w-4 shrink-0 text-primary-600",fill:"currentColor",viewBox:"0 0 20 20",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,r.jsx)("span",{children:e})]},e))}),(0,r.jsxs)("p",{className:"mx-auto mt-14 max-w-3xl text-center text-xs text-gray-500",children:[e("htmlToPpt.disclaimerPrefix",null,{default:"Your files will be securely handled by SlidesAI. By using this service, you agree to the"})," ",(0,r.jsx)("a",{className:"font-medium text-gray-600 hover:text-gray-800",href:"/terms-of-use",children:e("htmlToPpt.terms",null,{default:"Terms of Use"})})," ",e("htmlToPpt.disclaimerAnd",null,{default:"and"})," ",(0,r.jsx)("a",{className:"font-medium text-gray-600 hover:text-gray-800",href:"/privacy-policy",children:e("htmlToPpt.privacy",null,{default:"Privacy Policy"})}),"."]})]})})}var D=l(57330),B=l(51109),O=l(95942),W=l(75333),Z=l(87912),Y=l(94817),Q=l(10433),$=l(10738);let X=({className:e})=>(0,r.jsx)("svg",{className:e,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"})});var G=!0,V=()=>{let{t:e}=(0,s.Z)("tools"),{locale:t}=(0,i.useRouter)(),l=[{href:"/free-tools/pdf-to-ppt",title:e("pdfToPpt.indexTitle",null,{default:"PDF to PPT Converter"}),description:e("pdfToPpt.indexDescription",null,{default:"Convert PDFs into editable PowerPoint presentations with AI while preserving layouts, formatting, and visuals."}),icon:(0,r.jsx)(c.Z,{className:"h-6 w-6"}
1),cta:e("tryNow",null,{default:"Try Now"})},{href:"/free-tools/word-to-ppt",title:e("wordToPpt.indexTitle",null,{default:"Word to PPT Converter"}),description:e("wordToPpt.indexDescription",null,{default:"Convert Word documents into editable PowerPoint presentations with AI while preserving structure and formatting."}),icon:(0,r.jsx)(c.Z,{className:"h-6 w-6"}),cta:e("tryNow",null,{default:"Try Now"})},{href:"/free-tools/powerpoint-to-pdf",title:e("pptToPdf.title",null,{default:"PowerPoint to PDF"}),description:e("pptToPdf.description",null,{default:"Convert PowerPoint presentations to PDF files instantly."}),icon:(0,r.jsx)(c.Z,{className:"h-6 w-6"}),cta:e("tryNow",null,{default:"Try Now"})},{href:"/free-tools/powerpoint-compressor",title:e("powerPointCompressor.title",null,{default:"PowerPoint Compressor"}),description:e("powerPointCompressor.description",null,{default:"Reduce your PowerPoint file size by up to 90% without losing quality. Compress multiple presentations at once for faster sharing and storage."}),icon:(0,r.jsx)(p.Z,{className:"h-6 w-6"}),cta:e("tryNow",null,{default:"Try Now"})},{href:"/free-tools",title:e("browseAll.heading",null,{default:"All Free Tools"}),description:e("browseAll.subheading",null,{default:"Browse all free SlidesAI tools for PowerPoint."}),icon:(0,r.jsx)(m.Z,{className:"h-6 w-6"}),cta:e("browseAll.cta",null,{default:"Browse all"})}],n=[{title:e("htmlToPpt.features.fast.title",null,{default:"Convert in seconds"}),description:e("htmlToPpt.features.fast.description",null,{default:"Instantly transform HTML files and webpages into editable PowerPoint presentations without manual formatting."}),icon:(0,r.jsx)(h.Z,{className:"h-6 w-6"})},{title:e("htmlToPpt.features.editable.title",null,{default:"Fully editable output"}),description:e("htmlToPpt.features.editable.description",null,{default:"Every generated slide remains editable, allowing you to modify text, layouts, images, and formatting."}),icon:(0,r.jsx)(p.Z,{className:"h-6 w-6"})},{title:e("htmlToPpt.features.complex.title",null,{default:"Works with complex HTML"}),description:e("htmlToPpt.features.complex.description",null,{default:"Handles multi-section pages, tables, lists, and responsive layouts with ease."}),icon:(0,r.jsx)(f.Z,{className:"h-6 w-6"})},{title:e("htmlToPpt.features.ai.title",null,{default:"AI-powered conversion"}),description:e("htmlToPpt.features.ai.description",null,{default:"Advanced AI intelligently identifies headings, paragraphs, lists, tables, and images to create well-structured presentations."}),icon:(0,r.jsx)(x.Z,{className:"h-6 w-6"})},{title:e("htmlToPpt.features.noInstall.title",null,{default:"No installation required"}),description:e("htmlToPpt.features.noInstall.description",null,{default:"Convert HTML or webpage content directly from your browser."}),icon:(0,r.jsx)(w.Z,{className:"h-6 w-6"})},{title:e("htmlToPpt.features.saveTime.title",null,{default:"Saves hours of manual work"}),description:e("htmlToPpt.features.saveTime.description",null,{default:"Eliminates copy-pasting and manual slide creation to boost productivity."}),icon:(0,r.jsx)(v,{className:"h-6 w-6"})}],g=[{question:e("htmlToPpt.faqs.whatIsQuestion",null,{default:"What is an HTML to PPT converter?"}),answer:e("htmlToPpt.faqs.whatIsAnswer",null,{default:"An HTML to PPT converter transforms HTML files or live webpages into editable PowerPoint presentations while preserving content structure and visual layout."})},{question:e("htmlToPpt.faqs.howToQuestion",null,{default:"How do I convert HTML or a webpage to PowerPoint?"}),answer:e("htmlToPpt.faqs.howToAnswer",null,{default:"Upload an HTML file or paste a webpage URL, and SlidesAI will generate an editable PowerPoint presentation in seconds."})},{question:e("htmlToPpt.faqs.preserveQuestion",null,{default:"Will the converted PPT preserve my webpage content?"}),answer:e("htmlToPpt.faqs.preserveAnswer",null,{default:"Yes. SlidesAI preserves headings, text, images, lists, tables, and overall page structure as closely as possible. Minor adjustments may be needed for highly complex layouts."})},{question:e("htmlToPpt.faqs.editableQuestion",null,{default:"Are the generated PowerPoint slides editable?"}),answer:e("htmlToPpt.faqs.editableAnswer",null,{default:"Yes. The converted presentation is fully editable, allowing you to modify text, images, layouts, and formatting in PowerPoint or compatible presentation software."})},{question:e("htmlToPpt.faqs.filesAndUrlsQuestion",null,{default:"Can I convert both HTML files and webpage URLs?"}),answer:e("htmlToPpt.faqs.filesAndUrlsAnswer",null,{default:"Yes. SlidesAI supports both local .html/.htm files and live webpage URLs, giving you the flexibility to convert content from your computer or directly from the web."})},{question:e("htmlToPpt.faqs.javascriptQuestion",null,{default:"Does the converter support modern websites built with JavaScript?"}),answer:e("htmlToPpt.faqs.javascriptAnswer",null,{default:"Yes. SlidesAI supports modern web technologies and can convert dynamic webpages created with frameworks such as React, Vue, and Angular."})}
1,{question:e("htmlToPpt.faqs.durationQuestion",null,{default:"How long does HTML to PPT conversion take?"}),answer:e("htmlToPpt.faqs.durationAnswer",null,{default:"Most conversions are completed within seconds, depending on the size and complexity of the webpage."})},{question:e("htmlToPpt.faqs.imagesQuestion",null,{default:"Will images and tables be included in the presentation?"}),answer:e("htmlToPpt.faqs.imagesAnswer",null,{default:"Yes. Images, tables, and other supported visual elements are included in the generated PowerPoint presentation whenever possible."})},{question:e("htmlToPpt.faqs.googleSlidesQuestion",null,{default:"Can I open the converted file in Google Slides?"}),answer:e("htmlToPpt.faqs.googleSlidesAnswer",null,{default:"Yes. The exported .pptx file can be uploaded and edited in Google Slides as well as Microsoft PowerPoint."})},{question:e("htmlToPpt.faqs.freeQuestion",null,{default:"Is SlidesAI's HTML to PPT converter free?"}),answer:e("htmlToPpt.faqs.freeAnswer",null,{default:"Yes. You can convert HTML files and webpages to PowerPoint for free, with additional features available for registered users."})},{question:e("htmlToPpt.faqs.whyAiQuestion",null,{default:"Why use an AI-powered HTML to PPT converter?"}),answer:e("htmlToPpt.faqs.whyAiAnswer",null,{default:"AI automatically extracts and organizes webpage content into presentation-ready slides, saving hours of manual copying, formatting, and slide creation."})},{question:e("htmlToPpt.faqs.entireSiteQuestion",null,{default:"Can I convert an entire website to PowerPoint?"}),answer:e("htmlToPpt.faqs.entireSiteAnswer",null,{default:"SlidesAI can convert individual webpages or HTML files into PowerPoint presentations. Multi-page websites should be converted one page at a time."})}];return(0,r.jsxs)("div",{children:[(0,r.jsx)(o.PB,{title:e("htmlToPpt.seo.title",null,{default:"HTML to PPT | Convert HTML Files & Web Pages to PowerPoint"}),description:e("htmlToPpt.seo.description",null,{default:"Need to convert HTML to PPT? Convert HTML files, webpages, or URLs into editable PowerPoint presentations while preserving structure and content."}),openGraph:{title:e("htmlToPpt.seo.title",null,{default:"HTML to PPT | Convert HTML Files & Web Pages to PowerPoint"}),description:e("htmlToPpt.seo.description",null,{default:"Need to convert HTML to PPT? Convert HTML files, webpages, or URLs into editable PowerPoint presentations while preserving structure and content."}),url:(0,Y.F5)("/free-tools/html-to-ppt",{locale:t}),type:"website"}}),(0,r.jsx)(T.S,{path:"/free-tools/html-to-ppt"}),(0,r.jsx)(Q.D,{graph:$.Ug}),(0,r.jsx)(N.h,{}),(0,r.jsxs)("div",{children:[(0,r.jsx)(O.q,{badge:e("htmlToPpt.badge",null,{default:"Free Tool"}),heading:e("htmlToPpt.heading",null,{default:"HTML to PPT Converter"}),subheading:e("htmlToPpt.subheading",null,{default:"Turn any HTML file or webpage into a fully editable PowerPoint presentation in seconds while preserving your content structure, layout, and flow."}),headingIcon:(0,r.jsx)(X,{className:"h-8 w-8 md:h-10 md:w-10"}),breadcrumbCurrentLabel:e("htmlToPpt.heading",null,{default:"HTML to PPT Converter"})}),(0,r.jsx)(U,{}),(0,r.jsx)(y.W,{className:"pb-12",children:(0,r.jsxs)("div",{className:"mx-auto flex max-w-4xl flex-col items-center gap-4 roun
1ded-2xl border border-primary-100 bg-primary-50 px-8 py-8 text-center sm:flex-row sm:justify-between sm:text-left",children:[(0,r.jsx)("p",{className:"text-base font-medium text-gray-800",children:e("htmlToPpt.aiMakerCta.text",null,{default:"Want more than just conversion? Use our AI Presentation Maker to transform your HTML into a beautifully designed presentation in seconds."})}),(0,r.jsx)(a(),{href:"/generate/topic-to-ppt",legacyBehavior:!0,children:(0,r.jsx)("a",{onClick:()=>d.ZP.capture(u.Z.HTML_TO_PPT_AI_MAKER_CTA_CLICKED),className:"whitespace-nowrap rounded-md bg-primary-600 px-6 py-3 text-base font-semibold text-white shadow-sm transition-colors hover:bg-primary-700",children:e("htmlToPpt.aiMakerCta.button",null,{default:"Try Now"})})})]})}),(0,r.jsx)("div",{className:"bg-gray-50",children:(0,r.jsx)(y.W,{className:"py-40",children:(0,r.jsx)(W.F,{eyebrow:e("htmlToPpt.stepsEyebrow",null,{default:"How it works"}),title:e("htmlToPpt.stepsTitle",null,{default:"How to convert an HTML file to PPT online"}),subtitle:e("htmlToPpt.stepsSubtitle",null,{default:"Follow these three easy steps to transform your HTML file or webpage into a PowerPoint presentation."}),steps:[{step:"1",visual:(0,r.jsx)(Z.Is,{fileType:"HTML"}),title:e("htmlToPpt.steps.upload.title",null,{default:"Upload your HTML file or enter a URL"}),description:e("htmlToPpt.steps.upload.description",null,{default:"Upload your .html or .htm file, or paste a webpage URL to begin the conversion."}),icon:(0,r.jsx)(b.Z,{className:"h-6 w-6"})},{step:"2",visual:(0,r.jsx)(Z.nm,{from:"HTML",to:"slides"}),title:e("htmlToPpt.steps.convert.title",null,{default:"Convert in a click"}),description:e("htmlToPpt.steps.convert.description",null,{default:"SlidesAI converts your HTML file or webpage into an editable PowerPoint presentation while preserving headings, text, tables, images, and page structure wherever possible."}),icon:(0,r.jsx)(x.Z,{className:"h-6 w-6"})},{step:"3",visual:(0,r.jsx)(Z.YP,{resultType:"slides",label:"Download PPT"}),title:e("htmlToPpt.steps.download.title",null,{default:"Download your PPT"}),description:e("htmlToPpt.steps.download.description",null,{default:"Download your converted PowerPoint file and edit it in Microsoft PowerPoint, Google Slides, or Apple Keynote."}),icon:(0,r.jsx)(p.Z,{className:"h-6 w-6"})}]})})}),(0,r.jsxs)("div",{className:"bg-white",children:[(0,r.jsx)("div",{className:"bg-gradient-to-b from-gray-50 via-gray-50 to-white",children:(0,r.jsx)(y.W,{className:"py-40",children:(0,r.jsx)(D.J,{eyebrow:e("htmlToPpt.benefitsEyebrow",null,{default:"Why use it"}),title:e("htmlToPpt.benefitsTitle",null,{default:"Why use SlidesAI's HTML to PowerPoint converter"}),subtitle:e("htmlToPpt.benefitsSubtitle",null,{default:"Convert HTML files, webpages, and website content into editable PowerPoint presentations without manually copying and rebuilding content."}),cards:n})})}),(0,r.jsx)("div",{className:"bg-gradient-to-b from-gray-50 via-gray-50 to-white",children:(0,r.jsx)(y.W,{className:"py-40",children:(0,r.jsx)(D.J,{eyebrow:e("htmlToPpt.otherToolsEyebrow",null,{default:"Other tools"}),title:e("htmlToPpt.otherToolsTitle",null,{default:"Explore more AI PPT tools from SlidesAI"}),subtitle:e("htmlToPpt.otherToolsSubtitle",null,{default:"Use more free SlidesAI tools to convert, compress, summarize, and manage your presentation files with ease."}),cards:l,gridClassName:"mt-24 grid justify-items-center gap-10 md:grid-cols-2 lg:grid-cols-3",cardClassName:"group w-full max-w-xl rounded-xl border border-gray-200 bg-white p-8 shadow-sm transition-all hover:border-primary-200 hover:shadow-md"})})})]})]}),(0,r.jsx)("div",{className:"py-40",children:(0,r.jsx)(B.I,{title:e("htmlToPpt.faqs.title",null,{default:"Frequently asked questions"}),description:e("htmlToPpt.faqs.subtitle",null,{default:"Quick answers about converting HTML files and webpages into editable PowerPoint presentations."}),faqs:g})}),(0,r.jsx)(P.Z,{isPowerPointPage:!0,utmSource:"free-tools-html-to-ppt"}),(0,r.jsx)(j.$,{})]})}},94434:function(e,t,l){"use strict";l.d(t,{f:function(){return u}});let r="application/vnd.openxmlformats-officedocument.presentationml.presentation",o=new Set(["application/zip","application/x-zip-compressed"]),s="text/plain",n={compress:[r,...Array.from(o)],merge:[r,...Array.from(o)],pdf:["application/pdf",...Array.from(o)],pdfToPpt:[r,...Array.from(o)],wordToPpt:[r,...Array.from(o)],htmlToPpt:[r,...Array.from(o)],word:["application/vnd.openxmlformats-officedocument.wordprocessingml.document",...Array.from(o)],text:[s,...Array.from(o)],notes:[s,...Array.from(o)],split:[...Array.from(o)]},a=(e,t)=>{let l=e.split(";")[0].trim().toLowerCase();return n[t].includes(l)},i=e=>{try{let{hostname:t}=new URL(e);return t.endsWith(".r2.cloudflarestorage.com")||t.endsWith(".r2.dev")}catch{return!1}},d=(e,t="unavailable")=>{let l=new URLSearchParams({reason:t,tool:e});return`/free-tools/download-expired?${l.toString()}`},u=async(e,t)=>{try{let l=await fetch(e,{method:"GET",headers:{Range:"bytes=0-0"}}),r=l.headers.get("content-type")||"";if(!i(e)||!l.ok&&206!==l.status||!a(r,t)){window.open(d(t),"_blank","noopener");return}window.open(e,"_blank","noopener")}catch{window.open(d(t),"_blank","noopener")}}},23341:function(e,t,l){"use strict";l.d(t,{T:function(){return n}});var r=l(43577),o=l(36509);l(57242);var s=l(91478);let n=({disabledReason:e,show:t,children:l,tooltipClassName:n,side:a="top",sideOffset:i=4,delayDuration:d=0,collisionBoundary:u})=>t&&e?(0,r.jsx)(o.zt,{children:(0,r.jsxs)(o.fC,{delayDuration:d,children:[(0,r.jsx)(o.xz,{asChild:!0,children:l}),(0,r.jsxs)(o.VY,{side:a,sideOffset:i,collisionPadding:8,collisionBoundary:u??[],className:(0,s.m6)("data-[state=delayed-open]:data-[side=top]:animate-slideDownAndFade data-[state=delayed-open]:data-[side=right]:animate-slideLeftAndFade data-[state=delayed-open]:data-[side=left]:animate-slideRightAndFade data-[state=delayed-open]:data-[side=bottom]:animate-slideUpAndFade text-white text-[13px] z-50 max-w-[15rem] select-none break-words rounded-lg bg-gray-900 px-[15px] py-[10px] border will-change-[transform,opacity]",n),children:[e,(0,r.jsx)(o.Eh,{className:"fill-gray-900"})]})]})}):(0,r.jsx)(r.Fragment,{children:l})},11170:function(e,t,l){"use strict";var r=l(57242);let o=r.forwardRef(function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12"}))});t.Z=o},97552:function(e,t,l){"use strict";var r=l(57242);let o=r.forwardRef(function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"}))});t.Z=o},88599:function(e,t,l){"use strict";var r=l(57242);let o=r.forwardRef(function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9"}))});t.Z=o}},function(e){e.O(0,[5198,4034,6381,3339,3985,6509,1478,5435,8386,9167,8980,249,1935,6818,5962,7881,2888,9774,179],function(){return e(e.s=61782)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.