1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8879,9740,3148,3696],{59740:function(e,t,r){!function(e){"use strict";//! moment.js locale configuration 2function t(e,t,r,s){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[r][0]:a[r][1]}e.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(30381))},47687:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tools/free-profile-picture-maker",function(){return r(54785)}])},63148:function(e,t,r){"use strict";r.r(t);var s=r(85893),a=r(67294),l=r(41664),n=r.n(l),o=r(61798),i=r(62231),c=r(76891);let d=e=>{let{language:t,openFromParent:r}=e,[l,d]=(0,a.useState)(""),[m,x]=(0,a.useState)(!1),[h,f]=(0,a.useState)(120),[g,u]=(0,a.useState)(""),{t:p}=(0,o.$G)("common"),[v,j]=(0,a.useState)(p("exitIntentButton")),[w,b]=(0,a.useState)(!1),[y,N]=(0,a.useState)(!1),{user:k,setUser:M,refreshUser:S}=(0,c.a)();(0,a.useEffect)(()=>{let e;return m&&h>0&&(e=setTimeout(()=>f(h-1),1e3)),()=>clearTimeout(e)},[m,h]),(0,a.useEffect)(()=>{r&&x(!0)},[r]),(0,a.useEffect)(()=>{let e=localStorage.getItem("hasSeenDiscountModal");if(!e&&!k){let e=t=>{t.clientY<=0&&(x(!0),document.removeEventListener("mouseout",e),localStorage.setItem("hasSeenDiscountModal","true"))};return document.addEventListener("mouseout",e),()=>{document.removeEventListener("mouseout",e)}}},[k]);let C=async e=>{if(e.preventDefault(),!w&&l){N(!0);try{await i.Z.fetch("/v1/discountIntent",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:l})}),b(!0),j(p("exitIntentButtonSuccess"))}catch(e){console.error("Error submitting form:",e)}finally{N(!1)}setTimeout(()=>x(!1),5e3)}};return m?(0,s.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center p-4 z-[9999]",children:(0,s.jsxs)("div",{className:"bg-white rounded-2xl shadow-xl p-6 w-full max-w-md relative",children:[(0,s.jsx)("button",{onClick:()=>x(!1),className:"absolute top-3 right-3 text-gray-500 hover:text-gray-700",children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6",children:(0,s.jsx)("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18 18 6M6 6l12 12"})})}),(0,s.jsx)("div",{className:"items-center justify-center w-full mb-6",children:(0,s.jsx)(n(),{href:"/",children:(0,s.jsxs)("div",{className:"flex items-center w-full justify-center mt-1 gap-1.5",children:[(0,s.jsx)("img",{src:"/imgs/logo.svg",className:"h-7 "}),(0,s.jsx)("div",{className:"cursor-pointer text-black font-bold text-[23px] tracking-tighter leading-6",children:"Dr. Headshot"})]})})}),(0,s.jsx)("h3",{className:"text-3xl font-bold mb-4 text-center",children:(0,s.jsx)(o.cC,{i18nKey:"exitIntentTitle",components:{highlight:(0,s.jsx)("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-orange-600 to-yellow-400"})}})}),(0,s.jsx)("p",{className:"text-center mb-6",children:p("exitIntentDesc")}),(0,s.jsxs)("form",{onSubmit:C,className:"space-y-6",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("input",{type:"email",value:l,onCh
2ange:e=>{d(e.target.value),u("")},placeholder:p("enterEmail"),className:"w-full px-3 bg-gray-100 text-xl text-center py-2.5 border ".concat(g?"border-red-500":"border-gray-300"," rounded-lg focus:outline-none focus:ring-2 focus:ring-orange-400")}),g&&(0,s.jsx)("p",{className:"text-red-500 text-xs mt-1",children:g})]}),(0,s.jsxs)("div",{className:"text-center mb-6",children:[(0,s.jsxs)("p",{className:"text-xs font-semibold mb-1 uppercase",children:[p("offerEndsIn"),"..."]}),(0,s.jsxs)("p",{className:"font-bold text-3xl",children:[Math.floor(h/60),":",(h%60).toString().padStart(2,"0")]})]}),(0,s.jsx)("button",{type:"submit",disabled:y,className:"w-full bg-black text-white font-bold py-3 px-4 rounded-full hover:bg-gray-800 transition duration-300 flex items-center justify-center",children:y?(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("svg",{className:"animate-spin h-5 w-5 text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,s.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,s.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}):v})]}),(0,s.jsx)("button",{onClick:()=>x(!1),className:"w-full text-sm text-gray-600 mt-4 hover:underline uppercase",children:p("exitIntentNoThanks")}),(0,s.jsx)("p",{className:"text-xs text-center mt-4 text-gray-400",children:p("exitIntentDisclaimer")}),(0,s.jsx)("div",{className:"text-center mt-2",children:(0,s.jsx)(n(),{href:"/privacy",className:"text-xs text-gray-600 hover:underline",children:p("privacyNotice",{ns:"common"})})})]})}):null};t.default=d},31311:function(e,t,r){"use strict";var s=r(85893),a=r(11163),l=r(9008),n=r.n(l),o=r(67294);let i=e=>{let{children:t,title:r,description:l,singleLang:i,ogImage:c,showReviewSchema:d,themeColor:m}=e,x=(0,a.useRouter)(),h=i?[i]:["en","de","fr","es","it"],f=m||"#f3f4f6",g="string"==typeof x.asPath&&x.asPath.split("#")[0].split("?")[0]||"/",u=(()=>{let e=g;for(let t of(e.startsWith("/")||(e="/".concat(e)),h)){let r="/".concat(t);if(e===r)return"/";if(e.startsWith("".concat(r,"/")))return e.slice(r.length)||"/"}return e})(),p=e=>{let t;return"/"!==(t="en"===e?"/"===u?"/":u:"/"===u?"/".concat(e):"/".concat(e).concat(u))&&t.endsWith("/")&&(t=t.slice(0,-1)),"https://drheadsh
2ot.com".concat(t)};return(0,o.useEffect)(()=>(m&&(document.body.style.background=m,document.body.style.backgroundColor=m),()=>{m&&(document.body.style.background="",document.body.style.backgroundColor="")}),[m]),(0,o.useEffect)(()=>{if("undefined"==typeof document)return;let e=document.querySelector('meta[name="theme-color"]');if(e){e.setAttribute("content",f);let t=e.parentNode;t&&(t.removeChild(e),t.appendChild(e))}else{let e=document.createElement("meta");e.setAttribute("name","theme-color"),e.setAttribute("content",f),document.head.appendChild(e)}},[f]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(n(),{children:[r&&(0,s.jsx)("title",{children:r}),l&&(0,s.jsx)("meta",{name:"description",content:l}),(0,s.jsx)("meta",{name:"theme-color",content:f},"theme-color"),c?(0,s.jsx)("meta",{property:"og:image",content:c}):(0,s.jsx)("meta",{property:"og:image",content:"/og.jpg"}),h.map(e=>(0,s.jsx)("link",{rel:"alternate",hrefLang:e,href:p(e)},e)),(0,s.jsx)("link",{rel:"canonical",href:p(x.locale||"en")}),"free"===d&&(0,s.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"SoftwareApplication",applicationCategory:"TOOLS",name:"Dr. Headshot",operatingSystem:"Windows 7+, OSX 10.6+, Web, iOS",offers:{"@type":"Offer",price:"0",priceCurrency:"USD"},aggregateRating:{"@type":"AggregateRating",ratingValue:"5.0",ratingCount:"38735",bestRating:"5"}})}}),"paid"===d&&(0,s.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"SoftwareApplication",applicationCategory:"TOOLS",name:"Dr. Headshot",operatingSystem:"Windows 7+, OSX 10.6+, Web, iOS",aggregateRating:{"@type":"AggregateRating",ratingValue:"5.0",ratingCount:"38735",bestRating:"5"}})}})]}),t]})};t.Z=i},62238:function(e,t,r){"use strict";r.d(t,{A:function(){return o}});var s=r(67294),a=r(52808);let l=()=>{try{let e=(0,a.Ix)("referrerDetails"),t=e?JSON.parse(e):null;return t&&"object"==typeof t&&!Array.isArray(t)?t:{}}catch(e){return{}}},n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(0,a.Ix)("referrer"),s=l(),n=Array.isArray(s.referrers)?s.referrers:[];[r,e].forEach(e=>{e&&!n.includes(e)&&n.push(e)}),(0,a.OE)("referrer",e),(0,a.OE)("referrerDetails",JSON.stringify({...s,...t,referrers:n}))},o=e=>{e&&n(e)};t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;(0,s.useEffect)(()=>{(()=>{(0,a.P6)();let t=new URLSearchParams(window.location.search),r=t.get("ref"),s=document.referrer,l={referrerParam:r,referrerUrl:s||void 0};if(r){n(r,l);return}let o=t.get("gclid"),i=t.get("gbraid"),c=t.get("wbraid"),d=t.get("utm_source"),m=t.get("utm_medium"),x=t.get("utm_campaign"),h=t.get("utm_term"),f=t.get("utm_content"),g=(0,a.Ix)("referrer");if(g&&!(o||i||c||d))return;let u="";o||i||c||"google"===d&&"cpc"===m||"gads"===d?(u="paidGoogleSearch",l.gclid=o,l.gbraid=i,l.wbraid=c,l.utmSource=d,l.utmMedium=m):s&&s.includes("google")?u="organicGoogleSearch":d?(u=d,l.utmSource=d,l.utmMedium=m):s?u=s:e&&(u=e),u&&(x&&(l.utmCampaign=x),h&&(l.utmTerm=h),f&&(l.utmContent=f),n(u,l))})()},[e])}},54785:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return w},default:function(){return b}});var s=r(85893),a=r(25675),l=r.n(a),n=r(47015),o=r(61323);r(9008);var i=r(41664),c=r.n(i),d=r(67294);r(30381);var m=r(61798);r(62286);var x=r(31311),h=function(){let{t:e}=(0,m.$G)("faq"),t=[{question:e("questionFree7"),answer:e("answerFree7")},{question:e("questionFree8"),answer:e("answerFree8")},{question:e("questionFree9"),answer:e("answerFree9")},{question:e("questionFree10"),answer:e("answerFree10")},{question:e("questionFree11"),answer:e("answerFree11")}],[r,a]=(0,d.useState)(),l=(e,t)=>{t.preventDefault(),r===e?a(null):a(e)};return(0,s.jsx)("div",{id:"faq",className:"flex items-center justify-center py-20 md:py-36",children:(0,s.jsx)("div",{className:"flex w-full lg:max-w-7xl px-5 md:px-10 text-black items-center justify-center",children:(0,s.jsxs)("div",{className:"flex flex-col md:flex-row gap-2 md:gap-36 w-full",children:[(0,s.jsxs)("div",{className:"md:w-96 mb-14",children:[(0,s.jsx)("div",{className:"text-3xl md:text-5xl font-bold mb-4 md:leading-[3.5rem] tracking-tight",children:e("headerTitle")}),(0,s.jsx)("div",{className:"text-xl text-gray-900 leading-8",children:e("faqPfpDescription")})]}),(0,s.jsx)("div",{className:"w-full flex-1",children:t.map((e,t)=>(0,s.jsxs)("details",{open:r===t,className:"border-b border-gray-200",children:[(0,s.jsxs)("summary",{onClick:e=>l(t,e),className:"cursor-pointer text-lg font-semibold flex justify-between items-center py-4",children:[(0,s.jsx)("span",{className:"pr-2 leading-6",children:e.question}),(0,s.jsx)("span",{className:"text-3xl font-normal text-orange-500",style:r===t?{transform:"rotate(45deg)",transition:"transform 0.3s"}:{transition:"transform 0.3s"},children:"+"})]}),(0,s.jsx)("p",{className:"text-md font-base leading-6 text-gray-600 pb-4 pr-6",children:e.answer})]},t))})]})})})}
2,f=r(62238),g=r(63148),u=r(43079),p=r(62231);let v=e=>{let{imageData:t,onDownload:r,onReset:a}=e,{t:l}=(0,m.$G)("common"),n=(0,d.useRef)(null),[o,i]=(0,d.useState)("#fbbf24"),[c,x]=(0,d.useState)("#000000"),[h,f]=(0,d.useState)(0),[g,u]=(0,d.useState)("circle"),[p,v]=(0,d.useState)("none"),[j,w]=(0,d.useState)(!1),b=(0,d.useCallback)(()=>{let e=n.current;if(!e||!t)return;let r=e.getContext("2d"),s=new Image;s.onload=()=>{let t,a,l,n;e.width=400,e.height=400,r.clearRect(0,0,400,400),r.fillStyle=o,"circle"===g?(r.beginPath(),r.arc(200,200,200-h,0,2*Math.PI),r.fill()):r.fillRect(h,h,400-2*h,400-2*h),r.save(),"circle"===g?(r.beginPath(),r.arc(200,200,200-h,0,2*Math.PI),r.clip()):(r.beginPath(),r.rect(h,h,400-2*h,400-2*h),r.clip()),"grayscale"===p?r.filter="grayscale(100%)":"sepia"===p?r.filter="sepia(100%)":r.filter="none";let i=s.width/s.height;i>1?(l=(400-(t=(a=400-2*h)*i))/2,n=h):(a=(t=400-2*h)/i,l=h,n=(400-a)/2),r.drawImage(s,l,n,t,a),r.restore(),h>0&&(r.strokeStyle=c,r.lineWidth=h,"circle"===g?(r.beginPath(),r.arc(200,200,200-h/2,0,2*Math.PI),r.stroke()):r.strokeRect(h/2,h/2,400-h,400-h))},s.src=t},[t,o,c,h,g,p]);(0,d.useEffect)(()=>{b()},[b]);let y=()=>
2{if(!t)return;w(!0);let e=document.createElement("canvas"),s=e.getContext("2d"),a=new Image;a.onload=()=>{let t,l,n,i;let d=2.56*h;e.width=1024,e.height=1024,s.clearRect(0,0,1024,1024),s.fillStyle=o,"circle"===g?(s.beginPath(),s.arc(512,512,512-d,0,2*Math.PI),s.fill()):s.fillRect(d,d,1024-2*d,1024-2*d),s.save(),"circle"===g?(s.beginPath(),s.arc(512,512,512-d,0,2*Math.PI),s.clip()):(s.beginPath(),s.rect(d,d,1024-2*d,1024-2*d),s.clip()),"grayscale"===p?s.filter="grayscale(100%)":"sepia"===p?s.filter="sepia(100%)":s.filter="none";let m=a.width/a.height;m>1?(n=(1024-(t=(l=1024-2*d)*m))/2,i=d):(l=(t=1024-2*d)/m,n=d,i=(1024-l)/2),s.drawImage(a,n,i,t,l),s.restore(),h>0&&(s.strokeStyle=c,s.lineWidth=d,"circle"===g?(s.beginPath(),s.arc(512,512,512-d/2,0,2*Math.PI),s.stroke()):s.strokeRect(d/2,d/2,1024-d,1024-d)),e.toBlob(e=>{let t=URL.createObjectURL(e),s=document.createElement("a");s.href=t,s.download="profile-picture.png",document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(t),w(!1),r&&r()})},a.src=t};return(0,s.jsxs)("div",{className:"flex flex-col lg:flex-row gap-8 max-w-6xl mx-auto p-4",children:[(0,s.jsxs)("div",{className:"flex-1 flex flex-col items-center justify-start gap-4",children:[(0,s.jsx)("div",{className:" rounded-lg p-6",children:(0,s.jsx)("canvas",{ref:n,className:" ",style:{maxWidth:"100%",height:"auto"}})}),(0,s.jsxs)("button",{onClick:a,className:"flex items-center gap-2 px-6 py-2 border border-orange-500 text-orange-500 rounded-full hover:bg-orange-50 font-semibold transition-all",children:[(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",className:"w-5 h-5",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0011.664 0l3.18-3.185m-3.181-4.992a8.25 8.25 0 00-11.664 0-3.18 3.185"})}),l("freePfp.uploadNew")]})]}),(0,s.jsxs)("div",{className:"w-full lg:w-80 bg-white/70 backdrop-blur-lg border border-gray-200 rounded-xl shadow-xl p-6 space-y-8",children:[(0,s.jsx)("h3",{className:"text-xl font-semibold text-gray-900 mb-4",children:l("freePfp.customize")}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:l("freePfp.backgroundColor")}),(0,s.jsx)("div",{className:"grid grid-cols-7 gap-2 mb-2",children:["#ffffff","#f3f4f6","#e5e7eb","#d1d5db","#374151","#111827","#000000","#fef3c7","#fbbf24","#f59e0b","#fecaca","#ef4444","#dc2626","#bbf7d0","#22c55e","#16a34a","#bfdbfe","#3b82f6","#2563eb","#e9d5ff","#a855f7","#9333ea"].map(e=>(0,s.jsx)("button",{className:"w-8 h-8 rounded-full border-2 transition-all duration-150 ".concat(o===e?"ring-2 ring-offset-2 ring-orange-500 border-transparent scale-110":"border-gray-200 hover:scale-105"),style:{backgroundColor:e},onClick:()=>i(e)},e))}),(0,s.jsx)("input",{type:"color",value:o,onChange:e=>i(e.target.value),className:"w-full h-10 border border-gray-300 rounded"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:l("freePfp.shape")}),(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsxs)("button",{className:"flex-1 flex items-center justify-center gap-2 px-4 py-2 rounded-lg border text-sm font-medium transition-all duration-150 ".concat("circle"===g?"bg-gradient-to-r from-orange-500 to-orange-400 text-white shadow-md":"bg-white text-gray-700 border-gray-300 hover:bg-gray-50"),onClick:()=>u("circle"),children:[(0,s.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:"w-4 h-4",children:(0,s.jsx)("circle",{cx:"12",cy:"12",r:"9"})}),l("freePfp.circle")]}),(0,s.jsxs)("button",{className:"flex-1 flex items-center justify-center gap-2 px-4 py-2 rounded-lg border text-sm font-medium transition-all duration-150 ".concat("square"===g?"bg-gradient-to-r from-orange-500 to-orange-400 text-white shadow-md":"bg-white text-gray-700 border-gray-300 hover:bg-gray-50"),onClick:()=>u("square"),children:[(0,s.jsx)("svg",{viewBox:"0 0 24 24",fill:"
2currentColor",className:"w-4 h-4",children:(0,s.jsx)("rect",{x:"4",y:"4",width:"16",height:"16",rx:"2"})}),l("freePfp.square")]})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:l("freePfp.borderWidth")}),(0,s.jsx)("input",{type:"range",min:"0",max:"20",value:h,onChange:e=>f(parseInt(e.target.value)),className:"w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer accent-orange-500"}),(0,s.jsxs)("div",{className:"text-sm text-gray-500 mt-1",children:[h,"px"]}),h>0&&(0,s.jsxs)("div",{className:"mt-2",children:[(0,s.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:l("freePfp.borderColor")}),(0,s.jsx)("input",{type:"color",value:c,onChange:e=>x(e.target.value),className:"w-full h-10 border border-gray-300 rounded"})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:l("freePfp.filter")}),(0,s.jsxs)("select",{value:p,onChange:e=>v(e.target.value),className:"w-full p-2 border border-gray-300 rounded-lg bg-white focus:border-orange-500 focus:ring-orange-500",children:[(0,s.jsx)("option",{value:"none",children:l("freePfp.none")}),(0,s.jsx)("option",{value:"grayscale",children:l("freePfp.blackAndWhite")}),(0,s.jsx)("option",{value:"sepia",children:l("freePfp.sepia")})]})]}),(0,s.jsx)("button",{onClick:y,disabled:j,className:"w-full bg-gradient-to-r from-orange-500 to-orange-400 text-white py-3 px-4 rounded-full font-semibold hover:from-orange-600 hover:to-orange-500 transition-all disabled:opacity-50",children:l(j?"freePfp.preparingDownload":"freePfp.download")})]})]})},j=e=>{let{onImageProcessed:t}=e,{t:r}=(0,m.$G)("common"),[a,l]=(0,d.useState)(!1),[n,o]=(0,d.useState)(!1),i=(0,d.useRef)(null),c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1024;return new Promise((r,s)=>{let a=new Image,l=new FileReader;l.onload=l=>{a.onload=()=>{let s=a.width,l=a.height;(s>t||l>t)&&(s>l?(l*=t/s,s=t):(s*=t/l,l=t));let n=document.createElement("canvas");n.width=s,n.height=l;let o=n.getContext("2d");o.drawImage(a,0,0,s,l);let i="image/png"===e.type?"image/png":"image/jpeg";n.toBlob(t=>{let s=new File([t],e.name,{type:i});r(s)},i,.92)},a.onerror=s,a.src=l.target.result},l.onerror=s,l.readAsDataURL(e)})},x=async e=>{if(0===e.length)return;let r=e[0];if(!["image/jpeg","image/jpg","image/png"].includes(r.type)){alert("Please select a JPG or PNG image file");return}l(!0);try{let e=await c(r,1024),s=new FormData;s.append("image",e);let a=await p.Z.fetch("/v1/remove-background",{method:"POST",body:s});if(console.log(a),a.error){"limit"===a.error?alert("Daily limit reached. Please try again tomorrow."):alert("Error processing image: "+a.error);return}a.image&&t("".concat(a.image))}catch(e){console.error("Error uploading file:",e),alert("Error processing image. Please try again.")}finally{l(!1)}},h=e=>{e.preventDefault(),e.stopPropagation(),"dragenter"===e.type||"dragover"===e.type?o(!0):"dragleave"===e.type&&o(!1)},f=e=>{e.preventDefault(),e.stopPropagation(),o(!1),e.dataTransfer.files&&e.dataTransfer.files[0]&&x(Array.from(e.dataTransfer.files))},g=e=>{e.preventDefault(),e.target.files&&e.target.files[0]&&x(Array.from(e.target.files))};return(0,s.jsx)("div",{className:"relative w-full max-w-5xl mx-auto",children:(0,s.jsxs)("div",{className:"max-w-5xl mx-auto relative z-10",id:"editor",children:[(0,s.jsx)("div",{className:"flex items-start justify-start h-full overflow-hidden bg-white rounded-xl shadow-2xl col-span-2",children:(0,s.jsx)("div",{className:"w-full h-full",children:(0,s.jsx)("div",{className:"p-4 h-full flex justify-between flex-col ",children:(0,s.jsxs)("div",{className:"h-full relative bg-gray-100 rounded-lg transition-colors ".concat(n?"border-orange-500 bg-orange-50":"border-gray-300"," ").concat(a?"opacity-50 pointer-events-none":""),onDragEnter:h,onDragLeave:h,onDragOver:h,onDrop:f,children:[(0,s.jsx)("div",{className:"absolute z-10 w-full h-full rounded-md",style:{background:"linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0))",opacity:.5}}),(0,s.jsx)("input",{ref:i,type:"file",accept:"image/jpeg,image/jpg,image/png",onCh
2ange:g,className:"hidden"}),a?(0,s.jsxs)("div",{className:"relative z-20 flex flex-col items-center justify-center h-full p-8 md:py-16",children:[(0,s.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-orange-500 mb-4"}),(0,s.jsx)("p",{className:"text-lg font-medium text-gray-700",children:r("freePfp.processing")}),(0,s.jsx)("p",{className:"text-sm text-gray-500 mt-2",children:r("freePfp.removingBackground")})]}):(0,s.jsxs)("div",{className:"relative z-20 flex flex-col items-center justify-center h-full p-8 md:py-16",children:[(0,s.jsx)("svg",{className:"mx-auto h-12 w-12 text-gray-400",stroke:"currentColor",fill:"none",viewBox:"0 0 48 48",children:(0,s.jsx)("path",{d:"M28 8H12a4 4 0 00-4 4v20m32-12v8m0 0v8a4 4 0 01-4 4H12a4 4 0 01-4-4v-4m32-4l-3.172-3.172a4 4 0 00-5.656 0L28 28M8 32l9.172-9.172a4 4 0 015.656 0L28 28m0 0l4 4m4-24h8m-4-4v8m-12 4h.02",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})}),(0,s.jsxs)("div",{className:"mt-4 text-center",children:[(0,s.jsxs)("label",{htmlFor:"file-upload",className:"cursor-pointer",children:[(0,s.jsx)("span",{className:"mt-2 block text-base font-medium text-gray-900",children:r("freePfp.uploadTitle")}),(0,s.jsx)("span",{className:"mt-1 block text-sm text-gray-500",children:r("freePfp.uploadSubtitle")})]}),(0,s.jsxs)("button",{onClick:()=>{var e;return null===(e=i.current)||void 0===e?void 0:e.click()},className:"mt-4 bg-gradient-to-r from-orange-500 to-orange-400 text-white mx-auto px-8 py-3 rounded-full font-semibold hover:from-orange-600 hover:to-orange-500 transition-all flex items-center gap-2",children:[(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",className:"w-5 h-5",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"})}),r("freePfp.selectPhoto")]})]})]})]})})})}),(0,s.jsx)("div",{className:"mt-4 text-xs text-gray-500 text-center",children:r("freePfp.supportedFormats")})]})})};var w=!0;function b(e){let{token:t,reviews:r}=e,[a,i]=(0,d.useState)(!1);(0,d.useEffect)(()=>{i(!0)},[]),(0,f.Z)();let{t:p}=(0,m.$G)(["common","app"]),[w,b]=(0,d.useState)(!1),[N,k]=(0,d.useState)(!1),[M,S]=(0,d.useState)(null),C=e=>{S(e)},_=()=>{b(!0)};return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(x.Z,{title:p("freePfp.titleSeo")+" - Dr. Headshot",description:p("freePfp.description"),showReviewSchema:"free",children:(0,s.jsxs)("div",{className:"bg-white ",children:[(0,s.jsx)(n.Z,{dark:!1}),(0,s.jsxs)("div",{className:"relative z-10 text-black flex-col flex items-center justify-center overflow-auto w-full",children:[(0,s.jsx)("div",{className:"text-left w-full lg:max-w-7xl px-4 py-4 pb-5 md:pt-16 flex md:pb-5",children:(0,s.jsx)("div",{className:"w-full flex items-center gap-4 justify-center",children:(0,s.jsxs)("div",{className:"text-left pt-[20px] lg:pt-2 max-w-4xl w-full md:flex flex-col items-center",children:[(0,s.jsx)("div",{className:"w-full flex items-center justify-center",children:(0,s.jsx)("div",{className:"text-sm md:text-lg inline opacity-100 font-medium mb-4 md:mb-7 text-center px-4 rounded-full bg-orange-50 text-orange-600 py-0.5",children:p("freePfp.aiPfpMaker")})}),(0,s.jsx)("h1",{className:"leading-[2.2rem] text-3xl md:text-6xl text-center font-bold md:leading-[1.1] tracking-tight",children:p("freePfp.title")}),(0,s.jsx)("div",{className:"mt-3 md:mt-6 text-md leading-6 text-center md:text-center text-gray-700 md:text-lg md:leading-7 block max-w-2xl",children:p("freePfp.description")})]})})}),(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsx)("div",{className:"bg-gradient-to-r absolute from-orange-500 to-yellow-400 blur-3xl top-0 h-full w-full opacity-20 -z-10",style:{borderRadius:"40%"}}),(0,s.jsx)("div",{className:"w-full b py-8",children:M?(0,s.jsx)(v,{imageData:M,onDownload:_,onReset:()=>S(null)}):(0,s.jsx)(j,{onImageProcessed:C})}),M&&(0,s.jsx)("div",{className:"w-full flex justify-center pb-8"})]}),(0,s.jsx)("div",{className:"w-full flex items- justify-center pb-10 md:pb-20 pt-12 md:pt-20",children:(0,s.jsxs)("div",{className:"w-full lg:max-w-7xl justify-center items-center flex flex-col gap-2",children:[(0,s.jsx)("div",{className:"uppercase text-xs font-semibold tracking-wider text-gray-500 mb-2",children:p("freePfp.asSeenOn")}),(0,s.jsxs)("div",{className:"flex gap-4 md:gap-8 opacity-60 items-center grayscale justify-center flex-wrap select-none px-4",children:[(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 1000 291.379",enableBackgroun
2d:"new 0 0 1000 291.379",xmlSpace:"preserve",className:"w-20 h-10",children:(0,s.jsxs)("g",{children:[(0,s.jsx)("path",{fill:"#FF004F",d:"M191.102,105.182c18.814,13.442,41.862,21.351,66.755,21.351V78.656c-4.711,0.001-9.41-0.49-14.019-1.466v37.686c-24.891,0-47.936-7.909-66.755-21.35v97.703c0,48.876-39.642,88.495-88.54,88.495c-18.245,0-35.203-5.513-49.29-14.968c16.078,16.431,38.5,26.624,63.306,26.624c48.901,0,88.545-39.619,88.545-88.497v-97.701H191.102z M208.396,56.88c-9.615-10.499-15.928-24.067-17.294-39.067v-6.158h-13.285C181.161,30.72,192.567,47.008,208.396,56.88L208.396,56.88z M70.181,227.25c-5.372-7.04-8.275-15.652-8.262-24.507c0-22.354,18.132-40.479,40.502-40.479c4.169-0.001,8.313,0.637,12.286,1.897v-48.947c-4.643-0.636-9.329-0.906-14.013-0.807v38.098c-3.976-1.26-8.122-1.9-12.292-1.896c-22.37,0-40.501,18.123-40.501,40.48C47.901,206.897,56.964,220.583,70.181,227.25z"}),(0,s.jsx)("path",{d:"M177.083,93.525c18.819,13.441,41.864,21.35,66.755,21.35V77.189c-13.894-2.958-26.194-10.215-35.442-20.309c-15.83-9.873-27.235-26.161-30.579-45.225h-34.896v191.226c-0.079,22.293-18.18,40.344-40.502,40.344c-13.154,0-24.84-6.267-32.241-15.975c-13.216-6.667-22.279-20.354-22.279-36.16c0-22.355,18.131-40.48,40.501-40.48c4.286,0,8.417,0.667,12.292,1.896v-38.098c-48.039,0.992-86.674,40.224-86.674,88.474c0,24.086,9.621,45.921,25.236,61.875c14.087,9.454,31.045,14.968,49.29,14.968c48.899,0,88.54-39.621,88.54-88.496V93.525L177.083,93.525z"}),(0,s.jsx)("path",{fill:"#00F2EA",d:"M243.838,77.189V66.999c-12.529,0.019-24.812-3.488-35.442-10.12C217.806,67.176,230.197,74.276,243.838,77.189z M177.817,11.655c-0.319-1.822-0.564-3.656-0.734-5.497V0h-48.182v191.228c-0.077,22.29-18.177,40.341-40.501,40.341c-6.554,0-12.742-1.555-18.222-4.318c7.401,9.707,19.087,15.973,32.241,15.973c22.32,0,40.424-18.049,40.502-40.342V11.655H177.817z M100.694,114.408V103.56c-4.026-0.55-8.085-0.826-12.149-0.824C39.642,102.735,0,142.356,0,191.228c0,30.64,15.58,57.643,39.255,73.527c-15.615-15.953-25.236-37.789-25.236-61.874C14.019,154.632,52.653,115.4,100.694,114.408z"}),(0,s.jsx)("path",{fill:"#FF004F",d:"M802.126,239.659c34.989,0,63.354-28.136,63.354-62.84c0-34.703-28.365-62.844-63.354-62.844h-9.545c34.99,0,63.355,28.14,63.355,62.844s-28.365,62.84-63.355,62.84H802.126z"}),(0,s.jsx)("path",{fill:"#00F2EA",d:"M791.716,113.975h-9.544c-34.988,0-63.358,28.14-63.358,62.844s28.37,62.84,63.358,62.84h9.544c-34.993,0-63.358-28.136-63.358-62.84C728.357,142.116,756.723,113.975,791.716,113.975z"}),(0,s.jsx)("path",{d:"M310.062,85.572v31.853h37.311v121.374h37.326V118.285h30.372l10.414-32.712H310.062z M615.544,85.572v31.853h37.311v121.374h37.326V118.285h30.371l10.413-32.712H615.544z M432.434,103.648c0-9.981,8.146-18.076,18.21-18.076c10.073,0,18.228,8.095,18.228,18.076c0,9.982-8.15,18.077-18.228,18.077C440.58,121.72,432.434,113.63,432.434,103.648z M432.434,134.641h36.438v104.158h-36.438V134.641z M484.496,85.572v153.226h36.452v-39.594l11.283-10.339l35.577,50.793h39.05l-51.207-74.03l45.997-44.768h-44.258l-36.442,36.153V85.572H484.496z M877.623,85.572v153.226h36.457v-39.594l11.278-10.339l35.587,50.793H1000l-51.207-74.03l45.995-44.768h-44.256l-36.452,36.153V85.572H877.623z"}),(0,s.jsx)("path",{d:"M792.578,239.659c34.988,0,63.358-28.136,63.358-62.84c0-34.703-28.37-62.844-63.358-62.844h-0.865c-34.99,0-63.355,28.14-63.355,62.844s28.365,62.84,63.355,62.84H792.578z M761.336,176.819c0-16.881,13.8-30.555,30.817-30.555c17.005,0,30.804,13.674,30.804,30.555s-13.799,30.563-30.804,30.563C775.136,207.379,761.336,193.7,761.336,176.819z"})]})}),(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"-40.125525 -16.3118 347.75455 97.8708",className:"w-24 h-10 shrink-0",children:[(0,s.jsx)("path",{d:"M263.744 61.1094a1.2 1.2 0 001.21-1.269c0-.9-.543-1.33-1.657-1.33h-1.8v4.712h.677v-2.054h.832l.019.025 1.291 2.029h.724l-1.389-2.1zm-.783-.472h-.785v-1.593h.995c.514 0 1.1.084 1.1.757 0 .774-.593.836-1.314.836M0 9.5874h9.993v36.4h18.5v9.222H0zm32.911 14.689h9.6v30.916h-9.6zm4.8-15.37a5.569 5.569 0 11-5.57 5.569 5.569 5.569 0 015.57-5.569m44.958.674h9.6v27.265l10.88-12.583h11.77l-12.6 14.313 12.335 16.63h-12.066l-10.191-15.282h-.126v15.28h-9.6zm-34.835 14.699h9.219v4.225h.131a10.085 10.085 0 019.09-4.994c9.735 0 11.527 6.405 11.527 14.726v16.954h-9.6v-15.031c0-3.588-.066-8.2-5-8.2-4.99 0-5.76 3.907-5.76 7.939v15.288h-9.6z"}),(0,s.jsx)("path",{d:"M135.136 36.1384a5.756 5.756 0 00-5.894-5.89 6.406 6.406 0 00-6.784 5.89zm8.132 13.7a16.909 16.909 0 01-13.128 6.151c-9.6 0-17.286-6.408-17.286-16.331 0-9.923 7.685-16.328 17.286-16.328 8.973 0 14.6 6.4 14.6 16.328v3.01h-22.282a7.171 7.171 0 007.235 6.019 8.193 8.193 0 006.851-3.778zm21.482-18.089c-4.8 0-7.68 3.205-7.68 7.875s2.879 7.878 7.68 7.878 7.687-3.2 7.687-7.878-2.881-7.875-7.687-7.875m16.525 23.437h-8.838v-4.1h-.131a12.071 12.071 0 01-9.544 4.868c-9.224 0-15.3-6.657-15.3-16.071 0-8.646 5.377-16.585 14.216-16.585 3.973 0 7.684 1.087 9.861 4.1h.126V9.5774h9.609zm64.809.018h-9.6v-15.034c0-3.585-.064-8.2-4.993-8.2-5 0-5.765 3.906-5.765 7.939v15.294h-9.6v-30.916h9.216v4.225h.129a10.1 10.1 0 019.093-4.994c9.73 0 11.524 6.4 11.524 14.726zm-40.79-35.143a5.571 5.571 0 115.57-5.572 5.571 5.571 0 01-5.57 5.572m4.8 35.143h-9.61v-30.917h9.61zm40.776-55.2h-55.21a4.728 4.728 0 00-4.781 4.67v55.439a4.731 4.731 0 004.781 4.675h55.21a4.741 4.741 0 004.8-4.67m12.173 56.411a4.418 4.418 0 10.085 0h-.085m0 8.33a3.874 3.874 0 113.809-3.938v.065a3.791 3.791 0 01-3.708 3.871h-.1"})]}),(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"2500",height:"840",viewBox:"0.182 0.548 511.304 171.879",className:"w-20 h-10 shrink-0",children:[(0,s.jsx)("path",{d:"M47.5 1c-3.4 1.3-9 8.3-12.3 15.2-4.5 9.6-6.5 18.1-6.5 27.9 0 7.1.4 9.4 2.7 14.5 1.5 3.2 3.9 7.2 5.4 8.8 3.4 3.6 9.7 6.5 14 6.6 2.7 0 3.2.4 3.2 2.5 0 1.4-.9 4.7-1.9 7.5-4.4 11.5-13.3 18-25 18-8.3 0-14.3-2.7-16.5-7.4-2.7-5.7-2.1-9.2 2.5-14.8 3.1-3.6 4.3-6 4.7-9.3.4-4 .2-4.6-1.9-5.3-5.7-2.1-12.8 3.2-15 11-.6 2.4-.9 6.9-.6 10.1 1.5 16.4 13.8 24.8 34.2 23.4 11.2-.8 17-3 23.1-9.2C64 94.2 66.7 87.1 68 74.1c1.1-11 1.3-53.1.4-64.4-.7-7.6-.7-7.7-3.8-8.1C57.5.5 49.4.2 47.5 1zm6.2 14.2c.6.8.8 10.6.5 24.5-.4 21.6-.6 23.3-2.3 23.8-3.3 1.1-7.3-1.7-9.9-7-2.3-4.5-2.5-6.2-2.5-17 0-13 1.1-17.7 5.2-22.5 2.6-3.2 7.2-4.1 9-1.8zM174.6 3.7c-.3.8-.6 3.8-.6 6.6 0 2.9-.3 8.2-.7 11.9l-.6 6.8h-4.6c-4.5 0-11.8 1.4-12.8 2.3-.2.3 0 1.4.6 2.5 1 1.8 3.1 2.6 13.9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.3 26.7 5.2 7.3-1.5 11.7-5 11.7-9.4 0-4.3-1.5-6.2-11.9-14.6-10.4-8.4-12.1-10.6-12.1-15.5 0-7.2 8.9-11.5 14.1-6.9 2.4 2.2 4.5 1.7 7.4-1.7 2.1-2.5 2.5-4 2.3-7.3-.3-3.4-.8-4.3-3.3-5.5-5.6-2.7-23.9 2.2-30.4 8.2-5.2 4.8-6.4 12.2-3.1 18.6 1.5 3.1 1.7 4 .6 4.4-.7.3-1.6 2.5-2 4.8-1.6 10.1-6.9 17-10.5 13.5-1.3-1.4-1.6-4.4-1.8-18-.1-12.5-.5-17.1-1.7-19.4-1.7-3.3-5.6-4.8-8.6-3.2-2.5 1.3-6.5 8.2-10.1 17.3l-2.8 7.2-.1-16.2c0-15.7-.1-16.3-2.2-17.7-3.1-1.9-8.5-2.9-9.2-1.8zm66.9 47.5c2.4 2.1 4.5 4.6 4.8 5.7 1.5 5.6-6.7 7.2-13.1 2.5-2.1-1.5-4.9-3.5-6.5-4.4-1.7-1-2.5-2.1-2.1-3.1.3-.8 1.1-4 1.7-7.1l1.1-5.7 5 4.2c2.7 2.2 6.8 5.8 9.1 7.9z"})]})]})]})})]}),(0,s.jsx)(h,{}),(0,s.jsx)("div",{className:"w-full flex items- justify-center py-20 md:py-36 bg-orange-50",children:(0,s.jsxs)("div",{className:"flex w-full lg:max-w-7xl px-5 flex-col text-black items-center justify-center",children:[(0,s.jsx)("div",{className:"text-md px-2 md:text-xl text-orange-500 max-w-2xl font-semibold text-center mb-6 ",children:p("wantHeadshotsToday")}),(0,s.jsx)("div",{style:{lineHeight:1.1},className:"text-3xl md:text-5xl text-center font-bold max-w-3xl tracking-tight ",children:p("heading")}),(0,s.jsx)("div",{className:"text-md text-gray-800 max-w-2xl opacity-80 text-center mt-4 ",children:p("subHeading")}),(0,s.jsx)("div",{className:"flex flex-col gap-1 items-center "}),(0,s.jsxs)("div",{className:"flex flex-col md:flex-row gap-2 md:gap-4 items-center w-full md:w-auto",children:[(0,s.jsx)(c(),{className:"py-3 px-2 md:px-8 mt-5 mb-2 shadow-md md:mt-6 text-xl flex w-full md:w-auto md:inline-flex justify-center items-center rounded-full font-semibold bg-gradient-to-r from-orange-500 to-orange-500 text-white hover:from-orange-500 hover:to-orange-600 focus:outline-none focus:ring-2 focus:ring-orange-500 focus:ring-offset-2 transition-all duration-200 transform hover:scale-105",href:"/?ref=freeprofilepicmaker",children:(0,s.jsxs)("span",{className:"flex items-center",suppressHydrationWarning:!0,children:[p("buttonText")," ",(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"ml-2 w-6 h-6",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3"})})]})}),(0,s.jsx)("div",{className:"hidden md:flex items-center justify-center mt-6",children:(0,s.jsx)("span",{className:"text-sm text-gray-500 font-medium",suppressHydrationWarning:!0,children:p("or",{ns:"app"})})}),(0,s.jsx)(c(),{prefetch:!1,className:"py-3 px-2 md:px-8 mt-4 md:mt-6 text-xl hidden md:flex w-full md:w-auto justify-center items-center rounded-full font-semibold bg-transparent text-orange-500 border border-orange-400 hover:bg-orange-50 focus:outline-none focus:ring-2 focus:ring-orange-500 focus:ring-offset-2 transition-all duration-200 transform hover:scale-105",href:"/company-headshots",children:(0,s.jsx)("span",{suppressHydrationWarning:!0,children:p("forTeams",{ns:"footer"})})})]}),a&&(0,s.jsxs)("div",{className:"flex items-center gap-1 flex-col md:flex-row pt-1 pb-1 mt-6",children:[(0,s.jsxs)("div",{className:"flex md:hidden items-center flex-col md:flex-row pt-2.5 pb-1",children:[(0,s.jsxs)("div",{className:"mb-2 flex items-center justify-center gap-2",children:[(0,s.jsxs)("div",{className:"flex -sp
2ace-x-2.5 flex-shrink-0",children:[(0,s.jsx)(l(),{priority:!0,width:48,height:48,className:"rounded-full w-8 h-8 md:w-12 md:h-12 object-cover object-top border-2 border-white",alt:p("customerAvatar",{ns:"common",defaultValue:"Elise Lambert - Dr. Headshot Customer"}),src:"https://storage.googleapis.com/drheadshot/static/reviews/3a3a6723-b5da-4914-a6d6-c72f6e8af9e9.jpg"}),(0,s.jsx)(l(),{priority:!0,width:48,height:48,className:"rounded-full w-8 h-8 md:w-12 md:h-12 object-cover object-top border-2 border-white",alt:p("customerAvatar",{ns:"common",defaultValue:"Lars Svensson - Dr. Headshot Customer"}),src:"https://storage.googleapis.com/drheadshot/static/reviews/a4dedc02-a551-4f13-a3ca-524ce13089f0.jpg"}),(0,s.jsx)(l(),{priority:!0,width:48,height:48,className:"rounded-full w-8 h-8 md:w-12 md:h-12 object-cover object-top border-2 border-white",alt:p("customerAvatar",{ns:"common",defaultValue:"Dr. Headshot Customer"}),src:"https://storage.googleapis.com/drheadshot/static/reviews/3ab5f5c1-b374-48ea-ba09-533bddc290e7.jpg"}),(0,s.jsx)(l(),{priority:!0,width:48,height:48,className:"rounded-full w-8 h-8 md:w-12 md:h-12 object-cover object-top border-2 border-white",alt:p("customerAvatar",{ns:"common",defaultValue:"Dr. Headshot Customer"}),src:"https://storage.googleapis.com/drheadshot/static/reviews/c9ea545d-1a39-4c2a-92fe-95930b5c889b.jpg"})]}),(0,s.jsx)("div",{className:"flex items-center justify-center gap-2",children:(0,s.jsx)(y,{})})]}),(0,s.jsx)(c(),{href:"/reviews",prefetch:!1,className:"text-sm font-normal text-gray-700 hover:text-orange-600 transition-colors cursor-pointer",children:(0,s.jsx)(m.cC,{i18nKey:"basedOnReviews",ns:"common",values:{count:"6.673+"},components:{highlight:(0,s.jsx)("span",{className:"font-semibold"})}})})]}),(0,s.jsx)("div",{className:"hidden md:flex text-sm flex-col text-gray-600 gap-2 items-center md:mt-3",children:(0,s.jsxs)("div",{className:"flex items-start flex-row gap-3",children:[(0,s.jsxs)("div",{className:"flex -space-x-2.5",children:[(0,s.jsx)(l(),{priority:!0,width:48,height:48,className:"rounded-full w-12 h-12 object-cover object-top border-2 border-white",alt:p("customerAvatar",{ns:"common",defaultValue:"Elise Lambert - Dr. Headshot Customer"}),src:"https://storage.googleapis.com/drheadshot/static/reviews/3a3a6723-b5da-4914-a6d6-c72f6e8af9e9.jpg"}),(0,s.jsx)(l(),{priority:!0,width:48,height:48,className:"rounded-full w-12 h-12 object-cover object-top border-2 border-white",alt:p("customerAvatar",{ns:"common",defaultValue:"Lars Svensson - Dr. Headshot Customer"}),src:"https://storage.googleapis.com/drheadshot/static/reviews/a4dedc02-a551-4f13-a3ca-524ce13089f0.jpg"}),(0,s.jsx)(l(),{priority:!0,width:48,height:48,className:"rounded-full w-12 h-12 object-cover object-top border-2 border-white",alt:p("customerAvatar",{ns:"common",defaultValue:"Dr. Headshot Customer"}),src:"https://storage.googleapis.com/drheadshot/static/reviews/3ab5f5c1-b374-48ea-ba09-533bddc290e7.jpg"}),(0,s.jsx)(l(),{priority:!0,width:48,height:48,className:"rounded-full w-12 h-12 object-cover object-top border-2 border-white",alt:p("customerAvatar",{ns:"common",defaultValue:"Dr. Headshot Customer"}),src:"https://storage.googleapis.com/drheadshot/static/reviews/c9ea545d-1a39-4c2a-92fe-95930b5c889b.jpg"})]}),(0,s.jsxs)("div",{className:"flex items-start flex-col gap-1",children:[(0,s.jsx)("div",{className:"flex items-center gap-2",children:(0,s.jsx)(y,{})}),(0,s.jsx)(c(),{href:"/reviews",prefetch:!1,className:"text-sm font-normal text-gray-700 hover:text-orange-600 transition-colors cursor-pointer",children:(0,s.jsx)(m.cC,{i18nKey:"basedOnReviews",ns:"common",values:{count:"6.673+"},components:{highlight:(0,s.jsx)("span",{className:"font-semibold"})}})})]})]})})]}),(0,s.jsxs)("div",{className:"w-full mt-8",children:[(0,s.jsx)("div",{className:"text-center pb-4 text-sm opacity-80 px-4 text-gray-600",children:p("notReal")}),(0,s.jsx)("div",{className:"pb-10 pt-2 w-full",children:(0,s.jsx)(u.default,{reviews:r,hideButtons:!0,limit:8})})]})]})}),w&&(0,s.jsx)("div",{className:"fixed z-[9999] inset-0 overflow-y-auto",children:(0,s.jsxs)("div",{className:"flex items-center justify-center min-h-screen w-full px-4 py-8",children:[(0,s.jsx)("div",{className:"fixed inset-0 transition-opacity",onClick:()=>b(!1),children:(0,s.jsx)("div",{className:"absolute inset-0 bg-black opacity-75"})}),(0,s.jsxs)("div",{className:"align-middle bg-white flex flex-col items-center py-10 rounded-xl overflow-hidden shadow-xl transform transition-all px-4 md:px-20 md:max-w-4xl w-full overflow-y-auto",children:[(0,s.jsx)("button",{className:"absolute top-5 right-5 p-1.5 rounded-full hover:bg-gray-200 shadow-md bg-white border focus:outline-none",onClick:e=>{e.stopPropagation(),b(!1)},children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"w-5 h-5 text-gray-500",children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M10 8.586l3.293-3.293a1 1 0 011.414 1.414L11.414 10l3.293 3.293a1 1 0 01-1.414 1.414L10 11.414l-3.293 3.293a1 1 0 01-1.414-1.414L8.586 10 5.293 6.707a1 1 0 011.414-1.414L10 8.586z",clipRule:"evenodd"})})}),(0,s.jsx)("div",{className:"text-sm md:text-lg text-orange-500 max-w-2xl font-semibold text-center mb-4 mt-5 ",children:p("wantHeadsh
2otsToday")}),(0,s.jsx)("div",{style:{lineHeight:1.2},className:"text-2xl md:text-4xl text-center font-bold max-w-3xl tracking-tight ",children:p("heading")}),(0,s.jsx)("div",{className:"text-md md:text-lg text-gray-800 max-w-2xl opacity-80 text-center mt-4 ",children:p("subHeading")}),(0,s.jsx)("div",{className:"flex flex-col gap-1 items-center "}),(0,s.jsx)("div",{className:"w-auto",children:(0,s.jsx)(c(),{className:"py-3 px-8 md:px-8 mt-5 mb-2 shadow-md md:mt-6 text-lg flex w-full md:w-auto md:inline-flex justify-center items-center rounded-full font-semibold bg-gradient-to-r from-orange-500 to-yellow-400 text-white hover:from-orange-500 hover:to-orange-600 focus:outline-none focus:ring-2 focus:ring-orange-500 focus:ring-offset-2 transition-all",href:"/?ref=freeprofilepicmaker",children:(0,s.jsxs)("button",{type:"button",className:"flex items-center",children:[p("buttonText")," "]})})}),(0,s.jsx)("div",{className:"text-center py-4 text-xs opacity-80 px-4 md:px-0 pt-4 text-gray-600",children:p("notReal")}),(0,s.jsxs)("div",{className:"flex flex-col md:flex-row gap-12 px-2",children:[(0,s.jsxs)("div",{className:"hidden md:flex flex-col flex-1",children:[(0,s.jsxs)("div",{className:"mb-2 opacity-70",children:[(0,s.jsx)("span",{className:"font-bold text-sm",children:p("freePfp.jurgenGunz")}),(0,s.jsx)("span",{className:"ml-1 text-sm",children:p("freePfp.aiEngineer")})]}),(0,s.jsxs)("div",{className:"flex flex-1 justify-start w-full items-center gap-2 mb-1.5",children:[(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)("img",{className:"max-h-16",src:"https://storage.googleapis.com/drheadshot/static/input_imgs.png"})}),(0,s.jsxs)("svg",{className:"text-gray-400","enable-background":"new 0 0 50 50",height:"30px",id:"Layer_1",version:"1.1",viewBox:"0 0 50 50",width:"30px",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{fill:"none",height:"50",width:"50"}),(0,s.jsx)("path",{d:"M15.603,29L30,48l14.396-19 H35C35,0,6,1,6,1s19,1.373,19,28H15.603z",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2"})]})]}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-2",children:[(0,s.jsx)("img",{className:"w-full rounded-2xl aspect-[5/4] object-cover object-top",src:"https://storage.googleapis.com/drheadshot/static/preview22.jpg"}),(0,s.jsx)("img",{className:"w-full rounded-2xl aspect-[5/4] object-cover object-top",src:"https://storage.googleapis.com/drheadshot/static/preview17.jpg"})]})]}),(0,s.jsxs)("div",{className:"flex flex-col flex-1 items-center md:items-end",children:[(0,s.jsxs)("div",{className:"mb-2 opacity-70",children:[(0,s.jsx)("span",{className:"font-bold text-sm",children:p("freePfp.marcBugnon")}),(0,s.jsx)("span",{className:"ml-1 text-sm",children:p("freePfp.teacher")})]}),(0,s.jsxs)("div",{className:"flex flex-1 justify-end w-full items-center gap-2 mb-1.5",children:[(0,s.jsxs)("svg",{height:"30px",className:"text-gray-400 ",id:"Layer_1",version:"1.1",viewBox:"0 0 50 50",width:"30px",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{fill:"none",height:"50",width:"50"}),(0,s.jsx)("path",{d:"M34.397,29L20,48L5.604,29 H15C15,0,44,1,44,1S25,2.373,25,29H34.397z",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2"})]}),(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)("img",{className:"max-h-16 ",src:"https://storage.googleapis.com/drheadshot/static/input_imgs2.png"})}),(0,s.jsxs)("svg",{height:"30px",className:"text-gray-400 block md:hidden",id:"Layer_1",version:"1.1",viewBox:"0 0 50 50",width:"30px",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{fill:"none",height:"50",width:"50"}),(0,s.jsx)("path",{d:"M15.603,29L30,48l14.396-19 H35C35,0,6,1,6,1s19,1.373,19,28H15.603z",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2"})]})]}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-2",children:[(0,s.jsx)("img",{className:"w-full rounded-2xl aspect-[5/4] object-cover object-top",src:"https://storage.googleapis.com/drheadshot/static/preview23.jpg"}),(0,s.jsx)("img",{className:"w-full rounded-2xl aspect-[5/4] object-cover object-top",src:"https://storage.googleapis.com/drheadsh
2ot/static/preview30.jpg"})]})]})]})]})]})}),(0,s.jsx)(o.default,{}),(0,s.jsx)(g.default,{openFromParent:N})]})})})}let y=d.memo(()=>(0,s.jsxs)("div",{className:"flex px-2.5 py-1 rounded items-center",style:{background:"#fffcf2",border:"1px solid rgb(255 222 122)"},children:[[1,2,3,4,5].map(e=>(0,s.jsx)("div",{className:"flex items-center border-yellow-400 justify-center",children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#FBBC05",className:"w-5 h-5 md:w-6 md:h-6",children:(0,s.jsx)("path",{d:"M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"})})},e)),(0,s.jsx)("div",{className:"text-lg font-bold text-black ml-3 mr-0.5",children:"4.8"})]}));y.displayName="CustomStarRating"}},function(e){e.O(0,[4885,1664,5675,7015,1323,3079,9774,2888,179],function(){return e(e.s=47687)}),_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.