1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2180],{54022:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/webp-to-png/editor",function(){return n(98956)}])},98956:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return S}});var a=n(28958),r=n(51403),c=n(43857),o=n(16660),i=n(1628),s=n(96252),l=n(71373),d=n(98200),p=n(388),u=n(80394),f=n(21439),_=n.n(f),m=n(89299),x=n(67573),g=n(48754),E=n(29094),S=!0;t.default=function(){var e=(0,c.Z)().t,t=(0,o.useState)(!0),n=t[0],f=t[1],S=(0,o.useState)(null),T=S[0],h=S[1],I=(0,o.useState)(!1),N=I[0],j=I[1],F=(0,a.Z)((0,d.T)(),4),w=F[0],G=(F[1],F[2]),L=F[3],b=p.ND.WEBP_TO_PNG,v=b.appName;(0,o.useEffect)(function(){f(!0),j(!1),h(null),w.length>0&&(0,g.Z)(w[0],b).then(function(t){if(t.error){f(!1),h(e("common:".concat(t.error))),(0,u.c)("error_occured",{error_message:t.error,source_tool:v},[E.C.MS_ANALYTICS]);return}L([t.data]),f(!1),j(!0)})},[w]);var O=(0,r.jsx)("div",{className:"rounded-xl -z-10 max-w-lg w-full overflow-hidden",children:(0,r.jsx)(_(),{loop:!0,path:b.heroImageUrl,play:!0,speed:1})});return w[0]||G[0]?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m.Z,{appConfig:b,noIndex:!0}),(0,r.jsx)(x.Z,{appConfig:b,convertedImage:G[0],errorMessage:T,isLoading:n,imageLoaded:N,fileName:w[0].name})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m.Z,{appConfig:b,noIndex:!0}),(0,r.jsxs)("div",{className:"min-h-screen flex flex-col justify-between",children:[(0,r.jsxs)("main",{className:"antialiased",children:[(0,r.jsx)(s.Z,{app:v}),(0,r.jsx)("div",{className:"max-w-5xl mx-auto px-4 my-8 md:my-16",children:(0,r.jsx)(l.Z,{title:e("".concat(v,":HERO_TITLE_PREFIX"))+'<span class="bg-clip-text box-decoration-clone text-transparent bg-gradient-to-r from-'.concat(v,"-gradient-start to-").concat(v,'-gradient-end font-[550]">').concat(e("".concat(v,":HERO_TITLE_HIGHLIGHT")),"</span>")+e("".concat(v,":HERO_TITLE_SUFFIX")),subtitle:e("".concat(v,":HERO_SUBTITLE_LINE1"))+"<br/>"+e("".concat(v,":HERO_SUBTITLE_LINE2")),app:v,toolForOnlyActiveSubscription:!1,heroImage:O,fileSelectBgGradientStart:b.fileSelectBgGradientStart,fileSelectBgGradientEnd:b.fileSelectBgGradientEnd,appGradientStart:b.appGradientStart,appGradientEnd:b.appGradientEnd,acceptedFileFormats:b.acceptedFileFormats,acceptedFileFormatsText:b.acceptedFileFormatsText})})]}),(0,r.jsx)(i.default,{})]})]})}}},function(e){e.O(0,[3143,3593,2799,4812,6215,1439,388,9620,3809,6252,8877,1373,4630,9774,2888,179],function(){return e(e.s=54022)}),_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.