1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[181],{1073:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/sorteio-de-nomes",function(){return s(2361)}])},2441:function(e,t,s){"use strict";s.d(t,{Z:function(){return useAnimationSettings}});var a=s(7294);let r="instasorteio-fx",o="instasorteio-sound";function useAnimationSettings(){let[e,t]=(0,a.useState)(!0),[s,n]=(0,a.useState)(!0);(0,a.useEffect)(()=>{let e=localStorage.getItem(r);"false"===e&&t(!1);let s=localStorage.getItem(o);"false"===s&&n(!1)},[]);let l=(0,a.useCallback)(()=>{t(e=>{let t=!e;return localStorage.setItem(r,String(t)),t})},[]),i=(0,a.useCallback)(()=>{n(e=>{let t=!e;return localStorage.setItem(o,String(t)),t})},[]);return{isEnabled:e,toggle:l,isSoundEnabled:s,toggleSound:i}}},7769:function(e,t,s){"use strict";s.d(t,{Z:function(){return useSound}});var a=s(7294);function useSound(){let e=(0,a.useRef)(null),t=(0,a.useCallback)(()=>(e.current||(e.current=new AudioContext),e.current),[]),s=(0,a.useCallback)(function(e,s){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"square",r=t(),o=r.createOscillator(),n=r.createGain();o.type=a,o.frequency.value=e,n.gain.setValueAtTime(.15,r.currentTime),n.gain.exponentialRampToValueAtTime(.001,r.currentTime+s/1e3),o.connect(n),n.connect(r.destination),o.start(r.currentTime),o.stop(r.currentTime+s/1e3)},[t]),r=(0,a.useCallback)(()=>{s(800,80)},[s]),o=(0,a.useCallback)(()=>{let e=t();[400,600,800].forEach((t,s)=>{let a=e.createOscillator(),r=e.createGain();a.type="square",a.frequency.value=t,r.gain.setValueAtTime(.12,e.currentTime+.12*s),r.gain.exponentialRampToValueAtTime(.001,e.currentTime+.12*s+.2),a.connect(r),r.connect(e.destination),a.start(e.currentTime+.12*s),a.stop(e.currentTime+.12*s+.2)})},[t]),n=(0,a.useCallback)(()=>{let e=t(),s=.6*e.sampleRate,a=e.createBuffer(1,s,e.sampleRate),r=a.getChannelData(0);for(let e=0;e<s;e++)r[e]=(2*Math.random()-1)*.3;let o=e.createBufferSource();o.buffer=a;let n=e.createGain();n.gain.setValueAtTime(.15,e.currentTime),n.gain.exponentialRampToValueAtTime(.001,e.currentTime+.6);let l=e.createBiquadFilter();l.type="bandpass",l.frequency.value=800,l.Q.value=.5,o.connect(l),l.connect(n),n.connect(e.destination),o.start(),o.stop(e.currentTime+.6)},[t]),l=(0,a.useCallback)(()=>{let e=t(),s=e.currentTime;for(let t=0;t<30;t++){let a=t/30,r=.06+a*a*.25,o=1200-400*a,n=.12-.06*a,l=e.createOscillator(),i=e.createGain();l.type="sine",l.frequency.value=o,i.gain.setValueAtTime(Math.max(n,.02),s),i.gain.exponentialRampToValueAtTime(.001,s+.04),l.connect(i),i.connect(e.destination),l.start(s),l.stop(s+.05),s+=r}},[t]),i=(0,a.useCallback)(()=>{let e=t(),s=[.12,.12,.12,.25,.12,.35],a=0;[523,659,784,1047,784,1047].forEach((t,r)=>{let o=e.createOscillator(),n=e.createGain();o.type="sine",o.frequency.value=t,n.gain.setValueAtTime(.18,e.currentTime+a),n.gain.exponentialRampToValueAtTime(.001,e.currentTime+a+s[r]),o.connect(n),n.connect(e.destination),o.start(e.currentTime+a),o.stop(e.currentTime+a+s[r]+.05),a+=s[r]})},[t]);return{playTick:r,playReveal:o,playDiceRoll:n,playWheelSpin:l,playCelebration:i}}},2361:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return SorteioDeNomes}});var a=s(5893),r=s(5379),o=s.n(r),n=s(9008),l=s.n(n),i=s(5675),c=s.n(i),d=s(1664),f=s.n(d),x=s(7294),m=s(1163),b=s(448),p=s(7769),h=s(2441),u=s(3403);function SorteioDeNomes(){let{t:e}=(0,b.Z)(),[t,s]=(0,x.useState)(!1);(0,x.useEffect)(()=>(document.body.style.overflow=t?"hidden":"",()=>{document.body.style.overflow=""}),[t]);let r=(0,m.useRouter)(),{locale:n}=r,{playTick:i,playCelebration:d}=(0,p.Z)(),{isEnabled:j,toggle:g,isSoundEnabled:y,toggleSound:w}=(0,h.Z)(),[v,N]=(0,x.useState)(""),[k,S]=(0,x.useState)(1),[C,T]=(0,x.useState)(!1),[z,A]=(0,x.useState)([]),[D,_]=(0,x.useState)([]),[$,I]=(0,x.useState)(!1),[q,F]=(0,x.useState)(null),[R,L]=(0,x.useState)(!1),[M,E]=(0,x.useState)(0),[O,P]=(0,x.useState)(!1),[U,V]=(0,x.useState)(null),[B,Q]=(0,x.useState)(!1),G=[{id:1,icon:"/images/instagram.svg",title:`${e("drawInstagram")}`,description:`${e("InstaDescriptionApps")}`,url:`/${n}/sorteio/instagram`},{id:2,icon:"/images/dice.svg",title:`${e("dice")}`,description:`${e("DiceDescriptionApps")}`,url:"/sorteio-de-dados"},{id:3,icon:"/images/numbers.svg",title:`${e("numbers")}`,description:`${e("NumbersDescriptionApps")}`,url:"/sorteio-de-numeros"},{id:4,icon:"/images/names.svg",title:`${e("names")}`,description:`${e("NamesDescriptionApps")}`,url:"/sorteio-de-nomes"},{id:5,icon:"/images/wheel.png",title:`${e("wheel")}`,description:`${e("WheelDescriptionApps")}`,url:"/sorteio-de-roleta"},{id:6,icon:"/images/coin.svg",title:`${e("drawCoinFlip")}`,description:`${e("CoinFlipDescriptionApps")}`,url:"/sorteio-de-cara-ou-coroa"}],W=[{id:1,question:e("namesFaq1Q"),answer:e("namesFaq1A")},{id:2,question:e("namesFaq2Q"),answer:e("namesFaq2A")},{id:3,question:e("namesFaq3Q"),answer:e("namesFaq3A")},{id:4,question:e("namesFaq4Q"),answer:e("namesFaq4A")}],getParticipants=()=>{let e=v.split("\n").map(e=>e.trim()).filter(e=>e.length>0);return C&&(e=Array.from(new Set(e))),e},Z=getParticipants();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(l(),{children:[(0,a.jsx)("title",{className:"jsx-63e7f28eb737f93d",children:`${e("seoNamesTitle")} - InstaSorteio`}),(0,a.jsx)("meta",{name:"description",content:e("seoNamesDescription"),className:"jsx-63e7f28eb737f93d"},"description"),(0,a.jsx)("meta",{name:"keywords",content:e("seoKeywordsNames"),className:"jsx-63e7f28eb737f93d"}),(0,a.jsx)("meta",{property:"og:title",content:`${e("seoNamesTitle")} - InstaSorteio`,className:"jsx-63e7f28eb737f93d"},"og:title"),(0,a.jsx)("meta",{property:"og:description",content:e("seoNamesDescription"),className:"jsx-63e7f28eb737f93d"},"og:description"),(0,a.jsx)("meta",{property:"og:image",content:`https://instasorteio.com/api/og?type=nomes&title=${encodeURIComponent(e("seoNamesTitle"))}&description=${encodeURIComponent(e("seoNamesDescription"))}`,className:"jsx-63e7f28eb737f93d"},"og:image"),(0,a.jsx)("meta",{property:"og:image:width",content:"12
100",className:"jsx-63e7f28eb737f93d"}),(0,a.jsx)("meta",{property:"og:image:height",content:"630",className:"jsx-63e7f28eb737f93d"}),(0,a.jsx)("meta",{property:"og:type",content:"website",className:"jsx-63e7f28eb737f93d"}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image",className:"jsx-63e7f28eb737f93d"}),(0,a.jsx)("meta",{property:"og:locale",content:"pt"===n?"pt_BR":"es"===n?"es_ES":"en_US",className:"jsx-63e7f28eb737f93d"}),(0,a.jsx)("meta",{property:"og:locale:alternate",content:"pt"!==n?"pt_BR":"en_US",className:"jsx-63e7f28eb737f93d"}),(0,a.jsx)("meta",{property:"og:locale:alternate",content:"es"!==n?"es_ES":"en_US",className:"jsx-63e7f28eb737f93d"}),(0,a.jsx)("meta",{name:"twitter:title",content:`${e("seoNamesTitle")} - InstaSorteio`,className:"jsx-63e7f28eb737f93d"},"twitter:title"),(0,a.jsx)("meta",{name:"twitter:description",content:e("seoNamesDescription"),className:"jsx-63e7f28eb737f93d"},"twitter:description"),(0,a.jsx)("meta",{name:"twitter:image",content:`https://instasorteio.com/api/og?type=nomes&title=${encodeURIComponent(e("seoNamesTitle"))}&description=${encodeURIComponent(e("seoNamesDescription"))}`,className:"jsx-63e7f28eb737f93d"},"twitter:image"),(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:W.map(e=>({"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:e.answer}}))})},className:"jsx-63e7f28eb737f93d"}),(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"InstaSorteio",item:"https://instasorteio.com"},{"@type":"ListItem",position:2,name:e("seoNamesTitle"),item:"https://instasorteio.com/sorteio-de-nomes"}]})},className:"jsx-63e7f28eb737f93d"}),(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"WebApplication",name:e("seoNamesTitle"),url:"https://instasorteio.com/sorteio-de-nomes",applicationCategory:"UtilitiesApplication",operatingSystem:"All",offers:{"@type":"Offer",price:"0",priceCurrency:"BRL"}})},className:"jsx-63e7f28eb737f93d"})]}),(0,a.jsx)(o(),{id:"63e7f28eb737f93d",children:"@-webkit-keyframes countdown-pop{0%{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}50%{-webkit-transform:scale(1.15);transform:scale(1.15);opacity:1}100%{-webkit-transform:scale(1);transform:scale(1);opacity:.9}}@-moz-keyframes countdown-pop{0%{-moz-transform:scale(.5);transform:scale(.5);opacity:0}50%{-moz-transform:scale(1.15);transform:scale(1.15);opacity:1}100%{-moz-transform:scale(1);transform:scale(1);opacity:.9}}@-o-keyframes countdown-pop{0%{-o-transform:scale(.5);transform:scale(.5);opacity:0}50%{-o-transform:scale(1.15);transform:scale(1.15);opacity:1}100%{-o-transform:scale(1);transform:scale(1);opacity:.9}}@keyframes countdown-pop{0%{-webkit-transform:scale(.5);-moz-transform:scale(.5);-o-transform:scale(.5);transform:scale(.5);opacity:0}50%{-webkit-transform:scale(1.15);-moz-transform:scale(1.15);-o-transform:scale(1.15);transform:scale(1.15);opacity:1}100%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1);opacity:.9}}.animate-countdown{-webkit-animation:countdown-pop.4s cubic-bezier(.34,1.56,.64,1)forwards;-moz-animation:countdown-pop.4s cubic-bezier(.34,1.56,.64,1)forwards;-o-animation:countdown-pop.4s cubic-bezier(.34,1.56,.64,1)forwards;animation:countdown-pop.4s cubic-bezier(.34,1.56,.64,1)forwards}@-webkit-keyframes result-scale-in{0%{-webkit-transform:scale(.6);transform:scale(.6);opacity:0}70%{-webkit-transform:scale(1.05);transform:scale(1.05);opacity:1}100%{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@-moz-keyframes result-scale-in{0%{-moz-transform:scale(.6);transform:scale(.6);opacity:0}70%{-moz-transform:scale(1.05);transform:scale(1.05);opacity:1}100%{-moz-transform:scale(1);transform:scale(1);opacity:1}}@-o-keyframes result-scale-in{0%{-o-transform:scale(.6);transform:scale(.6);opacity:0}
170%{-o-transform:scale(1.05);transform:scale(1.05);opacity:1}100%{-o-transform:scale(1);transform:scale(1);opacity:1}}@keyframes result-scale-in{0%{-webkit-transform:scale(.6);-moz-transform:scale(.6);-o-transform:scale(.6);transform:scale(.6);opacity:0}70%{-webkit-transform:scale(1.05);-moz-transform:scale(1.05);-o-transform:scale(1.05);transform:scale(1.05);opacity:1}100%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1);opacity:1}}@-webkit-keyframes fade-in-up{0%{-webkit-transform:translatey(12px);transform:translatey(12px);opacity:0}100%{-webkit-transform:translatey(0);transform:translatey(0);opacity:1}}@-moz-keyframes fade-in-up{0%{-moz-transform:translatey(12px);transform:translatey(12px);opacity:0}100%{-moz-transform:translatey(0);transform:translatey(0);opacity:1}}@-o-keyframes fade-in-up{0%{-o-transform:translatey(12px);transform:translatey(12px);opacity:0}100%{-o-transform:translatey(0);transform:translatey(0);opacity:1}}@keyframes fade-in-up{0%{-webkit-transform:translatey(12px);-moz-transform:translatey(12px);-o-transform:translatey(12px);transform:translatey(12px);opacity:0}100%{-webkit-transform:translatey(0);-moz-transform:translatey(0);-o-transform:translatey(0);transform:translatey(0);opacity:1}}@-webkit-keyframes confetti-fall{0%{-webkit-transform:translatey(-100vh)rotate(0deg);transform:translatey(-100vh)rotate(0deg);opacity:1}100%{-webkit-transform:translatey(100vh)rotate(720deg);transform:translatey(100vh)rotate(720deg);opacity:0}
1}@-moz-keyframes confetti-fall{0%{-moz-transform:translatey(-100vh)rotate(0deg);transform:translatey(-100vh)rotate(0deg);opacity:1}100%{-moz-transform:translatey(100vh)rotate(720deg);transform:translatey(100vh)rotate(720deg);opacity:0}}@-o-keyframes confetti-fall{0%{-o-transform:translatey(-100vh)rotate(0deg);transform:translatey(-100vh)rotate(0deg);opacity:1}100%{-o-transform:translatey(100vh)rotate(720deg);transform:translatey(100vh)rotate(720deg);opacity:0}}@keyframes confetti-fall{0%{-webkit-transform:translatey(-100vh)rotate(0deg);-moz-transform:translatey(-100vh)rotate(0deg);-o-transform:translatey(-100vh)rotate(0deg);transform:translatey(-100vh)rotate(0deg);opacity:1}100%{-webkit-transform:translatey(100vh)rotate(720deg);-moz-transform:translatey(100vh)rotate(720deg);-o-transform:translatey(100vh)rotate(720deg);transform:translatey(100vh)rotate(720deg);opacity:0}}.animate-result-scale-in{-webkit-animation:result-scale-in.5s cubic-bezier(.34,1.56,.64,1)forwards;-moz-animation:result-scale-in.5s cubic-bezier(.34,1.56,.64,1)forwards;-o-animation:result-scale-in.5s cubic-bezier(.34,1.56,.64,1)forwards;animation:result-scale-in.5s cubic-bezier(.34,1.56,.64,1)forwards}.animate-fade-in-up{-webkit-animation:fade-in-up.4s ease-out forwards;-moz-animation:fade-in-up.4s ease-out forwards;-o-animation:fade-in-up.4s ease-out forwards;animation:fade-in-up.4s ease-out forwards}.confetti-piece{position:absolute;width:10px;height:10px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;-webkit-animation:confetti-fall linear forwards;-moz-animation:confetti-fall linear forwards;-o-animation:confetti-fall linear forwards;animation:confetti-fall linear forwards;pointer-events:none}"}),(0,a.jsxs)("div",{id:"top",className:"jsx-63e7f28eb737f93d bg-gray-50 min-h-screen flex flex-col",children:[t&&(0,a.jsx)("dialog",{style:{margin:0,padding:0},open:!0,className:"jsx-63e7f28eb737f93d fixed w-full h-full inset-0 bg-[#6D28D7] md:bg-violet-900 bg-opacity-90 z-50 flex justify-center items-center\n ",children:(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d flex flex-col md:flex-row md:rounded-2xl\n md:py-0\n md:h-[500px] md:w-[1010px] w-full",children:[(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d bg-[#6D28D7] flex justify-between px-8 md:mx-0 md:px-12 sm:rounded-l-2xl",children:[(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d flex flex-col my-4 sm:my-12 gap-4 text-white",children:[(0,a.jsx)("div",{className:"jsx-63e7f28eb737f93d",children:(0,a.jsx)(c(),{src:"/images/config1.svg",alt:"close",width:35,height:35})}),(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d font-lexend text-2xl md:text-4xl text-wrap max-w-16",children:[e("otherGiveaways")," ",(0,a.jsx)("br",{className:"jsx-63e7f28eb737f93d"}),(0,a.jsx)("span",{className:"jsx-63e7f28eb737f93d text-[#FFD738]",children:e("otherGiveaways2")})]}),(0,a.jsx)("div",{className:"jsx-63e7f28eb737f93d font-lato font-light text-base md:text-xl text-wrap max-w-40 md:max-w-[250px]",children:e("modalSubtitle")})]}),(0,a.jsx)("div",{className:"jsx-63e7f28eb737f93d mt-4",children:(0,a.jsx)("button",{onClick:()=>s(!1),className:"jsx-63e7f28eb737f93d bg-white w-10 h-10 rounded-xl items-center justify-center flex font-lexend\n font-light text-sm md:hidden",children:(0,a.jsx)(c(),{src:"/images/xicon.svg",alt:"close",width:20,height:20})})})]}),(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d bg-white md:rounded-r-2xl md:flex md:flex-col md:justify-between md:px-2 md:py-20",children:[(0,a.jsx)("div",{className:"jsx-63e7f28eb737f93d hidden md:flex mt-[-60px] mb-16 mr-4 self-end",children:(0,a.jsx)("button",{onClick:()=>s(!1),className:"jsx-63e7f28eb737f93d bg-white w-10 h-10 rounded-xl items-center justify-center flex font-lexend\n font-light text-sm border border-gray-400 hover:bg-violet-400",children:(0,a.jsx)(c(),{src:"/images/xicon.svg",alt:"close",width:20,height:20})})}),(0,a.jsx)("div",{className:"jsx-63e7f28eb737f93d flex flex-col md:grid-cols-2 md:grid w-auto h-full items-center\n justify-center md:items-start py-4 sm:my-20 mx-16 md:my-0 md:mx-0 ",children:(0,a.jsx)(a.Fragment,{children:G.map(e=>(0,a.jsxs)("a",{href:e.url,className:"jsx-63e7f28eb737f93d w-full mr-12 md:mr-0 py-6 md:py-4 rounded-lg hover:bg-violet-100 flex justify-between\n h-auto border-b md:border-none md:border ",children:[(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d flex gap-2 ml-4",children:[(0,a.jsx)("div",{className:"jsx-63e7f28eb737f93d bg-violet-100 w-10 h-10 flex justify-center items-center\n rounded-lg",children:(0,a.jsx)(c(),{src:e.icon,alt:"icon",width:20,height:20})}),(0,a.jsx)("div",{className:"jsx-63e7f28eb737f93d font-lexend text-sm md:text-xs md:text-nowrap self-center text-violet-900",children:e.title})]}),(0,a.jsx)("div",{className:"jsx-63e7f28eb737f93d self-center pr-3",children:(0,a.jsx)(c(),{src:"/images/arrow.svg",alt:"arrow",width:20,height:20})})]},e.id))})})]})]})}),(0,a.jsx)("header",{className:"jsx-63e7f28eb737f93d bg-[#6D28D7] w-full h-auto py-4 flex items-center justify-between shadow-sm",children:(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d flex justify-between items-center w-full 2xl:mx-[15vw]",children:[(0,a.jsx)(f(),{href:"/",className:"pl-[40px] xs:pl-4 cursor-pointer sm:pl-[72px] 2xl:pl-0",children:(0,a.jsx)(c(),{src:"/images/logo/PrincipalNegativa.svg",alt:"InstaSorteio",width:156,height:64,priority:!0})}),(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d flex items-center",children:[(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d hidden text-white font-lexend font-medium text-sm lg:text-base md:flex gap-4 lg:gap-8 items-center mr-8 ",children:[(0,a.jsx)(f(),{href:"/",className:"cursor-pointer hover:border-b border-yellow-500",children:e("init")}),(0,a.jsx)("button",{onClick:()=>s(!t),className:"jsx-63e7f28eb737f93d cursor-pointer hover:border-b border-yellow-500",children:e("modalTitle")}),(0,a.jsx)(f(),{href:"/como-funciona",className:"cursor-pointer hover:border-b border-yellow-500",children:e("howItWorks")})]}),(0,a.jsx)("button",{onClick:g,"aria-label":e(j?"disableAnimations":"enableAnimations"),title:e(j?"disableAnimations":"enableAnimations"),className:"jsx-63e7f28eb737f93d text-white hover:text-yellow-300 transition-colors p-2",children:(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"jsx-63e7f28eb737f93d",children:j?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5",fill:"currentColor",className:"jsx-63e7f28eb737f93d"}),(0,a.jsx)("path",{d:"M15.54 8.46a5 5 0 0 1 0 7.07",className:"jsx-63e7f28eb737f93d"}),(0,a.jsx)("path",{d:"M19.07 4.93a10 10 0 0 1 0 14.14",className:"jsx-63e7f28eb737f93d"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5",fill:"currentColor",className:"jsx-63e7f28eb737f93d"}),(0,a.jsx)("line",{x1:"23",y1:"9",x2:"17",y2:"15",className:"jsx-63e7f28eb737f93d"}),(0,a.jsx)("line",{x1:"17",y1:"9",x2:"23",y2:"15",className:"jsx-63e7f28eb737f93d"})]})})}),(0,a.jsx)(u.Z,{})]})]})}),(0,a.jsxs)("main",{className:"jsx-63e7f28eb737f93d flex-1 flex flex-col items-center pt-8 pb-16 px-4",children:[(0,a.jsxs)("section",{"aria-labelledby":"tool-title",className:"jsx-63e7f28eb737f93d w-full max-w-3xl bg-white rounded-2xl shadow-sm border border-gray-100 overflow-hidden mb-12",children:[(0,a.jsx)("div",{className:"jsx-63e7f28eb737f93d bg-gray-50 py-6 border-b border-gray-100 flex flex-col items-center",children:(0,a.jsx)("h1",{id:"tool-title",className:"jsx-63e7f28eb737f93d font-lexend font-bold text-2xl md:text-3xl text-gray-800 text-center",children:e("namesDraw")})}),(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d p-8 md:p-12 flex flex-col gap-8",children:[(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d flex flex-col gap-2",children:[(0,a.jsx)("label",{htmlFor:"names-input",className:"jsx-63e7f28eb737f93d font-lato font-medium text-gray-700",children:e("namesOnePerLine")}),(0,a.jsx)("textarea",{id:"names-input",placeholder:e("insertOneNamePerLine"),value:v,onCh
1ange:e=>N(e.target.value),className:"jsx-63e7f28eb737f93d border border-gray-300 rounded-lg px-4 py-3 font-lato text-gray-700 focus:outline-none focus:border-violet-500 min-h-[200px] resize-y"}),(0,a.jsxs)("span",{className:"jsx-63e7f28eb737f93d font-lato text-sm text-gray-500",children:[e("participants"),": ",Z.length]})]}),(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d flex flex-col md:flex-row items-center md:items-center justify-between gap-4",children:[(0,a.jsx)("span",{className:"jsx-63e7f28eb737f93d font-lato font-medium text-gray-700",children:e("winners")}),(0,a.jsx)("div",{className:"jsx-63e7f28eb737f93d flex items-center",children:(0,a.jsx)("select",{value:k,onChange:e=>S(Number(e.target.value)),className:"jsx-63e7f28eb737f93d border border-gray-300 rounded-lg px-4 py-2 font-lato text-gray-700 focus:outline-none focus:border-violet-500 bg-white w-24",children:[...Array(Math.max(Z.length,1))].map((e,t)=>(0,a.jsx)("option",{value:t+1,className:"jsx-63e7f28eb737f93d",children:t+1},t+1))})})]}),(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d flex items-center justify-between pt-2",children:[(0,a.jsx)("span",{className:"jsx-63e7f28eb737f93d font-lato font-medium text-gray-700",children:e("filterDoubled")}),(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d flex items-center gap-3",children:[(0,a.jsx)("span",{className:"jsx-63e7f28eb737f93d font-lato text-sm text-gray-500",children:e(C?"filterDoubledYes":"filterDoubledNo")}),(0,a.jsx)("label",{className:"jsx-63e7f28eb737f93d flex items-center cursor-pointer",children:(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d relative",children:[(0,a.jsx)("input",{type:"checkbox",checked:C,onChange:()=>T(!C),className:"jsx-63e7f28eb737f93d sr-only"}),(0,a.jsx)("div",{className:`jsx-63e7f28eb737f93d block w-14 h-8 rounded-full ${C?"bg-violet-600":"bg-gray-300"} transition-colors duration-300`}),(0,a.jsx)("div",{className:`jsx-63e7f28eb737f93d dot absolute left-1 top-1 bg-white w-6 h-6 rounded-full transition-transform duration-300 ${C?"transform translate-x-6":""}`})]})})]})]}),(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d border border-gray-200 rounded-xl overflow-hidden",children:[(0,a.jsxs)("button",{type:"button",onClick:()=>Q(!B),className:"jsx-63e7f28eb737f93d w-full px-4 py-3 flex justify-between items-center bg-gray-50 hover:bg-gray-100 transition-colors",children:[(0,a.jsx)("span",{className:"jsx-63e7f28eb737f93d font-lato font-medium text-gray-700 text-sm",children:e("drawOptions")}),(0,a.jsx)("div",{className:`jsx-63e7f28eb737f93d ${B?"rotate-180":""} transition-transform duration-300`,children:(0,a.jsx)(c(),{src:"/images/arrowDown.svg",alt:"arrow",width:12,height:8})})]}),B&&(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d px-4 py-3 border-t border-gray-100 flex flex-col gap-3",children:[(0,a.jsxs)("label",{className:"jsx-63e7f28eb737f93d flex items-center gap-3 cursor-pointer",children:[(0,a.jsx)("input",{type:"checkbox",checked:j,onChange:g,className:"jsx-63e7f28eb737f93d w-4 h-4 accent-violet-600 cursor-pointer"}),(0,a.jsx)("span",{className:"jsx-63e7f28eb737f93d font-lato text-sm text-gray-600",children:e("addCountdown")})]}),(0,a.jsxs)("label",{className:"jsx-63e7f28eb737f93d flex items-center gap-3 cursor-pointer",children:[(0,a.jsx)("input",{type:"checkbox",checked:y,onChange:w,className:"jsx-63e7f28eb737f93d w-4 h-4 accent-violet-600 cursor-pointer"}),(0,a.jsx)("span",{className:"jsx-63e7f28eb737f93d font-lato text-sm text-gray-600",children:e("addSound")})]})]})]}),(0,a.jsxs)("button",{onClick:()=>{let e=getParticipants();if(0===e.length||k>e.length)return;let doShuffle=()=>{let t=[...e].sort(()=>Math.random()-.5);A(t.slice(0,k)),_(t.slice(k)),L(!0),V(new Date().toLocaleString("pt"===n?"pt-BR":"es"===n?"es-ES":"en-US")),P(!0),y&&d()};if(!j){doShuffle();return}I(!0),F(3),y&&i();let t=3,s=setInterval(()=>{(t-=1)>0?(F(t),y&&i()):(clearInterval(s),F(null),I(!1),doShuffle())},1e3)},disabled:$||0===Z.length,className:"jsx-63e7f28eb737f93d mt-4 w-full bg-[#8b5cf6] hover:bg-[#7c3aed] disabled:bg-violet-300 disabled:cursor-not-allowed text-white font-medium font-lato py-4 rounded-xl flex items-center justify-center transition-colors shadow-sm",children:[$?`${e("holdDraw")}...`:e("holdDraw")," ",(0,a.jsx)("span",{className:"jsx-63e7f28eb737f93d ml-2",children:"â"})]})]}),null!==q&&(0,a.jsx)("div",{className:"jsx-63e7f28eb737f93d fixed inset-0 z-40 bg-black/60 backdrop-blur-sm flex items-center justify-center",children:(0,a.jsx)("span",{className:"jsx-63e7f28eb737f93d text-[120px] md:text-[180px] font-lexend font-bold text-white animate-countdown drop-shadow-lg",children:q},q)}),O&&R&&z.length>0&&(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d fixed inset-0 z-50 flex items-center justify-center bg-white",children:[(0,a.jsx)("div",{className:"jsx-63e7f28eb737f93d absolute inset-0 overflow-hidden pointer-events-none",children:Array.from({length:40}).map((e,t)=>{let s=["#7c3aed","#a78bfa","#c4b5fd","#fbbf24","#f59e0b","#34d399","#f472b6","#60a5fa"],r=`${100*Math.random()}%`,o=`${1.5*Math.random()}s`,n=`${2+2*Math.random()}s`,l=6+10*Math.random(),i=s[t%s.length],c=t%3==0;return(0,a.jsx)("div",{style:{left:r,top:"-20px",width:`${l}px`,height:`${c?l:.5*l}px`,borderRadius:c?"50%":"2px",backgroundColor:i,animationDelay:o,animationDuration:n},className:"jsx-63e7f28eb737f93d confetti-piece"},t)})}),(0,a.jsx)("div",{className:"jsx-63e7f28eb737f93d absolute inset-0 overflow-hidden pointer-events-none",children:(0,a.jsx)("div",{className:"jsx-63e7f28eb737f93d absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[500px] h-[500px] md:w-[800px] md:h-[800px] rounded-full bg-violet-50/80"})}),(0,a.jsx)("button",{onClick:()=>P(!1),"aria-label":e("closeResult"),className:"jsx-63e7f28eb737f93d absolute top-6 right-6 w-11 h-11 rounded-full border border-gray-200 bg-white flex items-center justify-center text-gray-400 hover:text-gray-700 hover:border-gray-300 transition-all z-10 shadow-sm",children:(0,a.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"jsx-63e7f28eb737f93d",children:[(0,a.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18",className:"jsx-63e7f28eb737f93d"}),(0,a.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18",className:"jsx-63e7f28eb737f93d"})]})}),(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d flex flex-col items-center relative z-10",children:[(0,a.jsx)("div",{style:{animationDelay:"0.1s",animationFillMode:"both"},className:"jsx-63e7f28eb737f93d animate-fade-in-up mb-4 md:mb-6",children:(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d flex items-center gap-3",children:[(0,a.jsx)("div",{className:"jsx-63e7f28eb737f93d w-8 h-[1.5px] rounded-full bg-violet-300"}),(0,a.jsx)("span",{className:"jsx-63e7f28eb737f93d font-lato text-violet-500 text-[11px] md:text-xs tracking-[0.25em] uppercase font-semibold",children:e(z.length>1?"winners":"winner")}),(0,a.jsx)("div",{className:"jsx-63e7f28eb737f93d w-8 h-[1.5px] rounded-full bg-violet-300"})]})}),(0,a.jsx)("div",{className:"jsx-63e7f28eb737f93d animate-result-scale-in bg-white rounded-3xl px-10 py-8 md:px-20 md:py-14 lg:px-28 lg:py-16 border border-gray-100 shadow-[0_4px_60px_rgba(139,92,246,0.12),0_1px_3px_rgba(0,0,0,0.04)]",children:(0,a.jsx)("div",{className:"jsx-63e7f28eb737f93d flex flex-col items-center gap-2",children:z.map((e,t)=>(0,a.jsx)("span",{className:"jsx-63e7f28eb737f93d text-[36px] md:text-[64px] lg:text-[80px] font-lexend font-bold text-violet-600 leading-tight block text-center",children:e},t))})}),(0,a.jsx)("button",{onClick:()=>P(!1),style:{animationDelay:"0.3s",animationFillMode:"both"},className:"jsx-63e7f28eb737f93d animate-fade-in-up mt-8 md:mt-10 text-gray-400 hover:text-violet-500 font-lato text-xs tracking-[0.15em] uppercase transition-colors cursor-pointer",children:e("closeResult")})]})]}),R&&null===q&&(0,a.jsxs)("div",{"aria-live":"polite",className:"jsx-63e7f28eb737f93d bg-gray-50 p-8 border-t border-gray-100 flex flex-col gap-6",children:[(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d",children:[(0,a.jsx)("h2",{className:"jsx-63e7f28eb737f93d font-lexend font-bold text-xl text-violet-700 mb-4",children:e("winners")}),(0,a.jsx)("div",{className:"jsx-63e7f28eb737f93d flex flex-col gap-3",children:z.map((e,t)=>(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d bg-white border border-violet-200 rounded-xl p-4 shadow-sm flex items-center gap-4",children:[(0,a.jsx)("div",{className:"jsx-63e7f28eb737f93d bg-violet-600 text-white w-8 h-8 rounded-full flex items-center justify-center font-lexend font-bold text-sm",children:t+1}),(0,a.jsx)("span",{className:"jsx-63e7f28eb737f93d font-lato text-gray-800 font-medium text-lg",children:e})]},t))})]}),D.length>0&&(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d",children:[(0,a.jsx)("h2",{className:"jsx-63e7f28eb737f93d font-lexend font-bold text-lg text-gray-500 mb-4",children:e("substitutes")}),(0,a.jsx)("div",{className:"jsx-63e7f28eb737f93d flex flex-col gap-2",children:D.map((e,t)=>(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d bg-white border border-gray-200 rounded-xl p-3 shadow-sm flex items-center gap-4",children:[(0,a.jsx)("div",{className:"jsx-63e7f28eb737f93d bg-gray-400 text-white w-7 h-7 rounded-full flex items-center justify-center font-lexend font-bold text-xs",children:t+1}),(0,a.jsx)("span",{className:"jsx-63e7f28eb737f93d font-lato text-gray-600 text-sm",children:e})]},t))})]}),(0,a.jsx)("div",{className:"jsx-63e7f28eb737f93d flex justify-center mt-4",children:(0,a.jsx)("button",{onClick:()=>{A([]),_([]),L(!1),P(!1),V(null)},className:"jsx-63e7f28eb737f93d text-gray-500 hover:text-violet-600 font-lato text-sm transition-colors border border-gray-300 hover:border-violet-500 rounded-lg px-6 py-2",children:e("back")})})]})]}),R&&U&&(0,a.jsxs)("section",{className:"jsx-63e7f28eb737f93d w-full max-w-3xl mb-12",children:[(0,a.jsx)("h2",{className:"jsx-63e7f28eb737f93d font-lexend font-bold text-lg text-gray-700 mb-4",children:e("drawInfo")}),(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d grid grid-cols-1 md:grid-cols-3 gap-4",children:[(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d bg-gray-50 rounded-xl p-4 border border-gray-100",children:[(0,a.jsx)("span",{className:"jsx-63e7f28eb737f93d font-lato text-sm text-gray-500 block mb-1",children:e("drawDate")}),(0,a.jsx)("span",{className:"jsx-63e7f28eb737f93d font-lexend font-bold text-gray-800",children:U})]}),(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d bg-gray-50 rounded-xl p-4 border border-gray-100",children:[(0,a.jsx)("span",{className:"jsx-63e7f28eb737f93d font-lato text-sm text-gray-500 block mb-1",children:e("drawQuantity")}),(0,a.jsx)("span",{className:"jsx-63e7f28eb737f93d font-lexend font-bold text-gray-800",children:z.length})]}),(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d bg-gray-50 rounded-xl p-4 border border-gray-100",children:[(0,a.jsx)("span",{className:"jsx-63e7f28eb737f93d font-lato text-sm text-gray-500 block mb-1",children:e("drawOptionsCount")}
1),(0,a.jsxs)("span",{className:"jsx-63e7f28eb737f93d font-lexend font-bold text-gray-800",children:[Z.length," ",e("itemsLabel")]})]})]})]}),(0,a.jsxs)("section",{"aria-labelledby":"faq-title",className:"jsx-63e7f28eb737f93d w-full max-w-3xl flex flex-col items-center gap-4 mt-8",children:[(0,a.jsx)("h2",{id:"faq-title",className:"jsx-63e7f28eb737f93d font-lexend font-bold text-2xl text-[#6d28d7] mb-4",children:"FAQ"}),W.map(e=>(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d w-full bg-white border border-gray-100 rounded-xl overflow-hidden shadow-sm",children:[(0,a.jsxs)("button",{onClick:()=>E(M===e.id?0:e.id),className:"jsx-63e7f28eb737f93d w-full px-6 py-4 flex justify-between items-center bg-gray-50 hover:bg-gray-100 transition-colors",children:[(0,a.jsx)("strong",{className:"jsx-63e7f28eb737f93d font-lato font-regular text-[#4e3d66] text-start",children:e.question}),(0,a.jsx)("div",{className:`jsx-63e7f28eb737f93d ${M===e.id?"rotate-180":""} transition-transform duration-300 w-8 h-8 flex items-center justify-center rounded-full`,children:(0,a.jsx)(c(),{src:"/images/arrowDown.svg",alt:"arrow",width:16,height:10})})]}),e.id===M&&(0,a.jsx)("div",{className:"jsx-63e7f28eb737f93d px-6 py-4 bg-white border-t border-gray-100",children:(0,a.jsx)("p",{className:"jsx-63e7f28eb737f93d font-lato font-regular text-[#4e3d66] text-justify text-md leading-7",children:e.answer})})]},e.id))]})]}),(0,a.jsx)("footer",{className:"jsx-63e7f28eb737f93d bg-white border-t border-gray-200 py-12 flex flex-col items-center",children:(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d w-full 2xl:mx-[15vw] flex flex-col lg:flex-row gap-8 justify-between px-4 lg:px-16",children:[(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d flex flex-col gap-6 items-center lg:items-start text-center lg:text-start lg:w-1/3",children:[(0,a.jsx)(c(),{src:"/images/logo/PrincipalPositiva.svg",alt:"Logo",width:156,height:64}),(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d font-light font-lato text-sm text-gray-500 space-y-2",children:[(0,a.jsx)("p",{className:"jsx-63e7f28eb737f93d",children:e("copyright")}),(0,a.jsx)("p",{className:"jsx-63e7f28eb737f93d",children:e("copyright2")})]}),(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d flex bg-gray-50 rounded-xl p-2 items-center gap-4 border border-gray-100",children:[(0,a.jsx)("div",{className:"jsx-63e7f28eb737f93d bg-white p-2 rounded-lg shadow-sm",children:(0,a.jsx)(c(),{src:"/images/polvo.svg",alt:"InstaSorteio Mascot",width:24,height:24})}),(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d text-left font-lato text-sm text-gray-700 leading-tight",children:[(0,a.jsx)("span",{className:"jsx-63e7f28eb737f93d text-gray-500 text-xs block",children:e("followUs")}),(0,a.jsx)("strong",{className:"jsx-63e7f28eb737f93d",children:"@instasorteioo"})]}),(0,a.jsx)("a",{href:"https://www.instagram.com/instasorteioo/",target:"_blank",rel:"noopener noreferrer",className:"jsx-63e7f28eb737f93d bg-blue-600 hover:bg-blue-700 text-white font-medium text-xs px-4 py-2 rounded-lg transition-colors ml-2",children:"Seguir"})]})]}),(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d grid grid-cols-2 sm:grid-cols-3 gap-8 lg:gap-16 w-full lg:w-2/3 mt-8 lg:mt-0",children:[(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d flex flex-col gap-4 text-center lg:text-left",children:[(0,a.jsx)("h3",{className:"jsx-63e7f28eb737f93d font-medium text-base text-[#6d28d7] mb-2",children:e("init")}),(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d flex flex-col gap-3 font-medium text-sm text-gray-600",children:[(0,a.jsx)("button",{onClick:()=>{let e=document.querySelector("#top");e&&e.scrollIntoView({behavior:"smooth"})},className:"jsx-63e7f28eb737f93d hover:text-violet-600 transition-colors w-full text-center lg:text-left",children:e("init")}),(0,a.jsx)("button",{onClick:()=>s(!0),className:"jsx-63e7f28eb737f93d hover:text-violet-600 transition-colors w-full text-center lg:text-left",children:e("otherGiveaways")}),(0,a.jsx)(f(),{href:"/como-funciona",className:"hover:text-violet-600 transition-colors w-full text-center lg:text-left",children:e("howItWorks")})]})]}),(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d flex flex-col gap-4 text-center lg:text-left",children:[(0,a.jsx)("h3",{className:"jsx-63e7f28eb737f93d font-medium text-base text-[#6d28d7] mb-2",children:e("giveaways")}),(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d flex flex-col gap-3 font-medium text-sm text-gray-600",children:[(0,a.jsx)("a",{href:`/${n}/sorteio/instagram`,className:"jsx-63e7f28eb737f93d hover:text-violet-600 transition-colors w-full text-center lg:text-left",children:"Instagram"}),(0,a.jsx)(f(),{href:"/sorteio-de-numeros",className:"hover:text-violet-600 transition-colors w-full text-center lg:text-left",children:e("numbers")}),(0,a.jsx)(f(),{href:"/sorteio-de-dados",className:"hover:text-violet-600 transition-colors w-full text-center lg:text-left",children:e("dice")}),(0,a.jsx)(f(),{href:"/sorteio-de-nomes",className:"hover:text-violet-600 transition-colors w-full text-center lg:text-left",children:e("names")}),(0,a.jsx)(f(),{href:"/sorteio-de-roleta",className:"hover:text-violet-600 transition-colors w-full text-center lg:text-left",children:e("wheel")}),(0,a.jsx)(f(),{href:"/sorteio-de-cara-ou-coroa",className:"hover:text-violet-600 transition-colors w-full text-center lg:text-left",children:e("drawCoinFlip")}),(0,a.jsx)("a",{href:"https://sorteio.com/",target:"_blank",rel:"noopener noreferrer",className:"jsx-63e7f28eb737f93d hover:text-violet-600 transition-colors w-full text-center lg:text-left",children:"Sorteio.com"})]})]}),(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d flex flex-col gap-4 text-center lg:text-left",children:[(0,a.jsx)("h3",{className:"jsx-63e7f28eb737f93d font-medium text-base text-[#6d28d7] mb-2",children:e("help")}),(0,a.jsxs)("div",{className:"jsx-63e7f28eb737f93d flex flex-col gap-3 font-medium text-sm text-gray-600",children:[(0,a.jsx)("a",{href:"mailto:[email protected]",className:"jsx-63e7f28eb737f93d hover:text-violet-600 transition-colors w-full text-center lg:text-left",children:e("contactUs")}),(0,a.jsx)(f(),{href:"/termos-de-uso",className:"hover:text-violet-600 transition-colors w-full text-center lg:text-left",children:e("termsOfUse")}),(0,a.jsx)(f(),{href:"/politica-de-privacidade",className:"hover:text-violet-600 transition-colors w-full text-center lg:text-left",children:e("privacyPolicy")})]})]})]})]})})]})]})}}},function(e){e.O(0,[805,379,672,774,888,179],function(){return e(e.s=1073)}),_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.